linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v7 0/6] scripts/make_fit: Support ramdisks and faster operations
@ 2025-12-11 14:02 Simon Glass
  2025-12-11 14:02 ` [PATCH v7 1/6] scripts/make_fit: Speed up operation Simon Glass
                   ` (5 more replies)
  0 siblings, 6 replies; 8+ messages in thread
From: Simon Glass @ 2025-12-11 14:02 UTC (permalink / raw)
  To: linux-arm-kernel
  Cc: Nicolas Schier, Thomas Weißschuh, J . Neuschäfer,
	Masahiro Yamada, Tom Rini, Ahmad Fatoum, Chen-Yu Tsai,
	Simon Glass, Alice Ryhl, Ard Biesheuvel, David Sterba,
	Josh Poimboeuf, Kees Cook, Nathan Chancellor, Nick Terrell,
	Nicolas Schier, Oleh Zadorozhnyi, Petr Mladek, linux-kbuild,
	linux-kernel

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 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 MAKE_FIT_FLAGS 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: d358e5254674b70f34c847715ca509e46eb81e6f
branch: fita7


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2025-12-13 20:59 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-11 14:02 [PATCH v7 0/6] scripts/make_fit: Support ramdisks and faster operations Simon Glass
2025-12-11 14:02 ` [PATCH v7 1/6] scripts/make_fit: Speed up operation Simon Glass
2025-12-11 14:02 ` [PATCH v7 2/6] scripts/make_fit: Support an initial ramdisk Simon Glass
2025-12-11 14:03 ` [PATCH v7 3/6] scripts/make_fit: Move dtb processing into a function Simon Glass
2025-12-11 14:03 ` [PATCH v7 4/6] kbuild: Support a MAKE_FIT_FLAGS environment variable Simon Glass
2025-12-11 14:03 ` [PATCH v7 5/6] scripts/make_fit: Support a few more parallel compressors Simon Glass
2025-12-11 14:03 ` [PATCH v7 6/6] scripts/make_fit: Compress dtbs in parallel Simon Glass
2025-12-12 19:09   ` Nicolas Schier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).