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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

2,334件の閲覧回数
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,

ラベル(4)
タグ(1)
0 件の賞賛
2 返答(返信)

1,545件の閲覧回数
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 件の賞賛

1,545件の閲覧回数
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 件の賞賛