This commit is contained in:
Igor Pečovnik 2014-11-18 21:14:17 +01:00
parent f47f2441f7
commit e140d07125

View File

@ -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