<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: LS1017A CPU based board cannot find PHY in u-boot in Processor Expert Software</title>
    <link>https://community.nxp.com/t5/Processor-Expert-Software/LS1017A-CPU-based-board-cannot-find-PHY-in-u-boot/m-p/1834176#M5795</link>
    <description>&lt;P&gt;Hi yiping:&lt;/P&gt;&lt;P&gt;We have modified the dts files, now it's better, u-boot logs changed to:&lt;/P&gt;&lt;P&gt;Warning: enetc-2 (eth1) using random MAC address - 7a:02:b7:ec:57:6d&lt;BR /&gt;eth1: enetc-2&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;Could not get PHY for emdio-3: addr 3&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Warning: swp0 (eth2) using random MAC address - da:51:9b:a8:11:cf&lt;BR /&gt;, eth2: swp0&lt;BR /&gt;Warning: swp1 (eth3) using random MAC address - fe:b4:dd:4f:b8:0f&lt;BR /&gt;, eth3: swp1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;It seems that we can find PHY at address 4, but PHY @3 is still missing&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;And the mdio and mii command output is:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;=&amp;gt; mdio list&lt;BR /&gt;enetc-2:&lt;BR /&gt;emdio-3:&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;4 - Generic PHY &amp;lt;--&amp;gt; swp1&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;felix-switch:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;=&amp;gt; mii info&lt;BR /&gt;PHY 0x00: OUI = 0x20F9, Model = 0x00, Rev = 0x00,&amp;nbsp; 10baseT, HDX&lt;BR /&gt;PHY 0x01: OUI = 0x20F9, Model = 0x00, Rev = 0x00,&amp;nbsp; 10baseT, HDX&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;We also did a loop back traffic test, looping back macs at swp0 and swp1, then do ping test, also failed... &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;Looking forward to your reply, thanks!&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;&lt;BR /&gt;BR,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;Yuxiao Ji&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 25 Mar 2024 03:13:21 GMT</pubDate>
    <dc:creator>xiaosa_en</dc:creator>
    <dc:date>2024-03-25T03:13:21Z</dc:date>
    <item>
      <title>LS1017A CPU based board cannot find PHY in u-boot</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/LS1017A-CPU-based-board-cannot-find-PHY-in-u-boot/m-p/1832029#M5791</link>
      <description>&lt;P&gt;Dear Experts:&lt;/P&gt;&lt;P&gt;We design a board using LS1017A CPU, connect 2 MARVELL 88e1512 PHY to mac0 and mac1 of the TSN switch.&lt;/P&gt;&lt;P&gt;The serdes config is 99cc. Our SDK used is lsdk21.08.&lt;/P&gt;&lt;P&gt;In u-boot we cannot find PHY, "mii info" command or "mdio list" don't show any devices.&lt;/P&gt;&lt;P&gt;Here's boot log: You can find the error at the last, "&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;felix-switch: Failed to register fixed-link for CPU port&lt;/STRONG&gt;&lt;/FONT&gt;"&lt;/P&gt;&lt;P&gt;NOTICE: BL2: Booting BL31&lt;BR /&gt;NOTICE: BL31: v2.4(release):LSDK-21.08-1-g5d950d6a2&lt;BR /&gt;NOTICE: BL31: Built : 14:15:43, Mar 15 2024&lt;BR /&gt;NOTICE: Welcome to ls1028ardb BL31 Phase&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;U-Boot 2021.04-00001-gec02921ea0-dirty (Mar 19 2024 - 14:16:02 +0800)&lt;/P&gt;&lt;P&gt;SoC: LS1017AE Rev1.0 (0x870b2410)&lt;BR /&gt;Clock Configuration:&lt;BR /&gt;CPU0(A72):800 MHz&lt;BR /&gt;Bus: 300 MHz DDR: 1300 MT/s&lt;BR /&gt;Reset Configuration Word (RCW):&lt;BR /&gt;00000000: 2000340c 00000030 00000000 00000000&lt;BR /&gt;00000010: 00000000 018f0000 0030c000 00000000&lt;BR /&gt;00000020: 02003150 00002580 00000000 0020824e&lt;BR /&gt;00000030: 00001001 00000008 00000000 00000000&lt;BR /&gt;00000040: 00000000 00000000 00000000 00000000&lt;BR /&gt;00000050: 00000000 00000000 00000000 00000000&lt;BR /&gt;00000060: 00000000 00000000 100e7512 00000000&lt;BR /&gt;00000070: cc990000 00000000&lt;BR /&gt;Model: NXP Layerscape 1028a RDB Board&lt;BR /&gt;Board: LS1017AE Rev1.0-unknown, Version: O, boot from SD&lt;BR /&gt;FPGA: v255 (unknown)&lt;BR /&gt;SERDES1 Reference : Clock1 = 161.13MHz Clock2 = 161.13MHz&lt;BR /&gt;DRAM: 958 MiB&lt;BR /&gt;DDR 958 MiB (DDR4, 32-bit, CL=10, ECC off)&lt;BR /&gt;GPIO set OK&lt;BR /&gt;Using SERDES1 Protocol: 52377 (0xcc99)&lt;BR /&gt;PCIe1: pcie@3400000 disabled&lt;BR /&gt;PCIe2: pcie@3500000 Root Complex: no link&lt;BR /&gt;WDT: Started with servicing (60s timeout)&lt;BR /&gt;MMC: FSL_SDHC: 0, FSL_SDHC: 1&lt;BR /&gt;Loading Environment from MMC... OK&lt;BR /&gt;EEPROM: Read failed.&lt;BR /&gt;In: serial&lt;BR /&gt;Out: serial&lt;BR /&gt;Err: serial&lt;BR /&gt;SEC0: RNG instantiated&lt;BR /&gt;Net:&lt;BR /&gt;Warning: enetc-2 (eth1) using random MAC address - 56:95:41:40:e4:ed&lt;BR /&gt;eth1: enetc-2felix-switch felix-switch: Failed to register fixed-link for CPU port&lt;BR /&gt;felix-switch felix-switch: Failed to register fixed-link for CPU port&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't know if our dts files or other config is wrong&lt;BR /&gt;Really looking forward to your help! Many thanks!&lt;/P&gt;&lt;P&gt;dts files of U-boot are attached.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Yuxiao Ji&lt;/P&gt;</description>
      <pubDate>Wed, 20 Mar 2024 12:39:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/LS1017A-CPU-based-board-cannot-find-PHY-in-u-boot/m-p/1832029#M5791</guid>
      <dc:creator>xiaosa_en</dc:creator>
      <dc:date>2024-03-20T12:39:32Z</dc:date>
    </item>
    <item>
      <title>Re: LS1017A CPU based board cannot find PHY in u-boot</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/LS1017A-CPU-based-board-cannot-find-PHY-in-u-boot/m-p/1833528#M5794</link>
      <description>&lt;P&gt;Please define mdio PHY as the following in dts files.&lt;/P&gt;
&lt;P&gt;In&amp;nbsp;fsl-ls1028a.dtsi&lt;BR /&gt;enetc_mdio_pf3: mdio@0,3 {&lt;BR /&gt;compatible = "fsl,enetc-mdio";&lt;BR /&gt;reg = &amp;lt;0x000300 0 0 0 0&amp;gt;;&lt;BR /&gt;#address-cells = &amp;lt;1&amp;gt;;&lt;BR /&gt;#size-cells = &amp;lt;0&amp;gt;;&lt;BR /&gt;};&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In&amp;nbsp;fsl-ls1028a-rdb.dts&lt;/P&gt;
&lt;DIV&gt;&amp;amp;enetc_mdio_pf3 {&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; status = "okay";&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; rdb_phy0: phy@2 {&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; reg = &amp;lt;2&amp;gt;;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; };&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; sw_phy0: phy@3 {&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; reg = &amp;lt;0x03&amp;gt;;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; };&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; sw_phy1: phy@4 {&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; reg = &amp;lt;0x04&amp;gt;;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; };&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; sw_phy2: phy@5 {&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; reg = &amp;lt;0x05&amp;gt;;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; };&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; sw_phy3: phy@6 {&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; reg = &amp;lt;0x06&amp;gt;;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; };&lt;/DIV&gt;
&lt;DIV&gt;};&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Mar 2024 08:01:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/LS1017A-CPU-based-board-cannot-find-PHY-in-u-boot/m-p/1833528#M5794</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2024-03-22T08:01:24Z</dc:date>
    </item>
    <item>
      <title>Re: LS1017A CPU based board cannot find PHY in u-boot</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/LS1017A-CPU-based-board-cannot-find-PHY-in-u-boot/m-p/1834176#M5795</link>
      <description>&lt;P&gt;Hi yiping:&lt;/P&gt;&lt;P&gt;We have modified the dts files, now it's better, u-boot logs changed to:&lt;/P&gt;&lt;P&gt;Warning: enetc-2 (eth1) using random MAC address - 7a:02:b7:ec:57:6d&lt;BR /&gt;eth1: enetc-2&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;Could not get PHY for emdio-3: addr 3&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Warning: swp0 (eth2) using random MAC address - da:51:9b:a8:11:cf&lt;BR /&gt;, eth2: swp0&lt;BR /&gt;Warning: swp1 (eth3) using random MAC address - fe:b4:dd:4f:b8:0f&lt;BR /&gt;, eth3: swp1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;It seems that we can find PHY at address 4, but PHY @3 is still missing&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;And the mdio and mii command output is:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;=&amp;gt; mdio list&lt;BR /&gt;enetc-2:&lt;BR /&gt;emdio-3:&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;4 - Generic PHY &amp;lt;--&amp;gt; swp1&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;felix-switch:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;=&amp;gt; mii info&lt;BR /&gt;PHY 0x00: OUI = 0x20F9, Model = 0x00, Rev = 0x00,&amp;nbsp; 10baseT, HDX&lt;BR /&gt;PHY 0x01: OUI = 0x20F9, Model = 0x00, Rev = 0x00,&amp;nbsp; 10baseT, HDX&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;We also did a loop back traffic test, looping back macs at swp0 and swp1, then do ping test, also failed... &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;Looking forward to your reply, thanks!&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;&lt;BR /&gt;BR,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;Yuxiao Ji&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Mar 2024 03:13:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/LS1017A-CPU-based-board-cannot-find-PHY-in-u-boot/m-p/1834176#M5795</guid>
      <dc:creator>xiaosa_en</dc:creator>
      <dc:date>2024-03-25T03:13:21Z</dc:date>
    </item>
    <item>
      <title>Re: LS1017A CPU based board cannot find PHY in u-boot</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/LS1017A-CPU-based-board-cannot-find-PHY-in-u-boot/m-p/1834276#M5796</link>
      <description>&lt;P&gt;Please add the following in&amp;nbsp;configs/ls1028ardb_tfa_defconfig, then rebuild u-boot.&lt;/P&gt;
&lt;P&gt;CONFIG_PHY_MARVELL=y&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please check your hardware design whether&amp;nbsp;swp0 connects to PHY address 0x3.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Mar 2024 06:42:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/LS1017A-CPU-based-board-cannot-find-PHY-in-u-boot/m-p/1834276#M5796</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2024-03-25T06:42:45Z</dc:date>
    </item>
    <item>
      <title>Re: LS1017A CPU based board cannot find PHY in u-boot</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/LS1017A-CPU-based-board-cannot-find-PHY-in-u-boot/m-p/1837078#M5797</link>
      <description>&lt;P&gt;hi yiping:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;sorry for the delay, but adding the driver didn't solve our problem...&lt;/P&gt;&lt;P&gt;maybe something wrong with our hardware, will check that and if any findings I will contact you later &lt;LI-EMOJI id="lia_slightly-smiling-face" title=":slightly_smiling_face:"&gt;&lt;/LI-EMOJI&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Yuxiao Ji&lt;/P&gt;</description>
      <pubDate>Thu, 28 Mar 2024 07:56:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/LS1017A-CPU-based-board-cannot-find-PHY-in-u-boot/m-p/1837078#M5797</guid>
      <dc:creator>xiaosa_en</dc:creator>
      <dc:date>2024-03-28T07:56:27Z</dc:date>
    </item>
  </channel>
</rss>

