[PATCH 1/3] qfw: store loaded file size in environment variable

Tom Rini trini at konsulko.com
Mon Oct 24 14:22:08 CEST 2022


On Mon, Oct 10, 2022 at 06:01:20PM +0100, Andre Przywara wrote:

> At the moment the QEMU firmware command just prints the size of the
> loaded binaries on the console.
> To go with all the other load methods, and many boot scripts'
> expectations, also store the size of the file loaded last in the
> environment variable "filesize".
> We first put the kernel size in there, but overwrite this with the
> initrd size, should we have one, because this is probably the more
> prominent user of $filesize (in the booti or bootz command).
> 
> Signed-off-by: Andre Przywara <andre.przywara at arm.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20221024/b8707e9c/attachment.sig>


More information about the U-Boot mailing list