<?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>T-SeriesのトピックT2081 on custom board, ping doesn't work (U-Boot/Linux)</title>
    <link>https://community.nxp.com/t5/T-Series/T2081-on-custom-board-ping-doesn-t-work-U-Boot-Linux/m-p/717308#M2242</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;Hello,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;we are issuing some problems regarding the configuration of a working Ethernet interface on a custom board, which &amp;nbsp;is base the NXP QorIQ T2081 processor.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;The SERDES configuration used in our application has SRDS_PRTCL_S1=0xBC, with all SERDES interfaces clocked with PLL1 at 100MHz.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;According to this configuration we have:&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN style="color: #1f497d;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #1f497d;"&gt;On lanes A-B PCIe3 configured @5Gbps&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: #1f497d;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #1f497d;"&gt;On lane C SG1 @1.25Gbps&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: #1f497d;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #1f497d;"&gt;On lane D SG2 @1.25Gbps&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: #1f497d;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #1f497d;"&gt;On lanes E-H PCIe4 configured @5Gbps&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;Regarding PCIe lanes, connected to two FPGAs, everything works fine (discovery both in U-Boot and in Linux). &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;The SGMII interfaces are directly connected to two interfaces of a Marvell Alaska 88E1548P physical layer, whose MII interface is connected to processor’s ports EMI1_MDC/MDIO.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;Both in U-Boot and in Linux we can interact with PHY registers through MDIO.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;By means of Serdes Validation tool, and through direct signal acquisition with an oscilloscope, we are sure that about these lanes we have no electrical problem (we can observe SGMII Idle signals) between processor and PHY.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;Furthermore, on the other side of the PHY, we can observe that when a cable connects both ports to a PC, the link is sensed as Up (through PHY’s status registers), so I think that even on these side we have working connections.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;The blocking issue we are facing regards the bring-up of a working Ethernet connection on both interfaces, both in U-boot and in Linux.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;By following many examples on NXP support forum, and by taking as reference the configuration made on T2081QDS board, I modified T2080RDB U-Boot sources and device tree according to what is available on our custom board (here attached you can find the modified sources for U-Boot, the modified DTS and the modified marvell.c/marvell_phy.h sources for Linux).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;Fman uCode we load on flash is fsl_fman_ucode_t2080_r1.1_106_4_18.bin (the version suggested for our processor).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;Anyway, in Linux I’m able to use ifconfig in order to configure both Ethernet interfaces, but when I try to perform ping test on both interfaces both in U-boot and in Linux, it always fails and destination is always described as unreachable.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;Actually I have no idea about where the configuration issue is and how can I proceed in order to debug it.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;It would be really useful to have some suggestion.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;B.R.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;Francesco&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Feb 2018 09:38:46 GMT</pubDate>
    <dc:creator>francescocaiazz</dc:creator>
    <dc:date>2018-02-28T09:38:46Z</dc:date>
    <item>
      <title>T2081 on custom board, ping doesn't work (U-Boot/Linux)</title>
      <link>https://community.nxp.com/t5/T-Series/T2081-on-custom-board-ping-doesn-t-work-U-Boot-Linux/m-p/717308#M2242</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;Hello,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;we are issuing some problems regarding the configuration of a working Ethernet interface on a custom board, which &amp;nbsp;is base the NXP QorIQ T2081 processor.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;The SERDES configuration used in our application has SRDS_PRTCL_S1=0xBC, with all SERDES interfaces clocked with PLL1 at 100MHz.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;According to this configuration we have:&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN style="color: #1f497d;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #1f497d;"&gt;On lanes A-B PCIe3 configured @5Gbps&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: #1f497d;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #1f497d;"&gt;On lane C SG1 @1.25Gbps&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: #1f497d;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #1f497d;"&gt;On lane D SG2 @1.25Gbps&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: #1f497d;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #1f497d;"&gt;On lanes E-H PCIe4 configured @5Gbps&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;Regarding PCIe lanes, connected to two FPGAs, everything works fine (discovery both in U-Boot and in Linux). &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;The SGMII interfaces are directly connected to two interfaces of a Marvell Alaska 88E1548P physical layer, whose MII interface is connected to processor’s ports EMI1_MDC/MDIO.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;Both in U-Boot and in Linux we can interact with PHY registers through MDIO.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;By means of Serdes Validation tool, and through direct signal acquisition with an oscilloscope, we are sure that about these lanes we have no electrical problem (we can observe SGMII Idle signals) between processor and PHY.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;Furthermore, on the other side of the PHY, we can observe that when a cable connects both ports to a PC, the link is sensed as Up (through PHY’s status registers), so I think that even on these side we have working connections.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;The blocking issue we are facing regards the bring-up of a working Ethernet connection on both interfaces, both in U-boot and in Linux.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;By following many examples on NXP support forum, and by taking as reference the configuration made on T2081QDS board, I modified T2080RDB U-Boot sources and device tree according to what is available on our custom board (here attached you can find the modified sources for U-Boot, the modified DTS and the modified marvell.c/marvell_phy.h sources for Linux).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;Fman uCode we load on flash is fsl_fman_ucode_t2080_r1.1_106_4_18.bin (the version suggested for our processor).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;Anyway, in Linux I’m able to use ifconfig in order to configure both Ethernet interfaces, but when I try to perform ping test on both interfaces both in U-boot and in Linux, it always fails and destination is always described as unreachable.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;Actually I have no idea about where the configuration issue is and how can I proceed in order to debug it.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;It would be really useful to have some suggestion.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;B.R.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;Francesco&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Feb 2018 09:38:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/T-Series/T2081-on-custom-board-ping-doesn-t-work-U-Boot-Linux/m-p/717308#M2242</guid>
      <dc:creator>francescocaiazz</dc:creator>
      <dc:date>2018-02-28T09:38:46Z</dc:date>
    </item>
    <item>
      <title>Re: T2081 on custom board, ping doesn't work (U-Boot/Linux)</title>
      <link>https://community.nxp.com/t5/T-Series/T2081-on-custom-board-ping-doesn-t-work-U-Boot-Linux/m-p/717309#M2243</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please provide for inspection&amp;nbsp;U-Boot log including environment variables and ping attempts.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Feb 2018 12:03:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/T-Series/T2081-on-custom-board-ping-doesn-t-work-U-Boot-Linux/m-p/717309#M2243</guid>
      <dc:creator>ufedor</dc:creator>
      <dc:date>2018-02-28T12:03:22Z</dc:date>
    </item>
    <item>
      <title>Re: T2081 on custom board, ping doesn't work (U-Boot/Linux)</title>
      <link>https://community.nxp.com/t5/T-Series/T2081-on-custom-board-ping-doesn-t-work-U-Boot-Linux/m-p/717310#M2244</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ufedor,&lt;/P&gt;&lt;P&gt;here what you asked&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SPI boot...&lt;BR /&gt;Loading second stage boot loader ........................................................................... ......................&lt;/P&gt;&lt;P&gt;U-Boot 2016.092.0+ga06b209 (Feb 28 2018 - 19:45:43 +0100)&lt;/P&gt;&lt;P&gt;CPU0: T2081E, Version: 1.1, (0x85390011)&lt;BR /&gt;Core: e6500, Version: 2.0, (0x80400120)&lt;BR /&gt;Clock Configuration:&lt;BR /&gt; CPU0:1188 MHz, CPU1:1188 MHz, CPU2:1188 MHz, CPU3:1188 MHz,&lt;BR /&gt; CCB:594 MHz,&lt;BR /&gt; DDR:640 MHz (1280 MT/s data rate) (Asynchronous), IFC:594 MHz&lt;BR /&gt; FMAN1: 660 MHz&lt;BR /&gt; QMAN: 297 MHz&lt;BR /&gt; PME: 594 MHz&lt;BR /&gt;L1: D-cache 32 KiB enabled&lt;BR /&gt; I-cache 32 KiB enabled&lt;BR /&gt;Reset Configuration Word (RCW):&lt;BR /&gt; 00000000: 1208000a 12000000 00000000 40000000&lt;BR /&gt; 00000010: bc000002 00404000 58110000 21000000&lt;BR /&gt; 00000020: 00000000 00000000 00000000 002237fc&lt;BR /&gt; 00000030: 00000000 5000000d 00000000 00000009&lt;BR /&gt;Board: T2081-MFB, boot from SPI&lt;BR /&gt;SERDES Reference Clocks:&lt;BR /&gt;SD1_CLK1=100.00MHZ, SD1_CLK2=100.00MHZ&lt;BR /&gt;I2C: ready&lt;BR /&gt;SPI: ready&lt;BR /&gt;DRAM: 2 GiB (DDR3, 64-bit, CL=9, ECC off)&lt;BR /&gt;Flash: 0 Bytes&lt;BR /&gt;L2: 2 MiB enabled&lt;BR /&gt;Corenet Platform Cache: 512 KiB enabled&lt;BR /&gt;Using SERDES1 Protocol: 188 (0xbc)&lt;BR /&gt;SEC0: RNG instantiated&lt;BR /&gt;NAND: 1024 MiB&lt;BR /&gt;SF: Detected S25FL256S_64K with page size 256 Bytes, erase size 64 KiB, total 32 MiB&lt;BR /&gt;PCIe1: disabled&lt;BR /&gt;PCIe2: disabled&lt;BR /&gt;PCIe3: Root Complex, no link, regs @ 0xfe260000&lt;BR /&gt;PCIe3: Bus 00 - 00&lt;BR /&gt;PCIe4: Root Complex, no link, regs @ 0xfe270000&lt;BR /&gt;PCIe4: Bus 01 - 01&lt;BR /&gt;In: serial&lt;BR /&gt;Out: serial&lt;BR /&gt;Err: serial&lt;BR /&gt;Net:&lt;BR /&gt;SF: Detected S25FL256S_64K with page size 256 Bytes, erase size 64 KiB, total 32 MiB&lt;BR /&gt;Fman1: Uploading microcode version 106.4.18&lt;BR /&gt;FM1@DTSEC1 [PRIME], FM1@DTSEC2&lt;BR /&gt;Hit any key to stop autoboot: 0&lt;/P&gt;&lt;P&gt;=&amp;gt; printenv&lt;BR /&gt;baudrate=115200&lt;BR /&gt;bdev=sda3&lt;BR /&gt;bootcmd=run spi_flash_boot&lt;BR /&gt;bootdelay=10&lt;BR /&gt;bootfile=uImage&lt;BR /&gt;consoledev=ttyS0&lt;BR /&gt;eth1addr=00:04:9F:04:E3:02&lt;BR /&gt;ethact=FM1@DTSEC1&lt;BR /&gt;ethaddr=00:04:9F:04:E3:00&lt;BR /&gt;ethprime=FM1@DTSEC1&lt;BR /&gt;fdtaddr=0x2000000&lt;BR /&gt;fdtfile=t2080rdb/t2080rdb.dtb&lt;BR /&gt;fman_ucode=7faf32e0&lt;BR /&gt;hwconfig=fsl_ddr:ctlr_intlv=cacheline,bank_intlv=auto;usb1:dr_mode=host,phy_type=utmi&lt;BR /&gt;initrd_high=0xffffffff&lt;BR /&gt;ipaddr=100.100.100.2&lt;BR /&gt;loadaddr=0x1000000&lt;BR /&gt;netdev=eth0&lt;BR /&gt;netmask=255.255.255.0&lt;BR /&gt;nfsboot=setenv bootargs root=/dev/nfs rw nfsroot=$serverip:$rootpath ip=$ipaddr:$serverip:$gatewayip:$netmask:$hostname:$netdev:off console=$consoledev,$baudrate $othbootargs;tftp $loadaddr $bootfile;tftp $fdtaddr $fdtfile;bootm $loadaddr - $fdtaddr&lt;BR /&gt;ramboot=setenv bootargs root=/dev/ram rw console=$consoledev,$baudrate $othbootargs;tftp $ramdiskaddr $ramdiskfile;tftp $loadaddr $bootfile;tftp $fdtaddr $fdtfile;bootm $loadaddr $ramdiskaddr $fdtaddr&lt;BR /&gt;ramdiskaddr=0x5000000&lt;BR /&gt;ramdiskfile=t2080rdb/ramdisk.uboot&lt;BR /&gt;rootpath=/opt/nfsroot&lt;BR /&gt;serverip=100.100.100.10&lt;BR /&gt;spi_fdt_addr=0x00600000&lt;BR /&gt;spi_fdt_size=0x00010000&lt;BR /&gt;spi_flash_boot=setenv bootargs root=/dev/ram rw console=$consoledev,$baudrate $othbootargs;sf probe 0; sf read $loadaddr $spi_kernel_addr $spi_kernel_size; sf read $fdtaddr $spi_fdt_addr $spi_fdt_size; sf read $ramdiskaddr $spi_ramdisk_addr $spi_ramdisk_size; bootm $loadaddr $ramdiskaddr $fdtaddr&lt;BR /&gt;spi_kernel_addr=0x00120000&lt;BR /&gt;spi_kernel_size=0x00500000&lt;BR /&gt;spi_ramdisk_addr=0x00610000&lt;BR /&gt;spi_ramdisk_size=0x00500000&lt;BR /&gt;stderr=serial&lt;BR /&gt;stdin=serial&lt;BR /&gt;stdout=serial&lt;BR /&gt;tftpflash=tftpboot $loadaddr $uboot &amp;amp;&amp;amp; protect off $ubootaddr +$filesize &amp;amp;&amp;amp; erase $ubootaddr +$filesize &amp;amp;&amp;amp; cp.b $loadaddr $ubootaddr $filesize &amp;amp;&amp;amp; protect on $ubootaddr +$filesize &amp;amp;&amp;amp; cmp.b $loadaddr $ubootaddr $filesize&lt;BR /&gt;uboot="u-boot.bin"&lt;BR /&gt;ubootaddr=0x00201000&lt;BR /&gt;upd_fman_nand=tftp 1000000 fsl_fman_ucode_t2080_r1.1_106_4_18.bin; if test $? -eq 0; then nand erase 180000 $filesize; nand write 1000000 180000 $filesize; else echo 'FMAN uCode load fail'; fi&lt;BR /&gt;upd_uboot_nand=tftp 1000000 u-boot-with-spl-pbl-nand.bin; if test $? -eq 0; then nand erase 0 $filesize; nand write 1000000 0 $filesize; else echo'u-boot load fail'; fi&lt;/P&gt;&lt;P&gt;Environment size: 2194/8188 bytes&lt;/P&gt;&lt;P&gt;=&amp;gt; ping 100.100.100.10&lt;BR /&gt;Using FM1@DTSEC1 device&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ARP Retry count exceeded; starting again&lt;BR /&gt;ping failed; host 100.100.100.10 is not alive&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I use whireshark on my PC I don't find any kind of data coming from the board.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Feb 2018 21:06:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/T-Series/T2081-on-custom-board-ping-doesn-t-work-U-Boot-Linux/m-p/717310#M2244</guid>
      <dc:creator>francescocaiazz</dc:creator>
      <dc:date>2018-02-28T21:06:22Z</dc:date>
    </item>
    <item>
      <title>Re: T2081 on custom board, ping doesn't work (U-Boot/Linux)</title>
      <link>https://community.nxp.com/t5/T-Series/T2081-on-custom-board-ping-doesn-t-work-U-Boot-Linux/m-p/717311#M2245</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Further issue investigation requires the design schematics inspection, so it will be convenient to create a Technical Case:&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-thread-small" data-containerid="2009" data-containertype="14" data-objectid="381898" data-objecttype="1" href="https://community.nxp.com/thread/381898"&gt;https://community.nxp.com/thread/381898&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2018 04:19:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/T-Series/T2081-on-custom-board-ping-doesn-t-work-U-Boot-Linux/m-p/717311#M2245</guid>
      <dc:creator>ufedor</dc:creator>
      <dc:date>2018-03-01T04:19:40Z</dc:date>
    </item>
  </channel>
</rss>

