mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 0/7] commands: boot: add support for overriding boot artifacts
@ 2025-02-14 10:48 Ahmad Fatoum
  2025-02-14 10:48 ` [PATCH 1/7] bootm: add helper functions for checking if FIT image is used Ahmad Fatoum
                   ` (7 more replies)
  0 siblings, 8 replies; 11+ messages in thread
From: Ahmad Fatoum @ 2025-02-14 10:48 UTC (permalink / raw)
  To: barebox

Replacing part of the boot artifacts is a common development use case,
e.g. to load the kernel from the network, but otherwise boot the
bootloader spec file as-is or to inject an initrd into an existing boot
flow (e.g. rsinit to enable usb9pfs boot).

This series adds a simple to use way to achieve that.

Ahmad Fatoum (7):
  bootm: add helper functions for checking if FIT image is used
  boot: move global.linux.bootargs.dyn. to common code
  blspec: don't clobber bootm.image on boot attempt
  fastboot: drop useless bootm.image clobber
  bootm: don't clobber global.bootm. variables after script boot fails
  bootm: retire bootm_has_initrd
  commands: boot: add support for overriding boot artifacts

 Documentation/user/booting-linux.rst |   8 ++
 arch/arm/lib32/bootm.c               |  18 ++-
 arch/kvx/lib/bootm.c                 |  23 ++--
 commands/boot.c                      |  53 +++++++-
 common/Kconfig                       |   7 ++
 common/blspec.c                      |   7 +-
 common/boot.c                        |  14 ++-
 common/booti.c                       |  10 +-
 common/bootm.c                       | 173 +++++++++++++++++++--------
 common/fastboot.c                    |   3 -
 include/bootm.h                      |  23 +++-
 11 files changed, 249 insertions(+), 90 deletions(-)

-- 
2.39.5




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

end of thread, other threads:[~2025-02-17  9:42 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-02-14 10:48 [PATCH 0/7] commands: boot: add support for overriding boot artifacts Ahmad Fatoum
2025-02-14 10:48 ` [PATCH 1/7] bootm: add helper functions for checking if FIT image is used Ahmad Fatoum
2025-02-14 10:48 ` [PATCH 2/7] boot: move global.linux.bootargs.dyn. to common code Ahmad Fatoum
2025-02-14 10:48 ` [PATCH 3/7] blspec: don't clobber bootm.image on boot attempt Ahmad Fatoum
2025-02-14 10:48 ` [PATCH 4/7] fastboot: drop useless bootm.image clobber Ahmad Fatoum
2025-02-14 10:48 ` [PATCH 5/7] bootm: don't clobber global.bootm. variables after script boot fails Ahmad Fatoum
2025-02-14 10:48 ` [PATCH 6/7] bootm: retire bootm_has_initrd Ahmad Fatoum
2025-02-14 20:02   ` [PATCH] fixup! " Ahmad Fatoum
2025-02-14 10:48 ` [PATCH 7/7] commands: boot: add support for overriding boot artifacts Ahmad Fatoum
2025-02-15 12:29   ` [PATCH] fixup! " Ahmad Fatoum
2025-02-17  9:27 ` [PATCH 0/7] " Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox