[PATCH RFC 14/14] configs: add x1e_defconfig

Caleb Connolly caleb.connolly at linaro.org
Sun Nov 24 21:27:10 CET 2024


Add a defconfig for Qualcomm X1 Elite based devices. These boot U-Boot
using EFISTUB from their stock EFI bootloader.

Initially we support display and USB, keyboard will require i2c-hid,
NVME will require PCIe support.

Signed-off-by: Caleb Connolly <caleb.connolly at linaro.org>
---
 board/qualcomm/efistub.env | 11 +++++++++++
 configs/x1e_defconfig      | 17 +++++++++++++++++
 2 files changed, 28 insertions(+)

diff --git a/board/qualcomm/efistub.env b/board/qualcomm/efistub.env
new file mode 100644
index 000000000000..5264603556ad
--- /dev/null
+++ b/board/qualcomm/efistub.env
@@ -0,0 +1,11 @@
+stdin=serial,button-kbd
+stdout=serial,vidconsole
+stderr=serial,vidconsole
+preboot=usb start; pci enum; nvme scan;
+fastboot=fastboot -l $fastboot_addr_r usb 0
+do_boot=bootefi bootmgr
+bootmenu_0=Boot first available device=run do_boot
+bootmenu_1=Enable fastboot mode=run fastboot
+bootmenu_2=Reset device=reset
+menucmd=bootmenu
+bootcmd=run do_boot
diff --git a/configs/x1e_defconfig b/configs/x1e_defconfig
new file mode 100644
index 000000000000..d60210f2ca5b
--- /dev/null
+++ b/configs/x1e_defconfig
@@ -0,0 +1,17 @@
+#include "qcom_defconfig"
+
+# Broken?? Probably an issue with mapping the memory
+CONFIG_QCOM_COMMAND_DB=n
+
+CONFIG_EFI=y
+CONFIG_EFI_STUB=y
+CONFIG_EFI_STUB_64BIT=y
+
+CONFIG_DEBUG_UART=y
+CONFIG_DEBUG_UART_ANNOUNCE=y
+CONFIG_DEBUG_UART_BASE=0x894000
+CONFIG_DEBUG_UART_MSM_GENI=y
+CONFIG_DEBUG_UART_CLOCK=14745600
+
+CONFIG_DEFAULT_ENV_FILE="board/qualcomm/efistub.env"
+CONFIG_DEFAULT_DEVICE_TREE="qcom/x1e80100-crd"

-- 
2.47.0



More information about the U-Boot mailing list