tftp loadable applets?
JD <[email protected]> wrote:
I noticed that there is a tftpboot command. Is there a similar mechanism in place for uploading applets via tftp?
I had booted uClinux's compressed zImage utilizing 'tftpboot' command and a following 'go' command as my 'CONFIG_BOOTCOMMAND' successfully. Though I haven't tried to use 'tftpboot' to load applets, it seems possible in that zImage is also a binary file(not ELF). The 'CONFIG_BOOTCOMMAND' and some relevant configurations were configured as below in my include/configs/<board>.h:
#define CFG_LOAD_ADDR 0x0c480000
#define CONFIG_BOOTFILE "zImage"
#define CONFIG_BOOTCOMMAND "tftpboot\; go 0c480000"
Note: 0x0c480000 is in the SDRAM address range.
Regards,
Zhen Wang
Quoted 3 lines · In message <[email protected]> you wrote:
I noticed that there is a tftpboot command. Is there a similar mechanism in place for uploading applets via tftp?
No.
Quoted 2 lines
I had booted uClinux's compressed zImage utilizing 'tftpboot' command and a following 'go' command as my '
CONFIG_BOOTCOMMAND' successfully.
And you have probably read in the manual that this is *not* the correct way to boot Linux images. You are supposed to use proper image files and the "bootm" command.
Quoted 2 lines
Though I haven't tried to use 'tftpboot' to load applets, it seems possible in that zImage is also a binary file(not ELF). The
"It seems possible." Wow. You really understand what you are doing, aren't you?
Quoted 2 lines
'
CONFIG_BOOTCOMMAND' and some relevant configurations were configured as below in my include/configs/<board>.h:
And why are you posting this information? I can't find a question or hint of a problem?
Best regards,
Wolfgang Denk
Signature · 4 lines
Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de If you can't beat it or corrupt it, you pretend it was your idea in the first place. - Terry Pratchett, _Guards! Guards!_