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

Wolfgang Denk wd at denx.de
Thu Jan 21 11:50:06 CET 2010


Dear Tim Cussins,

In message <1264070109.2609.42.camel at pc816> you wrote:
> 
> Right. git is hard at work as we speak :) I'm going to go for
> DENX-v2.6.32.3 unless you say otherwise...

I recomment to invest the time needed to get used working with git; it
will pay back manifold.

> I've included this info as an attachment - hope that's ok. You'll see
> that I've issued 2 commands: 'load_xenomai' and 'xenomai', both created
> by me.
> 
> The other pair of commands you'll see in printenv, 'load_normal' and
> 'normal', work fine btw.
...
> nfsargs=setenv bootargs root=/dev/nfs rw nfsroot=${serverip}:${rootpath}
> addip=setenv bootargs ${bootargs} ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}:${netdev}:off panic=1
> addtty=setenv bootargs ${bootargs} console=ttyS0,${baudrate}
...
> dynip=setenv autoload n;dhcp
...
> load_normal=run dynip ; tftp 300000 kilauea/kilauea-normal.img
> load_xenomai=run dynip ; tftp 300000 kilauea/kilauea-xenomai.img
...
> xenomai=run nfsargs addtty addip ; bootm 300000 - ${fdt_addr}
> normal=run nfsargs addtty addip ; bootm 300000
...
> => run load_xenomai 
...
> => run xenomai
...
> 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.

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".

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Remember that Beethoven wrote his first symphony in C ...


More information about the eldk mailing list