Freescale combined ethernet driver

Jim Heck jsurf at heckheck.com
Thu Nov 9 09:00:07 EST 2006


Assuming you have a filesystem and can get some software onto it (with 
the network not up...), the package 'iproute' contains the 'ip' tool 
that would quickly show you the name of the device using the command.

ip link show

# ip link show
1: lo: <LOOPBACK,UP,10000> mtu 16436 qdisc noqueue
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <BROADCAST,MULTICAST,UP,10000> mtu 1500 qdisc pfifo_fast qlen 1000
    link/ether 00:0b:cd:01:d0:6b brd ff:ff:ff:ff:ff:ff
3: eth1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast 
qlen 1000    link/ether 00:01:02:48:4d:41 brd ff:ff:ff:ff:ff:ff
4: sit0: <NOARP> mtu 1480 qdisc noop
    link/sit 0.0.0.0 brd 0.0.0.0

-Jim

Robin Gilks wrote:
> OK - I give up - whats the name of the device?
>
> I've tried eth0, fsl-cpm-fec0 (and other combinations) with a 
> commandline of the form:
>
>    ip=172.25.206.113:172.25.140.15::255.255.0.0:unset:fsl-cpm-fec0:off \ 
> panic=1 console=ttyCPM0
>
> and I get the following errors:
> [   37.249708] TCP bic registered
> [   37.255389] Initializing IPsec netlink socket
> [   37.264134] NET: Registered protocol family 1
> [   37.272673] NET: Registered protocol family 17
> [   37.281436] NET: Registered protocol family 15
> [   37.796233] IP-Config: Device `fsl-cpm-fec0' not found.
> [   37.807814] Looking up port of RPC 100003/2 on 172.25.140.15
> [   37.819328] portmap: RPC call returned error 101
>
> This is on an 859T CPU so its a CPM1 and I'm using the single SCC 
> channel as a serial UART.
>
>   



More information about the Linuxppc-embedded mailing list