From 2cc58610fbf069a48c5cb1f0605b23f3835aaa16 2018-11-17 21:33:30 From: burnbabyburn Date: 2018-11-17 21:33:30 Subject: [PATCH] fixes --- diff --git a/bootstrap.d/41-uboot.sh b/bootstrap.d/41-uboot.sh index 3389bef..c279257 100644 --- a/bootstrap.d/41-uboot.sh +++ b/bootstrap.d/41-uboot.sh @@ -52,6 +52,7 @@ if [ "$ENABLE_UBOOT" = true ] ; then # Configure U-Boot to load generated initramfs printf "# Set initramfs file\nsetenv initramfs initramfs-${KERNEL_VERSION}.uboot\n\n$(cat ${BOOT_DIR}/uboot.mkimage)" > "${BOOT_DIR}/uboot.mkimage" + printf "\nbootz \${kernel_addr_r} \${ramdisk_addr_r} \${fdt_addr_r}" >> "${BOOT_DIR}/uboot.mkimage" else # ENABLE_INITRAMFS=false # Remove initramfs from U-Boot mkfile sed -i '/.*initramfs.*/d' "${BOOT_DIR}/uboot.mkimage" diff --git a/rpi23-gen-image.sh b/rpi23-gen-image.sh index 295cbf1..df07428 100755 --- a/rpi23-gen-image.sh +++ b/rpi23-gen-image.sh @@ -335,7 +335,7 @@ fi # Add libncurses5 to enable kernel menuconfig if [ "$KERNEL_MENUCONFIG" = true ] ; then - REQUIRED_PACKAGES="${REQUIRED_PACKAGES} libncurses5-dev" + REQUIRED_PACKAGES="${REQUIRED_PACKAGES} libncurses-dev" fi # Add ccache compiler cache for (faster) kernel cross (re)compilation