[PATCH 1/1] commands/ubi.c: Add support for VID header offset in ubiattach
Jan Lübbe
jlu at pengutronix.de
Thu Feb 14 11:23:21 EST 2013
On Mon, 2013-02-11 at 16:21 +0100, Sascha Hauer wrote:
> I'm interested in this patch once it's clear that this option is needed.
> Right now I think that the work is better invested in making this option
> unneeded. Jan, do you have insights why this is needed?
Linux with current mainline + pending GPMC/ELM patches thinks it
supports sub-page reads/writes on 2k page NAND with BCH8. This is simply
wrong. By using "root=ubi0:root ubi.mtd=nand0.root,2048
rootfstype=ubifs" in the kernel cmdline, you will get this override in
the kernel.
The GMPC NAND driver in barebox correctly does not use sub-page-access
and works fine without overriding the VID header offset.
When building the UBIFS/UBI the offset must obviously be set correctly.
Which kernel & barebox are you using?
Regards,
Jan
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
More information about the barebox
mailing list