From d1ee68731ab0384787aecbc840165e72ee19350b Mon Sep 17 00:00:00 2001 From: David Andreoletti Date: Wed, 28 Feb 2024 22:40:02 +0800 Subject: [PATCH] qemu-uefi-x86 board: new board introduced for x86 on virtualized env --- config/boards/qemu-uefi-x86.conf | 24 ++++++++++++++++++++++++ config/boards/uefi-x86.conf | 3 ++- 2 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 config/boards/qemu-uefi-x86.conf diff --git a/config/boards/qemu-uefi-x86.conf b/config/boards/qemu-uefi-x86.conf new file mode 100644 index 0000000000..376f26a100 --- /dev/null +++ b/config/boards/qemu-uefi-x86.conf @@ -0,0 +1,24 @@ +# x86_64 via UEFI/BIOS for generic virtual board +# +# Usage: Use this board to run armbian on a +# virtualized environment (eg: QEMU/KVM) +# +# Notes: +# - Differences with the 'uefi-x86' board: +# - support kernel boot messages on graphical +# and console/serial devices +# - support prompt on graphical/console devices +# - Patches targeting virtualized env on x86 +# should be added here - when it make sense :) +# +declare -g BOARD_NAME="UEFI x86 (QEMU)" +declare -g BOARDFAMILY="uefi-x86" +declare -g BOARD_MAINTAINER="@davidandreoletti" +declare -g KERNEL_TARGET="legacy,current,edge" +declare -g SERIALCON="tty1,ttyS0" + +declare -g BOOT_LOGO=desktop + +declare -g GRUB_CMDLINE_LINUX_DEFAULT="earlyprintk=ttyS0,115200,keep" +declare -g DEFAULT_CONSOLE="both" +declare -g UEFI_GRUB_TERMINAL="gfxterm vga_text console serial" diff --git a/config/boards/uefi-x86.conf b/config/boards/uefi-x86.conf index c25abf6127..bed29f64e2 100644 --- a/config/boards/uefi-x86.conf +++ b/config/boards/uefi-x86.conf @@ -1,7 +1,8 @@ -# x86_64 via UEFI/BIOS for all boards +# x86_64 via UEFI/BIOS for a generic hardware board declare -g BOARD_NAME="UEFI x86" declare -g BOARDFAMILY="uefi-x86" declare -g BOARD_MAINTAINER="rpardini" declare -g KERNEL_TARGET="legacy,current,edge" +declare -g SERIALCON="tty1" declare -g BOOT_LOGO=desktop