[ELDK] AMCC Kilauea and Xenomai : IP-Config 'eth0' not found

Tim Cussins timcussins at eml.cc
Thu Jan 21 12:21:30 CET 2010


On Thu, 2010-01-21 at 11:50 +0100, Wolfgang Denk wrote:

> ...
> > Linux version 2.6.24.2 (timc at pc816) (gcc version 4.2.2) #1 Wed Jan 20 16:06:28 GMT 2010
> > Zone PFN ranges:
> >   DMA             0 ->    65536
> >   Normal      65536 ->    65536
> > Movable zone start PFN for each node
> > early_node_map[1] active PFN ranges
> >     0:        0 ->    65536
> > Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 65024
> > Kernel command line: root=/dev/nfs rw nfsroot=192.168.0.254:/home/timc/opt/eldk-4.2/ppc_4xx console=ttyS0,115200 ip=192.168.0.2:192.168.1
> 
> Hm... this command line looks somehow truncated. Assuming this did not
> happen when you copied the boot log into this message, it is wrong.

Sorry - I use GtkTerm normally, but clipboard support doesn't seem to be
there. Fired up minicom to grab the output and ended up with truncated
lines. My mistake, sorry.

> Please try to break the "run xenomai" step into it's parts, and check
> the results after each step, i. e. run:
> 
> => run nfsargs
> => print bootargs
> => run addtty
> => print bootargs
> => run addip
> => print bootargs
> => bootm 300000 - ${fdt_addr}
> 
> Check if the last "bootargs" has correct settings, and what Linux sees
> in the "Kernel command line".

Kernel command line appears fine, see below:

<snip>
=> run nfsargs
=> printenv bootargs 
bootargs=root=/dev/nfs rw
nfsroot=192.168.0.254:/home/timc/opt/eldk-4.2/ppc_4xx
=> run addtty
=> printenv bootargs 
bootargs=root=/dev/nfs rw
nfsroot=192.168.0.254:/home/timc/opt/eldk-4.2/ppc_4xx
console=ttyS0,115200
=> run addip
=> printenv bootargs 
bootargs=root=/dev/nfs rw
nfsroot=192.168.0.254:/home/timc/opt/eldk-4.2/ppc_4xx
console=ttyS0,115200
ip=192.168.0.2:192.168.0.254::255.255.255.0:kilauea:eth0:off panic=1
=> bootm 300000 - ${fdt_addr}
## Booting kernel from Legacy Image at 00300000 ...
   Image Name:   Linux-2.6.24.2
   Created:      2010-01-20  16:06:31 UTC
   Image Type:   PowerPC Linux Kernel Image (gzip compressed)
   Data Size:    1306423 Bytes =  1.2 MB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at fc1e0000
   Booting using the fdt blob at 0xfc1e0000
   Uncompressing Kernel Image ... OK
   Loading Device Tree to 00ffb000, end 00ffff39 ... OK
Using Kilauea machine description
Linux version 2.6.24.2 (timc at pc816) (gcc version 4.2.2) #1 Wed Jan 20
16:06:28 GMT 2010
Zone PFN ranges:
  DMA             0 ->    65536
  Normal      65536 ->    65536
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
    0:        0 ->    65536
Built 1 zonelists in Zone order, mobility grouping on.  Total pages:
65024
Kernel command line: root=/dev/nfs rw
nfsroot=192.168.0.254:/home/timc/opt/eldk-4.2/ppc_4xx
console=ttyS0,115200
ip=192.168.0.2:192.168.0.254::255.255.255.0:kilauea:eth0:off panic=1
</snip>

I'll push on with 2.6.32 and see if I can simply sidestep the eth0
weirdness :) Of course, if you have any ideas, they would be welcome!

Thanks again,

Tim



More information about the eldk mailing list