display5: Stop disabling device tree relocation
PATCH 1/1 display5: Stop disabling device tree relocation
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.
---
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.
--- include/configs/display5.h | 1 - 1 file changed, 1 deletion(-)
include/configs/display5.h +0 -1
@@ -175,7 +175,6 @@"fdtaddr=0x12800000\0" \"console=ttymxc4,115200 quiet cma=256M\0" \"fdtfile=imx6q-display5.dtb\0" \ -"fdt_high=0xffffffff\0" \"initrd_high=0xffffffff\0" \"kernel_file=fitImage\0" \"fitImg_fw_sz=0x2200\0" \
Signature · 1 line
2.43.0
Quoted 22 lines · On Tue, 18 Nov 2025 12:03:56 -0600 Tom Rini <[email protected]> wrote:
Remove setting of
fdt_highto ~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]>---
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 justbootm_size) orbootm_mapsizeare the correct way do this. Please seedoc/usage/environment.rstfor more details.Cc Lukasz Majewski <[email protected]>--- include/configs/display5.h | 1 - 1 file changed, 1 deletion(-)include/configs/display5.h +0
-0
include/configs/display5.h line 180
Quoted 7 lines
include/configs/display5.h +0
-1@@ -175,7 +175,6 @@"fdtaddr=0x12800000\0" \"console=ttymxc4,115200 quiet cma=256M\0" \"fdtfile=imx6q-display5.dtb\0" \ -"fdt_high=0xffffffff\0" \"initrd_high=0xffffffff\0" \"kernel_file=fitImage\0" \"fitImg_fw_sz=0x2200\0" \
Signature · 10 lines
Best regards, Lukasz Majewski -- Nabla Software Engineering GmbH HRB 40522 Augsburg Phone: +49 821 45592596 E-Mail: [email protected] Managing Director : Stefano Babic