This patch adds the hex-printing of the file size read by 'ext2load' Signed-off-by: Harald Welte Index: u-boot/common/cmd_ext2.c =================================================================== --- u-boot.orig/common/cmd_ext2.c +++ u-boot/common/cmd_ext2.c @@ -245,7 +245,7 @@ /* Loading ok, update default load address */ load_addr = addr; - printf ("\n%ld bytes read\n", filelen); + printf ("\n%ld (0x%lx) bytes read\n", filelen, filelen); sprintf(buf, "%lX", filelen); setenv("filesize", buf);