Other Parts Discussed in Thread: TDA2
Hello.
We made the custom board with TDA2P-ACD chip.
And I tried to boot using SD CARD with MLO and u-boot.img in it.
But it didn't boot.
TDA2P EVM board with the same firmware boot well.
When I checked the log by quickly initializing the UART in SPL, I got an error "IODELAY: Isolation of Device IOs failed" in the function __recalibrate_iodelay_end in the file dra7xx_iodelay.c.
And I found out that the error occurred because the code below returned an error.
----------------------------- In dra7xx_iodelay.c ----------------------------
static int isolate_io(u32 isolate)
{
if (isolate) {
clrsetbits_le32((*ctrl)->control_pbias, SDCARD_PWRDNZ,
SDCARD_PWRDNZ);
clrsetbits_le32((*ctrl)->control_pbias, SDCARD_BIAS_PWRDNZ,
SDCARD_BIAS_PWRDNZ);
}
/* Override control on ISOCLKIN signal to IO pad ring. */
clrsetbits_le32((*prcm)->prm_io_pmctrl, PMCTRL_ISOCLK_OVERRIDE_MASK,
PMCTRL_ISOCLK_OVERRIDE_CTRL);
if (!wait_on_value(PMCTRL_ISOCLK_STATUS_MASK, PMCTRL_ISOCLK_STATUS_MASK,
(u32 *)(*prcm)->prm_io_pmctrl, LDELAY)) {
return ERR_DEISOLATE_IO << isolate; <-----------------
}
------------------------------------------------------------------------------
I'd like to know why this happens.
------------------------------------ Full log ------------------------------------
U-Boot SPL 2016.05-00010-g9551b3d-dirty (Apr 10 2020 - 17:10:32)
DRA762-GP ES1.0
IODELAY: Isolation of Device IOs failed
Leveling timeout on EMIF1
SDRAM: identified size not same as expected size identified: 4 expected: 40000000
----------------------------------------------------------------------------------
Best Regards,
Yousik Kim.