unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Support for Raspberry Pi including some generic changes
@ 2021-05-09 16:32 Stefan
  0 siblings, 0 replies; only message in thread
From: Stefan @ 2021-05-09 16:32 UTC (permalink / raw)
  To: guix-devel

Hi!

I just sent a patch series¹ to add support for the Raspberry Pi. It consists of ten patches, however some of them are generic.

I’m writing to this list to gain some attention for this patch series, and also to point out some generic changes, which might be of interest for several people or may require some broader discussion.

There is a patch introducing a new function (modify-linux). It allows to modify a given Linux package on the base of some defconfig file with a list of configuration strings.

The defconfig base is either an own file-like object, a file name from the Linux sources, or generated from the given Linux package. In this last case the configuration of the given Linux package is used to save a temporary defconfig file, to which the configuration changes will then be done.

This can look like this (untested):

(operating-system
  (kernel (modify-linux #:linux linux-libre ;; This is the default
                        #:extra-version "net"
                        #:defconfig "x86_64_defconfig"
                        #:configs '("# CONFIG_LOCALVERSION is not set"
                                    "CONFIG_NFS_SWAP=y"
                                    "CONFIG_E1000=y")))
  …)

Another patch provides the bootloader grub-efi-netboot-removable-bootloader, which – although originally intended for netbooting – can also be used to install a Guix System on a USB stick to carry around.


Bye

Stefan


¹ <https://debbugs.gnu.org/cgi/bugreport.cgi?bug=48314>

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-05-09 16:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-09 16:32 Support for Raspberry Pi including some generic changes Stefan

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).