linux-mtd: ubiattach taking long time
Richard Weinberger
richard at nod.at
Tue Mar 26 07:10:24 PDT 2024
Pintu,
----- Ursprüngliche Mail -----
> Von: "Pintu Agarwal" <pintu.ping at gmail.com>
> Is there anything missing here ?
> Can we increase the pool size ? Will it help to improve the timing ?
As long you see "scanning is finished", fastmap was not used.
Usually a fastmap is created after ubidetach or writing more than pool size.
>> Speaking of other techniques, you can improve scanning time also by
>> tuning UBI for your NAND controller/setup.
>> E.g. transferring only the amount of bytes needed for an header.
>> Or reading without ECC and re-reading with ECC if the header CRC-check fails.
>>
> Sorry, I could not get this fully.
> Is it possible to elaborate more with some reference ?
> Do we have some special commands/parameters to do it if we use initramfs ?
You need to touch code for that. These are highly specific adoptions.
Thanks,
//richard
More information about the linux-mtd
mailing list