Quad spi flash from Linux (imx7ulpevk)

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

Quad spi flash from Linux (imx7ulpevk)

Jump to solution
1,123 Views
Louson
Contributor I

Hello, I am using the IMX7ulpevk board with kernel linux-imx on tag rel_imx_5.4.24_2.1.0.

Is it possible to access the squad spi flash from Linux for modifications ? Does that only need change in the device tree ?

Louson

0 Kudos
1 Solution
1,109 Views
igorpadykov
NXP Employee
NXP Employee

Hi Louson

 

examples of access can be found on

https://wiki.phytec.com/pcm061/using-peripherals/qspi-nor-flash

One can try with EVK  i.MX 7ULP EVK Linux Binary Demo Files 

L5.4.47_2.2.0_MX7ULP1

for qspi use dts file: imx7ulp-evk-qspi.dts

https://source.codeaurora.org/external/imx/uboot-imx/tree/arch/arm/dts/imx7ulp-evk-qspi.dts?h=imx_v2...

 

Best regards
igor

 

View solution in original post

0 Kudos
4 Replies
1,093 Views
Louson
Contributor I

suppressed

0 Kudos
1,110 Views
igorpadykov
NXP Employee
NXP Employee

Hi Louson

 

examples of access can be found on

https://wiki.phytec.com/pcm061/using-peripherals/qspi-nor-flash

One can try with EVK  i.MX 7ULP EVK Linux Binary Demo Files 

L5.4.47_2.2.0_MX7ULP1

for qspi use dts file: imx7ulp-evk-qspi.dts

https://source.codeaurora.org/external/imx/uboot-imx/tree/arch/arm/dts/imx7ulp-evk-qspi.dts?h=imx_v2...

 

Best regards
igor

 

0 Kudos
1,091 Views
Louson
Contributor I

Hello,

Thanks fo this quick answer. However, there is no qspi devive tree in this 5.4.47 release. Is's been missing for imx7ulp since the kernel is 5.x.

The linked dts is from the u-boot device tree, which is not exactly compatible with linux's. I'll try again though

Louis

 

0 Kudos
1,088 Views
igorpadykov
NXP Employee
NXP Employee

Hi Louis

 

qspi is not used in linux because it is used by M4 SDK (folder ../driver_examples/qspi)

https://mcuxpresso.nxp.com/en/welcome

 

Best regards
igor

0 Kudos