[PATCH 0/4] arm: mach-k3: Add DM firmware memory fixup
Paresh Bhagat
p-bhagat at ti.com
Tue Jun 9 20:10:02 CEST 2026
This patch series addresses DM firmware reserved memory fixup for AM62a
and AM62d:
1. AM62D is missing OF_SYSTEM_SETUP config, required for FDT fixups to
be applied before passing dtb to kernel.
2. DM firmware reserved memory region is insufficient to accommodate the
binary. Analysis of the DM firmware binary using objdump reveals that
the resource_table section and .stack section occupies memory from
0x9c900000 to 0x9e608000. So increase the reserved region size from
0xf00000 to 0x1f00000 via fdt fixup. Add new configs in Kconfig.
3. The existing fdt_fixup_reserved_memory() used a delete/recreate
approach which corrupted phandle references to DM node, causing DM
initialization failures. Fixed it by updating nodes in-place using
fdt_setprop() to preserve original phandles.
This patch will need the dts to be updated for both AM62a and AM62d i.e.
rename wkup_r5fss0_core0_memory_region node from "memory at 9c900000" to
"dm at 9c900000".
Boot logs
https://gist.github.com/paresh-bhagat/e64523fe5134a02754fdbdaff864fcd1
https://gist.github.com/paresh-bhagat/b578d602010db09d62d2be3b2709fc5a
Paresh Bhagat (4):
arm: mach-k3: Fix phandle corruption in fdt fixup
arm: mach-k3: am62ax: Enable OF_SYSTEM_SETUP for AM62D2
arm: mack-k3: Kconfig: Add DM firmware reserved memory configs
arm: mach-k3: Add DM reserved memory fixup
arch/arm/mach-k3/Kconfig | 16 ++++++++++++++++
arch/arm/mach-k3/am62ax/Kconfig | 1 +
arch/arm/mach-k3/common_fdt.c | 34 +++++++++++++++++++++++----------
3 files changed, 41 insertions(+), 10 deletions(-)
--
2.34.1
More information about the U-Boot
mailing list