public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH] riscv: qemu: Remove fdt_high default
@ 2025-09-14 23:45 Vivian Wang
  2025-09-15 14:32 ` Tom Rini
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Vivian Wang @ 2025-09-14 23:45 UTC (permalink / raw)
  To: Bin Meng, Tom Rini; +Cc: u-boot, Sughosh Ganu, Auer, Lukas, Vivian Wang

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@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


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2025-09-19 10:50 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-14 23:45 [PATCH] riscv: qemu: Remove fdt_high default Vivian Wang
2025-09-15 14:32 ` Tom Rini
2025-09-16  0:25   ` E Shattow
2025-09-16 18:48     ` Tom Rini
2025-09-17 17:18 ` Auer, Lukas
2025-09-19 10:48 ` Leo Liang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox