
Mike Frysinger wrote:
On Tuesday 31 March 2009 18:44:21 kevin.morfitt@fearnside-systems.co.uk wrote:
Adds a "tftp" command that gets a specified file from a TFTP Server and stores it in RAM at a specified RAM address. Most of the code already exists in board-specific form (eg in board/hymod) but this patch extracts it and makes it available as a standard u-boot command.
your patch is horribly word wrapped. ignoring that, how is this any different from the "tftpboot" command ? i use "t <addr> <file>" to load arbitrary files via tftp to arbitrary addresses all the time. -mike
"tftpboot" loads the file then if "autostart" is "yes" it automatically boots from the load address. The patch just loads the file then stops. When programming a board I use it to copy images across before I program them into flash. In effect, it does the same thing as setting "autostart" to "off" then using "tftpboot".
I'm new to creating patches which I think explains the horrible word wrapping.