i.MX8MMini FlexSPI QSPI NOR Flash Boot

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

i.MX8MMini FlexSPI QSPI NOR Flash Boot

跳至解决方案
4,160 次查看
chenandy
Contributor II

hello

     I want to imx8mm QSPI NOR Flash Boot.

     How do I set SW1101 and SW1102?

     uboot-imx  is use to imx_v2018.03_4.14.98_2.0.0_ga branch,

     make imx8mm_evk_fspi_defconfig

     It is will  generate to  uboot-imx/SPL,  u-boot.bin, u-boot-dtb.imx, u-boot-dtb.img, u-boot-dtb.bin , u-boot-nodtb.bin, u-boot.img,qspi_header.  uboot-imx/spl/u-boot-spl.bin  uboot-imx/spl/u-boot-spl-nodtb.bin

    How  I make SPL(QSPI NOR Flash Boot ) with those files?

    and  How  I make uboot(QSPI NOR Flash Boot ) with those files?

     I  want to Boot from emmc, and the firmware burn to NOR Flash through uboot,

     and boot from QSPI NOR Flash through to set SW1101 and SW1102

233333.png

标签 (1)
0 项奖励
回复
1 解答
3,850 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Andy

 

one can look at Yocto Guide in linux documentation
i.MX Software | NXP 

 

Best regards
igor

在原帖中查看解决方案

0 项奖励
回复
5 回复数
3,850 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Andy

one can check below link:

How to change yocto configuration to u-boot from QSPI flash instead of SD card? 

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

3,850 次查看
chenandy
Contributor II

Hi igorpadykov

    I switched off the board and booted from QSPI,use to imx-boot-imx8mmevk-fspi.bin-flash_evk_flexspi,and that works well.

    but I want to know imx-boot-imx8mmevk-fspi.bin-flash_evk_flexspi is make up of files?

can you tell me? it is script for making?

0 项奖励
回复
3,850 次查看
chenandy
Contributor II

Hi igorpadykov:

    I switched off the custom board and booted from QSPI, and QSPI NOR Flash is W25Q80DV.

I use default fspi_header, but the board works not well. How do I change this fspi_header

and  What do these parameters represent of fspi_header . Do you have detailed documentation of
fspi_header parameters?

46434642 /* Tag, ASCII "FCFB" */
00000156 /* Version */
00000000
00030300 /* ColumnAddressWidth, DataSetupTime, DataHoldTime, ReadSampleClkSrc */
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
01010200 /* Serial Nor, Single/Dual/Quad/Octal, SerialClkFreq 1 - 20MHz, 2- 50MHz ... */
00000000
00000000
00000010 /* SFlashA1Size */
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
0b041808 /* LUT Table */
08300424
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00010000 /* Page Size, not used in ROM */
00000100 /* Sector Size, not used in ROM */
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000

0 项奖励
回复
3,850 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Andy

right, with default fspi_header W25Q80DV may not work well.
It is necessary to change it accordng to specific W25Q80DV parameters.
Unfortunately I am not aware of additional detailed documentation for changing
fspi_header parameters. May be suggested to use Commercial Support and Engineering Services | NXP 
as changes may be not simple and different for each qspi flash memory.

Best regards
igor

0 项奖励
回复
3,851 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Andy

 

one can look at Yocto Guide in linux documentation
i.MX Software | NXP 

 

Best regards
igor

0 项奖励
回复