imx6q How to boot from Nor Flash

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

imx6q How to boot from Nor Flash

ソリューションへジャンプ
1,187件の閲覧回数
quanzheng
Contributor I

I want to set imx6q-sdb board boot from spi flash, and I weld a chip (25P32) on U14of  imx6q-sdb board. 

And I can use sf command to detect/erase/write the Norflash successfully.

=> tftp bootrom.bin

Using FEC device

TFTP from server 192.168.1.101; our IP address is 192.168.1.10

Filename 'bootrom.bin'.

Load address: 0x12000000

Loading: #############################

         468.8 KiB/s

done

Bytes transferred = 419852 (6680c hex)

=> sf probe

SF: Detected M25P32 with page size 256 Bytes, erase size 64 KiB, total 4 MiB

=> sf erase 0 50000

SF: 327680 bytes @ 0x0 Erased: OK

=> sf write 12000000 0 6680c

SF: 419852 bytes @ 0x0 Written: OK

And I turn on the DIP 5, and DIP 6 of SW6.

But now CPU can not boot from SPI-flash.

And the bootloader I used can work on SD card successfully.

Thank you.

0 件の賞賛
返信
1 解決策
899件の閲覧回数
gusarambula
NXP TechSupport
NXP TechSupport

Hello Quan Zheng,

You may find the following thread interesting. SPI  NOR Flash boot is not supported on the SABRE SD, only on the SABRE AI (you may look for more information on the i.MX Linux Release Notes from the BSP). This limitation is due top a pin conflict, but another user does mention a workaround on the same thread, perhaps it may help.

https://community.nxp.com/message/346677 

 

Regards,

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
900件の閲覧回数
gusarambula
NXP TechSupport
NXP TechSupport

Hello Quan Zheng,

You may find the following thread interesting. SPI  NOR Flash boot is not supported on the SABRE SD, only on the SABRE AI (you may look for more information on the i.MX Linux Release Notes from the BSP). This limitation is due top a pin conflict, but another user does mention a workaround on the same thread, perhaps it may help.

https://community.nxp.com/message/346677 

 

Regards,

0 件の賞賛
返信