On Sat, 2014-05-10 at 19:29:34 -0500, Karl O. Pinc wrote: > On 05/10/2014 05:30:02 PM, Zhao, Gang wrote: >> Hi all, >> >> I'm playing with dlink dir-615-e1 router(similiar to dir-600-a1). As >> wiki[1] said, tftpboot doesn't work. >> >> But I can't figure out how to use the loady command as wiki >> said. Specifically, where should I input the `sb -vv >> /tftp_root/openwrt.bin` command to transfer the firmware(after input >> loady command in uboot's command line)? I tried on my PC shell and in >> kermit(by `run sb -vv /tftp_root/openwrt.bin`). All didn't work, it >> said >> "Timeout on pathname"(PS: I used a different file path, but it >> shouldn't >> matter I think). > > The timeout means the endpoints are not talking. > > The odd thing is that u-boot has a loadb, but not > a loady command. > > http://www.denx.de/wiki/view/DULG/ > UBootCmdGroupDownload#Section_5.9.5.3. > > With loady you'd presumably establish the connection > to the remote device, then do something -- from within > kermit -- to execute the sb command and pipe the > output to kermet for delivery over the wire, then > do the loady from within kermit on > the remote box to start the transfer. > > With loadb you'd establish the connection, > then tell kermit to start a kermit transfer, > then do the loadb from within kermit on > the remote box. (Kermit has the kermit > protocol built-in.) At least I think > this would be right. I forget which > end of the kermit transfer waits > for things to start. > I tried loadb, it works. But before send file from kermit one must execute `set prefixing all` in kermit, or the transmission will fail.
One should execute loadb in uboot first, because kermit has a dedicate transformation window, the window shows transformation stats, and will exit when transformation is done. BTW, 115200 bytes/second is really slow. :-) _______________________________________________ openwrt-users mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users
