Bad Magic Number while booting from SD card with new uImage!

Shaz shazalive at gmail.com
Fri Sep 19 11:34:28 CEST 2008


On 9/19/08, Andy Green <andy at openmoko.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
>  Hash: SHA1
>
>  Somebody in the thread at some point said:
>  | Hi,
>  |
>  | I am getting bad magic number when I try to boot from micro SD with my
>  ...
>  | sudo make
> CROSS_COMPILE=/usr/local/openmoko/arm/bin/arm-angstrom-linux-gnueabi-
>
>  You don't need to do this as root.
I get permission denied on root owned directory linux-2.6.24 :)
>
>  ...
>  | Image Type:   ARM Linux Kernel Image (uncompressed)
>
>  uncompressed is good anyway
>
>  | Data Size:    1769300 Bytes = 1727.83 kB = 1.69 MB
>  | Load Address: 0x30008000
>  | Entry Point:  0x30008000
>  |   Image arch/arm/boot/uImage is ready
>
>  We call it uImage.bin, that is what the canned U-Boot menu scripts expect.
yes. This was the problematic part :) By default it expects uImage.bin.
>
>  Can you show the text around this "bad magic number" report?  A few
>  different things have magic numbers.
>
>  You are not using the shipped 512MB SD Card.  Do things work better if
>  you do?
My Rootfs had problems due to this new SD card. The kernel was giving
panics due to some VFS driver issue but when I used the old SD card it
started to work. Is there a problem of quality of SD cards that I
bought? We are making images on various SD cards as incremental
experiments so need to have more than one card. I'll check it somehow.
>
>  - -Andy
Thanks alot Andy.
>  -----BEGIN PGP SIGNATURE-----
>  Version: GnuPG v1.4.9 (GNU/Linux)
>  Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
>
> iEYEARECAAYFAkjTWh4ACgkQOjLpvpq7dMoFDwCfZ+rvYjdSw1E3td00BietD85J
>  cGoAn2i0qg8uqU8QYq734qBrjMwc43TZ
>  =NZb5
>  -----END PGP SIGNATURE-----
>


-- 
Shaz



More information about the openmoko-kernel mailing list