[new uImage] More verbose kernel image uncompress error message
authorMarian Balakowicz <m8@semihalf.com>
Wed, 12 Mar 2008 09:33:01 +0000 (10:33 +0100)
committerMarian Balakowicz <m8@semihalf.com>
Wed, 12 Mar 2008 09:33:01 +0000 (10:33 +0100)
Signed-off-by: Marian Balakowicz <m8@semihalf.com>
common/cmd_bootm.c

index 6591e616aa7fa6e1f804a066465e9cd10ce4b045..e95c5dd034ac0921fbbf6a008f3e45fc2cbc0034 100644 (file)
@@ -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);
                }