Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
BroadcastCommunity.qnx.com will be offline from May 31 6:00pm until June 2 12:00AM for upcoming system upgrades. For more information please go to https://community.qnx.com/sf/discussion/do/listPosts/projects.bazaar/discussion.bazaar.topc28418
Forum Topic - Xilinx devn-xemac not fully functioning with shim layer: Page 1 of 3 (3 Items)
   
Xilinx devn-xemac not fully functioning with shim layer  
Hi all,

I'm trying to use the devn-xemac driver with io-pkt, using the shim.  This driver is present in the Xilinx Virtex II-Pro
 BSP, and is basically a thin QNX layer around Xilinx's EDK-provided source function.

No problems in 6.3.2.

Here's what's happening in 6.4 (using io-pkt-v4).

# io-pkt -ptcpip
# mount -T io-net -o mac=00112233445566 devn-xemac.so
# ifconfig
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 33192
        inet 127.0.0.1 netmask 0xff000000
en0: flags=80008802<BROADCAST,SIMPLEX,MULTICAST,SHIM> mtu 1500
        address: 00:00:00:00:00:00

# ifconfig en0 192.168.230.100
# ifconfig
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
        address: 00:00:00:00:00:00
        inet 192.168.230.100 netmask 0xffffff00 broadcast 192.168.230.255

Now, when I try to ping another host, I see outgoing ARP packets, I see the response from the target host... but it 
looks like the packets aren't being processed by io-pkt properly.  nicinfo report bytes transmitted just fine, but 
nothing recieved.

Another issue appears to be that the shim layer isn't picking up the mac address, as it comes in at the default.

I suspect the problem is in the xemac driver not quite agreeing with the shim -- any suggestions on where to look?