Quad spi flash from Linux (imx7ulpevk)

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

Quad spi flash from Linux (imx7ulpevk)

跳至解决方案
1,210 次查看
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 项奖励
回复
1 解答
1,196 次查看
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 项奖励
回复
4 回复数
1,180 次查看
Louson
Contributor I

suppressed

0 项奖励
回复
1,197 次查看
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 项奖励
回复
1,178 次查看
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 项奖励
回复
1,175 次查看
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 项奖励
回复