<div dir="ltr"><div><div><div><div><div><div><div>Hi Sebastian,<br></div>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)<br><br></div>Regarding the ethernet, I managed to get it to work!<br></div>The current solution is a quick and dirty hack:<br><br></div><div>starting from this log snippet (complete log available in[1]):<br></div>devctl: ? at phyno=0 oui=0xac2 model=0x1d rev=0x1 on miibus0<br><br></div>my assumption was that no device was found on the miibus (thus the '?').<br></div>I looked for the model "0x1d" and noticed that it is not defined in rtemsbsd/include/rtems/bsd/local/miidevs.h<br><br></div>I changed the following defines from 0xc to 0x1d<br><div><br>#define MII_MODEL_xxMARVELL_E1111       0x001d<br>#define MII_MODEL_MARVELL_E1111 0x001d<br><div><div><br></div><div>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.<br><br></div><div>It'd be great to get a proper fix into the repository.<br></div><div><br></div><div>thanx for your help<br></div><div><br><div>[1] <a href="http://pastebin.com/jJhMH0wN">http://pastebin.com/jJhMH0wN</a><br><br></div></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-12-02 18:51 GMT+01:00 Sebastian Huber <span dir="ltr"><<a href="mailto:sebastian.huber@embedded-brains.de" target="_blank">sebastian.huber@embedded-brains.de</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>Hello Davide,<br></div><div><br></div><div>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.<br><br>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.<br></div><span class=""><div><br></div><div>-- <br></div><div><pre>Sebastian Huber, embedded brains GmbH<br></pre><div><br></div><pre>Address : Dornierstr. 4, D-82178 Puchheim, Germany<br>Phone   : +49 89 189 47 41-16<br>Fax     : +49 89 189 47 41-09<br>E-Mail  : <a href="http://lists.rtems.org/mailman/listinfo/devel" target="_blank">sebastian.huber at embedded-brains.de</a><br>PGP     : Public key available on request.<br></pre><div><br></div><pre>Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.</pre></div></span></div></blockquote></div><br></div>