iMX8MN: SPL not starting U-Boot

Ayrton Leyssens aleyssens at idtech.be
Fri Dec 27 11:53:55 CET 2024


Hi

I am having troubles booting an iMX8M Nano board.
I compiled U-Boot and flashed it to an SD-card using Buildroot.

The board starts my SPL, does the DRAM init, goes back to BOOTROM and eventually goes to the SPL stage where it should jump to U-Boot (common/spl/spl.c - board_init_r  os == IH_OS_U_BOOT).
It proceeds to 'spl_board_prepare_for_boot();' and finally to 'jump_to_image_no_args(&spl_image);'
After which nothing happens.

I added some print statements to see the contents at the address it wants to jump to (0x960000).
The contents of my BL31.bin are showed on that address, is that correct?

Any help would be appreciated.

Ayrton Leyssens
Embedded Software Engineer


More information about the U-Boot mailing list