Error in initializing network parameters

Deval Shah deval.maker at gmail.com
Tue Aug 2 12:17:48 UTC 2016


Hello all,

With the USB and Ethernet working, I started running other tests like
ping01 on raspberry Pi.

I am getting following error while running the PING test.

--------------------------------------------------------------------------------------------------
*** LIBBSD PING 1 TEST ***
nexus0: <RTEMS Nexus device>
bcm283x_dwcotg0: <DWC OTG 2.0 integrated USB controller (bcm283x)> on nexus0
usbus0 on bcm283x_dwcotg0
usbus0: 480Mbps High Speed USB v2.0
uhub0: <DWCOTG OTG Root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus0
ifconfig: interface ue0 does not exist
assertion "exit_code == EX_OK" failed: file
"/home/gadgetman/development/rtems/rtems-libbsd/testsuite/include/rtems/bsd/test/default-network-init.h",
line 125, function: default_network_ifconfig_hwif0
--------------------------------------------------------------------------------------------------

In general boot-log, like in init test, after detecting the "uhub0" device
it detects "uhub1" device, which is the usb_ethernet controller. And after
that the Ethernet interface "ue0" exists.

--------------------------------------------------------------------------------------------------
*** LIBBSD INIT 1 TEST ***
nexus0: <RTEMS Nexus device>
bcm283x_dwcotg0: <DWC OTG 2.0 integrated USB controller (bcm283x)> on nexus0
usbus0 on bcm283x_dwcotg0
usbus0: 480Mbps High Speed USB v2.0
uhub0: <DWCOTG OTG Root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus0
Sleeping to see what happens
uhub0: 1 port with 1 removable, self powered
uhub1: <vendor 0x0424 product 0x9514, class 9/0, rev 2.00/2.00, addr 2> on
usbus0
uhub1: MTT enabled
uhub1: 5 ports with 4 removable, self powered
smsc0: <vendor 0x0424 product 0xec00, rev 2.00/2.00, addr 3> on usbus0
smsc0: chip 0xec00, rev. 0002
miibus0: <MII bus> on smsc0
ukphy0: <Generic IEEE 802.3u media interface> PHY 1 on miibus0
ukphy0:  none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
ue0: <USB Ethernet> on smsc0
ue0: Ethernet address: 5a:ee:60:74:67:92
--------------------------------------------------------------------------------------------------

I believe the default-network-init.h tries to access the ethernet interface
before it is created and the problem arises. I tried moving
bsp/nexus-devices.h before rtems/bsd/test/default-network-init.h, but the
problem remains the same. Any pointers ?


Regards,
Deval Shah

ᐧ
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20160802/723de9e5/attachment.html>


More information about the devel mailing list