Skip to contentSkip to conversation

configs/qemu_loongarch64: new defconfig

PATCH Superseded Waldemar Brodkorb 2 participants 2 messages May 14, 2024

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 3/3 configs/qemu_loongarch64: new defconfig

---
 .../patches/linux-headers/linux-headers.hash  |  2 ++
 .../qemu/loongarch64/patches/linux/linux.hash |  2 ++
 configs/qemu_loongarch64_defconfig            | 27 +++++++++++++++++++
 3 files changed, 31 insertions(+)
 create mode 100644 board/qemu/loongarch64/patches/linux-headers/linux-headers.hash
 create mode 100644 board/qemu/loongarch64/patches/linux/linux.hash
 create mode 100644 configs/qemu_loongarch64_defconfig
board/qemu/loongarch64/patches/linux-headers/linux-headers.hash new file +2 -0
new file mode 100644
index 0000000000..f3d9c1186a
@@ -0,0 +1,2 @@
+# From https://cdn.kernel.org/pub/linux/kernel/v6.x/sha256sums.asc
+sha256  b66a5b863b0f8669448b74ca83bd641a856f164b29956e539bbcb5fdeeab9cc6  linux-6.6.30.tar.xz
board/qemu/loongarch64/patches/linux/linux.hash new file +2 -0
new file mode 100644
index 0000000000..f3d9c1186a
@@ -0,0 +1,2 @@
+# From https://cdn.kernel.org/pub/linux/kernel/v6.x/sha256sums.asc
+sha256  b66a5b863b0f8669448b74ca83bd641a856f164b29956e539bbcb5fdeeab9cc6  linux-6.6.30.tar.xz
configs/qemu_loongarch64_defconfig new file +27 -0
new file mode 100644
index 0000000000..025e9907e2
@@ -0,0 +1,27 @@
+# Architecture
+BR2_loongarch64=y
+
+# Filesystem
+# BR2_TARGET_ROOTFS_TAR is not set
+BR2_TARGET_ROOTFS_INITRAMFS=y
+
+# 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_CUSTOM_6_6=y
+
+# Kernel
+BR2_LINUX_KERNEL=y
+BR2_LINUX_KERNEL_CUSTOM_VERSION=y
+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.6.30"
+BR2_LINUX_KERNEL_DEFCONFIG="loongson3"
+BR2_LINUX_KERNEL_VMLINUX_EFI=y
+
+# Disable network scripts
+# BR2_PACKAGE_IFUPDOWN_SCRIPTS is not set
+
+# host-qemu for gitlab testing
+BR2_PACKAGE_HOST_QEMU=y
+BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y
Signature · 6 lines
2.30.2

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

Hello,

Quoted 6 lines · On Tue, 14 May 2024 08:27:54 +0200 Waldemar Brodkorb <[email protected]> wrote:
---
 .../patches/linux-headers/linux-headers.hash  |  2 ++
 .../qemu/loongarch64/patches/linux/linux.hash |  2 ++
 configs/qemu_loongarch64_defconfig            | 27 +++++++++++++++++++
 3 files changed, 31 insertions(+)

This needs a readme.txt in board/qemu/, with the proper formatting so that our CI testing can pick up the qemu command line (see other qemu readme.txt).

This also needs a DEVELOPERS entry added.

Thanks!

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