AnsweredAssumed Answered

LS1012A MTD Partition

Question asked by 인섭 심 on Nov 6, 2018

Hi

After booting from the LS1012A-FRDM board, / proc / mtd is empty.
QSPI Nor Flash, where I want to configure the MTD partition.
There is no change when you apply the following modification to the file arch / arm64 / boot / dts / freescale / fsl-ls1012a-frdm.dts.
&qspi {
    num-cs = <2>;
    bus-num = <0>;
    status = "okay";
    qflash0: s25fs512s@0 {
        compatible = "spansion,m25p80";
        #address-cells = <1>;
        #size-cells = <1>;
        m25p,fast-read;
        spi-max-frequency = <20000000>;
        reg = <0>;
    partition@0 {
   /* 1MB for rcw */
     reg = <0x00000000 0x00100000>;
     label = "RCW Image";
     read-only;
    };
    partition@100000 {
   /* 1MB for uboot */
     reg = <0x00100000 0x00100000>;
     label = "uboot";
     read-only;
    };
    partition@200000 {
   /* 1MB for uboot ENV */
     reg = <0x00200000 0x00100000>;
     label = "env";
     read-only;
    };
    partition@500000 {
   /* 2MB for PPA FIT */
     reg = <0x00500000 0x00200000>;
     label = "ppa";
     read-only;
    };
    partition@A00000 {
   /* 32M for linux kernel */
     reg = <0x00A00000 0x02000000>;
     label = "kernel ITB";
     read-only;
    };
    };
};
Please ask for help.

Outcomes