AW: Bad Magic Number when boot linux kernel with ppcboot (PPC860 board)

David Grab d.grab at hima.com
Tue Aug 2 18:08:40 EST 2005


>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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: winmail.dat
Type: application/ms-tnef
Size: 2328 bytes
Desc: not available
Url : http://ozlabs.org/pipermail/linuxppc-embedded/attachments/20050802/56add019/attachment.bin 


More information about the Linuxppc-embedded mailing list