Hello
I am using Yocto to build an image for AM6442-SK board. On AM6442-SK the image is running fine, but on TMDS64GPEVM there is some issue at booting...
Error message:
U-Boot 2021.01-g70c33dd821 (May 05 2022 - 19:09:34 +0000) SoC: AM64X SR1.0 Model: Texas Instruments AM642 EVM Board: AM64-GP rev B DRAM: 2 GiB NAND: 0 MiB MMC: mmc@fa10000: 0, mmc@fa00000: 1 Loading Environment from FAT... *** Warning - bad CRC, using default environment In: serial@2800000 Out: serial@2800000 Err: serial@2800000 Unidentified board claims AM64-GP in eeprom header Net: eth0: ethernet@8000000port@1 Hit any key to stop autoboot: 0 switch to partitions #0, OK mmc1 is current device SD/MMC found on device 1 Failed to load 'boot.scr' 227 bytes read in 2 ms (110.4 KiB/s) Loaded env from uEnv.txt Importing environment from mmc1 ... Running uenvcmd ... 19644928 bytes read in 3396 ms (5.5 MiB/s) 54787 bytes read in 6 ms (8.7 MiB/s) 1725 bytes read in 4 ms (420.9 KiB/s) failed on fdt_overlay_apply(): FDT_ERR_NOTFOUND 1039 bytes read in 5 ms (202.1 KiB/s) failed on fdt_overlay_apply(): FDT_ERR_BADMAGIC base fdt does did not have a /__symbols__ node make sure you've compiled with -@ 656 bytes read in 4 ms (160.2 KiB/s) failed on fdt_overlay_apply(): FDT_ERR_BADMAGIC base fdt does did not have a /__symbols__ node make sure you've compiled with -@ ERROR: Did not find a cmdline Flattened Device Tree Could not find a valid device tree 19644928 bytes read in 829 ms (22.6 MiB/s) 54787 bytes read in 6 ms (8.7 MiB/s) 1725 bytes read in 4 ms (420.9 KiB/s) failed on fdt_overlay_apply(): FDT_ERR_NOTFOUND 1039 bytes read in 4 ms (252.9 KiB/s) failed on fdt_overlay_apply(): FDT_ERR_BADMAGIC base fdt does did not have a /__symbols__ node make sure you've compiled with -@ 656 bytes read in 4 ms (160.2 KiB/s) failed on fdt_overlay_apply(): FDT_ERR_BADMAGIC base fdt does did not have a /__symbols__ node make sure you've compiled with -@ ERROR: Did not find a cmdline Flattened Device Tree Could not find a valid device tree
It looks like U-Boot cannot find device tree k3-am642-evm.dtb, but why?
KERNEL_DEVICETREE yocto variable contains:
" ti/k3-am642-evm.dtb ti/k3-am642-sk.dtb ti/k3-am642-evm-icssg1-dualemac.dtbo ti/k3-am642-evm-nand.dtbo ti/tpm-slb9670-overlay.dtbo ti/spidev-overlay.dtbo ti/gpios-hardware-test-overlay.dtbo ti/cmdline.dtbo"
So proper device tree is present.
Any hints?
BR,
Jakub