Jump to ID:
BSPs and Drivers

Project Home

Documents

Discussions

Wiki

Project Info
Forum Topic - Using the second Ethernet Port on the PPC460EX: Page 1 of 6 (6 Items)
   
 
 
Using the second Ethernet Port on the PPC460EX  
I am working on an Actis board using the PPC460EX, using a modified Canyonlands BSP. 

The Actis board has the PHY at the addresses 8 and 9, while the BSP is hardcoded for 0 and 1. 

The first Ethernet works just fine, but I don't seem to be able to transmit on the second one. I do seem to receive 
though, since the incoming packet count seems legitimate and increases when I ping the port.

# ifconfig -a
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 33192
        inet 127.0.0.1 netmask 0xff000000
en0: flags=80008843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,SHIM> mtu 1500
        capabilities rx=1<IP4CSUM>
        capabilities tx=6<TCP4CSUM,UDP4CSUM>
        enabled=0
        address: 00:20:15:45:00:0c
        media: Ethernet 100baseTX full-duplex
        status: active
        inet 10.196.213.147 netmask 0xff000000 broadcast 10.255.255.255
en1: flags=80008843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,SHIM> mtu 1500
        capabilities rx=1<IP4CSUM>
        capabilities tx=6<TCP4CSUM,UDP4CSUM>
        enabled=0
        address: 00:20:15:45:00:0d
        media: Ethernet 100baseTX full-duplex
        status: active
        inet 10.196.213.148 netmask 0xff000000 broadcast 10.255.255.255

# netstat -ia         
Name  Mtu   Network       Address              Ipkts Ierrs    Opkts Oerrs Colls
lo0   33192 <Link>                              1236     0     1236     0     0
lo0   33192 127/8         127.0.0.1             1236     0     1236     0     0
en0   1500  <Link>        00:20:15:45:00:0c    13255     0       59     0     0
en0   1500  10/8          10.196.213.147       13255     0       59     0     0
en1   1500  <Link>        00:20:15:45:00:0d    13059     0        1     0     0
en1   1500  10/8          10.196.213.148       13059     0        1     0     0

# netstat -r
Routing tables

Internet:
Destination        Gateway            Flags    Refs      Use    Mtu  Interface
10/8               link#2             UC          2        0      -  en0
10.196.213.144     00:21:9b:15:72:d0  UHLc        0       29      -  en0
10.196.213.147     00:20:15:45:00:0c  UHLc        0       10      -  lo0
10.196.213.148     10.196.213.148     UHS         0       82      -  en1
127.0.0.1          127.0.0.1          UH          0     1068  33192  lo0

I am trying to ping 10.196.213.148 from my PC (213.144) and do not get any answer. I am not sure if my network 
configuration is incorrect or if there is something I should check in the driver.

I would be extremely grateful of any help.

Philippe