* [Buildroot] [PATCH v3] configs/qemu_sparc_ss10_defconfig: Re-introduce.
@ 2024-05-07 4:15 Dmitry Chestnykh
2024-05-07 7:14 ` Thomas Petazzoni via buildroot
0 siblings, 1 reply; 2+ messages in thread
From: Dmitry Chestnykh @ 2024-05-07 4:15 UTC (permalink / raw)
To: buildroot; +Cc: Dmitry Chestnykh
- 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@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@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
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Buildroot] [PATCH v3] configs/qemu_sparc_ss10_defconfig: Re-introduce.
2024-05-07 4:15 [Buildroot] [PATCH v3] configs/qemu_sparc_ss10_defconfig: Re-introduce Dmitry Chestnykh
@ 2024-05-07 7:14 ` Thomas Petazzoni via buildroot
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni via buildroot @ 2024-05-07 7:14 UTC (permalink / raw)
To: Dmitry Chestnykh; +Cc: buildroot
Hello Dmitry,
Thanks for this new iteration, which I have applied, after doing a few
changes, see below.
On Tue, 7 May 2024 07:15:48 +0300
Dmitry Chestnykh <dm.chestnykh@gmail.com> wrote:
> 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@gmail.com>
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.
> 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
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.
> +# 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
--
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] 2+ messages in thread
end of thread, other threads:[~2024-05-07 7:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-07 4:15 [Buildroot] [PATCH v3] configs/qemu_sparc_ss10_defconfig: Re-introduce Dmitry Chestnykh
2024-05-07 7:14 ` Thomas Petazzoni via buildroot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.