[RFC] mtd: ubi: skip programming unused bits in ubi headers

Cheng Ming Lin linchengming884 at gmail.com
Fri Sep 12 01:19:46 PDT 2025


Hi Richard,

Richard Weinberger <richard at nod.at> 於 2025年9月12日 週五 下午4:04寫道:
>
> ----- Ursprüngliche Mail -----
> > Von: "Cheng Ming Lin" <linchengming884 at gmail.com>
> >> Thanks for the detailed answer!
> >> So, yes let's apply this change.
> >
> > Sorry, I need to adjust the code a bit, since I just noticed my
> > condition on vid_hdr shift was incorrect. I will send a v2 version.
>
> I expected anyway that you'll send a non-RFC version of the patch. :)
> Just in case, you ran ubi tests with various different nands?
> nandsim can help.
> Especially with and without subpage support.

I have already run ubi-utils such as ubiformat, ubiattach,
ubimkvol, and mounting UBIFS on NAND flash.

I will also run ubi-tests with nandsim on different NANDs before
submitting the formal patch, and cover both cases you mentioned: with
and without subpage support.

>
> Thanks,
> //richard

Thanks,
Cheng Ming Lin



More information about the linux-mtd mailing list