projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
imx6: Fix pointing to msata/mmc bootdevs
[openwrt/openwrt.git]
/
target
/
linux
/
imx6
/
image
/
bootscript-ventana
diff --git
a/target/linux/imx6/image/bootscript-ventana
b/target/linux/imx6/image/bootscript-ventana
index 87757336989bafa6f8313a8221298bb4c298a03c..dcf26bb9599bdc828e2a829aed4823d855ee4df5 100644
(file)
--- 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.0
0
"
+echo "Gateworks Ventana OpenWrt Boot script v1.0
1
"
# set some defaults
# set some defaults
# 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
echo "Using bootdev from env: $bootdev"
else
if itest.s "x${dtype}" == "xmmc" ; then
- bootdev=mmcblk0
+ bootdev=mmcblk0
p1
else
else
- bootdev=sda
+ bootdev=sda
1
fi
fi
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"
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}"
fi
setenv bootargs "${bootargs}" "${root}" "${video}" "${extra}"