News:

Attention: For security reasons,please choose a user name *different* from your login name.
Also make sure to choose a secure password and change it regularly.

Main Menu

Problem with Ethernet in ZynqBerry

Started by mario.ruiz, April 05, 2017, 03:53:26 PM

Previous topic - Next topic

mario.ruiz

Hello everyone,

I was working with  the ZynqBerry platform, I was able to regenerate the demo 2 project with Vivado 2016.2 and successfully export it to Vivado 2016.4. I also created a PetaLinux project following these instructions: https://wiki.trenz-electronic.de/display/PD/PetaLinux+KICKstart. Now I have a functional SD image with two partitions: 1st image.ub and system.dtb; 2nd the rootfs file system that was extracted from the file rootfs.cpio  with the pax tool. Both U-boot and kernel booted up, but at some point of the OS initialization I get this message:  Configuring network interfaces... ifconfig: SIOCGIFFLAGS: No such device.

When I check the interfaces I only see:

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1%767856/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

sit0      Link encap:IPv6-in-IPv4
          NOARP  MTU:1480  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

No further error is reported but If I compare the  provided device tree in demo 2 against the  autogenerated device tree by petalinux,  I do not find significant differences.

Has anyone faced this problem before? How can I figure  out a possible solution?

Thanks in advance

mario.ruiz

I'm sorry after posted I found this post https://forum.trenz-electronic.de/index.php/topic,569.msg2568.html#msg2568 where the problem was solved.
I need to enable
Device Drivers > Network device support > USB Network Adapters
<*>     SMSC LAN95XX based USB 2.0 10/100 ethernet devices

And add usb information in device tree file.

Thanks.