VSC8575 on LS1043A not pinging out

cancel
Showing results for 
Search instead for 
Did you mean: 

VSC8575 on LS1043A not pinging out

Jump to solution
1,227 Views
carljones
Contributor III

Hello NXP,

I would like to seek help with the problem I'm encountering with my board. The custom board is using an LS1043A chip equipped with VSC8575 PHY connected on LANE B of SerDes. The LSDK I'm using is 20.04 with modification in Linux kernel to include PHY ID of VSC8575 in the network driver. The problem I'm having is that the ethernet cannot ping out although a link and speed is detected. I have attached the boot log with some tests.

Hope you can enlighten me.

Regards,

Carlos

NOTICE:  Fixed DDR on board

NOTICE:  2 GB DDR4, 32-bit, CL=11, ECC off
NOTICE:  BL2: v1.5(release):LSDK-20.04
NOTICE:  BL2: Built : 19:32:35, May 18 2020
NOTICE:  BL31: v1.5(release):LSDK-20.04
NOTICE:  BL31: Built : 19:32:42, May 18 2020
NOTICE:  Welcome to LS1043 BL31 Phase


U-Boot 2019.10-dirty (May 18 2020 - 19:31:21 +0800)

SoC:  LS1043AE Rev1.1 (0x87920011)
Clock Configuration:
       CPU0(A53):1600 MHz  CPU1(A53):1600 MHz  CPU2(A53):1600 MHz  
       CPU3(A53):1600 MHz  
       Bus:      400  MHz  DDR:      1600 MT/s  FMAN:     500  MHz
Reset Configuration Word (RCW):
       00000000: 08100010 0a000000 00000000 00000000
       00000010: 14550002 00004012 60040000 c1002000
       00000020: 00000000 00000000 00000000 00038800
       00000030: 00000000 00001100 00000096 00000001
Model: XACT1 Rev3.0 Board
Board: XACT1 Rev3.0, boot from SD
DRAM:  1.9 GiB (DDR4, 32-bit, CL=11, ECC off)
Using SERDES1 Protocol: 5205 (0x1455)
SEC0: RNG instantiated
FSL_SDHC: 0

MMC read: dev # 0, block # 18944, count 128 ...
Firmware 'Microcode version 0.0.1 for LS1021a r1.0' for 1021 V1.0
QE: uploading microcode 'Microcode for LS1021a r1.0' version 0.0.1
Flash: 0 Bytes
NAND:  0 MiB
MMC:   Loading Environment from MMC... OK
EEPROM: Read failed.
In:    serial
Out:   serial
Err:   serial
Net:   
MMC read: dev # 0, block # 18432, count 128 ...
Fman1: Uploading microcode version 106.4.18
PCIe0: pcie@3400000 disabled
PCIe1: pcie@3500000 Root Complex: no link
PCIe2: pcie@3600000 Root Complex: no link
FM1@DTSEC1, FM1@DTSEC3 [PRIME], FM1@DTSEC4
Hit any key to stop autoboot:  0
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Scanning mmc 0:2...
Found U-Boot script /ls1043ardb_boot.scr
965 bytes read in 21 ms (43.9 KiB/s)
## Executing script at 80000000
36745728 bytes read in 1558 ms (22.5 MiB/s)
41085 bytes read in 19 ms (2.1 MiB/s)
## Flattened Device Tree blob at 90000000
   Booting using the fdt blob at 0x90000000
   Using Device Tree in place at 0000000090000000, end 000000009001d07c
WARNING failed to get smmu node: FDT_ERR_NOTFOUND
WARNING failed to get smmu node: FDT_ERR_NOTFOUND

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 5.4.3-dirty (root@fbubuntu) (gcc version 7.5.0 (Ubuntu/Linaro 7.5.0-3ubuntu1~18.04))0
[    0.000000] Machine model: XACT1 Rev3.0 Board
[    0.000000] earlycon: uart8250 at MMIO 0x00000000021c0500 (options '')
[    0.000000] printk: bootconsole [uart8250] enabled
[    0.000000] efi: Getting EFI parameters from FDT:
[    0.000000] efi: UEFI not found.
[    0.000000] OF: reserved mem: initialized node qman-fqd, compatible id fsl,qman-fqd
[    0.000000] OF: reserved mem: initialized node qman-pfdr, compatible id fsl,qman-pfdr
[    0.000000] OF: reserved mem: initialized node bman-fbpr, compatible id fsl,bman-fbpr
[    0.000000] cma: Reserved 320 MiB at 0x00000000e4000000
[    0.000000] NUMA: No NUMA configuration found
[    0.000000] NUMA: Faking a node at [mem 0x0000000080000000-0x00000000fbdfffff]
[    0.000000] NUMA: NODE_DATA [mem 0xfb60b800-0xfb60cfff]
[    0.000000] Zone ranges:
[    0.000000]   DMA32    [mem 0x0000000080000000-0x00000000fbdfffff]
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000080000000-0x00000000f7ffffff]
[    0.000000]   node   0: [mem 0x00000000fb000000-0x00000000fb7fffff]
[    0.000000]   node   0: [mem 0x00000000fbc00000-0x00000000fbdfffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000000fbdfffff]
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.1 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: MIGRATE_INFO_TYPE not supported.
[    0.000000] psci: SMC Calling Convention v1.1
[    0.000000] percpu: Embedded 24 pages/cpu s59928 r8192 d30184 u98304
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: detected: ARM erratum 845719
[    0.000000] CPU features: kernel page table isolation forced ON by KASLR
[    0.000000] CPU features: detected: Kernel page table isolation (KPTI)
[    0.000000] Speculative Store Bypass Disable mitigation not required
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 486152
[    0.000000] Policy zone: DMA32
[    0.000000] Kernel command line: console=ttyS0,115200 earlycon=uart8250,mmio,0x21c0500 root=PARTUUID=b9a05c96-t
[    0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[    0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 1571388K/1976320K available (18620K kernel code, 2476K rwdata, 8856K rodata, 5888K init, 9)
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=16 to nr_cpu_ids=4.
[    0.000000]  Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GIC: Adjusting CPU interface base to 0x000000000142f000
[    0.000000] GIC: Using split EOI/Deactivate mode
[    0.000000] random: get_random_bytes called from start_kernel+0x2b8/0x458 with crng_init=0
[    0.000000] arch_timer: Enabling global workaround for Freescale erratum a005858
[    0.000000] arch_timer: CPU0: Trapping CNTVCT access
[    0.000000] arch_timer: cp15 timer(s) running at 25.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x5c40939b5, max_idle_ns: 440795s
[    0.000002] sched_clock: 56 bits at 25MHz, resolution 40ns, wraps every 4398046511100ns
[    0.008685] Console: colour dummy device 80x25
[    0.013198] Calibrating delay loop (skipped), value calculated using timer frequency.. 50.00 BogoMIPS (lpj=100)
[    0.023604] pid_max: default: 32768 minimum: 301
[    0.028323] LSM: Security Framework initializing
[    0.033016] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.040458] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.072378] ASID allocator initialised with 32768 entries
[    0.085818] rcu: Hierarchical SRCU implementation.
[    0.100043] EFI services will not be available.
[    0.112608] smp: Bringing up secondary CPUs ...
[    0.149307] Detected VIPT I-cache on CPU1
[    0.149334] arch_timer: CPU1: Trapping CNTVCT access
[    0.149339] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.181320] Detected VIPT I-cache on CPU2
[    0.181334] arch_timer: CPU2: Trapping CNTVCT access
[    0.181339] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[    0.213356] Detected VIPT I-cache on CPU3
[    0.213370] arch_timer: CPU3: Trapping CNTVCT access
[    0.213374] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[    0.213414] smp: Brought up 1 node, 4 CPUs
[    0.264227] SMP: Total of 4 processors activated.
[    0.268953] CPU features: detected: 32-bit EL0 Support
[    0.274123] CPU features: detected: CRC32 instructions
[    0.286134] CPU: All CPU(s) started at EL2
[    0.290258] alternatives: patching kernel code
[    0.295780] devtmpfs: initialized
[    0.303589] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.313389] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.326700] xor: measuring software checksum speed
[    0.371182]    8regs     :  3071.000 MB/sec
[    0.415206]    32regs    :  3774.000 MB/sec
[    0.459233]    arm64_neon:  3312.000 MB/sec
[    0.463433] xor: using function: 32regs (3774.000 MB/sec)
[    0.468860] pinctrl core: initialized pinctrl subsystem
[    0.474960] DMI not present or invalid.
[    0.479054] NET: Registered protocol family 16
[    0.490055] DMA: preallocated 256 KiB pool for atomic allocations
[    0.496183] audit: initializing netlink subsys (disabled)
[    0.501670] audit: type=2000 audit(0.456:1): state=initialized audit_enabled=0 res=1
[    0.509468] cpuidle: using governor menu
[    0.513516] Bman ver:0a02,02,01
[    0.518085] qman-fqd addr 0x00000000fb800000 size 0x400000
[    0.523595] qman-pfdr addr 0x00000000f8000000 size 0x2000000
[    0.529284] Qman ver:0a01,03,02,00
[    0.532864] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.540596] Serial: AMBA PL011 UART driver
[    0.544777] imx mu driver is registered.
[    0.548730] imx rpmsg driver is registered.
[    0.554366] Machine: XACT1 Rev3.0 Board
[    0.558219] SoC family: QorIQ LS1043A
[    0.561891] SoC ID: svr:0x87920011, Revision: 1.1
[    0.595376] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[    0.602120] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
[    0.608855] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.615589] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
[    0.623631] cryptd: max_cpu_qlen set to 1000
[    0.695997] raid6: neonx8   gen()  2304 MB/s
[    0.768356] raid6: neonx8   xor()  2107 MB/s
[    0.840730] raid6: neonx4   gen()  2126 MB/s
[    0.913095] raid6: neonx4   xor()  1994 MB/s
[    0.985158] raid6: neonx2   gen()  1651 MB/s
[    1.057170] raid6: neonx2   xor()  1667 MB/s
[    1.129218] raid6: neonx1   gen()  1009 MB/s
[    1.201263] raid6: neonx1   xor()  1174 MB/s
[    1.273337] raid6: int64x8  gen()  1343 MB/s
[    1.345348] raid6: int64x8  xor()  1015 MB/s
[    1.417387] raid6: int64x4  gen()  1457 MB/s
[    1.489438] raid6: int64x4  xor()  1042 MB/s
[    1.561490] raid6: int64x2  gen()   961 MB/s
[    1.633518] raid6: int64x2  xor()   830 MB/s
[    1.705615] raid6: int64x1  gen()   642 MB/s
[    1.777614] raid6: int64x1  xor()   606 MB/s
[    1.781902] raid6: using algorithm neonx8 gen() 2304 MB/s
[    1.787323] raid6: .... xor() 2107 MB/s, rmw enabled
[    1.792309] raid6: using neon recovery algorithm
[    1.797715] ACPI: Interpreter disabled.
[    1.804272] iommu: Default domain type: Passthrough
[    1.809442] vgaarb: loaded
[    1.812357] SCSI subsystem initialized
[    1.816363] usbcore: registered new interface driver usbfs
[    1.821900] usbcore: registered new interface driver hub
[    1.827276] usbcore: registered new device driver usb
[    1.833215] i2c i2c-0: IMX I2C adapter registered
[    1.837961] i2c i2c-0: using dma0chan16 (tx) and dma0chan17 (rx) for DMA transfers
[    1.846352] mc: Linux media interface: v0.10
[    1.850656] videodev: Linux video capture interface: v2.00
[    1.856207] pps_core: LinuxPPS API ver. 1 registered
[    1.861194] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    1.870391] PTP clock support registered
[    1.874452] EDAC MC: Ver: 3.0.0
[    1.878554] bman-fbpr addr 0x00000000fa000000 size 0x1000000
[    1.884264] Bman err interrupt handler present
[    1.889296] Bman portal initialised, cpu 0
[    1.893490] Bman portal initialised, cpu 1
[    1.897685] Bman portal initialised, cpu 2
[    1.901875] Bman portal initialised, cpu 3
[    1.905988] Bman portals initialised
[    1.910453] Qman err interrupt handler present
[    1.915103] QMan: Allocated lookup table at (____ptrval____), entry count 65537
[    1.922981] Qman portal initialised, cpu 0
[    1.927168] Qman portal initialised, cpu 1
[    1.931353] Qman portal initialised, cpu 2
[    1.935539] Qman portal initialised, cpu 3
[    1.939652] Qman portals initialised
[    1.943310] Bman: BPID allocator includes range 32:32
[    1.948436] Qman: FQID allocator includes range 256:256
[    1.953686] Qman: FQID allocator includes range 32768:32768
[    1.959333] Qman: CGRID allocator includes range 0:256
[    1.964639] Qman: pool channel allocator includes range 1025:15
[    1.970671] No USDPAA memory, no 'fsl,usdpaa-mem' in device-tree
[    1.976998] fsl-ifc 1530000.ifc: Freescale Integrated Flash Controller
[    1.983573] fsl-ifc 1530000.ifc: IFC version 1.4, 8 banks
[    1.989169] FPGA manager framework
[    1.992639] Advanced Linux Sound Architecture Driver Initialized.
[    1.999557] clocksource: Switched to clocksource arch_sys_counter
[    2.005795] VFS: Disk quotas dquot_6.6.0
[    2.009771] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    2.016783] pnp: PnP ACPI: disabled
[    2.024331] thermal_sys: Registered thermal governor 'step_wise'
[    2.024334] thermal_sys: Registered thermal governor 'power_allocator'
[    2.030896] NET: Registered protocol family 2
[    2.042115] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384 bytes, linear)
[    2.050715] TCP established hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    2.058751] TCP bind hash table entries: 16384 (order: 6, 262144 bytes, linear)
[    2.066261] TCP: Hash tables configured (established 16384 bind 16384)
[    2.072882] UDP hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    2.079646] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    2.086944] NET: Registered protocol family 1
[    2.091596] RPC: Registered named UNIX socket transport module.
[    2.097545] RPC: Registered udp transport module.
[    2.102271] RPC: Registered tcp transport module.
[    2.106995] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    2.113470] PCI: CLS 0 bytes, default 64
[    2.117976] hw perfevents: enabled with armv8_pmuv3 PMU driver, 7 counters available
[    2.126119] kvm [1]: IPA Size Limit: 40bits
[    2.130990] kvm [1]: vgic interrupt IRQ1
[    2.135009] kvm [1]: Hyp mode initialized successfully
[    2.144160] Initialise system trusted keyrings
[    2.148691] workingset: timestamp_bits=44 max_order=19 bucket_order=0
[    2.155603] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    2.161631] NFS: Registering the id_resolver key type
[    2.166718] Key type id_resolver registered
[    2.170920] Key type id_legacy registered
[    2.174951] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    2.181697] jffs2: version 2.2. (NAND) �© 2001-2006 Red Hat, Inc.
[    2.187965] fuse: init (API version 7.31)
[    2.192079] 9p: Installing v9fs 9p2000 file system support
[    2.207778] Key type asymmetric registered
[    2.211895] Asymmetric key parser 'x509' registered
[    2.216812] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 243)
[    2.224305] io scheduler mq-deadline registered
[    2.228859] io scheduler kyber registered
[    2.245250] layerscape-pcie 3500000.pcie: host bridge /soc/pcie@3500000 ranges:
[    2.252613] layerscape-pcie 3500000.pcie:    IO 0x4800010000..0x480001ffff -> 0x00000000
[    2.260755] layerscape-pcie 3500000.pcie:   MEM 0x4840000000..0x487fffffff -> 0x40000000
[    2.268990] layerscape-pcie 3500000.pcie: PCI host bridge to bus 0000:00
[    2.275729] pci_bus 0000:00: root bus resource [bus 00-ff]
[    2.281242] pci_bus 0000:00: root bus resource [io  0x0000-0xffff]
[    2.287455] pci_bus 0000:00: root bus resource [mem 0x4840000000-0x487fffffff] (bus address [0x40000000-0x7fff)
[    2.298047] pci 0000:00:00.0: [1957:8080] type 01 class 0x060400
[    2.304101] pci 0000:00:00.0: reg 0x38: [mem 0x4840000000-0x48400007ff pref]
[    2.311217] pci 0000:00:00.0: supports D1 D2
[    2.315507] pci 0000:00:00.0: PME# supported from D0 D1 D2 D3hot
[    2.324409] pci 0000:00:00.0: BAR 6: assigned [mem 0x4840000000-0x48400007ff pref]
[    2.332022] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[    2.337438] pcieport 0000:00:00.0: PME: Signaling with IRQ 62
[    2.343359] pcieport 0000:00:00.0: AER: enabled with IRQ 63
[    2.349095] layerscape-pcie 3600000.pcie: host bridge /soc/pcie@3600000 ranges:
[    2.356455] layerscape-pcie 3600000.pcie:    IO 0x5000010000..0x500001ffff -> 0x00000000
[    2.364595] layerscape-pcie 3600000.pcie:   MEM 0x5040000000..0x507fffffff -> 0x40000000
[    2.372809] layerscape-pcie 3600000.pcie: PCI host bridge to bus 0001:00
[    2.379547] pci_bus 0001:00: root bus resource [bus 00-ff]
[    2.385064] pci_bus 0001:00: root bus resource [io  0x10000-0x1ffff] (bus address [0x0000-0xffff])
[    2.394072] pci_bus 0001:00: root bus resource [mem 0x5040000000-0x507fffffff] (bus address [0x40000000-0x7fff)
[    2.404659] pci 0001:00:00.0: [1957:8080] type 01 class 0x060400
[    2.410708] pci 0001:00:00.0: reg 0x38: [mem 0x5040000000-0x50400007ff pref]
[    2.417817] pci 0001:00:00.0: supports D1 D2
[    2.422107] pci 0001:00:00.0: PME# supported from D0 D1 D2 D3hot
[    2.430939] pci 0001:00:00.0: BAR 6: assigned [mem 0x5040000000-0x50400007ff pref]
[    2.438552] pci 0001:00:00.0: PCI bridge to [bus 01-ff]
[    2.443928] pcieport 0001:00:00.0: PME: Signaling with IRQ 64
[    2.449811] pcieport 0001:00:00.0: AER: enabled with IRQ 65
[    2.457060] EINJ: ACPI disabled.
[    2.467516] Bus freq driver module loaded
[    2.478223] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    2.486330] printk: console [ttyS0] disabled
[    2.490669] 21c0500.serial: ttyS0 at MMIO 0x21c0500 (irq = 38, base_baud = 25000000) is a 16550A
[    2.499521] printk: console [ttyS0] enabled
[    2.499521] printk: console [ttyS0] enabled
[    2.507895] printk: bootconsole [uart8250] disabled
[    2.507895] printk: bootconsole [uart8250] disabled
[    2.517953] 21c0600.serial: ttyS1 at MMIO 0x21c0600 (irq = 38, base_baud = 25000000) is a 16550A
[    2.527006] 21d0500.serial: ttyS2 at MMIO 0x21d0500 (irq = 39, base_baud = 25000000) is a 16550A
[    2.536060] 21d0600.serial: ttyS3 at MMIO 0x21d0600 (irq = 39, base_baud = 25000000) is a 16550A
[    2.545439] SuperH (H)SCI(F) driver initialized
[    2.550709] msm_serial: driver initialized
[    2.566008] brd: module loaded
[    2.573393] loop: module loaded
[    2.636178] imx ahci driver is registered.
[    2.640701] ahci-qoriq 3200000.sata: 3200000.sata supply ahci not found, using dummy regulator
[    2.649341] ahci-qoriq 3200000.sata: 3200000.sata supply phy not found, using dummy regulator
[    2.657892] ahci-qoriq 3200000.sata: 3200000.sata supply target not found, using dummy regulator
[    2.666755] ahci-qoriq 3200000.sata: AHCI 0001.0301 32 slots 1 ports 6 Gbps 0x1 impl platform mode
[    2.675712] ahci-qoriq 3200000.sata: flags: 64bit ncq sntf pm clo only pmp fbs pio slum part ccc sds apst
[    2.685976] scsi host0: ahci-qoriq
[    2.689521] ata1: SATA max UDMA/133 mmio [mem 0x03200000-0x0320ffff] port 0x100 irq 49
[    2.698172] physmap-flash 60000000.nor: physmap platform flash device: [mem 0x60000000-0x67ffffff]
[    2.707167] physmap-flash 60000000.nor: map_probe failed
[    2.713166] nand: No NAND device found
[    2.718283] spi-nor spi0.0: unrecognized JEDEC id bytes: ff ff ff ff ff ff
[    2.728034] libphy: Fixed MDIO Bus: probed
[    2.732668] tun: Universal TUN/TAP device driver, 1.6
[    2.738669] thunder_xcv, ver 1.0
[    2.741917] thunder_bgx, ver 1.0
[    2.745161] nicpf, ver 1.0
[    2.748397] libphy: Freescale XGMAC MDIO Bus: probed
[    2.756213] libphy: Freescale XGMAC MDIO Bus: probed
[    2.761433] libphy: Freescale XGMAC MDIO Bus: probed
[    2.766653] libphy: Freescale XGMAC MDIO Bus: probed
[    2.771872] libphy: Freescale XGMAC MDIO Bus: probed
[    2.777094] libphy: Freescale XGMAC MDIO Bus: probed
[    2.782314] libphy: Freescale XGMAC MDIO Bus: probed
[    2.787532] libphy: Freescale XGMAC MDIO Bus: probed
[    2.792755] libphy: Freescale XGMAC MDIO Bus: probed
[    2.809718] Freescale FM module, FMD API version 21.1.0
[    2.817905] Freescale FM Ports module
[    2.821565] fsl_mac: fsl_mac: FSL FMan MAC API based driver
[    2.827613] fsl_mac 1ae0000.ethernet: FMan MEMAC
[    2.832231] fsl_mac 1ae0000.ethernet: FMan MAC address: 4c:0a:3d:05:50:00
[    2.839365] fsl_mac 1ae2000.ethernet: FMan MEMAC
[    2.843982] fsl_mac 1ae2000.ethernet: FMan MAC address: 4c:0a:3d:05:50:01
[    2.850868] fsl_mac 1ae4000.ethernet: FMan MEMAC
[    2.855485] fsl_mac 1ae4000.ethernet: FMan MAC address: 4c:0a:3d:05:50:02
[    2.862389] fsl_mac 1ae6000.ethernet: FMan MEMAC
[    2.867009] fsl_mac 1ae6000.ethernet: FMan MAC address: 4c:0a:3d:05:50:03
[    2.874146] fsl_mac 1ae8000.ethernet: FMan MEMAC
[    2.878763] fsl_mac 1ae8000.ethernet: FMan MAC address: 4c:0a:3d:05:50:04
[    2.885902] fsl_mac 1aea000.ethernet: FMan MEMAC
[    2.890519] fsl_mac 1aea000.ethernet: FMan MAC address: 4c:0a:3d:05:50:05
[    2.897410] fsl_mac 1af0000.ethernet: FMan MEMAC
[    2.902029] fsl_mac 1af0000.ethernet: FMan MAC address: 4c:0a:3d:05:50:06
[    2.908845] fsl_dpa: FSL DPAA Ethernet driver
[    2.914100] fsl_dpa soc:fsl,dpaa:ethernet@0: Skip RX PCD High Priority FQs initialization
[    2.923542] fsl_dpa: fsl_dpa: Probed interface eth0
[    2.928834] fsl_dpa soc:fsl,dpaa:ethernet@1: Skip RX PCD High Priority FQs initialization
[    2.938246] fsl_dpa: fsl_dpa: Probed interface eth1
[    2.943603] fsl_dpa soc:fsl,dpaa:ethernet@2: Skip RX PCD High Priority FQs initialization
[    2.953115] fsl_dpa: fsl_dpa: Probed interface eth2
[    2.958533] fsl_dpa soc:fsl,dpaa:ethernet@3: Skip RX PCD High Priority FQs initialization
[    2.968119] fsl_dpa: fsl_dpa: Probed interface eth3
[    2.973607] fsl_dpa soc:fsl,dpaa:ethernet@4: Skip RX PCD High Priority FQs initialization
[    2.983278] fsl_dpa: fsl_dpa: Probed interface eth4
[    2.988833] fsl_dpa soc:fsl,dpaa:ethernet@5: Skip RX PCD High Priority FQs initialization
[    2.998587] fsl_dpa: fsl_dpa: Probed interface eth5
[    3.004223] fsl_dpa soc:fsl,dpaa:ethernet@8: Skip RX PCD High Priority FQs initialization
[    3.009764] ata1: SATA link down (SStatus 0 SControl 300)
[    3.014056] fsl_dpa: fsl_dpa: Probed interface eth6
[    3.022697] fsl_advanced: FSL DPAA Advanced drivers:
[    3.027656] fsl_proxy: FSL DPAA Proxy initialization driver
[    3.033430] fsl_oh: FSL FMan Offline Parsing port driver
[    3.039563] hclge is initializing
[    3.042868] hns3: Hisilicon Ethernet Network Driver for Hip08 Family - version
[    3.050083] hns3: Copyright (c) 2017 Huawei Corporation.
[    3.055420] e1000: Intel(R) PRO/1000 Network Driver - version 7.3.21-k8-NAPI
[    3.062463] e1000: Copyright (c) 1999-2006 Intel Corporation.
[    3.068226] e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k
[    3.074051] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[    3.079991] igb: Intel(R) Gigabit Ethernet Network Driver - version 5.6.0-k
[    3.086946] igb: Copyright (c) 2007-2014 Intel Corporation.
[    3.092538] igbvf: Intel(R) Gigabit Virtual Function Network Driver - version 2.4.0-k
[    3.100361] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
[    3.106658] sky2: driver version 1.30
[    3.111012] usbcore: registered new interface driver r8152
[    3.116516] usbcore: registered new interface driver asix
[    3.121926] usbcore: registered new interface driver ax88179_178a
[    3.128395] VFIO - User Level meta-driver version: 0.3
[    3.133906] dwc3 2f00000.usb3: Failed to get clk 'ref': -2
[    3.139911] dwc3 3000000.usb3: Failed to get clk 'ref': -2
[    3.145712] dwc3 3100000.usb3: Failed to get clk 'ref': -2
[    3.153073] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    3.159602] ehci-pci: EHCI PCI platform driver
[    3.164063] ehci-platform: EHCI generic platform driver
[    3.169437] ehci-orion: EHCI orion driver
[    3.173558] ehci-exynos: EHCI EXYNOS driver
[    3.177835] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    3.184016] ohci-pci: OHCI PCI platform driver
[    3.188475] ohci-platform: OHCI generic platform driver
[    3.193830] ohci-exynos: OHCI EXYNOS driver
[    3.198470] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    3.203966] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
[    3.211683] xhci-hcd xhci-hcd.0.auto: hcc params 0x0220f66d hci version 0x100 quirks 0x0000000002010810
[    3.221100] xhci-hcd xhci-hcd.0.auto: irq 46, io mem 0x02f00000
[    3.227447] hub 1-0:1.0: USB hub found
[    3.231210] hub 1-0:1.0: 1 port detected
[    3.235308] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    3.240794] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
[    3.248450] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0 SuperSpeed
[    3.255259] hub 2-0:1.0: USB hub found
[    3.259022] hub 2-0:1.0: 1 port detected
[    3.263158] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[    3.268650] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 3
[    3.276360] xhci-hcd xhci-hcd.1.auto: hcc params 0x0220f66d hci version 0x100 quirks 0x0000000002010810
[    3.285767] xhci-hcd xhci-hcd.1.auto: irq 47, io mem 0x03000000
[    3.292043] hub 3-0:1.0: USB hub found
[    3.295804] hub 3-0:1.0: 1 port detected
[    3.299881] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[    3.305369] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 4
[    3.313025] xhci-hcd xhci-hcd.1.auto: Host supports USB 3.0 SuperSpeed
[    3.319841] hub 4-0:1.0: USB hub found
[    3.323601] hub 4-0:1.0: 1 port detected
[    3.327726] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller
[    3.333216] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 5
[    3.340925] xhci-hcd xhci-hcd.2.auto: hcc params 0x0220f66d hci version 0x100 quirks 0x0000000002010810
[    3.350329] xhci-hcd xhci-hcd.2.auto: irq 48, io mem 0x03100000
[    3.356592] hub 5-0:1.0: USB hub found
[    3.360352] hub 5-0:1.0: 1 port detected
[    3.364431] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller
[    3.369920] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 6
[    3.377575] xhci-hcd xhci-hcd.2.auto: Host supports USB 3.0 SuperSpeed
[    3.384381] hub 6-0:1.0: USB hub found
[    3.388141] hub 6-0:1.0: 1 port detected
[    3.392558] usbcore: registered new interface driver usb-storage
[    3.402422] ftm-alarm 29d0000.timer: registered as rtc1
[    3.409421] pcf85363 0-0051: registered as rtc0
[    3.414775] i2c /dev entries driver
[    3.420983] ptp_qoriq: device tree node missing required elements, try automatic configuration
[    3.429748] pps pps0: new PPS source ptp0
[    3.437723] imx2-wdt 2ad0000.wdog: timeout 60 sec (nowayout=0)
[    3.444957] qoriq_cpufreq: Freescale QorIQ CPU frequency scaling driver
[    3.452027] sdhci: Secure Digital Host Controller Interface driver
[    3.458218] sdhci: Copyright(c) Pierre Ossman
[    3.463061] Synopsys Designware Multimedia Card Interface Driver
[    3.470220] sdhci-pltfm: SDHCI platform and OF driver helper
[    3.502557] mmc0: SDHCI controller on 1560000.esdhc [1560000.esdhc] using ADMA 64-bit
[    3.512345] ledtrig-cpu: registered to indicate activity on CPUs
[    3.519361] caam 1700000.crypto: Linux CAAM Queue I/F driver initialised
[    3.526461] caam 1700000.crypto: device ID = 0x0a12060000000000 (Era 8)
[    3.533088] caam 1700000.crypto: job rings = 3, qi = 1
[    3.551034] caam algorithms registered in /proc/crypto
[    3.559035] caam 1700000.crypto: caam pkc algorithms registered in /proc/crypto
[    3.566396] mmc0: new high speed SDHC card at address 0007
[    3.566945] mmcblk0: mmc0:0007 SD16G 14.5 GiB
[    3.572373] caam_jr 1710000.jr: registering rng-caam
[    3.581898]  mmcblk0: p1 p2 p3 p4
[    3.586675] caam 1700000.crypto: algorithms registered in /proc/crypto
[    3.600828] usbcore: registered new interface driver usbhid
[    3.606406] usbhid: USB HID core driver
[    3.611957] Freescale USDPAA process driver
[    3.616137] fsl-usdpaa: no region found
[    3.619966] Freescale USDPAA process IRQ driver
[    3.628027] optee: probing for conduit method from DT.
[    3.633171] optee: api uid mismatch
[    3.642525] NET: Registered protocol family 26
[    3.646982] u32 classifier
[    3.649683]     input device check on
[    3.653339]     Actions configured
[    3.657148] Initializing XFRM netlink socket
[    3.661487] NET: Registered protocol family 10
[    3.666670] Segment Routing with IPv6
[    3.670387] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    3.676604] NET: Registered protocol family 17
[    3.681066] NET: Registered protocol family 15
[    3.685531] Bridge firewalling registered
[    3.689672] 8021q: 802.1Q VLAN Support v1.8
[    3.693865] lib80211: common routines for IEEE802.11 drivers
[    3.699568] 9pnet: Installing 9P2000 support
[    3.703854] tsn generic netlink module v1 init...
[    3.708589] Key type dns_resolver registered
[    3.713141] registered taskstats version 1
[    3.717246] Loading compiled-in X.509 certificates
[    3.722998] Btrfs loaded, crc32c=crc32c-generic
[    3.730570] pcf85363 0-0051: setting system clock to 2000-02-05T16:17:20 UTC (949767440)
[    3.739098] ALSA device list:
[    3.742063]   No soundcards found.
[    3.940872] random: fast init done
[   16.290512] EXT4-fs (mmcblk0p4): recovery complete
[   16.300372] EXT4-fs (mmcblk0p4): mounted filesystem with ordered data mode. Opts: (null)
[   16.308530] VFS: Mounted root (ext4 filesystem) on device 179:4.
[   16.315712] devtmpfs: mounted
[   16.320850] Freeing unused kernel memory: 5888K
[   16.325448] Run /sbin/init as init process
[   16.829132] systemd[1]: System time before build time, advancing clock.
[   16.865124] systemd[1]: systemd 237 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVI)
[   16.889548] systemd[1]: Detected architecture arm64.

Welcome to NXP LSDK 2004 main!

[   16.932799] systemd[1]: Set hostname to <localhost>.
[   17.304960] systemd[1]: File /lib/systemd/system/systemd-udevd.service:35 configures an IP firewall (IPAddress.
[   17.321759] systemd[1]: Proceeding WITHOUT firewalling in effect! (This warning is only shown for the first lo)
[   17.404848] systemd[1]: Configuration file /lib/systemd/system/weston.service is marked executable. Please rem.
[   17.450881] systemd[1]: Configuration file /lib/systemd/system/fmc.service is marked executable. Please remove.
[   17.477542] random: systemd: uninitialized urandom read (16 bytes read)
[   17.485834] systemd[1]: Created slice System Slice.
[  OK  ] Created slice System Slice.
[   17.503699] random: systemd: uninitialized urandom read (16 bytes read)
[   17.511541] systemd[1]: Created slice system-serial\x2dgetty.slice.
[  OK  ] Created slice system-serial\x2dgetty.slice.
[   17.531716] random: systemd: uninitialized urandom read (16 bytes read)
[   17.538688] systemd[1]: Listening on Syslog Socket.
[  OK  ] Listening on Syslog Socket.
[  OK  ] Started Forward Password Requests to Wall Directory Watch.
[  OK  ] Listening on Journal Socket (/dev/log).
[  OK  ] Listening on Journal Audit Socket.
[  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
[  OK  ] Started Dispatch Password Requests to Console Directory Watch.
[  OK  ] Reached target Paths.
[  OK  ] Listening on udev Kernel Socket.
[  OK  ] Reached target Remote File Systems.
[  OK  ] Listening on udev Control Socket.
[  OK  ] Listening on Journal Socket.
         Mounting POSIX Message Queue File System...
         Starting Set the console keyboard layout...
         Starting Create Static Device Nodes in /dev...
         Starting udev Coldplug all Devices...
         Mounting Kernel Debug File System...
[  OK  ] Reached target Swap.
[  OK  ] Reached target Local Encrypted Volumes.
         Starting Journal Service...
[  OK  ] Created slice User and Session Slice.
[  OK  ] Reached target Slices.
         Mounting Huge Pages File System...
         Starting Remount Root and Kernel File Systems...
[  OK  ] Mounted POSIX Message Queue File System.
[  OK  ] Started Create Static Device Nodes in /dev.
[  OK  ] Mounted Kernel Debug File System.
[  OK  ] Started Journal Service.
[  OK  ] Mounted Huge Pages File System.
[  OK  ] Started Remount Root and Kernel File Systems.
         Starting Load/Save Random Seed...
         Starting Flush Journal to Persistent Storage...
         Starting udev Kernel Device Manager...
[  OK  ] Started Set the console keyboard layout.
[  OK  ] Started Load/Save Random Seed.
[  OK  ] Reached target Local File Systems (Pre).
[  OK  ] Reached target Local File Systems.
         Starting Set console font and keymap...
         Starting QEMU KVM preparation - module, ksm, hugepages...
         Mounting Boot Partition...
[  OK  ] Started udev Kernel Device Manager.
[  OK  ] Started Set console font and keymap.
[  OK  ] Started QEMU KVM preparation - module, ksm, hugepages.
[   18.242290] systemd-journald[506]: Received request to flush runtime journal from PID 1
[  OK  ] Started udev Coldplug all Devices.
[   18.372265] systemd-journald[506]: File /var/log/journal/88792e6c2f004b9cbb23929dea8bf36c/system.journal corru.
[  OK  ] Found device /dev/ttyS0.
[   18.604619] fsl_dpa soc:fsl,dpaa:ethernet@0 fm1-mac1: renamed from eth0
[  OK  ] Started Flush Journal to Persistent Storage.
[   18.632571] fsl_dpa soc:fsl,dpaa:ethernet@1 fm1-mac2: renamed from eth1
         Starting Create Volatile Files and Directories...
[   18.672490] fsl_dpa soc:fsl,dpaa:ethernet@3 fm1-mac4: renamed from eth3
[   18.701351] fsl_dpa soc:fsl,dpaa:ethernet@4 fm1-mac5: renamed from eth4
[   18.723948] fsl_dpa soc:fsl,dpaa:ethernet@5 fm1-mac6: renamed from eth5
[   18.751813] fsl_dpa soc:fsl,dpaa:ethernet@2 fm1-mac3: renamed from eth2
[   18.779803] fsl_dpa soc:fsl,dpaa:ethernet@8 fm1-mac9: renamed from eth6
[FAILED] Failed to mount Boot Partition.
See 'systemctl status boot.mount' for details.
[DEPEND] Dependency failed for Unattended Upgrades Shutdown.
         Starting Load Kernel Modules...
[FAILED] Failed to start Create Volatile Files and Directories.
See 'systemctl status systemd-tmpfiles-setup.service' for details.
[FAILED] Failed to start Load Kernel Modules.
See 'systemctl status systemd-modules-load.service' for details.
         Mounting FUSE Control File System...
         Starting Apply Kernel Variables...
         Mounting Kernel Configuration File System...
         Starting Network Time Synchronization...
         Starting Network Name Resolution...
         Starting Update UTMP about System Boot/Shutdown...
[  OK  ] Mounted FUSE Control File System.
[  OK  ] Started Apply Kernel Variables.
[  OK  ] Mounted Kernel Configuration File System.
[  OK  ] Started Network Time Synchronization.
[  OK  ] Started Network Name Resolution.
[  OK  ] Reached target Host and Network Name Lookups.
[  OK  ] Reached target System Time Synchronized.
         Starting Raise network interfaces...
[  OK  ] Started Update UTMP about System Boot/Shutdown.
[  OK  ] Reached target System Initialization.
[  OK  ] Started Message of the Day.
[  OK  ] Started Daily Cleanup of Temporary Directories.
         Starting Docker Socket for the API.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Started Daily apt download activities.
[  OK  ] Started Daily apt upgrade and clean activities.
[  OK  ] Started Discard unused blocks once a week.
[  OK  ] Reached target Timers.
[  OK  ] Started Raise network interfaces.
[  OK  ] Listening on Docker Socket for the API.
[  OK  ] Reached target Sockets.
[  OK  ] Reached target Basic System.
         Starting LSB: Execute the kexec -e command to reboot system...
         Starting Dispatcher daemon for systemd-networkd...
         Starting System Logging Service...
[  OK  ] Started Regular background program processing daemon.
[  OK  ] Started D-Bus System Message Bus.
         Starting Login Service...
[  OK  ] Started Set the CPU Frequency Scaling governor.
         Starting Resets System Activity Data Collector...
[  OK  ] Reached target Network.
         Starting containerd container runtime...
         Starting NXP Frame Manager Configuration tool...
         Starting OpenBSD Secure Shell server...
         Starting Permit User Sessions...
         Starting vsftpd FTP server...
[  OK  ] Reached target Network is Online.
[  OK  ] Started strongSwan IPsec IKEv1/IKEv2 daemon using ipsec.conf.
         Starting LSB: HPA's tftp server...
[  OK  ] Started System Logging Service.
[  OK  ] Started Resets System Activity Data Collector.
[  OK  ] Started containerd container runtime.
[  OK  ] Started NXP Frame Manager Configuration tool.
[  OK  ] Started Permit User Sessions.
[  OK  ] Started vsftpd FTP server.
[  OK  ] Started Login Service.
         Starting Set console scheme...
[  OK  ] Started Serial Getty on ttyS0.
         Starting Weston Wayland Compositor (on tty7)...
         Starting Docker Application Container Engine...
[  OK  ] Started LSB: Execute the kexec -e command to reboot system.
[  OK  ] Started Weston Wayland Compositor (on tty7).
[  OK  ] Started Set console scheme.
[  OK  ] Created slice system-getty.slice.
[  OK  ] Started Getty on tty1.
[  OK  ] Reached target Login Prompts.
         Starting LSB: Load kernel image with kexec...
[  OK  ] Started LSB: HPA's tftp server.
[  OK  ] Started LSB: Load kernel image with kexec.
[  OK  ] Started OpenBSD Secure Shell server.
[  OK  ] Created slice User Slice of root.
         Starting User Manager for UID 0...
[  OK  ] Started Session 1 of user root.
[  OK  ] Started User Manager for UID 0.
[  OK  ] Started Dispatcher daemon for systemd-networkd.
         Stopping User Manager for UID 0...
[  OK  ] Stopped User Manager for UID 0.
[  OK  ] Removed slice User Slice of root.

NXP LSDK 2004 main
localhost login: root
Password:
Last login: Sun Jan 28 15:58:22 UTC 2018 on tty7
Welcome to NXP LSDK 2004 main (GNU/Linux 5.4.3-dirty aarch64)

 * Support:        https://www.nxp.com/lsdk
 * Documentation:  https://lsdk.github.io/document
 * Licensing:      https://lsdk.github.io/eula
root@localhost:~# ifconfig fm1-mac1 up
root@localhost:~# dmesg | tail  
[   18.751813] fsl_dpa soc:fsl,dpaa:ethernet@2 fm1-mac3: renamed from eth2
[   18.779803] fsl_dpa soc:fsl,dpaa:ethernet@8 fm1-mac9: renamed from eth6
[   25.587585] random: crng init done
[   25.587589] random: 7 urandom warning(s) missed due to ratelimiting
[   40.762044] FW mscc_vsc8584_revb_int8051_fb48.bin loaded.
[   40.766332] vsc8584_config_pre_init done
[   40.766472] PHY_DEV_INTERFACE 0x400f = 0x400f
[   40.766543] PHY_DEV_INTERFACE_MODE 0xe0 = 0xe0
[   40.880154] vsc8584_config_init done
[   42.924070] IPv6: ADDRCONF(NETDEV_CHANGE): fm1-mac1: link becomes ready
root@localhost:~# ifconfig fm1-mac1 192.168.5.2 netmask 255.255.255.0
root@localhost:~# ping 192.168.5.2
PING 192.168.5.2 (192.168.5.2) 56(84) bytes of data.
64 bytes from 192.168.5.2: icmp_seq=1 ttl=64 time=0.125 ms
64 bytes from 192.168.5.2: icmp_seq=2 ttl=64 time=0.088 ms
64 bytes from 192.168.5.2: icmp_seq=3 ttl=64 time=0.096 ms
^C
--- 192.168.5.2 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2030ms
rtt min/avg/max/mdev = 0.088/0.103/0.125/0.015 ms
root@localhost:~# ping 192.168.5.1
PING 192.168.5.1 (192.168.5.1) 56(84) bytes of data.
From 192.168.5.2 icmp_seq=1 Destination Host Unreachable
From 192.168.5.2 icmp_seq=2 Destination Host Unreachable
From 192.168.5.2 icmp_seq=3 Destination Host Unreachable
From 192.168.5.2 icmp_seq=4 Destination Host Unreachable
From 192.168.5.2 icmp_seq=5 Destination Host Unreachable
From 192.168.5.2 icmp_seq=6 Destination Host Unreachable
^C
--- 192.168.5.1 ping statistics ---
8 packets transmitted, 0 received, +6 errors, 100% packet loss, time 7173ms
pipe 4
root@localhost:~# ifconfig fm1-mac1
fm1-mac1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.5.2  netmask 255.255.255.0  broadcast 192.168.5.255
        inet6 fe80::4e0a:3dff:fe05:5000  prefixlen 64  scopeid 0x20<link>
        ether 4c:0a:3d:05:50:00  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 18  bytes 1104 (1.1 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device memory 0x1ae0000-1ae0fff  

root@localhost:~# ethtool fm1-mac1
Settings for fm1-mac1:
        Supported ports: [ MII ]
        Supported link modes:   10baseT/Full
                                100baseT/Full
                                1000baseT/Full
        Supported pause frame use: Symmetric Receive-only
        Supports auto-negotiation: Yes
        Supported FEC modes: Not reported
        Advertised link modes:  10baseT/Full
                                100baseT/Full
                                1000baseT/Full
        Advertised pause frame use: Symmetric Receive-only
        Advertised auto-negotiation: Yes
        Advertised FEC modes: Not reported
        Link partner advertised link modes:  10baseT/Half 10baseT/Full
                                             100baseT/Half 100baseT/Full
        Link partner advertised pause frame use: Symmetric Receive-only
        Link partner advertised auto-negotiation: Yes
        Link partner advertised FEC modes: Not reported
        Speed: 100Mb/s
        Duplex: Full
        Port: MII
        PHYAD: 4
        Transceiver: internal
        Auto-negotiation: on
        Supports Wake-on: d
        Wake-on: d
        Current message level: 0xffffffff (-1)
                               drv probe link timer ifdown ifup rx_err tx_err tx_queued intr tx_done rx_status pk0
        Link detected: yes
root@localhost:~# ethtool -S fm1-mac1
NIC statistics:
     interrupts [CPU 0]: 4
     interrupts [CPU 1]: 5
     interrupts [CPU 2]: 5
     interrupts [CPU 3]: 5
     interrupts [TOTAL]: 19
     rx packets [CPU 0]: 0
     rx packets [CPU 1]: 0
     rx packets [CPU 2]: 0
     rx packets [CPU 3]: 0
     rx packets [TOTAL]: 0
     tx packets [CPU 0]: 6
     tx packets [CPU 1]: 3
     tx packets [CPU 2]: 10
     tx packets [CPU 3]: 0
     tx packets [TOTAL]: 19
     tx recycled [CPU 0]: 0
     tx recycled [CPU 1]: 0
     tx recycled [CPU 2]: 0
     tx recycled [CPU 3]: 0
     tx recycled [TOTAL]: 0
     tx confirm [CPU 0]: 4
     tx confirm [CPU 1]: 5
     tx confirm [CPU 2]: 5
     tx confirm [CPU 3]: 5
     tx confirm [TOTAL]: 19
     tx S/G [CPU 0]: 0
     tx S/G [CPU 1]: 0
     tx S/G [CPU 2]: 0
     tx S/G [CPU 3]: 0
     tx S/G [TOTAL]: 0
     rx S/G [CPU 0]: 0
     rx S/G [CPU 1]: 0
     rx S/G [CPU 2]: 0
     rx S/G [CPU 3]: 0
     rx S/G [TOTAL]: 0
     tx error [CPU 0]: 0
     tx error [CPU 1]: 0
     tx error [CPU 2]: 0
     tx error [CPU 3]: 0
     tx error [TOTAL]: 0
     rx error [CPU 0]: 0
     rx error [CPU 1]: 0
     rx error [CPU 2]: 0
     rx error [CPU 3]: 0
     rx error [TOTAL]: 0
     bp count [CPU 0]: 128
     bp count [CPU 1]: 128
     bp count [CPU 2]: 128
     bp count [CPU 3]: 128
     bp count [TOTAL]: 512
     rx dma error: 0
     rx frame physical error: 0
     rx frame size error: 0
     rx header error: 0
     rx csum error: 0
     qman cg_tdrop: 0
     qman wred: 0
     qman error cond: 0
     qman early window: 0
     qman late window: 0
     qman fq tdrop: 0
     qman fq retired: 0
     qman orp disabled: 0
     congestion time (ms): 0
     entered congestion: 0
     congested (0/1): 0
root@localhost:~#

Labels (1)
0 Kudos
1 Solution
1,022 Views
yipingwang
NXP TechSupport
NXP TechSupport

Is the interface really running at 100 Mbps, or is this an auto-negotiation failure?

 

With VSC8514 (a QSGMII PHY we use on some of our RDBs), there is a catch. The PHY can operate with or without system-side (in-band) SerDes auto-negotiation, but the Layerscape PCS and the PHY system-side auto-negotiation settings need to coincide (both on or both off).

The dpaa-eth driver enables in-band autoneg on the PCS, but the PHY driver doesn't enable in-band AN. So we end up with a setting mismatch, case in which the PHY will not forward traffic. Even worse, the PHY driver in U-Boot does enable in-band AN, and the setting sticks, which means that sometimes it works and sometimes it doesn't, making it easier to debug.

On VSC8514, we have this Linux patch:

https://source.codeaurora.org/external/qoriq/qoriq-components/linux/commit/?h=LSDK-20.04-V5.4&id=485...

which explicitly enables in-band AN so that it is enabled both in the PHY and in the PCS.

I took a quick look at the VSC8575 documentation, and this register has the same state there as well: chapter 4.5.1 MAC SerDes PCS Control, Address 16E3 (0x10), bit 7 MAC SerDes autonegotiation enable. The default value is 0 (ANEG disabled).

Maybe it's worth a shot to make a similar patch for the init function of VSC8575.

 

Also, something else that could prove useful is ethtool --phy-statistics fm1-mac1.

 

View solution in original post

0 Kudos
13 Replies
1,022 Views
yipingwang
NXP TechSupport
NXP TechSupport

Under u-boot please type "mdio list" and provide the result as the following.

=> mdio list
FSL_MDIO0:
1 - RealTek RTL8211F <--> FM1@DTSEC3
2 - RealTek RTL8211F <--> FM1@DTSEC4
4 - Vitesse VSC8514 <--> FM1@DTSEC1
5 - Vitesse VSC8514 <--> FM1@DTSEC2
6 - Vitesse VSC8514 <--> FM1@DTSEC5
7 - Vitesse VSC8514 <--> FM1@DTSEC6
FM_TGEC_MDIO:
1 - Aquantia AQR105 <--> FM1@TGEC1
=>

Please also provide your dts file.

0 Kudos
1,022 Views
carljones
Contributor III

Hi Yiping Wang,

Here's the mdio list command output

=> mdio list
FSL_MDIO0:
1 - Microsemi VSC8531 <--> FM1@DTSEC3
2 - Microsemi VSC8531 <--> FM1@DTSEC4
4 - Microsemi VSC8575 <--> FM1@DTSEC1
5 - Microsemi VSC8575 <--> FM1@DTSEC2
6 - Microsemi VSC8575 <--> FM1@DTSEC5
7 - Microsemi VSC8575 <--> FM1@DTSEC6
FM_TGEC_MDIO:
=> mii info
PHY 0x01: OUI = 0x01C1, Model = 0x17, Rev = 0x02,  10baseT, HDX
PHY 0x02: OUI = 0x01C1, Model = 0x17, Rev = 0x02,  10baseT, HDX
PHY 0x04: OUI = 0x01C1, Model = 0x3D, Rev = 0x01, 100baseT, FDX
PHY 0x05: OUI = 0x01C1, Model = 0x3D, Rev = 0x01,  10baseT, HDX
PHY 0x06: OUI = 0x01C1, Model = 0x3D, Rev = 0x01,  10baseT, HDX
PHY 0x07: OUI = 0x01C1, Model = 0x3D, Rev = 0x01,  10baseT, HDX
=>

and the dts file.

// SPDX-License-Identifier: GPL-2.0+ OR X11
/*
 * Device Tree Include file for Freescale Layerscape-1043A family SoC.
 *
 * Copyright (C) 2015, Freescale Semiconductor
 *
 * Mingkai Hu <Mingkai.hu@freescale.com>
 */

/dts-v1/;
/include/ "fsl-ls1043a.dtsi"

/ {
    model = "XACT1 Rev3.0 Board";

        aliases {
        spi1 = &dspi0;
        };

};

&dspi0 {
    bus-num = <0>;
    status = "okay";

    dspiflash: n25q12a {
        #address-cells = <1>;
        #size-cells = <1>;
        compatible = "jedec,spi-nor";
        reg = <0>;
        spi-max-frequency = <1000000>; /* input clock */
    };

};

&i2c0 {
    status = "okay";
    ina220@40 {
        compatible = "ti,ina220";
        reg = <0x40>;
        shunt-resistor = <1000>;
    };
    adt7461a@4c {
        compatible = "adi,adt7461a";
        reg = <0x4c>;
    };
    eeprom@52 {
        compatible = "at24,24c512";
        reg = <0x52>;
    };

    eeprom@53 {
        compatible = "at24,24c512";
        reg = <0x53>;
    };

    rtc@68 {
        compatible = "pericom,pt7c4338";
        reg = <0x68>;
    };
};

&ifc {
    status = "okay";
    #address-cells = <2>;
    #size-cells = <1>;
    /* NOR, NAND Flashes and FPGA on board */
    ranges = <0x0 0x0 0x0 0x60000000 0x08000000
          0x1 0x0 0x0 0x7e800000 0x00010000
          0x2 0x0 0x0 0x7fb00000 0x00000100>;

        nor@0,0 {
            compatible = "cfi-flash";
            #address-cells = <1>;
            #size-cells = <1>;
            reg = <0x0 0x0 0x8000000>;
            bank-width = <2>;
            device-width = <1>;
        };

        nand@1,0 {
            compatible = "fsl,ifc-nand";
            #address-cells = <1>;
            #size-cells = <1>;
            reg = <0x1 0x0 0x10000>;
        };

        cpld: board-control@2,0 {
            compatible = "fsl,ls1043ardb-cpld";
            reg = <0x2 0x0 0x0000100>;
        };
};

&duart0 {
    status = "okay";
};

&duart1 {
    status = "okay";
};

(sorry, I can't seem to attach a file)

Thanks,

Carlos

0 Kudos
1,022 Views
carljones
Contributor III

Note: FM1@DTSEC3 and FM1@DTSEC4 (both VSC8531) are working properly.

0 Kudos
1,022 Views
yipingwang
NXP TechSupport
NXP TechSupport

Please refer to VSC8575 PHY driver provide in the following link.

mscc.c - drivers/net/phy/mscc.c - Linux source code (v5.6.14) - Bootlin 

0 Kudos
1,022 Views
carljones
Contributor III

Hi Yiping Wang,

I have updated the mscc.c code and added the required headers. The VSC8575 chip still can't ping out. Please attached logs

fm1-mac1 => VSC8575 => detects link and negotiated speed, can't connect

fm1-mac4 => VSC8531 => normal, can acquire IP from DHCP

NOTICE:  Fixed DDR on board

NOTICE:  2 GB DDR4, 32-bit, CL=11, ECC off
NOTICE:  BL2: v1.5(release):LSDK-20.04
NOTICE:  BL2: Built : 16:47:19, May 21 2020
NOTICE:  BL31: v1.5(release):LSDK-20.04
NOTICE:  BL31: Built : 16:47:24, May 21 2020
NOTICE:  Welcome to LS1043 BL31 Phase


U-Boot 2019.10-dirty (May 21 2020 - 11:58:29 +0800)

SoC:  LS1043AE Rev1.1 (0x87920011)
Clock Configuration:
       CPU0(A53):1600 MHz  CPU1(A53):1600 MHz  CPU2(A53):1600 MHz  
       CPU3(A53):1600 MHz  
       Bus:      400  MHz  DDR:      1600 MT/s  FMAN:     500  MHz
Reset Configuration Word (RCW):
       00000000: 08100010 0a000000 00000000 00000000
       00000010: 04580002 00000012 60040000 c1002000
       00000020: 00000000 00000000 00000000 00038800
       00000030: 00000000 00001100 00000096 00000001
Model: XACT1 Rev3.0 Board
Board: XACT1 Rev3.0, boot from SD
DRAM:  1.9 GiB (DDR4, 32-bit, CL=11, ECC off)
Using SERDES1 Protocol: 1112 (0x458)
SEC0: RNG instantiated
FSL_SDHC: 0

MMC read: dev # 0, block # 18944, count 128 ...
Firmware 'Microcode version 0.0.1 for LS1021a r1.0' for 1021 V1.0
QE: uploading microcode 'Microcode for LS1021a r1.0' version 0.0.1
Flash: 0 Bytes
NAND:  0 MiB
MMC:   Loading Environment from MMC... *** Warning - bad CRC, using default environment

EEPROM: Read failed.
In:    serial
Out:   serial
Err:   serial
Net:   Special SerDes protocol 0x458 for XACT1 Rev3.0 board

MMC read: dev # 0, block # 18432, count 128 ...
Fman1: Uploading microcode version 106.4.18
PCIe0: pcie@3400000 disabled
PCIe1: pcie@3500000 Root Complex: no link
PCIe2: pcie@3600000 disabled
FM1@DTSEC1
Error: FM1@DTSEC1 address not set.
, FM1@DTSEC2
Error: FM1@DTSEC2 address not set.
, FM1@DTSEC3 [PRIME]
Error: FM1@DTSEC3 address not set.
, FM1@DTSEC4
Error: FM1@DTSEC4 address not set.
, FM1@DTSEC5
Error: FM1@DTSEC5 address not set.
, FM1@DTSEC6
Error: FM1@DTSEC6 address not set.

Hit any key to stop autoboot:  0
=> setenv ethaddr 4c:0a:3d:05:50:00
=> setenv eth1addr 4c:0a:3d:05:50:01
=> setenv eth2addr 4c:0a:3d:05:50:02
=> setenv eth3addr 4c:0a:3d:05:50:03
=> setenv eth4addr 4c:0a:3d:05:50:04
=> setenv eth5addr 4c:0a:3d:05:50:05
=> setenv eth6addr 4c:0a:3d:05:50:06
=> saveenv
Saving Environment to MMC... Writing to MMC(0)... OK
=> boot
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Scanning mmc 0:2...
Found U-Boot script /ls1043ardb_boot.scr
965 bytes read in 19 ms (48.8 KiB/s)
## Executing script at 80000000
36747776 bytes read in 1538 ms (22.8 MiB/s)
41085 bytes read in 17 ms (2.3 MiB/s)
## Flattened Device Tree blob at 90000000
   Booting using the fdt blob at 0x90000000
   Using Device Tree in place at 0000000090000000, end 000000009001d07c
WARNING failed to get smmu node: FDT_ERR_NOTFOUND
WARNING failed to get smmu node: FDT_ERR_NOTFOUND

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 5.4.3-dirty (root@fbubuntu) (gcc version 7.5.0 (Ubuntu/Linaro 7.5.0-3ubuntu1~18.04)) 0
[    0.000000] Machine model: LS1043A RDB Board
[    0.000000] earlycon: uart8250 at MMIO 0x00000000021c0500 (options '')
[    0.000000] printk: bootconsole [uart8250] enabled
[    0.000000] efi: Getting EFI parameters from FDT:
[    0.000000] efi: UEFI not found.
[    0.000000] OF: reserved mem: initialized node qman-fqd, compatible id fsl,qman-fqd
[    0.000000] OF: reserved mem: initialized node qman-pfdr, compatible id fsl,qman-pfdr
[    0.000000] OF: reserved mem: initialized node bman-fbpr, compatible id fsl,bman-fbpr
[    0.000000] cma: Reserved 320 MiB at 0x00000000e4000000
[    0.000000] NUMA: No NUMA configuration found
[    0.000000] NUMA: Faking a node at [mem 0x0000000080000000-0x00000000fbdfffff]
[    0.000000] NUMA: NODE_DATA [mem 0xfb60b800-0xfb60cfff]
[    0.000000] Zone ranges:
[    0.000000]   DMA32    [mem 0x0000000080000000-0x00000000fbdfffff]
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000080000000-0x00000000f7ffffff]
[    0.000000]   node   0: [mem 0x00000000fb000000-0x00000000fb7fffff]
[    0.000000]   node   0: [mem 0x00000000fbc00000-0x00000000fbdfffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000000fbdfffff]
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.1 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: MIGRATE_INFO_TYPE not supported.
[    0.000000] psci: SMC Calling Convention v1.1
[    0.000000] percpu: Embedded 24 pages/cpu s59928 r8192 d30184 u98304
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: detected: ARM erratum 845719
[    0.000000] CPU features: kernel page table isolation forced ON by KASLR
[    0.000000] CPU features: detected: Kernel page table isolation (KPTI)
[    0.000000] Speculative Store Bypass Disable mitigation not required
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 486152
[    0.000000] Policy zone: DMA32
[    0.000000] Kernel command line: console=ttyS0,115200 earlycon=uart8250,mmio,0x21c0500 root=PARTUUID=2a54170d-0t
[    0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[    0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 1571388K/1976320K available (18620K kernel code, 2478K rwdata, 8856K rodata, 5888K init, 99)
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=16 to nr_cpu_ids=4.
[    0.000000]  Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GIC: Adjusting CPU interface base to 0x000000000142f000
[    0.000000] GIC: Using split EOI/Deactivate mode
[    0.000000] random: get_random_bytes called from start_kernel+0x2b8/0x458 with crng_init=0
[    0.000000] arch_timer: Enabling global workaround for Freescale erratum a005858
[    0.000000] arch_timer: CPU0: Trapping CNTVCT access
[    0.000000] arch_timer: cp15 timer(s) running at 25.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x5c40939b5, max_idle_ns: 4407952s
[    0.000003] sched_clock: 56 bits at 25MHz, resolution 40ns, wraps every 4398046511100ns
[    0.008686] Console: colour dummy device 80x25
[    0.013200] Calibrating delay loop (skipped), value calculated using timer frequency.. 50.00 BogoMIPS (lpj=1000)
[    0.023606] pid_max: default: 32768 minimum: 301
[    0.028327] LSM: Security Framework initializing
[    0.033020] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.040462] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.072383] ASID allocator initialised with 32768 entries
[    0.085823] rcu: Hierarchical SRCU implementation.
[    0.100050] EFI services will not be available.
[    0.112615] smp: Bringing up secondary CPUs ...
[    0.149316] Detected VIPT I-cache on CPU1
[    0.149343] arch_timer: CPU1: Trapping CNTVCT access
[    0.149347] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.181327] Detected VIPT I-cache on CPU2
[    0.181341] arch_timer: CPU2: Trapping CNTVCT access
[    0.181345] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[    0.213363] Detected VIPT I-cache on CPU3
[    0.213376] arch_timer: CPU3: Trapping CNTVCT access
[    0.213380] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[    0.213420] smp: Brought up 1 node, 4 CPUs
[    0.264234] SMP: Total of 4 processors activated.
[    0.268960] CPU features: detected: 32-bit EL0 Support
[    0.274130] CPU features: detected: CRC32 instructions
[    0.286138] CPU: All CPU(s) started at EL2
[    0.290262] alternatives: patching kernel code
[    0.295781] devtmpfs: initialized
[    0.303614] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.313414] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.326708] xor: measuring software checksum speed
[    0.371183]    8regs     :  3071.000 MB/sec
[    0.415206]    32regs    :  3774.000 MB/sec
[    0.459233]    arm64_neon:  3312.000 MB/sec
[    0.463434] xor: using function: 32regs (3774.000 MB/sec)
[    0.468861] pinctrl core: initialized pinctrl subsystem
[    0.474956] DMI not present or invalid.
[    0.479049] NET: Registered protocol family 16
[    0.490061] DMA: preallocated 256 KiB pool for atomic allocations
[    0.496189] audit: initializing netlink subsys (disabled)
[    0.501673] audit: type=2000 audit(0.456:1): state=initialized audit_enabled=0 res=1
[    0.509471] cpuidle: using governor menu
[    0.513520] Bman ver:0a02,02,01
[    0.518089] qman-fqd addr 0x00000000fb800000 size 0x400000
[    0.523600] qman-pfdr addr 0x00000000f8000000 size 0x2000000
[    0.529287] Qman ver:0a01,03,02,00
[    0.532867] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.540598] Serial: AMBA PL011 UART driver
[    0.544778] imx mu driver is registered.
[    0.548731] imx rpmsg driver is registered.
[    0.554362] Machine: LS1043A RDB Board
[    0.558127] SoC family: QorIQ LS1043A
[    0.561799] SoC ID: svr:0x87920011, Revision: 1.1
[    0.594965] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[    0.601712] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
[    0.608447] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.615180] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
[    0.623222] cryptd: max_cpu_qlen set to 1000
[    0.695594] raid6: neonx8   gen()  2302 MB/s
[    0.767951] raid6: neonx8   xor()  2106 MB/s
[    0.840324] raid6: neonx4   gen()  2127 MB/s
[    0.912691] raid6: neonx4   xor()  1994 MB/s
[    0.984751] raid6: neonx2   gen()  1651 MB/s
[    1.056767] raid6: neonx2   xor()  1668 MB/s
[    1.128868] raid6: neonx1   gen()  1010 MB/s
[    1.200875] raid6: neonx1   xor()  1174 MB/s
[    1.272927] raid6: int64x8  gen()  1343 MB/s
[    1.344949] raid6: int64x8  xor()  1015 MB/s
[    1.416983] raid6: int64x4  gen()  1457 MB/s
[    1.489023] raid6: int64x4  xor()  1041 MB/s
[    1.561068] raid6: int64x2  gen()   961 MB/s
[    1.633138] raid6: int64x2  xor()   826 MB/s
[    1.705204] raid6: int64x1  gen()   643 MB/s
[    1.777221] raid6: int64x1  xor()   606 MB/s
[    1.781508] raid6: using algorithm neonx8 gen() 2302 MB/s
[    1.786930] raid6: .... xor() 2106 MB/s, rmw enabled
[    1.791916] raid6: using neon recovery algorithm
[    1.797316] ACPI: Interpreter disabled.
[    1.803858] iommu: Default domain type: Passthrough
[    1.809014] vgaarb: loaded
[    1.811940] SCSI subsystem initialized
[    1.815934] usbcore: registered new interface driver usbfs
[    1.821470] usbcore: registered new interface driver hub
[    1.826844] usbcore: registered new device driver usb
[    1.832785] i2c i2c-0: IMX I2C adapter registered
[    1.837531] i2c i2c-0: using dma0chan16 (tx) and dma0chan17 (rx) for DMA transfers
[    1.845908] mc: Linux media interface: v0.10
[    1.850212] videodev: Linux video capture interface: v2.00
[    1.855769] pps_core: LinuxPPS API ver. 1 registered
[    1.860756] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    1.869942] PTP clock support registered
[    1.874013] EDAC MC: Ver: 3.0.0
[    1.878099] bman-fbpr addr 0x00000000fa000000 size 0x1000000
[    1.883813] Bman err interrupt handler present
[    1.888839] Bman portal initialised, cpu 0
[    1.893034] Bman portal initialised, cpu 1
[    1.897228] Bman portal initialised, cpu 2
[    1.901421] Bman portal initialised, cpu 3
[    1.905534] Bman portals initialised
[    1.909999] Qman err interrupt handler present
[    1.914650] QMan: Allocated lookup table at (____ptrval____), entry count 65537
[    1.922522] Qman portal initialised, cpu 0
[    1.926709] Qman portal initialised, cpu 1
[    1.930896] Qman portal initialised, cpu 2
[    1.935082] Qman portal initialised, cpu 3
[    1.939196] Qman portals initialised
[    1.942854] Bman: BPID allocator includes range 32:32
[    1.947979] Qman: FQID allocator includes range 256:256
[    1.953229] Qman: FQID allocator includes range 32768:32768
[    1.958876] Qman: CGRID allocator includes range 0:256
[    1.964181] Qman: pool channel allocator includes range 1025:15
[    1.970214] No USDPAA memory, no 'fsl,usdpaa-mem' in device-tree
[    1.976537] fsl-ifc 1530000.ifc: Freescale Integrated Flash Controller
[    1.983113] fsl-ifc 1530000.ifc: IFC version 1.4, 8 banks
[    1.988709] FPGA manager framework
[    1.992179] Advanced Linux Sound Architecture Driver Initialized.
[    1.999088] clocksource: Switched to clocksource arch_sys_counter
[    2.005329] VFS: Disk quotas dquot_6.6.0
[    2.009305] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    2.016319] pnp: PnP ACPI: disabled
[    2.023904] thermal_sys: Registered thermal governor 'step_wise'
[    2.023906] thermal_sys: Registered thermal governor 'power_allocator'
[    2.030477] NET: Registered protocol family 2
[    2.041695] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384 bytes, linear)
[    2.050292] TCP established hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    2.058328] TCP bind hash table entries: 16384 (order: 6, 262144 bytes, linear)
[    2.065838] TCP: Hash tables configured (established 16384 bind 16384)
[    2.072461] UDP hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    2.079224] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    2.086523] NET: Registered protocol family 1
[    2.091169] RPC: Registered named UNIX socket transport module.
[    2.097121] RPC: Registered udp transport module.
[    2.101848] RPC: Registered tcp transport module.
[    2.106573] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    2.113049] PCI: CLS 0 bytes, default 64
[    2.117549] hw perfevents: enabled with armv8_pmuv3 PMU driver, 7 counters available
[    2.125685] kvm [1]: IPA Size Limit: 40bits
[    2.130553] kvm [1]: vgic interrupt IRQ1
[    2.134573] kvm [1]: Hyp mode initialized successfully
[    2.143672] Initialise system trusted keyrings
[    2.148210] workingset: timestamp_bits=44 max_order=19 bucket_order=0
[    2.155111] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    2.161136] NFS: Registering the id_resolver key type
[    2.166223] Key type id_resolver registered
[    2.170425] Key type id_legacy registered
[    2.174456] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    2.181205] jffs2: version 2.2. (NAND) �੩ 2001-2006 Red Hat, Inc.
[    2.187482] fuse: init (API version 7.31)
[    2.191591] 9p: Installing v9fs 9p2000 file system support
[    2.207163] Key type asymmetric registered
[    2.211291] Asymmetric key parser 'x509' registered
[    2.216211] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 243)
[    2.223708] io scheduler mq-deadline registered
[    2.228261] io scheduler kyber registered
[    2.244429] layerscape-pcie 3500000.pcie: host bridge /soc/pcie@3500000 ranges:
[    2.251792] layerscape-pcie 3500000.pcie:    IO 0x4800010000..0x480001ffff -> 0x00000000
[    2.259935] layerscape-pcie 3500000.pcie:   MEM 0x4840000000..0x487fffffff -> 0x40000000
[    2.268171] layerscape-pcie 3500000.pcie: PCI host bridge to bus 0000:00
[    2.274910] pci_bus 0000:00: root bus resource [bus 00-ff]
[    2.280423] pci_bus 0000:00: root bus resource [io  0x0000-0xffff]
[    2.286635] pci_bus 0000:00: root bus resource [mem 0x4840000000-0x487fffffff] (bus address [0x40000000-0x7ffff)
[    2.297228] pci 0000:00:00.0: [1957:8080] type 01 class 0x060400
[    2.303283] pci 0000:00:00.0: reg 0x38: [mem 0x4840000000-0x48400007ff pref]
[    2.310398] pci 0000:00:00.0: supports D1 D2
[    2.314688] pci 0000:00:00.0: PME# supported from D0 D1 D2 D3hot
[    2.323594] pci 0000:00:00.0: BAR 6: assigned [mem 0x4840000000-0x48400007ff pref]
[    2.331208] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[    2.336615] pcieport 0000:00:00.0: PME: Signaling with IRQ 62
[    2.342528] pcieport 0000:00:00.0: AER: enabled with IRQ 63
[    2.349732] EINJ: ACPI disabled.
[    2.360068] Bus freq driver module loaded
[    2.370738] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    2.378842] printk: console [ttyS0] disabled
[    2.383176] 21c0500.serial: ttyS0 at MMIO 0x21c0500 (irq = 38, base_baud = 25000000) is a 16550A
[    2.392031] printk: console [ttyS0] enabled
[    2.392031] printk: console [ttyS0] enabled
[    2.400402] printk: bootconsole [uart8250] disabled
[    2.400402] printk: bootconsole [uart8250] disabled
[    2.410460] 21c0600.serial: ttyS1 at MMIO 0x21c0600 (irq = 38, base_baud = 25000000) is a 16550A
[    2.419514] 21d0500.serial: ttyS2 at MMIO 0x21d0500 (irq = 39, base_baud = 25000000) is a 16550A
[    2.428566] 21d0600.serial: ttyS3 at MMIO 0x21d0600 (irq = 39, base_baud = 25000000) is a 16550A
[    2.437932] SuperH (H)SCI(F) driver initialized
[    2.443205] msm_serial: driver initialized
[    2.458435] brd: module loaded
[    2.465801] loop: module loaded
[    2.528547] imx ahci driver is registered.
[    2.533061] ahci-qoriq 3200000.sata: 3200000.sata supply ahci not found, using dummy regulator
[    2.541706] ahci-qoriq 3200000.sata: 3200000.sata supply phy not found, using dummy regulator
[    2.550255] ahci-qoriq 3200000.sata: 3200000.sata supply target not found, using dummy regulator
[    2.559125] ahci-qoriq 3200000.sata: AHCI 0001.0301 32 slots 1 ports 6 Gbps 0x1 impl platform mode
[    2.568083] ahci-qoriq 3200000.sata: flags: 64bit ncq sntf pm clo only pmp fbs pio slum part ccc sds apst
[    2.578334] scsi host0: ahci-qoriq
[    2.581880] ata1: SATA max UDMA/133 mmio [mem 0x03200000-0x0320ffff] port 0x100 irq 49
[    2.590514] physmap-flash 60000000.nor: physmap platform flash device: [mem 0x60000000-0x67ffffff]
[    2.599510] physmap-flash 60000000.nor: map_probe failed
[    2.605508] nand: No NAND device found
[    2.610621] spi-nor spi0.0: unrecognized JEDEC id bytes: ff ff ff ff ff ff
[    2.620340] libphy: Fixed MDIO Bus: probed
[    2.625029] tun: Universal TUN/TAP device driver, 1.6
[    2.631003] thunder_xcv, ver 1.0
[    2.634258] thunder_bgx, ver 1.0
[    2.637504] nicpf, ver 1.0
[    2.640738] libphy: Freescale XGMAC MDIO Bus: probed
[    2.648521] libphy: Freescale XGMAC MDIO Bus: probed
[    2.656889] libphy: Freescale XGMAC MDIO Bus: probed
[    2.662121] libphy: Freescale XGMAC MDIO Bus: probed
[    2.667359] libphy: Freescale XGMAC MDIO Bus: probed
[    2.672582] libphy: Freescale XGMAC MDIO Bus: probed
[    2.677806] libphy: Freescale XGMAC MDIO Bus: probed
[    2.683025] libphy: Freescale XGMAC MDIO Bus: probed
[    2.688257] libphy: Freescale XGMAC MDIO Bus: probed
[    2.705258] Freescale FM module, FMD API version 21.1.0
[    2.713403] Freescale FM Ports module
[    2.717064] fsl_mac: fsl_mac: FSL FMan MAC API based driver
[    2.723111] fsl_mac 1ae0000.ethernet: FMan MEMAC
[    2.727730] fsl_mac 1ae0000.ethernet: FMan MAC address: 4c:0a:3d:05:50:00
[    2.734862] fsl_mac 1ae2000.ethernet: FMan MEMAC
[    2.739477] fsl_mac 1ae2000.ethernet: FMan MAC address: 4c:0a:3d:05:50:01
[    2.746362] fsl_mac 1ae4000.ethernet: FMan MEMAC
[    2.750979] fsl_mac 1ae4000.ethernet: FMan MAC address: 4c:0a:3d:05:50:02
[    2.757867] fsl_mac 1ae6000.ethernet: FMan MEMAC
[    2.762483] fsl_mac 1ae6000.ethernet: FMan MAC address: 4c:0a:3d:05:50:03
[    2.769619] fsl_mac 1ae8000.ethernet: FMan MEMAC
[    2.774235] fsl_mac 1ae8000.ethernet: FMan MAC address: 4c:0a:3d:05:50:04
[    2.781370] fsl_mac 1aea000.ethernet: FMan MEMAC
[    2.785986] fsl_mac 1aea000.ethernet: FMan MAC address: 4c:0a:3d:05:50:05
[    2.792806] fsl_dpa: FSL DPAA Ethernet driver
[    2.798057] fsl_dpa soc:fsl,dpaa:ethernet@0: Skip RX PCD High Priority FQs initialization
[    2.807507] fsl_dpa: fsl_dpa: Probed interface eth0
[    2.812807] fsl_dpa soc:fsl,dpaa:ethernet@1: Skip RX PCD High Priority FQs initialization
[    2.822227] fsl_dpa: fsl_dpa: Probed interface eth1
[    2.827577] fsl_dpa soc:fsl,dpaa:ethernet@2: Skip RX PCD High Priority FQs initialization
[    2.837070] fsl_dpa: fsl_dpa: Probed interface eth2
[    2.842490] fsl_dpa soc:fsl,dpaa:ethernet@3: Skip RX PCD High Priority FQs initialization
[    2.852082] fsl_dpa: fsl_dpa: Probed interface eth3
[    2.857571] fsl_dpa soc:fsl,dpaa:ethernet@4: Skip RX PCD High Priority FQs initialization
[    2.867268] fsl_dpa: fsl_dpa: Probed interface eth4
[    2.872826] fsl_dpa soc:fsl,dpaa:ethernet@5: Skip RX PCD High Priority FQs initialization
[    2.882583] fsl_dpa: fsl_dpa: Probed interface eth5
[    2.887532] fsl_dpa soc:fsl,dpaa:ethernet@8: of_find_device_by_node(ethernet@f0000) failed
[    2.895807] fsl_dpa: probe of soc:fsl,dpaa:ethernet@8 failed with error -22
[    2.901287] ata1: SATA link down (SStatus 0 SControl 300)
[    2.902779] fsl_advanced: FSL DPAA Advanced drivers:
[    2.913101] fsl_proxy: FSL DPAA Proxy initialization driver
[    2.918866] fsl_oh: FSL FMan Offline Parsing port driver
[    2.924973] hclge is initializing
[    2.928286] hns3: Hisilicon Ethernet Network Driver for Hip08 Family - version
[    2.935501] hns3: Copyright (c) 2017 Huawei Corporation.
[    2.940835] e1000: Intel(R) PRO/1000 Network Driver - version 7.3.21-k8-NAPI
[    2.947876] e1000: Copyright (c) 1999-2006 Intel Corporation.
[    2.953654] e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k
[    2.959480] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[    2.965418] igb: Intel(R) Gigabit Ethernet Network Driver - version 5.6.0-k
[    2.972373] igb: Copyright (c) 2007-2014 Intel Corporation.
[    2.977966] igbvf: Intel(R) Gigabit Virtual Function Network Driver - version 2.4.0-k
[    2.985789] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
[    2.992082] sky2: driver version 1.30
[    2.996418] usbcore: registered new interface driver r8152
[    3.001920] usbcore: registered new interface driver asix
[    3.007334] usbcore: registered new interface driver ax88179_178a
[    3.013792] VFIO - User Level meta-driver version: 0.3
[    3.019318] dwc3 2f00000.usb3: Failed to get clk 'ref': -2
[    3.025288] dwc3 3000000.usb3: Failed to get clk 'ref': -2
[    3.031095] dwc3 3100000.usb3: Failed to get clk 'ref': -2
[    3.038411] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    3.044941] ehci-pci: EHCI PCI platform driver
[    3.049402] ehci-platform: EHCI generic platform driver
[    3.054775] ehci-orion: EHCI orion driver
[    3.058895] ehci-exynos: EHCI EXYNOS driver
[    3.063173] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    3.069355] ohci-pci: OHCI PCI platform driver
[    3.073816] ohci-platform: OHCI generic platform driver
[    3.079178] ohci-exynos: OHCI EXYNOS driver
[    3.083812] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    3.089304] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
[    3.097020] xhci-hcd xhci-hcd.0.auto: hcc params 0x0220f66d hci version 0x100 quirks 0x0000000002010810
[    3.106435] xhci-hcd xhci-hcd.0.auto: irq 46, io mem 0x02f00000
[    3.112792] hub 1-0:1.0: USB hub found
[    3.116553] hub 1-0:1.0: 1 port detected
[    3.120648] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    3.126134] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
[    3.133805] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0 SuperSpeed
[    3.140626] hub 2-0:1.0: USB hub found
[    3.144387] hub 2-0:1.0: 1 port detected
[    3.148520] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[    3.154008] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 3
[    3.161714] xhci-hcd xhci-hcd.1.auto: hcc params 0x0220f66d hci version 0x100 quirks 0x0000000002010810
[    3.171120] xhci-hcd xhci-hcd.1.auto: irq 47, io mem 0x03000000
[    3.177395] hub 3-0:1.0: USB hub found
[    3.181153] hub 3-0:1.0: 1 port detected
[    3.185228] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[    3.190713] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 4
[    3.198368] xhci-hcd xhci-hcd.1.auto: Host supports USB 3.0 SuperSpeed
[    3.205179] hub 4-0:1.0: USB hub found
[    3.208938] hub 4-0:1.0: 1 port detected
[    3.213064] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller
[    3.218553] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 5
[    3.226261] xhci-hcd xhci-hcd.2.auto: hcc params 0x0220f66d hci version 0x100 quirks 0x0000000002010810
[    3.235666] xhci-hcd xhci-hcd.2.auto: irq 48, io mem 0x03100000
[    3.241934] hub 5-0:1.0: USB hub found
[    3.245692] hub 5-0:1.0: 1 port detected
[    3.249764] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller
[    3.255255] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 6
[    3.262913] xhci-hcd xhci-hcd.2.auto: Host supports USB 3.0 SuperSpeed
[    3.269723] hub 6-0:1.0: USB hub found
[    3.273481] hub 6-0:1.0: 1 port detected
[    3.277893] usbcore: registered new interface driver usb-storage
[    3.287712] ftm-alarm 29d0000.timer: registered as rtc1
[    3.294679] pcf85363 0-0051: registered as rtc0
[    3.300015] i2c /dev entries driver
[    3.306159] ptp_qoriq: device tree node missing required elements, try automatic configuration
[    3.314922] pps pps0: new PPS source ptp0
[    3.322856] imx2-wdt 2ad0000.wdog: timeout 60 sec (nowayout=0)
[    3.330078] qoriq_cpufreq: Freescale QorIQ CPU frequency scaling driver
[    3.337143] sdhci: Secure Digital Host Controller Interface driver
[    3.343334] sdhci: Copyright(c) Pierre Ossman
[    3.348167] Synopsys Designware Multimedia Card Interface Driver
[    3.355328] sdhci-pltfm: SDHCI platform and OF driver helper
[    3.387648] mmc0: SDHCI controller on 1560000.esdhc [1560000.esdhc] using ADMA 64-bit
[    3.397405] ledtrig-cpu: registered to indicate activity on CPUs
[    3.404354] caam 1700000.crypto: Linux CAAM Queue I/F driver initialised
[    3.411434] caam 1700000.crypto: device ID = 0x0a12060000000000 (Era 8)
[    3.418061] caam 1700000.crypto: job rings = 3, qi = 1
[    3.430371] mmc0: new high speed SDHC card at address 59b4
[    3.436292] caam algorithms registered in /proc/crypto
[    3.436446] mmcblk0: mmc0:59b4 2$CGO 14.9 GiB
[    3.443528] caam 1700000.crypto: caam pkc algorithms registered in /proc/crypto
[    3.453419]  mmcblk0: p1 p2 p3 p4
[    3.453728] caam_jr 1710000.jr: registering rng-caam
[    3.466728] caam 1700000.crypto: algorithms registered in /proc/crypto
[    3.484119] usbcore: registered new interface driver usbhid
[    3.489694] usbhid: USB HID core driver
[    3.495160] Freescale USDPAA process driver
[    3.499341] fsl-usdpaa: no region found
[    3.503187] Freescale USDPAA process IRQ driver
[    3.511217] optee: probing for conduit method from DT.
[    3.516353] optee: api uid mismatch
[    3.525658] NET: Registered protocol family 26
[    3.530118] u32 classifier
[    3.532829]     input device check on
[    3.536485]     Actions configured
[    3.540292] Initializing XFRM netlink socket
[    3.544640] NET: Registered protocol family 10
[    3.549758] Segment Routing with IPv6
[    3.553476] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    3.559690] NET: Registered protocol family 17
[    3.564143] NET: Registered protocol family 15
[    3.568604] Bridge firewalling registered
[    3.572732] 8021q: 802.1Q VLAN Support v1.8
[    3.576924] lib80211: common routines for IEEE802.11 drivers
[    3.582630] 9pnet: Installing 9P2000 support
[    3.586916] tsn generic netlink module v1 init...
[    3.591650] Key type dns_resolver registered
[    3.596194] registered taskstats version 1
[    3.600300] Loading compiled-in X.509 certificates
[    3.606051] Btrfs loaded, crc32c=crc32c-generic
[    3.613634] pcf85363 0-0051: setting system clock to 2020-05-21T09:12:57 UTC (1590052377)
[    3.622267] ALSA device list:
[    3.625234]   No soundcards found.
[    3.646086] EXT4-fs (mmcblk0p4): mounted filesystem with ordered data mode. Opts: (null)
[    3.654229] VFS: Mounted root (ext4 filesystem) on device 179:4.
[    3.667584] devtmpfs: mounted
[    3.673340] Freeing unused kernel memory: 5888K
[    3.677970] Run /sbin/init as init process
[    3.860120] random: fast init done
[    4.225055] systemd[1]: systemd 237 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVIN)
[    4.248962] systemd[1]: Detected architecture arm64.

Welcome to NXP LSDK 2004 main!

[    4.306714] systemd[1]: Set hostname to <localhost>.
[    4.639488] systemd[1]: File /lib/systemd/system/systemd-udevd.service:35 configures an IP firewall (IPAddressD.
[    4.656285] systemd[1]: Proceeding WITHOUT firewalling in effect! (This warning is only shown for the first loa)
[    4.738697] systemd[1]: Configuration file /lib/systemd/system/weston.service is marked executable. Please remo.
[    4.780932] systemd[1]: Configuration file /lib/systemd/system/fmc.service is marked executable. Please remove .
[    4.805913] random: systemd: uninitialized urandom read (16 bytes read)
[    4.813708] systemd[1]: Created slice User and Session Slice.
[  OK  ] Created slice User and Session Slice.
[    4.835267] random: systemd: uninitialized urandom read (16 bytes read)
[    4.842143] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[  OK  ] Started Forward Password Requests to Wall Directory Watch.
[    4.867277] random: systemd: uninitialized urandom read (16 bytes read)
[    4.873932] systemd[1]: Reached target Swap.
[  OK  ] Reached target Swap.
[  OK  ] Reached target Remote File Systems.
[  OK  ] Started Dispatch Password Requests to Console Directory Watch.
[  OK  ] Reached target Paths.
[  OK  ] Created slice System Slice.
[  OK  ] Created slice system-serial\x2dgetty.slice.
[  OK  ] Listening on udev Control Socket.
[  OK  ] Listening on Syslog Socket.
[  OK  ] Listening on udev Kernel Socket.
[  OK  ] Listening on Journal Audit Socket.
[  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
[  OK  ] Reached target Slices.
[  OK  ] Listening on Journal Socket.
         Starting Create Static Device Nodes in /dev...
         Starting Set the console keyboard layout...
         Mounting POSIX Message Queue File System...
         Mounting Huge Pages File System...
         Starting Remount Root and Kernel File Systems...
         Starting udev Coldplug all Devices...
         Mounting Kernel Debug File System...
[  OK  ] Listening on Journal Socket (/dev/log).
         Starting Journal Service...
[  OK  ] Reached target Local Encrypted Volumes.
[  OK  ] Started Create Static Device Nodes in /dev.
[FAILED] Failed to mount POSIX Message Queue File System.
See 'systemctl status dev-mqueue.mount' for details.
[FAILED] Failed to mount Huge Pages File System.
See 'systemctl status dev-hugepages.mount' for details.
[  OK  ] Started Remount Root and Kernel File Systems.
[  OK  ] Started Journal Service.
[  OK  ] Started Set the console keyboard layout.
[FAILED] Failed to mount Kernel Debug File System.
See 'systemctl status sys-kernel-debug.mount' for details.
         Starting Load/Save Random Seed...
         Starting Flush Journal to Persistent Storage...
[  OK  ] Reached target Local File Systems (Pre).
[  OK  ] Reached target Local File Systems.
         Starting Set console font and keymap...
         Starting QEMU KVM preparation - module, ksm, hugepages...
         Mounting Boot Partition...
         Starting udev Kernel Device Manager...
[  OK  ] Started udev Coldplug all Devices.
[  OK  ] Started Load/Save Random Seed.
[  OK  ] Started Set console font and keymap.
[  OK  ] Started QEMU KVM preparation - module, ksm, hugepages.
[FAILED] Failed to mount Boot Partition.
See 'systemctl status boot.mount' for details.
[DEPEND] Dependency failed for Unattended Upgrades Shutdown.
[  OK  ] Started udev Kernel Device Manager.
         Starting Load Kernel Modules...
[    5.744079] systemd-journald[514]: Received request to flush runtime journal from PID 1
[FAILED] Failed to start Load Kernel Modules.
See 'systemctl status systemd-modules-load.service' for details.
         Mounting FUSE Control File System...
         Starting Apply Kernel Variables...
         Mounting Kernel Configuration File System...
[FAILED] Failed to mount FUSE Control File System.
See 'systemctl status sys-fs-fuse-connections.mount' for details.
[FAILED] Failed to mount Kernel Configuration File System.
See 'systemctl status sys-kernel-config.mount' for details.
         Mounting Kernel Configuration File System...
[  OK  ] Started Apply Kernel Variables.
[  OK  ] Started Flush Journal to Persistent Storage.
[FAILED] Failed to mount Kernel Configuration File System.
See 'systemctl status sys-kernel-config.mount' for details.
         Mounting FUSE Control File System...
         Starting Create Volatile Files and Directories...
         Starting Raise network interfaces...
[FAILED] Failed to mount FUSE Control File System.
See 'systemctl status sys-fs-fuse-connections.mount' for details.
[  OK  ] Found device /dev/ttyS0.
[FAILED] Failed to start Create Volatile Files and Directories.
See 'systemctl status systemd-tmpfiles-setup.service' for details.
         Starting Network Name Resolution...
         Starting Network Time Synchronization...
         Starting Update UTMP about System Boot/Shutdown...
[  OK  ] Started Update UTMP about System Boot/Shutdown.
[  OK  ] Started Network Time Synchronization.
[  OK  ] Reached target System Time Synchronized.
[  OK  ] Reached target System Initialization.
[  OK  ] Started Message of the Day.
         Starting Docker Socket for the API.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Started Daily apt download activities.
[  OK  ] Started Daily apt upgrade and clean activities.
[  OK  ] Started Discard unused blocks once a week.
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Reached target Timers.
[  OK  ] Started Network Name Resolution.
[  OK  ] Started Raise network interfaces.
[  OK  ] Listening on Docker Socket for the API.
[  OK  ] Reached target Sockets.
[  OK  ] Reached target Basic System.
         Starting Dispatcher daemon for systemd-networkd...
         Starting LSB: Execute the kexec -e command to reboot system...
         Starting System Logging Service...
         Starting Resets System Activity Data Collector...
[  OK  ] Started Set the CPU Frequency Scaling governor.
         Starting Login Service...
[  OK  ] Started D-Bus System Message Bus.
[  OK  ] Started Regular background program processing daemon.
[  OK  ] Reached target Network.
         Starting OpenBSD Secure Shell server...
[  OK  ] Reached target Network is Online.
         Starting LSB: HPA's tftp server...
[  OK  ] Started strongSwan IPsec IKEv1/IKEv2 daemon using ipsec.conf.
         Starting vsftpd FTP server...
         Starting containerd container runtime...
         Starting Permit User Sessions...
         Starting NXP Frame Manager Configuration tool...
[  OK  ] Reached target Host and Network Name Lookups.
[  OK  ] Started System Logging Service.
[  OK  ] Started Resets System Activity Data Collector.
[  OK  ] Started vsftpd FTP server.
[  OK  ] Started containerd container runtime.
[  OK  ] Started Permit User Sessions.
[  OK  ] Started Login Service.
         Starting Weston Wayland Compositor (on tty7)...
         Starting Set console scheme...
[  OK  ] Started Serial Getty on ttyS0.
         Starting Docker Application Container Engine...
[  OK  ] Started LSB: Execute the kexec -e command to reboot system.
[  OK  ] Started Weston Wayland Compositor (on tty7).
[  OK  ] Started Set console scheme.
[  OK  ] Created slice system-getty.slice.
[  OK  ] Started Getty on tty1.
[  OK  ] Reached target Login Prompts.
         Starting LSB: Load kernel image with kexec...
[  OK  ] Started LSB: HPA's tftp server.
[  OK  ] Started LSB: Load kernel image with kexec.
[  OK  ] Started OpenBSD Secure Shell server.
[  OK  ] Created slice User Slice of root.
         Starting User Manager for UID 0...
[  OK  ] Started Session 1 of user root.
[FAILED] Failed to start NXP Frame Manager Configuration tool.
See 'systemctl status fmc.service' for details.
[  OK  ] Started User Manager for UID 0.
[  OK  ] Started Dispatcher daemon for systemd-networkd.
         Stopping User Manager for UID 0...

NXP LSDK 2004 main
localhost login: root
Password:
Last login: Thu May 21 09:13:03 UTC 2020 on tty7
Welcome to NXP LSDK 2004 main (GNU/Linux 5.4.3-dirty aarch64)

 * Support:        https://www.nxp.com/lsdk
 * Documentation:  https://lsdk.github.io/document
 * Licensing:      https://lsdk.github.io/eula

The programs included with the NXP LSDK are free software, the exact distribution
terms of some programs are described in the individual files in /usr/share/doc.
NXP LSDK comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law.
By using this LSDK, you indicate that you accept the terms of the Agreement in
the link above and you acknowledge that you have the authority, for yourself
or on behalf of your company, to bind your company to these terms.
root@localhost:~# dhclient -v -4
Internet Systems Consortium DHCP Client 4.3.5
Copyright 2004-2016 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/docker0/02:42:f3:fe:30:75
Sending on   LPF/docker0/02:42:f3:fe:30:75
Listening on LPF/fm1-mac6/4c:0a:3d:05:50:05
Sending on   LPF/fm1-mac6/4c:0a:3d:05:50:05
Listening on LPF/fm1-mac5/4c:0a:3d:05:50:04
Sending on   LPF/fm1-mac5/4c:0a:3d:05:50:04
Listening on LPF/fm1-mac4/4c:0a:3d:05:50:03
Sending on   LPF/fm1-mac4/4c:0a:3d:05:50:03
Listening on LPF/fm1-mac3/4c:0a:3d:05:50:02
Sending on   LPF/fm1-mac3/4c:0a:3d:05:50:02
Listening on LPF/fm1-mac2/4c:0a:3d:05:50:01
Sending on   LPF/fm1-mac2/4c:0a:3d:05:50:01
Listening on LPF/fm1-mac1/4c:0a:3d:05:50:00
Sending on   LPF/fm1-mac1/4c:0a:3d:05:50:00
Sending on   Socket/fallback
DHCPDISCOVER on docker0 to 255.255.255.255 port 67 interval 3 (xid=0xd2e6420e)
DHCPDISCOVER on fm1-mac6 to 255.255.255.255 port 67 interval 3 (xid=0x294e8d09)
DHCPDISCOVER on fm1-mac5 to 255.255.255.255 port 67 interval 3 (xid=0x5daf9804)
DHCPDISCOVER on fm1-mac4 to 255.255.255.255 port 67 interval 3 (xid=0x56ca41a)
DHCPDISCOVER on fm1-mac3 to 255.255.255.255 port 67 interval 3 (xid=0x231a5801)
DHCPDISCOVER on fm1-mac2 to 255.255.255.255 port 67 interval 3 (xid=0x55d9ca2d)
DHCPDISCOVER on fm1-mac1 to 255.255.255.255 port 67 interval 3 (xid=0x9ffe9502)
DHCPDISCOVER on fm1-mac1 to 255.255.255.255 port 67 interval 7 (xid=0x9ffe9502)
DHCPDISCOVER on docker0 to 255.255.255.255 port 67 interval 7 (xid=0xd2e6420e)
DHCPDISCOVER on fm1-mac6 to 255.255.255.255 port 67 interval 4 (xid=0x294e8d09)
DHCPDISCOVER on fm1-mac3 to 255.255.255.255 port 67 interval 4 (xid=0x231a5801)
DHCPDISCOVER on fm1-mac5 to 255.255.255.255 port 67 interval 3 (xid=0x5daf9804)
DHCPDISCOVER on fm1-mac4 to 255.255.255.255 port 67 interval 3 (xid=0x56ca41a)
DHCPDISCOVER on fm1-mac2 to 255.255.255.255 port 67 interval 4 (xid=0x55d9ca2d)
DHCPDISCOVER on fm1-mac5 to 255.255.255.255 port 67 interval 7 (xid=0x5daf9804)
DHCPDISCOVER on fm1-mac6 to 255.255.255.255 port 67 interval 11 (xid=0x294e8d09)
DHCPDISCOVER on fm1-mac4 to 255.255.255.255 port 67 interval 7 (xid=0x56ca41a)
DHCPDISCOVER on fm1-mac3 to 255.255.255.255 port 67 interval 6 (xid=0x231a5801)
DHCPDISCOVER on fm1-mac2 to 255.255.255.255 port 67 interval 8 (xid=0x55d9ca2d)
DHCPDISCOVER on fm1-mac1 to 255.255.255.255 port 67 interval 11 (xid=0x9ffe9502)
DHCPDISCOVER on docker0 to 255.255.255.255 port 67 interval 14 (xid=0xd2e6420e)
DHCPDISCOVER on fm1-mac3 to 255.255.255.255 port 67 interval 15 (xid=0x231a5801)
DHCPDISCOVER on fm1-mac4 to 255.255.255.255 port 67 interval 20 (xid=0x56ca41a)
DHCPDISCOVER on fm1-mac5 to 255.255.255.255 port 67 interval 11 (xid=0x5daf9804)
DHCPDISCOVER on fm1-mac2 to 255.255.255.255 port 67 interval 9 (xid=0x55d9ca2d)
DHCPDISCOVER on fm1-mac6 to 255.255.255.255 port 67 interval 21 (xid=0x294e8d09)
DHCPDISCOVER on fm1-mac1 to 255.255.255.255 port 67 interval 15 (xid=0x9ffe9502)
DHCPDISCOVER on docker0 to 255.255.255.255 port 67 interval 17 (xid=0xd2e6420e)
DHCPDISCOVER on fm1-mac5 to 255.255.255.255 port 67 interval 12 (xid=0x5daf9804)
DHCPDISCOVER on fm1-mac2 to 255.255.255.255 port 67 interval 10 (xid=0x55d9ca2d)
DHCPDISCOVER on fm1-mac3 to 255.255.255.255 port 67 interval 16 (xid=0x231a5801)
DHCPDISCOVER on fm1-mac4 to 255.255.255.255 port 67 interval 15 (xid=0x56ca41a)
DHCPDISCOVER on fm1-mac2 to 255.255.255.255 port 67 interval 12 (xid=0x55d9ca2d)
DHCPDISCOVER on fm1-mac1 to 255.255.255.255 port 67 interval 19 (xid=0x9ffe9502)
DHCPDISCOVER on fm1-mac5 to 255.255.255.255 port 67 interval 7 (xid=0x5daf9804)
DHCPDISCOVER on fm1-mac6 to 255.255.255.255 port 67 interval 15 (xid=0x294e8d09)
DHCPDISCOVER on docker0 to 255.255.255.255 port 67 interval 13 (xid=0xd2e6420e)
DHCPDISCOVER on fm1-mac5 to 255.255.255.255 port 67 interval 8 (xid=0x5daf9804)
DHCPDISCOVER on fm1-mac3 to 255.255.255.255 port 67 interval 20 (xid=0x231a5801)
DHCPDISCOVER on fm1-mac2 to 255.255.255.255 port 67 interval 11 (xid=0x55d9ca2d)
DHCPDISCOVER on fm1-mac4 to 255.255.255.255 port 67 interval 9 (xid=0x56ca41a)
DHCPDISCOVER on fm1-mac5 to 255.255.255.255 port 67 interval 19 (xid=0x5daf9804)
DHCPDISCOVER on docker0 to 255.255.255.255 port 67 interval 12 (xid=0xd2e6420e)
DHCPDISCOVER on fm1-mac6 to 255.255.255.255 port 67 interval 14 (xid=0x294e8d09)
DHCPDISCOVER on fm1-mac1 to 255.255.255.255 port 67 interval 8 (xid=0x9ffe9502)
DHCPDISCOVER on fm1-mac4 to 255.255.255.255 port 67 interval 13 (xid=0x56ca41a)
DHCPDISCOVER on fm1-mac2 to 255.255.255.255 port 67 interval 21 (xid=0x55d9ca2d)
DHCPDISCOVER on fm1-mac1 to 255.255.255.255 port 67 interval 21 (xid=0x9ffe9502)
DHCPDISCOVER on fm1-mac3 to 255.255.255.255 port 67 interval 15 (xid=0x231a5801)
DHCPDISCOVER on docker0 to 255.255.255.255 port 67 interval 8 (xid=0xd2e6420e)
DHCPDISCOVER on fm1-mac6 to 255.255.255.255 port 67 interval 11 (xid=0x294e8d09)
DHCPDISCOVER on fm1-mac4 to 255.255.255.255 port 67 interval 13 (xid=0x56ca41a)
DHCPDISCOVER on fm1-mac5 to 255.255.255.255 port 67 interval 11 (xid=0x5daf9804)
DHCPDISCOVER on docker0 to 255.255.255.255 port 67 interval 11 (xid=0xd2e6420e)
DHCPDISCOVER on fm1-mac3 to 255.255.255.255 port 67 interval 9 (xid=0x231a5801)
DHCPDISCOVER on fm1-mac6 to 255.255.255.255 port 67 interval 13 (xid=0x294e8d09)
DHCPDISCOVER on fm1-mac2 to 255.255.255.255 port 67 interval 12 (xid=0x55d9ca2d)
DHCPDISCOVER on fm1-mac5 to 255.255.255.255 port 67 interval 19 (xid=0x5daf9804)
DHCPDISCOVER on fm1-mac4 to 255.255.255.255 port 67 interval 18 (xid=0x56ca41a)
DHCPREQUEST of 192.168.1.7 on fm1-mac4 to 255.255.255.255 port 67 (xid=0x1aa46c05)
DHCPOFFER of 192.168.1.7 from 192.168.1.1
DHCPDISCOVER on fm1-mac1 to 255.255.255.255 port 67 interval 12 (xid=0x9ffe9502)
DHCPDISCOVER on docker0 to 255.255.255.255 port 67 interval 15 (xid=0xd2e6420e)
DHCPACK of 192.168.1.7 from 192.168.1.1
cmp: EOF on /tmp/tmp.4xNWLIQVkq which is empty
bound to 192.168.1.7 -- renewal in 42914 seconds.
root@localhost:~# ethtool fm1-mac1
Settings for fm1-mac1:
        Supported ports: [ MII ]
        Supported link modes:   10baseT/Full
                                100baseT/Full
                                1000baseT/Full
        Supported pause frame use: Symmetric Receive-only
        Supports auto-negotiation: Yes
        Supported FEC modes: Not reported
        Advertised link modes:  10baseT/Full
                                100baseT/Full
                                1000baseT/Full
        Advertised pause frame use: Symmetric Receive-only
        Advertised auto-negotiation: Yes
        Advertised FEC modes: Not reported
        Link partner advertised link modes:  10baseT/Half 10baseT/Full
                                             100baseT/Half 100baseT/Full
        Link partner advertised pause frame use: Symmetric Receive-only
        Link partner advertised auto-negotiation: Yes
        Link partner advertised FEC modes: Not reported
        Speed: 100Mb/s
        Duplex: Full
        Port: MII
        PHYAD: 4
        Transceiver: internal
        Auto-negotiation: on
        Supports Wake-on: d
        Wake-on: d
        Current message level: 0xffffffff (-1)
                               drv probe link timer ifdown ifup rx_err tx_err tx_queued intr tx_done rx_status pkt0
        Link detected: yes
root@localhost:~# ethtool -S fm1-mac1
NIC statistics:
     interrupts [CPU 0]: 4
     interrupts [CPU 1]: 4
     interrupts [CPU 2]: 5
     interrupts [CPU 3]: 5
     interrupts [TOTAL]: 18
     rx packets [CPU 0]: 0
     rx packets [CPU 1]: 0
     rx packets [CPU 2]: 0
     rx packets [CPU 3]: 0
     rx packets [TOTAL]: 0
     tx packets [CPU 0]: 1
     tx packets [CPU 1]: 12
     tx packets [CPU 2]: 2
     tx packets [CPU 3]: 3
     tx packets [TOTAL]: 18
     tx recycled [CPU 0]: 0
     tx recycled [CPU 1]: 0
     tx recycled [CPU 2]: 0
     tx recycled [CPU 3]: 0
     tx recycled [TOTAL]: 0
     tx confirm [CPU 0]: 4
     tx confirm [CPU 1]: 4
     tx confirm [CPU 2]: 5
     tx confirm [CPU 3]: 5
     tx confirm [TOTAL]: 18
     tx S/G [CPU 0]: 0
     tx S/G [CPU 1]: 0
     tx S/G [CPU 2]: 0
     tx S/G [CPU 3]: 0
     tx S/G [TOTAL]: 0
     rx S/G [CPU 0]: 0
     rx S/G [CPU 1]: 0
     rx S/G [CPU 2]: 0
     rx S/G [CPU 3]: 0
     rx S/G [TOTAL]: 0
     tx error [CPU 0]: 0
     tx error [CPU 1]: 0
     tx error [CPU 2]: 0
     tx error [CPU 3]: 0
     tx error [TOTAL]: 0
     rx error [CPU 0]: 0
     rx error [CPU 1]: 0
     rx error [CPU 2]: 0
     rx error [CPU 3]: 0
     rx error [TOTAL]: 0
     bp count [CPU 0]: 126
     bp count [CPU 1]: 124
     bp count [CPU 2]: 126
     bp count [CPU 3]: 125
     bp count [TOTAL]: 501
     rx dma error: 0
     rx frame physical error: 0
     rx frame size error: 0
     rx header error: 0
     rx csum error: 0
     qman cg_tdrop: 0
     qman wred: 0
     qman error cond: 0
     qman early window: 0
     qman late window: 0
     qman fq tdrop: 0
     qman fq retired: 0
     qman orp disabled: 0
     congestion time (ms): 0
     entered congestion: 0
     congested (0/1): 0
root@localhost:~# ethtool fm1-mac4
Settings for fm1-mac4:
        Supported ports: [ MII ]
        Supported link modes:   10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
        Supported pause frame use: Symmetric Receive-only
        Supports auto-negotiation: Yes
        Supported FEC modes: Not reported
        Advertised link modes:  10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
        Advertised pause frame use: Symmetric Receive-only
        Advertised auto-negotiation: Yes
        Advertised FEC modes: Not reported
        Link partner advertised link modes:  10baseT/Half 10baseT/Full
                                             100baseT/Half 100baseT/Full
        Link partner advertised pause frame use: Symmetric Receive-only
        Link partner advertised auto-negotiation: Yes
        Link partner advertised FEC modes: Not reported
        Speed: 100Mb/s
        Duplex: Full
        Port: MII
        PHYAD: 2
        Transceiver: internal
        Auto-negotiation: on
        Supports Wake-on: d
        Wake-on: d
        Current message level: 0xffffffff (-1)
                               drv probe link timer ifdown ifup rx_err tx_err tx_queued intr tx_done rx_status pkt0
        Link detected: yes
root@localhost:~# ethtool -S fm1-mac4                                                                              
NIC statistics:
     interrupts [CPU 0]: 7
     interrupts [CPU 1]: 7
     interrupts [CPU 2]: 7
     interrupts [CPU 3]: 6
     interrupts [TOTAL]: 27
     rx packets [CPU 0]: 2
     rx packets [CPU 1]: 5
     rx packets [CPU 2]: 2
     rx packets [CPU 3]: 4
     rx packets [TOTAL]: 13
     tx packets [CPU 0]: 0
     tx packets [CPU 1]: 2
     tx packets [CPU 2]: 0
     tx packets [CPU 3]: 8
     tx packets [TOTAL]: 10
     tx recycled [CPU 0]: 0
     tx recycled [CPU 1]: 0
     tx recycled [CPU 2]: 0
     tx recycled [CPU 3]: 0
     tx recycled [TOTAL]: 0
     tx confirm [CPU 0]: 4
     tx confirm [CPU 1]: 1
     tx confirm [CPU 2]: 3
     tx confirm [CPU 3]: 2
     tx confirm [TOTAL]: 10
     tx S/G [CPU 0]: 0
     tx S/G [CPU 1]: 0
     tx S/G [CPU 2]: 0
     tx S/G [CPU 3]: 0
     tx S/G [TOTAL]: 0
     rx S/G [CPU 0]: 0
     rx S/G [CPU 1]: 0
     rx S/G [CPU 2]: 0
     rx S/G [CPU 3]: 0
     rx S/G [TOTAL]: 0
     tx error [CPU 0]: 0
     tx error [CPU 1]: 0
     tx error [CPU 2]: 0
     tx error [CPU 3]: 0
     tx error [TOTAL]: 0
     rx error [CPU 0]: 0
     rx error [CPU 1]: 0
     rx error [CPU 2]: 0
     rx error [CPU 3]: 0
     rx error [TOTAL]: 0
     bp count [CPU 0]: 125
     bp count [CPU 1]: 122
     bp count [CPU 2]: 124
     bp count [CPU 3]: 124
     bp count [TOTAL]: 495
     rx dma error: 0
     rx frame physical error: 0
     rx frame size error: 0
     rx header error: 0
     rx csum error: 0
     qman cg_tdrop: 0
     qman wred: 0
     qman error cond: 0
     qman early window: 0
     qman late window: 0
     qman fq tdrop: 0
     qman fq retired: 0
     qman orp disabled: 0
     congestion time (ms): 0
     entered congestion: 0
     congested (0/1): 0
root@localhost:~#

Thank you.

Best regards,

Carlos

0 Kudos
1,022 Views
yipingwang
NXP TechSupport
NXP TechSupport

Hello Carlos,

Please check whether you defined VSC8575 driver as the following.

{

               .phy_id                    = PHY_ID_VSC8575,

               .name                     = "Microsemi GE VSC8575 SyncE",

               .phy_id_mask          = 0xfffffff0,

               /* PHY_GBIT_FEATURES */

               .soft_reset              = &genphy_soft_reset,

               .config_init    = &vsc8584_config_init,

               .config_aneg    = &vsc85xx_config_aneg,

               .aneg_done             = &genphy_aneg_done,

               .read_status           = &vsc85xx_read_status,

               .handle_interrupt = &vsc8584_handle_interrupt,

               .ack_interrupt  = &vsc85xx_ack_interrupt,

               .config_intr    = &vsc85xx_config_intr,

               .did_interrupt  = &vsc8584_did_interrupt,

               .suspend = &genphy_suspend,

               .resume                  = &genphy_resume,

               .probe                    = &vsc8584_probe,

               .get_tunable            = &vsc85xx_get_tunable,

               .set_tunable            = &vsc85xx_set_tunable,

               .read_page             = &vsc85xx_phy_read_page,

               .write_page            = &vsc85xx_phy_write_page,

               .get_sset_count = &vsc85xx_get_sset_count,

               .get_strings    = &vsc85xx_get_strings,

               .get_stats      = &vsc85xx_get_stats,

},

Thanks,
Yiping

0 Kudos
1,022 Views
carljones
Contributor III

Hello Yiping Wang,

Yes, it was defined exactly like that (from kernel 5.6.14).

{
    .phy_id        = PHY_ID_VSC8575,
    .name        = "Microsemi GE VSC8575 SyncE",
    .phy_id_mask    = 0xfffffff0,
    /* PHY_GBIT_FEATURES */
    .soft_reset    = &genphy_soft_reset,
    .config_init    = &vsc8584_config_init,
    .config_aneg    = &vsc85xx_config_aneg,
    .aneg_done    = &genphy_aneg_done,
    .read_status    = &vsc85xx_read_status,
    .handle_interrupt = &vsc8584_handle_interrupt,
    .ack_interrupt  = &vsc85xx_ack_interrupt,
    .config_intr    = &vsc85xx_config_intr,
    .did_interrupt  = &vsc8584_did_interrupt,
    .suspend    = &genphy_suspend,
    .resume        = &genphy_resume,
    .probe        = &vsc8584_probe,
    .get_tunable    = &vsc85xx_get_tunable,
    .set_tunable    = &vsc85xx_set_tunable,
    .read_page    = &vsc85xx_phy_read_page,
    .write_page    = &vsc85xx_phy_write_page,
    .get_sset_count = &vsc85xx_get_sset_count,
    .get_strings    = &vsc85xx_get_strings,
    .get_stats      = &vsc85xx_get_stats,
},

Thank you.

Regards,

Carlos

0 Kudos
1,022 Views
yipingwang
NXP TechSupport
NXP TechSupport

Hello Carlos,

Would you please provide your driver source code for VSC8575?

Thanks,

Yiping

0 Kudos
1,022 Views
carljones
Contributor III

Hi Yiping Wang,

I don't know how to attach a file so I will send a link to my google drive. It is from kernel 5.6.14, copied to LSDK 20.04, added the missing headers described during compilation. Then recompiled and burned to my board.

NXP_Support - Google Drive 

Thanks you.

Best regards,

Carlos

0 Kudos
1,022 Views
yipingwang
NXP TechSupport
NXP TechSupport

I will discuss this problem with the Application team, please wait for my update later.

0 Kudos
1,023 Views
yipingwang
NXP TechSupport
NXP TechSupport

Is the interface really running at 100 Mbps, or is this an auto-negotiation failure?

 

With VSC8514 (a QSGMII PHY we use on some of our RDBs), there is a catch. The PHY can operate with or without system-side (in-band) SerDes auto-negotiation, but the Layerscape PCS and the PHY system-side auto-negotiation settings need to coincide (both on or both off).

The dpaa-eth driver enables in-band autoneg on the PCS, but the PHY driver doesn't enable in-band AN. So we end up with a setting mismatch, case in which the PHY will not forward traffic. Even worse, the PHY driver in U-Boot does enable in-band AN, and the setting sticks, which means that sometimes it works and sometimes it doesn't, making it easier to debug.

On VSC8514, we have this Linux patch:

https://source.codeaurora.org/external/qoriq/qoriq-components/linux/commit/?h=LSDK-20.04-V5.4&id=485...

which explicitly enables in-band AN so that it is enabled both in the PHY and in the PCS.

I took a quick look at the VSC8575 documentation, and this register has the same state there as well: chapter 4.5.1 MAC SerDes PCS Control, Address 16E3 (0x10), bit 7 MAC SerDes autonegotiation enable. The default value is 0 (ANEG disabled).

Maybe it's worth a shot to make a similar patch for the init function of VSC8575.

 

Also, something else that could prove useful is ethtool --phy-statistics fm1-mac1.

 

View solution in original post

0 Kudos
1,022 Views
carljones
Contributor III

Hi yipingwang‌,

Thanks so much for the instructions. I applied the fix today and it worked. The VSC8575 PHY is now working as expected, i can now ssh and transfer file using the port of the PHY.

"root@localhost:~# ifconfig fm1-mac1 192.168.5.2
root@localhost:~# ping 192.168.5.2
PING 192.168.5.2 (192.168.5.2) 56(84) bytes of data.
64 bytes from 192.168.5.2: icmp_seq=1 ttl=64 time=0.157 ms
64 bytes from 192.168.5.2: icmp_seq=2 ttl=64 time=0.085 ms
64 bytes from 192.168.5.2: icmp_seq=3 ttl=64 time=0.106 ms
64 bytes from 192.168.5.2: icmp_seq=4 ttl=64 time=0.074 ms
64 bytes from 192.168.5.2: icmp_seq=5 ttl=64 time=0.072 ms
64 bytes from 192.168.5.2: icmp_seq=6 ttl=64 time=0.073 ms
64 bytes from 192.168.5.2: icmp_seq=7 ttl=64 time=0.076 ms
64 bytes from 192.168.5.2: icmp_seq=8 ttl=64 time=0.114 ms
64 bytes from 192.168.5.2: icmp_seq=9 ttl=64 time=0.090 ms
64 bytes from 192.168.5.2: icmp_seq=10 ttl=64 time=0.078 ms
^C
--- 192.168.5.2 ping statistics ---
10 packets transmitted, 10 received, 0% packet loss, time 9222ms
rtt min/avg/max/mdev = 0.072/0.092/0.157/0.027 ms
root@localhost:~# ethtool -s fm1-mac1
root@localhost:~# ethtool -S fm1-mac1
NIC statistics:
interrupts [CPU 0]: 3
interrupts [CPU 1]: 2
interrupts [CPU 2]: 2
interrupts [CPU 3]: 3
interrupts [TOTAL]: 10
rx packets [CPU 0]: 1
rx packets [CPU 1]: 0
rx packets [CPU 2]: 0
rx packets [CPU 3]: 0
rx packets [TOTAL]: 1
tx packets [CPU 0]: 0
tx packets [CPU 1]: 9
tx packets [CPU 2]: 0
tx packets [CPU 3]: 0
tx packets [TOTAL]: 9
tx recycled [CPU 0]: 0
tx recycled [CPU 1]: 0
tx recycled [CPU 2]: 0
tx recycled [CPU 3]: 0
tx recycled [TOTAL]: 0
tx confirm [CPU 0]: 2
tx confirm [CPU 1]: 2
tx confirm [CPU 2]: 2
tx confirm [CPU 3]: 3
tx confirm [TOTAL]: 9
tx S/G [CPU 0]: 0
tx S/G [CPU 1]: 0
tx S/G [CPU 2]: 0
tx S/G [CPU 3]: 0
tx S/G [TOTAL]: 0
rx S/G [CPU 0]: 0
rx S/G [CPU 1]: 0
rx S/G [CPU 2]: 0
rx S/G [CPU 3]: 0
rx S/G [TOTAL]: 0
tx error [CPU 0]: 0
tx error [CPU 1]: 0
tx error [CPU 2]: 0
tx error [CPU 3]: 0
tx error [TOTAL]: 0
rx error [CPU 0]: 0
rx error [CPU 1]: 0
rx error [CPU 2]: 0
rx error [CPU 3]: 0
rx error [TOTAL]: 0
bp count [CPU 0]: 122
bp count [CPU 1]: 128
bp count [CPU 2]: 123
bp count [CPU 3]: 124
bp count [TOTAL]: 497
rx dma error: 0
rx frame physical error: 0
rx frame size error: 0
rx header error: 0
rx csum error: 0
qman cg_tdrop: 0
qman wred: 0
qman error cond: 0
qman early window: 0
qman late window: 0
qman fq tdrop: 0
qman fq retired: 0
qman orp disabled: 0
congestion time (ms): 0
entered congestion: 0
congested (0/1): 0
root@localhost:~# ethtool fm1-mac1
Settings for fm1-mac1:
Supported ports: [ MII ]
Supported link modes: 10baseT/Full
100baseT/Full
1000baseT/Full
Supported pause frame use: Symmetric Receive-only
Supports auto-negotiation: Yes
Supported FEC modes: Not reported
Advertised link modes: 10baseT/Full
100baseT/Full
1000baseT/Full
Advertised pause frame use: Symmetric Receive-only
Advertised auto-negotiation: Yes
Advertised FEC modes: Not reported
Link partner advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
Link partner advertised pause frame use: Symmetric Receive-only
Link partner advertised auto-negotiation: Yes
Link partner advertised FEC modes: Not reported
Speed: 100Mb/s
Duplex: Full
Port: MII
PHYAD: 4
Transceiver: internal
Auto-negotiation: on
Supports Wake-on: d
Wake-on: d
Current message level: 0xffffffff (-1)
drv probe link timer ifdown ifup rx_err tx_err tx_queued intr tx_done rx_status pktdata hw wol 0xffff8000
Link detected: yes
root@localhost:~# ifconfig fm1-mac1 0
root@localhost:~# ifconfig fm1-mac2 up
root@localhost:~# ifconfig fm1-mac2 192.168.5.2
root@localhost:~# ping 192.168.5.1
PING 192.168.5.1 (192.168.5.1) 56(84) bytes of data.
64 bytes from 192.168.5.1: icmp_seq=1 ttl=64 time=0.934 ms
64 bytes from 192.168.5.1: icmp_seq=2 ttl=64 time=0.395 ms
64 bytes from 192.168.5.1: icmp_seq=3 ttl=64 time=0.465 ms
64 bytes from 192.168.5.1: icmp_seq=4 ttl=64 time=0.417 ms
^C
--- 192.168.5.1 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3034ms
rtt min/avg/max/mdev = 0.395/0.552/0.934/0.223 ms
root@localhost:~# ethtool fm1-mac2
Settings for fm1-mac2:
Supported ports: [ MII ]
Supported link modes: 10baseT/Full
100baseT/Full
1000baseT/Full
Supported pause frame use: Symmetric Receive-only
Supports auto-negotiation: Yes
Supported FEC modes: Not reported
Advertised link modes: 10baseT/Full
100baseT/Full
1000baseT/Full
Advertised pause frame use: Symmetric Receive-only
Advertised auto-negotiation: Yes
Advertised FEC modes: Not reported
Link partner advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
Link partner advertised pause frame use: Symmetric Receive-only
Link partner advertised auto-negotiation: Yes
Link partner advertised FEC modes: Not reported
Speed: 100Mb/s
Duplex: Full
Port: MII
PHYAD: 5
Transceiver: internal
Auto-negotiation: on
Supports Wake-on: d
Wake-on: d
Current message level: 0xffffffff (-1)
drv probe link timer ifdown ifup rx_err tx_err tx_queued intr tx_done rx_status pktdata hw wol 0xffff8000
Link detected: yes
root@localhost:~# ethtool -S fm1-mac2
NIC statistics:
interrupts [CPU 0]: 6
interrupts [CPU 1]: 6
interrupts [CPU 2]: 6
interrupts [CPU 3]: 6
interrupts [TOTAL]: 24
rx packets [CPU 0]: 0
rx packets [CPU 1]: 3
rx packets [CPU 2]: 1
rx packets [CPU 3]: 4
rx packets [TOTAL]: 8
tx packets [CPU 0]: 9
tx packets [CPU 1]: 4
tx packets [CPU 2]: 1
tx packets [CPU 3]: 1
tx packets [TOTAL]: 15
tx recycled [CPU 0]: 0
tx recycled [CPU 1]: 0
tx recycled [CPU 2]: 0
tx recycled [CPU 3]: 0
tx recycled [TOTAL]: 0
tx confirm [CPU 0]: 6
tx confirm [CPU 1]: 3
tx confirm [CPU 2]: 4
tx confirm [CPU 3]: 2
tx confirm [TOTAL]: 15
tx S/G [CPU 0]: 0
tx S/G [CPU 1]: 0
tx S/G [CPU 2]: 0
tx S/G [CPU 3]: 0
tx S/G [TOTAL]: 0
rx S/G [CPU 0]: 0
rx S/G [CPU 1]: 0
rx S/G [CPU 2]: 0
rx S/G [CPU 3]: 0
rx S/G [TOTAL]: 0
tx error [CPU 0]: 0
tx error [CPU 1]: 0
tx error [CPU 2]: 0
tx error [CPU 3]: 0
tx error [TOTAL]: 0
rx error [CPU 0]: 0
rx error [CPU 1]: 0
rx error [CPU 2]: 0
rx error [CPU 3]: 0
rx error [TOTAL]: 0
bp count [CPU 0]: 122
bp count [CPU 1]: 125
bp count [CPU 2]: 121
bp count [CPU 3]: 120
bp count [TOTAL]: 488
rx dma error: 0
rx frame physical error: 0
rx frame size error: 0
rx header error: 0
rx csum error: 0
qman cg_tdrop: 0
qman wred: 0
qman error cond: 0
qman early window: 0
qman late window: 0
qman fq tdrop: 0
qman fq retired: 0
qman orp disabled: 0
congestion time (ms): 0
entered congestion: 0
congested (0/1): 0
root@localhost:~# "

Best regards,

Carlos

0 Kudos
1,022 Views
carljones
Contributor III

Thank you, Yiping Wang.

I'll update the driver and give feedback.

Best regards,

Carlos

0 Kudos