Tool/software: Linux
Hello,
I've a problem starting my custom board with am4376 processor.
Descriptions of the problem : the board is configured for SDcard boot (mmc1) but no console from the uboot-spl.
1) Sysbootpins are configured (when configured to start with UART, 'c' characters are displayed)
2) SDcard (with MLO file inside) boot is ok : tracing vectors are (32bit, msb first)
00000000000100000000000010011110
00000000000000010001000000000000
00000000000000000000000000100000
00000010000000000001111000000000
00000000000000000000000000000000
As described in TRM :
MMC Card in Ready State(CMD1 complete)
Memory Boot Data Read from the MMC Card
Memory Boot - USB_MS/MMC Master Boot record found
Memory Boot - USB_MS/MMC Active Partition Found
But MLO is not found !
3) am4376 gp evm board boots with console display with the same MLO.
4) jtag debug with CCS6 shows that the boot process before hanging on infinite loop (in fiq function) is :
_start() -> reset() -> save-boot-params() -> save-boot-params-ret() -> cpu-init-cp15() -> cpu-init-crit-() -> _main() -> board_init_f_alloc_reserve() -> board_init_f_init_reserve() -> board_init_f() -> spl-relocate-stack-gd() -> board_init_r() -> dram_init_banksize()
5) Our custom board uses a lpddr2 ram which is not configured, it's certainly a part of the problem. But our custom board boots (it displays spl booting message) with the sd card given with the EVM board (with the evm dram configuration). How can i configure the uboot-spl to printf message before external dram initialisation
Thanks for your help.
Yvan