all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Ludovic Courtès" <ludo@gnu.org>
To: 72964@debbugs.gnu.org
Cc: "Ludovic Courtès" <ludo@gnu.org>,
	"Leo Famulari" <leo@famulari.name>, "Wilko Meyer" <w@wmeyer.eu>
Subject: [bug#72964] [PATCH] gnu: linux-libre: Add ‘linux-libre-arm64-honeycomb’.
Date: Mon,  2 Sep 2024 14:11:37 +0200	[thread overview]
Message-ID: <d58012c0ae34e5f642f60fbf25df6c613787d361.1725273008.git.ludo@gnu.org> (raw)

Package definition taken from guix/maintenance.git commit
0dc194cc85f8f0ef8cfcde29b9610ade7138beff, written by
Ricardo Wurmus <rekado@elephly.net>.

* gnu/packages/linux.scm (linux-libre-arm64-honeycomb): New variable.

Change-Id: Ieb8503424a19c1c32a3ecac829c3d5d2a47b458e
---
 gnu/packages/linux.scm | 60 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 60 insertions(+)

Hello,

This definition comes from the (sysadmin honeycomb) module in
maintenance.git.  I’m moving it here for convenience so that it gets
built by CI and we don’t have to build it on demand when deploying
Guix System on the Honeycombs.

Ludo’.

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 318c6ccf13..f583ae0b7a 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -1371,6 +1371,66 @@ (define-public linux-libre-arm64-generic-5.4
                         ("CONFIG_RTC_DRV_RK808" . #t))
                       (default-extra-linux-options linux-libre-5.4-version))))
 
+(define-public linux-libre-arm64-honeycomb
+  ;; Kernel for use on the HoneyComb LX2 boards:
+  ;; <https://shop.solid-run.com/product/SRCFTXE000IV13/>.
+  (make-linux-libre* linux-libre-5.15-version
+                     linux-libre-5.15-gnu-revision
+                     linux-libre-5.15-source
+                     '("aarch64-linux")
+                     #:extra-version "arm64-honeycomb"
+                     #:extra-options
+                     ;; See
+                     ;; https://github.com/SolidRun/lx2160a_build/blob/master/configs/linux/lx2k_additions.config
+                     (append
+                      `(("CONFIG_GPIO_SYSFS" . #true)
+                        ("CONFIG_GPIO_MPC8XXX" . #true)
+                        ("CONFIG_NET_PKTGEN" . #true)
+                        ("CONFIG_USB_SERIAL" . #true)
+                        ("CONFIG_USB_SERIAL_CONSOLE" . #true)
+                        ("CONFIG_USB_SERIAL_GENERIC" . #true)
+                        ("CONFIG_USB_SERIAL_SIMPLE" . #true)
+                        ("CONFIG_USB_SERIAL_FTDI_SIO" . #true)
+                        ("CONFIG_USB_ACM" . #true)
+                        ("CONFIG_USB_NET_DRIVERS" . #true)
+                        ("CONFIG_USB_USBNET" . #true)
+                        ("CONFIG_USB_NET_CDCETHER" . #true)
+                        ("CONFIG_USB_NET_CDC_NCM" . #true)
+                        ("CONFIG_USB_NET_NET1080" . #true)
+                        ("CONFIG_USB_NET_CDC_SUBSET_ENABLE" . #true)
+                        ("CONFIG_USB_NET_CDC_SUBSET" . #true)
+                        ("CONFIG_USB_ARMLINUX" . #true)
+                        ("CONFIG_BLK_DEV_NVME" . #true)
+                        ("CONFIG_NVMEM_BCM_OCOTP" . #true)
+                        ("CONFIG_DRM_AMDGPU" . #true)
+                        ("CONFIG_DRM_AMDGPU_SI" . #true)
+                        ("CONFIG_DRM_AMDGPU_CIK" . #true)
+                        ("CONFIG_DRM_AMDGPU_USERPTR" . #true)
+                        ("CONFIG_DRM_AMD_DC" . #true)
+                        ("CONFIG_CHASH" . #true)
+                        ("CONFIG_PMBUS" . #true)
+                        ("CONFIG_SENSORS_PMBUS" . #true)
+                        ("CONFIG_REGULATOR" . #true)
+                        ("CONFIG_REGULATOR_FIXED_VOLTAGE" . #true)
+                        ("CONFIG_REGULATOR_PWM" . #true)
+                        ("CONFIG_SENSORS_AMC6821" . #true)
+                        ("CONFIG_SENSORS_LM90" . #true)
+                        ("CONFIG_SENSORS_LTC2978" . #true)
+                        ("CONFIG_SENSORS_LTC2978_REGULATOR" . #true)
+                        ("CONFIG_TMPFS" . #true)
+                        ("CONFIG_TMPFS_POSIX_ACL" . #true)
+                        ("CONFIG_TMPFS_XATTR" . #true)
+                        ;;("CONFIG_BLK_DEV_RAM_SIZE" . 524288)
+                        ("CONFIG_POWER_RESET_GPIO" . #true)
+                        ("CONFIG_CRYPTO_USER_API_HASH" . #true)
+                        ("CONFIG_CRYPTO_USER_API_SKCIPHER" . #true)
+                        ("CONFIG_CRYPTO_USER_API_RNG" . #true)
+                        ("CONFIG_CRYPTO_USER_API_AEAD" . #true)
+
+                        ;; For connecting to ci.guix.gnu.org over VPN.
+                        ("CONFIG_WIREGUARD" . m))
+                      (default-extra-linux-options linux-libre-5.15-version))))
+
 (define-public linux-libre-riscv64-generic
   (make-linux-libre* linux-libre-version
                      linux-libre-gnu-revision

base-commit: 3c21d0da62b3d6832dd1ab450d8ab50ab8d38f27
-- 
2.45.2





             reply	other threads:[~2024-09-02 12:12 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-02 12:11 Ludovic Courtès [this message]
2024-09-21  9:41 ` [bug#72964] [PATCH] gnu: linux-libre: Add ‘linux-libre-arm64-honeycomb’ Christopher Baines
2024-09-27 14:13   ` Wilko Meyer
2024-10-01 15:30     ` Ludovic Courtès

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=d58012c0ae34e5f642f60fbf25df6c613787d361.1725273008.git.ludo@gnu.org \
    --to=ludo@gnu.org \
    --cc=72964@debbugs.gnu.org \
    --cc=leo@famulari.name \
    --cc=w@wmeyer.eu \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

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.