Skip to contentSkip to conversation

configs/qemu_sparc_ss10_defconfig: Re-introduce.

PATCH In review Dmitry Chestnykh 2 participants 2 messages May 7, 2024

lore
Share & tools
lore
#0 lore raw

PATCH v3 1/1 configs/qemu_sparc_ss10_defconfig: Re-introduce.

- 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.

---
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
DEVELOPERS +4 -0
index 1c5ad1e42a..4bd6c58d4a 100644
@@ -3343,3 +3343,7 @@ F:	package/quazip/
 F:	package/shapelib/
 F:	package/simple-mail/
 F:	package/tinc/
+
+N:	Dmitry Chestnykh <[email protected]>
+F:	board/qemu/sparc-ss10/
+F:	configs/qemu_sparc_ss10_defconfig
configs/qemu_sparc_ss10_defconfig new file +28 -0
new file mode 100644
index 0000000000..a8e3df9180
@@ -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
Signature · 6 lines
2.45.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw

Hello Dmitry,

Thanks for this new iteration, which I have applied, after doing a few changes, see below.

DEVELOPERS F: package/quazip/ · line 3347

Quoted 10 lines · On Tue, 7 May 2024 07:15:48 +0300 Dmitry Chestnykh <[email protected]>…
DEVELOPERS +2 -0
index 1c5ad1e42a..4bd6c58d4a 100644
@@ -3343,3 +3343,7 @@ F:	package/quazip/
 F:	package/shapelib/
 F:	package/simple-mail/
 F:	package/tinc/
+
+N:	Dmitry Chestnykh <[email protected]>

This file is alphabetically sorted, by name of developers, so you should have added this entry in the "right" place rather than at the end of the file. I fixed that up.

configs/qemu_sparc_ss10_defconfig line 3

Quoted 9 lines
configs/qemu_sparc_ss10_defconfig new file +3 -0
new file mode 100644
index 0000000000..a8e3df9180
@@ -0,0 +1,28 @@
+# Architecture
+BR2_sparc=y
+BR2_sparc_v8=y

We now require (since just a week or two) hashes of custom packages to be checked as well, so I added:

+# Hashes +BR2_GLOBAL_PATCH_DIR="board/qemu/sparc-ss10/patches" +BR2_DOWNLOAD_FORCE_CHECK_HASHES=y

as well as a board/qemu/sparc-ss10/patches/linux/linux.hash which contains the hash of the linux 6.8.6 tarball.

configs/qemu_sparc_ss10_defconfig line 17

Quoted 2 lines
configs/qemu_sparc_ss10_defconfig new file +2 -0
+# Linux headers same as kernel
+BR2_PACKAGE_HOST_LINUX_HEADERS_AS_KERNEL=y

This should have been:

+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_8=y

Again: patch applied with those fixes, thanks a lot for your contribution!

Thomas

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