capricorn: Stop disabling device tree relocation
PATCH 1/1 capricorn: 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.
--- board/siemens/capricorn/capricorn_default.env | 1 - 1 file changed, 1 deletion(-)
board/siemens/capricorn/capricorn_default.env +0 -1
@@ -11,7 +11,6 @@ console=ttyLP2 dtb_name_default=default ethprime=eth1 fdt_addr=0x83000000 -fdt_high=0xffffffffffffffff flash_self=run mmc_boot flash_self_test=setenv testargs test loglevel=3 systemd.unit=test.target; run mmc_boot hostname=capricorn
Signature · 1 line
2.43.0
Hi Tom!
Quoted 6 lines · Tom Rini
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]>
Quoted 25 lines
---
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 Alexander Sverdlin <[email protected]>Cc Heiko Schocher <[email protected]>Cc Walter Schweizer <[email protected]>---
board/siemens/capricorn/capricorn_default.env | 1 -1 file changed, 1 deletion(-)board/siemens/capricorn/capricorn_default.env +0
-0@@ -11,7 +11,6 @@ console=ttyLP2dtb_name_default=default
ethprime=eth1
fdt_addr=0x83000000
-fdt_high=0xffffffffffffffff
flash_self=runmmc_boot
flash_self_test=setenv testargs test loglevel=3 systemd.unit=test.target; runmmc_boothostname=capricorn
Signature · 3 lines
Alexander Sverdlin Siemens AG www.siemens.com
Hello Tom,
Quoted 12 lines · Tom Rini
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.
Quoted 6 lines
Cc Alexander Sverdlin <[email protected]>Cc Heiko Schocher <[email protected]>Cc Walter Schweizer <[email protected]>--- board/siemens/capricorn/capricorn_default.env | 1 - 1 file changed, 1 deletion(-)
Thanks!
bye,
Heiko
Signature · 5 lines
Nabla Software Engineering HRB 40522 Augsburg Phone: +49 821 45592596 E-Mail: [email protected] Geschäftsführer : Stefano Babic