iMX8QM-MEK board cannot see mt35xu512

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

iMX8QM-MEK board cannot see mt35xu512

跳至解决方案
812 次查看
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

 

0 项奖励
1 解答
797 次查看
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 回复数
798 次查看
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 项奖励
787 次查看
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 项奖励