[PATCH v4 0/3] mtd: Support slc-mode for NTC CHIP

Chris Morgan macromorgan at hotmail.com
Mon Mar 28 23:32:09 CEST 2022


On Sat, Mar 12, 2022 at 01:02:16AM +0530, Jagan Teki wrote:
> On Thu, Mar 10, 2022 at 8:57 PM Chris Morgan <macromorgan at hotmail.com> wrote:
> >
> > On Thu, Mar 10, 2022 at 05:30:17PM +0530, Jagan Teki wrote:
> > > Hi Chris,
> > >
> > > On Thu, Jan 20, 2022 at 6:44 PM Jagan Teki <jagan at amarulasolutions.com> wrote:
> > > >
> > > > On Fri, Dec 17, 2021 at 12:14 AM Chris Morgan <macroalpha82 at gmail.com> wrote:
> > > > >
> > > > > From: Chris Morgan <macromorgan at hotmail.com>
> > > > >
> > > > > Add support for slc-mode implemented in Linux for the Toshiba
> > > > > TC58TEG5DCLTA00 NAND and Hynix H27UCG8T2ETR NAND flash found on the NTC
> > > > > CHIP. This requires the addition of a paired-pages scheme, a new
> > > > > parameter for MTD partitions of slc-mode, and setting the correct
> > > > > paired-pages scheme for the TC58TEG5DCLTA00  and H27UCG8T2ETR flash
> > > > > chips.
> > > > >
> > > > > Changes since V3:
> > > > >   - Rebased against master branch as of 2021-12-16.
> > > > >   - Added slc mode support for mtdparts command.
> > > > >
> > > > > Changes since V2:
> > > > >  - Copied upstream Linux implementation of mtd_erase to fix an issue
> > > > >    with creating new ubi partitions.
> > > > >  - Implemented paired page scheme and added support for Hynix flash
> > > > >    chip. Based on a cursory reading of the datasheet it appears to use
> > > > >    the same pairing scheme as the Toshiba chip.
> > > > >
> > > > > Changes since V1:
> > > > >
> > > > >  - Updated mtd_read and mtd_write to match upstream Linux.
> > > > >  - Additional mtd_get_master to match upstream Linux.
> > > > >  - Removed notes about ubifs not working, because it is now.
> > > > >
> > > > > Signed-off-by: Chris Morgan <macromorgan at hotmail.com>
> > > > >
> > > > > Chris Morgan (3):
> > > > >   mtd: Add support for Linux slc-mode for MLC NAND
> > > > >   mtd: Add pairing info for Toshiba TC58TEG5DCLTA00 NAND
> > > > >   mtd: Add pairing info for Hynix H27UCG8T2ETR NAND
> > >
> > > Do you have any updated version for this or it is final itself?
> >
> > Should be final, but I can rebase it again if need be. I've been
> > running this successfully for the better part of about 3 months
> > now with no more visible issues on my end. I never got fastboot
> > to talk to the mtd subsystem the way I was hoping, but in the end
> > was able to sidestep the issue with an swupdate based flash tool.
> 
> Please rebase and send.

I can confirm the patch series still applies, compiles and works on mainline
master as of today, so no rebasing should be necessary. Let me know if you
find issues on your end though.

Thank you.

> 
> Thanks,
> Jagan.


More information about the U-Boot mailing list