cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
mergani
Visitor
Visitor
207 Views
Registered: ‎01-07-2020

Petalinux 2020.2 does not display MTD for ZynqMP

Hi All,

I reconstructed my Petalinux 2019.2 project in Petalinux 2020.2 from scratch. However, "cat /proc/mtd" command shows nothing on 2020.2 (Indeed, there are 2*MT25QU256ABA8E12-1SIT dual parallel QSPI flashes on custom board).

I looked up differences among 2019.2 and 2020.2 versions and noticed followings:
1. I went to this menu: "petalinux-config -c kernel -> Device Drivers -> Memory Technology Device (MTD) Support -> Self-contained MTD Device Drivers".
"Support most SPI Flash chips (AT26DF, M25P, W25X, ...)" tab is missing under 2020.2 version.

2. Searched for "m25" on kernel configuration menu; but "Symbol: MTD_M25P80 [=y]" etc.. item is missing under 2020.2 version.

3. system-conf.dtsi files are different for these versions. I could not see compatible drivers for 2020.2 version. I added "compatible = "n25q512a","micron,m25p80","jedec,spi-nor" drivers line to system-user.dtsi file, but nothing changed (You can see system-conf.dtsi files for both versions).

4. I confirmed CONFIG_SPI_ZYNQMP_GQSPI is enabled.

Have drivers changed for 2020.2 version or am I missing a point?

Thanks,

mergani

 

 

0 Kudos
0 Replies