<meta http-equiv="Content-Type" content="text/html; charset=utf-8"><div dir="ltr"><div>Even if that one isn't already used, the generic PHY driver (UKPHY) will work most of the time as long as it's enabled (it isn't by default for the Zynq BSPs). I haven't done much with the Zynq boards, so I won't be of much help. The link you posted mentioned a board frequency change. Have you verified that the default clock hasn't changed for your RevD board?<br></div><div><br></div><div>Kinsey<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Aug 14, 2024 at 5:14 AM Heinz Junkes <<a href="mailto:junkes@fhi-berlin.mpg.de">junkes@fhi-berlin.mpg.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I have a Rev.D board and it has a different Realtek PHY with different connections to MIO Bank.<br>
RTL8211F instead of RTL8211E<br>
I have to find out where this is defined/used in the rtems-libbsd.<br>
Heinz<br>
<br>
<br>
> On 13. Aug 2024, at 17:16, Heinz Junkes <<a href="mailto:junkes@fhi-berlin.mpg.de" target="_blank">junkes@fhi-berlin.mpg.de</a>> wrote:<br>
> <br>
> This is the output of NFS01 Test:<br>
> <br>
> *** BEGIN OF TEST LIBBSD NFS 1 ***<br>
> *** TEST VERSION: 6.0.0.e5b6fa026ac1c07d252233624054785b2b29f54e<br>
> *** TEST STATE: USER_INPUT<br>
> *** TEST BUILD: RTEMS_POSIX_API<br>
> *** TEST TOOLS: 13.3.0 20240521 (RTEMS 6, RSB 4c6dfb7aef9811258457971aa9213d5aebb9ce8d, Newlib 1ed1516)<br>
> nexus0: <RTEMS Nexus device><br>
> cgem0: <Cadence CGEM Gigabit Ethernet Interface> on nexus0<br>
> miibus0: <MII bus> on cgem0<br>
> info: cgem0: Ethernet address: 92:c2:88:7d:f4:79<br>
> arasan_sdhci1: <Arasan SDIO> on nexus0<br>
> arasan_sdhci1-slot0: Hardware doesn't specify base clock frequency, using 50MHz as default.<br>
> arasan_sdhci1-slot0: Hardware doesn't specify timeout clock frequency, setting BROKEN_TIMEOUT quirk.<br>
> arasan_sdhci1-slot0: Hardware doesn't report any support voltages.<br>
> arasan_sdhci1: Card Detect failed to stabilize, setting to not present.<br>
> arasan_sdhci0: <Arasan SDIO> on nexus0<br>
> arasan_sdhci0-slot0: Hardware doesn't specify base clock frequency, using 50MHz as default.<br>
> arasan_sdhci0-slot0: Hardware doesn't specify timeout clock frequency, setting BROKEN_TIMEOUT quirk.<br>
> mmc0: <MMC/SD bus> on arasan_sdhci0<br>
> zy7_slcr0: <Zynq-7000 slcr block> on nexus0<br>
> mmcsd0: 16GB <SDHC SC16G 8.0 SN E237916D MFG 01/2021 by 3 SD> (read-only) at mmc0 50.0MHz/4bit/65535-block<br>
> info: lo0: link state changed to UP<br>
> add host <a href="http://141.14.128.128" rel="noreferrer" target="_blank">141.14.128.128</a>: gateway cgem0<br>
> add net default: gateway 141.14.128.128<br>
> error: cgem0: no active link<br>
> assertion "seconds < 10" failed: file "../../testsuite/include/rtems/bsd/test/default-network-init.h", line 193, function: default_wait_for_link_up<br>
> <br>
> *** FATAL ***<br>
> fatal source: 7 (RTEMS_FATAL_SOURCE_ASSERT)<br>
> fatal code: 3443784 (0x00348c48)<br>
> RTEMS version: 6.0.0.e5b6fa026ac1c07d252233624054785b2b29f54e<br>
> RTEMS tools: 13.3.0 20240521 (RTEMS 6, RSB 4c6dfb7aef9811258457971aa9213d5aebb9ce8d, Newlib 1ed1516)<br>
> executing thread ID: 0x0a010001<br>
> executing thread name: UI1<br>
> <br>
> Heinz<br>
> <br>
>> On 13. Aug 2024, at 16:40, Heinz Junkes <<a href="mailto:junkes@fhi-berlin.mpg.de" target="_blank">junkes@fhi-berlin.mpg.de</a>> wrote:<br>
>> <br>
>> Hi,<br>
>> unfortunately I cannot activate the cgem0 network interface with RTEMS 6 (libbsd 6-freebsd-12) <br>
>> on a xilinx_zynq_zybo_z7 board :<br>
>> <br>
>> cgem0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500<br>
>> d options=80008<VLAN_MTU,LINKSTATE><br>
>> e ether 92:c2:88:7d:f4:79<br>
>> inet6 fe80::90c2:88ff:fe7d:f479%cgem0 prefixlen 64 scopeid 0x1<br>
>> b inet 141.14.128.72 netmask 0xfffff000 broadcast 141.14.143.255<br>
>> u nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL><br>
>> ifconfig: cgem0: ngo media types?: cgem0: sending ARP announce (1 of 2), next in 2.0 seconds<br>
>> <br>
>> <br>
>> These messages appear during startup : <br>
>> <br>
>> ***** Initializing network (libbsd, dhcpcd) *****<br>
>> nexus0: <RTEMS Nexus device><br>
>> cgem0: <Cadence CGEM Gigabit Ethernet Interface> on nexus0<br>
>> miibus0: <MII bus> on cgem0<br>
>> info: cgem0: Ethernet address: 92:c2:88:7d:f4:79<br>
>> arasan_sdhci1: <Arasan SDIO> on nexus0<br>
>> arasan_sdhci1-slot0: Hardware doesn't specify base clock frequency, using 50MHz as default.<br>
>> arasan_sdhci1-slot0: Hardware doesn't specify timeout clock frequency, setting BROKEN_TIMEOUT quirk.<br>
>> arasan_sdhci1-slot0: Hardware doesn't report any support voltages.<br>
>> arasan_sdhci1: Card Detect failed to stabilize, setting to not present.<br>
>> arasan_sdhci0: <Arasan SDIO> on nexus0<br>
>> arasan_sdhci0-slot0: Hardware doesn't specify base clock frequency, using 50MHz as default.<br>
>> arasan_sdhci0-slot0: Hardware doesn't specify timeout clock frequency, setting BROKEN_TIMEOUT quirk.<br>
>> mmc0: <MMC/SD bus> on arasan_sdhci0<br>
>> zy7_slcr0: <Zynq-7000 slcr block> on nexus0<br>
>> mmcsd0: 16GB <SDHC SC16G 8.0 SN E237916D MFG 01/2021 by 3 SD> (read-only) at mmc0 50.0MHz/4bit/65535-block<br>
>> <br>
>> I have already found a suitable entry here, but unfortunately I don't know how it 'fits' my problem:<br>
>> <a href="https://lists.rtems.org/pipermail/users/2023-July/068855.html" rel="noreferrer" target="_blank">https://lists.rtems.org/pipermail/users/2023-July/068855.html</a><br>
>> <br>
>> <br>
>> Danke Heinz_______________________________________________<br>
>> devel mailing list<br>
>> <a href="mailto:devel@rtems.org" target="_blank">devel@rtems.org</a><br>
>> <a href="http://lists.rtems.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.rtems.org/mailman/listinfo/devel</a><br>
> <br>
> <br>
> _______________________________________________<br>
> devel mailing list<br>
> <a href="mailto:devel@rtems.org" target="_blank">devel@rtems.org</a><br>
> <a href="http://lists.rtems.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.rtems.org/mailman/listinfo/devel</a><br>
<br>
<br>
_______________________________________________<br>
devel mailing list<br>
<a href="mailto:devel@rtems.org" target="_blank">devel@rtems.org</a><br>
<a href="http://lists.rtems.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.rtems.org/mailman/listinfo/devel</a></blockquote></div></div>