[Buildroot] [PATCH 5/6] boot/palo: new boot package
Vincent Stehlé
vincent.stehle at laposte.net
Sun Sep 21 12:54:21 UTC 2025
Palo is a PA-RISC/Linux boot loader.
It can be used to make bootable disk images or network bootable images.
While at it, add this boot package to myself in DEVELOPERS.
Signed-off-by: Vincent Stehlé <vincent.stehle at laposte.net>
Cc: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
---
DEVELOPERS | 1 +
boot/Config.in | 1 +
boot/palo/Config.in | 13 +++++++++++++
boot/palo/palo.hash | 3 +++
boot/palo/palo.mk | 25 +++++++++++++++++++++++++
5 files changed, 43 insertions(+)
create mode 100644 boot/palo/Config.in
create mode 100644 boot/palo/palo.hash
create mode 100644 boot/palo/palo.mk
diff --git a/DEVELOPERS b/DEVELOPERS
index 0d8a25308a..88e53bdfee 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -3365,6 +3365,7 @@ F: arch/arch.mk.hppa
F: board/arm/foundation-v8/
F: board/bananapi/bananapi-m2-zero/
F: board/qemu/hppa-b160l/
+F: boot/palo/
F: configs/arm_foundationv8_defconfig
F: configs/bananapi_m2_zero_defconfig
F: configs/qemu_hppa_b160l_defconfig
diff --git a/boot/Config.in b/boot/Config.in
index f167346cdf..e4dd312626 100644
--- a/boot/Config.in
+++ b/boot/Config.in
@@ -12,6 +12,7 @@ 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/palo/Config.in"
source "boot/s500-bootloader/Config.in"
source "boot/shim/Config.in"
source "boot/syslinux/Config.in"
diff --git a/boot/palo/Config.in b/boot/palo/Config.in
new file mode 100644
index 0000000000..34e2d5bf00
--- /dev/null
+++ b/boot/palo/Config.in
@@ -0,0 +1,13 @@
+config BR2_TARGET_PALO
+ bool "palo"
+ depends on BR2_hppa
+ help
+ Palo is a PA-RISC/Linux boot loader.
+
+ It comprises iplboot, a bootloader loaded by the HP firmware,
+ and palo, a boot media management tool.
+
+ Palo allows to update disk images with a bootloader to make
+ them bootable, or to create network bootable images.
+
+ https://parisc.docs.kernel.org
diff --git a/boot/palo/palo.hash b/boot/palo/palo.hash
new file mode 100644
index 0000000000..2a7e2ef89a
--- /dev/null
+++ b/boot/palo/palo.hash
@@ -0,0 +1,3 @@
+# Locally calculated
+sha256 73db9f60d439c4ae9d31b049671283e01d95ae364fc78b4db37eed5523218d6c palo-2.28.tar.gz
+sha256 fa5fc1d1eec39532ea517518eeefd7b6e3c14341a55e5880a0e2a49eee47a5b7 COPYING
diff --git a/boot/palo/palo.mk b/boot/palo/palo.mk
new file mode 100644
index 0000000000..dadb0cde92
--- /dev/null
+++ b/boot/palo/palo.mk
@@ -0,0 +1,25 @@
+################################################################################
+#
+# palo
+#
+################################################################################
+
+PALO_VERSION = 2.28
+PALO_SITE = https://git.kernel.org/pub/scm/linux/kernel/git/deller/palo.git/snapshot
+PALO_LICENSE = GPL-2.0
+PALO_LICENSE_FILES = COPYING
+PALO_INSTALL_IMAGES = YES
+
+define PALO_BUILD_CMDS
+ # Dummy README to remove the dependency on lynx.
+ touch $(@D)/README
+ $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \
+ CROSS_COMPILE=$(TARGET_CROSS) all makeipl
+endef
+
+define PALO_INSTALL_IMAGES_CMDS
+ $(INSTALL) -D -m 0644 $(@D)/iplboot $(BINARIES_DIR)/iplboot
+ $(INSTALL) -D -m 0755 $(@D)/palo/palo $(HOST_DIR)/bin/palo
+endef
+
+$(eval $(generic-package))
--
2.51.0
More information about the buildroot
mailing list