On 03.10.19 00:21, Tim Harvey wrote:
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"

Hi Tim,

Shouldn't this patch also enable the required kernel symbol? (MTD_UBI_FASTMAP)

Next to that, even in kernel 4.19 I'm reading following regarding this feature:

Important: this feature is experimental so far and the on-flash │
format for fastmap may change in the next kernel versions


Hi Richard,

Apologies for dragging you in here.

How stable is this fastmap format?

Will it leave Experimental state in the near future?


Thanks,

Koen


_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to