Dear NXP Support Team,
For debugging purpose we have connected an Ethernet cable form QSGMII switch port0 of board1 to PC.
So,as per your suggestion,i tried to ping PC from board1 ,port0 ,in U-Boot after doing configuration for QSGMII as shown below but it is not pinging.
=> NOTICE: Fixed DDR on board
NOTICE: 4 GB DDR4, 32-bit, CL=11, ECC on
NOTICE: BL2: v1.5(release):LSDK-20.12-dirty
NOTICE: BL2: Built : 18:54:46, Oct 11 2022
NOTICE: BL31: v1.5(release):LSDK-20.12-dirty
NOTICE: BL31: Built : 17:08:02, Oct 13 2022
NOTICE: Welcome to LS1028 BL31 Phase
U-Boot 2020.04-dirty (Oct 13 2022 - 17:01:20 +0530)
SoC: LS1028AE Rev1.0 (0x870b0010)
Clock Configuration:
CPU0(A72):1500 MHz CPU1(A72):1500 MHz
Bus: 400 MHz DDR: 1600 MT/s
Reset Configuration Word (RCW):
00000000: 3c004010 0000003c 00000000 00000000
00000010: 00000000 018f0000 0030c000 00000000
00000020: 020001a0 00002580 00000000 02001090
00000030: 00000011 00000040 00000000 00000000
00000040: 00000000 00000000 00000000 00000000
00000050: 00000000 00000000 00000000 00000000
00000060: 00000000 00000000 100c0552 00000000
00000070: bb580002 00100000
Model: MOOG-CoreEL LS1028a Board
Board: LS1028AE Rev1.0-unknown, Version: O, boot from invalid setting of SW2
FPGA: v255 (unknown)
SERDES1 Reference : Clock1 = 161.13MHz Clock2 = 161.13MHz
DRAM: 3.9 GiB
DDR 3.9 GiB (DDR4, 32-bit, CL=11, ECC on)
Using SERDES1 Protocol: 47960 (0xbb58)
PCIe1: pcie@3400000 Root Complex: x1 gen2
PCIe2: pcie@3500000 Root Complex: x1 gen1
WDT: Started with servicing (60s timeout)
MMC: FSL_SDHC: 0, FSL_SDHC: 1
Loading Environment from SPI Flash... SF: Detected mt35xu01g with page size 256 Bytes, erase size 128 KiB, total 128 MiB
*** Warning - bad CRC, using default environment
EEPROM: Read failed.
In: serial
Out: serial
Err: serial
Net: Could not get PHY for emdio-3: addr 2
Warning: enetc-0 (eth0) using random MAC address - e2:74:e8:8a:38:3b
eth0: enetc-0
Warning: enetc-2 (eth2) using random MAC address - 7a:3c:65:42:f0:2e
, eth2: enetc-2, eth4: swp0, eth5: swp1, eth6: swp2, eth7: swp3
Hit any key to stop autoboot: 0
=>
=> mii device emdio-3
=> mii write 0x10 0x1f 0x10
=> mii write 0x10 0x13 0x0
=> mii write 0x10 0x12 0x80e0
=> mii write 0x10 0x1f 0x0
=> mii write 0x10 0x17 0x1800
=> mii write 0x10 0x13 0x4001
=> mii write 0x10 0x00 0x9340
=> gpio clear 75
gpio: pin 75 (gpio 75) value is 0
=> mii read 0x10 0x1 0x2
79C9
=> setenv ethact swp0
=> setenv ipaddr 169.254.35.153
=> ping 169.254.35.151
swp0 Waiting for PHY auto negotiation to complete... done
Using swp0 device
ARP Retry count exceeded; starting again
ping failed; host 169.254.35.151 is not alive
=> ping 169.254.35.151
Using swp0 device
ARP Retry count exceeded; starting again
ping failed; host 169.254.35.151 is not alive
=>
Using swp0 device
Abort
ping failed; host 169.254.35.151 is not alive
=>
=> setenv ethact swp1
=> setenv ipaddr 169.254.35.153
=> ping 169.254.35.151
swp1 Waiting for PHY auto negotiation to complete......... TIMEOUT !
Using swp1 device
ARP Retry count exceeded; starting again
ping failed; host 169.254.35.151 is not alive
=>
=> mii device emdio-3
=> mii write 0x11 0x1f 0x10
=> mii write 0x11 0x13 0x0
=> mii write 0x11 0x12 0x80e0
=> mii write 0x11 0x1f 0x0
=> mii write 0x11 0x17 0x1800
=> mii write 0x11 0x13 0x4001
=> mii write 0x11 0x00 0x9340
=> gpio clear 75
gpio: pin 75 (gpio 75) value is 0
=> mii read 0x11 0x1 0x2
79C9
=> <INTERRUPT>
=> mii device emdio-3
=> mii write 0x11 0x1f 0x10
=> mii write 0x11 0x13 0x0
=> mii write 0x11 0x12 0x80e0
=> mii write 0x11 0x1f 0x0
=> mii write 0x11 0x17 0x1800
=> mii write 0x11 0x13 0x4001
=> mii write 0x11 0x00 0x9340
=> mii read 0x11 0x00 0x2
1040
=> gpio clear 75
gpio: pin 75 (gpio 75) value is 0
=> mii read 0x11 0x1 0x2
79C9
=> setenv ethact swp0
=> setenv ipaddr 169.254.35.153
=> ping 169.254.35.151
Using swp0 device
ARP Retry count exceeded; starting again
ping failed; host 169.254.35.151 is not alive
Appreciate your inputs on this.
Regards,
Amit Kumar Keshri