* ??: Bad Magic Number when boot linux kernel with ppcboot (PPC860 board)
@ 2005-08-02 7:29 FCG WANG Baohua
2005-08-02 8:08 ` AW: " David Grab
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: FCG WANG Baohua @ 2005-08-02 7:29 UTC (permalink / raw)
To: wd; +Cc: linuxppc-embedded
Dear Denk:
The magic number is right when using vmlinux.UBoot instead of vmlinux =
or zImage, Why?
Another question puzzle me:
The kernel print the "Transferring control to Linux (at address =
00000000) ... " then halt ,no any response from serial port.
I tried ramdiak and nfs, there are the same result.
So why not print the=20
"Linux version 2.4.25 (root at FedoraCore2) (gcc version 3.3.3 (DENX =
ELDK 3.1
3.3.3-8)) #94 Tue Jul 5 18:59:08 PDT 2005"=20
=20
How to not print the "Transferring control to Linux (at address =
00000000) ... " ? Is it right ?=20
Thanks a lot!
-----????-----
???: wd@denx.de [mailto:wd@denx.de]
????: 2005?8?2? 15:13
???: FCG WANG Baohua
??: linuxppc-embedded@ozlabs.org
??: Re: Bad Magic Number when boot linux kernel with ppcboot (PPC860 =
board)=20
In message <A9DE2BAF233E444FA9C5E77A5825A01E8652F9@ydmail.sbell.com.cn> =
you wrote:
>=20
> kernel, after I loaded it print the following messages:
>=20
> =3D> bootm 0x180000
> ## Booting image at 00000000 ...
> Bad Magic Number
> =3D>
Which address did you load the image to?
> How to slove it, thanks a lot!
> I use: zImage,=20
> vmlinux.UBoot,
> vmlinux=20
> it all print the same messages, How can I do?=20
Please read the documentation. Only uImage =3D vmlinux.UBoot can work.
Best regards,
Wolfgang Denk
--=20
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
"Confound these ancestors.... They've stolen our best ideas!"
- Ben Jonson
^ permalink raw reply [flat|nested] 4+ messages in thread* AW: Bad Magic Number when boot linux kernel with ppcboot (PPC860 board)
2005-08-02 7:29 ??: Bad Magic Number when boot linux kernel with ppcboot (PPC860 board) FCG WANG Baohua
@ 2005-08-02 8:08 ` David Grab
2005-08-02 12:16 ` ??: " Wolfgang Denk
2005-09-01 22:25 ` Does the console have to be asigned to a serial or video driver ? David H. Lynch Jr
2 siblings, 0 replies; 4+ messages in thread
From: David Grab @ 2005-08-02 8:08 UTC (permalink / raw)
To: 'FCG WANG Baohua'; +Cc: linuxppc-embedded
[-- Attachment #1: Type: text/plain, Size: 1413 bytes --]
>Dear Denk:
> The magic number is right when using vmlinux.UBoot instead of vmlinux or
zImage, Why?
u-boot needs an u-boot image. Wolfgang did already say that vmlinux.UBoot is
that image. So use this image and nothing else. Also read the manual
especially this chapter
http://www.denx.de/twiki/bin/view/DULG/BootingEmbeddedLinux
> Another question puzzle me:
> The kernel print the "Transferring control to Linux (at address 00000000)
... " then halt ,no any response
> from serial port.
Seems for me that the serial configuration did not match. Are you sure you
chosen and cofigured the right UART? If so then debug with BDI2000.
> I tried ramdiak and nfs, there are the same result.
> So why not print the
> "Linux version 2.4.25 (root at FedoraCore2) (gcc version 3.3.3 (DENX ELDK
3.1
>3.3.3-8)) #94 Tue Jul 5 18:59:08 PDT 2005"
The console output has nothing to do with ramdisk or nfs. So check your
configuration of the active console. An quick check, if your u-boot did not
pass the console parameters is to set the console parameter in linux. For
that you have to activate command line to yes and set the command line
parameter to 'console=ttySx'. x=0 is UART0 and x=1 is UART1. If this not
help then debug again with BDI.
> How to not print the "Transferring control to Linux (at address 00000000)
... " ? Is it right ?
> Thanks a lot!
This print might be ok.
Best regards,
David
[-- Attachment #2: winmail.dat --]
[-- Type: application/ms-tnef, Size: 2328 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: ??: Bad Magic Number when boot linux kernel with ppcboot (PPC860 board)
2005-08-02 7:29 ??: Bad Magic Number when boot linux kernel with ppcboot (PPC860 board) FCG WANG Baohua
2005-08-02 8:08 ` AW: " David Grab
@ 2005-08-02 12:16 ` Wolfgang Denk
2005-09-01 22:25 ` Does the console have to be asigned to a serial or video driver ? David H. Lynch Jr
2 siblings, 0 replies; 4+ messages in thread
From: Wolfgang Denk @ 2005-08-02 12:16 UTC (permalink / raw)
To: FCG WANG Baohua; +Cc: linuxppc-embedded
In message <A9DE2BAF233E444FA9C5E77A5825A01E865051@ydmail.sbell.com.cn> you wrote:
> >
> The magic number is right when using vmlinux.UBoot instead of vmlinux
> or zImage, Why?
Because vmlinux.UBoot is a correct U-Boot image, while vmlinux and
zImage are not. Read the documentation.
> Another question puzzle me:
> The kernel print the "Transferring control to Linux (at address
> 00000000) ... " then halt ,no any response from serial port.
Read the documentation. This is a FAQ.
> How to not print the "Transferring control to Linux (at address
> 00000000) ... " ? Is it right ?
Yes, this is correct.
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
Punishment becomes ineffective after a certain point. Men become in-
sensitive.
-- Eneg, "Patterns of Force", stardate 2534.7
^ permalink raw reply [flat|nested] 4+ messages in thread
* Does the console have to be asigned to a serial or video driver ?
2005-08-02 7:29 ??: Bad Magic Number when boot linux kernel with ppcboot (PPC860 board) FCG WANG Baohua
2005-08-02 8:08 ` AW: " David Grab
2005-08-02 12:16 ` ??: " Wolfgang Denk
@ 2005-09-01 22:25 ` David H. Lynch Jr
2 siblings, 0 replies; 4+ messages in thread
From: David H. Lynch Jr @ 2005-09-01 22:25 UTC (permalink / raw)
To: linuxppc-embedded
I am working on a Linux Port to a very minimal Xilinx V4 FPGA card.
At this point it would be extremely useful for me to assign the console
to a fairly trivial char device that is little more than a
bi-directional parallel port.
Is that possible or do I have to impliment dummy code for all the
required interfaces for a serial device ?
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2005-09-01 22:35 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-02 7:29 ??: Bad Magic Number when boot linux kernel with ppcboot (PPC860 board) FCG WANG Baohua
2005-08-02 8:08 ` AW: " David Grab
2005-08-02 12:16 ` ??: " Wolfgang Denk
2005-09-01 22:25 ` Does the console have to be asigned to a serial or video driver ? David H. Lynch Jr
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).