UBI Fastmap support is stable in the 4.4 kernel so lets take advantage of it to shave off 5-10 seconds of boot time.
Signed-off-by: Tim Harvey <thar...@gateworks.com> --- target/linux/imx6/image/bootscript-ventana | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/target/linux/imx6/image/bootscript-ventana b/target/linux/imx6/image/bootscript-ventana index 941afb5..8451caf 100644 --- a/target/linux/imx6/image/bootscript-ventana +++ b/target/linux/imx6/image/bootscript-ventana @@ -1,4 +1,4 @@ -echo "Gateworks Ventana OpenWrt Boot script v1.01" +echo "Gateworks Ventana OpenWrt Boot script v1.02" # set some defaults # set some defaults @@ -51,6 +51,8 @@ if itest.s "x${dtype}" == "xnand" ; then echo "mtdparts:${mtdparts}" setenv fsload ubifsload setenv root "ubi0:ubi ubi.mtd=2 rootfstype=squashfs,ubifs" + # enable UBI fastmap support + setenv bootargs "${bootargs} ubi.fm_autoconvert=1" else echo "Booting from block device ${bootdev}..." setenv fsload "${fs}load ${dtype} ${disk}:1" -- 2.7.4 _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel