From: Mike Looijmans <mike.looijmans@topic.nl>
To: "Abbarapu, Venkatesh" <venkatesh.abbarapu@amd.com>,
"u-boot@lists.denx.de" <u-boot@lists.denx.de>
Cc: "Simek, Michal" <michal.simek@amd.com>
Subject: Re: Reading QSPI on zynq7 broken since commit 9bb02f7f4533
Date: Fri, 14 Mar 2025 15:47:57 +0100 [thread overview]
Message-ID: <7c7d65fc-873f-4622-9f82-cd32ed286c0e@topic.nl> (raw)
In-Reply-To: <SA1PR12MB8697648198657DFEE5130A1B98D02@SA1PR12MB8697.namprd12.prod.outlook.com>
On 12-03-2025 05:05, Abbarapu, Venkatesh wrote:
> [AMD Official Use Only - AMD Internal Distribution Only]
>
> Hi Mike,
> Can you try disabling the config SPI_STACKED_PARALLEL.
> Is read getting failed?
>
> Thanks
> Venkatesh
>
>> -----Original Message-----
>> From: Mike Looijmans <mike.looijmans@topic.nl>
>> Sent: Tuesday, March 11, 2025 3:08 PM
>> To: u-boot@lists.denx.de
>> Cc: Abbarapu, Venkatesh <venkatesh.abbarapu@amd.com>; Simek, Michal
>> <michal.simek@amd.com>
>> Subject: Reading QSPI on zynq7 broken since commit 9bb02f7f4533
>>
>> After a bisect session, turned out this causes my topic-miami board to fail to boot
>> from QSPI:
>>
>> Commit 9bb02f7f4533: "mtd: spi-nor: Fix the spi_nor_read() when config
>> SPI_STACKED_PARALLEL is enabled"
>>
>> I haven't determined yet what the bug is exactly. The board has a single QSPI chip
>> attached to a 7-series Zynq. SPL fails to read from it since this commit.
>>
I spent some time digging into this driver, but only got into a 10-year
headache plan... The attempts at getting this specific Frankenstein
hardware working has been a cycle of broken driver code and repairs and
breaking again ever since its inception in the early zynq 7-series, in
both Linux and U-boot. Makes me wonder what possesses the hardware
designers to keep using it instead of simply slapping a octa-spi
controller on the newer chips. And why the cadence folks thought that
2x4=16.
For the time being I'll just revert the commit before building. If
AMD/Xilinx ever come up with a decent fix I'll be happy to test it
(though there should be plenty zynq7 boards that only have a single QSPI).
--
Mike Looijmans
System Expert
TOPIC Embedded Products B.V.
Materiaalweg 4, 5681 RJ Best
The Netherlands
T: +31 (0) 499 33 69 69
E: mike.looijmans@topic.nl
W: www.topic.nl
prev parent reply other threads:[~2025-03-14 14:48 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-11 9:38 Reading QSPI on zynq7 broken since commit 9bb02f7f4533 Mike Looijmans
2025-03-12 4:05 ` Abbarapu, Venkatesh
2025-03-12 8:39 ` Mike Looijmans
2025-03-14 14:47 ` Mike Looijmans [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7c7d65fc-873f-4622-9f82-cd32ed286c0e@topic.nl \
--to=mike.looijmans@topic.nl \
--cc=michal.simek@amd.com \
--cc=u-boot@lists.denx.de \
--cc=venkatesh.abbarapu@amd.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox