Files
achamaikin 359c107d36 Add X96Q LPDDR3 v1.3 custom U-Boot build and eMMC flash tooling.
Armbian-compatible U-Boot v2025.01 with eMMC, DTB, and flash fixes for the X96Q TV box.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-05 05:22:22 +03:00

32 lines
998 B
Diff

diff --git a/arch/arm/mach-sunxi/Kconfig b/arch/arm/mach-sunxi/Kconfig
index 8065161e6..b92c0402c 100644
--- a/arch/arm/mach-sunxi/Kconfig
+++ b/arch/arm/mach-sunxi/Kconfig
@@ -1130,6 +1130,12 @@ config BLUETOOTH_DT_DEVICE_FIXUP
The used address is "bdaddr" if set, and "ethaddr" with the LSB
flipped elsewise.
+config X96Q_BINARY_BUILD
+ bool "Print 'binary build' easter egg on UART in SPL"
+ default n
+ help
+ Print a short banner on the serial console early in SPL boot.
+
source "board/sunxi/Kconfig"
endif
diff --git a/arch/arm/mach-sunxi/board.c b/arch/arm/mach-sunxi/board.c
index 701899ee4..7b6e9ee9c 100644
--- a/arch/arm/mach-sunxi/board.c
+++ b/arch/arm/mach-sunxi/board.c
@@ -470,6 +470,9 @@ void board_init_f(ulong dummy)
spl_init();
preloader_console_init();
+#ifdef CONFIG_X96Q_BINARY_BUILD
+ puts("*** binary build ***\n");
+#endif
#if CONFIG_IS_ENABLED(I2C) && CONFIG_IS_ENABLED(SYS_I2C_LEGACY)
/* Needed early by sunxi_board_init if PMU is enabled */