This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM5718: platform,SPI boot.

Part Number: AM5718

HI team,

My customer need assistance.

AM5718 platform,SPI boot.
Modify SPI flash type to n25q128a,The test log is as follows:
uclass_find_device_by_seq: 0 0
- not found
uclass_find_device_by_seq: 1 0
- not found
Invalid bus 0 (err=-19)
SPI probe failed.
Please help to solve this problem.

modify device tree to:
&qspi {
status = "okay";

spi-max-frequency = <40000000>;
m25p80@0 {
compatible = "n25q128a", "spi-flash";
spi-max-frequency = <40000000>;
reg = <0>;
spi-tx-bus-width = <1>;
spi-rx-bus-width = <1>;
#address-cells = <1>;
#size-cells = <1>;
};
};

Please help. Thanks.

  • Hi,

    Can you confirm that you are using N25Q128 Micron flash instead of the spansion flash that is on the AM5718-IDK?
    Please let me know which exact part is being used?


    spi-tx-bus-width = <1>;
    spi-rx-bus-width = <1>;
    #address-cells = <1>;
    #size-cells = <1>;


    May i know from where you found the above properties?

    Best Regards,
    Keerthy