Skip to content

Fix for Winbond flash devices that could not parse SFDP#34

Closed
vivekrnv wants to merge 1 commit intomasterfrom
fix_w25q128
Closed

Fix for Winbond flash devices that could not parse SFDP#34
vivekrnv wants to merge 1 commit intomasterfrom
fix_w25q128

Conversation

@vivekrnv
Copy link
Owner

@vivekrnv vivekrnv commented Sep 27, 2024

We have a system with w25q128 flash and following errors are seen:

sonic kernel: [    5.814911] spi-nor spi0.0: BFPT parsing failed. Please consider using SPI_NOR_SKIP_SFDP when declaring the flash
sonic kernel: [    5.934937] spi-nor: probe of spi0.0 failed with error -524

In 5.10, i see the following:

[    4.851862] intel-spi intel-spi: w25q128 (16384 Kbytes)
[    4.928908] Creating 1 MTD partitions on "intel-spi":

This is reported elsewhere: https://lore.kernel.org/all/[email protected]/T/ and the fix for this is merged in upstream gregkh/linux@d35df77 but the backport is not present in the stable versions.

Until that is backported, the offending commit is reverted

@vivekrnv vivekrnv changed the title Fix for w25q128 flash that doesnt have SFDP support @vivekrnv Fix for Windond flash devices that could not parse SFDP Sep 27, 2024
@vivekrnv vivekrnv changed the title @vivekrnv Fix for Windond flash devices that could not parse SFDP Fix for Windond flash devices that could not parse SFDP Sep 27, 2024
@vivekrnv vivekrnv changed the title Fix for Windond flash devices that could not parse SFDP Fix for Winbond flash devices that could not parse SFDP Sep 27, 2024
@vivekrnv vivekrnv closed this Sep 30, 2024
vivekrnv pushed a commit that referenced this pull request Mar 24, 2025
…2412 (#34)

```<br>* 4a3b2e3 - (HEAD -> 202412) Merge branch '202411' of https://github.com/sonic-net/sonic-linux-kernel into 202412 (2025-03-11) [Sonic Automation]
* 8bd11c2 - (origin/202411) Revert "[optoe] Reset page select byte to 0 before upper memory access on page 0h" (sonic-net#468) (2025-02-26) [mssonicbld]
* a5e9588 - [optoe] Reset page select byte to 0 before upper memory access on page 0h (sonic-net#464) (2025-02-15) [mssonicbld]<br>```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants