Error booting kernel

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Error booting kernel

1,072 Views
NathanJozwiak
Contributor III

Hi all,

 

I have the i.MX53 QSB and am trying to get Android running on it. I downloaded the bsp from Adeneo and, with some effort, was finally able to build and flash Android, U-Boot and the Linux kernel with the scripts they provided. But now I am trying to boot the board and getting a CRC error loading Linux... 

 

MMC read: dev # 0, block # 2048, count 6144 partition # 0 ... 

6144 blocks read: OK

## Booting kernel from Legacy Image at 70800000 ...   

Image Name:   Linux-2.6.35.3-01073-gae8eee1-di   

Image Type:   ARM Linux Kernel Image (uncompressed)   

Data Size:    3260152 Bytes =  3.1 MB   

Load Address: 70008000   

Entry Point:  70008000   

Verifying Checksum ... Bad Data CRC

ERROR: can't get kernel image!

MX53-LOCO U-Boot >

 

I made no modifications to the boot parameters in U-Boot. So they should be the working default. But I dumped the memory at the entry point for the kernel, and it is not what I expect to see.

 

MX53-LOCO U-Boot > md 0x70008000

70008000: e207a951 00108915 1ca8e858 22152410    Q.......X....$."

70008010: 8017d709 14202812 c01a8000 30150126    .....( .....&..0

70008020: 5204c140 0cd85001 8d081410 0a598001    @..R.P........Y.

70008030: c4764454 094520a8 0055c826 2b191841    TDv.. E.&.U.A..+

70008040: 09fa173a 4c011100 2811cb42 837488e5    :......LB..(..t.

70008050: 84328a25 231251c0 d23a8453 314c0008    %.2..Q.#S.:...L1

70008060: 29228061 8208ee84 22418066 b2153311    a.")....f.A".3..

70008070: 4c100048 150ebfa4 10048937 401351c5    H..L....7....Q.@

70008080: 0a0a8c1c 1441c100 c6108295 11ce0e20    ......A..... ...

70008090: 01037082 04248b5b 07101044 88168831    .p..[.$.D...1...

700080a0: ec40c886 13806500 09229229 3a1c6103    ..@..e..)."..a.:

700080b0: 4381b2cc 9d461110 81345e03 2e058050    ...C..F..^4.P...

700080c0: 9e4204c9 600b4340 c0cc60a8 970b1644    ..B.@C.`.`..D...

700080d0: 15c62e26 a6195200 2751ac15 000c2130    &....R....Q'0!..

700080e0: 134cc361 04511416 9e102c43 642520b4    a.L...Q.C,... %d

700080f0: d186b554 24700861 31805650 ce34aaa4    T...a.p$PV.1..4.

 

That does not look like the start of the kernel to me. Any ideas?

 

Thanks

Labels (1)
0 Kudos
5 Replies

895 Views
NathanJozwiak
Contributor III
That fixed my issue there, thanks Remi.
0 Kudos

895 Views
rlorriaux
Contributor I
I have updated the release notes to clarify that issue.
0 Kudos

895 Views
NathanJozwiak
Contributor III

according to the Adeneo_i.MX53QSB_Android_Gingerbread_User_Guide_v4.0.doc on page 8. After executing the flash_android script

 

"The boot environment is already setup to boot the linux kernel and android filesystemfrom the micro SD card."

Alan Levy said:

You need to set up the U-Boot parameters as described in Adeneo's documentation. The default values don't work.
0 Kudos

895 Views
rlorriaux
Contributor I

If you were previously using release 3.3 (froyo), also make sure you also clear the previous environment on your SD Card:

sudo dd if=/dev/zero of=[your SD Card] bs=1k count=1024

0 Kudos

895 Views
AlanLevy
Contributor I
You need to set up the U-Boot parameters as described in Adeneo's documentation. The default values don't work.
0 Kudos