Forum Discussion
EricOpitz
Occasional Contributor
1 year agoAgilex 5 QSPI Probe fails
Dear all, I'm working on getting RSU running on the Agilex 5 Arrow AXE5-Eagle dev kit. My problem regards the new version QPDS25.1. With this version I can not probe the QSPI flash. Using the...
- 1 year ago
Hi Eric
In 25.1 a new feature was introduced to control if you want to allow or prevent to grant the ownership of the QSPI to the HPS.
https://cdrdv2-public.intel.com/853092/ug-813762-853092.pdf
See section 4.2.1 and 4.12.
Check in your hardware design if the QSPI ownership is assigned to the HPS. If this is not the case, then the SDM will reject the MBOX_QSPI_DIRECT mailbox.
Thanks
Rolando
EricOpitz
Occasional Contributor
1 year agoDear all,
I've debugged a bit further. I noticed that the log message "QSPI: Reference clock at 500000 kHz" is missing in the build from version 25.1. The reason is that the following command fails (silently) in mailbox_s10.c:
ret = mbox_send_cmd(MBOX_ID_UBOOT, MBOX_QSPI_DIRECT, MBOX_CMD_DIRECT, 0, NULL, 0, (u32 *)&resp_buf_len, (u32 *)&resp_buf);
I've tested with the SDM from version 24.2 by using the quartus_pfg from Quartus 24.2. Now, the SPL does print the log message "QSPI: Reference clock at 500000 kHz". In U-Boot proper console I can run sf_probe successfully. (Linux Kernel fails to boot, so I can't test QSPI probe from there. But that shouldn't be the topic of this ticket.)
So I suspect that there is a problem in the 25.1 SDM.
Kind Regards,
Eric Opitz