From: Simon Glass <sjg@chromium.org>
To: linux-arm-kernel@lists.infradead.org
Cc: "Thomas Weißschuh" <thomas.weissschuh@linutronix.de>,
"J . Neuschäfer" <j.ne@posteo.net>,
"Masahiro Yamada" <masahiroy@kernel.org>,
"Ahmad Fatoum" <a.fatoum@pengutronix.de>,
"Nicolas Schier" <nicolas@fjasle.eu>,
"Tom Rini" <trini@konsulko.com>,
"Chen-Yu Tsai" <wenst@chromium.org>,
"Simon Glass" <sjg@chromium.org>,
"Alice Ryhl" <aliceryhl@google.com>,
"Ard Biesheuvel" <ardb@kernel.org>,
"David Sterba" <dsterba@suse.com>,
"Josh Poimboeuf" <jpoimboe@kernel.org>,
"Kees Cook" <kees@kernel.org>,
"Nathan Chancellor" <nathan@kernel.org>,
"Nick Terrell" <terrelln@fb.com>,
"Nicolas Schier" <nsc@kernel.org>,
"Petr Mladek" <pmladek@suse.com>,
linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH v9 0/6] scripts/make_fit: Support ramdisks and faster operations
Date: Tue, 6 Jan 2026 09:27:30 -0700 [thread overview]
Message-ID: <20260106162738.2605574-1-sjg@chromium.org> (raw)
This series updates 'make image.fit' to support adding a ramdisk to the
FIT, provided as a parameter.
It also includes a few performance improvement, so that building a FIT
from ~450MB of kernel/module/devicetree files only takes a few seconds
on a modern machine.
For this version I have dropped inclusion of built modules, as there is
still more discussion to happen in that area.
Changes in v9:
- Rename the variable to FIT_EXTRA_ARGS
Changes in v8:
- Drop erroneous line 'kbuild: Allow adding modules into the FIT ...'
Changes in v7:
- Add a note about the " -> ' change
- Add a new patch with the MAKE_FIT_FLAGS change
- Mention xz as well, in the commit message
- Drop patch 'scripts/make_fit: Provide a way to add built modules'
- Drop patch 'kbuild: Split out module targets into a variable'
- Drop patch 'kbuild: Allow adding modules into the FIT ramdisk'
Changes in v6:
- Drop the load address for ramdisk, as it is not needed
- Bring back the ramdisk 'compression' property, set to 'none'
Changes in v5:
- Fix 'use' typo
Changes in v4:
- Update the commit message
Changes in v3:
- Move the ramdisk chunk into the correct patch
- Add a comment at the top of the file about the -r option
- Count the ramdisk in the total files
- Update the commit message
Changes in v2:
- Don't compress the ramdisk as it is already compressed
Simon Glass (6):
scripts/make_fit: Speed up operation
scripts/make_fit: Support an initial ramdisk
scripts/make_fit: Move dtb processing into a function
kbuild: Support a FIT_EXTRA_ARGS environment variable
scripts/make_fit: Support a few more parallel compressors
scripts/make_fit: Compress dtbs in parallel
scripts/Makefile.lib | 2 +-
scripts/make_fit.py | 179 ++++++++++++++++++++++++++++++++++---------
2 files changed, 145 insertions(+), 36 deletions(-)
--
2.43.0
base-commit: 7f98ab9da046865d57c102fd3ca9669a29845f67
branch: fita9
next reply other threads:[~2026-01-06 16:28 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-06 16:27 Simon Glass [this message]
2026-01-06 16:27 ` [PATCH v9 1/6] scripts/make_fit: Speed up operation Simon Glass
2026-01-06 16:27 ` [PATCH v9 2/6] scripts/make_fit: Support an initial ramdisk Simon Glass
2026-01-06 16:27 ` [PATCH v9 3/6] scripts/make_fit: Move dtb processing into a function Simon Glass
2026-01-06 16:27 ` [PATCH v9 4/6] kbuild: Support a FIT_EXTRA_ARGS environment variable Simon Glass
2026-01-06 16:27 ` [PATCH v9 5/6] scripts/make_fit: Support a few more parallel compressors Simon Glass
2026-01-06 16:27 ` [PATCH v9 6/6] scripts/make_fit: Compress dtbs in parallel Simon Glass
2026-02-03 2:45 ` [PATCH v9 0/6] scripts/make_fit: Support ramdisks and faster operations Simon Glass
2026-02-03 4:51 ` Nathan Chancellor
2026-02-03 21:59 ` Simon Glass
2026-02-05 19:23 ` Nathan Chancellor
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260106162738.2605574-1-sjg@chromium.org \
--to=sjg@chromium.org \
--cc=a.fatoum@pengutronix.de \
--cc=aliceryhl@google.com \
--cc=ardb@kernel.org \
--cc=dsterba@suse.com \
--cc=j.ne@posteo.net \
--cc=jpoimboe@kernel.org \
--cc=kees@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kbuild@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=masahiroy@kernel.org \
--cc=nathan@kernel.org \
--cc=nicolas@fjasle.eu \
--cc=nsc@kernel.org \
--cc=pmladek@suse.com \
--cc=terrelln@fb.com \
--cc=thomas.weissschuh@linutronix.de \
--cc=trini@konsulko.com \
--cc=wenst@chromium.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®