imx6q How to boot from Nor Flash

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

imx6q How to boot from Nor Flash

跳至解决方案
1,194 次查看
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 解答
906 次查看
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 回复
907 次查看
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 项奖励
回复