<?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: PHY KSZ8081: MDIO register writes have no effect in bootloader in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/PHY-KSZ8081-MDIO-register-writes-have-no-effect-in-bootloader/m-p/1190473#M165661</link>
    <description>&lt;P&gt;Hi Christian&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;one can try to check and compare in both cases aipstz permissions described in&lt;/P&gt;
&lt;P&gt;Chapter 13 AHB to IP Bridge (AIPSTZ)&lt;/P&gt;
&lt;P&gt;&lt;A id="relatedDocsClick_2" href="https://www.nxp.com/webapp/Download?colCode=IMX6SDLRM" target="_blank" rel="noopener"&gt;&lt;STRONG&gt;i.MX 6Solo/6DualLite Applications Processor Reference Manual&lt;/STRONG&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;</description>
    <pubDate>Sat, 28 Nov 2020 04:39:34 GMT</pubDate>
    <dc:creator>igorpadykov</dc:creator>
    <dc:date>2020-11-28T04:39:34Z</dc:date>
    <item>
      <title>PHY KSZ8081: MDIO register writes have no effect in bootloader</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/PHY-KSZ8081-MDIO-register-writes-have-no-effect-in-bootloader/m-p/1190412#M165656</link>
      <description>&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;I have a custom board with an i.MX6S and a Microchip KSZ8081 PHY. Both are working fine when running the full linux-imx 4.14.98. However, I cannot make it work in the bootloader (Barebox). This is what I observe:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Barebox correctly identifies the PHY and can read the register values (using the built-in &lt;FONT face="andale mono,times"&gt;miitool&lt;/FONT&gt;).&lt;/LI&gt;&lt;LI&gt;However, writing to the PHY's registers has no effect. The write is considered successful, yet the register values do not change. Connecting to the network is not possible (auto-negotiation failed).&lt;/LI&gt;&lt;LI&gt;Booting into Linux yields a working ethernet connection.&lt;/LI&gt;&lt;LI&gt;When I now reboot into the bootloader (without a power cycle) the PHY is working in the bootloader.&lt;/LI&gt;&lt;LI&gt;After a power cycle the PHY is again not working.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;A comparison of the ENET registers from both the working and the non-working Barebox showed no differences. What can cause the PHY to reject register writes? The fact that I can successfully read registers indicates that the general setup is correct. What am I missing?&lt;/P&gt;&lt;P&gt;Thanks for any help?&lt;/P&gt;&lt;P&gt;Christian&lt;/P&gt;</description>
      <pubDate>Fri, 27 Nov 2020 19:47:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/PHY-KSZ8081-MDIO-register-writes-have-no-effect-in-bootloader/m-p/1190412#M165656</guid>
      <dc:creator>cgudrian</dc:creator>
      <dc:date>2020-11-27T19:47:40Z</dc:date>
    </item>
    <item>
      <title>Re: PHY KSZ8081: MDIO register writes have no effect in bootloader</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/PHY-KSZ8081-MDIO-register-writes-have-no-effect-in-bootloader/m-p/1190473#M165661</link>
      <description>&lt;P&gt;Hi Christian&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;one can try to check and compare in both cases aipstz permissions described in&lt;/P&gt;
&lt;P&gt;Chapter 13 AHB to IP Bridge (AIPSTZ)&lt;/P&gt;
&lt;P&gt;&lt;A id="relatedDocsClick_2" href="https://www.nxp.com/webapp/Download?colCode=IMX6SDLRM" target="_blank" rel="noopener"&gt;&lt;STRONG&gt;i.MX 6Solo/6DualLite Applications Processor Reference Manual&lt;/STRONG&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;</description>
      <pubDate>Sat, 28 Nov 2020 04:39:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/PHY-KSZ8081-MDIO-register-writes-have-no-effect-in-bootloader/m-p/1190473#M165661</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2020-11-28T04:39:34Z</dc:date>
    </item>
    <item>
      <title>Re: PHY KSZ8081: MDIO register writes have no effect in bootloader</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/PHY-KSZ8081-MDIO-register-writes-have-no-effect-in-bootloader/m-p/1190703#M165694</link>
      <description>&lt;P&gt;Hello, Igor!&lt;/P&gt;&lt;P&gt;Thanks for your quick reply. I have just compared the memory regions 0x207c000 to 0x207c060 and&amp;nbsp;0x217c000 to 0x217c060 in both cases and found no differences.&lt;/P&gt;&lt;P&gt;Since the PHY is answering read requests but obviously denies write request can there be some kind of priviledge handling in place on the PHY side? I've found nothing in the docs, though.&lt;/P&gt;&lt;P&gt;Christian&lt;/P&gt;</description>
      <pubDate>Mon, 30 Nov 2020 07:12:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/PHY-KSZ8081-MDIO-register-writes-have-no-effect-in-bootloader/m-p/1190703#M165694</guid>
      <dc:creator>cgudrian</dc:creator>
      <dc:date>2020-11-30T07:12:21Z</dc:date>
    </item>
    <item>
      <title>Re: PHY KSZ8081: MDIO register writes have no effect in bootloader</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/PHY-KSZ8081-MDIO-register-writes-have-no-effect-in-bootloader/m-p/1191720#M165789</link>
      <description>&lt;P&gt;I've checked the communication between the i.MX6 and the PHY with an oscilloscope: the write request is transmitted correctly, yet has no effect.&lt;/P&gt;&lt;P&gt;So this might be the wrong place to ask since the i.MX6 is behaving as expected.&lt;/P&gt;&lt;P&gt;Christian&lt;/P&gt;</description>
      <pubDate>Tue, 01 Dec 2020 15:58:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/PHY-KSZ8081-MDIO-register-writes-have-no-effect-in-bootloader/m-p/1191720#M165789</guid>
      <dc:creator>cgudrian</dc:creator>
      <dc:date>2020-12-01T15:58:49Z</dc:date>
    </item>
    <item>
      <title>Re: PHY KSZ8081: MDIO register writes have no effect in bootloader</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/PHY-KSZ8081-MDIO-register-writes-have-no-effect-in-bootloader/m-p/1298682#M176077</link>
      <description>&lt;P&gt;I am facing same issue with KSZ8081:&lt;/P&gt;&lt;P&gt;If single PHY IC soldered on PCB u-boot able to ping network after power cycle.&lt;/P&gt;&lt;P&gt;If two PHY IC shares same MDIO bus u-boot able to ping network only after kernel loaded and rebooted back to u-boot.&lt;/P&gt;&lt;P&gt;Did you find a solution,&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/180319"&gt;@cgudrian&lt;/a&gt;&amp;nbsp;?&lt;/P&gt;</description>
      <pubDate>Sat, 26 Jun 2021 20:37:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/PHY-KSZ8081-MDIO-register-writes-have-no-effect-in-bootloader/m-p/1298682#M176077</guid>
      <dc:creator>Almaz</dc:creator>
      <dc:date>2021-06-26T20:37:35Z</dc:date>
    </item>
  </channel>
</rss>

