mirror of
https://github.com/Fishwaldo/build.git
synced 2025-03-15 11:21:29 +00:00
fix extlinux.conf for u-boot dtb and add arm32 (#2766)
This commit is contained in:
parent
4cb79d4ef2
commit
e275961be4
3 changed files with 12 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue