<?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: configure the ksz8765 5 port Ethernet switch in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/configure-the-ksz8765-5-port-Ethernet-switch/m-p/759467#M118076</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi，&lt;/P&gt;&lt;P&gt;My problem now is that ksz8794 can be fixed to the CPU, but the network doesn't ping.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 08 Jan 2018 01:04:07 GMT</pubDate>
    <dc:creator>lvmh</dc:creator>
    <dc:date>2018-01-08T01:04:07Z</dc:date>
    <item>
      <title>configure the ksz8765 5 port Ethernet switch</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/configure-the-ksz8765-5-port-Ethernet-switch/m-p/759455#M118064</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;we have custom board based on imx6sx connected with ksz8765 switch over spi bus using rgmii interface. we have enabled the fixed link driver in kernel and also configure same in dts file. Port 5 of the switch is connected to imx6sx MAC interface.&lt;/P&gt;&lt;P&gt;device tree configuration:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;amp;fec1 {&lt;BR /&gt; pinctrl-names = "default";&lt;BR /&gt; pinctrl-0 = &amp;lt;&amp;amp;pinctrl_enet1&amp;gt;; &lt;BR /&gt; phy-mode = "mii";&lt;BR /&gt; phy-reset-gpios = &amp;lt;&amp;amp;gpio1 25 GPIO_ACTIVE_LOW&amp;gt;;&lt;BR /&gt; fixed-link = &amp;lt;0 1 100 0 0&amp;gt;;&lt;BR /&gt; phy-supply = &amp;lt;&amp;amp;reg_vref_3v3&amp;gt;;&lt;BR /&gt; status = "okay";&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kernel logs:&lt;/P&gt;&lt;P&gt;fec 2188000.ethernet (unnamed net_device) (uninitialized): Invalid MAC address: 00:00:00:00:00:00&lt;BR /&gt;fec 2188000.ethernet (unnamed net_device) (uninitialized): Using random MAC address: 7e:20:8b:ff:4b:22&lt;BR /&gt;libphy: fec_enet_mii_bus: probed&lt;BR /&gt;fec 2188000.ethernet eth0: registered PHC device 0&lt;BR /&gt;fec 2188000.ethernet eth0: Freescale FEC PHY driver [Generic PHY] (mii_bus:phy_addr=fixed-0:00, irq=-1)&lt;BR /&gt;fec 2188000.ethernet eth0: Link is Up - 100Mbps/Full - flow control off&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we could see RX packets are 0, and Tx packet are also in queue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;eth0 Link encap:Ethernet HWaddr XX:XX:XX:XX:XX:XX&amp;nbsp;&lt;BR /&gt; UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1&lt;BR /&gt; RX packets:0 errors:0 dropped:0 overruns:0 frame:0&lt;BR /&gt; TX packets:7538 errors:0 dropped:0 overruns:0 carrier:0&lt;BR /&gt; collisions:0 txqueuelen:1000 &lt;BR /&gt; RX bytes:0 (0.0 B) TX bytes:828904 (809.4 KiB)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;there is spi driver to configure switch over spi for ksz8995...but it should work for ksz8765 after minor modification as chip id and family id is same.&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://github.com/Freescale/linux-fslc/blob/4.1-2.0.x-imx/drivers/net/phy/spi_ks8995.c" title="https://github.com/Freescale/linux-fslc/blob/4.1-2.0.x-imx/drivers/net/phy/spi_ks8995.c"&gt;linux-fslc/spi_ks8995.c at 4.1-2.0.x-imx · Freescale/linux-fslc · GitHub&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;spi-ks8995 spi3.2: chip family id mismatch: expected 0x87 but 0x00 read&lt;BR /&gt;mx51_ecspi_clkdiv: fin: 60000000, fspi: 48000000, post: 0, pre: 1&lt;BR /&gt;mx51_ecspi_clkdiv: fin: 60000000, fspi: 48000000, post: 0, pre: 1&lt;BR /&gt;spi-ks8995 spi3.2: unsupported chip id for KSZ8795 family: 0x00&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but it always reads 0.&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Nov 2017 09:05:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/configure-the-ksz8765-5-port-Ethernet-switch/m-p/759455#M118064</guid>
      <dc:creator>pavansingpatil</dc:creator>
      <dc:date>2017-11-09T09:05:10Z</dc:date>
    </item>
    <item>
      <title>Re: configure the ksz8765 5 port Ethernet switch</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/configure-the-ksz8765-5-port-Ethernet-switch/m-p/759456#M118065</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi pavansingpatil&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;from log: "spi-ks8995 spi3.2: unsupported chip id for KSZ8795 family: 0x00"&lt;/P&gt;&lt;P&gt;seems driver did not receive correct data and one can check with oscilloscope&lt;/P&gt;&lt;P&gt;what data actually sent from ksz8765.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Nov 2017 10:24:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/configure-the-ksz8765-5-port-Ethernet-switch/m-p/759456#M118065</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2017-11-09T10:24:05Z</dc:date>
    </item>
    <item>
      <title>Re: configure the ksz8765 5 port Ethernet switch</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/configure-the-ksz8765-5-port-Ethernet-switch/m-p/759457#M118066</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;right driver is not getting correct data, but i guess driver is just for switch configuration using spi bus.&lt;/P&gt;&lt;P&gt;Do you think Ethernet driver fec_main.c need any modification to detect switch phy using spi bus? or it should work with fixed link driver?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Nov 2017 05:55:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/configure-the-ksz8765-5-port-Ethernet-switch/m-p/759457#M118066</guid>
      <dc:creator>pavansingpatil</dc:creator>
      <dc:date>2017-11-10T05:55:52Z</dc:date>
    </item>
    <item>
      <title>Re: configure the ksz8765 5 port Ethernet switch</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/configure-the-ksz8765-5-port-Ethernet-switch/m-p/759458#M118067</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;we are able to resolve spi communication issue, now can read/write switch resistor using spi bus. the problem was fec driver ignores the reset&amp;nbsp;flag polarity and always works on active low.&lt;/P&gt;&lt;P&gt;we have configured switch in mii mode and now we see proper&amp;nbsp;25 MHz clk on ENET_RX_CLK&amp;nbsp; and RX_ENET1_TX_CLK .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;eth0&amp;nbsp;&amp;nbsp;&amp;nbsp;Link encap:Ethernet&amp;nbsp; HWaddr XX::XX:XX:01:1b:b9&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; inet6 addr: fe80::204:9fff:fe01:1bb9/64 Scope:Link&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; inet6 addr: fd00:1:2:3:204:9fff:fe01:1bb9/64 Scope:Global&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; UP BROADCAST RUNNING MULTICAST&amp;nbsp; MTU:1500&amp;nbsp; Metric:1&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt; RX packets:0 errors:0 dropped:0 overruns:0 frame:0&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TX packets:4189 errors:0 dropped:0 overruns:0 carrier:0&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; collisions:0 txqueuelen:1000 &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #ff0000;"&gt;RX bytes:0 (0.0 B)&amp;nbsp; TX bytes:460514 (449.7 KiB)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;lo&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Link encap:Local Loopback&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; inet addr:127.0.0.1&amp;nbsp; Mask:255.0.0.0&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; inet6 addr: ::1/128 Scope:Host&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; UP LOOPBACK RUNNING&amp;nbsp; MTU:65536&amp;nbsp; Metric:1&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RX packets:163 errors:0 dropped:0 overruns:0 frame:0&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TX packets:163 errors:0 dropped:0 overruns:0 carrier:0&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; collisions:0 txqueuelen:0 &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #ff0000;"&gt;RX bytes:12460 (12.1 KiB)&amp;nbsp; TX bytes:12460 (12.1 KiB)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;imx6 side MAC works fine as I tried loopback and and also localhost ping as you can see lo interface statistics. But we are still having issue with communication as&amp;nbsp;you can&amp;nbsp;see TX packets on eth0 interface but no response from phy.&amp;nbsp;As&amp;nbsp;mentioned&amp;nbsp;earlier we are&amp;nbsp;using fixed link driver&amp;nbsp;as phy is not connected using&amp;nbsp;normal mdio bus.&lt;/P&gt;&lt;P&gt;This is my&amp;nbsp;dmesg output&lt;/P&gt;&lt;P&gt;## dmesg | grep fec&lt;BR /&gt;libphy: fec_enet_mii_bus: probed&lt;BR /&gt;fec 2188000.ethernet eth0: registered PHC device 0&lt;BR /&gt;fec 2188000.ethernet eth0: Freescale FEC PHY driver [Generic PHY] (mii_bus:phy_addr=fixed-0:00, irq=-1)&lt;BR /&gt;fec 2188000.ethernet eth0: Link is Up - 100Mbps/Full - flow control off&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we have verified Clk and Tx data signal on oscilloscope and we some data going out on TX data lines.&lt;/P&gt;&lt;P&gt;so is there any modification required in fec driver to make it work? Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Nov 2017 12:48:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/configure-the-ksz8765-5-port-Ethernet-switch/m-p/759458#M118067</guid>
      <dc:creator>pavansingpatil</dc:creator>
      <dc:date>2017-11-28T12:48:07Z</dc:date>
    </item>
    <item>
      <title>Re: configure the ksz8765 5 port Ethernet switch</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/configure-the-ksz8765-5-port-Ethernet-switch/m-p/759459#M118068</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if there is no response from phy (RX data) one can check phy registers&lt;/P&gt;&lt;P&gt;(dumping them and rechecking with phy datasheet), as incoming data from any port&lt;/P&gt;&lt;P&gt;should appear on port connected to i.mx too. The same one can with reset&amp;nbsp;flag polarity,&lt;/P&gt;&lt;P&gt;printf corresponding gpio data in driver.&lt;/P&gt;&lt;P&gt;Also may be useful to look at linux documentation on&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://git.freescale.com/git/cgit.cgi/imx/linux-imx.git/tree/Documentation/devicetree/bindings/net/dsa?h=imx_4.9.11_1.0.0_ga" title="http://git.freescale.com/git/cgit.cgi/imx/linux-imx.git/tree/Documentation/devicetree/bindings/net/dsa?h=imx_4.9.11_1.0.0_ga"&gt;linux-imx.git - i.MX Linux Kernel&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://git.freescale.com/git/cgit.cgi/imx/linux-imx.git/tree/Documentation/networking/dsa?h=imx_4.9.11_1.0.0_ga" title="http://git.freescale.com/git/cgit.cgi/imx/linux-imx.git/tree/Documentation/networking/dsa?h=imx_4.9.11_1.0.0_ga"&gt;linux-imx.git - i.MX Linux Kernel&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Nov 2017 06:02:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/configure-the-ksz8765-5-port-Ethernet-switch/m-p/759459#M118068</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2017-11-29T06:02:54Z</dc:date>
    </item>
    <item>
      <title>Re: configure the ksz8765 5 port Ethernet switch</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/configure-the-ksz8765-5-port-Ethernet-switch/m-p/759460#M118069</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi igor,&lt;/P&gt;&lt;P&gt;phy register looks right after rechecking with ksz8765 datasheet. Now we have almost resolved all hardware issues. we could ping between port3 and port4 of the switch. And we see proper signal on Tx and Rx pins of port 5. I have assigned static ip to my eth0 interface but still i can't ping to port 3 or port 4 and vice versa from imx6 side. I have not enabled any phy driver on imx6 side. Do we need any phy driver for communication or fixed link phy driver is enough?&lt;/P&gt;&lt;P&gt;eth0 Link encap:Ethernet HWaddr XX:XX:XX:01:1b:b9 &lt;BR /&gt; inet addr:192.168.1.5 Bcast:192.168.1.255 Mask:255.255.255.0&lt;BR /&gt; inet6 addr: fe80::204:9fff:fe01:1bb9/64 Scope:Link&lt;BR /&gt; inet6 addr: fd00:1:2:3:204:9fff:fe01:1bb9/64 Scope:Global&lt;BR /&gt; UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1&lt;BR /&gt; RX packets:28 errors:0 dropped:0 overruns:0 frame:0&lt;BR /&gt; TX packets:111 errors:0 dropped:0 overruns:0 carrier:0&lt;BR /&gt; collisions:0 txqueuelen:1000 &lt;BR /&gt; RX bytes:4734 (4.6 KiB) TX bytes:14353 (14.0 KiB)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;--Pavan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Dec 2017 12:03:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/configure-the-ksz8765-5-port-Ethernet-switch/m-p/759460#M118069</guid>
      <dc:creator>pavansingpatil</dc:creator>
      <dc:date>2017-12-04T12:03:38Z</dc:date>
    </item>
    <item>
      <title>Re: configure the ksz8765 5 port Ethernet switch</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/configure-the-ksz8765-5-port-Ethernet-switch/m-p/759461#M118070</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;pavansingpatil，&lt;/P&gt;&lt;P&gt;Have you solved the problem? &amp;nbsp;&amp;nbsp;I have a similar problem in debugging ksz8794.&lt;/P&gt;&lt;P&gt;I used fixed-link ,With a fixed connection, you can find the device, but the network is not available .&lt;/P&gt;&lt;P&gt;I used &amp;nbsp;dsa, but I didn't find success when mdio looked for equipment in dsa.&lt;/P&gt;&lt;P&gt;I can measure the waves of tx and rx.I guess the reason for this problem is that the switch chip is a MAC, and the CPU needs to recognize phy.&lt;/P&gt;&lt;P&gt;Can you give me some advice? thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jan 2018 07:30:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/configure-the-ksz8765-5-port-Ethernet-switch/m-p/759461#M118070</guid>
      <dc:creator>lvmh</dc:creator>
      <dc:date>2018-01-05T07:30:33Z</dc:date>
    </item>
    <item>
      <title>Re: configure the ksz8765 5 port Ethernet switch</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/configure-the-ksz8765-5-port-Ethernet-switch/m-p/759462#M118071</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Yes, I have resolved the issue.&lt;/P&gt;&lt;P&gt;check the sys directory&amp;nbsp;&amp;nbsp;/sys/bus/mdio_bus/devices/fixed-0\:00 you should see something like this.&lt;/P&gt;&lt;P&gt;you should configure you switch properly to make it work in phy mode either you put strap in hardware options or write switch register using spi bus.9&lt;/P&gt;&lt;P&gt;is it configure in MII mode? is it configure in MAC(CPU)-PHY(switch) connection?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Pavan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jan 2018 08:30:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/configure-the-ksz8765-5-port-Ethernet-switch/m-p/759462#M118071</guid>
      <dc:creator>pavansingpatil</dc:creator>
      <dc:date>2018-01-05T08:30:21Z</dc:date>
    </item>
    <item>
      <title>Re: configure the ksz8765 5 port Ethernet switch</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/configure-the-ksz8765-5-port-Ethernet-switch/m-p/759463#M118072</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &amp;nbsp;pavansingpatil，&lt;/P&gt;&lt;P&gt;I use the RMII and spi mode, the manual says&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jan 2018 08:41:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/configure-the-ksz8765-5-port-Ethernet-switch/m-p/759463#M118072</guid>
      <dc:creator>lvmh</dc:creator>
      <dc:date>2018-01-05T08:41:25Z</dc:date>
    </item>
    <item>
      <title>Re: configure the ksz8765 5 port Ethernet switch</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/configure-the-ksz8765-5-port-Ethernet-switch/m-p/759464#M118073</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;Hi &amp;nbsp;pavansingpatil，&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;I use the RMII and spi mode, the manual says:&lt;/P&gt;&lt;P style="border: 0px;"&gt;MAC/PHY mode in RMII is different than MAC/PHY mode in MII. There is no strap pin and register configuration request&lt;BR /&gt;in RMI. Follow the signals connection in Table 3-11.&lt;span class="lia-inline-image-display-wrapper" image-alt="TIM图片20180105164426.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/37711iA2C24F0DC66B72E7/image-size/large?v=v2&amp;amp;px=999" role="button" title="TIM图片20180105164426.png" alt="TIM图片20180105164426.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P style="border: 0px;"&gt;&lt;/P&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jan 2018 08:44:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/configure-the-ksz8765-5-port-Ethernet-switch/m-p/759464#M118073</guid>
      <dc:creator>lvmh</dc:creator>
      <dc:date>2018-01-05T08:44:42Z</dc:date>
    </item>
    <item>
      <title>Re: configure the ksz8765 5 port Ethernet switch</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/configure-the-ksz8765-5-port-Ethernet-switch/m-p/759465#M118074</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &amp;nbsp;pavansingpatil，&lt;/P&gt;&lt;P&gt;Find this directory with the following information&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="TIM图片20180105171456.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/37734iF4C213E58504EC1D/image-size/large?v=v2&amp;amp;px=999" role="button" title="TIM图片20180105171456.png" alt="TIM图片20180105171456.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Can you give me some advice?thanks&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jan 2018 09:16:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/configure-the-ksz8765-5-port-Ethernet-switch/m-p/759465#M118074</guid>
      <dc:creator>lvmh</dc:creator>
      <dc:date>2018-01-05T09:16:32Z</dc:date>
    </item>
    <item>
      <title>Re: configure the ksz8765 5 port Ethernet switch</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/configure-the-ksz8765-5-port-Ethernet-switch/m-p/759466#M118075</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;what issue exactly are you facing? Can you please&amp;nbsp;elaborate?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--Pavan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jan 2018 10:31:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/configure-the-ksz8765-5-port-Ethernet-switch/m-p/759466#M118075</guid>
      <dc:creator>pavansingpatil</dc:creator>
      <dc:date>2018-01-05T10:31:23Z</dc:date>
    </item>
    <item>
      <title>Re: configure the ksz8765 5 port Ethernet switch</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/configure-the-ksz8765-5-port-Ethernet-switch/m-p/759467#M118076</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi，&lt;/P&gt;&lt;P&gt;My problem now is that ksz8794 can be fixed to the CPU, but the network doesn't ping.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jan 2018 01:04:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/configure-the-ksz8765-5-port-Ethernet-switch/m-p/759467#M118076</guid>
      <dc:creator>lvmh</dc:creator>
      <dc:date>2018-01-08T01:04:07Z</dc:date>
    </item>
    <item>
      <title>Re: configure the ksz8765 5 port Ethernet switch</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/configure-the-ksz8765-5-port-Ethernet-switch/m-p/759468#M118077</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;pavansingpatil&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;we could see RX packets are 0, and Tx packet are also in queue.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;eth1 Link encap:Ethernet HWaddr 08:00:3E:26:0A:5C &lt;BR /&gt; inet addr:192.168.1.127 Bcast:192.168.1.255 Mask:255.255.255.0&lt;BR /&gt; inet6 addr: fe80::a00:3eff:fe26:a5c%1996281552/64 Scope:Link&lt;BR /&gt; UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1&lt;BR /&gt; RX packets:0 errors:2722 dropped:0 overruns:0 frame:2722&lt;BR /&gt; TX packets:8 errors:0 dropped:0 overruns:0 carrier:0&lt;BR /&gt; collisions:0 txqueuelen:1000 &lt;BR /&gt; RX bytes:0 (0.0 B) TX bytes:648 (648.0 B)&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;The information above shows an error in the rx package&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jan 2018 01:29:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/configure-the-ksz8765-5-port-Ethernet-switch/m-p/759468#M118077</guid>
      <dc:creator>lvmh</dc:creator>
      <dc:date>2018-01-08T01:29:29Z</dc:date>
    </item>
    <item>
      <title>Re: configure the ksz8765 5 port Ethernet switch</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/configure-the-ksz8765-5-port-Ethernet-switch/m-p/759469#M118078</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;in my case i had hardware issue. cross verify your schematics with micrel LAN service.&lt;/P&gt;&lt;P&gt;fixed-link and fec driver is enough to get Ethernet communication working.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;--Pavan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jan 2018 09:56:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/configure-the-ksz8765-5-port-Ethernet-switch/m-p/759469#M118078</guid>
      <dc:creator>pavansingpatil</dc:creator>
      <dc:date>2018-01-08T09:56:22Z</dc:date>
    </item>
    <item>
      <title>Re: configure the ksz8765 5 port Ethernet switch</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/configure-the-ksz8765-5-port-Ethernet-switch/m-p/759470#M118079</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;What's wrong with your hardware?Can you give me a reference?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jan 2018 10:38:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/configure-the-ksz8765-5-port-Ethernet-switch/m-p/759470#M118079</guid>
      <dc:creator>lvmh</dc:creator>
      <dc:date>2018-01-08T10:38:23Z</dc:date>
    </item>
    <item>
      <title>Re: configure the ksz8765 5 port Ethernet switch</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/configure-the-ksz8765-5-port-Ethernet-switch/m-p/759471#M118080</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &amp;nbsp;lvmh，&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;I have a similar problem in debugging KSZ8895RQXCA,&amp;nbsp;&lt;SPAN&gt;Can you give me a reference? Thanks.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;root@imx6qsabresd:~# ifconfig eth0&lt;BR /&gt;eth0 Link encap:Ethernet HWaddr 56:2e:8f:d5:53:a7 &lt;BR /&gt; inet addr:192.168.1.4 Bcast:192.168.1.255 Mask:255.255.255.0&lt;BR /&gt; inet6 addr: fe80::542e:8fff:fed5:53a7/64 Scope:Link&lt;BR /&gt; UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1&lt;BR /&gt; RX packets:0 errors:1123 dropped:0 overruns:0 frame:1123&lt;BR /&gt; TX packets:280 errors:0 dropped:0 overruns:0 carrier:0&lt;BR /&gt; collisions:0 txqueuelen:1000 &lt;BR /&gt; RX bytes:0 (0.0 B) TX bytes:137336 (134.1 KiB)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2018 13:00:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/configure-the-ksz8765-5-port-Ethernet-switch/m-p/759471#M118080</guid>
      <dc:creator>linwangzhao</dc:creator>
      <dc:date>2018-05-23T13:00:13Z</dc:date>
    </item>
    <item>
      <title>Re: configure the ksz8765 5 port Ethernet switch</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/configure-the-ksz8765-5-port-Ethernet-switch/m-p/759472#M118081</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;请检查cpu端的网口gpio ER引脚是否接下拉电阻，或者代码配置成下拉.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;lvmh@qiyangtech.com&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 May 2018 01:00:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/configure-the-ksz8765-5-port-Ethernet-switch/m-p/759472#M118081</guid>
      <dc:creator>lvmh</dc:creator>
      <dc:date>2018-05-24T01:00:45Z</dc:date>
    </item>
    <item>
      <title>Re: configure the ksz8765 5 port Ethernet switch</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/configure-the-ksz8765-5-port-Ethernet-switch/m-p/759473#M118082</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi lvmh，&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 我向你的邮箱(&lt;SPAN style="color: #5e89c1; background-color: #ffffff;"&gt;&lt;A class="jive-link-email-small" href="mailto:lvmh@qiyangtech.com"&gt;lvmh@qiyangtech.com&lt;/A&gt;&lt;/SPAN&gt;)发了邮件，请查收，谢谢！&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 May 2018 02:43:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/configure-the-ksz8765-5-port-Ethernet-switch/m-p/759473#M118082</guid>
      <dc:creator>linwangzhao</dc:creator>
      <dc:date>2018-05-24T02:43:13Z</dc:date>
    </item>
    <item>
      <title>Re: configure the ksz8765 5 port Ethernet switch</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/configure-the-ksz8765-5-port-Ethernet-switch/m-p/759474#M118083</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;你好，我现在应该遇到了跟你一样的问题。目前我也是imx6生成的eth0不能够ping通两个下行口，CPU接口是RGMII，与交换机芯片KSZ8775的通讯接口是spi接口。查看sys目录已经生成：&lt;/P&gt;&lt;P&gt;root@imx6qdlsolo:~# ls /sys/bus/spi/devices/spi5.0/&lt;BR /&gt;&lt;STRONG&gt;driver power subsystem sw0 sw2 sw4&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;modalias registers sw sw1 sw3 uevent&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;root@imx6qdlsolo:~# ls /sys/bus/mdio_bus/devices/fixed-0\:00&lt;STRONG&gt;&lt;BR /&gt;driver phy_id power subsystem uevent&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;运行ping命令一段时间后，得到如下的结果：&lt;/P&gt;&lt;P&gt;root@imx6qdlsolo:~# &lt;BR /&gt;root@imx6qdlsolo:~# ping 192.168.1.1&lt;BR /&gt;PING 192.168.1.1 (192.168.1.1): 56 data bytes&lt;BR /&gt;^C&lt;BR /&gt;--- 192.168.1.1 ping statistics ---&lt;BR /&gt;655 packets transmitted, 0 packets received, 100% packet loss&lt;BR /&gt;root@imx6qdlsolo:~# &lt;BR /&gt;root@imx6qdlsolo:~# &lt;BR /&gt;root@imx6qdlsolo:~# ifconfig &lt;BR /&gt;eth0 Link encap:Ethernet HWaddr 6A:E2:44:00:BE:96 &lt;BR /&gt; inet addr:192.168.1.111 Bcast:192.168.1.255 Mask:255.255.255.0&lt;BR /&gt; inet6 addr: fe80::68e2:44ff:fe00:be96/64 Scope:Link&lt;BR /&gt; UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1&lt;BR /&gt; &lt;STRONG&gt;RX packets:1513 errors:0 dropped:0 overruns:0 frame:0&lt;/STRONG&gt;&lt;BR /&gt; &lt;STRONG&gt;TX packets:891 errors:0 dropped:0 overruns:0 carrier:0&lt;/STRONG&gt;&lt;BR /&gt; collisions:0 txqueuelen:1000 &lt;BR /&gt; RX bytes:129433 (126.3 KiB) TX bytes:88685 (86.6 KiB)&lt;/P&gt;&lt;P&gt;lo Link encap:Local Loopback &lt;BR /&gt; inet addr:127.0.0.1 Mask:255.0.0.0&lt;BR /&gt; inet6 addr: ::1/128 Scope:Host&lt;BR /&gt; UP LOOPBACK RUNNING MTU:65536 Metric:1&lt;BR /&gt; &lt;STRONG&gt;RX packets:718 errors:0 dropped:0 overruns:0 frame:0&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; TX packets:718 errors:0 dropped:0 overruns:0 carrier:0&lt;/STRONG&gt;&lt;BR /&gt; collisions:0 txqueuelen:0 &lt;BR /&gt; RX bytes:79872 (78.0 KiB) TX bytes:79872 (78.0 KiB)&lt;/P&gt;&lt;P&gt;不知道这些能不能反应一些问题呢？求点播。。。。。。。我现在不确定是软件问题还是硬件问题，不知道这个有没有什么办法确定呢？我测量CPU的TX信号都是有的&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 03 Jun 2018 17:30:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/configure-the-ksz8765-5-port-Ethernet-switch/m-p/759474#M118083</guid>
      <dc:creator>suifengrumeng</dc:creator>
      <dc:date>2018-06-03T17:30:34Z</dc:date>
    </item>
  </channel>
</rss>

