Other Parts Discussed in Thread: TLV320AIC3104
Tool/software: Linux
We have a new board using a DRA726 and I am having some issues with it getting a trap at address 0x40300040
If I disable ICACHE and DCACHE it goes a bit farther. It looks like it traps either in reserve_mmu()
void board_init_r(gd_t *dummy1, ulong dummy2)
{
int i;
debug(">>spl:board_init_r()\n");
gd->bd = &bdata;
#if !(defined(CONFIG_SYS_ICACHE_OFF) && defined(CONFIG_SYS_DCACHE_OFF)) && \
defined(CONFIG_ARM)
dram_init_banksize();
reserve_mmu();
enable_caches();
#endif
#if defined(CONFIG_SYS_SPL_MALLOC_START)
mem_malloc_init(CONFIG_SYS_SPL_MALLOC_START,
CONFIG_SYS_SPL_MALLOC_SIZE);
gd->flags |= GD_FLG_FULL_MALLOC_INIT;
#endif
With these disabled it will use a different malloc which fails.
With these disabled I get to this with the debugger, which would looks acceptable, it is not possible to halt u-boot so I cannot go farther
L 2016.05 (Mar 24 2017 - 15:12:29)
DRA722-GP ES2.0
SPL: failed to boot from all boot devices
### ERROR ### Please RESET the board ###
and this if I run with the micro SD card, it traps at some point with it
U-Boot SPL 2016.05 (Mar 24 2017 - 08:32:14)
DRA722-GP ES2.0
Trying to boot from MMC1