QSPI Flash boot. What should i change to get flash binary for qspi boot in imx header

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

QSPI Flash boot. What should i change to get flash binary for qspi boot in imx header

Jump to solution
847 Views
Hariharan1
Contributor III

Hi Experts,

I am gonna boot my i.mx8m mini evk board using qspi flash not to use tcm. what are the changes i need to do in soc.mak particularly to get flash.bin  which it should contain entry address of qspi memory. Is there any manual for get to know imx-mkimage tool? Can you ping that manual, if it is available. 

And one more question is How to flash binary into board. shall i use openocd or uuu tool? which one is better

Thank You.

Labels (1)
0 Kudos
Reply
1 Solution
785 Views
Harvey021
NXP TechSupport
NXP TechSupport

Hi,

There is no such document. You can download imx-mkimage

then you can find details that you need from /scripts/qspi_header and mkimage_imx8.c

make the target for, e.g.,  flash_evk_flexspi that you can find from soc.mak for reference.

and you can refer to RM, such as, Quad SPI Interface.
There is one Flexible Serial Peripheral Interface (FlexSPI) block that acts as an interface
to one or two external Quad SPI serial flash devices, each with up to four bidirectional
data lines.
 

 

Regards

Harvey

 

View solution in original post

2 Replies
786 Views
Harvey021
NXP TechSupport
NXP TechSupport

Hi,

There is no such document. You can download imx-mkimage

then you can find details that you need from /scripts/qspi_header and mkimage_imx8.c

make the target for, e.g.,  flash_evk_flexspi that you can find from soc.mak for reference.

and you can refer to RM, such as, Quad SPI Interface.
There is one Flexible Serial Peripheral Interface (FlexSPI) block that acts as an interface
to one or two external Quad SPI serial flash devices, each with up to four bidirectional
data lines.
 

 

Regards

Harvey

 

756 Views
Hariharan1
Contributor III

If i initialize flexspi driver, can i able to access qspi(256MB) memory?

 

Hariharan1_0-1712895351972.png

 

0 Kudos
Reply