Why is FM1@DTSEC6 used when cable plugged in "Port 2" ==> FM1@DTSEC5

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

Why is FM1@DTSEC6 used when cable plugged in "Port 2" ==> FM1@DTSEC5

318 Views
williawh
Contributor III

Eth settings:

=> setenv ethprime FM1@DTSEC5
=> setenv ethact FM1@DTSEC5
=> setenv netdev eth2
=> setenv ethaddr 00:04:9f:06:2f:4b

=> ping 192.168.2.10
FM1@DTSEC5 Waiting for PHY auto negotiation to complete......... TIMEOUT !
FM1@DTSEC5: Could not initialize
Using FM1@DTSEC6 device
host 192.168.2.10 is alive

How is that possible? What is even more weird is I can download Kernel and the Device Tree:

=> tftp 0xa0000000 $bootfile
Using FM1@DTSEC6 device
TFTP from server 192.168.2.10; our IP address is 192.168.2.30
Filename 'bootpartition_LS_arm64_lts_4.19/Image'.
Load address: 0xa0000000
Loading: #################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
######################
3.1 MiB/s
done
Bytes transferred = 25121280 (17f5200 hex)
=> tftp 0xb0000000 $fdtfile
Using FM1@DTSEC6 device
TFTP from server 192.168.2.10; our IP address is 192.168.2.30
Filename 'bootpartition_LS_arm64_lts_4.19/fsl-ls1046a-frwy.dtb'.
Load address: 0xb0000000
Loading: ###
2.6 MiB/s
done
Bytes transferred = 29959 (7507 hex)
=> booti 0xa0000000 - 0xb0000000
Moving Image from 0xa0000000 to 0xa0080000, end=a196a000
## Flattened Device Tree blob at b0000000
Booting using the fdt blob at 0xb0000000
Loading Device Tree to 000000008ffe5000, end 000000008ffff506 ... OK

Starting kernel ... <== It hangs when booting from NFS:

This used to work great. I was able to boot my LS1046AFRWY development board from net using NFS. But since I "bricked" it and had to re-flash using Code Warrior and

"wget https://www.nxp.com/lgfiles/sdk/lsdk2108/firmware_ls1046afrwy_qspiboot.img"

The board has behaved subtlety different. The Ethernet is acting odd, it boots different etc...

Is there a way for me to re-flash ls1046afrwy Dev Kit with OEM flash? Or is there something I can do with what I have, to fix this....

Thanks

0 Kudos
1 Reply

290 Views
yipingwang
NXP TechSupport
NXP TechSupport

FM1@DTSEC5 should be connected to SGMII port1.

Please refer to my following log.

=> reset
resetting ...NOTICE: Fixed DDR on board

NOTICE: 4 GB DDR4, 64-bit, CL=15, ECC on
NOTICE: BL2: v2.4(release):LSDK-21.08-0-g340b20bcb
NOTICE: BL2: Built : 22:22:20, Aug 27 2021
NOTICE: BL2: Booting BL31
NOTICE: BL31: v2.4(release):LSDK-21.08-0-g340b20bcb
NOTICE: BL31: Built : 22:22:20, Aug 27 2021
NOTICE: Welcome to ls1046afrwy BL31 Phase


U-Boot 2021.04-ge2eba0cd58 (Aug 27 2021 - 22:21:48 +0800)

SoC: LS1046AE Rev1.0 (0x87070010)
Clock Configuration:
CPU0(A72):1600 MHz CPU1(A72):1600 MHz CPU2(A72):1600 MHz
CPU3(A72):1600 MHz
Bus: 600 MHz DDR: 2100 MT/s FMAN: 700 MHz
Reset Configuration Word (RCW):
00000000: 0c150010 0e000000 00000000 00000000
00000010: 30400506 00800012 40025000 c1000000
00000020: 00000000 00000000 00000000 00038800
00000030: 20044100 24003101 00000096 00000001
Model: LS1046A FRWY Board
Board: LS1046AFRWY, Rev: B, boot from QSPI
SD1_CLK1 = 100.00MHZ, SD1_CLK2 = 100.00MHZ
DRAM: 3.9 GiB (DDR4, 64-bit, CL=15, ECC on)
Using SERDES1 Protocol: 12352 (0x3040)
Using SERDES2 Protocol: 1286 (0x506)
NAND: 512 MiB
MMC: FSL_SDHC: 0
Loading Environment from SPIFlash... SF: Detected mt25qu512a with page size 256 Bytes, erase size 64 KiB, total 64 MiB
*** Warning - bad CRC, using default environment

EEPROM: NXID v1
In: serial
Out: serial
Err: serial
SEC0: RNG instantiated
Net: SF: Detected mt25qu512a with page size 256 Bytes, erase size 64 KiB, tota l 64 MiB
Fman1: Uploading microcode version 106.4.18
PCIe1: pcie@3400000 disabled
PCIe2: pcie@3500000 Root Complex: no link
PCIe3: pcie@3600000 Root Complex: x1 gen1
e1000: 68:05:ca:35:cc:77
FM1@DTSEC1, FM1@DTSEC5, FM1@DTSEC6, FM1@DTSEC10, e1000#0
Hit any key to stop autoboot: 0

=> setenv ethact FM1@DTSEC5
=> ping 100.1.1.1
Using FM1@DTSEC5 device
host 100.1.1.1 is alive
=> pri ipaddr
ipaddr=100.1.1.100
=>

0 Kudos