| From: |
| Simon Glass <sjg-AT-chromium.org> |
| To: |
| linux-arm-kernel-AT-lists.infradead.org |
| Subject: |
| [PATCH 0/3] arm64: Add a build target for Flat Image Tree |
| Date: |
| Thu, 26 Oct 2023 20:26:22 +1300 |
| Message-ID: |
| <20231026072628.4115527-1-sjg@chromium.org> |
| Cc: |
| U-Boot Mailing List <u-boot-AT-lists.denx.de>, Simon Glass <sjg-AT-chromium.org>, Catalin Marinas <catalin.marinas-AT-arm.com>, Masahiro Yamada <masahiroy-AT-kernel.org>, Nathan Chancellor <nathan-AT-kernel.org>, Nick Desaulniers <ndesaulniers-AT-google.com>, Nick Terrell <terrelln-AT-fb.com>, Nicolas Schier <nicolas-AT-fjasle.eu>, Will Deacon <will-AT-kernel.org>, linux-kbuild-AT-vger.kernel.org, linux-kernel-AT-vger.kernel.org |
| Archive-link: |
| Article |
Flat Image Tree (FIT) is a widely used file format for packaging a
kernel and associated devicetree files. This series adds support for
building a FIT as part of the kernel build. This makes it easy to try
out the kernel - just load the FIT onto your tftp server and it will
run automatically on any supported arm64 board.
The script is written in Python, since it is easy to build a FIT using
the Python libfdt bindings. For now, no attempt is made to compress
files in parallel, so build the 900-odd files takes a while, about
6 seconds with my testing.
The series also includes a few minor clean-up patches.
Simon Glass (3):
kbuild: Correct missing architecture-specific hyphens
kbuild: arm64: Add BOOT_TARGETS variable
arm64: boot: Support Flat Image Tree
MAINTAINERS | 7 +
Makefile | 10 +-
arch/arm64/Makefile | 7 +-
arch/arm64/boot/Makefile | 8 +-
scripts/Makefile.lib | 16 ++-
scripts/make_fit.py | 285 +++++++++++++++++++++++++++++++++++++++
6 files changed, 324 insertions(+), 9 deletions(-)
create mode 100755 scripts/make_fit.py
--
2.42.0.758.gaed0368e0e-goog