arm: mach-sc5xx: fix reset hang by sending EX4B before returning to bootrom - #96
Open
jiez wants to merge 1 commit into
Open
arm: mach-sc5xx: fix reset hang by sending EX4B before returning to bootrom#96jiez wants to merge 1 commit into
jiez wants to merge 1 commit into
Conversation
jiez
requested review from
a team,
gastmaier,
katiaTsaruk,
pamolloy and
vasbimpikasadi
June 4, 2026 02:33
jiez
force-pushed
the
11-reset-from-u-boot-proper-gets-stuck-in-spl-3
branch
from
June 5, 2026 15:40
a8b7ae7 to
e8033e6
Compare
After an RCU reset, ISSI IS25LP/WP01G retains 4-byte address mode. Detect SPI NOR addressing mode and pass the correct command to adi_rom_Boot() according to the addressing mode. Signed-off-by: Jie Zhang <jie.zhang@analog.com>
jiez
force-pushed
the
11-reset-from-u-boot-proper-gets-stuck-in-spl-3
branch
from
June 9, 2026 03:04
e8033e6 to
f095d7f
Compare
1 task
ozan956
self-requested a review
June 10, 2026 14:24
sipraga
reviewed
Jul 7, 2026
| bar = spi_nor_read_bar_issi(); | ||
|
|
||
| printf("ISSI SPI NOR: %s addressing mode (BAR=0x%02x)\n", | ||
| (bar & ISSI_BAR_EXTADD_BIT) ? "4-byte" : "3-byte", bar); |
There was a problem hiding this comment.
I'm not sure this necessarily belongs in the driver code.
Looking at the schematics, this is just broken hardware design on the SoM module. It doesn't apply to the ADSP architecture in any general way.
Or is there not a way to reset the SPI flash out-of-band?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
SPI NOR flash retains 4-byte address mode across an RCU reset. The bootrom uses 3-byte addressing, so it fails to load U-Boot proper after a software reset, leaving the system stuck in SPL. Send EX4B before calling adi_rom_boot() to fix this issue.
Compared to #91 , this one fixes the issue only for SC598 SOM EZKIT board. But it should be able to work in the WDT timeout case.