AnsweredAssumed Answered

LSDK17.09, LS1046ardb, 10Gb port FM1@TGEC1 failed

Question asked by Strong Qu on Nov 13, 2017
Latest reply on Nov 13, 2017 by Strong Qu

I loaded image build with LSDK 17.09 on LS1046ardb board, dmesg shows:

[    3.100176] fsl_mac: fsl_mac: FSL FMan MAC API based driver

[    3.105886] fsl_mac 1ae4000.ethernet: FMan MEMAC

[    3.110504] fsl_mac 1ae4000.ethernet: FMan MAC address: 00:04:9f:04:ff:0f

[    3.117356] fsl_mac 1ae6000.ethernet: FMan MEMAC

[    3.121973] fsl_mac 1ae6000.ethernet: FMan MAC address: 00:04:9f:04:ff:10

[    3.128864] fsl_mac 1ae8000.ethernet: FMan MEMAC

[    3.133480] fsl_mac 1ae8000.ethernet: FMan MAC address: 00:04:9f:04:ff:12

[    3.140376] fsl_mac 1aea000.ethernet: FMan MEMAC

[    3.144991] fsl_mac 1aea000.ethernet: FMan MAC address: 00:04:9f:04:ff:11

[    3.151803] fsl_mac 1af0000.ethernet: of_get_mac_address(/soc/fman@1a00000/ethernet@f0000) failed

[    3.160677] fsl_mac: probe of 1af0000.ethernet failed with error -22

[    3.167052] fsl_mac 1af2000.ethernet: of_get_mac_address(/soc/fman@1a00000/ethernet@f2000) failed

[    3.175923] fsl_mac: probe of 1af2000.ethernet failed with error -22

'ip a' output:

2: fm1-mac3: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether 00:04:9f:04:ff:0f brd ff:ff:ff:ff:ff:ff
3: fm1-mac4: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether 00:04:9f:04:ff:10 brd ff:ff:ff:ff:ff:ff
4: fm1-mac5: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether 00:04:9f:04:ff:12 brd ff:ff:ff:ff:ff:ff
5: fm1-mac6: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether 00:04:9f:04:ff:11 brd ff:ff:ff:ff:ff:ff

This does not match UBoot bdinfo output:

eth0name    = FM1@DTSEC3

ethaddr     = 00:04:9F:04:FF:13

eth1name    = FM1@DTSEC4

eth1addr    = 00:04:9F:04:FF:14

eth2name    = FM1@DTSEC5

eth2addr    = 00:04:9F:04:FF:0F

eth3name    = FM1@DTSEC6

eth3addr    = 00:04:9F:04:FF:10

eth4name    = FM1@TGEC1

eth4addr    = 00:04:9F:04:FF:12

eth5name    = FM1@TGEC2

eth5addr    = 00:04:9F:04:FF:11

Is the offset in dts file(packages/linux/linux/arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb.dts) wrong?

        ethernet@e4000 {
                phy-handle = <&rgmii_phy1>;
                phy-connection-type = "rgmii";
        };

 

BTW, is there more wiki/doc about this new LSDK and flexbuild? So far all I can find is from "Layerscape Software Development Kit 17.09 Documentation", which does not have all things in detail.

Outcomes