From e140d07125f152164e896c336002fcef8549f39f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Igor=20Pe=C4=8Dovnik?= Date: Tue, 18 Nov 2014 21:14:17 +0100 Subject: [PATCH] fix --- scripts/nand-install.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/nand-install.sh b/scripts/nand-install.sh index 079e26672f..68fcb12d17 100644 --- a/scripts/nand-install.sh +++ b/scripts/nand-install.sh @@ -75,6 +75,8 @@ tar xfz nand1-allwinner.tgz -C /mnt/ #rm nand1-cubietruck-debian-boot.tgz #rm nand_mbr.backup +cp /boot/uEnv.txt /mnt + # choose proper kernel configuration for CB2 or CT if [ $(cat /proc/meminfo | grep MemTotal | grep -o '[0-9]\+') -ge 1531749 ]; then cp /boot/uEnv.ct /mnt/uEnv.txt @@ -83,7 +85,7 @@ else cp /boot/uEnv.cb2 /mnt/uEnv.txt cp /boot/cubieboard2.bin /mnt/script.bin fi - +cp /boot/lime* /mnt/script.bin cp /boot/uImage /mnt/ # change root from sd card to nand in both configs