* [Buildroot] [PATCH 0/5] Add support for HPPA (PA-RISC)
@ 2025-05-23 17:43 Vincent Stehlé via buildroot
2025-05-23 17:43 ` [Buildroot] [PATCH 1/5] hppa: Add new architecture Vincent Stehlé via buildroot
` (7 more replies)
0 siblings, 8 replies; 16+ messages in thread
From: Vincent Stehlé via buildroot @ 2025-05-23 17:43 UTC (permalink / raw)
To: buildroot
Cc: Julien Olivain, Giulio Benetti, Romain Naour, Thomas Petazzoni,
Vincent Stehlé
Hello,
This patch series adds minimal support for a "new" architecture: HP/PA
(a.k.a. PA-RISC); one of the RISC architectures of the late 80ies.
This architecture is still well supported by gcc, Linux and some other
distros; therefore it should not be too much of a burden to support in
Buildroot.
With those patches we have enough to build and run a Linux kernel with
busybox on Qemu, which makes it easily testable.
I plan to add support later on for running on actual hardware; the HP
9000 712 PA-RISC Workstation.
Best regards,
Vincent.
Vincent Stehlé (5):
hppa: Add new architecture
package/gcc: enable hppa support
package/glibc: enable hppa support
package/qemu: enable host-qemu hppa support
configs/qemu_hppa_b160l: new defconfig
DEVELOPERS | 4 ++++
arch/Config.in | 12 ++++++++++++
arch/Config.in.hppa | 22 ++++++++++++++++++++++
arch/arch.mk.hppa | 13 +++++++++++++
board/qemu/hppa-b160l/readme.txt | 31 +++++++++++++++++++++++++++++++
configs/qemu_hppa_b160l_defconfig | 18 ++++++++++++++++++
package/gcc/Config.in.host | 1 +
package/glibc/Config.in | 1 +
package/qemu/Config.in.host | 1 +
9 files changed, 103 insertions(+)
create mode 100644 arch/Config.in.hppa
create mode 100644 arch/arch.mk.hppa
create mode 100644 board/qemu/hppa-b160l/readme.txt
create mode 100644 configs/qemu_hppa_b160l_defconfig
--
2.47.2
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Buildroot] [PATCH 1/5] hppa: Add new architecture
2025-05-23 17:43 [Buildroot] [PATCH 0/5] Add support for HPPA (PA-RISC) Vincent Stehlé via buildroot
@ 2025-05-23 17:43 ` Vincent Stehlé via buildroot
2025-05-23 20:42 ` Romain Naour via buildroot
2025-05-23 17:43 ` [Buildroot] [PATCH 2/5] package/gcc: enable hppa support Vincent Stehlé via buildroot
` (6 subsequent siblings)
7 siblings, 1 reply; 16+ messages in thread
From: Vincent Stehlé via buildroot @ 2025-05-23 17:43 UTC (permalink / raw)
To: buildroot
Cc: Julien Olivain, Giulio Benetti, Romain Naour, Thomas Petazzoni,
Vincent Stehlé
Add support for the Precision Architecture (a.k.a. PA-RISC),
a 32-bit architecture developed by Hewlett Packard.
While at it, add myself in DEVELOPERS.
Signed-off-by: Vincent Stehlé <vincent.stehle@laposte.net>
---
DEVELOPERS | 2 ++
arch/Config.in | 12 ++++++++++++
arch/Config.in.hppa | 22 ++++++++++++++++++++++
arch/arch.mk.hppa | 13 +++++++++++++
4 files changed, 49 insertions(+)
create mode 100644 arch/Config.in.hppa
create mode 100644 arch/arch.mk.hppa
diff --git a/DEVELOPERS b/DEVELOPERS
index d471b9ab6f..47f3e030e5 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -3381,6 +3381,8 @@ F: package/edk2-non-osi/
F: support/testing/tests/boot/test_edk2.py
N: Vincent Stehlé <vincent.stehle@laposte.net>
+F: arch/Config.in.hppa
+F: arch/arch.mk.hppa
F: board/arm/foundation-v8/
F: board/bananapi/bananapi-m2-zero/
F: configs/arm_foundationv8_defconfig
diff --git a/arch/Config.in b/arch/Config.in
index 6b54c65df9..b94ae4def6 100644
--- a/arch/Config.in
+++ b/arch/Config.in
@@ -73,6 +73,14 @@ config BR2_aarch64_be
http://www.arm.com/products/processors/instruction-set-architectures/armv8-architecture.php
http://en.wikipedia.org/wiki/ARM
+config BR2_hppa
+ bool "HPPA"
+ select BR2_USE_MMU
+ help
+ Precision Architecture (a.k.a. PA-RISC) is a 32-bit
+ architecture developed by Hewlett Packard.
+ https://en.wikipedia.org/wiki/PA-RISC
+
config BR2_i386
bool "i386"
select BR2_USE_MMU
@@ -373,6 +381,10 @@ if BR2_arm || BR2_armeb || BR2_aarch64 || BR2_aarch64_be
source "arch/Config.in.arm"
endif
+if BR2_hppa
+source "arch/Config.in.hppa"
+endif
+
if BR2_m68k
source "arch/Config.in.m68k"
endif
diff --git a/arch/Config.in.hppa b/arch/Config.in.hppa
new file mode 100644
index 0000000000..7859a8a23a
--- /dev/null
+++ b/arch/Config.in.hppa
@@ -0,0 +1,22 @@
+choice
+ prompt "Target Architecture Type"
+ help
+ Architecture type (or version) to use.
+
+config BR2_parisc10
+ bool "PA-RISC 1.0"
+config BR2_parisc11
+ bool "PA-RISC 1.1"
+endchoice
+
+config BR2_ARCH
+ default "hppa"
+
+config BR2_NORMALIZED_ARCH
+ default "parisc"
+
+config BR2_ENDIAN
+ default "LITTLE"
+
+config BR2_READELF_ARCH_NAME
+ default "HPPA"
diff --git a/arch/arch.mk.hppa b/arch/arch.mk.hppa
new file mode 100644
index 0000000000..9d22e4371f
--- /dev/null
+++ b/arch/arch.mk.hppa
@@ -0,0 +1,13 @@
+#
+# Configure the GCC_TARGET_ARCH variable.
+#
+
+ifeq ($(BR2_hppa),y)
+
+ifeq ($(BR2_parisc10),y)
+GCC_TARGET_ARCH := 1.0
+else ifeq ($(BR2_parisc11),y)
+GCC_TARGET_ARCH := 1.1
+endif
+
+endif
--
2.47.2
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [Buildroot] [PATCH 2/5] package/gcc: enable hppa support
2025-05-23 17:43 [Buildroot] [PATCH 0/5] Add support for HPPA (PA-RISC) Vincent Stehlé via buildroot
2025-05-23 17:43 ` [Buildroot] [PATCH 1/5] hppa: Add new architecture Vincent Stehlé via buildroot
@ 2025-05-23 17:43 ` Vincent Stehlé via buildroot
2025-05-23 20:43 ` Romain Naour via buildroot
2025-05-23 17:43 ` [Buildroot] [PATCH 3/5] package/glibc: " Vincent Stehlé via buildroot
` (5 subsequent siblings)
7 siblings, 1 reply; 16+ messages in thread
From: Vincent Stehlé via buildroot @ 2025-05-23 17:43 UTC (permalink / raw)
To: buildroot
Cc: Julien Olivain, Giulio Benetti, Romain Naour, Thomas Petazzoni,
Vincent Stehlé
Add support for HPPA.
Signed-off-by: Vincent Stehlé <vincent.stehle@laposte.net>
Cc: Giulio Benetti <giulio.benetti@benettiengineering.com>
Cc: Romain Naour <romain.naour@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
---
package/gcc/Config.in.host | 1 +
1 file changed, 1 insertion(+)
diff --git a/package/gcc/Config.in.host b/package/gcc/Config.in.host
index 10fe4bf609..f48429db96 100644
--- a/package/gcc/Config.in.host
+++ b/package/gcc/Config.in.host
@@ -60,6 +60,7 @@ config BR2_GCC_SUPPORTS_DLANG
bool
default y if BR2_aarch64
default y if BR2_arm
+ default y if BR2_hppa
default y if BR2_i386
default y if BR2_mips || BR2_mipsel
default y if BR2_mips64 || BR2_mips64el
--
2.47.2
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [Buildroot] [PATCH 3/5] package/glibc: enable hppa support
2025-05-23 17:43 [Buildroot] [PATCH 0/5] Add support for HPPA (PA-RISC) Vincent Stehlé via buildroot
2025-05-23 17:43 ` [Buildroot] [PATCH 1/5] hppa: Add new architecture Vincent Stehlé via buildroot
2025-05-23 17:43 ` [Buildroot] [PATCH 2/5] package/gcc: enable hppa support Vincent Stehlé via buildroot
@ 2025-05-23 17:43 ` Vincent Stehlé via buildroot
2025-05-23 20:45 ` Romain Naour via buildroot
2025-05-23 17:43 ` [Buildroot] [PATCH 4/5] package/qemu: enable host-qemu " Vincent Stehlé via buildroot
` (4 subsequent siblings)
7 siblings, 1 reply; 16+ messages in thread
From: Vincent Stehlé via buildroot @ 2025-05-23 17:43 UTC (permalink / raw)
To: buildroot
Cc: Julien Olivain, Giulio Benetti, Romain Naour, Thomas Petazzoni,
Vincent Stehlé
Add support for HPPA.
Signed-off-by: Vincent Stehlé <vincent.stehle@laposte.net>
Cc: Romain Naour <romain.naour@gmail.com>
---
package/glibc/Config.in | 1 +
1 file changed, 1 insertion(+)
diff --git a/package/glibc/Config.in b/package/glibc/Config.in
index 52752e975e..961b984b3d 100644
--- a/package/glibc/Config.in
+++ b/package/glibc/Config.in
@@ -4,6 +4,7 @@ config BR2_PACKAGE_GLIBC_ARCH_SUPPORTS
default y if BR2_armeb
default y if BR2_aarch64
default y if BR2_aarch64_be
+ default y if BR2_hppa
default y if BR2_i386
default y if BR2_m68k_m68k
default y if BR2_mips
--
2.47.2
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [Buildroot] [PATCH 4/5] package/qemu: enable host-qemu hppa support
2025-05-23 17:43 [Buildroot] [PATCH 0/5] Add support for HPPA (PA-RISC) Vincent Stehlé via buildroot
` (2 preceding siblings ...)
2025-05-23 17:43 ` [Buildroot] [PATCH 3/5] package/glibc: " Vincent Stehlé via buildroot
@ 2025-05-23 17:43 ` Vincent Stehlé via buildroot
2025-05-23 20:49 ` Romain Naour via buildroot
2025-05-23 17:43 ` [Buildroot] [PATCH 5/5] configs/qemu_hppa_b160l: new defconfig Vincent Stehlé via buildroot
` (3 subsequent siblings)
7 siblings, 1 reply; 16+ messages in thread
From: Vincent Stehlé via buildroot @ 2025-05-23 17:43 UTC (permalink / raw)
To: buildroot
Cc: Julien Olivain, Giulio Benetti, Romain Naour, Thomas Petazzoni,
Vincent Stehlé
Add support in host-qemu for HPPA.
Signed-off-by: Vincent Stehlé <vincent.stehle@laposte.net>
Cc: Romain Naour <romain.naour@gmail.com>
---
package/qemu/Config.in.host | 1 +
1 file changed, 1 insertion(+)
diff --git a/package/qemu/Config.in.host b/package/qemu/Config.in.host
index 4db114490a..2c52cc07c3 100644
--- a/package/qemu/Config.in.host
+++ b/package/qemu/Config.in.host
@@ -3,6 +3,7 @@ config BR2_PACKAGE_HOST_QEMU_ARCH_SUPPORTS
default y if BR2_arm
default y if BR2_armeb
default y if BR2_aarch64
+ default y if BR2_hppa
default y if BR2_i386
default y if BR2_m68k
default y if BR2_microblazeel
--
2.47.2
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [Buildroot] [PATCH 5/5] configs/qemu_hppa_b160l: new defconfig
2025-05-23 17:43 [Buildroot] [PATCH 0/5] Add support for HPPA (PA-RISC) Vincent Stehlé via buildroot
` (3 preceding siblings ...)
2025-05-23 17:43 ` [Buildroot] [PATCH 4/5] package/qemu: enable host-qemu " Vincent Stehlé via buildroot
@ 2025-05-23 17:43 ` Vincent Stehlé via buildroot
2025-05-23 20:53 ` Romain Naour via buildroot
2025-05-23 17:49 ` [Buildroot] [PATCH 2/5] package/gcc: enable hppa support Vincent Stehlé via buildroot
` (2 subsequent siblings)
7 siblings, 1 reply; 16+ messages in thread
From: Vincent Stehlé via buildroot @ 2025-05-23 17:43 UTC (permalink / raw)
To: buildroot
Cc: Julien Olivain, Giulio Benetti, Romain Naour, Thomas Petazzoni,
Vincent Stehlé
Add a defconfig to run Linux on a HP Visualize B160L PA-RISC Workstation,
emulated with Qemu.
While at it, add myself in DEVELOPERS.
Signed-off-by: Vincent Stehlé <vincent.stehle@laposte.net>
Cc: Romain Naour <romain.naour@gmail.com>
---
DEVELOPERS | 2 ++
board/qemu/hppa-b160l/readme.txt | 31 +++++++++++++++++++++++++++++++
configs/qemu_hppa_b160l_defconfig | 18 ++++++++++++++++++
3 files changed, 51 insertions(+)
create mode 100644 board/qemu/hppa-b160l/readme.txt
create mode 100644 configs/qemu_hppa_b160l_defconfig
diff --git a/DEVELOPERS b/DEVELOPERS
index 47f3e030e5..f185307f60 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -3385,8 +3385,10 @@ F: arch/Config.in.hppa
F: arch/arch.mk.hppa
F: board/arm/foundation-v8/
F: board/bananapi/bananapi-m2-zero/
+F: board/qemu/hppa-b160l/
F: configs/arm_foundationv8_defconfig
F: configs/bananapi_m2_zero_defconfig
+F: configs/qemu_hppa_b160l_defconfig
F: configs/uevm5432_defconfig
F: package/i7z/
F: package/msr-tools/
diff --git a/board/qemu/hppa-b160l/readme.txt b/board/qemu/hppa-b160l/readme.txt
new file mode 100644
index 0000000000..75e50e451b
--- /dev/null
+++ b/board/qemu/hppa-b160l/readme.txt
@@ -0,0 +1,31 @@
+Introduction
+============
+
+The qemu_hppa_b160l_defconfig is meant to run Linux on a HP Visualize B160L
+PA-RISC Workstation, emulated with Qemu.
+
+Building
+========
+
+ $ make qemu_hppa_b160l_defconfig
+ $ make
+
+Generated files under output/images:
+
+* rootfs.ext4: the root filesystem.
+* vmlinux: the Linux kernel.
+
+Running under Qemu
+==================
+
+Run the emulation with:
+
+ qemu-system-hppa \
+ -machine B160L \
+ -append "rootwait root=/dev/sda" \
+ -hda output/images/rootfs.ext4 \
+ -kernel output/images/vmlinux \
+ -nographic \
+ -smp 2 # qemu_hppa_b160l_defconfig
+
+The login prompt will appear in the terminal that started Qemu.
diff --git a/configs/qemu_hppa_b160l_defconfig b/configs/qemu_hppa_b160l_defconfig
new file mode 100644
index 0000000000..188f195f76
--- /dev/null
+++ b/configs/qemu_hppa_b160l_defconfig
@@ -0,0 +1,18 @@
+BR2_hppa=y
+BR2_parisc11=y
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_12=y
+BR2_GLOBAL_PATCH_DIR="board/qemu/patches"
+BR2_DOWNLOAD_FORCE_CHECK_HASHES=y
+BR2_SYSTEM_DHCP="eth0"
+BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh"
+BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)"
+BR2_LINUX_KERNEL=y
+BR2_LINUX_KERNEL_CUSTOM_VERSION=y
+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.12.27"
+BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y
+BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y
+BR2_TARGET_ROOTFS_EXT2=y
+BR2_TARGET_ROOTFS_EXT2_4=y
+# BR2_TARGET_ROOTFS_TAR is not set
+BR2_PACKAGE_HOST_QEMU=y
+BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y
--
2.47.2
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [Buildroot] [PATCH 2/5] package/gcc: enable hppa support
2025-05-23 17:43 [Buildroot] [PATCH 0/5] Add support for HPPA (PA-RISC) Vincent Stehlé via buildroot
` (4 preceding siblings ...)
2025-05-23 17:43 ` [Buildroot] [PATCH 5/5] configs/qemu_hppa_b160l: new defconfig Vincent Stehlé via buildroot
@ 2025-05-23 17:49 ` Vincent Stehlé via buildroot
2025-05-23 17:49 ` [Buildroot] [PATCH 5/5] configs/qemu_hppa_b160l: new defconfig Vincent Stehlé via buildroot
2025-05-30 20:04 ` [Buildroot] [PATCH 0/5] Add support for HPPA (PA-RISC) Thomas Petazzoni via buildroot
7 siblings, 0 replies; 16+ messages in thread
From: Vincent Stehlé via buildroot @ 2025-05-23 17:49 UTC (permalink / raw)
To: buildroot
Cc: Julien Olivain, Giulio Benetti, Romain Naour, Thomas Petazzoni,
Vincent Stehlé
Add support for HPPA.
Signed-off-by: Vincent Stehlé <vincent.stehle@laposte.net>
Cc: Giulio Benetti <giulio.benetti@benettiengineering.com>
Cc: Romain Naour <romain.naour@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
---
package/gcc/Config.in.host | 1 +
1 file changed, 1 insertion(+)
diff --git a/package/gcc/Config.in.host b/package/gcc/Config.in.host
index 10fe4bf609..f48429db96 100644
--- a/package/gcc/Config.in.host
+++ b/package/gcc/Config.in.host
@@ -60,6 +60,7 @@ config BR2_GCC_SUPPORTS_DLANG
bool
default y if BR2_aarch64
default y if BR2_arm
+ default y if BR2_hppa
default y if BR2_i386
default y if BR2_mips || BR2_mipsel
default y if BR2_mips64 || BR2_mips64el
--
2.47.2
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [Buildroot] [PATCH 5/5] configs/qemu_hppa_b160l: new defconfig
2025-05-23 17:43 [Buildroot] [PATCH 0/5] Add support for HPPA (PA-RISC) Vincent Stehlé via buildroot
` (5 preceding siblings ...)
2025-05-23 17:49 ` [Buildroot] [PATCH 2/5] package/gcc: enable hppa support Vincent Stehlé via buildroot
@ 2025-05-23 17:49 ` Vincent Stehlé via buildroot
2025-05-30 20:04 ` [Buildroot] [PATCH 0/5] Add support for HPPA (PA-RISC) Thomas Petazzoni via buildroot
7 siblings, 0 replies; 16+ messages in thread
From: Vincent Stehlé via buildroot @ 2025-05-23 17:49 UTC (permalink / raw)
To: buildroot
Cc: Julien Olivain, Giulio Benetti, Romain Naour, Thomas Petazzoni,
Vincent Stehlé
Add a defconfig to run Linux on a HP Visualize B160L PA-RISC Workstation,
emulated with Qemu.
While at it, add myself in DEVELOPERS.
Signed-off-by: Vincent Stehlé <vincent.stehle@laposte.net>
Cc: Romain Naour <romain.naour@gmail.com>
---
DEVELOPERS | 2 ++
board/qemu/hppa-b160l/readme.txt | 31 +++++++++++++++++++++++++++++++
configs/qemu_hppa_b160l_defconfig | 18 ++++++++++++++++++
3 files changed, 51 insertions(+)
create mode 100644 board/qemu/hppa-b160l/readme.txt
create mode 100644 configs/qemu_hppa_b160l_defconfig
diff --git a/DEVELOPERS b/DEVELOPERS
index 47f3e030e5..f185307f60 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -3385,8 +3385,10 @@ F: arch/Config.in.hppa
F: arch/arch.mk.hppa
F: board/arm/foundation-v8/
F: board/bananapi/bananapi-m2-zero/
+F: board/qemu/hppa-b160l/
F: configs/arm_foundationv8_defconfig
F: configs/bananapi_m2_zero_defconfig
+F: configs/qemu_hppa_b160l_defconfig
F: configs/uevm5432_defconfig
F: package/i7z/
F: package/msr-tools/
diff --git a/board/qemu/hppa-b160l/readme.txt b/board/qemu/hppa-b160l/readme.txt
new file mode 100644
index 0000000000..75e50e451b
--- /dev/null
+++ b/board/qemu/hppa-b160l/readme.txt
@@ -0,0 +1,31 @@
+Introduction
+============
+
+The qemu_hppa_b160l_defconfig is meant to run Linux on a HP Visualize B160L
+PA-RISC Workstation, emulated with Qemu.
+
+Building
+========
+
+ $ make qemu_hppa_b160l_defconfig
+ $ make
+
+Generated files under output/images:
+
+* rootfs.ext4: the root filesystem.
+* vmlinux: the Linux kernel.
+
+Running under Qemu
+==================
+
+Run the emulation with:
+
+ qemu-system-hppa \
+ -machine B160L \
+ -append "rootwait root=/dev/sda" \
+ -hda output/images/rootfs.ext4 \
+ -kernel output/images/vmlinux \
+ -nographic \
+ -smp 2 # qemu_hppa_b160l_defconfig
+
+The login prompt will appear in the terminal that started Qemu.
diff --git a/configs/qemu_hppa_b160l_defconfig b/configs/qemu_hppa_b160l_defconfig
new file mode 100644
index 0000000000..188f195f76
--- /dev/null
+++ b/configs/qemu_hppa_b160l_defconfig
@@ -0,0 +1,18 @@
+BR2_hppa=y
+BR2_parisc11=y
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_12=y
+BR2_GLOBAL_PATCH_DIR="board/qemu/patches"
+BR2_DOWNLOAD_FORCE_CHECK_HASHES=y
+BR2_SYSTEM_DHCP="eth0"
+BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh"
+BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)"
+BR2_LINUX_KERNEL=y
+BR2_LINUX_KERNEL_CUSTOM_VERSION=y
+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.12.27"
+BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y
+BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y
+BR2_TARGET_ROOTFS_EXT2=y
+BR2_TARGET_ROOTFS_EXT2_4=y
+# BR2_TARGET_ROOTFS_TAR is not set
+BR2_PACKAGE_HOST_QEMU=y
+BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y
--
2.47.2
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 16+ messages in thread
* Re: [Buildroot] [PATCH 1/5] hppa: Add new architecture
2025-05-23 17:43 ` [Buildroot] [PATCH 1/5] hppa: Add new architecture Vincent Stehlé via buildroot
@ 2025-05-23 20:42 ` Romain Naour via buildroot
0 siblings, 0 replies; 16+ messages in thread
From: Romain Naour via buildroot @ 2025-05-23 20:42 UTC (permalink / raw)
To: Vincent Stehlé, buildroot
Cc: Julien Olivain, Giulio Benetti, Romain Naour, Thomas Petazzoni
Hello Vincent, All,
Le 23/05/2025 à 19:43, Vincent Stehlé via buildroot a écrit :
> Add support for the Precision Architecture (a.k.a. PA-RISC),
> a 32-bit architecture developed by Hewlett Packard.
>
> While at it, add myself in DEVELOPERS.
>
> Signed-off-by: Vincent Stehlé <vincent.stehle@laposte.net>
> ---
> DEVELOPERS | 2 ++
> arch/Config.in | 12 ++++++++++++
> arch/Config.in.hppa | 22 ++++++++++++++++++++++
> arch/arch.mk.hppa | 13 +++++++++++++
> 4 files changed, 49 insertions(+)
> create mode 100644 arch/Config.in.hppa
> create mode 100644 arch/arch.mk.hppa
>
> diff --git a/DEVELOPERS b/DEVELOPERS
> index d471b9ab6f..47f3e030e5 100644
> --- a/DEVELOPERS
> +++ b/DEVELOPERS
> @@ -3381,6 +3381,8 @@ F: package/edk2-non-osi/
> F: support/testing/tests/boot/test_edk2.py
>
> N: Vincent Stehlé <vincent.stehle@laposte.net>
> +F: arch/Config.in.hppa
> +F: arch/arch.mk.hppa
> F: board/arm/foundation-v8/
> F: board/bananapi/bananapi-m2-zero/
> F: configs/arm_foundationv8_defconfig
> diff --git a/arch/Config.in b/arch/Config.in
> index 6b54c65df9..b94ae4def6 100644
> --- a/arch/Config.in
> +++ b/arch/Config.in
> @@ -73,6 +73,14 @@ config BR2_aarch64_be
> http://www.arm.com/products/processors/instruction-set-architectures/armv8-architecture.php
> http://en.wikipedia.org/wiki/ARM
>
> +config BR2_hppa
> + bool "HPPA"
> + select BR2_USE_MMU
Select BR2_ARCH_HAS_NO_TOOLCHAIN_BUILDROOT since our internal
toolchain backend don't support yet this architecture.
> + help
> + Precision Architecture (a.k.a. PA-RISC) is a 32-bit
> + architecture developed by Hewlett Packard.
> + https://en.wikipedia.org/wiki/PA-RISC
> +
> config BR2_i386
> bool "i386"
> select BR2_USE_MMU
> @@ -373,6 +381,10 @@ if BR2_arm || BR2_armeb || BR2_aarch64 || BR2_aarch64_be
> source "arch/Config.in.arm"
> endif
>
> +if BR2_hppa
> +source "arch/Config.in.hppa"
> +endif
> +
> if BR2_m68k
> source "arch/Config.in.m68k"
> endif
> diff --git a/arch/Config.in.hppa b/arch/Config.in.hppa
> new file mode 100644
> index 0000000000..7859a8a23a
> --- /dev/null
> +++ b/arch/Config.in.hppa
> @@ -0,0 +1,22 @@
> +choice
> + prompt "Target Architecture Type"
> + help
> + Architecture type (or version) to use.
> +
> +config BR2_parisc10
> + bool "PA-RISC 1.0"
Is this one really supported by qemu?
The qemu defconfig added in the end of the series (qemu_hppa_b160l_defconfig)
only test "PA-RISC 1.1".
> +config BR2_parisc11
> + bool "PA-RISC 1.1"
> +endchoice
> +
> +config BR2_ARCH
> + default "hppa"
> +
> +config BR2_NORMALIZED_ARCH
> + default "parisc"
> +
> +config BR2_ENDIAN
> + default "LITTLE"
HPPA is big-endian.
"HPPA notably has an unusual stack direction (it grows upwards!)"
https://wiki.gentoo.org/wiki/Project:HPPA
Best regards,
Romain
> +
> +config BR2_READELF_ARCH_NAME
> + default "HPPA"
> diff --git a/arch/arch.mk.hppa b/arch/arch.mk.hppa
> new file mode 100644
> index 0000000000..9d22e4371f
> --- /dev/null
> +++ b/arch/arch.mk.hppa
> @@ -0,0 +1,13 @@
> +#
> +# Configure the GCC_TARGET_ARCH variable.
> +#
> +
> +ifeq ($(BR2_hppa),y)
> +
> +ifeq ($(BR2_parisc10),y)
> +GCC_TARGET_ARCH := 1.0
> +else ifeq ($(BR2_parisc11),y)
> +GCC_TARGET_ARCH := 1.1
> +endif
> +
> +endif
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [Buildroot] [PATCH 2/5] package/gcc: enable hppa support
2025-05-23 17:43 ` [Buildroot] [PATCH 2/5] package/gcc: enable hppa support Vincent Stehlé via buildroot
@ 2025-05-23 20:43 ` Romain Naour via buildroot
0 siblings, 0 replies; 16+ messages in thread
From: Romain Naour via buildroot @ 2025-05-23 20:43 UTC (permalink / raw)
To: Vincent Stehlé, buildroot
Cc: Julien Olivain, Giulio Benetti, Romain Naour, Thomas Petazzoni
Hello Vincent, All,
Le 23/05/2025 à 19:43, Vincent Stehlé via buildroot a écrit :
> Add support for HPPA.
>
> Signed-off-by: Vincent Stehlé <vincent.stehle@laposte.net>
> Cc: Giulio Benetti <giulio.benetti@benettiengineering.com>
> Cc: Romain Naour <romain.naour@gmail.com>
> Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
> ---
> package/gcc/Config.in.host | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/package/gcc/Config.in.host b/package/gcc/Config.in.host
> index 10fe4bf609..f48429db96 100644
> --- a/package/gcc/Config.in.host
> +++ b/package/gcc/Config.in.host
> @@ -60,6 +60,7 @@ config BR2_GCC_SUPPORTS_DLANG
> bool
> default y if BR2_aarch64
> default y if BR2_arm
> + default y if BR2_hppa
> default y if BR2_i386
> default y if BR2_mips || BR2_mipsel
> default y if BR2_mips64 || BR2_mips64el
BR2_GCC_SUPPORTS_DLANG is only supported up to gcc-12.
is really needed to add hppa here ?
Best regards,
Romain
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [Buildroot] [PATCH 3/5] package/glibc: enable hppa support
2025-05-23 17:43 ` [Buildroot] [PATCH 3/5] package/glibc: " Vincent Stehlé via buildroot
@ 2025-05-23 20:45 ` Romain Naour via buildroot
0 siblings, 0 replies; 16+ messages in thread
From: Romain Naour via buildroot @ 2025-05-23 20:45 UTC (permalink / raw)
To: Vincent Stehlé, buildroot
Cc: Julien Olivain, Giulio Benetti, Romain Naour, Thomas Petazzoni
Hello Vincent, All,
Le 23/05/2025 à 19:43, Vincent Stehlé via buildroot a écrit :
> Add support for HPPA.
>
> Signed-off-by: Vincent Stehlé <vincent.stehle@laposte.net>
> Cc: Romain Naour <romain.naour@gmail.com>
> ---
> package/glibc/Config.in | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/package/glibc/Config.in b/package/glibc/Config.in
> index 52752e975e..961b984b3d 100644
> --- a/package/glibc/Config.in
> +++ b/package/glibc/Config.in
> @@ -4,6 +4,7 @@ config BR2_PACKAGE_GLIBC_ARCH_SUPPORTS
> default y if BR2_armeb
> default y if BR2_aarch64
> default y if BR2_aarch64_be
> + default y if BR2_hppa
With this patch applied, you can remove BR2_ARCH_HAS_NO_TOOLCHAIN_BUILDROOT
added in the first patch.
Best regards,
Romain
> default y if BR2_i386
> default y if BR2_m68k_m68k
> default y if BR2_mips
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [Buildroot] [PATCH 4/5] package/qemu: enable host-qemu hppa support
2025-05-23 17:43 ` [Buildroot] [PATCH 4/5] package/qemu: enable host-qemu " Vincent Stehlé via buildroot
@ 2025-05-23 20:49 ` Romain Naour via buildroot
0 siblings, 0 replies; 16+ messages in thread
From: Romain Naour via buildroot @ 2025-05-23 20:49 UTC (permalink / raw)
To: Vincent Stehlé, buildroot
Cc: Julien Olivain, Giulio Benetti, Romain Naour, Thomas Petazzoni
Hello Vincent, All,
Le 23/05/2025 à 19:43, Vincent Stehlé via buildroot a écrit :
> Add support in host-qemu for HPPA.
>
> Signed-off-by: Vincent Stehlé <vincent.stehle@laposte.net>
> Cc: Romain Naour <romain.naour@gmail.com>
> ---
> package/qemu/Config.in.host | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/package/qemu/Config.in.host b/package/qemu/Config.in.host
> index 4db114490a..2c52cc07c3 100644
> --- a/package/qemu/Config.in.host
> +++ b/package/qemu/Config.in.host
> @@ -3,6 +3,7 @@ config BR2_PACKAGE_HOST_QEMU_ARCH_SUPPORTS
> default y if BR2_arm
> default y if BR2_armeb
> default y if BR2_aarch64
> + default y if BR2_hppa
> default y if BR2_i386
> default y if BR2_m68k
> default y if BR2_microblazeel
There is a comment in qemu.mk about BR ARCH vs qemu:
# BR ARCH qemu
# ------- ----
# arm arm
# armeb armeb
+# hppa hppa
Just add hppa to the list.
Best regards,
Romain
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [Buildroot] [PATCH 5/5] configs/qemu_hppa_b160l: new defconfig
2025-05-23 17:43 ` [Buildroot] [PATCH 5/5] configs/qemu_hppa_b160l: new defconfig Vincent Stehlé via buildroot
@ 2025-05-23 20:53 ` Romain Naour via buildroot
2025-06-01 12:59 ` Vincent Stehlé via buildroot
0 siblings, 1 reply; 16+ messages in thread
From: Romain Naour via buildroot @ 2025-05-23 20:53 UTC (permalink / raw)
To: Vincent Stehlé, buildroot
Cc: Julien Olivain, Giulio Benetti, Romain Naour, Thomas Petazzoni
Hello Vincent, All,
Le 23/05/2025 à 19:43, Vincent Stehlé via buildroot a écrit :
> Add a defconfig to run Linux on a HP Visualize B160L PA-RISC Workstation,
> emulated with Qemu.
>
> While at it, add myself in DEVELOPERS.
# uname -a
Linux buildroot 6.12.27-32bit #1 SMP Fri May 23 20:22:04 UTC 2025 parisc GNU/Linux
# cat /proc/cpuinfo
processor : 0
cpu family : PA-RISC 1.1e
cpu : PA7300LC (PCX-L2)
cpu MHz : 250.000000
physical id : 0
siblings : 1
core id : 0
capabilities : os32 nva_supported (0x02)
model : 9000/778/B160L - Merlin L2 160 (9000/778/B160L)
[...]
Well, it works maybe the next step is to add GNU/Hurd support in Buildroot ? :)
Best regards,
Romain
>
> Signed-off-by: Vincent Stehlé <vincent.stehle@laposte.net>
> Cc: Romain Naour <romain.naour@gmail.com>
> ---
> DEVELOPERS | 2 ++
> board/qemu/hppa-b160l/readme.txt | 31 +++++++++++++++++++++++++++++++
> configs/qemu_hppa_b160l_defconfig | 18 ++++++++++++++++++
> 3 files changed, 51 insertions(+)
> create mode 100644 board/qemu/hppa-b160l/readme.txt
> create mode 100644 configs/qemu_hppa_b160l_defconfig
>
> diff --git a/DEVELOPERS b/DEVELOPERS
> index 47f3e030e5..f185307f60 100644
> --- a/DEVELOPERS
> +++ b/DEVELOPERS
> @@ -3385,8 +3385,10 @@ F: arch/Config.in.hppa
> F: arch/arch.mk.hppa
> F: board/arm/foundation-v8/
> F: board/bananapi/bananapi-m2-zero/
> +F: board/qemu/hppa-b160l/
> F: configs/arm_foundationv8_defconfig
> F: configs/bananapi_m2_zero_defconfig
> +F: configs/qemu_hppa_b160l_defconfig
> F: configs/uevm5432_defconfig
> F: package/i7z/
> F: package/msr-tools/
> diff --git a/board/qemu/hppa-b160l/readme.txt b/board/qemu/hppa-b160l/readme.txt
> new file mode 100644
> index 0000000000..75e50e451b
> --- /dev/null
> +++ b/board/qemu/hppa-b160l/readme.txt
> @@ -0,0 +1,31 @@
> +Introduction
> +============
> +
> +The qemu_hppa_b160l_defconfig is meant to run Linux on a HP Visualize B160L
> +PA-RISC Workstation, emulated with Qemu.
> +
> +Building
> +========
> +
> + $ make qemu_hppa_b160l_defconfig
> + $ make
> +
> +Generated files under output/images:
> +
> +* rootfs.ext4: the root filesystem.
> +* vmlinux: the Linux kernel.
> +
> +Running under Qemu
> +==================
> +
> +Run the emulation with:
> +
> + qemu-system-hppa \
> + -machine B160L \
> + -append "rootwait root=/dev/sda" \
> + -hda output/images/rootfs.ext4 \
> + -kernel output/images/vmlinux \
> + -nographic \
> + -smp 2 # qemu_hppa_b160l_defconfig
> +
> +The login prompt will appear in the terminal that started Qemu.
> diff --git a/configs/qemu_hppa_b160l_defconfig b/configs/qemu_hppa_b160l_defconfig
> new file mode 100644
> index 0000000000..188f195f76
> --- /dev/null
> +++ b/configs/qemu_hppa_b160l_defconfig
> @@ -0,0 +1,18 @@
> +BR2_hppa=y
> +BR2_parisc11=y
> +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_12=y
> +BR2_GLOBAL_PATCH_DIR="board/qemu/patches"
> +BR2_DOWNLOAD_FORCE_CHECK_HASHES=y
> +BR2_SYSTEM_DHCP="eth0"
> +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh"
> +BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)"
> +BR2_LINUX_KERNEL=y
> +BR2_LINUX_KERNEL_CUSTOM_VERSION=y
> +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.12.27"
> +BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y
> +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y
> +BR2_TARGET_ROOTFS_EXT2=y
> +BR2_TARGET_ROOTFS_EXT2_4=y
> +# BR2_TARGET_ROOTFS_TAR is not set
> +BR2_PACKAGE_HOST_QEMU=y
> +BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [Buildroot] [PATCH 0/5] Add support for HPPA (PA-RISC)
2025-05-23 17:43 [Buildroot] [PATCH 0/5] Add support for HPPA (PA-RISC) Vincent Stehlé via buildroot
` (6 preceding siblings ...)
2025-05-23 17:49 ` [Buildroot] [PATCH 5/5] configs/qemu_hppa_b160l: new defconfig Vincent Stehlé via buildroot
@ 2025-05-30 20:04 ` Thomas Petazzoni via buildroot
2025-06-01 13:23 ` Vincent Stehlé via buildroot
7 siblings, 1 reply; 16+ messages in thread
From: Thomas Petazzoni via buildroot @ 2025-05-30 20:04 UTC (permalink / raw)
To: Vincent Stehlé via buildroot
Cc: Vincent Stehlé, Julien Olivain, Giulio Benetti, Romain Naour
Hello Vincent,
On Fri, 23 May 2025 19:43:08 +0200
Vincent Stehlé via buildroot <buildroot@buildroot.org> wrote:
> This patch series adds minimal support for a "new" architecture: HP/PA
> (a.k.a. PA-RISC); one of the RISC architectures of the late 80ies.
>
> This architecture is still well supported by gcc, Linux and some other
> distros; therefore it should not be too much of a burden to support in
> Buildroot.
>
> With those patches we have enough to build and run a Linux kernel with
> busybox on Qemu, which makes it easily testable.
>
> I plan to add support later on for running on actual hardware; the HP
> 9000 712 PA-RISC Workstation.
I have nothing against HPPA, but is this going to be used in practice?
We already support quite a lot of "exotic" architectures in Buildroot,
and they are a fairly heavy maintenance burden, due to:
- Architecture dependencies in several core packages. For example,
libffi, libcap, are used by zillions of packages and they have
architecture dependencies.
- GCC issues. Our autobuilders are flooded by GCC issues affecting
SuperH, Microblaze and other exotic architectures, and those issues
are never fixed because nobody cares.
So while I find it nice that we support so many architectures, I think
we should all wonder whether it makes sense to support even more and
for what use-case.
Thanks for your feedback!
Thomas
--
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [Buildroot] [PATCH 5/5] configs/qemu_hppa_b160l: new defconfig
2025-05-23 20:53 ` Romain Naour via buildroot
@ 2025-06-01 12:59 ` Vincent Stehlé via buildroot
0 siblings, 0 replies; 16+ messages in thread
From: Vincent Stehlé via buildroot @ 2025-06-01 12:59 UTC (permalink / raw)
To: Romain Naour
Cc: buildroot, Julien Olivain, Giulio Benetti, Romain Naour,
Thomas Petazzoni
On Fri, May 23, 2025 at 10:53:55PM +0200, Romain Naour wrote:
> Hello Vincent, All,
Dear Romain,
Thank you very much for reviewing and testing!
I will fix everything that you reported and send a v2 soon.
Best regards,
Vincent.
>
> Le 23/05/2025 à 19:43, Vincent Stehlé via buildroot a écrit :
> > Add a defconfig to run Linux on a HP Visualize B160L PA-RISC Workstation,
> > emulated with Qemu.
> >
> > While at it, add myself in DEVELOPERS.
>
> # uname -a
> Linux buildroot 6.12.27-32bit #1 SMP Fri May 23 20:22:04 UTC 2025 parisc GNU/Linux
>
> # cat /proc/cpuinfo
> processor : 0
> cpu family : PA-RISC 1.1e
> cpu : PA7300LC (PCX-L2)
> cpu MHz : 250.000000
> physical id : 0
> siblings : 1
> core id : 0
> capabilities : os32 nva_supported (0x02)
> model : 9000/778/B160L - Merlin L2 160 (9000/778/B160L)
> [...]
>
> Well, it works maybe the next step is to add GNU/Hurd support in Buildroot ? :)
>
> Best regards,
> Romain
>
>
> >
> > Signed-off-by: Vincent Stehlé <vincent.stehle@laposte.net>
> > Cc: Romain Naour <romain.naour@gmail.com>
> > ---
> > DEVELOPERS | 2 ++
> > board/qemu/hppa-b160l/readme.txt | 31 +++++++++++++++++++++++++++++++
> > configs/qemu_hppa_b160l_defconfig | 18 ++++++++++++++++++
> > 3 files changed, 51 insertions(+)
> > create mode 100644 board/qemu/hppa-b160l/readme.txt
> > create mode 100644 configs/qemu_hppa_b160l_defconfig
> >
> > diff --git a/DEVELOPERS b/DEVELOPERS
> > index 47f3e030e5..f185307f60 100644
> > --- a/DEVELOPERS
> > +++ b/DEVELOPERS
> > @@ -3385,8 +3385,10 @@ F: arch/Config.in.hppa
> > F: arch/arch.mk.hppa
> > F: board/arm/foundation-v8/
> > F: board/bananapi/bananapi-m2-zero/
> > +F: board/qemu/hppa-b160l/
> > F: configs/arm_foundationv8_defconfig
> > F: configs/bananapi_m2_zero_defconfig
> > +F: configs/qemu_hppa_b160l_defconfig
> > F: configs/uevm5432_defconfig
> > F: package/i7z/
> > F: package/msr-tools/
> > diff --git a/board/qemu/hppa-b160l/readme.txt b/board/qemu/hppa-b160l/readme.txt
> > new file mode 100644
> > index 0000000000..75e50e451b
> > --- /dev/null
> > +++ b/board/qemu/hppa-b160l/readme.txt
> > @@ -0,0 +1,31 @@
> > +Introduction
> > +============
> > +
> > +The qemu_hppa_b160l_defconfig is meant to run Linux on a HP Visualize B160L
> > +PA-RISC Workstation, emulated with Qemu.
> > +
> > +Building
> > +========
> > +
> > + $ make qemu_hppa_b160l_defconfig
> > + $ make
> > +
> > +Generated files under output/images:
> > +
> > +* rootfs.ext4: the root filesystem.
> > +* vmlinux: the Linux kernel.
> > +
> > +Running under Qemu
> > +==================
> > +
> > +Run the emulation with:
> > +
> > + qemu-system-hppa \
> > + -machine B160L \
> > + -append "rootwait root=/dev/sda" \
> > + -hda output/images/rootfs.ext4 \
> > + -kernel output/images/vmlinux \
> > + -nographic \
> > + -smp 2 # qemu_hppa_b160l_defconfig
> > +
> > +The login prompt will appear in the terminal that started Qemu.
> > diff --git a/configs/qemu_hppa_b160l_defconfig b/configs/qemu_hppa_b160l_defconfig
> > new file mode 100644
> > index 0000000000..188f195f76
> > --- /dev/null
> > +++ b/configs/qemu_hppa_b160l_defconfig
> > @@ -0,0 +1,18 @@
> > +BR2_hppa=y
> > +BR2_parisc11=y
> > +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_12=y
> > +BR2_GLOBAL_PATCH_DIR="board/qemu/patches"
> > +BR2_DOWNLOAD_FORCE_CHECK_HASHES=y
> > +BR2_SYSTEM_DHCP="eth0"
> > +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh"
> > +BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)"
> > +BR2_LINUX_KERNEL=y
> > +BR2_LINUX_KERNEL_CUSTOM_VERSION=y
> > +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.12.27"
> > +BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y
> > +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y
> > +BR2_TARGET_ROOTFS_EXT2=y
> > +BR2_TARGET_ROOTFS_EXT2_4=y
> > +# BR2_TARGET_ROOTFS_TAR is not set
> > +BR2_PACKAGE_HOST_QEMU=y
> > +BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y
>
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [Buildroot] [PATCH 0/5] Add support for HPPA (PA-RISC)
2025-05-30 20:04 ` [Buildroot] [PATCH 0/5] Add support for HPPA (PA-RISC) Thomas Petazzoni via buildroot
@ 2025-06-01 13:23 ` Vincent Stehlé via buildroot
0 siblings, 0 replies; 16+ messages in thread
From: Vincent Stehlé via buildroot @ 2025-06-01 13:23 UTC (permalink / raw)
To: Thomas Petazzoni; +Cc: buildroot, Julien Olivain, Giulio Benetti, Romain Naour
On Fri, May 30, 2025 at 10:04:09PM +0200, Thomas Petazzoni wrote:
> Hello Vincent,
(..)
> I have nothing against HPPA, but is this going to be used in practice?
Dear Thomas,
Thank you for having a look.
In all honesty, no, I do not think this will be used much in practice,
except by me (and maybe a few HPPA fans?).
> We already support quite a lot of "exotic" architectures in Buildroot,
> and they are a fairly heavy maintenance burden, due to:
>
> - Architecture dependencies in several core packages. For example,
> libffi, libcap, are used by zillions of packages and they have
> architecture dependencies.
>
> - GCC issues. Our autobuilders are flooded by GCC issues affecting
> SuperH, Microblaze and other exotic architectures, and those issues
> are never fixed because nobody cares.
>
> So while I find it nice that we support so many architectures, I think
> we should all wonder whether it makes sense to support even more and
> for what use-case.
This is a completely fair concern and I do realize that Buildroot
maintainers are already fairly busy; I certainly did not want to cause
any hassle with this patch series.
I just realized that HPPA looked still well supported in the essential
components and that it was easy enough to support in Buildroot (and
indeed this is worth only ~100 lines in the end).
Therefore, rather than keeping the patches locally I supposed that HPPA
could find a place in Buildroot with other now-exotic architectures such
as m68k or or1k.
Personally, I love the idea of Buildroot supporting as much of those old
architectures as possible, just for fun.
If this bothers you or other Buildroot developers, and you fear this
would harm Buildroot in the long run by wasting developers' time, I can
also understand; in which case, please feel free to just drop this patch
series (and the future v2).
Best regards,
Vincent.
>
> Thanks for your feedback!
>
> Thomas
> --
> Thomas Petazzoni, co-owner and CEO, Bootlin
> Embedded Linux and Kernel engineering and training
> https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 16+ messages in thread
end of thread, other threads:[~2025-06-01 13:23 UTC | newest]
Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-23 17:43 [Buildroot] [PATCH 0/5] Add support for HPPA (PA-RISC) Vincent Stehlé via buildroot
2025-05-23 17:43 ` [Buildroot] [PATCH 1/5] hppa: Add new architecture Vincent Stehlé via buildroot
2025-05-23 20:42 ` Romain Naour via buildroot
2025-05-23 17:43 ` [Buildroot] [PATCH 2/5] package/gcc: enable hppa support Vincent Stehlé via buildroot
2025-05-23 20:43 ` Romain Naour via buildroot
2025-05-23 17:43 ` [Buildroot] [PATCH 3/5] package/glibc: " Vincent Stehlé via buildroot
2025-05-23 20:45 ` Romain Naour via buildroot
2025-05-23 17:43 ` [Buildroot] [PATCH 4/5] package/qemu: enable host-qemu " Vincent Stehlé via buildroot
2025-05-23 20:49 ` Romain Naour via buildroot
2025-05-23 17:43 ` [Buildroot] [PATCH 5/5] configs/qemu_hppa_b160l: new defconfig Vincent Stehlé via buildroot
2025-05-23 20:53 ` Romain Naour via buildroot
2025-06-01 12:59 ` Vincent Stehlé via buildroot
2025-05-23 17:49 ` [Buildroot] [PATCH 2/5] package/gcc: enable hppa support Vincent Stehlé via buildroot
2025-05-23 17:49 ` [Buildroot] [PATCH 5/5] configs/qemu_hppa_b160l: new defconfig Vincent Stehlé via buildroot
2025-05-30 20:04 ` [Buildroot] [PATCH 0/5] Add support for HPPA (PA-RISC) Thomas Petazzoni via buildroot
2025-06-01 13:23 ` Vincent Stehlé via buildroot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox