This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMDX654IDKEVM: Linux RT SDK 8.0 sometimes fails to boot with FDT_ERR_BADOFFSET

Part Number: TMDX654IDKEVM

Linux RT SDK 8.0 sometimes fails to boot with FDT_ERR_BADOFFSET

UART boot console prints:

U-Boot SPL 2021.01-g53e79d0e89 (Aug 07 2021 - 15:00:28 +0000)
SYSFW ABI: 3.1 (firmware rev 0x0015 '21.5.0--v2021.05 (Terrific Llam')
SPL initial stack usage: 1416 bytes
Trying to boot from MMC2
Starting ATF on ARM64 core...

NOTICE: BL31: v2.5(release):08.00.00.004-dirty
NOTICE: BL31: Built : 14:11:00, Aug 7 2021

U-Boot SPL 2021.01-g53e79d0e89 (Aug 07 2021 - 14:24:44 +0000)
SYSFW ABI: 3.1 (firmware rev 0x0015 '21.5.0--v2021.05 (Terrific Llam')
Detected: Silicon SR2.0
i2c_omap i2c@42120000: pinctrl_select_state_full: uclass_get_device_by_phandle_id: err=-19
Detected: AM6-IDKAPPEVM rev A
Detected: SER-PCIE2LEVM rev A
Trying to boot from MMC2
failed on fdt_overlay_apply(): FDT_ERR_BADOFFSET
failed to apply DT overlay fdt-3
SPL: failed to boot from all boot devices
### ERROR ### Please RESET the board ###

Steps to reproduce:

1) Download and istall 8.0 SDK: software-dl.ti.com/.../ti-processor-sdk-linux-rt-am65xx-evm-08_00_00_02-Linux-x86-Install.bin

2) Create SD card (assuming /dev/sdd is your SD card device):

cd ti-processor-sdk-linux-rt-am65xx-evm-08_00_00_02/bin/

sudo ./mksdboot.sh --sdk .. --device /dev/sdd

3) Connect USB cable to UART

4) switch on the IDK and read the UART boot console

5) repeat 4) until you see the error above