I'm trying to boot a board with imx6 using SPL/u-boot from SPI flash.
The SPL is properly loaded from the SPI, but then the SPL has issue to load the u-boot.img.
The reason for that is the SPL function board_init_r() seems always to try load it from MMC.
it's because the function spl_boot_device() seems always return BOOT_DEVICE_MMC1.
It's possible to redefine the weak function board_boot_order() in order to solve the issue. but Do I really need that?
why the spl_boot_device() return BOOT_DEVICE_MMC1 even though the device has booted from the SPI?
fsl yocto version: L4.9.11_1.0.0
Thanks,
Dear Oussama/Igor,
I have the same problem, read ventana bootloader. But it gives informations about eMMC and SD card boot, not SPI boot. I would very appreciate if you help if problem is solved..
Thanks and best regards.
Mehmet Ali Ipin
Hi oussama
please check spl tutorial
ventana/bootloader – Gateworks
uboot spl issues can be posted on uboot mail list
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------