Hi Tom,

On 19.11.25 15:55, Tom Rini wrote:
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 <[email protected]>
---

Tested-by: Stefan Bosch <[email protected]>

Looks OK, tested on FriendlyElec-Board NanoPC-T2 (s5p4418_nanopi2_defconfig) with booting of LUbuntu Xenial (kernel 4.4.49-s5p4418).

Thanks!

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: Stefan Bosch <[email protected]>
---
  include/configs/s5p4418_nanopi2.h | 1 -
  1 file changed, 1 deletion(-)

diff --git a/include/configs/s5p4418_nanopi2.h 
b/include/configs/s5p4418_nanopi2.h
index fec1bfd50eb9..8a8d54daf7b4 100644
--- a/include/configs/s5p4418_nanopi2.h
+++ b/include/configs/s5p4418_nanopi2.h
@@ -139,7 +139,6 @@
  #endif
#define CFG_EXTRA_ENV_SETTINGS \
-       "fdt_high=0xffffffff\0"                                       \
        "initrd_high=0xffffffff\0"                            \
        "rootdev=" __stringify(CONFIG_ROOT_DEV) "\0"                \
        "rootpart=" __stringify(CONFIG_ROOT_PART) "\0"              \

Regards,
Stefan

Reply via email to