[U-Boot] loading uImage error, Verifying Checksum ... Bad Data CRC, for what?

linzhavon linzhavon at gmail.com
Thu Jan 28 23:30:41 CET 2010


U-Boot 1.1.6 (Jan 29 2010 - 01:37:50)


DRAM:  64 MB

Flash:  1 MB

NAND:  64 MiB

*** Warning - bad CRC, using default environment


In:    serial

Out:   serial

Err:   serial

UPLLVal [M:38h,P:2h,S:2h]

MPLLVal [M:5ch,P:1h,S:1h]

CLKDIVN:5h



+---------------------------------------------+

| S3C2440A USB Downloader ver R0.03 2004 Jan  |

+---------------------------------------------+

USB: IN_ENDPOINT:1 OUT_ENDPOINT:3

FORMAT: <ADDR(DATA):4>+<SIZE(n+10):4>+<DATA:n>+<CS:2>

NOTE: Power off/on or press the reset button for 1 sec

      in order to get a valid USB device address.


Hit any key to stop autoboot:  3  2  1  0

Booting Linux ...


NAND read: device 0 offset 0x50000, size 0x200000

 2097152 bytes read: ERROR

## Booting image at 30008000 ...

   Image Name:   Linux Kernel Image

   Created:      2010-01-28  18:15:47 UTC

   Image Type:   ARM Linux Kernel Image (gzip compressed)

   Data Size:    1674562 Bytes =  1.6 MB

   Load Address: 00000000

   Entry Point:  00000000

   Verifying Checksum ... Bad Data CRC



##### open24x0 Bootloader for FA24x0 #####

[u] Download u-boot

[k] Download Linux kernel

[j] Download JFFS2 image

[y] Download YAFFS image

[d] Download to SDRAM & Run

[b] Boot the system

[f] Format the Nand Flash

[s] Set the boot parameters

[r] Reboot u-boot

[q] Quit from menu

Enter your selection:

-----------------------------------------------------------------------------------------------------------------

I used "mkimage" to encapsulate zImage builed before to get "uImage" build
target.following is what i have done:

0:#arm-linux-objcopy -O binary \
                 -R .note -R .comment \
                 -S vmlinux linux.bin
1:    gzip -9 linux.bin
2:    mkimage -A arm -O linux -T kernel -C gzip \
        -a 0 -e 0 -n "Linux Kernel Image" \
        -d linux.bin.gz uImage
3.[root at redhat kernel-2.6.13]# ../u-boot-1.1.6/tools/mkimage -l uImage
Image Name:   Linux Kernel Image
Created:      Fri Jan 29 02:15:47 2010
Image Type:   ARM Linux Kernel Image (gzip compressed)
Data Size:    1674562 Bytes = 1635.31 kB = 1.60 MB
Load Address: 0x00000000
Entry Point:  0x00000000
4.then i use the bootloader vivi in NorFlash to flash the uImage to NAND
Flash,boot from vivi with zImage everything is ok, but uboot failed,what can
i do?  i think there is something wrong in mtd partition address. but i
don't know how to do next.my board mtd partitions assigned as follows:
Number of partitions: 5
name            :       offset          size            flag
------------------------------------------------------------
vivi            :       0x00000000      0x00028000      0
eboot           :       0x00028000      0x00018000      0
param           :       0x00040000      0x00010000      0
kernel          :       0x00050000      0x00200000      0
root            :       0x00250000      0x03dac000      0
-----------------------------------------------------------------------------

the eboot partition only used for WinCE.
......

any reply appreciated.
thanks!
                                                            linzhavon


More information about the U-Boot mailing list