summaryrefslogtreecommitdiffstats
path: root/Documentation/lib
diff options
context:
space:
mode:
authorSam Lewis <sam.vr.lewis@gmail.com>2020-08-09 15:33:00 +1000
committerPatrick Georgi <pgeorgi@google.com>2020-08-19 07:16:59 +0000
commitcb287987a1750577e4471d3a474391a2c25321ab (patch)
treedb52d5bde401cf2d72bb3646a0d82ad8f7a3b818 /Documentation/lib
parent3b9041a563bbd18d21dcf2395d5c3029842e2564 (diff)
downloadcoreboot-cb287987a1750577e4471d3a474391a2c25321ab.tar.gz
coreboot-cb287987a1750577e4471d3a474391a2c25321ab.tar.bz2
coreboot-cb287987a1750577e4471d3a474391a2c25321ab.zip
arch/arm: Enable FIT payloads
Implements fit_payload_arch for the arm (aarch32) architecture, so that FIT images can be used. The implementation is very similar to the existing implementations for arm64 and riscv, and has mostly been lifted from these other ports. TEST: Booted Beaglebone Black (in progress port, to be submitted soon!) with a FIT image containing a 5.4 kernel, dtb and initramfs. Change-Id: I6b50c6f06b83c00a5b3622b5bbafe67130b6d233 Signed-off-by: Sam Lewis <sam.vr.lewis@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/44377 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'Documentation/lib')
-rw-r--r--Documentation/lib/payloads/fit.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/Documentation/lib/payloads/fit.md b/Documentation/lib/payloads/fit.md
index c6ccc7b868f3..ef5e892c36c0 100644
--- a/Documentation/lib/payloads/fit.md
+++ b/Documentation/lib/payloads/fit.md
@@ -5,6 +5,7 @@
## Supported architectures
+* aarch32
* aarch64
* riscv
@@ -26,6 +27,13 @@ The section must be named in order to be found by the FIT parser:
The FIT parser needs architecure support.
+### aarch32
+The source code can be found in `src/arch/arm/fit_payload.c`.
+
+On aarch32 the kernel (a section named 'kernel') must be in **Image**
+format and it needs a devicetree (a section named 'fdt') to boot.
+The kernel will be placed close to "*DRAMSTART*".
+
### aarch64
The source code can be found in `src/arch/arm64/fit_payload.c`.