All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ae350: Stop disabling device tree relocation
@ 2025-11-19 14:55 Tom Rini
  2025-12-04 11:27 ` Leo Liang
  0 siblings, 1 reply; 2+ messages in thread
From: Tom Rini @ 2025-11-19 14:55 UTC (permalink / raw)
  To: u-boot; +Cc: Rick Chen

Remove setting of fdt_high to ~0, which disables device tree relocation,
from the default environment. Doing so prevents U-Boot from correcting
problems such as having an unaligned device tree and leads to various
failure modes in the OS.

Signed-off-by: Tom Rini <trini@konsulko.com>
---
If there is some window of memory that must be used for where the device
tree is relocated to, bootm_low + bootm_size (or often just bootm_size)
or bootm_mapsize are the correct way do this. Please see
doc/usage/environment.rst for more details.

Cc: Rick Chen <rick@andestech.com>
---
 include/configs/ae350.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/include/configs/ae350.h b/include/configs/ae350.h
index 23e4801379de..43b1878b520d 100644
--- a/include/configs/ae350.h
+++ b/include/configs/ae350.h
@@ -83,7 +83,6 @@
 #include <config_distro_bootcmd.h>
 
 #define CFG_EXTRA_ENV_SETTINGS	\
-				"fdt_high=0xffffffffffffffff\0" \
 				"initrd_high=0xffffffffffffffff\0" \
 				"kernel_addr_r=0x00600000\0" \
 				"kernel_comp_addr_r=0x04600000\0" \
-- 
2.43.0


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

* Re: [PATCH] ae350: Stop disabling device tree relocation
  2025-11-19 14:55 [PATCH] ae350: Stop disabling device tree relocation Tom Rini
@ 2025-12-04 11:27 ` Leo Liang
  0 siblings, 0 replies; 2+ messages in thread
From: Leo Liang @ 2025-12-04 11:27 UTC (permalink / raw)
  To: Tom Rini; +Cc: u-boot, Rick Chen

On Wed, Nov 19, 2025 at 08:55:19AM -0600, Tom Rini wrote:
> [EXTERNAL MAIL]
> 
> Remove setting of fdt_high to ~0, which disables device tree relocation,
> from the default environment. Doing so prevents U-Boot from correcting
> problems such as having an unaligned device tree and leads to various
> failure modes in the OS.
> 
> Signed-off-by: Tom Rini <trini@konsulko.com>
> ---
> If there is some window of memory that must be used for where the device
> tree is relocated to, bootm_low + bootm_size (or often just bootm_size)
> or bootm_mapsize are the correct way do this. Please see
> doc/usage/environment.rst for more details.
> 
> Cc: Rick Chen <rick@andestech.com>
> ---
>  include/configs/ae350.h | 1 -
>  1 file changed, 1 deletion(-)

Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>

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

end of thread, other threads:[~2025-12-04 11:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-19 14:55 [PATCH] ae350: Stop disabling device tree relocation Tom Rini
2025-12-04 11:27 ` Leo Liang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.