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: tda4vm boot mode issue

Part Number: TDA4VM

Dear expers,

Can tiboot3.bin and sysfw boot from different media?

eg: tiboot.bin boot from ospi but sysfw load from sd card?

I tried boot tibooe.bin from ospi and made the following changes to tiboot3.bin, but sysfw did not load successfully

u32 spl_boot_device(void)
{
	u32 wkup_devstat = readl(CTRLMMR_WKUP_DEVSTAT);
	u32 main_devstat;

	if (wkup_devstat & WKUP_DEVSTAT_MCU_OMLY_MASK) {
		printf("ERROR: MCU only boot is not yet supported\n");
		return BOOT_DEVICE_RAM;
	}
#if 0
	/* MAIN CTRL MMR can only be read if MCU ONLY is 0 */
	main_devstat = readl(CTRLMMR_MAIN_DEVSTAT);

	if (bootindex == K3_PRIMARY_BOOTMODE)
		return __get_primary_bootmedia(main_devstat, wkup_devstat);
	else
		return __get_backup_bootmedia(main_devstat);
#endif
    return BOOT_DEVICE_MMC2;
}

Thanks & Best Regards!

XA

 

  • Hi XA,

    This is not supported out of the box. Can you please tell me the use case which requires this?

    Regards,

    Karan

  • Hi Karan,

    I want to boot SBL(tiboot3.bin) from ethernet, load sysfw from other media,because sysfw do not support load from ethernet.

    Thanks & Best Regards!

    XA

  • Hi XA,

    1. We don’t support this. For example, in OSPI boot mode, OSPI is accessed before sysfw is loaded and driver initialized. So, to load sysfw, tiboot3.bin uses ROM initialization of OSPI. It wont be possible to get it from another boot media since its likely we depend on ROM init to access boot media.

    2. Ethernet boot is not supported in SPL on TDA4 devices.

    Regards,

    Karan