Update vu_dev_mtd1.sh

This commit is contained in:
gutosie
2021-12-31 12:06:08 +02:00
committed by GitHub
parent 1759198134
commit 709263b75d

View File

@@ -52,7 +52,7 @@ if [ $VUMODEL = "bm750" ] || [ $BOXHOSTNAME = "vuduo" ] || [ $BOXHOSTNAME = "vus
cp -f $NEOBOOTMOUNT$UPLOAD/.kernel/$BOXHOSTNAME.vmlinux.gz /tmp/vmlinux.gz cp -f $NEOBOOTMOUNT$UPLOAD/.kernel/$BOXHOSTNAME.vmlinux.gz /tmp/vmlinux.gz
[ $PL ] && echo "Wgrywanie kernel do /dev/mtd1..." || echo "Writing kernel to from /dev/mtd1" [ $PL ] && echo "Wgrywanie kernel do /dev/mtd1..." || echo "Writing kernel to from /dev/mtd1"
sleep 2 sleep 2
if [ $CHECK_NANDWRITE = "nandwrite" ] ; then if [ -e /tmp/check_nandwrite ] || [ $CHECK_NANDWRITE = "nandwrite" ] ; then
set -e set -e
if [ "x$D" == "x" ]; then if [ "x$D" == "x" ]; then
if [ -f /tmp/vmlinux.gz ] ; then if [ -f /tmp/vmlinux.gz ] ; then
@@ -93,7 +93,7 @@ if [ $VUMODEL = "bm750" ] || [ $BOXHOSTNAME = "vuduo" ] || [ $BOXHOSTNAME = "vus
[ $PL ] && echo "Wgrywanie kernel do /dev/mtd1... " || echo "Writing kernel to from /dev/mtd1 " [ $PL ] && echo "Wgrywanie kernel do /dev/mtd1... " || echo "Writing kernel to from /dev/mtd1 "
sleep 2 sleep 2
if [ $CHECK_NANDWRITE = "nandwrite" ] ; then if [ -e /tmp/check_nandwrite ] || [ $CHECK_NANDWRITE = "nandwrite" ] ; then
echo "writing kernel flash - BOOT IMAGE " echo "writing kernel flash - BOOT IMAGE "
set -e set -e
if [ "x$D" == "x" ]; then if [ "x$D" == "x" ]; then
@@ -127,7 +127,7 @@ if [ $VUMODEL = "bm750" ] || [ $BOXHOSTNAME = "vuduo" ] || [ $BOXHOSTNAME = "vus
cp -f $NEOBOOTMOUNT$UPLOAD/.kernel/$BOXHOSTNAME.vmlinux.gz /tmp/vmlinux.gz cp -f $NEOBOOTMOUNT$UPLOAD/.kernel/$BOXHOSTNAME.vmlinux.gz /tmp/vmlinux.gz
[ $PL ] && echo "Zapis kernel do /dev/mtd1... " || echo "Writing kernel to from /dev/mtd1 " [ $PL ] && echo "Zapis kernel do /dev/mtd1... " || echo "Writing kernel to from /dev/mtd1 "
sleep 2 sleep 2
if [ $CHECK_NANDWRITE = "nandwrite" ] ; then if [ -e /tmp/check_nandwrite ] || [ $CHECK_NANDWRITE = "nandwrite" ] ; then
echo "writing kernel flash - IMAGE BOOT " echo "writing kernel flash - IMAGE BOOT "
set -e set -e
if [ "x$D" == "x" ]; then if [ "x$D" == "x" ]; then