Skip to content

arm: Give the LS1021ATSN board some love

Michael Walle u-boot 1 version Applied

Status from this message: Applied.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 7 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3arm: dts: ls1021a-tsn: add default serial outputarch/arm/dts/ls1021a-tsn.dts+4 -00 replies
2/3configs: ls1021atsn: enable serial driverconfigs/ls1021atsn_qspi_defconfig+1 -03 replies
3/3armv7: ls102xa: fix SPI flash clockarch/arm/include/asm/arch-ls102xa/immap_ls102xa.h+1 -13 replies

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchVladimir Oltean
1/3
2/3R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] arm: Give the LS1021ATSN board some love

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(-)
Signature · 1 line
2.47.3