boot issue on imx6 with SPL/u-boot from SPI flash

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

boot issue on imx6 with SPL/u-boot from SPI flash

2,273 Views
oussama
Contributor III

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,

Labels (4)
Tags (1)
0 Kudos
2 Replies

1,484 Views
mehmetipin
Contributor II

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

0 Kudos

1,484 Views
igorpadykov
NXP Employee
NXP Employee

Hi oussama

please check spl tutorial

ventana/bootloader – Gateworks 

uboot spl issues can be posted on uboot mail list

U-Boot Info Page 


Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos