359c107d36
Armbian-compatible U-Boot v2025.01 with eMMC, DTB, and flash fixes for the X96Q TV box. Co-authored-by: Cursor <cursoragent@cursor.com>
16 lines
516 B
Diff
16 lines
516 B
Diff
diff --git a/board/sunxi/board.c b/board/sunxi/board.c
|
|
--- a/board/sunxi/board.c
|
|
+++ b/board/sunxi/board.c
|
|
@@ -826,6 +826,10 @@ int misc_init_r(void)
|
|
char *prefix = IS_ENABLED(CONFIG_ARM64) ? "allwinner/" : "";
|
|
char str[64];
|
|
|
|
snprintf(str, sizeof(str), "%s%s.dtb", prefix, spl_dt_name);
|
|
+#ifdef CONFIG_X96Q_BINARY_BUILD
|
|
+ /* Armbian ships sun50i-h313-x96q-lpddr3.dtb, not the v1.3 suffix */
|
|
+ snprintf(str, sizeof(str), "%ssun50i-h313-x96q-lpddr3.dtb", prefix);
|
|
+#endif
|
|
env_set("fdtfile", str);
|
|
}
|
|
|