LS1043 RGMII connection PHY AR8033 working in SFP mode issues

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LS1043 RGMII connection PHY AR8033 working in SFP mode issues

2,886 Views
huangtiandi
Contributor I

Hi,there is a proplem with LS1043 RGMII connection PHY AR8033 working in SFP mode.

1. CPU RGMII2 connecte to AR8033,reserve with 1000Base-T mode and 1000Base-X fiber mode;

2. The AR8033 is configured in the mode of 1000BASE-T with no problem

3. AR8033 is configured in 1000base-x fiber mode. TXCLK is 125MHz after system boot complete . Then execute ifconfig eth2 up, TXCLK becomes 25MHz

4. Execute ifconfig eth2 and find that no data can be received

5. AR8033 1000Base-X Fiber Mode has been verified in other projects, and it can be confirmed that there is no problem with the hardware, the problem must be with the software. Please help to analyze it.

BusyBox v1.28.4 () built-in shell (ash)

_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
-----------------------------------------------------
OpenWrt 18.06.8, r7989-82fbd85747
-----------------------------------------------------
admin@router:# ifconfig eth2 up
[ 43.493850] IPv6: ADDRCONF(NETDEV_UP): eth2: link is not ready
admin@router:#
admin@router:# [ 44.489747] IPv6: ADDRCONF(NETDEV_CHANGE): eth2: link becomes ready
brctl addif br-lan eth2
[ 52.197496] br-lan: port 5(eth2) entered blocking state
[ 52.202747] br-lan: port 5(eth2) entered disabled state
[ 52.208177] device eth2 entered promiscuous mode
[ 52.212854] br-lan: port 5(eth2) entered blocking state
[ 52.218083] br-lan: port 5(eth2) entered forwarding state
admin@router:#
admin@router:# [ 52.233367] fsl_dpa: fsl-dpa: non-zero error counters in fman statistics (sysfs)

admin@router:# ifconfig eth2
eth2 Link encap:Ethernet HWaddr 00:11:22:33:44:57
inet6 addr: fe80::211:22ff:fe33:4457/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:2 dropped:0 overruns:0 frame:0
TX packets:9 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:1118 (1.0 KiB)
Memory:1ae4000-1ae4fff

0 Kudos
7 Replies

2,870 Views
huangtiandi
Contributor I

1. Have you built PHY driver for AR803x into Linux Kernel? This PHY driver should be provided by Qualcomm Please refer to "Driver for Qualcomm Atheros AR803x PHY" in https://elixir.bootlin.com/linux/latest/source/drivers/net/phy/at803x.c
------------------------ Yes, we have built at803x phy driver into kernel


2. Please provide u-boot and Linux Kernel boot up console log.
---------------------------------------------
U-Boot 2018.03 (Jan 04 2021 - 16:22:27 +0800)

SoC: LS1043A Rev1.1 (0x87920111)
Clock Configuration:
CPU0(A53):1300 MHz CPU1(A53):1300 MHz CPU2(A53):1300 MHz
CPU3(A53):1300 MHz
Bus: 400 MHz DDR: 1300 MT/s FMAN: 500 MHz
Reset Configuration Word (RCW):
00000000: 080d000d 0a000000 00000000 00000000
00000010: 24550002 80004002 40044000 c1002000
00000020: 00000000 00000000 00000000 00028800
00000030: 20044500 00001002 00000096 00000001
Model: LS1043A RDB Board
Board: LS1043ARDB, boot from Invalid setting of SW4
CPLD: V0.0
PCBA: V0.0
SERDES Reference Clocks:
SD1_CLK1 = 100.00MHZ, SD1_CLK2 = 100.00MHZ
I2C: ready
DRAM: Initialzing DDR using fixed setting
Configuring DDR for 1300 MT/s data rate
1.9 GiB (DDR4, 32-bit, CL=11, ECC off)
Using SERDES1 Protocol: 9301 (0x2455)
PPA Firmware: Version LSDK-18.06
SEC Firmware: 'loadables' present in config
loadables: 'trustedOS@1'
ERROR: [0x0] TEE-CORE:tee_otp_get_hw_unique_key:195:
H/W Unique key is not fetched from the platform.
MMC: FSL_SDHC: 0
Loading Environment from SPI Flash... SF: Detected w25q128fw with page size 256 Bytes, erase size 4 KiB, total 16 MiB
OK
EEPROM: Read failed.
In: serial
Out: serial
Err: serial
#####scfg value is [1111]
#####scfg value 2 is [0]
SCSI: PCIe0: pcie@3400000 disabled
PCIe1: pcie@3500000 Root Complex: no link
PCIe2: pcie@3600000 Root Complex: no link
Error: SCSI Controller(s) 1B4B:9170 not found
Net: Invalid SerDes protocol 0x2455 for LS1043ARDB
SF: Detected w25q128fw with page size 256 Bytes, erase size 4 KiB, total 16 MiB
Fman1: Uploading microcode version 106.4.18
Could not get PHY for FSL_MDIO0: addr 0
Failed to connect
FM1@DTSEC1 [PRIME], FM1@DTSEC2, FM1@DTSEC3, FM1@DTSEC4, FM1@DTSEC5, FM1@DTSEC6, FM1@DTSEC9
Hit any key to stop autoboot: 0
switch to partitions #0, OK
mmc0(part 0) is current device
Scanning mmc 0:1...
Scanning mmc 0:2...
Found U-Boot script /boot/ls1043ardb_boot.scr
872 bytes read in 18 ms (46.9 KiB/s)
## Executing script at 80000000
** Unable to read file /boot/uEnv.txt **
16067072 bytes read in 831 ms (18.4 MiB/s)
29367 bytes read in 20 ms (1.4 MiB/s)
## Flattened Device Tree blob at 90000000
Booting using the fdt blob at 0x90000000
Using Device Tree in place at 0000000090000000, end 000000009001a2b6

Starting kernel ...

[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.9.63 (sundge@localhost.localdomain) (gcc version 7.3.0 (OpenWrt GCC 7.3.0 r7989-82fbd85747) ) #0 SMP PREEMPT Thu Feb 27 21:25:59 2020
[ 0.000000] Boot CPU: AArch64 Processor [410fd034]
[ 0.000000] earlycon: uart8250 at MMIO 0x00000000021c0500 (options '')
[ 0.000000] 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 16 MiB at 0x00000000f7000000
[ 0.000000] NUMA: No NUMA configuration found
[ 0.000000] NUMA: Faking a node at [mem 0x0000000000000000-0x00000000fbdfffff]
[ 0.000000] NUMA: Adding memblock [0x80000000 - 0xf7ffffff] on node 0
[ 0.000000] NUMA: Adding memblock [0xfb000000 - 0xfb7fffff] on node 0
[ 0.000000] NUMA: Adding memblock [0xfbc00000 - 0xfbdfffff] on node 0
[ 0.000000] NUMA: Initmem setup node 0 [mem 0x80000000-0xfbdfffff]
[ 0.000000] NUMA: NODE_DATA [mem 0xfbdcb600-0xfbdccdbf]
[ 0.000000] Zone ranges:
[ 0.000000] DMA [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: PSCIv0.2 detected in firmware.
[ 0.000000] psci: Using standard PSCI v0.2 function IDs
[ 0.000000] psci: Trusted OS migration not required
[ 0.000000] percpu: Embedded 22 pages/cpu @ffff80007bd6e000 s52952 r8192 d28968 u90112
[ 0.000000] Detected VIPT I-cache on CPU0
[ 0.000000] CPU features: enabling workaround for ARM erratum 845719
[ 0.000000] Built 1 zonelists in Node order, mobility grouping on. Total pages: 486152
[ 0.000000] Policy zone: DMA
[ 0.000000] Kernel command line: console=ttyS0,115200 earlycon=uart8250,mmio,0x21c0500 root=PARTUUID=e2d4ccc9-03 rw rootwait
[ 0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
[ 0.000000] Memory: 1909856K/1976320K available (10876K kernel code, 650K rwdata, 3428K rodata, 704K init, 929K bss, 50080K reserved, 16384K cma-reserved)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] modules : 0xffff000000000000 - 0xffff000008000000 ( 128 MB)
[ 0.000000] vmalloc : 0xffff000008000000 - 0xffff7dffbfff0000 (129022 GB)
[ 0.000000] .text : 0xffff000008080000 - 0xffff000008b20000 ( 10880 KB)
[ 0.000000] .rodata : 0xffff000008b20000 - 0xffff000008e80000 ( 3456 KB)
[ 0.000000] .init : 0xffff000008e80000 - 0xffff000008f30000 ( 704 KB)
[ 0.000000] .data : 0xffff000008f30000 - 0xffff000008fd2a00 ( 651 KB)
[ 0.000000] .bss : 0xffff000008fd2a00 - 0xffff0000090bb0e4 ( 930 KB)
[ 0.000000] fixed : 0xffff7dfffe7fd000 - 0xffff7dfffec00000 ( 4108 KB)
[ 0.000000] PCI I/O : 0xffff7dfffee00000 - 0xffff7dffffe00000 ( 16 MB)
[ 0.000000] vmemmap : 0xffff7e0000000000 - 0xffff800000000000 ( 2048 GB maximum)
[ 0.000000] 0xffff7e0000000000 - 0xffff7e0001ef8000 ( 30 MB actual)
[ 0.000000] memory : 0xffff800000000000 - 0xffff80007be00000 ( 1982 MB)
[ 0.000000] Preemptible hierarchical RCU implementation.
[ 0.000000] Build-time adjustment of leaf fanout to 64.
[ 0.000000] RCU restricting CPUs from NR_CPUS=64 to nr_cpu_ids=4.
[ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=64, nr_cpu_ids=4
[ 0.000000] NR_IRQS:64 nr_irqs:64 0
[ 0.000000] GIC: Adjusting CPU interface base to 0x000000000142f000
[ 0.000000] GIC: Using split EOI/Deactivate mode
[ 0.000000] arm_arch_timer: Enabling workaround for FSL erratum A-008585
[ 0.000000] arm_arch_timer: Architected cp15 timer(s) running at 25.00MHz (phys).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x5c40939b5, max_idle_ns: 440795202646 ns
[ 0.000003] sched_clock: 56 bits at 25MHz, resolution 40ns, wraps every 4398046511100ns
[ 0.008504] Console: colour dummy device 80x25
[ 0.013006] Calibrating delay loop (skipped), value calculated using timer frequency.. 50.00 BogoMIPS (lpj=100000)
[ 0.023413] pid_max: default: 32768 minimum: 301
[ 0.028137] Security Framework initialized
[ 0.032629] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes)
[ 0.040998] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes)
[ 0.048603] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes)
[ 0.055345] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes)
[ 0.063154] ASID allocator initialised with 65536 entries
[ 0.100815] EFI services will not be available.
[ 0.146519] Detected VIPT I-cache on CPU1
[ 0.146561] CPU1: Booted secondary processor [410fd034]
[ 0.178365] Detected VIPT I-cache on CPU2
[ 0.178404] CPU2: Booted secondary processor [410fd034]
[ 0.210421] Detected VIPT I-cache on CPU3
[ 0.210458] CPU3: Booted secondary processor [410fd034]
[ 0.210550] Brought up 4 CPUs
[ 0.241353] SMP: Total of 4 processors activated.
[ 0.246079] CPU features: detected feature: 32-bit EL0 Support
[ 0.251970] CPU: All CPU(s) started at EL2
[ 0.256096] alternatives: patching kernel code
[ 0.265870] DMI not present or invalid.
[ 0.269874] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.279689] futex hash table entries: 1024 (order: 4, 65536 bytes)
[ 0.286357] xor: measuring software checksum speed
[ 0.331205] 8regs : 2494.000 MB/sec
[ 0.375437] 8regs_prefetch: 2224.000 MB/sec
[ 0.420017] 32regs : 3066.000 MB/sec
[ 0.464248] 32regs_prefetch: 2579.000 MB/sec
[ 0.468886] xor: using function: 32regs (3066.000 MB/sec)
[ 0.475125] NET: Registered protocol family 16
[ 0.495610] cpuidle: using governor menu
[ 0.500015] Bman ver:0a02,02,01
[ 0.504816] qman-fqd addr 0x00000000fb800000 size 0x400000
[ 0.510332] qman-pfdr addr 0x00000000f8000000 size 0x2000000
[ 0.516023] Qman ver:0a01,03,02,00
[ 0.519553] vdso: 2 pages (1 code @ ffff000008b26000, 1 data @ ffff000008f35000)
[ 0.527501] DMA: preallocated 256 KiB pool for atomic allocations
[ 0.533716] Serial: AMBA PL011 UART driver
[ 0.538715] Machine: LS1043A RDB Board
[ 0.542483] SoC family: QorIQ LS1043A
[ 0.546155] SoC ID: svr:0x87920111, Revision: 1.1
[ 0.583208] HugeTLB registered 2 MB page size, pre-allocated 0 pages
[ 0.655080] raid6: int64x1 gen() 412 MB/s
[ 0.727091] raid6: int64x1 xor() 412 MB/s
[ 0.799118] raid6: int64x2 gen() 669 MB/s
[ 0.871154] raid6: int64x2 xor() 583 MB/s
[ 0.943229] raid6: int64x4 gen() 1011 MB/s
[ 1.015250] raid6: int64x4 xor() 715 MB/s
[ 1.087292] raid6: int64x8 gen() 1216 MB/s
[ 1.159322] raid6: int64x8 xor() 730 MB/s
[ 1.231407] raid6: neonx1 gen() 765 MB/s
[ 1.303416] raid6: neonx1 xor() 751 MB/s
[ 1.375462] raid6: neonx2 gen() 1274 MB/s
[ 1.447496] raid6: neonx2 xor() 1089 MB/s
[ 1.519554] raid6: neonx4 gen() 1706 MB/s
[ 1.591582] raid6: neonx4 xor() 1267 MB/s
[ 1.663634] raid6: neonx8 gen() 1749 MB/s
[ 1.735680] raid6: neonx8 xor() 1268 MB/s
[ 1.739968] raid6: using algorithm neonx8 gen() 1749 MB/s
[ 1.745390] raid6: .... xor() 1268 MB/s, rmw enabled
[ 1.750376] raid6: using intx1 recovery algorithm
[ 1.755202] ACPI: Interpreter disabled.
[ 1.761266] RCPM: layerscape_rcpm_init: Can't find the RCPM node.
[ 1.768063] vgaarb: loaded
[ 1.770980] SCSI subsystem initialized
[ 1.775062] usbcore: registered new interface driver usbfs
[ 1.780612] usbcore: registered new interface driver hub
[ 1.786003] usbcore: registered new device driver usb
[ 1.791381] imx-i2c 2180000.i2c: fsl-scl-gpio not found
[ 1.796677] imx-i2c 2180000.i2c: can't get pinctrl, bus recovery not supported
[ 1.804030] i2c i2c-0: IMX I2C adapter registered
[ 1.808795] i2c i2c-0: using dma0chan16 (tx) and dma0chan17 (rx) for DMA transfers
[ 1.816447] imx-i2c 21a0000.i2c: fsl-scl-gpio not found
[ 1.821726] imx-i2c 21a0000.i2c: can't get pinctrl, bus recovery not supported
[ 1.829128] i2c i2c-1: IMX I2C adapter registered
[ 1.833863] i2c i2c-1: can't use DMA, using PIO instead.
[ 1.839238] imx-i2c 21b0000.i2c: fsl-scl-gpio not found
[ 1.844526] imx-i2c 21b0000.i2c: can't get pinctrl, bus recovery not supported
[ 1.851853] i2c i2c-2: IMX I2C adapter registered
[ 1.856586] i2c i2c-2: can't use DMA, using PIO instead.
[ 1.862057] Linux video capture interface: v2.00
[ 1.866729] pps_core: LinuxPPS API ver. 1 registered
[ 1.871726] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 1.880927] PTP clock support registered
[ 1.884977] dmi: Firmware registration failed.
[ 1.889465] bman-fbpr addr 0x00000000fa000000 size 0x1000000
[ 1.895176] Bman err interrupt handler present
[ 1.900110] Bman portal initialised, cpu 0
[ 1.904308] Bman portal initialised, cpu 1
[ 1.908508] Bman portal initialised, cpu 2
[ 1.912702] Bman portal initialised, cpu 3
[ 1.916819] Bman portals initialised
[ 1.921477] Qman err interrupt handler present
[ 1.926175] QMan: Allocated lookup table at ffff000009999000, entry count 65537
[ 1.933944] Qman portal initialised, cpu 0
[ 1.938140] Qman portal initialised, cpu 1
[ 1.942327] Qman portal initialised, cpu 2
[ 1.946522] Qman portal initialised, cpu 3
[ 1.950637] Qman portals initialised
[ 1.954297] Bman: BPID allocator includes range 32:32
[ 1.959433] Qman: FQID allocator includes range 256:256
[ 1.964686] Qman: FQID allocator includes range 32768:32768
[ 1.970342] Qman: CGRID allocator includes range 0:256
[ 1.975654] Qman: pool channel allocator includes range 1025:15
[ 1.981706] No USDPAA memory, no 'fsl,usdpaa-mem' in device-tree
[ 1.987977] Advanced Linux Sound Architecture Driver Initialized.
[ 1.994655] clocksource: Switched to clocksource arch_sys_counter
[ 2.000884] VFS: Disk quotas dquot_6.6.0
[ 2.004868] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 2.011929] pnp: PnP ACPI: disabled
[ 2.019447] NET: Registered protocol family 2
[ 2.024238] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
[ 2.031633] TCP bind hash table entries: 16384 (order: 6, 262144 bytes)
[ 2.038518] TCP: Hash tables configured (established 16384 bind 16384)
[ 2.045139] UDP hash table entries: 1024 (order: 3, 32768 bytes)
[ 2.051217] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes)
[ 2.057820] NET: Registered protocol family 1
[ 2.062512] kvm [1]: 8-bit VMID
[ 2.065670] kvm [1]: IDMAP page: 81b09000
[ 2.069700] kvm [1]: HYP VA range: 800000000000:ffffffffffff
[ 2.075905] kvm [1]: Hyp mode initialized successfully
[ 2.081105] kvm [1]: vgic-v2@1440000
[ 2.084771] kvm [1]: vgic interrupt IRQ1
[ 2.088723] kvm [1]: virtual timer IRQ4
[ 2.093502] audit: initializing netlink subsys (disabled)
[ 2.098959] audit: type=2000 audit(2.020:1): initialized
[ 2.104319] No memory allocated for crashlog
[ 2.108732] workingset: timestamp_bits=44 max_order=19 bucket_order=0
[ 2.115613] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 2.121497] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 2.131497] fuse init (API version 7.26)
[ 2.135517] SGI XFS with security attributes, realtime, no debug enabled
[ 2.144334] async_tx: api initialized (async)
[ 2.148754] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
[ 2.156243] io scheduler noop registered
[ 2.160200] io scheduler cfq registered (default)
[ 2.167015] OF: PCI: host bridge /soc/pcie@3500000 ranges:
[ 2.172542] OF: PCI: IO 0x4800010000..0x480001ffff -> 0x00000000
[ 2.178847] OF: PCI: MEM 0x4840000000..0x487fffffff -> 0x40000000
[ 2.185278] layerscape-pcie 3500000.pcie: PCI host bridge to bus 0000:00
[ 2.192021] pci_bus 0000:00: root bus resource [bus 00-ff]
[ 2.197540] pci_bus 0000:00: root bus resource [io 0x0000-0xffff]
[ 2.203755] pci_bus 0000:00: root bus resource [mem 0x4840000000-0x487fffffff] (bus address [0x40000000-0x7fffffff])
[ 2.214642] pci 0000:00:00.0: BAR 6: assigned [mem 0x4840000000-0x48400007ff pref]
[ 2.222257] pci 0000:00:00.0: PCI bridge to [bus 01]
[ 2.227424] pcieport 0000:00:00.0: Signaling PME through PCIe PME interrupt
[ 2.234592] OF: PCI: host bridge /soc/pcie@3600000 ranges:
[ 2.240117] OF: PCI: IO 0x5000010000..0x500001ffff -> 0x00000000
[ 2.246421] OF: PCI: MEM 0x5040000000..0x507fffffff -> 0x40000000
[ 2.252845] layerscape-pcie 3600000.pcie: PCI host bridge to bus 0001:00
[ 2.259585] pci_bus 0001:00: root bus resource [bus 00-ff]
[ 2.265105] pci_bus 0001:00: root bus resource [io 0x10000-0x1ffff] (bus address [0x0000-0xffff])
[ 2.274115] pci_bus 0001:00: root bus resource [mem 0x5040000000-0x507fffffff] (bus address [0x40000000-0x7fffffff])
[ 2.284957] pci 0001:00:00.0: BAR 6: assigned [mem 0x5040000000-0x50400007ff pref]
[ 2.292571] pci 0001:00:00.0: PCI bridge to [bus 01]
[ 2.297709] pcieport 0001:00:00.0: Signaling PME through PCIe PME interrupt
[ 2.306689] Freescale LS2 console driver
[ 2.310683] fsl-ls2-console: device fsl_mc_console registered
[ 2.316502] fsl-ls2-console: device fsl_aiop_console registered
[ 2.322940] xenfs: not registering filesystem on non-xen platform
[ 2.331074] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[ 2.338513] console [ttyS0] disabled
[ 2.342139] 21c0500.serial: ttyS0 at MMIO 0x21c0500 (irq = 36, base_baud = 25000000) is a 16550A
[ 2.350999] console [ttyS0] enabled
[ 2.350999] console [ttyS0] enabled
[ 2.357985] bootconsole [uart8250] disabled
[ 2.357985] bootconsole [uart8250] disabled
[ 2.366588] 21c0600.serial: ttyS1 at MMIO 0x21c0600 (irq = 36, base_baud = 25000000) is a 16550A
[ 2.375595] 21d0500.serial: ttyS2 at MMIO 0x21d0500 (irq = 37, base_baud = 25000000) is a 16550A
[ 2.384592] 21d0600.serial: ttyS3 at MMIO 0x21d0600 (irq = 37, base_baud = 25000000) is a 16550A
[ 2.400852] brd: module loaded
[ 2.407277] loop: module loaded
[ 2.410760] hisi_sas: driver version v1.6
[ 2.416314] ahci-qoriq 3200000.sata: AHCI 0001.0301 32 slots 1 ports 6 Gbps 0x1 impl platform mode
[ 2.425280] ahci-qoriq 3200000.sata: flags: 64bit ncq sntf pm clo only pmp fbs pio slum part ccc sds apst
[ 2.435552] scsi host0: ahci-qoriq
[ 2.439165] ata1: SATA max UDMA/133 mmio [mem 0x03200000-0x0320ffff] port 0x100 irq 47
[ 2.448472] fsl-quadspi 1550000.quadspi: w25q128fw (16384 Kbytes)
[ 2.456586] libphy: Fixed MDIO Bus: probed
[ 2.461813] tun: Universal TUN/TAP device driver, 1.6
[ 2.466865] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[ 2.473166] libphy: mdio_driver_register: qca8k
[ 2.478557] libphy: Freescale XGMAC MDIO Bus: probed
[ 2.485382] libphy: Freescale XGMAC MDIO Bus: probed
[ 2.490362] mdio_bus 1afd000:0a: mdio_device_register
[ 2.495836] port0 pad ctrl = [0]
[ 2.499822] port[660] = 14007e
[ 2.503091] port[430] = 10001
[ 2.506186] port[434] = 3040
[ 2.512569] port[7c] = 7e
[ 2.515323] port[80] = 1280
[ 2.518245] port[84] = 1280
[ 2.521174] port[88] = 1280
[ 2.524103] port[8c] = 1280
[ 2.527032] port[90] = 13ce
[ 2.529963] DSA: switch 0 0 parsed
[ 2.533360] Tree has no master device
[ 2.537025] qca8k: probe of 1afd000:0a failed with error -22
[ 2.544315] libphy: Freescale XGMAC MDIO Bus: probed
[ 2.549554] libphy: Freescale XGMAC MDIO Bus: probed
[ 2.554798] libphy: Freescale XGMAC MDIO Bus: probed
[ 2.560035] libphy: Freescale XGMAC MDIO Bus: probed
[ 2.565276] libphy: Freescale XGMAC MDIO Bus: probed
[ 2.570516] libphy: Freescale XGMAC MDIO Bus: probed
[ 2.575759] libphy: Freescale XGMAC MDIO Bus: probed
[ 2.593040] Freescale FM module, FMD API version 21.1.0
[ 2.601541] Freescale FM Ports module
[ 2.605205] fsl_mac: fsl_mac: FSL FMan MAC API based driver
[ 2.611268] fsl_mac 1ae0000.ethernet: FMan MEMAC
[ 2.615892] fsl_mac 1ae0000.ethernet: FMan MAC address: 00:11:22:33:44:55
[ 2.623028] fsl_mac 1ae2000.ethernet: FMan MEMAC
[ 2.627647] fsl_mac 1ae2000.ethernet: FMan MAC address: 00:11:22:33:44:56
[ 2.634540] fsl_mac 1ae4000.ethernet: FMan MEMAC
[ 2.639160] fsl_mac 1ae4000.ethernet: FMan MAC address: 00:11:22:33:44:57
[ 2.646246] fsl_mac 1ae6000.ethernet: FMan MEMAC
[ 2.650867] fsl_mac 1ae6000.ethernet: FMan MAC address: 00:11:22:33:44:58
[ 2.658010] fsl_mac 1ae8000.ethernet: FMan MEMAC
[ 2.662629] fsl_mac 1ae8000.ethernet: FMan MAC address: 00:11:22:33:44:59
[ 2.669771] fsl_mac 1aea000.ethernet: FMan MEMAC
[ 2.674394] fsl_mac 1aea000.ethernet: FMan MAC address: 00:11:22:33:44:60
[ 2.681350] fsl_mac 1af0000.ethernet: FMan MEMAC
[ 2.685970] fsl_mac 1af0000.ethernet: FMan MAC address: 00:11:22:33:44:90
[ 2.692812] fsl_dpa: FSL DPAA Ethernet driver
[ 2.698269] fsl_dpa soc:fsl,dpaa:ethernet@0: Skip RX PCD High Priority FQs initialization
[ 2.713756] fsl_dpa: fsl_dpa: Probed interface eth0
[ 2.719374] fsl_dpa soc:fsl,dpaa:ethernet@1: Skip RX PCD High Priority FQs initialization
[ 2.735144] fsl_dpa: fsl_dpa: Probed interface eth1
[ 2.740922] fsl_dpa soc:fsl,dpaa:ethernet@2: Skip RX PCD High Priority FQs initialization
[ 2.757039] fsl_dpa: fsl_dpa: Probed interface eth2
[ 2.760889] ata1: SATA link down (SStatus 0 SControl 300)
[ 2.768378] fsl_dpa soc:fsl,dpaa:ethernet@3: Skip RX PCD High Priority FQs initialization
[ 2.783961] fsl_dpa: fsl_dpa: Probed interface eth3
[ 2.790072] fsl_dpa soc:fsl,dpaa:ethernet@4: Skip RX PCD High Priority FQs initialization
[ 2.804036] fsl_dpa: fsl_dpa: Probed interface eth4
[ 2.810290] fsl_dpa soc:fsl,dpaa:ethernet@5: Skip RX PCD High Priority FQs initialization
[ 2.824593] fsl_dpa: fsl_dpa: Probed interface eth5
[ 2.831024] fsl_dpa soc:fsl,dpaa:ethernet@8: Skip RX PCD High Priority FQs initialization
[ 2.845628] fsl_dpa: fsl_dpa: Probed interface eth6
[ 2.850571] fsl_advanced: FSL DPAA Advanced drivers:
[ 2.855536] fsl_proxy: FSL DPAA Proxy initialization driver
[ 2.861368] fsl_oh: FSL FMan Offline Parsing port driver
[ 2.867222] e1000: Intel(R) PRO/1000 Network Driver - version 7.3.21-k8-NAPI
[ 2.874267] e1000: Copyright (c) 1999-2006 Intel Corporation.
[ 2.880073] e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k
[ 2.885901] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[ 2.891860] igb: Intel(R) Gigabit Ethernet Network Driver - version 5.4.0-k
[ 2.898834] igb: Copyright (c) 2007-2014 Intel Corporation.
[ 2.904464] igbvf: Intel(R) Gigabit Virtual Function Network Driver - version 2.4.0-k
[ 2.912295] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
[ 2.918240] sky2: driver version 1.30
[ 2.922589] VFIO - User Level meta-driver version: 0.3
[ 2.928521] dwc3 3000000.usb3: request value same as default, ignoring
[ 2.935260] dwc3 3100000.usb3: request value same as default, ignoring
[ 2.942734] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 2.949259] ehci-pci: EHCI PCI platform driver
[ 2.953730] ehci-platform: EHCI generic platform driver
[ 2.959139] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 2.965322] ohci-pci: OHCI PCI platform driver
[ 2.969792] ohci-platform: OHCI generic platform driver
[ 2.975543] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[ 2.981039] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
[ 2.988930] xhci-hcd xhci-hcd.0.auto: hcc params 0x0220f66d hci version 0x100 quirks 0x02010010
[ 2.997659] xhci-hcd xhci-hcd.0.auto: irq 44, io mem 0x02f00000
[ 3.003934] hub 1-0:1.0: USB hub found
[ 3.007696] hub 1-0:1.0: 1 port detected
[ 3.011804] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[ 3.017293] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
[ 3.024982] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[ 3.033366] hub 2-0:1.0: USB hub found
[ 3.037128] hub 2-0:1.0: 1 port detected
[ 3.041251] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[ 3.046746] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 3
[ 3.054631] xhci-hcd xhci-hcd.1.auto: hcc params 0x0220f66d hci version 0x100 quirks 0x02010010
[ 3.063352] xhci-hcd xhci-hcd.1.auto: irq 45, io mem 0x03000000
[ 3.069567] hub 3-0:1.0: USB hub found
[ 3.073329] hub 3-0:1.0: 1 port detected
[ 3.077413] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[ 3.082904] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 4
[ 3.090602] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
[ 3.098985] hub 4-0:1.0: USB hub found
[ 3.102748] hub 4-0:1.0: 1 port detected
[ 3.106869] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller
[ 3.112360] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 5
[ 3.120281] xhci-hcd xhci-hcd.2.auto: hcc params 0x0220f66d hci version 0x100 quirks 0x02010010
[ 3.128997] xhci-hcd xhci-hcd.2.auto: irq 46, io mem 0x03100000
[ 3.135219] hub 5-0:1.0: USB hub found
[ 3.138979] hub 5-0:1.0: 1 port detected
[ 3.143115] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller
[ 3.148604] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 6
[ 3.156297] usb usb6: We don't know the algorithms for LPM for this host, disabling LPM.
[ 3.164678] hub 6-0:1.0: USB hub found
[ 3.168442] hub 6-0:1.0: 1 port detected
[ 3.172654] usbcore: registered new interface driver usb-storage
[ 3.178771] usbcore: registered new interface driver usbserial
[ 3.184632] usbcore: registered new interface driver usbserial_generic
[ 3.191181] usbserial: USB Serial support registered for generic
[ 3.197213] usbcore: registered new interface driver option
[ 3.202805] usbserial: USB Serial support registered for GSM modem (1-port)
[ 3.211576] mousedev: PS/2 mouse device common for all mice
[ 3.217750] rtc-rx8010 1-0032: Unable to read registers #32..#32
[ 3.223759] i2c i2c-1: probing for rx8010 failed
[ 3.228377] rtc-rx8010: probe of 1-0032 failed with error -11
[ 3.234219] i2c /dev entries driver
[ 3.238320] usbcore: registered new interface driver uvcvideo
[ 3.244066] USB Video Class driver (1.1.1)
[ 3.249516] imx2-wdt 2ad0000.wdog: timeout 60 sec (nowayout=0)
[ 3.255772] qoriq_cpufreq: Freescale QorIQ CPU frequency scaling driver
[ 3.262872] sdhci: Secure Digital Host Controller Interface driver
[ 3.269048] sdhci: Copyright(c) Pierre Ossman
[ 3.273486] Synopsys Designware Multimedia Card Interface Driver
[ 3.280087] sdhci-pltfm: SDHCI platform and OF driver helper
[ 3.326668] mmc0: SDHCI controller on 1560000.esdhc [1560000.esdhc] using ADMA 64-bit
[ 3.342393] ledtrig-cpu: registered to indicate activity on CPUs
[ 3.359995] usbcore: registered new interface driver usbhid
[ 3.367589] usbhid: USB HID core driver
[ 3.379766] Freescale USDPAA process driver
[ 3.386081] fsl-usdpaa: no region found
[ 3.389927] Freescale USDPAA process IRQ driver
[ 3.394686] usb usb3-port1: over-current condition
[ 3.400346] Initializing XFRM netlink socket
[ 3.404680] NET: Registered protocol family 10
[ 3.409913] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[ 3.416265] NET: Registered protocol family 17
[ 3.420898] 8021q: 802.1Q VLAN Support v1.8
[ 3.425112] Key type dns_resolver registered
[ 3.434467] usb usb4-port1: over-current condition
[ 3.439335] Key type ceph registered
[ 3.443138] libceph: loaded (mon/osd proto 15/24)
[ 3.448216] registered taskstats version 1
[ 3.453417] Btrfs loaded, crc32c=crc32c-generic
[ 3.463884] hctosys: unable to open rtc device (rtc0)
[ 3.469113] ALSA device list:
[ 3.469560] mmc0: new HS200 MMC card at address 0001
[ 3.469879] mmcblk0: mmc0:0001 Q2J55L 7.09 GiB
[ 3.470032] mmcblk0boot0: mmc0:0001 Q2J55L partition 1 16.0 MiB
[ 3.470185] mmcblk0boot1: mmc0:0001 Q2J55L partition 2 16.0 MiB
[ 3.470334] mmcblk0rpmb: mmc0:0001 Q2J55L partition 3 4.00 MiB
[ 3.471133] mmcblk0: p1 p2 p3 p4
[ 3.474677] usb 5-1: new full-speed USB device number 2 using xhci-hcd
[ 3.474681] usb 5-1: new full-speed USB device number 2 using xhci-hcd
[ 3.515565] No soundcards found.
[ 3.519632] EXT4-fs (mmcblk0p3): couldn't mount as ext3 due to feature incompatibilities
[ 3.529739] EXT4-fs (mmcblk0p3): warning: mounting unchecked fs, running e2fsck is recommended
[ 3.596829] EXT4-fs (mmcblk0p3): mounted filesystem without journal. Opts: (null)
[ 3.604327] VFS: Mounted root (ext4 filesystem) on device 179:3.
[ 3.610576] Freeing unused kernel memory: 704K
[ 3.653272] init: Console is alive
[ 3.656767] init: - watchdog -
[ 3.691328] random: fast init done
[ 3.718712] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[ 3.729648] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[ 3.740602] init: - preinit -
[ 3.828420] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[ 6.867680] XFS (mmcblk0p4): Invalid superblock magic number
[ 6.873935] mount_root: failed to mount -t xfs /dev/mmcblk0p4 /tmp/overlay: Invalid argument
[ 6.882458] mount_root: overlay filesystem has not been fully initialized yet
[ 6.889720] mount_root: switching to xfs overlay
[ 6.894364] mount_root: switching to xfs failed - fallback to ramoverlay
[ 6.907348] urandom-seed: Seed file not found (/etc/urandom.seed)
[ 6.940986] procd: - early -
[ 6.943925] procd: - watchdog -
[ 7.514029] procd: - watchdog -
[ 7.517290] procd: - ubus -
[ 7.570417] procd: - init -
Please press Enter to activate this console.
[ 7.667453] kmodloader: loading kernel modules from /etc/modules.d/*
[ 7.675549] deflate: no symbol version for module_layout
[ 7.684736] NET: Registered protocol family 15
[ 7.695188] l2tp_core: L2TP core driver, V2.0
[ 7.700161] l2tp_netlink: L2TP netlink interface
[ 7.706073] gre: GRE over IPv4 demultiplexor driver
[ 7.711732] ip_gre: GRE over IPv4 tunneling driver
[ 7.718728] Netfilter messages via NETLINK v0.30.
[ 7.724408] ip_set: protocol 6
[ 7.739181] u32 classifier
[ 7.741886] input device check on
[ 7.745585] Actions configured
[ 7.749975] Mirror/redirect action on
[ 7.761294] usbcore: registered new interface driver cdc_wdm
[ 7.768125] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 7.776910] nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
[ 7.796414] xt_time: kernel timezone is +0800
[ 7.803452] PPP generic driver version 2.4.2
[ 7.808298] PPP MPPE Compression module registered
[ 7.813807] NET: Registered protocol family 24
[ 7.818943] PPTP driver version 0.8.5
[ 7.823953] l2tp_ppp: PPPoL2TP kernel driver, V2.0
[ 7.829916] kmodloader: done loading kernel modules from /etc/modules.d/*
[ 8.944969] FAT-fs (mmcblk0p2): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[ 9.283950] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[ 10.095204] br-lan: port 1(eth0) entered blocking state
[ 10.100552] br-lan: port 1(eth0) entered disabled state
[ 10.106199] device eth0 entered promiscuous mode
[ 10.111530] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[ 10.128120] br-lan: port 2(eth1) entered blocking state
[ 10.140450] br-lan: port 2(eth1) entered disabled state
[ 10.146082] device eth1 entered promiscuous mode
[ 10.150897] br-lan: port 2(eth1) entered blocking state
[ 10.156151] br-lan: port 2(eth1) entered forwarding state
[ 10.161825] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[ 10.176661] br-lan: port 3(eth4) entered blocking state
[ 10.182024] br-lan: port 3(eth4) entered disabled state
[ 10.188777] device eth4 entered promiscuous mode
[ 10.193586] br-lan: port 3(eth4) entered blocking state
[ 10.198829] br-lan: port 3(eth4) entered forwarding state
[ 10.212758] br-lan: port 4(eth5) entered blocking state
[ 10.218063] br-lan: port 4(eth5) entered disabled state
[ 10.223598] device eth5 entered promiscuous mode
[ 10.228325] br-lan: port 4(eth5) entered blocking state
[ 10.233587] br-lan: port 4(eth5) entered forwarding state
[ 10.248280] IPv6: ADDRCONF(NETDEV_UP): eth6: link is not ready
Wait for boot complete ...
[ 11.123223] br-lan: port 2(eth1) entered disabled state
[ 11.128787] br-lan: port 3(eth4) entered disabled state
[ 11.134393] br-lan: port 4(eth5) entered disabled state
System boot complete !!!
[ 14.223225] br-lan: port 2(eth1) entered blocking state
[ 14.228459] br-lan: port 2(eth1) entered forwarding state

admin@router:#
admin@router:#
admin@router:#
admin@router:#
admin@router:#
admin@router:# ifconfig eth2 up
[ 71.996228] IPv6: ADDRCONF(NETDEV_UP): eth2: link is not ready
admin@router:# [ 73.007250] IPv6: ADDRCONF(NETDEV_CHANGE): eth2: link becomes ready

admin@router:# ifconfig eth2
eth2 Link encap:Ethernet HWaddr 00:11:22:33:44:57
inet6 addr: fe80::211:22ff:fe33:4457/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:7 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:818 (818.0 B)
Memory:1ae4000-1ae4fff


3. Please provide the result of command "mdio list" in u-boot.
---------------------------------------------------------------------

U-Boot 2018.03 (Jan 04 2021 - 16:22:27 +0800)

SoC: LS1043A Rev1.1 (0x87920111)
Clock Configuration:
CPU0(A53):1300 MHz CPU1(A53):1300 MHz CPU2(A53):1300 MHz
CPU3(A53):1300 MHz
Bus: 400 MHz DDR: 1300 MT/s FMAN: 500 MHz
Reset Configuration Word (RCW):
00000000: 080d000d 0a000000 00000000 00000000
00000010: 24550002 80004002 40044000 c1002000
00000020: 00000000 00000000 00000000 00028800
00000030: 20044500 00001002 00000096 00000001
Model: LS1043A RDB Board
Board: LS1043ARDB, boot from Invalid setting of SW4
CPLD: V0.0
PCBA: V0.0
SERDES Reference Clocks:
SD1_CLK1 = 100.00MHZ, SD1_CLK2 = 100.00MHZ
I2C: ready
DRAM: Initialzing DDR using fixed setting
Configuring DDR for 1300 MT/s data rate
1.9 GiB (DDR4, 32-bit, CL=11, ECC off)
Using SERDES1 Protocol: 9301 (0x2455)
PPA Firmware: Version LSDK-18.06
SEC Firmware: 'loadables' present in config
loadables: 'trustedOS@1'
ERROR: [0x0] TEE-CORE:tee_otp_get_hw_unique_key:195:
H/W Unique key is not fetched from the platform.
MMC: FSL_SDHC: 0
Loading Environment from SPI Flash... SF: Detected w25q128fw with page size 256 Bytes, erase size 4 KiB, total 16 MiB
OK
EEPROM: Read failed.
In: serial
Out: serial
Err: serial
#####scfg value is [1111]
#####scfg value 2 is [0]
SCSI: PCIe0: pcie@3400000 disabled
PCIe1: pcie@3500000 Root Complex: no link
PCIe2: pcie@3600000 Root Complex: no link
Error: SCSI Controller(s) 1B4B:9170 not found
Net: Invalid SerDes protocol 0x2455 for LS1043ARDB
SF: Detected w25q128fw with page size 256 Bytes, erase size 4 KiB, total 16 MiB
Fman1: Uploading microcode version 106.4.18
Could not get PHY for FSL_MDIO0: addr 0
Failed to connect
FM1@DTSEC1 [PRIME], FM1@DTSEC2, FM1@DTSEC3, FM1@DTSEC4, FM1@DTSEC5, FM1@DTSEC6, FM1@DTSEC9
Hit any key to stop autoboot: 0
=> mdio list
FSL_MDIO0:
1 - AR8031/AR8033 <--> FM1@DTSEC3
2 - AR8031/AR8033 <--> FM1@DTSEC4
8 - Generic PHY <--> FM1@DTSEC1
9 - Generic PHY <--> FM1@DTSEC2
a - Generic PHY <--> FM1@DTSEC5
b - Generic PHY <--> FM1@DTSEC6
FM_TGEC_MDIO:
=>


4. Please provide the dts file.

0 Kudos

2,864 Views
yipingwang
NXP TechSupport
NXP TechSupport

Please include CONFIG_PHY_ATHEROS in u-boot source code include/configs/ls1043ardb.h, and rebuild and program u-boot image.

Then check whether FM1@DTSEC3 can work in u-boot.

=>setenv ethact FM1@DTSEC3

=>setenv ipaddr <ip_addr>

=>ping <server_ip>

 

 

Tags (1)
0 Kudos

2,843 Views
huangtiandi
Contributor I

Hi,it can not work  in u-boot  and  the TXCLK is 25MHZ.

SoC: LS1043A Rev1.1 (0x87920111)
Clock Configuration:
CPU0(A53):1300 MHz CPU1(A53):1300 MHz CPU2(A53):1300 MHz
CPU3(A53):1300 MHz
Bus: 400 MHz DDR: 1300 MT/s FMAN: 500 MHz
Reset Configuration Word (RCW):
00000000: 080d000d 0a000000 00000000 00000000
00000010: 24550002 80004002 40044000 c1002000
00000020: 00000000 00000000 00000000 00028800
00000030: 20044500 00001002 00000096 00000001
Model: LS1043A RDB Board
Board: LS1043ARDB, boot from Invalid setting of SW4
CPLD: V0.0
PCBA: V0.0
SERDES Reference Clocks:
SD1_CLK1 = 100.00MHZ, SD1_CLK2 = 100.00MHZ
I2C: ready
DRAM: Initialzing DDR using fixed setting
Configuring DDR for 1300 MT/s data rate
1.9 GiB (DDR4, 32-bit, CL=11, ECC off)
Using SERDES1 Protocol: 9301 (0x2455)
PPA Firmware: Version LSDK-18.06
SEC Firmware: 'loadables' present in config
loadables: 'trustedOS@1'
ERROR: [0x0] TEE-CORE:tee_otp_get_hw_unique_key:195:
H/W Unique key is not fetched from the platform.
MMC: FSL_SDHC: 0
Loading Environment from SPI Flash... SF: Detected w25q128fw with page size 256 Bytes, erase size 4 KiB, total 16 MiB
OK
EEPROM: Read failed.
In: serial
Out: serial
Err: serial
#####scfg value is [1111]
#####scfg value 2 is [0]
SCSI: PCIe0: pcie@3400000 disabled
PCIe1: pcie@3500000 Root Complex: no link
PCIe2: pcie@3600000 Root Complex: no link
Error: SCSI Controller(s) 1B4B:9170 not found
Net: Invalid SerDes protocol 0x2455 for LS1043ARDB
SF: Detected w25q128fw with page size 256 Bytes, erase size 4 KiB, total 16 MiB
Fman1: Uploading microcode version 106.4.18
Could not get PHY for FSL_MDIO0: addr 0
Failed to connect
FM1@DTSEC1 [PRIME], FM1@DTSEC2, FM1@DTSEC3, FM1@DTSEC4, FM1@DTSEC5, FM1@DTSEC6, FM1@DTSEC9
Hit any key to stop autoboot: 0
=> setenv ethact FM1@DTSEC3
=> setenv 192.168.10.1 <192.168.10.11>setenv 192.168.10.1 <192.168.10.11>
=> ping 192.168.10.11
FM1@DTSEC3 Waiting for PHY auto negotiation to complete......... TIMEOUT !
FM1@DTSEC3: Could not initialize
FM1@DTSEC4 Waiting for PHY auto negotiation to complete......... TIMEOUT !
FM1@DTSEC4: Could not initialize
FM1@DTSEC5 Waiting for PHY auto negotiation to complete......... TIMEOUT !
FM1@DTSEC5: Could not initialize
FM1@DTSEC6 Waiting for PHY auto negotiation to complete......... TIMEOUT !
FM1@DTSEC6: Could not initialize
*** ERROR: `ipaddr' not set
ping failed; host 192.168.10.11 is not alive

0 Kudos

2,839 Views
yipingwang
NXP TechSupport
NXP TechSupport

Please run the following command in u-boot.

=> setenv ethact FM1@DTSEC3
=> setenv ipaddr 192.168.10.1
=> ping 192.168.10.11

0 Kudos

2,834 Views
huangtiandi
Contributor I

hi,thanks.It can not work.


Hit any key to stop autoboot: 0
=> setenv ethact FM1@DTSEC3
=> setenv ipaddr 192.168.10.1
=> ping 192.168.10.11
Using FM1@DTSEC3 device

ARP Retry count exceeded; starting again
ping failed; host 192.168.10.11 is not alive
=>

0 Kudos

2,812 Views
yipingwang
NXP TechSupport
NXP TechSupport

You need to define CONFIG_PHY_ATHEROS in u-boot source code include/configs/ls1043ardb.h, then rebuild and program u-boot image.

Please check the link status of the external PHY.

=> mdio read FM1@DTSEC3 1
Reading from bus FSL_MDIO0
PHY at address 1:
1 - 0x796d
The link partner  link status bit is in Register #1 on the PHY. The 'Link Status' bit is bit #2 (from the left) of the
last nibble. In the above example the nibble of interest is "d" (d = b'1101'), and therefore the 'Link Status' = 1, which means
'link up'. If the link were down this bit would be a "0," and we would see 0x7969.

 

0 Kudos

2,876 Views
yipingwang
NXP TechSupport
NXP TechSupport
1. Have you built PHY driver for AR803x into Linux Kernel? This PHY driver should be provided by Qualcomm Please refer to "Driver for Qualcomm Atheros AR803x PHY" in https://elixir.bootlin.com/linux/latest/source/drivers/net/phy/at803x.c 2. Please provide u-boot and Linux Kernel boot up console log. 3. Please provide the result of command "mdio list" in u-boot. 4. Please provide the dts file.
0 Kudos