Lejin Joy(disabled)
|
LAN91C96 LAN controller driver --> devn-smc9000.so issue
|
Lejin Joy(disabled)
12/23/2008 4:41 PM
post19205
|
LAN91C96 LAN controller driver --> devn-smc9000.so issue
Hi,
I am a newbie to QNX network driver. I am trying to run the QNX network driver for LAN91C96 chipset on OMAP 1710 H3 SDP
board. I am taking the reference driver available with OMAP 5912 BSP which has the same chip and which works correctly
om OMAP 5912.
In OMAP 5912 the interrupt line from LAN chip is interfaced to GPIO1 of processor. Hence in the init_intrinfo in startup
GPIO 1 -Ethernet is set up [rising edge detect] and updating the OMAP_GPIO_DIRECTION and OMAP_GPIO_EDGE_CTRL1 registers
and GPIO functional clock is done. The interrupt vector number assigned is 200. This driver devn-smc9000.so works fine
on that board.
I am trying to run the same network driver on OMAP 1710 with only difference that the LAN controller's (on the debug
board) interrupt line is mapped to processor through an FPGA.
When I run the driver I can assign IP etc. But pinging does not happen. Board select LED is blinking which means the
access to the LAN91c96 register space is happening.
I have tried tcpip as well as ttcpip
"io-net -dsmc9000 ioport=0x04800000,irq=200,mac=0050c2271e63 -p tcpip"
"io-net -d smc9000 mac=0050c2271e63 -p ttcpip if=en0:192.168.1.147:255.255.255.0 default=192.168.1.1"
I am using the same MAC ID assigned by u-boot initially. And this is specific to the board.Also tried arp -an and i can
find an incomplete value of the host in the list (These were the suggestions in workaround of of release notes)
"You can check for permanent ARP entries by running the arp -an command and examining the output. The only permanent
entries listed should be for the IP addresses assigned to your host's interfaces; there shouldn't be any permanent,
incomplete entries. If you find a permanent entry that isn't for the IP address of an interface on your host, and you
didn't explicitly create a permanent entry, then you could be encountering this problem. (Ref# 21395)"
Please give your inputs and help me out. Please find the log reports.
Thanks,
Lejin
Please find the logs 1) ls /dev/io-net
2) nicinfo
3) sloginfo(with some debug statements added by me)
4) arm -an
5) ifconfig
6) pidin irqs
7) pidin syspage=intrinfo
----------------------
1) # ls /dev/io-net
en0 ip0 ip_en
----------------------
2) nicinfo
SMC9000 Ethernet Controller
Physical Node ID ........................... 0000FF FF1818
Current Physical Node ID ................... 0050C2 271E63
Current Operation Rate ..................... Unknown
Active Interface Type ...................... UTP
Maximum Transmittable data Unit ............ 1514
Maximum Receivable data Unit ............... 1514
Hardware Interrupt ......................... 0xc8
I/O Aperture ............................... 0x4800000 - 0x480001f
Promiscuous Mode ........................... Off
Multicast Support .......................... Enabled
Packets Transmitted OK ..................... 0
Bytes Transmitted OK ....................... 0
Broadcast Packets Transmitted OK ........... 0
Multicast Packets Transmitted OK ........... 0
Packets Received OK ........................ 0
Bytes Received OK .......................... 0
Broadcast Packets Received OK .............. 0
Multicast Packets Received OK .............. 0
Memory Allocation Failures on Receive ...... 0
Single Collisions on Transmit .............. 0
Multiple Collisions on Transmit ............ 0
Deferred Transmits ......................... 0
Late Collision on Transmit errors .......... 0
Transmits aborted (excessive collisions) ... 0
Transmits aborted (excessive deferrals) .... 0
Transmit Underruns ......................... 0
No Carrier on Transmit ..................... 0
Receive Alignment errors ................... 0
Received packets with CRC errors ........... 0
Packets Dropped on receive ................. 0
Oversized Packets received ................. 0
Short packets...
View Full Message
|
|
|