arm-trusted-firmware/make_helpers
Salman Nabi 1c08ff3277 feat(arm): add initrd props to dtb at build time
Add initrd properties to the device tree blob at build time, giving
users the ability to run a linux kernel and successfully boot it to
the terminal. Users can boot a linux kernel in a normal flow as well
as in RESET_TO_BL31. This function is an extension of the build time
option "ARM_LINUX_KERNEL_AS_BL33=1".

The build time options INITRD_SIZE or INITRD_PATH will trigger the
insertion of initrd properties in to the DTB. If both options are
provided then the INITRD_SIZE will take precedence.

The available options are:
INITRD_SIZE: Provide the initrd size in dec or hex (hex format must
precede with '0x'.
Example: INITRD_SIZE=0x1000000

INITRD_PATH: Provide an initrd path for the build time to find its
exact size.

INITRD_BASE: A required build time option that sets the initrd base
address in hex format. A default value can be set by the platform.
Example: INITRD_BASE=0x90000000

Change-Id: Ief8de5f00c453509bcc6e978e0a95d768f1f509c
Signed-off-by: Salman Nabi <salman.nabi@arm.com>
2025-03-03 16:56:54 +00:00
..
tbbr fix(tbbr): unrecognised 'tos-fw-key-cert' option 2023-09-07 11:14:52 +01:00
toolchains build: make Poetry optional 2024-09-26 14:23:20 +00:00
arch_features.mk perf(amu): greatly simplify AMU context management 2025-02-25 08:50:46 +00:00
armv7-a-cpus.mk refactor(build): merge march32/64 directives 2023-06-22 16:37:03 -05:00
build-rules.mk build: disable suffix rules globally 2024-11-25 15:40:35 +00:00
build_macros.mk feat(arm): add initrd props to dtb at build time 2025-03-03 16:56:54 +00:00
common.mk build: remove Windows compatibility layer 2025-01-14 16:21:51 +00:00
defaults.mk perf(mpmm): greatly simplify MPMM enablement 2025-02-25 08:50:45 +00:00
march.mk build: skip toolchain detection for some targets 2024-05-14 15:41:15 +00:00
plat_helpers.mk fix(build): do not force PLAT in plat_helpers.mk 2025-01-21 13:52:16 +01:00
toolchain.mk build: remove Windows compatibility layer 2025-01-14 16:21:51 +00:00
utilities.mk build: remove Windows compatibility layer 2025-01-14 16:21:51 +00:00