From e7152942bc2ba4040e8496d85d444c0167897313 Mon Sep 17 00:00:00 2001 From: Adam Pigg Date: Sat, 5 Sep 2020 19:33:34 +0100 Subject: [PATCH] Copy all files/folders in /boot to the boot partition. New uboot looks in allwinne/* for the dtb files, and the new kernel properly populates its /boot folder with the allwinner folder and the backup files in /boot --- flash-it.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/flash-it.sh b/flash-it.sh index 9b65179..8e4c384 100755 --- a/flash-it.sh +++ b/flash-it.sh @@ -238,9 +238,8 @@ echo -e "\e[1mCopying kernel to boot partition...\e[0m" mkdir "$MOUNT_BOOT" sudo mount $BOOTPART "$MOUNT_BOOT" # Mount boot partition echo "Boot partition mount: $MOUNT_BOOT" -sudo sh -c "cp $MOUNT_DATA/boot/Image $MOUNT_BOOT" -sudo sh -c "cp $MOUNT_DATA/boot/*.dtb $MOUNT_BOOT" -sudo sh -c "cp $MOUNT_DATA/boot/*.dts $MOUNT_BOOT" +sudo sh -c "cp -r $MOUNT_DATA/boot/* $MOUNT_BOOT" + echo `ls $MOUNT_BOOT` if [ "$CUSTOM" != "" ]; then sudo sh -c "cp '${CUSTOM}/boot.scr' '$MOUNT_BOOT/boot.scr'"