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