mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
fix extlinux.conf for u-boot dtb and add arm32 (#2766)
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
NAME_KERNEL="Image"
|
||||
NAME_INITRD="uInitrd"
|
||||
MAIN_CMDLINE="rootflags=data=writeback rw no_console_suspend consoleblank=0 fsck.fix=yes fsck.repair=yes net.ifnames=0 bootsplash.bootfile=bootsplash.armbian"
|
||||
INITRD_ARCH=arm64
|
||||
QEMU_BINARY="qemu-aarch64-static"
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
NAME_KERNEL="zImage"
|
||||
NAME_INITRD="uInitrd"
|
||||
MAIN_CMDLINE="rootflags=data=writeback rw no_console_suspend consoleblank=0 fsck.fix=yes fsck.repair=yes net.ifnames=0 bootsplash.bootfile=bootsplash.armbian"
|
||||
INITRD_ARCH=arm
|
||||
QEMU_BINARY="qemu-arm-static"
|
||||
ARCHITECTURE=arm
|
||||
|
||||
@@ -171,11 +171,14 @@ install_common()
|
||||
mkdir -p $SDCARD/boot/extlinux
|
||||
cat <<-EOF > "$SDCARD/boot/extlinux/extlinux.conf"
|
||||
LABEL Armbian
|
||||
LINUX /boot/Image
|
||||
INITRD /boot/uInitrd
|
||||
FDT /boot/dtb/$BOOT_FDT_FILE
|
||||
LINUX /boot/$NAME_KERNEL
|
||||
INITRD /boot/$NAME_INITRD
|
||||
EOF
|
||||
|
||||
if [[ -n $BOOT_FDT_FILE ]]; then
|
||||
echo " FDT /boot/dtb/$BOOT_FDT_FILE" >> "$SDCARD/boot/extlinux/extlinux.conf"
|
||||
else
|
||||
echo " FDTDIR /boot/dtb/" >> "$SDCARD/boot/extlinux/extlinux.conf"
|
||||
fi
|
||||
else
|
||||
|
||||
if [ -f "${USERPATCHES_PATH}/bootscripts/${bootscript_src}" ]; then
|
||||
|
||||
Reference in New Issue
Block a user