mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 0/7] ARM: add support for chainloading barebox inside FIP images
@ 2025-04-09 14:01 Ahmad Fatoum
  2025-04-09 14:01 ` [PATCH 1/7] fip: add struct fip_image_desc::private_data Ahmad Fatoum
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Ahmad Fatoum @ 2025-04-09 14:01 UTC (permalink / raw)
  To: barebox

For use on the STM32MP1, add a bootm handler for chainloading FIP
images. This removes the last remaining use case for SSBL .stm32 images,
after TF-A had dropped support late 2022.

Ahmad Fatoum (7):
  fip: add struct fip_image_desc::private_data
  fip: mark predefined toc_entries array const
  bootm: implement UIMAGE_IS_ADDRESS_VALID helper
  ARM: legacy: make architecture number unsigned
  ARM: introduce jump_to_linux helper
  ARM: add support for chainloading barebox inside FIP images
  ARM: stm32mp: retire non-FIP stm32mp_bbu_mmc_register_handler

 arch/arm/Kconfig                              |  11 +
 arch/arm/boards/lxa-mc1/board.c               |   4 +-
 .../boards/phytec-phycore-stm32mp1/board.c    |   2 +-
 arch/arm/boards/protonic-stm32mp1/board.c     |  16 +-
 arch/arm/boards/protonic-stm32mp13/board.c    |  16 +-
 arch/arm/boards/seeed-odyssey/board.c         |   4 +-
 arch/arm/boards/stm32mp15x-ev1/board.c        |   4 +-
 arch/arm/boards/stm32mp15xx-dkx/board.c       |   4 +-
 arch/arm/cpu/Makefile                         |   1 +
 arch/arm/cpu/bootm-fip.c                      | 276 ++++++++++++++++++
 arch/arm/include/asm/armlinux.h               |   4 +-
 arch/arm/include/asm/boot.h                   |  28 ++
 arch/arm/lib32/armlinux.c                     |  24 +-
 arch/arm/lib64/armlinux.c                     |  12 +-
 arch/arm/mach-stm32mp/init.c                  |  10 +
 commands/fiptool.c                            |   4 +-
 common/booti.c                                |   3 +-
 include/bootm.h                               |   3 +
 include/bootstrap.h                           |   2 +-
 include/fiptool.h                             |  18 +-
 include/mach/stm32mp/bbu.h                    |   8 -
 lib/fip.c                                     |   2 +-
 lib/tbbr_config.c                             |   4 +-
 23 files changed, 399 insertions(+), 61 deletions(-)
 create mode 100644 arch/arm/cpu/bootm-fip.c
 create mode 100644 arch/arm/include/asm/boot.h

-- 
2.39.5




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

end of thread, other threads:[~2025-04-09 14:40 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-04-09 14:01 [PATCH 0/7] ARM: add support for chainloading barebox inside FIP images Ahmad Fatoum
2025-04-09 14:01 ` [PATCH 1/7] fip: add struct fip_image_desc::private_data Ahmad Fatoum
2025-04-09 14:01 ` [PATCH 2/7] fip: mark predefined toc_entries array const Ahmad Fatoum
2025-04-09 14:01 ` [PATCH 3/7] bootm: implement UIMAGE_IS_ADDRESS_VALID helper Ahmad Fatoum
2025-04-09 14:01 ` [PATCH 4/7] ARM: legacy: make architecture number unsigned Ahmad Fatoum
2025-04-09 14:01 ` [PATCH 5/7] ARM: introduce jump_to_linux helper Ahmad Fatoum
2025-04-09 14:01 ` [PATCH 6/7] ARM: add support for chainloading barebox inside FIP images Ahmad Fatoum
2025-04-09 14:01 ` [PATCH 7/7] ARM: stm32mp: retire non-FIP stm32mp_bbu_mmc_register_handler Ahmad Fatoum

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