[Buildroot] [PATCH v3] configs/qemu_sparc_ss10_defconfig: Re-introduce.

Dmitry Chestnykh dm.chestnykh at gmail.com
Tue May 7 04:15:48 UTC 2024


- With uClibc-ng-1.0.48 we can restore this config
because uClibc-ng was provided the fix for SPARC.
- The instructions in board/qemu/sparc-ss10/readme.txt
are still valid without any corrections.
The system boots properly ang the login prompt appears.

Signed-off-by: Dmitry Chestnykh <dm.chestnykh at gmail.com>
---
v2 -> v3:
- The first two patches are merged.
- It has been checked and it is written in commit message
that the instructions in board/qemu/sparc-ss10/readme.txt don't require changes.
- Add myself to DEVELOPERS for board/qemu/sparc-ss10/ and defconfig.
---
 DEVELOPERS                        |  4 ++++
 configs/qemu_sparc_ss10_defconfig | 28 ++++++++++++++++++++++++++++
 2 files changed, 32 insertions(+)
 create mode 100644 configs/qemu_sparc_ss10_defconfig

diff --git a/DEVELOPERS b/DEVELOPERS
index 1c5ad1e42a..4bd6c58d4a 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -3343,3 +3343,7 @@ F:	package/quazip/
 F:	package/shapelib/
 F:	package/simple-mail/
 F:	package/tinc/
+
+N:	Dmitry Chestnykh <dm.chestnykh at gmail.com>
+F:	board/qemu/sparc-ss10/
+F:	configs/qemu_sparc_ss10_defconfig
diff --git a/configs/qemu_sparc_ss10_defconfig b/configs/qemu_sparc_ss10_defconfig
new file mode 100644
index 0000000000..a8e3df9180
--- /dev/null
+++ b/configs/qemu_sparc_ss10_defconfig
@@ -0,0 +1,28 @@
+# Architecture
+BR2_sparc=y
+BR2_sparc_v8=y
+
+# System
+BR2_SYSTEM_DHCP="eth0"
+
+# Filesystem
+BR2_TARGET_ROOTFS_EXT2=y
+# BR2_TARGET_ROOTFS_TAR is not set
+
+# Image
+BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh"
+BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)"
+
+# Linux headers same as kernel
+BR2_PACKAGE_HOST_LINUX_HEADERS_AS_KERNEL=y
+
+# Linux kernel
+BR2_LINUX_KERNEL=y
+BR2_LINUX_KERNEL_CUSTOM_VERSION=y
+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.8.6"
+BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
+BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/sparc-ss10/linux.config"
+
+# host-qemu for gitlab testing
+BR2_PACKAGE_HOST_QEMU=y
+BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y
-- 
2.45.0




More information about the buildroot mailing list