iMX8QM-MEK board cannot see mt35xu512

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

iMX8QM-MEK board cannot see mt35xu512

Jump to solution
741 Views
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 Kudos
1 Solution
726 Views
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.

View solution in original post

0 Kudos
2 Replies
727 Views
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 Kudos
716 Views
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 Kudos