diff options
author | Tim Harvey <tharvey@gateworks.com> | 2023-02-17 14:03:45 -0800 |
---|---|---|
committer | Christian Lamparter <chunkeey@gmail.com> | 2023-05-18 17:11:43 +0200 |
commit | 43af3c94be51f086a6f8831a0b46bb3e250c75ac (patch) | |
tree | 1d1f13d5f91c038811150b123201390e8f2fc419 /target | |
parent | 628a410ed149ca2bf17abd3159e44acc2920743e (diff) | |
download | upstream-43af3c94be51f086a6f8831a0b46bb3e250c75ac.tar.gz upstream-43af3c94be51f086a6f8831a0b46bb3e250c75ac.tar.bz2 upstream-43af3c94be51f086a6f8831a0b46bb3e250c75ac.zip |
imx: image: ventana: use squashfs rootfs for non NAND devices
In order to support squashfs+ext4 define rootfstype=squashfs and use P2
as P1 is boot filesystem.
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Diffstat (limited to 'target')
-rw-r--r-- | target/linux/imx/image/bootscript-ventana | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/imx/image/bootscript-ventana b/target/linux/imx/image/bootscript-ventana index 734f74a30c..44a425d348 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}" |