what is bad magic number error?

Thread Starter

savio86

Joined Feb 18, 2007
1
hi
i have been working on the AT91RM9200-DK ARM microcontroller.i have succeded in building the toolchain and linux kernel versions 2.6.10 and 2.6.14..for the at91rm9200 kit..both work fine.But when porting my kernel and ramdisk images and trying to boot my kernel with the bootm command im getting a 'bad magic number error'!.
can neone tell me what this means and how can i go about solving this problem..
anticipating ur quick reply!
regards
savio
 

hgmjr

Joined Jan 28, 2005
9,029
I have no experience with the hardware or software that you are using but I have always associated the term "magic number" with the use of hard coded constant assignments within the executable program code. I have always been told that this practice is to be avoided.

hgmjr
 

mrmeval

Joined Jun 30, 2006
833
It's usually a partition error in standard linux. How are you getting the kernel files over to the processor? You may need to make a special type of file and send that over?
 
Top