Simon Conway(deleted)
05/22/2013 10:27 AM
post101599
|
Hi,
I am having some difficulty setting up an ip stack on our platform which uses QNX running on an imx controller. I have
read through all the documentation I can find on the QNX web pages regarding the ip stack as I was unfamiliar with it.
What I now understand is that I need to load the QNX supplied driver for the imx FEC. I am using….
io-pkt-v4 -d mx53 mac=xxxxxxxxxxxx
With ifconfig I get…
fec0: flags=802<BROADCAST,SIMPLEX> mtu 1500
address: xx:xx:xx:xx:xx:xx
media: Ethernet none
When I connect a cable between my PC and our platform the LAN connection reports “connected”. This possibly indicates
that the HW is working ok.
The next step is to assign a static ip address to this interface. I try…
ifconfig fec0 192.168.128.161
This hangs. It looks like the imx has stopped so I am assuming, maybe incorrectly, that the driver is the cause of this.
I tried:
if_up -p fec0
which has exit status of 0 which means the interface is present but not necessarily configured.
if_up -a fec0
returns "if_up: retries exhausted" with exit status 7
No sure exactly what the 7 means but this implies that the interface is not configured.
Any ideas what I am missing in configuring the interface? On the same platform the asix driver for usb dongle is working
fine.
What functions in the driver are called as a result of the ifconfig command? I couldn’t find this information on the
QNX support pages. With this I could attempt to debug the problem.
I am also wondering if my setup is missing something. Do I need to run anything else? Are there any tools that would
help diagnose the problem?
Unfortunately I am new to the finer details of networking and am learning as I go so any useful information would be
appreciated.
Thanks
Simon
|
|
|