[PATCH] riscv: qemu: Remove fdt_high default
Vivian Wang
wangruikang at iscas.ac.cn
Mon Sep 15 01:45:49 CEST 2025
Setting fdt_high to all ones is discouraged and does not appear to be
useful for RISC-V QEMU. Moreover, it causes a boot failure when the FDT
generated internally by QEMU is used while booting. Remove it to allow
U-Boot to pick a suitable address and relocate the FDT.
Closes: https://lore.kernel.org/u-boot/8397369a-9b0b-4798-9c30-3a81165657d6@iscas.ac.cn
Signed-off-by: Vivian Wang <wangruikang at iscas.ac.cn>
---
include/configs/qemu-riscv.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/include/configs/qemu-riscv.h b/include/configs/qemu-riscv.h
index cf4fcb90b047bb641d702124f2efa451408c0b16..dad59cc0d5827981396b10d9782766d4d9aa29c6 100644
--- a/include/configs/qemu-riscv.h
+++ b/include/configs/qemu-riscv.h
@@ -32,7 +32,6 @@
#define CFG_EXTRA_ENV_SETTINGS \
CFG_STD_DEVICES_SETTINGS \
- "fdt_high=0xffffffffffffffff\0" \
"initrd_high=0xffffffffffffffff\0" \
"kernel_addr_r=0x84000000\0" \
"kernel_comp_addr_r=0x88000000\0" \
---
base-commit: 18973d4b0801ec6d7fddc0084601036b5c3b08ad
change-id: 20250915-qemu-riscv-remove-fdt-high-1ac688dd13bb
Best regards,
--
Vivian "dramforever" Wang
More information about the U-Boot
mailing list