<?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: LS1046A  Network problems in Layerscape</title>
    <link>https://community.nxp.com/t5/Layerscape/LS1046A-Network-problems/m-p/1442584#M10367</link>
    <description>&lt;P&gt;1. No need to modify FMAN ucode.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;FMan functions implemented thru microcode are the following:&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;A- ‘’Independent Mode’’&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;SPAN&gt;Simplified FMan-to-Memory model, bypassing BMan/QMan for Boot/Debug purposes and simple Ethernet driver&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;B- Table Lookup Coarse Classification&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;SPAN&gt;To classify incoming packets thru some protocol headers exact match criteria&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;C- Advanced packet processing offloads&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;SPAN&gt;Header manipulation, IP-Fragmentation/Reassembly, IPSec pre-processing&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;D- Host Command interface&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;SPAN&gt;QMan based FMan control commands used by core/SW for updating some FMan global configuration during operation.&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;2. Would you please provide board/freescale/ls1046ardb/eth.c?&lt;/P&gt;</description>
    <pubDate>Tue, 12 Apr 2022 09:32:31 GMT</pubDate>
    <dc:creator>yipingwang</dc:creator>
    <dc:date>2022-04-12T09:32:31Z</dc:date>
    <item>
      <title>LS1046A  Network problems</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1046A-Network-problems/m-p/1439636#M10343</link>
      <description>&lt;P&gt;&lt;SPAN class=""&gt;Dear:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;The design of Ethernet part of our product refers to the network part of LS1046ARDB, and the configuration of SERDES is: 3333, 5A59.&lt;/SPAN&gt;&lt;SPAN class=""&gt; SGMII.2, SGMII.5, SGMII.6, SGMII.9, SGMII.10, and EC1 do not have external PHY devices, t&lt;SPAN&gt;he connection mode is Mac to Mac.&amp;nbsp;Sgmii.2 and EC1 are directly connected to marvell Switch (88E6320). Now there are some problems and confusion in the process of porting the Uboot. Details are as follows:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1. What is the purpose of the fsl_fman_ucode_LS1046_R1.0_108_4_9.bin file? Now fSL_fMAN_UCoDE_LS1046_R1.0_108_4_9.bin is written to the SD card as required. If the fsl_fman_UCode_LS1046_R1.0_108_4_9.bin file needs to be modified, how should I modify and compile it?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2.&amp;nbsp;If you run the ping command in the uboot, the CPU resets. By printing log, suspected to be network driven function: Static int fm_eth_send(struct eth_device *dev, void *buf, int len), There is a problem with calling the functions muram_readw(u16 *addr) and muram_writew(u16 *addr, u16 val). Please analyze if this is the cause.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;The following is the uboot print log and uboot map table.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;U-Boot SPL 2018.09 (Apr 02 2022 - 15:10:11 +0800)&lt;/P&gt;&lt;P&gt;Initializing DDR....using SPD&lt;/P&gt;&lt;P&gt;total 4 GB&lt;/P&gt;&lt;P&gt;Trying to boot from MMC1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;U-Boot 2018.09 (Apr 02 2022 - 15:10:11 +0800)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SoC:&amp;nbsp; LS1046A Rev1.0 (0x87070110)&lt;/P&gt;&lt;P&gt;Clock Configuration:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;CPU0(A72):1600 MHz&amp;nbsp; CPU1(A72):1600 MHz&amp;nbsp; CPU2(A72):1600 MHz&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;CPU3(A72):1600 MHz&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Bus:&amp;nbsp; &amp;nbsp; &amp;nbsp; 600&amp;nbsp; MHz&amp;nbsp; DDR:&amp;nbsp; &amp;nbsp; &amp;nbsp; 1600 MT/s&amp;nbsp; FMAN:&amp;nbsp; &amp;nbsp; &amp;nbsp;700&amp;nbsp; MHz&lt;/P&gt;&lt;P&gt;Reset Configuration Word (RCW):&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;00000000: 0c100010 0e000000 00000000 00000000&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;00000010: 33335a59 00805012 60040000 c1000000&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;00000020: 00000000 00000000 00000000 00018800&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;00000030: 20004500 05003101 00000096 00000001&lt;/P&gt;&lt;P&gt;Model: LS1046A FRWY Board&lt;/P&gt;&lt;P&gt;Board: LS1046AFRWY, Rev: A, boot from SD&lt;/P&gt;&lt;P&gt;SD1_CLK1 = 100.00MHZ, SD1_CLK2 = 100.00MHZ&lt;/P&gt;&lt;P&gt;I2C:&amp;nbsp; &amp;nbsp;ready&lt;/P&gt;&lt;P&gt;DRAM:&amp;nbsp; 3.9 GiB (DDR4, 64-bit, CL=11, ECC on)&lt;/P&gt;&lt;P&gt;SEC0: RNG instantiated&lt;/P&gt;&lt;P&gt;FSL_SDHC: 0&lt;/P&gt;&lt;P&gt;ppa_init: fdt_check_header() failed&lt;/P&gt;&lt;P&gt;Waking secondary cores to start from fbd32000&lt;/P&gt;&lt;P&gt;All (4) cores are up.&lt;/P&gt;&lt;P&gt;Using SERDES1 Protocol: 13107 (0x3333)&lt;/P&gt;&lt;P&gt;Using SERDES2 Protocol: 23129 (0x5a59)&lt;/P&gt;&lt;P&gt;NAND:&amp;nbsp; 0 MiB&lt;/P&gt;&lt;P&gt;MMC:&amp;nbsp; &amp;nbsp;Loading Environment from MMC... OK&lt;/P&gt;&lt;P&gt;In:&amp;nbsp; &amp;nbsp; serial&lt;/P&gt;&lt;P&gt;Out:&amp;nbsp; &amp;nbsp;serial&lt;/P&gt;&lt;P&gt;Err:&amp;nbsp; &amp;nbsp;serial&lt;/P&gt;&lt;P&gt;Net:&amp;nbsp; &amp;nbsp;MDIO_ADDR=1AFC000&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;MMC read: dev # 0, block # 18432, count 128 ...&lt;/P&gt;&lt;P&gt;Fman1: Uploading microcode version 108.4.9&lt;/P&gt;&lt;P&gt;*****fm_standard_init,99*****&lt;/P&gt;&lt;P&gt;*****fm_standard_init,99*****&lt;/P&gt;&lt;P&gt;*****fm_standard_init,99*****&lt;/P&gt;&lt;P&gt;*****fm_standard_init,99*****&lt;/P&gt;&lt;P&gt;*****fm_standard_init,99*****&lt;/P&gt;&lt;P&gt;*****fm_standard_init,99*****&lt;/P&gt;&lt;P&gt;PCIe0: pcie@3400000 Root Complex: no link&lt;/P&gt;&lt;P&gt;PCIe1: pcie@3500000 disabled&lt;/P&gt;&lt;P&gt;PCIe2: pcie@3600000 Root Complex: no link&lt;/P&gt;&lt;P&gt;FM1@DTSEC2 [PRIME], FM1@DTSEC3, FM1@DTSEC5, FM1@DTSEC6, FM1@DTSEC9, FM1@DTSEC10&lt;/P&gt;&lt;P&gt;Hit any key to stop autoboot:&amp;nbsp; 0&amp;nbsp;&lt;/P&gt;&lt;P&gt;=&amp;gt; ping 192.168.1.12&lt;/P&gt;&lt;P&gt;Using FM1@DTSEC2 device&lt;/P&gt;&lt;P&gt;"Synchronous Abort" handler, esr 0x96000004&lt;/P&gt;&lt;P&gt;elr: 000000008206bef4 lr : 0000000082041414 (reloc)&lt;/P&gt;&lt;P&gt;elr: 00000000fbd9def4 lr : 00000000fbd73414&lt;/P&gt;&lt;P&gt;x0 : 000000000000ffff x1 : 0000000000ffffff&lt;/P&gt;&lt;P&gt;x2 : 0000000000000110 x3 : 000000000000ffff&lt;/P&gt;&lt;P&gt;x4 : 0000000000000fff x5 : 0000000000000fff&lt;/P&gt;&lt;P&gt;x6 : 00000000000000ff x7 : 0000000000000000&lt;/P&gt;&lt;P&gt;x8 : 00000000fbc2d120 x9 : 000000000000000c&lt;/P&gt;&lt;P&gt;x10: 000000000000000a x11: 0000000000000006&lt;/P&gt;&lt;P&gt;x12: 000000000001869f x13: 0000000000001638&lt;/P&gt;&lt;P&gt;x14: 00000000fbc2d48c x15: 0000000000000002&lt;/P&gt;&lt;P&gt;x16: 0000000000002080 x17: 0000000000000002&lt;/P&gt;&lt;P&gt;x18: 00000000fbc2fd68 x19: 0000000000000000&lt;/P&gt;&lt;P&gt;x20: 00003ed5020180d2 x21: 00000000fbdac507&lt;/P&gt;&lt;P&gt;x22: 0000000000000001 x23: 0000000000000000&lt;/P&gt;&lt;P&gt;x24: 00000000fbc32240 x25: 000000000000002c&lt;/P&gt;&lt;P&gt;x26: 0000000000000002 x27: 00000000fbdef000&lt;/P&gt;&lt;P&gt;x28: 00000000fbdef000 x29: 00000000fbc2d200&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Resetting CPU ...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;resetting ...&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;U-boot SPL 2018.09 ,Please see Attachment 1.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Please see Attachment 2 for the hardware block diagram.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Apr 2022 10:09:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1046A-Network-problems/m-p/1439636#M10343</guid>
      <dc:creator>jack_huang1</dc:creator>
      <dc:date>2022-04-06T10:09:23Z</dc:date>
    </item>
    <item>
      <title>Re: LS1046A  Network problems</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1046A-Network-problems/m-p/1442584#M10367</link>
      <description>&lt;P&gt;1. No need to modify FMAN ucode.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;FMan functions implemented thru microcode are the following:&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;A- ‘’Independent Mode’’&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;SPAN&gt;Simplified FMan-to-Memory model, bypassing BMan/QMan for Boot/Debug purposes and simple Ethernet driver&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;B- Table Lookup Coarse Classification&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;SPAN&gt;To classify incoming packets thru some protocol headers exact match criteria&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;C- Advanced packet processing offloads&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;SPAN&gt;Header manipulation, IP-Fragmentation/Reassembly, IPSec pre-processing&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;D- Host Command interface&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;SPAN&gt;QMan based FMan control commands used by core/SW for updating some FMan global configuration during operation.&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;2. Would you please provide board/freescale/ls1046ardb/eth.c?&lt;/P&gt;</description>
      <pubDate>Tue, 12 Apr 2022 09:32:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1046A-Network-problems/m-p/1442584#M10367</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2022-04-12T09:32:31Z</dc:date>
    </item>
    <item>
      <title>Re: LS1046A  Network problems</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1046A-Network-problems/m-p/1442972#M10372</link>
      <description>&lt;P&gt;Hi，Yingping：&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;SPAN&gt;board/freescale/ls1046ardb/eth.c&amp;nbsp; as follow：&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;// SPDX-License-Identifier: GPL-2.0+&lt;BR /&gt;/*&lt;BR /&gt;* Copyright 2016 Freescale Semiconductor, Inc.&lt;BR /&gt;*/&lt;BR /&gt;#include &amp;lt;common.h&amp;gt;&lt;BR /&gt;#include &amp;lt;asm/io.h&amp;gt;&lt;BR /&gt;#include &amp;lt;netdev.h&amp;gt;&lt;BR /&gt;#include &amp;lt;fm_eth.h&amp;gt;&lt;BR /&gt;#include &amp;lt;fsl_dtsec.h&amp;gt;&lt;BR /&gt;#include &amp;lt;fsl_mdio.h&amp;gt;&lt;BR /&gt;#include &amp;lt;malloc.h&amp;gt;&lt;/P&gt;&lt;P&gt;#include "../common/fman.h"&lt;BR /&gt;#define RGMII_PHY1_ADDR 0x1&lt;BR /&gt;#define RGMII_PHY2_ADDR 0x2&lt;BR /&gt;#define RGMII_PHY3_ADDR 0x12&lt;/P&gt;&lt;P&gt;#define SGMII_PHY1_ADDR 0x3&lt;BR /&gt;#define SGMII_PHY2_ADDR 0x4&lt;BR /&gt;#define SGMII_PHY3_ADDR 0x11&lt;BR /&gt;#define SGMII_PHY4_ADDR 0x5&lt;BR /&gt;#define SGMII_PHY5_ADDR 0x6&lt;/P&gt;&lt;P&gt;#define FM1_10GEC1_PHY_ADDR 0x0&lt;BR /&gt;int board_eth_init(bd_t *bis)&lt;BR /&gt;{&lt;BR /&gt;#ifdef CONFIG_FMAN_ENET&lt;BR /&gt;int i;&lt;BR /&gt;struct memac_mdio_info dtsec_mdio_info;&lt;BR /&gt;struct memac_mdio_info tgec_mdio_info;&lt;BR /&gt;struct mii_dev *dev;&lt;BR /&gt;u32 srds_s1, srds_s2;&lt;BR /&gt;struct ccsr_gur *gur = (void *)(CONFIG_SYS_FSL_GUTS_ADDR);&lt;/P&gt;&lt;P&gt;srds_s1 = in_be32(&amp;amp;gur-&amp;gt;rcwsr[4]) &amp;amp;&lt;BR /&gt;FSL_CHASSIS2_RCWSR4_SRDS1_PRTCL_MASK;&lt;BR /&gt;srds_s1 &amp;gt;&amp;gt;= FSL_CHASSIS2_RCWSR4_SRDS1_PRTCL_SHIFT;&lt;/P&gt;&lt;P&gt;/* 添加seds_s2初始化 */&lt;BR /&gt;srds_s2 = in_be32(&amp;amp;gur-&amp;gt;rcwsr[4]) &amp;amp;&lt;BR /&gt;FSL_CHASSIS2_RCWSR4_SRDS2_PRTCL_MASK;&lt;BR /&gt;srds_s2 &amp;gt;&amp;gt;= FSL_CHASSIS2_RCWSR4_SRDS2_PRTCL_SHIFT;&lt;/P&gt;&lt;P&gt;dtsec_mdio_info.regs =&lt;BR /&gt;(struct memac_mdio_controller *)CONFIG_SYS_FM1_DTSEC_MDIO_ADDR;&lt;BR /&gt;printf("MDIO_ADDR=%X\r\n",CONFIG_SYS_FM1_DTSEC_MDIO_ADDR);&lt;BR /&gt;dtsec_mdio_info.name = DEFAULT_FM_MDIO_NAME;&lt;/P&gt;&lt;P&gt;/* Register the 1G MDIO bus */&lt;BR /&gt;fm_memac_mdio_init(bis, &amp;amp;dtsec_mdio_info);&lt;BR /&gt;/*&lt;BR /&gt;tgec_mdio_info.regs =&lt;BR /&gt;(struct memac_mdio_controller *)CONFIG_SYS_FM1_TGEC_MDIO_ADDR;&lt;BR /&gt;tgec_mdio_info.name = DEFAULT_FM_TGEC_MDIO_NAME;&lt;BR /&gt;*/&lt;BR /&gt;/* Register the 10G MDIO bus */&lt;BR /&gt;/* fm_memac_mdio_init(bis, &amp;amp;tgec_mdio_info); */&lt;/P&gt;&lt;P&gt;/* Set the two on-board RGMII PHY address */&lt;BR /&gt;/* fm_info_set_phy_address(FM1_DTSEC3, RGMII_PHY1_ADDR);&lt;BR /&gt;fm_info_set_phy_address(FM1_DTSEC4, RGMII_PHY2_ADDR);&lt;BR /&gt;*/&lt;BR /&gt;&lt;BR /&gt;// fm_info_set_phy_address(FM1_DTSEC4, RGMII_PHY3_ADDR);&lt;BR /&gt;fm_info_set_phy_address(FM1_DTSEC3, RGMII_PHY3_ADDR);&lt;BR /&gt;/* Set the two on-board SGMII PHY address */&lt;BR /&gt;fm_info_set_phy_address(FM1_DTSEC5, SGMII_PHY1_ADDR);&lt;BR /&gt;fm_info_set_phy_address(FM1_DTSEC6, SGMII_PHY2_ADDR);&lt;/P&gt;&lt;P&gt;/* Set the on-board AQ PHY address */&lt;BR /&gt;// fm_info_set_phy_address(FM1_10GEC1, FM1_10GEC1_PHY_ADDR);&lt;/P&gt;&lt;P&gt;switch (srds_s1) {&lt;BR /&gt;// case 0x1133:&lt;BR /&gt;case 0x3333:&lt;BR /&gt;fm_info_set_phy_address(FM1_DTSEC2, SGMII_PHY3_ADDR);&lt;BR /&gt;fm_info_set_phy_address(FM1_DTSEC9, SGMII_PHY4_ADDR);&lt;BR /&gt;fm_info_set_phy_address(FM1_DTSEC10, SGMII_PHY5_ADDR);&lt;BR /&gt;run_command("setenv serdes1 3333", 0);&lt;BR /&gt;break;&lt;BR /&gt;default:&lt;BR /&gt;printf("Invalid SerDes protocol 0x%x for LS1046ARDB\n",&lt;BR /&gt;srds_s1);&lt;BR /&gt;break;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;dev = miiphy_get_dev_by_name(DEFAULT_FM_MDIO_NAME);&lt;BR /&gt;for (i = FM1_DTSEC1; i &amp;lt; FM1_DTSEC1 + CONFIG_SYS_NUM_FM1_DTSEC; i++)&lt;BR /&gt;fm_info_set_mdio(i, dev);&lt;/P&gt;&lt;P&gt;/* XFI on lane A, MAC 9 */&lt;BR /&gt;// dev = miiphy_get_dev_by_name(DEFAULT_FM_TGEC_MDIO_NAME);&lt;BR /&gt;// fm_info_set_mdio(FM1_10GEC1, dev);&lt;BR /&gt;fm_info_set_mdio(FM1_DTSEC2, dev);&lt;/P&gt;&lt;P&gt;cpu_eth_init(bis);&lt;BR /&gt;#endif&lt;/P&gt;&lt;P&gt;return pci_eth_init(bis);&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;#ifdef CONFIG_FMAN_ENET&lt;BR /&gt;int fdt_update_ethernet_dt(void *blob)&lt;BR /&gt;{&lt;BR /&gt;u32 srds_s1;&lt;BR /&gt;int i, prop;&lt;BR /&gt;int offset, nodeoff;&lt;BR /&gt;const char *path;&lt;BR /&gt;struct ccsr_gur *gur = (void *)(CONFIG_SYS_FSL_GUTS_ADDR);&lt;/P&gt;&lt;P&gt;srds_s1 = in_be32(&amp;amp;gur-&amp;gt;rcwsr[4]) &amp;amp;&lt;BR /&gt;FSL_CHASSIS2_RCWSR4_SRDS1_PRTCL_MASK;&lt;BR /&gt;srds_s1 &amp;gt;&amp;gt;= FSL_CHASSIS2_RCWSR4_SRDS1_PRTCL_SHIFT;&lt;/P&gt;&lt;P&gt;/* Cycle through all aliases */&lt;BR /&gt;for (prop = 0; ; prop++) {&lt;BR /&gt;const char *name;&lt;/P&gt;&lt;P&gt;/* FDT might have been edited, recompute the offset */&lt;BR /&gt;offset = fdt_first_property_offset(blob,&lt;BR /&gt;fdt_path_offset(blob,&lt;BR /&gt;"/aliases")&lt;BR /&gt;);&lt;BR /&gt;/* Select property number 'prop' */&lt;BR /&gt;for (i = 0; i &amp;lt; prop; i++)&lt;BR /&gt;offset = fdt_next_property_offset(blob, offset);&lt;/P&gt;&lt;P&gt;if (offset &amp;lt; 0)&lt;BR /&gt;break;&lt;/P&gt;&lt;P&gt;path = fdt_getprop_by_offset(blob, offset, &amp;amp;name, NULL);&lt;BR /&gt;nodeoff = fdt_path_offset(blob, path);&lt;/P&gt;&lt;P&gt;switch (srds_s1) {&lt;BR /&gt;case 0x1133:&lt;BR /&gt;if (!strcmp(name, "ethernet0"))&lt;BR /&gt;fdt_status_disabled(blob, nodeoff);&lt;/P&gt;&lt;P&gt;if (!strcmp(name, "ethernet1"))&lt;BR /&gt;fdt_status_disabled(blob, nodeoff);&lt;BR /&gt;break;&lt;BR /&gt;default:&lt;BR /&gt;printf("%s: Invalid SerDes prtcl 0x%x for LS1046ARDB\n",&lt;BR /&gt;__func__, srds_s1);&lt;BR /&gt;break;&lt;BR /&gt;}&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;return 0;&lt;BR /&gt;}&lt;BR /&gt;#endif&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The attachment is the source file.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Thank you！&lt;/P&gt;</description>
      <pubDate>Wed, 13 Apr 2022 01:33:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1046A-Network-problems/m-p/1442972#M10372</guid>
      <dc:creator>jack_huang1</dc:creator>
      <dc:date>2022-04-13T01:33:04Z</dc:date>
    </item>
    <item>
      <title>Re: LS1046A  Network problems</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1046A-Network-problems/m-p/1443332#M10378</link>
      <description>&lt;P&gt;&lt;SPAN&gt;DTSEC2 is PHY less interface, please don't assign PHY address for it, please delete the following line.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;fm_info_set_phy_address(FM1_DTSEC2, SGMII_PHY3_ADDR);&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Apr 2022 09:42:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1046A-Network-problems/m-p/1443332#M10378</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2022-04-13T09:42:04Z</dc:date>
    </item>
    <item>
      <title>Re: LS1046A  Network problems</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1046A-Network-problems/m-p/1444075#M10389</link>
      <description>&lt;P&gt;Hi, Yingping,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;According to the suggestions in your email, ETH. C has been modified. After the test, it has no effect and ping cannot work. The latest progress of the project is as follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1. Now only CPU SGMII Mac2 is connected to Switch port1, and can be accessed through MDIO Switch;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2. Swtich shows a link, but the ping fails.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;3. Check the statistics of Mac2 receiving and sending packets of Switch, and find that CPU only sends and does not receive packets.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;SPAN&gt;Attached is the printed information of ping IP address.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Thank you!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Apr 2022 10:07:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1046A-Network-problems/m-p/1444075#M10389</guid>
      <dc:creator>jack_huang1</dc:creator>
      <dc:date>2022-04-14T10:07:26Z</dc:date>
    </item>
    <item>
      <title>Re: LS1046A  Network problems</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1046A-Network-problems/m-p/1448370#M10441</link>
      <description>&lt;P&gt;I have escalated this case to the SE team, please refer to the following update from them.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Because the issue is not able to be reproduced, could you identify which line inside the function is root cause of crash?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Apr 2022 08:09:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1046A-Network-problems/m-p/1448370#M10441</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2022-04-25T08:09:53Z</dc:date>
    </item>
    <item>
      <title>Re: LS1046A  Network problems</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1046A-Network-problems/m-p/2363104#M16684</link>
      <description>&lt;P&gt;Hi Yipingwang,&lt;/P&gt;&lt;P&gt;We are also facing the similar issue.&amp;nbsp; How the issue is resolved.&lt;/P&gt;&lt;P&gt;Regards--&lt;/P&gt;&lt;P&gt;Nagurvali Sayyad.&lt;/P&gt;</description>
      <pubDate>Mon, 11 May 2026 04:45:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1046A-Network-problems/m-p/2363104#M16684</guid>
      <dc:creator>nagurvalisayyad</dc:creator>
      <dc:date>2026-05-11T04:45:29Z</dc:date>
    </item>
  </channel>
</rss>

