Quad spi flash from Linux (imx7ulpevk)

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Quad spi flash from Linux (imx7ulpevk)

ソリューションへジャンプ
1,509件の閲覧回数
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,495件の閲覧回数
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,479件の閲覧回数
Louson
Contributor I

suppressed

0 件の賞賛
返信
1,496件の閲覧回数
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,477件の閲覧回数
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,474件の閲覧回数
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 件の賞賛
返信