All of lore.kernel.org
 help / color / mirror / Atom feed
From: Waldemar Brodkorb <wbx@openadk.org>
To: buildroot@buildroot.org
Subject: [Buildroot] [PATCH 3/3] configs/qemu_loongarch64: new defconfig
Date: Tue, 14 May 2024 08:27:54 +0200	[thread overview]
Message-ID: <ZkMEagMTXYIsMqtu@waldemar-brodkorb.de> (raw)

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
---
 .../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

diff --git a/board/qemu/loongarch64/patches/linux-headers/linux-headers.hash b/board/qemu/loongarch64/patches/linux-headers/linux-headers.hash
new file mode 100644
index 0000000000..f3d9c1186a
--- /dev/null
+++ b/board/qemu/loongarch64/patches/linux-headers/linux-headers.hash
@@ -0,0 +1,2 @@
+# From https://cdn.kernel.org/pub/linux/kernel/v6.x/sha256sums.asc
+sha256  b66a5b863b0f8669448b74ca83bd641a856f164b29956e539bbcb5fdeeab9cc6  linux-6.6.30.tar.xz
diff --git a/board/qemu/loongarch64/patches/linux/linux.hash b/board/qemu/loongarch64/patches/linux/linux.hash
new file mode 100644
index 0000000000..f3d9c1186a
--- /dev/null
+++ b/board/qemu/loongarch64/patches/linux/linux.hash
@@ -0,0 +1,2 @@
+# From https://cdn.kernel.org/pub/linux/kernel/v6.x/sha256sums.asc
+sha256  b66a5b863b0f8669448b74ca83bd641a856f164b29956e539bbcb5fdeeab9cc6  linux-6.6.30.tar.xz
diff --git a/configs/qemu_loongarch64_defconfig b/configs/qemu_loongarch64_defconfig
new file mode 100644
index 0000000000..025e9907e2
--- /dev/null
+++ b/configs/qemu_loongarch64_defconfig
@@ -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
-- 
2.30.2

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

             reply	other threads:[~2024-05-14  6:28 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-14  6:27 Waldemar Brodkorb [this message]
2024-05-14  7:59 ` [Buildroot] [PATCH 3/3] configs/qemu_loongarch64: new defconfig Thomas Petazzoni via buildroot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ZkMEagMTXYIsMqtu@waldemar-brodkorb.de \
    --to=wbx@openadk.org \
    --cc=buildroot@buildroot.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.