RE: [U-Boot-Users] tftp loadable applets?

JD davisjf@gmail.com 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

In message 438CE99B.9000201@gmail.com you wrote:
I noticed that there is a tftpboot command. Is there a similar mechanism in place for uploading applets via tftp?
No.
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.
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?
'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
participants (2)
-
Wolfgang Denk
-
Zhen Wang