In order to support squashfs+ext4 define rootfstype=squashfs and use P2
as P1 is boot filesystem.

Signed-off-by: Tim Harvey <[email protected]>
---
 target/linux/imx/image/bootscript-ventana | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/target/linux/imx/image/bootscript-ventana 
b/target/linux/imx/image/bootscript-ventana
index 734f74a30c5f..44a425d3484f 100644
--- a/target/linux/imx/image/bootscript-ventana
+++ b/target/linux/imx/image/bootscript-ventana
@@ -44,7 +44,7 @@ if itest.s "x${dtype}" == "xnand" ; then
        setenv root "ubi0:ubi ubi.mtd=2 rootfstype=squashfs,ubifs"
 else
        setenv fsload "${fs}load ${dtype} ${disk}:1"
-       part uuid ${dtype} ${disk}:1 uuid
+       part uuid ${dtype} ${disk}:2 uuid
        if test -z "${uuid}"; then
                # fallback to bootdev
                if test -n "$bootdev" ; then
@@ -60,7 +60,7 @@ else
        else
                setenv root "root=PARTUUID=${uuid}"
        fi
-       setenv root "$root rootfstype=${fs} rootwait rw"
+       setenv root "$root rootfstype=squashfs rootwait"
 fi
 
 setenv bootargs "${bootargs}" "${root}" "${video}" "${extra}"
-- 
2.25.1


_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to