Skip to contentSkip to conversation

boot/s500-bootloader: drop package

PATCH Applied Peter Korsgaard 2 participants 2 messages Oct 5, 2025 – Dec 29, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 boot/s500-bootloader: drop package

With the removal of the roseapplepi defconfig in commit 56091a581854a ("configs/roseapplepi: remove defconfig, broken") there are no (in-tree) users of the s500-bootloader binary blob package, so drop it.

---
 Config.in.legacy                          |  6 ++++
 boot/Config.in                            |  1 -
 boot/s500-bootloader/Config.in            | 17 ------------
 boot/s500-bootloader/s500-bootloader.hash |  2 --
 boot/s500-bootloader/s500-bootloader.mk   | 34 -----------------------
 utils/genrandconfig                       |  5 ----
 6 files changed, 6 insertions(+), 59 deletions(-)
 delete mode 100644 boot/s500-bootloader/Config.in
 delete mode 100644 boot/s500-bootloader/s500-bootloader.hash
 delete mode 100644 boot/s500-bootloader/s500-bootloader.mk
Config.in.legacy +6 -0
index 2c5b389dc8..3d57df2af0 100644
@@ -146,6 +146,12 @@ endif
 
 comment "Legacy options removed in 2025.11"
 
+config BR2_TARGET_S500_BOOTLOADER
+	bool "s500-bootloader"
+	select BR2_LEGACY
+	help
+	  s500-bootloader package has been removed
+
 config BR2_PACKAGE_LIBBSON
 	bool "libbson has been removed"
 	select BR2_LEGACY
boot/Config.in +0 -1
index 08a6c8353d..15b14a60a5 100644
@@ -20,7 +20,6 @@ source "boot/mv-ddr-marvell/Config.in"
 source "boot/mxs-bootlets/Config.in"
 source "boot/optee-os/Config.in"
 source "boot/opensbi/Config.in"
-source "boot/s500-bootloader/Config.in"
 source "boot/shim/Config.in"
 source "boot/syslinux/Config.in"
 source "boot/ti-k3-boot-firmware/Config.in"
boot/s500-bootloader/Config.in deleted +0 -17
deleted file mode 100644
index 7bb689f305..0000000000
@@ -1,17 +0,0 @@
-config BR2_TARGET_S500_BOOTLOADER
-	bool "s500-bootloader"
-	depends on BR2_arm
-	depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
-	select BR2_HOSTARCH_NEEDS_IA32_LIBS
-	help
-	  1st level bootloader for Actions Semiconductor S500 SoC.
-
-	  https://github.com/xapp-le/owl
-
-config BR2_TARGET_S500_BOOTLOADER_BOARD
-	string "board to configure for"
-	depends on BR2_TARGET_S500_BOOTLOADER
-	help
-	  Specify the board to configure the bootloader for.
-	  This should be the name of a directory under s500/boards
-	  containing a suitable bootloader.ini file.
boot/s500-bootloader/s500-bootloader.hash deleted +0 -2
deleted file mode 100644
index 2ebd933e52..0000000000
@@ -1,2 +0,0 @@
-# Locally calculated
-sha256  b183024ac69f51ea7befd28d03b2ec35a7280e270405600fb4f37aa91d9c9571  s500-bootloader-a8d7fa1d9a7f353ec4613febf30f4ca99a10a106.tar.gz
boot/s500-bootloader/s500-bootloader.mk deleted +0 -34
deleted file mode 100644
index bc87b091c7..0000000000
@@ -1,34 +0,0 @@
-################################################################################
-#
-# s500-bootloader
-#
-################################################################################
-
-S500_BOOTLOADER_VERSION = a8d7fa1d9a7f353ec4613febf30f4ca99a10a106
-S500_BOOTLOADER_SITE = $(call github,xapp-le,owl,$(S500_BOOTLOADER_VERSION))
-S500_BOOTLOADER_LICENSE = PROPRIETARY
-S500_BOOTLOADER_INSTALL_TARGET = NO
-S500_BOOTLOADER_INSTALL_IMAGES = YES
-
-S500_BOOTLOADER_BOARD = $(call qstrip,$(BR2_TARGET_S500_BOOTLOADER_BOARD))
-
-define S500_BOOTLOADER_BUILD_CMDS
-	cd $(@D) && ./tools/utils/bootloader_pack \
-		s500/bootloader/bootloader.bin \
-		s500/boards/$(S500_BOOTLOADER_BOARD)/bootloader.ini \
-		s500-bootloader.bin
-endef
-
-define S500_BOOTLOADER_INSTALL_IMAGES_CMDS
-	$(INSTALL) -m 0644 -D $(@D)/s500-bootloader.bin \
-		$(BINARIES_DIR)/s500-bootloader.bin
-endef
-
-$(eval $(generic-package))
-
-ifeq ($(BR2_TARGET_S500_BOOTLOADER)$(BR_BUILDING),yy)
-# we NEED a board name
-ifeq ($(S500_BOOTLOADER_BOARD),)
-$(error No s500-bootloader board specified. Check your BR2_TARGET_S500_BOOTLOADER settings)
-endif
-endif
utils/genrandconfig +0 -5
index ac80982f63..5ebd552a1d 100755
@@ -362,11 +362,6 @@ async def fixup_config(sysinfo, configfile):
         configlines.remove('BR2_TARGET_ROOTFS_UBI_USE_CUSTOM_CONFIG=y\n')
         configlines.remove('BR2_TARGET_ROOTFS_UBI_CUSTOM_CONFIG_FILE=""\n')
 
-    if 'BR2_TARGET_S500_BOOTLOADER=y\n' in configlines and \
-       'BR2_TARGET_S500_BOOTLOADER_BOARD=""\n' in configlines:
-        configlines.remove('BR2_TARGET_S500_BOOTLOADER=y\n')
-        configlines.remove('BR2_TARGET_S500_BOOTLOADER_BOARD=""\n')
-
     if 'BR2_TARGET_TI_K3_R5_LOADER=y\n' in configlines and \
        'BR2_TARGET_TI_K3_R5_LOADER_USE_DEFCONFIG=y\n' in configlines and \
        'BR2_TARGET_TI_K3_R5_LOADER_BOARD_DEFCONFIG=""\n' in configlines:
Signature · 6 lines
2.39.5

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 5 lines · On Sun, 5 Oct 2025 15:49:49 +0200 Peter Korsgaard <[email protected]> wrote:

With the removal of the roseapplepi defconfig in commit 56091a581854a ("configs/roseapplepi: remove defconfig, broken") there are no (in-tree) users of the s500-bootloader binary blob package, so drop it.

Quoted 11 lines
---
 Config.in.legacy                          |  6 ++++
 boot/Config.in                            |  1 -
 boot/s500-bootloader/Config.in            | 17 ------------
 boot/s500-bootloader/s500-bootloader.hash |  2 --
 boot/s500-bootloader/s500-bootloader.mk   | 34 -----------------------
 utils/genrandconfig                       |  5 ----
 6 files changed, 6 insertions(+), 59 deletions(-)
 delete mode 100644 boot/s500-bootloader/Config.in
 delete mode 100644 boot/s500-bootloader/s500-bootloader.hash
 delete mode 100644 boot/s500-bootloader/s500-bootloader.mk

Applied to master, thanks.

Thomas

Signature · 7 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot