Revert odroidc2-next boot script to use booti and raw Image

This commit is contained in:
zador-blood-stained 2017-12-02 17:51:25 +03:00
parent 49f002c873
commit caaac5c053
2 changed files with 1 additions and 15 deletions

View File

@ -61,7 +61,7 @@ else
source ${load_addr}
fi
fi
bootm ${kernel_addr_r} ${ramdisk_addr_r} ${fdt_addr_r}
booti ${kernel_addr_r} ${ramdisk_addr_r} ${fdt_addr_r}
# Recompile with:
# mkimage -C none -A arm -T script -d /boot/boot.cmd /boot/boot.scr

View File

@ -1,14 +0,0 @@
diff --git a/scripts/package/builddeb b/scripts/package/builddeb
index 750d70e..8fc16c9 100755
--- a/scripts/package/builddeb
+++ b/scripts/package/builddeb
@@ -258,7 +258,8 @@ mountpoint -q /boot || mount /boot
cp /tmp/uImage /boot/uImage
rm -f /$installed_image_path
else
-ln -sf $(basename $installed_image_path) /boot/Image > /dev/null 2>&1 || mv /$installed_image_path /boot/Image
+rm -f /boot/zImage
+mkimage -A arm64 -O linux -T kernel -C none -a 0x1080000 -e 0x1080000 -n "Linux kernel" -d /boot/$(basename $installed_image_path) /boot/Image
fi
touch /boot/.next
exit 0