summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarian Balakowicz <m8@semihalf.com>2008-03-12 10:33:01 +0100
committerMarian Balakowicz <m8@semihalf.com>2008-03-12 10:33:01 +0100
commit2682ce8a4225f23d72bb7fed069e928dd39d34ae (patch)
tree3ce30a52bd613358f0400d6b3eb4cde225ab275e
parent1372cce2b9040fb640e5032b84e3a033a22d6ff0 (diff)
downloadu-boot-imx-2682ce8a4225f23d72bb7fed069e928dd39d34ae.zip
u-boot-imx-2682ce8a4225f23d72bb7fed069e928dd39d34ae.tar.gz
u-boot-imx-2682ce8a4225f23d72bb7fed069e928dd39d34ae.tar.bz2
[new uImage] More verbose kernel image uncompress error message
Signed-off-by: Marian Balakowicz <m8@semihalf.com>
-rw-r--r--common/cmd_bootm.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/common/cmd_bootm.c b/common/cmd_bootm.c
index 6591e61..e95c5dd 100644
--- a/common/cmd_bootm.c
+++ b/common/cmd_bootm.c
@@ -243,7 +243,8 @@ int do_bootm (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
printf (" Uncompressing %s ... ", type_name);
if (gunzip ((void *)load_start, unc_len,
(uchar *)os_data, &os_len) != 0) {
- puts ("GUNZIP ERROR - must RESET board to recover\n");
+ puts ("GUNZIP: uncompress or overwrite error "
+ "- must RESET board to recover\n");
show_boot_progress (-6);
do_reset (cmdtp, flag, argc, argv);
}
@@ -262,7 +263,8 @@ int do_bootm (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
&unc_len, (char *)os_data, os_len,
CFG_MALLOC_LEN < (4096 * 1024), 0);
if (i != BZ_OK) {
- printf ("BUNZIP2 ERROR %d - must RESET board to recover\n", i);
+ printf ("BUNZIP2: uncompress or overwrite error %d "
+ "- must RESET board to recover\n", i);
show_boot_progress (-6);
do_reset (cmdtp, flag, argc, argv);
}