It just prints out
U-Boot SPL 2021.04 (Nov 15 2021 - 18:13:58 +0800)
Initializing DDR....using SPD
DDR: failed to read SPD from address 81
Error: No valid SPD detected.
I git clone myself according to this document https://community.nxp.com/t5/Layerscape-Knowledge-Base/LS1046ARDB-How-to-update-U-Boot-binary-in-QSP...
You could download LSDK 21.08 pre-built firmware image with the following command.
wget https://www.nxp.com/lgfiles/sdk/lsdk2108/firmware_ls1046ardb_qspiboot.img
Then deploy it on the alternate bank of QSPI flash on the target board.
=>tftp 0xa0000000 firmware_ls1046ardb_qspiboot.img
=>sf probe 0:1
=> sf erase 0 +$filesize
=>sf write 0xa0000000 0 $filesize
Which version LSDK are you using? How did you generate the boot firmware image?
DDR initialization should be in ATF booting up stage not in u-boot.