i.MX8MMini FlexSPI QSPI NOR Flash Boot

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

i.MX8MMini FlexSPI QSPI NOR Flash Boot

Jump to solution
4,161 Views
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

Labels (1)
0 Kudos
Reply
1 Solution
3,851 Views
igorpadykov
NXP Employee
NXP Employee

Hi Andy

 

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

 

Best regards
igor

View solution in original post

0 Kudos
Reply
5 Replies
3,851 Views
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,851 Views
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 Kudos
Reply
3,851 Views
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 Kudos
Reply
3,851 Views
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 Kudos
Reply
3,852 Views
igorpadykov
NXP Employee
NXP Employee

Hi Andy

 

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

 

Best regards
igor

0 Kudos
Reply