[U-Boot] [PATCH] Added a tftp command

Ben Warren biggerbadderben at gmail.com
Wed Apr 1 06:39:51 CEST 2009


Mike Frysinger wrote:
> On Tuesday 31 March 2009 19:40:27 kevin.morfitt at fearnside-systems.co.uk wrote:
>   
>> Mike Frysinger wrote:
>>     
>>> On Tuesday 31 March 2009 18:44:21 kevin.morfitt 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.
>>>       
>> "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".
>>     
>
> so dont set autostart ?
> -mike
>   
>   
Yeah, seriously.  Just script it.

regards,
Ben


More information about the U-Boot mailing list