aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/imx6
diff options
context:
space:
mode:
authorKoen Vandeputte <koen.vandeputte@ncentric.com>2016-08-22 17:05:11 +0200
committerJo-Philipp Wich <jo@mein.io>2016-08-22 17:24:48 +0200
commitdc765f64c59a3e4a2d751685aec1f7a9bc3f2195 (patch)
tree486c7ea055fc2b0564d286ef75093c19eaff1b26 /target/linux/imx6
parentc34f953fefe8ad57dc9f259e074f83df5688d776 (diff)
downloadupstream-dc765f64c59a3e4a2d751685aec1f7a9bc3f2195.tar.gz
upstream-dc765f64c59a3e4a2d751685aec1f7a9bc3f2195.tar.bz2
upstream-dc765f64c59a3e4a2d751685aec1f7a9bc3f2195.zip
imx6: Fix pointing to msata/mmc bootdevs
Point to correct devices when booting from msata or MMC Changes fetched from Gateworks git Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com> [Jo-Philipp Wich: rebased to apply against current LEDE version] Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'target/linux/imx6')
-rw-r--r--target/linux/imx6/image/bootscript-ventana8
1 files changed, 4 insertions, 4 deletions
diff --git a/target/linux/imx6/image/bootscript-ventana b/target/linux/imx6/image/bootscript-ventana
index 8775733698..dcf26bb959 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.00"
+echo "Gateworks Ventana OpenWrt Boot script v1.01"
# set some defaults
# set some defaults
@@ -35,9 +35,9 @@ if test -n "$bootdev" ; then
echo "Using bootdev from env: $bootdev"
else
if itest.s "x${dtype}" == "xmmc" ; then
- bootdev=mmcblk0
+ bootdev=mmcblk0p1
else
- bootdev=sda
+ bootdev=sda1
fi
fi
@@ -54,7 +54,7 @@ if itest.s "x${dtype}" == "xnand" ; then
else
echo "Booting from block device ${bootdev}..."
setenv fsload "${fs}load ${dtype} ${disk}:1"
- setenv root "root=/dev/${bootdev}"
+ setenv root "root=/dev/${bootdev} rootfstype=${fs} rootwait rw"
fi
setenv bootargs "${bootargs}" "${root}" "${video}" "${extra}"