[U-Boot-Users] [PATCH] Set fileaddr and filesize environment variables upon download of a file

Laurent Pinchart laurent.pinchart at tbox.biz
Wed Sep 20 10:42:12 CEST 2006


Hi everybody,

load-from-disk commands set the fileaddr and filesize environment variables 
upon completion. This patch adds the same functionality for load-from-network 
commands (BOOTP, TFTP, NFS, ...).

The fileaddr environment variable is set to the address at which the file has 
been loaded. The filesize environment variable is set to the size of the file 
in bytes.

This enables further commands to access the file (to copy it to flash memory 
for instance).

Laurent Pinchart
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cmd_net.patch
Type: text/x-diff
Size: 581 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20060920/cea01ea0/attachment.patch 


More information about the U-Boot mailing list