[PATCH v2] mtd: rawnand: nandsim: Add support to disable subpage writes.

Marc Kleine-Budde mkl at pengutronix.de
Thu Sep 24 03:40:04 EDT 2020


On 9/24/20 8:31 AM, Richard Weinberger wrote:
> On Wed, Sep 23, 2020 at 5:08 PM Marc Kleine-Budde <mkl at pengutronix.de> wrote:
>> Sorry for picking up this old thread, but is there a change to get this patch
>> upstream? It works and solved my problem of mounting a NAND dump of an UBI/UBIFS
>> from an imx6 (2k page size/no sub pages).
>>
>> I think it doesn't apply clearly to current linus/master, but rebasing is
>> trivial. I can send a v3.
> 
> Since a nandsim replacement did not materialize yet, the chances are
> good to get this merged. :-)
> Before we do so, can you please explain why ubiattach -O does not work for you?

Doh! Thanks for the input, this is the option I needed to properly attach the
UBI! \o/

> This is the way I deal with subpage "issues" when inspecting ubi/ubifs
> images on nandsim.

One question (rather academic, I don't want to do that): Does the UBI/UBIFS do
sub-page writes on the nandsim? Is the resulting NAND image still compatible if
I write it to the original device, that doesn't do subpage writes?

Marc

-- 
Pengutronix e.K.                 | Marc Kleine-Budde           |
Embedded Linux                   | https://www.pengutronix.de  |
Vertretung West/Dortmund         | Phone: +49-231-2826-924     |
Amtsgericht Hildesheim, HRA 2686 | Fax:   +49-5121-206917-5555 |

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://lists.infradead.org/pipermail/linux-mtd/attachments/20200924/01c16001/attachment-0001.sig>


More information about the linux-mtd mailing list