[U-Boot-Users] How to make kernel aware of UBoot's bootargs?

Shawn Jin shawnxjin at gmail.com
Tue Feb 15 19:47:00 CET 2005


Hi,

I'm working on IBM Ebony board and trying to make linux running on it.
I built a linux-2.6.10 (from kernel.org) image but somehow the kernel
refused to pick up the bootargs because the kernel command linux shows
nothing and ethernet address is all 0xFF. I've researched DULG and
this mailing list and got some hints that this is usually caused by
the kernel's unawareness of uboot's bd_info.

However adding #include <asm/ppcboot.h> in
arch/ppc/platforms/4xx/ibm440gp.h doesn't help solve the problem. I
must have missed something else. What am I missing here?

## Current stack ends at 0x07FAA580 => set upper limit to 0x00800000
## cmdline at 0x007FFC00 ... 0x007FFC51
bd address  = 0x07FAAF90
memstart    = 0x00000000
memsize     = 0x08000000
flashstart  = 0xFF800000
flashsize   = 0x00480000
flashoffset = 0x00000000
sramstart   = 0x00000000
sramsize    = 0x00000000
bootflags   = 0x00000000
intfreq     =    400 MHz
busfreq     = 133.333 MHz
ethaddr     = 00:04:AC:E3:1B:BB
IP addr     = 130.27.85.245
baudrate    =   9600 bps
No initrd
## Transferring control to Linux (at address 00000000) ...
Linux version 2.6.10  (gcc version 3.3.3 (DENX ELDK 3.1 3.3.3-8)) #1 Fr
i Feb 11 15:18:50 PST 2005
IBM Ebony port (MontaVista Software, Inc. (source at mvista.com))
Built 1 zonelists
Kernel command line:
PID hash table entries: 1024 (order: 10, 16384 bytes)
<snipped>
emac: IBM EMAC Ethernet driver, version 2.0
Maintained by Benjamin Herrenschmidt <benh at kernel.crashing.org>
zmii0: input 0 in SMII mode
eth0: IBM emac, MAC ff:ff:ff:ff:ff:ff
eth0: Found Generic MII PHY (0x08)
zmii0: input 1 in RMII mode
eth1: IBM emac, MAC ff:ff:ff:ff:ff:ff
eth1: Found Generic MII PHY (0x09)
<snipped>

Thanks,
-Shawn.




More information about the U-Boot mailing list