[U-Boot] [PATCH] OMAP3_logic: Add NAND args to boot UBIFS

Tom Rini trini at konsulko.com
Wed Feb 10 02:46:41 CET 2016


On Tue, Feb 09, 2016 at 06:04:22PM -0600, Adam Ford wrote:

> With the recent addition of UBI support, this patch will add the preset
> parameters to allow for mouting an UBIFS from the 'fs' partition in NAND.
> 
> Signed-off-by: Adam Ford <aford173 at gmail.com>
> ---
>  include/configs/omap3_logic.h | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/include/configs/omap3_logic.h b/include/configs/omap3_logic.h
> index 9ea6ef3..300bbff 100644
> --- a/include/configs/omap3_logic.h
> +++ b/include/configs/omap3_logic.h
> @@ -180,6 +180,8 @@
>  	"mmcdev=0\0" \
>  	"mmcroot=/dev/mmcblk0p2 rw\0" \
>  	"mmcrootfstype=ext4 rootwait\0" \
> +	"nandroot=ubi0:rootfs rw ubi.mtd=4 noinitrd\0" \

Since we have mtdparts defined and being passed in, you should use
ubi.mtd=fs here instead to be more future-proof. IMHO.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160209/9c1506aa/attachment.sig>


More information about the U-Boot mailing list