UBI - exclude bootloader blocks from wear levelling

Wolfgang Denk wd at denx.de
Wed Dec 23 01:32:42 EST 2009


Dear Lauren Del Giudice,

In message <4B2FA658.6010407 at wyplay.com> you wrote:
> I'm new to UBI... I understood that static wear levelling is applied
> accross the whole device (a NAND device in my case); If so, how can
> I exclude blocks reserved for the bootloader from wear levelling?

Why would you want to do that? You should be happy that UBI also
applies wear levelling to the bootloader storage, as this prevents
your device from bricking when read errors develop there. Keep in mind
that NAND blocks will develop read errors even if you only read them
(i. e. there is not only a limit on the number of erase cycles of such
a device, but also on the number of read cycles).

It is a great benefit if your boot loader gets loaded from a UBI
partition instead of raw NAND.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Even if you aren't in doubt, consider the mental welfare of the  per-
son who has to maintain the code after you, and who will probably put
parens in the wrong place.          - Larry Wall in the perl man page



More information about the linux-mtd mailing list