<?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: Switch Setup on LS1028ARDB in Layerscape</title>
    <link>https://community.nxp.com/t5/Layerscape/Switch-Setup-on-LS1028ARDB/m-p/1051516#M5944</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/zing@zhaw.ch"&gt;zing@zhaw.ch&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am facing a similar issue. Can you please share setup_bridge.sh, setup_eno0.sh and setup_switch.sh files?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sameer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Jun 2020 11:10:59 GMT</pubDate>
    <dc:creator>sameer_chouksey</dc:creator>
    <dc:date>2020-06-10T11:10:59Z</dc:date>
    <item>
      <title>Switch Setup on LS1028ARDB</title>
      <link>https://community.nxp.com/t5/Layerscape/Switch-Setup-on-LS1028ARDB/m-p/1051513#M5941</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I try to get the interfaces swp0-swp3 to run.&lt;/STRONG&gt; I use the following software&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;root@LS1028ARDB-Ubuntu:~# uname -a&lt;BR /&gt;Linux LS1028ARDB-Ubuntu 5.4.3-rt1 #1 SMP PREEMPT_RT Wed May 27 07:13:13 CEST 2020 aarch64 aarch64 aarch64 GNU/Linux&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;The following release was used to build the os:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;OpenIL-v1.8-202005&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I try to setup the switch interfaces as described in LSDKUG_Rev19.09 Figure 211. The output of the given script is:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;setup_bridge.sh&amp;nbsp; setup_eno0.sh&amp;nbsp;&amp;nbsp;&amp;nbsp; setup_switch.sh &amp;nbsp;&lt;BR /&gt;root@LS1028ARDB-Ubuntu:~# ./setup_switch.sh &lt;BR /&gt;RTNETLINK answers: Network is down&lt;BR /&gt;RTNETLINK answers: Network is down&lt;BR /&gt;RTNETLINK answers: Network is down&lt;BR /&gt;RTNETLINK answers: Network is down&lt;BR /&gt;ls: cannot access '/sys/bus/pci/devices/0000:00:00.6/net/': No such file or directory&lt;BR /&gt;Not enough information: "dev" argument is required.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Also i can not bring the interfaces up manually (eno0 works fine dhc and everything works!)&lt;/P&gt;&lt;P&gt;I suspect a driver problem, however it seem the felix driver is there:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;root@LS1028ARDB-Ubuntu:~# dmesg | grep "felix"&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;[&amp;nbsp;&amp;nbsp;&amp;nbsp; 2.966984] mscc_felix 0000:00:00.5: Adding to iommu group 1&lt;BR /&gt;[&amp;nbsp;&amp;nbsp;&amp;nbsp; 2.967221] mscc_felix 0000:00:00.5: Failed to register DSA switch: -517&lt;BR /&gt;[&amp;nbsp;&amp;nbsp;&amp;nbsp; 3.467052] mscc_felix 0000:00:00.5: Found PCS at internal MDIO address 0&lt;BR /&gt;[&amp;nbsp;&amp;nbsp;&amp;nbsp; 3.467337] mscc_felix 0000:00:00.5: Found PCS at internal MDIO address 1&lt;BR /&gt;[&amp;nbsp;&amp;nbsp;&amp;nbsp; 3.467610] mscc_felix 0000:00:00.5: Found PCS at internal MDIO address 2&lt;BR /&gt;[&amp;nbsp;&amp;nbsp;&amp;nbsp; 3.467882] mscc_felix 0000:00:00.5: Found PCS at internal MDIO address 3&lt;BR /&gt;[&amp;nbsp;&amp;nbsp;&amp;nbsp; 3.728010] mscc_felix 0000:00:00.5 swp0 (uninitialized): PHY [0000:00:00.3:10] driver [Microsemi GE VSC8514 SyncE]&lt;BR /&gt;[&amp;nbsp;&amp;nbsp;&amp;nbsp; 3.967994] mscc_felix 0000:00:00.5 swp1 (uninitialized): PHY [0000:00:00.3:11] driver [Microsemi GE VSC8514 SyncE]&lt;BR /&gt;[&amp;nbsp;&amp;nbsp;&amp;nbsp; 4.207994] mscc_felix 0000:00:00.5 swp2 (uninitialized): PHY [0000:00:00.3:12] driver [Microsemi GE VSC8514 SyncE]&lt;BR /&gt;[&amp;nbsp;&amp;nbsp;&amp;nbsp; 4.455995] mscc_felix 0000:00:00.5 swp3 (uninitialized): PHY [0000:00:00.3:13] driver [Microsemi GE VSC8514 SyncE]&lt;BR /&gt;[&amp;nbsp;&amp;nbsp;&amp;nbsp; 4.456423] mscc_felix 0000:00:00.5: configuring for fixed/internal link mode&lt;BR /&gt;[&amp;nbsp;&amp;nbsp;&amp;nbsp; 4.456447] mscc_felix 0000:00:00.5: Link is Up - 2.5Gbps/Full - flow control off&lt;BR /&gt;root@LS1028ARDB-Ubuntu:~# &lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;STRONG&gt;Any Ideas how to bring up the switch interfaces?&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jun 2020 11:31:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Switch-Setup-on-LS1028ARDB/m-p/1051513#M5941</guid>
      <dc:creator>zing</dc:creator>
      <dc:date>2020-06-03T11:31:53Z</dc:date>
    </item>
    <item>
      <title>Re: Switch Setup on LS1028ARDB</title>
      <link>https://community.nxp.com/t5/Layerscape/Switch-Setup-on-LS1028ARDB/m-p/1051514#M5942</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please refer to the attached script and the following test procedure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;root@ls1028ardb:~# bash +x enetc_switch_cpu_port_without_bridge_dsa.sh &lt;BR /&gt;[ 79.858412] Generic PHY fixed-0:00: attached PHY driver [Generic PHY] (mii_bus:phy_addr=fixed-0:00, irq=POLL)&lt;BR /&gt;[ 79.869942] fsl_enetc 0000:00:00.2 eno2: Link is Up - 1Gbps/Full - flow control off&lt;BR /&gt;[ 79.875622] 8021q: adding VLAN 0 to HW filter on device eno2&lt;BR /&gt;[ 79.883568] IPv6: ADDRCONF(NETDEV_CHANGE): eno2: link becomes ready&lt;BR /&gt;[ 79.890333] mscc_felix 0000:00:00.5 swp0: configuring for inband/qsgmii link mode&lt;BR /&gt;[ 79.898883] 8021q: adding VLAN 0 to HW filter on device swp0&lt;BR /&gt;[ 79.907080] mscc_felix 0000:00:00.5 swp1: configuring for inband/qsgmii link mode&lt;BR /&gt;[ 79.915531] 8021q: adding VLAN 0 to HW filter on device swp1&lt;BR /&gt;[ 79.923639] mscc_felix 0000:00:00.5 swp2: configuring for inband/qsgmii link mode&lt;BR /&gt;[ 79.932112] 8021q: adding VLAN 0 to HW filter on device swp2&lt;BR /&gt;[ 79.940204] mscc_felix 0000:00:00.5 swp3: configuring for inband/qsgmii link mode&lt;BR /&gt;[ 79.948625] 8021q: adding VLAN 0 to HW filter on device swp3&lt;BR /&gt;root@ls1028ardb:~# echo $?&lt;BR /&gt;0&lt;BR /&gt;root@ls1028ardb:~# ifconfig swp0 down&lt;BR /&gt;root@ls1028ardb:~# echo $?&lt;BR /&gt;0&lt;BR /&gt;root@ls1028ardb:~# ifconfig swp0 100.1.1.29 netmask 255.255.255.0&lt;BR /&gt;[ 90.042476] mscc_felix 0000:00:00.5 swp0: configuring for inband/qsgmii link mode&lt;BR /&gt;[ 90.050569] 8021q: adding VLAN 0 to HW filter on device swp0&lt;BR /&gt;root@ls1028ardb:~# echo $?&lt;BR /&gt;0&lt;BR /&gt;root@ls1028ardb:~# [ 93.131335] mscc_felix 0000:00:00.5 swp0: Link is Up - 1Gbps/Full - flow control off&lt;BR /&gt;[ 93.139218] IPv6: ADDRCONF(NETDEV_CHANGE): swp0: link becomes ready&lt;BR /&gt;ifconfig swp0 up&lt;BR /&gt;root@ls1028ardb:~# echo $?&lt;BR /&gt;0&lt;BR /&gt;root@ls1028ardb:~# ping -c 5 -s 1 100.1.1.1&lt;BR /&gt;PING 100.1.1.1 (100.1.1.1) 1(29) bytes of data.&lt;BR /&gt;9 bytes from 100.1.1.1: icmp_seq=1 ttl=64&lt;BR /&gt;9 bytes from 100.1.1.1: icmp_seq=2 ttl=64&lt;BR /&gt;9 bytes from 100.1.1.1: icmp_seq=3 ttl=64&lt;BR /&gt;9 bytes from 100.1.1.1: icmp_seq=4 ttl=64&lt;BR /&gt;9 bytes from 100.1.1.1: icmp_seq=5 ttl=64&lt;/P&gt;&lt;P&gt;--- 100.1.1.1 ping statistics ---&lt;BR /&gt;5 packets transmitted, 5 received, 0% packet loss, time 4081ms&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jun 2020 04:30:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Switch-Setup-on-LS1028ARDB/m-p/1051514#M5942</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2020-06-04T04:30:46Z</dc:date>
    </item>
    <item>
      <title>Re: Switch Setup on LS1028ARDB</title>
      <link>https://community.nxp.com/t5/Layerscape/Switch-Setup-on-LS1028ARDB/m-p/1051515#M5943</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your response and adjusted script! Interfaces are now up and I can use them.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jun 2020 12:49:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Switch-Setup-on-LS1028ARDB/m-p/1051515#M5943</guid>
      <dc:creator>zing</dc:creator>
      <dc:date>2020-06-04T12:49:26Z</dc:date>
    </item>
    <item>
      <title>Re: Switch Setup on LS1028ARDB</title>
      <link>https://community.nxp.com/t5/Layerscape/Switch-Setup-on-LS1028ARDB/m-p/1051516#M5944</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/zing@zhaw.ch"&gt;zing@zhaw.ch&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am facing a similar issue. Can you please share setup_bridge.sh, setup_eno0.sh and setup_switch.sh files?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sameer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jun 2020 11:10:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Switch-Setup-on-LS1028ARDB/m-p/1051516#M5944</guid>
      <dc:creator>sameer_chouksey</dc:creator>
      <dc:date>2020-06-10T11:10:59Z</dc:date>
    </item>
    <item>
      <title>Re: Switch Setup on LS1028ARDB</title>
      <link>https://community.nxp.com/t5/Layerscape/Switch-Setup-on-LS1028ARDB/m-p/1338219#M8884</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi Sir, I am using LS1028A board,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;how can I print the debug message as follows when using 'ifconfig' :&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;root@ls1028ardb:~# ifconfig swp0 100.1.1.29 netmask 255.255.255.0&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;[ 90.042476] mscc_felix 0000:00:00.5 swp0: configuring for inband/qsgmii link mode&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;[ 90.050569] 8021q: adding VLAN 0 to HW filter on device swp0&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Sep 2021 07:56:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Switch-Setup-on-LS1028ARDB/m-p/1338219#M8884</guid>
      <dc:creator>xuchegndi</dc:creator>
      <dc:date>2021-09-10T07:56:47Z</dc:date>
    </item>
    <item>
      <title>Re: Switch Setup on LS1028ARDB</title>
      <link>https://community.nxp.com/t5/Layerscape/Switch-Setup-on-LS1028ARDB/m-p/2061701#M15493</link>
      <description>&lt;P&gt;I am trying to set up ethernet interface on LS1028ARDB as well. I run your shell script to bring the interfaces up, then follow the next steps. I do see the lines:&lt;/P&gt;&lt;P&gt;mscc_felix 0000:00:00.5 swp0: Link is Up -- 1Gbps/Full - flow control rx/tx&lt;/P&gt;&lt;P&gt;IPv6: ADDRCONF(NETDEV_CHANGE): swp0: link becomes ready&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, when I try ping -c 5 -s 1 100.1.1.1, the ping fails and I get Destination Host Unreachable.&lt;/P&gt;&lt;P&gt;my output of `ip a` shows:&lt;/P&gt;&lt;P&gt;eno2: &amp;lt;BROADCAST,MULTICAST,UP,LOWER_UP&amp;gt; with no ip address, and&lt;/P&gt;&lt;P&gt;&lt;A href="mailto:swp0@eno2:" target="_blank"&gt;swp0@eno2:&lt;/A&gt;&amp;nbsp;&amp;lt;BROADCAST,MULTICAST,UP,LOWER_UP&amp;gt; with ip address 100.1.1.29&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;</description>
      <pubDate>Fri, 14 Mar 2025 02:27:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Switch-Setup-on-LS1028ARDB/m-p/2061701#M15493</guid>
      <dc:creator>noahw</dc:creator>
      <dc:date>2025-03-14T02:27:57Z</dc:date>
    </item>
  </channel>
</rss>

