public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH 0/3] arm: Give the LS1021ATSN board some love
@ 2026-03-18 14:29 Michael Walle
  2026-03-18 14:29 ` [PATCH 1/3] arm: dts: ls1021a-tsn: add default serial output Michael Walle
                   ` (3 more replies)
  0 siblings, 4 replies; 11+ messages in thread
From: Michael Walle @ 2026-03-18 14:29 UTC (permalink / raw)
  To: Vladimir Oltean, Tom Rini, Ashish Kumar, Priyanka Jain,
	Kuldeep Singh
  Cc: u-boot, Michael Walle

It seems that (QSPI-boot variant of) the LS1021ATSN board has been
broken for some years now. First, the SPI clock was far too fast
which prevented booting from it, then the serial output was broken.
In fact while debugging the issue, I've noticed that over the
releases more and more stuff got broken. SPI flash isn't working in
u-boot proper and the attached ethernet switch doesn't work either.

FYI, this is what I'm getting at the moment:

U-Boot 2026.04-rc4-00011-g9017eb478b9e (Mar 18 2026 - 15:22:22 +0100)

CPU:   Freescale LayerScape LS1021E, Version: 2.0, (0x87081120)
Clock Configuration:
       CPU0(ARMV7):1200 MHz, 
       Bus:300  MHz, DDR:800  MHz (1600 MT/s data rate), 
Reset Configuration Word (RCW):
       00000000: 0608000c 00000000 00000000 00000000
       00000010: 30000000 08007900 40105a00 21046000
       00000020: 00000000 00000000 00000000 10002000
       00000030: 20124800 8804b340 00000000 00000000
Model: NXP LS1021A-TSN Board
DRAM:  1 GiB
Using SERDES1 Protocol: 48 (0x30)
Core:  37 devices, 16 uclasses, devicetree: separate
MMC:   FSL_SDHC: 0
Loading Environment from SPIFlash... fsl_qspi quadspi@1550000: Invalid chip select 0:0 (err=-19)
*** Warning - spi_flash_probe_bus_cs() failed, using default environment

EEPROM: Invalid ID (ff ff ff ff)
In:    serial@21c0500
Out:   serial@21c0500
Err:   serial@21c0500
SEC0:  RNG instantiated
Net:   
Warning: ethernet@2d90000 (eth2) using random MAC address - 3e:66:27:46:5b:c8
Unexpected {device ID, part number}: 0x1e00030e 0x9a83
sja1105 ethernet-switch@1: Device ID check failed: -19
eth3: swp2, eth4: swp3, eth5: swp4
Warning: ethernet@2d10000 (eth0) using random MAC address - d6:78:3b:aa:94:b6
, eth0: ethernet@2d10000
Warning: ethernet@2d50000 (eth1) using random MAC address - 12:ce:20:97:a2:79
, eth1: ethernet@2d50000, eth2: ethernet@2d90000
Hit any key to stop autoboot: 0


Michael Walle (3):
  arm: dts: ls1021a-tsn: add default serial output
  configs: ls1021atsn: enable serial driver
  armv7: ls102xa: fix SPI flash clock

 arch/arm/dts/ls1021a-tsn.dts                      | 4 ++++
 arch/arm/include/asm/arch-ls102xa/immap_ls102xa.h | 2 +-
 configs/ls1021atsn_qspi_defconfig                 | 1 +
 3 files changed, 6 insertions(+), 1 deletion(-)

-- 
2.47.3


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2026-03-30 13:13 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-18 14:29 [PATCH 0/3] arm: Give the LS1021ATSN board some love Michael Walle
2026-03-18 14:29 ` [PATCH 1/3] arm: dts: ls1021a-tsn: add default serial output Michael Walle
2026-03-18 14:29 ` [PATCH 2/3] configs: ls1021atsn: enable serial driver Michael Walle
2026-03-19 14:19   ` Vladimir Oltean
2026-03-19 14:25     ` Tom Rini
2026-03-19 14:54       ` Tom Rini
2026-03-18 14:29 ` [PATCH 3/3] armv7: ls102xa: fix SPI flash clock Michael Walle
2026-03-19 14:11   ` Vladimir Oltean
2026-03-19 14:24     ` Michael Walle
2026-03-30 13:13       ` Michael Walle
2026-03-23  6:29 ` [PATCH 0/3] arm: Give the LS1021ATSN board some love Peng Fan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox