[U-Boot] [PATCH v1] cmd: ubi: print load size after establishing volume size
Heiko Schocher
hs at denx.de
Thu Jul 12 09:15:21 UTC 2018
Hello Stefan,
Am 25.06.2018 um 11:19 schrieb Stefan Agner:
> From: Stefan Agner <stefan.agner at toradex.com>
>
> When using static volumes, the file size stored in the volume is
> determined at runtime. Currently the ubi command prints the file
> size specified on the console, which leads to a rather confusing
> series of messages:
> # ubi read ${fdt_addr_r} testvol
> Read 0 bytes from volume testvol to 82000000
> No size specified -> Using max size (179924992)
>
> Make sure to print the actual size read in any case:
> # ubi read ${fdt_addr_r} testvol
> No size specified -> Using max size (179924992)
> Read 179924992 bytes from volume testvol to 82000000
>
> Signed-off-by: Stefan Agner <stefan.agner at toradex.com>
> ---
>
> cmd/ubi.c | 5 ++---
> 1 file changed, 2 insertions(+), 3 deletions(-)
applied to u-boot-ubi.git master
Thanks!
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