Skip to contentSkip to conversation

Bad Magic Number

DISCUSSION Kapil Konde 3 participants 3 messages Oct 3, 2001 – Oct 5, 2001

lore
Share & tools
lore
#0 lore raw

Hi all,
I am trying to boot linux on my custom mpc8xx card. I have ppcboot loaded
and I am loading linux kernel image using tftp. When I say bootm it gives me error "Bad Magic Number".
Can anybody please explain the error and suggest any solution for it.

Thanks in advance,
Kapilk.

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

#1 lore raw
Quoted 8 lines · Kapil Konde

Hi all,
I am trying to boot linux on my custom mpc8xx card. I have ppcboot loaded
and I am loading linux kernel image using tftp. When I say bootm it gives me error "Bad Magic Number".
Can anybody please explain the error and suggest any solution for it.

Thanks in advance,
Kapilk.

If you want to use the bootm command, you need to build your linux kernel with the mkimage tool (this tool is included in the ppcboot package).

Regards

--
------------------------------------------------------------------------------

Pierre Aubert                   |   Phone:  +33 4 50 65 62 88
                                |   Fax:    +33 4 50 65 62 08

STÄUBLI Faverges |
Place Robert STÄUBLI | Mailto:[email protected]
74210 Faverges FRANCE | http://www.staubli.com
------------------------------------------------------------------------------

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

#2 lore raw
In reply to Kapil Konde
Quoted 5 lines · In message <[email protected]> you wrote:

I am trying to boot linux on my custom mpc8xx card. I have ppcboot loaded
and I am loading linux kernel image using tftp. When I say bootm it gives me error "Bad Magic Number".
Can anybody please explain the error and suggest any solution for it.

The image you are trying to boot is not a PPCBoot image, i. e. it was not created using the "mkimage" tool that omes with PPCBoot. See the PPCBoot README file.

Wolfgang Denk

--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: [email protected] Conscious is when you are aware of something, and conscience is when you wish you weren't.

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/