Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Ethernet card on i.mx35 with QNX os: (4 Items)
   
Ethernet card on i.mx35 with QNX os  
I built the QNX image and flash it on the i.mx35 platform according to the instructions in:
http://community.qnx.com/sf/wiki/do/viewPage/projects.bsp/wiki/Nto640FreescaleI.mx353dsTrunkReleasenotes
(I am still using the RedBoot, haven't replaced it with the IPL)

The problem is that once the QNX is up an running the system doesn't recognize the Ethernet card (en0).
In order to activate the TCP/IP stack I used the command:
io-pkt-v4-hc -dmx35 mac=00e02991234e -ptcpip

But I have only lo0 and not en0, the output of the ifconfig command is:

# ifconfig -a
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 33192
        inet 127.0.0.1 netmask 0xff000000

Can you please help me understand the reason that the Ethernet card is not recognized when the QNX system is up?

Thanks you.
Re: Ethernet card on i.mx35 with QNX os  
On Mon, Nov 23, 2009 at 12:33:35PM -0500, Chen Yosef wrote:
> I built the QNX image and flash it on the i.mx35 platform according to the instructions in:
> http://community.qnx.com/sf/wiki/do/viewPage/projects.bsp/wiki/Nto640FreescaleI.mx353dsTrunkReleasenotes
> (I am still using the RedBoot, haven't replaced it with the IPL)
> 
> The problem is that once the QNX is up an running the system doesn't recognize the Ethernet card (en0).
> In order to activate the TCP/IP stack I used the command:
> io-pkt-v4-hc -dmx35 mac=00e02991234e -ptcpip
> 
> But I have only lo0 and not en0, the output of the ifconfig command is:
> 
> # ifconfig -a
> lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 33192
>         inet 127.0.0.1 netmask 0xff000000
> 
> Can you please help me understand the reason that the Ethernet card is not recognized when the QNX system is up?

Is there anything in the sloginfo?

-seanb
Re: Ethernet card on i.mx35 with QNX os  
I have downloaded the bsp for the platform from:
http://community.qnx.com/sf/wiki/do/viewPage/projects.bsp/wiki/FreescaleImx353ds

When I am using the (I have the QNX640 installed):
bsp-nto640-freescale-i.mx35-3ds-trunk
I get the following error:

# sloginfo
Time             Sev Major Minor Args
Jan 01 00:00:00    1     7     0 init_card: unable to dlopen deva-ctrl-mx-mx35pdk.so
Jan 01 00:00:00    1     7     0 mount_card(): failed to initialize card mx-mx35pdk

ssibase=0x43fa0000,tevt=29,tchn=1,revt=28,rchn=2,rate=48000,mixer=mclk=12288000
Jan 01 00:06:34    5    14     0 tcpip starting
Jan 01 00:06:34    3    14     0 Unable to attach to pci server: No such file or directory
Jan 01 00:06:34    3    14     0 Using pseudo random generator.  See "random" option
Jan 01 00:06:34    5    14     0 initializing IPsec... done
Jan 01 00:06:34    5    14     0 IPsec: Initialized Security Association Processing.
Jan 01 00:06:34    2    14     0 Unable to load devn-mx35.so: Library cannot be found

Couldn't find the devn-mx35.so in the QNX640 installation.

When I am using the:
bsp-ntotrunk-freescale-i.mx35-3ds-trunk
I get the following error:

# sloginfo
Time             Sev Major Minor Args
Jan 01 00:00:35    5    14     0 tcpip starting
Jan 01 00:00:35    3    14     0 Unable to attach to pci server: No such file or directory
Jan 01 00:00:35    3    14     0 Using pseudo random generator.  See "random" option
Jan 01 00:00:35    5    14     0 initializing IPsec... done
Jan 01 00:00:35    5    14     0 IPsec: Initialized Security Association Processing.
Jan 01 00:00:35    2    14     0 Unable to load devn-smc9118.so: Library cannot be found

And again, couldn't find the devn-smc9118.so in the QNX640 installation.

Is it not the correct bsp?
After importing the BSP to the IDE I added the necessary DLLs, Shared Libraries and Binaries, and built the project, but
 as I mentioned I didn't find the files that the logs are complaining about.

Thanks you for your assistance.  
Re: Ethernet card on i.mx35 with QNX os  
Hi,

I have provided additional information including logs, can you please take a look and tell me if I am using the correct 
bsp, or what might be the problem with my configuration?

Thank you.