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.

TDA4VM: How to boot u-boot.img from emmc

Part Number: TDA4VM

Hi TI expert,

Now i want to start tda4 with ospi + emmc on linux SDK8.4 platform.

i build u-boot-spl.bin and it save on ospi flash. now i use u-boot-spl.bin to boot uboot, but uboot is save on emmc.

so i want to read uboot image from emmc on u-boot-spl.bin.

in this file(u-boot-2021.01+gitAUTOINC+a169f42610-ga169f42610/arch/arm/mach-k3/j721e_init.c) , i find that spl_boot_device() function read image from BOOT_DEVICE_SPI.

How to modify it to emmc?

i find that there two emmc define, BOOT_DEVICE_MMC and BOOT_DEVICE_MMC . which one is i want?

Thanks.