Facing the issue:
U-Boot 2016.012.0+gb4635e3 (Sep 24 2016 - 19:16:25 +0800)
SoC: LS1046E (0x87070010)
Clock Configuration:
CPU0(A72):1200 MHz CPU1(A72):1200 MHz CPU2(A72):1200 MHz
CPU3(A72):1200 MHz
Bus: 400 MHz DDR: 1600 MT/s FMAN: 500 MHz
Reset Configuration Word (RCW):
00000000: 0810000c 0a000000 00000000 00000000
00000010: 11335559 40005012 40025000 c1000000
00000020: 00000000 00000000 00000000 00238800
00000030: 20124000 00003101 00000096 00000001
I2C: ready
Model: LS1046A RDB Board
Board: LS1046ARDB, boot from QSPI vBank 0
CPLD: V2.3
PCBA: V3.0
SERDES Reference Clocks:
SD1_CLK1 = 156.25MHZ, SD1_CLK2 = 100.00MHZ
DRAM: Initializing DDR....using SPD
Detected UDIMM 18ADF2G72AZ-3G2R1
16 GiB (DDR4, 64-bit, CL=11, ECC on)
DDR Chip-Select Interleaving Mode: CS0+CS1
SEC0: RNG instantiated
PPA Firmware: Version 0.2
Using SERDES1 Protocol: 4403 (0x1133)
Using SERDES2 Protocol: 21849 (0x5559)
NAND: 512 MiB
MMC: FSL_SDHC: 0
SF: Detected S25FL512S_256K with page size 256 Bytes, erase size 256 KiB, total 64 MiB
EEPROM: NXID v1
PCIe1: Root Complex no link, regs @ 0x3400000
PCIe2: Root Complex no link, regs @ 0x3500000
PCIe3: Root Complex no link, regs @ 0x3600000
In: serial
Out: serial
Err: serial
SATA link 0 timeout.
AHCI 0001.0301 32 slots 1 ports 6 Gbps 0x1 impl SATA mode
flags: 64bit ncq pm clo only pmp fbss pio slum part ccc apst
Found 0 device(s).
SCSI: Net: SF: Detected S25FL512S_256K with page size 256 Bytes, erase size 256 KiB, total 64 MiB
Fman1: Uploading microcode version 106.4.18
PHY reset timed out
FM1@DTSEC3 [PRIME], FM1@DTSEC4, FM1@DTSEC5, FM1@DTSEC6, FM1@TGEC1, FM1@TGEC2
Hit any key to stop autoboot: 0
starting USB...
USB0: Register 200017f NbrPorts 2
Starting the controller
USB XHCI 1.00
scanning bus 0 for devices... 1 USB Device(s) found
USB1: Register 200017f NbrPorts 2
Starting the controller
USB XHCI 1.00
scanning bus 1 for devices... 1 USB Device(s) found
USB2: Register 200017f NbrPorts 2
Starting the controller
USB XHCI 1.00
scanning bus 2 for devices... 1 USB Device(s) found
scanning usb for storage devices... 0 Storage Device(s) found
USB device 0: unknown device
Card did not respond to voltage select!
** Bad device mmc 0 **
Card did not respond to voltage select!
** Bad device mmc 0 **
=>
All the Switch configurations are attached here
u-boot version is too old, would you please download LSDK 21.08 firmware image and deploy it to bank 4 at bank 0.
$ wget http://www.nxp.com/lgfiles/sdk/lsdk2108/firmware_ls1046ardb_qspiboot.img
On the target board at bank 0.
=> tftp 0xa0000000 firmware_ls1046ardb_qspiboot.img
=> sf probe 0:1
=> sf erase 0 +$filesize && sf write 0xa0000000 0 $filesize
=>cpld reset altbank
Then boot the target board at bank4 and check the USB device.
Thanks for sharing the detailed information about your setup and the issue you're facing. It seems like there might be a few areas to investigate:
Boot Sequence and Configuration: Ensure that the BOOT WORD configuration in the IVT is correctly set to "User Enforced HSE FW Backup" and that the BOOT_SEQ bit is properly defined NextCareurgentcare
Debugger Interference: When the debugger is connected, it might be interfering with the flash access. Check if there are any debugger settings or configurations that could be causing this issue.
Memory Access Restrictions: There might be restrictions or security settings that limit access to certain parts of the flash memory when the application is not running or during startup.
Firmware and Software Updates: Ensure that your firmware and software tools are up to date, as updates might include fixes for such issues