iMX8QM-MEK board cannot see mt35xu512

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

iMX8QM-MEK board cannot see mt35xu512

ソリューションへジャンプ
806件の閲覧回数
lorenzo_sarchi
Contributor I

I have flashed an sdcard with Yocto, Sumo, 4.14.98.

imx8qm-mek.dts is correctly filled with

 

&flexspi0 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_flexspi0>;
status = "okay";

flash0: mt35xu512aba@0 {

......

even with added partitions 

              partition@0 {
....

 

I boot from sdcard but the kernel doesn't probe it (no messages about mt35) and of course mtd partitions are not present at all.

I would expect to see all the partitions, so to be able to write as needed; nevertheless this is not the case.

What could be the reason?

 

Thanks in advance & best regards,

Lorenzo

 

ラベル(1)
0 件の賞賛
1 解決策
791件の閲覧回数
AldoG
NXP TechSupport
NXP TechSupport

Hello,

This may be caused because by SCFW configuration, it reserves the FlexSPI for use by Cortex-M4.

You'll need to rebuild your SCFW using the porting kit and remove the FlexSPI from the M4 resources, then rebuild the Linux image with the modified SCFW.

Best regards,
Aldo.

元の投稿で解決策を見る

0 件の賞賛
2 返答(返信)
792件の閲覧回数
AldoG
NXP TechSupport
NXP TechSupport

Hello,

This may be caused because by SCFW configuration, it reserves the FlexSPI for use by Cortex-M4.

You'll need to rebuild your SCFW using the porting kit and remove the FlexSPI from the M4 resources, then rebuild the Linux image with the modified SCFW.

Best regards,
Aldo.

0 件の賞賛
781件の閲覧回数
lorenzo_sarchi
Contributor I

Thanks Aldo,

Properly modifying the board.c and remaking the scfw_tcm.bin, it does work indeed !

Have a nice day,

Lorenzo

0 件の賞賛