[PATCH v2 0/6] add PBL handoff-data support
Ahmad Fatoum
a.fatoum at pengutronix.de
Thu May 16 23:45:05 PDT 2024
This series replaces the 3 patches from v1 that are in next.
The first 3 patches are new: They ensure that the handoff structs
(linked list pointers, cookie, flags, ...) are also reserved in the
SDRAM banks and not only the data.
The three patches after that differ to v1 mainly in that reservation
of space for the handoff data is correctly taken care of. This was
erroneous both in PBL and in barebox proper and led to problems for me
trying to boot a Qemu Virt64 machine that has for some reason a FDT that
describes its size in the header as 1MiB.
Refer to each individual patch's changelog for more information.
Ahmad Fatoum (3):
memory: add support for requesting barebox area as a whole
treewide: use request_barebox_region for possible barebox memory
regions
ARM: cpu: start: register barebox memory area
Sascha Hauer (3):
ARM: move blob_is_arm_boarddata() to include
add handoff-data support
ARM: pass handoff data from PBL to proper
arch/arm/cpu/cpu.c | 2 +-
arch/arm/cpu/mmu_32.c | 8 +-
arch/arm/cpu/mmu_64.c | 4 +-
arch/arm/cpu/start.c | 85 ++++---------
arch/arm/cpu/uncompress.c | 36 +++++-
arch/arm/include/asm/barebox-arm.h | 31 +++--
arch/arm/mach-imx/scratch.c | 2 +-
arch/mips/lib/cpu-probe.c | 2 +-
arch/powerpc/mach-mpc5xxx/cpu.c | 2 +-
arch/powerpc/mach-mpc85xx/cpu.c | 2 +-
arch/riscv/boot/start.c | 4 +-
arch/riscv/cpu/core.c | 2 +-
common/memory.c | 40 +++++-
fs/pstore/ram_core.c | 2 +-
include/memory.h | 6 +
include/pbl/handoff-data.h | 53 ++++++++
pbl/Makefile | 1 +
pbl/handoff-data.c | 194 +++++++++++++++++++++++++++++
18 files changed, 382 insertions(+), 94 deletions(-)
create mode 100644 include/pbl/handoff-data.h
create mode 100644 pbl/handoff-data.c
--
2.39.2
More information about the barebox
mailing list