diff options
author | Koen Kooi <koen@openembedded.org> | 2007-06-22 06:59:19 +0000 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2007-06-22 06:59:19 +0000 |
commit | 5d946375b12e7f15a42f47cdf922f170dce9c718 (patch) | |
tree | 3a39a322c63e0f5f00101da40d6ec3bda6262881 /packages/uboot/u-boot-mkimage-gta01-native/ext2load_hex.patch | |
parent | fc10c989c666c95bb7ea41bc24bd14c396625286 (diff) |
u-boot-mkimage-gta01-native: re-add till uboot-utils actually works
Diffstat (limited to 'packages/uboot/u-boot-mkimage-gta01-native/ext2load_hex.patch')
-rw-r--r-- | packages/uboot/u-boot-mkimage-gta01-native/ext2load_hex.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/packages/uboot/u-boot-mkimage-gta01-native/ext2load_hex.patch b/packages/uboot/u-boot-mkimage-gta01-native/ext2load_hex.patch new file mode 100644 index 0000000000..ff8e9cd6fc --- /dev/null +++ b/packages/uboot/u-boot-mkimage-gta01-native/ext2load_hex.patch @@ -0,0 +1,17 @@ +This patch adds the hex-printing of the file size read by 'ext2load' + +Signed-off-by: Harald Welte <laforge@openmoko.org> + +Index: u-boot.git/common/cmd_ext2.c +=================================================================== +--- u-boot.git.orig/common/cmd_ext2.c 2007-01-02 18:26:17.000000000 +0100 ++++ u-boot.git/common/cmd_ext2.c 2007-01-02 18:26:27.000000000 +0100 +@@ -279,7 +279,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); + |