Zynq Ethernet driver

Davide Viti zinosat at tiscali.it
Thu Dec 10 14:33:34 UTC 2015

Hi Sebastian,
unfortunately I don't have a debugger for the Microzed, and I can reproduce
the problem only on real hardware (I failed to reproduce this both on the
xilinx_zynq_a9_qemu and pc386)

Regarding the ethernet, I managed to get it to work!
The current solution is a quick and dirty hack:

starting from this log snippet (complete log available in[1]):
devctl: ? at phyno=0 oui=0xac2 model=0x1d rev=0x1 on miibus0

my assumption was that no device was found on the miibus (thus the '?').
I looked for the model "0x1d" and noticed that it is not defined in

I changed the following defines from 0xc to 0x1d

#define MII_MODEL_xxMARVELL_E1111       0x001d
#define MII_MODEL_MARVELL_E1111 0x001d

and tried to rebuild both the dhcpd01 and telnetd examples: I managed both
to get an IP address and connect via telnet to the board: both examples had
to be modified to avoid the already discussed crash.

It'd be great to get a proper fix into the repository.

thanx for your help

[1] http://pastebin.com/jJhMH0wN

2015-12-02 18:51 GMT+01:00 Sebastian Huber <
sebastian.huber at embedded-brains.de>:

> Hello Davide,
> I guess you have a general memory corruption problem. If you add the shell
> commands, then you change the memory layout and a visible effect appears or
> not. So this is something for a debugger.
> You have to make sure that the PHY is correctly initialized. For this you
> may have to register a driver. See nexus-devices.h for examples.
> --
> Sebastian Huber, embedded brains GmbH
> Address : Dornierstr. 4, D-82178 Puchheim, Germany
> Phone   : +49 89 189 47 41-16
> Fax     : +49 89 189 47 41-09
> E-Mail  : sebastian.huber at embedded-brains.de <http://lists.rtems.org/mailman/listinfo/devel>
> PGP     : Public key available on request.
> Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20151210/68b7d876/attachment-0002.html>

More information about the users mailing list