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

Shaz shazalive at gmail.com
Fri Sep 19 07:15:23 CEST 2008


On Fri, Sep 19, 2008 at 9:45 AM, Sean McNeil <sean at mcneil.com> wrote:
>
> How are you copying the uImage to the sdcard? Is it possible you have
> CR/LF translation on?

Have no clear idea what CR/LF translation is but I just did "sudo cp
uImage /media/disk/". Usually we either do cp in a similar way or copy
- paste in GUI. We use Ubuntu Linux.

>
> Shaz wrote:
>> Hi,
>>
>> I am getting bad magic number when I try to boot from micro SD with my
>> new uImage. I had a clean and successful make and make uImage. I have
>> an first partition on SD card of 100MB (vfat) and 899MB (ext3). I am
>> using the moko toolchain as the later commands show. And got the
>> sources from:
>>
>> --------------------
>> git clone git://git.openmoko.org/git/kernel.git linux-2.6
>> cd linux-2.6
>> git checkout origin/stable
>> --------------------
>>
>>
>> After executing the following command:
>> ------------------
>>
>> sudo make CROSS_COMPILE=/usr/local/openmoko/arm/bin/arm-angstrom-linux-gnueabi-
>> ARCH=arm uImage
>>
>> ------------------
>> I got the following output:
>> ------------------
>> .
>> .
>> .
>>
>> Image Name:   Linux-2.6.24
>> Created:      Fri Sep 19 06:58:28 2008
>> Image Type:   ARM Linux Kernel Image (uncompressed)
>> Data Size:    1769300 Bytes = 1727.83 kB = 1.69 MB
>> Load Address: 0x30008000
>> Entry Point:  0x30008000
>>   Image arch/arm/boot/uImage is ready
>> -------------------
>>
>> What are the possible reasons for bad magic number and what is the solution?
>>
>>
>



-- 
Shaz



More information about the openmoko-kernel mailing list