what is bad magic number error?

Discussion in 'Embedded Systems and Microcontrollers' started by savio86, Feb 18, 2007.

  1. savio86

    Thread Starter New Member

    Feb 18, 2007
    1
    0
    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
     
  2. hgmjr

    Moderator

    Jan 28, 2005
    9,030
    214
    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
     
  3. mrmeval

    Distinguished Member

    Jun 30, 2006
    833
    2
    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?
     
Loading...