Hi Cédric,

On Fri, Apr 2, 2021 at 12:45 PM Cédric Le Goater <clg@kaod.org> wrote:
Hello,

On 4/1/21 5:22 PM, Shakeeb B K wrote:
> Hi Cédric,
>
> The part we are using is *MX25L25635F* https://www.macronix.com/Lists/Datasheet/Attachments/7414/MX25L25635F,%203V,%20256Mb,%20v1.5.pdf <https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.macronix.com%2FLists%2FDatasheet%2FAttachments%2F7414%2FMX25L25635F%2C%25203V%2C%2520256Mb%2C%2520v1.5.pdf&data=04%7C01%7Cspasha%40nvidia.com%7C4cf89d8779c84d638c6f08d8ef7d0919%7C43083d15727340c1b7db39efd9ccc17a%7C0%7C0%7C637522667609971209%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=hYy5Cpi06y4T0DpFb4%2FDeo2nEy5Cn3rf3l%2BEO%2FaPP%2FU%3D&reserved=0>
>
> Attaching the failed boot log - full_boot.log

This was failing in 5.8 already. 

> The patch that fixes the problem - workaround.patch

OK. You are disabling Dual I/O.

> A patch to override read opcode - 001-Debug.patch
> Failing log with post fixup read opcode update - fail_post_fixup.log

Could you check the SPI wiring on the schematics of your AST2500 dgx board ? 

If it is single wired, then I suggest a work around like the one attached.

We have MOSI, MISO datalines connected and the workaround is working for us.
But I just wanted to check if anybody got dual mode working with MX25L25635F,
and what would be the right fix for it in spi-nor.

Thanks,
Shakeeb