[U-Boot] [PATCH v1] cmd: set filesize variable in ubi read
Heiko Schocher
hs at denx.de
Tue Sep 12 08:21:58 UTC 2017
Hello Holger,
thanks for the fast fix! Hm... some nitpick:
This is v2 not v1 ... seems patchwork has a problem, as your patch
does not popup at:
http://patchwork.ozlabs.org/project/uboot/list/?page=1
(or patchwork does work slowly today ...)
Am 12.09.2017 um 09:58 schrieb Holger Dengler:
> After a successful read of a UBI volume, the variable filesize is set
> to the number of read bytes. To boot linux with a raw initramfs/initrd,
> you must specify the exact size of the initramfs/initrd image in boot
> command. If the initramfs/inird is read from UBI volume, $filesize is
> required to access the number of read bytes.
>
> Example:
> ubi read ${loadaddr} kernelvol
> ubi read ${fdtaddr} dtbvol
> ubi read ${initrd_addr} initrdvol
> bootz ${loadaddr} ${initrd_addr}:${filesize} ${fdt_addr}
>
> Signed-off-by: Holger Dengler <dengler at linutronix.de>
> ---
add here please a summary, what has changed since v1. You may
use patman ... see u-boot:tools/patman/README
Thanks!
Nevertheless, I started a new travis build with this patch, see:
https://travis-ci.org/hsdenx/u-boot-ubi/builds/274502903
bye,
Heiko
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-52 Fax: +49-8142-66989-80 Email: hs at denx.de
More information about the U-Boot
mailing list