mirror of
https://git.yoctoproject.org/meta-raspberrypi
synced 2026-07-17 04:06:56 +00:00
u-boot: always set fdt_addr with firmware-provided FDT address
The Raspberry firmware prepares the FDT blob in memory at an address that depends on both the memory size and the blob size. For details see description in the patch itself. The patch is not yet upstream, but has already been submitted by the original author: https://lore.kernel.org/all/20210512123945.25649-1-m.salvini@koansoftware.com/ For me, the described problem occurs in conjunction with RAUC, which uses the following U-Boot script: https://github.com/rauc/meta-rauc-community/blob/master/meta-rauc-raspberrypi/recipes-bsp/rpi-u-boot-scr/files/boot.cmd.in As soon as I add an overlay the fdt_addr changes and the system does not boot anymore. Signed-off-by: Matthias Klein <matthias@extraklein.de>
This commit is contained in:
committed by
Andrei Gherzan
parent
bc10842957
commit
c06ae5eacf
@@ -4,6 +4,8 @@ SRC_URI:append:rpi = " \
|
||||
file://fw_env.config \
|
||||
"
|
||||
|
||||
SRC_URI:append:rpi = " file://0001-rpi-always-set-fdt_addr-with-firmware-provided-FDT-address.patch"
|
||||
|
||||
# special fix for raspberrypi-cm3
|
||||
SRC_URI:append:raspberrypi-cm3 = " file://0001-dm-core-Move-ofdata_to_platdata-call-earlier.patch"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user