Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pl35x-nand-controller: Enable on-die ECC subpage operations #207

Merged
merged 1 commit into from
Mar 3, 2025

Conversation

HatsyRei
Copy link
Member

@HatsyRei HatsyRei commented Mar 3, 2025

WI: AB#3024196

This commit looks to implement 4ccba6737110, but on top of the updated pl35x-nand-controller driver. In summary, Bluefin devices contain parititons formatted with subpage support, but the default pl35x nand driver does not support reading or writing subpages. These changes enable subpage reads and writes when on-die ECC feature is enabled.

Testing: Built and deployed kernel with changes on cDAQ-9189. Observed that userspace can be reached after booting directly from NAND. Sanity-checked with mtdinfo, ubinfo at runtime.

Existing devices may contain partitions formatted with subpages, but the
default PL35X NAND driver does not support them. This commit implements
subpage read and write support for on-die ECC devices using the PL35X
NAND driver.

Signed-off-by: HatsyRei <[email protected]>
@gratian gratian requested a review from a team March 3, 2025 19:32
@gratian gratian merged commit 0bd6d36 into ni:nilrt/master/6.6 Mar 3, 2025
1 check passed
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.

3 participants