GNU bug report logs - #72964
[PATCH] gnu: linux-libre: Add ‘linux-libre-arm64-honeycomb’.

Previous Next

Package: guix-patches;

Reported by: Ludovic Courtès <ludo <at> gnu.org>

Date: Mon, 2 Sep 2024 12:13:02 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 72964 in the body.
You can then email your comments to 72964 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to leo <at> famulari.name, w <at> wmeyer.eu, guix-patches <at> gnu.org:
bug#72964; Package guix-patches. (Mon, 02 Sep 2024 12:13:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Ludovic Courtès <ludo <at> gnu.org>:
New bug report received and forwarded. Copy sent to leo <at> famulari.name, w <at> wmeyer.eu, guix-patches <at> gnu.org. (Mon, 02 Sep 2024 12:13:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: guix-patches <at> gnu.org
Cc: Ludovic Courtès <ludo <at> gnu.org>
Subject: [PATCH] gnu: linux-libre: Add ‘linux-libre-arm64-honeycomb’.
Date: Mon,  2 Sep 2024 14:11:37 +0200
Package definition taken from guix/maintenance.git commit
0dc194cc85f8f0ef8cfcde29b9610ade7138beff, written by
Ricardo Wurmus <rekado <at> 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





Information forwarded to guix-patches <at> gnu.org:
bug#72964; Package guix-patches. (Sat, 21 Sep 2024 09:43:01 GMT) Full text and rfc822 format available.

Message #8 received at 72964 <at> debbugs.gnu.org (full text, mbox):

From: Christopher Baines <mail <at> cbaines.net>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: Wilko Meyer <w <at> wmeyer.eu>, 72964 <at> debbugs.gnu.org,
 Leo Famulari <leo <at> famulari.name>
Subject: Re: [bug#72964] [PATCH] gnu: linux-libre: Add
 ‘linux-libre-arm64-honeycomb’.
Date: Sat, 21 Sep 2024 10:41:38 +0100
[Message part 1 (text/plain, inline)]
Ludovic Courtès <ludo <at> gnu.org> writes:

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

I don't think that's the right commit? I think originally I hacked this
together for hatysa and it was posted to guix-sysadmin on 02/07/21 in
the "Re: what to buy for Honeycomb LX2 boards?" thread.

Is it possible to enable some of these modules in the regular kernel
packages?
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#72964; Package guix-patches. (Fri, 27 Sep 2024 14:26:02 GMT) Full text and rfc822 format available.

Message #11 received at 72964 <at> debbugs.gnu.org (full text, mbox):

From: Wilko Meyer <w <at> wmeyer.eu>
To: Christopher Baines <mail <at> cbaines.net>
Cc: Wilko Meyer <w <at> wmeyer.eu>, Ludovic Courtès <ludo <at> gnu.org>,
 72964 <at> debbugs.gnu.org, Leo Famulari <leo <at> famulari.name>
Subject: Re: [bug#72964] [PATCH] gnu: linux-libre: Add
 ‘linux-libre-arm64-honeycomb’.
Date: Fri, 27 Sep 2024 16:13:18 +0200
Christopher Baines <mail <at> cbaines.net> writes:
> Is it possible to enable some of these modules in the regular kernel
> packages?

Definitely, I'll have a look into that and see that we enable as much as
possible in the default config we ship; I think enabling as much
hardware support as we can out of the box seems pretty feasible
here. I'll follow up on this thread as soon as I found the time to look
into it.

-- 
Kind regards,
Wilko Meyer




Information forwarded to guix-patches <at> gnu.org:
bug#72964; Package guix-patches. (Tue, 01 Oct 2024 15:31:01 GMT) Full text and rfc822 format available.

Message #14 received at 72964 <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Wilko Meyer <w <at> wmeyer.eu>
Cc: Christopher Baines <mail <at> cbaines.net>, 72964 <at> debbugs.gnu.org,
 Leo Famulari <leo <at> famulari.name>
Subject: Re: [bug#72964] [PATCH] gnu: linux-libre: Add
 ‘linux-libre-arm64-honeycomb’.
Date: Tue, 01 Oct 2024 17:30:30 +0200
Hello,

Wilko Meyer <w <at> wmeyer.eu> skribis:

> Christopher Baines <mail <at> cbaines.net> writes:
>> Is it possible to enable some of these modules in the regular kernel
>> packages?
>
> Definitely, I'll have a look into that and see that we enable as much as
> possible in the default config we ship; I think enabling as much
> hardware support as we can out of the box seems pretty feasible
> here. I'll follow up on this thread as soon as I found the time to look
> into it.

Oh that would be even better, indeed (sorry for not noticing your reply
earlier).

I think creating a new issue would be clearer.

Ludo’.




bug closed, send any further explanations to 72964 <at> debbugs.gnu.org and Ludovic Courtès <ludo <at> gnu.org> Request was from Ludovic Courtès <ludo <at> gnu.org> to control <at> debbugs.gnu.org. (Wed, 04 Dec 2024 18:47:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 02 Jan 2025 12:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 168 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.