linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* ADS860 - unable to load kernel- Bad magic number
@ 2004-02-27  4:34 m.venkatraj
  2004-02-27  4:45 ` John Zhou
  2004-02-27  8:07 ` song sam
  0 siblings, 2 replies; 16+ messages in thread
From: m.venkatraj @ 2004-02-27  4:34 UTC (permalink / raw)
  To: linuxppc-embedded


Hi,

I am a linux-newbie working on a parallel track on the MPC 860, on a ADS
board. I am facing difficulty in getting the kernel to load. This is what I
have done so far:

- built a cross-toolchain using Dan Kegel's crosstool.
- built u-boot-1.0.1 and flashed it to the board using BDI2000
- built linus-2.4.22, (with the below mentioned patch on last attempt).

The compilation goes through fine, I get "vmlinux" on the top-dir, and also
a vmlinux.gz in the arch/ppc/boot/images if I do a "make zImage".

When I configure bootp, and bootup the board, u-boot comes up fine, the tftp
download of the kernel image goes through fine too. Then I am stuck with a
"Bad Magic Number". Some initial digup led me to a mismatched image header
magic number.

Could anyone please help me with how to go ahead? Am I missing something?

Also thanks to everyone whose postings on this and other lists helped me get
started!

Venkatraj M.
Tektronix.

-----Original Message-----
From: Xavier Miville [mailto:xmiville@oerlikon.ca]
Sent: Thursday, February 26, 2004 9:58 PM
To: Sudeep, V
Cc: samsongshzu@yahoo.com.cn; wd@denx.de; mporter@kernel.crashing.org;
laurent.mohin@acterna.com; linuxppc-embedded@lists.linuxppc.org
Subject: RE: PCI daughter card with USB on a 405GP



You will need to apply the corresponding linuxppc patch
(/pub/linux/kernel/ports/ppc/2.4) to 2.4.22. The zvmlinux doesn't seem
to be built with only 2.4.22.


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

^ permalink raw reply	[flat|nested] 16+ messages in thread
* RE: ADS860 - unable to load kernel- Bad magic number
@ 2004-02-27  8:27 Demke, Torsten
  0 siblings, 0 replies; 16+ messages in thread
From: Demke, Torsten @ 2004-02-27  8:27 UTC (permalink / raw)
  To: m.venkatraj, linuxppc-embedded


Hi,

when using u-boot you need an Linux image which is
created with "mkimage" tool.

Try "make uImage" which will create this
image in arch/ppc/boot/image.

See also:
(http://www.denx.de/twiki/bin/view/DULG/Manual)

Regards,
Torsten


> -----Original Message-----
> From: m.venkatraj@exgate.tek.com [mailto:m.venkatraj@exgate.tek.com]
> Sent: Freitag, 27. Februar 2004 05:35
> To: linuxppc-embedded@lists.linuxppc.org
> Subject: ADS860 - unable to load kernel- Bad magic number
>
>
>
> Hi,
>
> I am a linux-newbie working on a parallel track on the MPC
> 860, on a ADS
> board. I am facing difficulty in getting the kernel to load.
> This is what I
> have done so far:
>
> - built a cross-toolchain using Dan Kegel's crosstool.
> - built u-boot-1.0.1 and flashed it to the board using BDI2000
> - built linus-2.4.22, (with the below mentioned patch on last
> attempt).
>
> The compilation goes through fine, I get "vmlinux" on the
> top-dir, and also
> a vmlinux.gz in the arch/ppc/boot/images if I do a "make zImage".
>
> When I configure bootp, and bootup the board, u-boot comes up
> fine, the tftp
> download of the kernel image goes through fine too. Then I am
> stuck with a
> "Bad Magic Number". Some initial digup led me to a mismatched
> image header
> magic number.
>
> Could anyone please help me with how to go ahead? Am I
> missing something?
>
> Also thanks to everyone whose postings on this and other
> lists helped me get
> started!
>
> Venkatraj M.
> Tektronix.
>
> -----Original Message-----
> From: Xavier Miville [mailto:xmiville@oerlikon.ca]
> Sent: Thursday, February 26, 2004 9:58 PM
> To: Sudeep, V
> Cc: samsongshzu@yahoo.com.cn; wd@denx.de; mporter@kernel.crashing.org;
> laurent.mohin@acterna.com; linuxppc-embedded@lists.linuxppc.org
> Subject: RE: PCI daughter card with USB on a 405GP
>
>
>
> You will need to apply the corresponding linuxppc patch
> (/pub/linux/kernel/ports/ppc/2.4) to 2.4.22. The zvmlinux doesn't seem
> to be built with only 2.4.22.
>
>

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

^ permalink raw reply	[flat|nested] 16+ messages in thread
* RE: ADS860 - unable to load kernel- Bad magic number
@ 2004-02-27  9:14 m.venkatraj
  0 siblings, 0 replies; 16+ messages in thread
From: m.venkatraj @ 2004-02-27  9:14 UTC (permalink / raw)
  To: Torsten.Demke, linuxppc-embedded


Thanks for all the suggestions! mkimage did the trick.

Best regards
Venkatraj

> when using u-boot you need an Linux image which is
> created with "mkimage" tool.
>
> Try "make uImage" which will create this
> image in arch/ppc/boot/image.
>
> See also:
> (http://www.denx.de/twiki/bin/view/DULG/Manual)
>
>

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

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2004-03-02 23:51 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <Iq959772845498.03218@webmail1.inner-21cn.com>
2004-02-26 17:24 ` ADS860 - unable to load kernel- Bad magic number Bob Beck
2004-02-27 16:32   ` Marius Groeger
2004-02-26 22:22     ` Bob Beck
2004-02-27 17:29       ` Marius Groeger
2004-02-26 22:38         ` Bob Beck
2004-02-27 19:32           ` Dan Malek
2004-02-27  1:32             ` Bob Beck
2004-02-27 21:05               ` Dan Malek
2004-03-01 22:58                 ` Booting Linux on a Custom PPC Board Bob Beck
2004-03-02 23:51                   ` Wolfgang Denk
2004-03-02 17:45                     ` Bob Beck
2004-02-27  4:34 ADS860 - unable to load kernel- Bad magic number m.venkatraj
2004-02-27  4:45 ` John Zhou
2004-02-27  8:07 ` song sam
  -- strict thread matches above, loose matches on Subject: below --
2004-02-27  8:27 Demke, Torsten
2004-02-27  9:14 m.venkatraj

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).