diff options
author | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | 2023-02-23 20:27:38 +0100 |
---|---|---|
committer | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | 2023-03-25 12:04:49 +0100 |
commit | 93e3364804ffd4a5d4a0df9c750a1859f9fe298b (patch) | |
tree | 69e6111f0b0dcbfac06171ab7f5cd6ebb9650505 /configs/ls1043ardb_sdcard_defconfig | |
parent | ed10008babeb6750555f26fd8fbb4572489d635c (diff) | |
download | u-boot-93e3364804ffd4a5d4a0df9c750a1859f9fe298b.tar.gz |
cmd: bootefi: allocate device-tree copy from high memory
The bootefi command creates a copy of the device-tree within the first
127 MiB of memory. This may lead to overwriting previously loaded binaries
(e.g. kernel, initrd).
Linux EFI stub itself copies U-Boot's copy of the device-tree. This means
there is not restriction for U-Boot to place the device-tree copy to any
address. (Restrictions existed for 32bit ARM before Linux commit
7a1be318f579 ("ARM: 9012/1: move device tree mapping out of linear region")
for legacy booting.
Reported-by: Alexandre Ghiti <alexghiti@rivosinc.com>
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Tested-by: Alexandre Ghiti <alexghiti@rivosinc.com>
Diffstat (limited to 'configs/ls1043ardb_sdcard_defconfig')
0 files changed, 0 insertions, 0 deletions