all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Vagrant Cascadian <vagrant@debian.org>
To: 40190@debbugs.gnu.org
Cc: Mark H Weaver <mhw@netris.org>
Subject: [bug#40190] Linux-Libre 5.5.x
Date: Mon, 30 Mar 2020 10:32:18 -0700	[thread overview]
Message-ID: <87mu7xg34t.fsf@ponder> (raw)
In-Reply-To: <87mu87btng.fsf@yucca>


[-- Attachment #1.1: Type: text/plain, Size: 1478 bytes --]

On 2020-03-22, Vagrant Cascadian wrote:
> On 2020-03-22, Vagrant Cascadian wrote:
>> On 2020-03-19, Vagrant Cascadian wrote:
>>> So far, I haven't had time to test and update linux-libre 5.5 with the
>>> kernel configs and so on, so I've been working on a
>>> linux-libre-arm64-generic package that uses the defconfig (much like
>>> linux-libre-arm-generic) and linux-libre 5.5.x.
>>
>> I was able to test linux-libre 5.5.10 on x86_64 by copying the 5.4
>> kernel config over to 5.5 and building, and it seemed to work fine.

I was advised to regenerate the kernel configs using "make oldconfig",
but there was nothing obvious *to me* to change, and I ended up hitting
enter the whole way through... so leaving with these for now.


>> I also did a build of linux-libre-arm-generic using 5.5.10, and it
>> seemed to work fine as well.
>>
>> It also occurs to me that it would be nice to get a newer kernel into
>> the upcoming release, unless there's a reason not to...
>
> Updated patch series, which also includes updating the default
> linux-libre to 5.5.

The pinebook pro portions have already been merged for 5.4.x, and still
apply to 5.5.x.

Attached is the first patch of an updated series for linux-libre 5.5.13,
following up with a second patch to actually switch the default to
5.5.x.  Boot tested on x86_64.

I'm tempted to at least merge the first patch and create a
linux-libre-arm64-generic-5.5 package until it switches to the
default...


live well,
  vagrant


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.2: 0001-gnu-Add-linux-libre-5.5.patch --]
[-- Type: text/x-diff, Size: 3803 bytes --]

From 5f846e37c42ad827e5ef40f3eb7139dc054db5da Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@debian.org>
Date: Sat, 14 Mar 2020 18:54:50 -0700
Subject: [PATCH 1/2] gnu: Add linux-libre 5.5.

* gnu/packages/linux (deblob-scripts-5.5): New variable.
  (linux-libre-5.5-version): New variable.
  (linux-libre-5.5-pristine-source): New variable.
  (linux-libre-5.5-source): New variable.
  (linux-libre-headers-5.5): New variable.
  (linux-libre-5.5): New variable.
---
 gnu/packages/linux.scm | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 701df764cd..6b406f8dc5 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -192,6 +192,12 @@ defconfig.  Return the appropriate make target if applicable, otherwise return
                               "deblob-check"))
           (sha256 deblob-check-hash))))
 
+(define deblob-scripts-5.5
+  (linux-libre-deblob-scripts
+   "5.5.13"
+   (base32 "1vj3rnrbkhj86lkabhrcm8qiqcz1lqi0lk54ysmg3lanf2vqgvab")
+   (base32 "1r87n60a1ksajqvkra55w4fa2iwsbhys3id8z2j179429pm0ybwn")))
+
 (define deblob-scripts-5.4
   (linux-libre-deblob-scripts
    "5.4.28"
@@ -362,6 +368,14 @@ corresponding UPSTREAM-SOURCE (an origin), using the given DEBLOB-SCRIPTS."
                         "linux-" version ".tar.xz"))
     (sha256 hash)))
 
+(define-public linux-libre-5.5-version "5.5.13")
+(define-public linux-libre-5.5-pristine-source
+  (let ((version linux-libre-5.5-version)
+        (hash (base32 "1qjf18qywzrfdzwpgpf6m0w0bil8rbc9hby8473ckzvbl0a3cfqz")))
+   (make-linux-libre-source version
+                            (%upstream-linux-source version hash)
+                            deblob-scripts-5.5)))
+
 (define-public linux-libre-5.4-version "5.4.28")
 (define-public linux-libre-5.4-pristine-source
   (let ((version linux-libre-5.4-version)
@@ -430,6 +444,15 @@ corresponding UPSTREAM-SOURCE (an origin), using the given DEBLOB-SCRIPTS."
     (patches (append (origin-patches source)
                      patches))))
 
+(define-public linux-libre-5.5-source
+  (source-with-patches linux-libre-5.5-pristine-source
+                       (list %boot-logo-patch
+                             %linux-libre-arm-export-__sync_icache_dcache-patch
+                             ;; Pinebook Pro patch from linux-next,
+                             ;; can be dropped for linux-libre 5.7
+                             (search-patch
+                              "linux-libre-support-for-Pinebook-Pro.patch"))))
+
 (define-public linux-libre-5.4-source
   (source-with-patches linux-libre-5.4-pristine-source
                        (list %boot-logo-patch
@@ -529,6 +552,10 @@ corresponding UPSTREAM-SOURCE (an origin), using the given DEBLOB-SCRIPTS."
     (description "Headers of the Linux-Libre kernel.")
     (license license:gpl2)))
 
+(define-public linux-libre-headers-5.5
+  (make-linux-libre-headers* linux-libre-5.5-version
+                             linux-libre-5.5-source))
+
 (define-public linux-libre-headers-5.4
   (make-linux-libre-headers* linux-libre-5.4-version
                              linux-libre-5.4-source))
@@ -793,6 +820,12 @@ It has been modified to remove all non-free binary blobs.")
 ;;; Generic kernel packages.
 ;;;
 
+(define-public linux-libre-5.5
+  (make-linux-libre* linux-libre-5.5-version
+                     linux-libre-5.5-source
+		     '("x86_64-linux" "i686-linux" "armhf-linux" "aarch64-linux" "riscv64-linux")
+                     #:configuration-file kernel-config))
+
 (define-public linux-libre-5.4
   (make-linux-libre* linux-libre-5.4-version
                      linux-libre-5.4-source
-- 
2.20.1


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]

  reply	other threads:[~2020-03-30 17:33 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-19 19:14 RFC: Linux-Libre 5.5.x on pinebook pro Vagrant Cascadian
2020-03-19 19:25 ` Vincent Legoll
2020-03-20  4:35   ` Vagrant Cascadian
2020-03-22 13:21 ` RFC: Linux-Libre 5.5.x Vagrant Cascadian
2020-03-23  4:08   ` Vagrant Cascadian
2020-03-23  4:08     ` [bug#40190] " Vagrant Cascadian
2020-03-30 17:32     ` Vagrant Cascadian [this message]
2020-03-30 17:34       ` Vagrant Cascadian
2020-03-31  0:10         ` [bug#40190] Linux-Libre 5.6 Vagrant Cascadian
2020-03-31 14:30           ` Marius Bakke
2020-03-31 17:44             ` Vagrant Cascadian
2020-03-31 18:35               ` Guillaume Le Vaillant
2020-04-03 23:28               ` Vagrant Cascadian
2020-04-03 23:29                 ` Vagrant Cascadian
2020-04-16 19:37                   ` Vagrant Cascadian
2020-04-17 19:26                     ` Mark H Weaver
2020-06-08 20:46                       ` [bug#40190] Linux-Libre 5.7 Vagrant Cascadian
2020-06-08 20:52                         ` Vagrant Cascadian
2020-06-09  2:43                       ` [bug#40190] Linux-Libre 5.6 Leo Famulari
2020-04-06  4:12     ` [bug#40190] Works for me Brendan Tildesley
2020-04-06 10:38       ` [bug#40190] v4l2loopback module builds with 5.4 but not 5.6 Brendan Tildesley
2020-04-06 10:46         ` Danny Milosavljevic
2020-04-06 11:01         ` Tobias Geerinckx-Rice via Guix-patches via
2020-08-05 21:29     ` bug#40190: Linux-Libre 5.5.x Leo Famulari

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=87mu7xg34t.fsf@ponder \
    --to=vagrant@debian.org \
    --cc=40190@debbugs.gnu.org \
    --cc=mhw@netris.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.
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.