[PATCH 0/7] mtd: rawnand: sunxi: Bug fixes and cleanup
Samuel Holland
samuel at sholland.org
Thu Dec 29 10:15:19 PST 2022
I have an A33 tablet with MLC NAND, and I wanted to use mainline Linux
to dump the NAND. To do that, I updated this driver's ECC ops to fully
utilize the hardware for ECC and scrambling. This made the driver
compatible with the existing (scrambled) on-flash bad block map, and I
was able to read the full NAND contents.
This series contains some initial bug fixes and cleanup from that
effort. The changes to the ECC ops will come as a separate series.
Samuel Holland (7):
mtd: rawnand: sunxi: Clean up chips after failed init
mtd: rawnand: sunxi: Remove an unnecessary check
mtd: rawnand: sunxi: Remove an unnecessary check
mtd: rawnand: sunxi: Fix ECC strength maximization
mtd: rawnand: sunxi: Fix the size of the last OOB region
mtd: rawnand: sunxi: Update OOB layout to match hardware
mtd: rawnand: sunxi: Precompute the ECC_CTL register value
drivers/mtd/nand/raw/sunxi_nand.c | 132 ++++++++++--------------------
1 file changed, 42 insertions(+), 90 deletions(-)
--
2.37.4
More information about the linux-mtd
mailing list