]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
scripts/make_fit: Support an initial ramdisk
authorSimon Glass <sjg@chromium.org>
Tue, 6 Jan 2026 16:27:32 +0000 (09:27 -0700)
committerNathan Chancellor <nathan@kernel.org>
Wed, 4 Feb 2026 00:20:10 +0000 (17:20 -0700)
commit26428e7dd6a51e328776dd333f613445d1951658
treecf6756024d36639641183b3fb6f8bdcb2e0303a4
parent621fd65adc825b69a59367b97a7c2aa73e382909
scripts/make_fit: Support an initial ramdisk

FIT (Flat Image Tree) allows a ramdisk to be included in each
configuration. Add support for this to the script.

This feature is not available via 'make image.fit' since the ramdisk
likely needs to be built separately anyway, e.g. using modules from
the kernel build. Future work may provide support for doing that.

Note that the uncompressed size is not correct when a ramdisk is used,
since it is too expensive to decompress the ramdisk.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Nicolas Schier <nsc@kernel.org>
Reviewed-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Link: https://patch.msgid.link/20260106162738.2605574-3-sjg@chromium.org
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
scripts/make_fit.py