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