me
/
guix
Archived
1
0
Fork 0
Commit Graph

11 Commits (ae36d514aa011dd9635c9a3817dcb6b0e000be27)

Author SHA1 Message Date
Tobias Geerinckx-Rice e701f67246
gnu: linux-libre: Consistently provide the drop_monitor module.
This is needed by, e.g., <https://github.com/nhorman/dropwatch>.
Build it as a module everywhere for consistency.

* gnu/packages/aux-files/linux-libre/4.14-i686.conf:
Set CONFIG_NET_DROP_MONITOR=m.
* gnu/packages/aux-files/linux-libre/4.14-x86_64.conf: Likewise.
* gnu/packages/aux-files/linux-libre/4.19-i686.conf: Likewise.
* gnu/packages/aux-files/linux-libre/4.19-x86_64.conf: Likewise.
* gnu/packages/aux-files/linux-libre/5.10-arm.conf: Likewise.
* gnu/packages/aux-files/linux-libre/5.10-arm64.conf: Likewise.
* gnu/packages/aux-files/linux-libre/5.10-i686.conf: Likewise.
* gnu/packages/aux-files/linux-libre/5.10-x86_64.conf: Likewise.
* gnu/packages/aux-files/linux-libre/5.15-arm.conf: Likewise.
* gnu/packages/aux-files/linux-libre/5.15-arm64.conf: Likewise.
* gnu/packages/aux-files/linux-libre/5.15-i686.conf: Likewise.
* gnu/packages/aux-files/linux-libre/5.15-x86_64.conf: Likewise.
* gnu/packages/aux-files/linux-libre/5.4-arm.conf: Likewise.
* gnu/packages/aux-files/linux-libre/5.4-arm64.conf: Likewise.
* gnu/packages/aux-files/linux-libre/5.4-i686.conf: Likewise.
* gnu/packages/aux-files/linux-libre/5.4-x86_64.conf: Likewise.
* gnu/packages/aux-files/linux-libre/6.1-arm.conf: Likewise.
* gnu/packages/aux-files/linux-libre/6.1-arm64.conf: Likewise.
* gnu/packages/aux-files/linux-libre/6.1-i686.conf: Likewise.
* gnu/packages/aux-files/linux-libre/6.1-x86_64.conf: Likewise.

Reported by mirai in #guix.
2023-02-19 01:00:01 +01:00
Tobias Geerinckx-Rice 017f1779e9
gnu: linux-libre: Disable unprivileged BPF by default.
* gnu/packages/aux-files/linux-libre/5.15-arm.conf:
Set CONFIG_BPF_UNPRIV_DEFAULT_OFF=y.
* gnu/packages/aux-files/linux-libre/5.15-arm64.conf: Likewise.
* gnu/packages/aux-files/linux-libre/5.15-i686.conf: Likewise.
* gnu/packages/aux-files/linux-libre/5.15-x86_64.conf: Likewise.
* gnu/packages/aux-files/linux-libre/6.1-arm.conf: Likewise.
* gnu/packages/aux-files/linux-libre/6.1-arm64.conf: Likewise.
* gnu/packages/aux-files/linux-libre/6.1-i686.conf: Likewise.
* gnu/packages/aux-files/linux-libre/6.1-x86_64.conf: Likewise.
2023-02-12 01:00:00 +01:00
Tobias Geerinckx-Rice f73af2f88e
gnu: linux-libre: Enable UTF-8 normalization and casefolding.
Without this it is apparently impossible to mount file systems with the
feature, which apparently some distributions do by default now.

  podiki[m]> I have an sdcard that was formatted with ext4 casefold
             [by Arch Linux], cannot be mounted

* gnu/packages/aux-files/linux-libre/5.10-arm.conf,
gnu/packages/aux-files/linux-libre/5.10-arm64.conf,
gnu/packages/aux-files/linux-libre/5.10-i686.conf,
gnu/packages/aux-files/linux-libre/5.10-x86_64.conf,
gnu/packages/aux-files/linux-libre/5.15-arm.conf,
gnu/packages/aux-files/linux-libre/5.15-arm64.conf,
gnu/packages/aux-files/linux-libre/5.15-i686.conf,
gnu/packages/aux-files/linux-libre/5.15-x86_64.conf,
gnu/packages/aux-files/linux-libre/5.16-arm.conf,
gnu/packages/aux-files/linux-libre/5.16-arm64.conf,
gnu/packages/aux-files/linux-libre/5.16-i686.conf,
gnu/packages/aux-files/linux-libre/5.16-x86_64.conf,
gnu/packages/aux-files/linux-libre/5.4-arm.conf,
gnu/packages/aux-files/linux-libre/5.4-arm64.conf,
gnu/packages/aux-files/linux-libre/5.4-i686.conf,
gnu/packages/aux-files/linux-libre/5.4-x86_64.conf:
Set CONFIG_UNICODE=y.
2022-03-13 01:00:00 +01:00
Leo Famulari fd6cfbc05a
Revert kernel modules changes to support the Coreboot framebuffer
These changes broke the creation of the 'linux-modules-database' for all kernel
series besides 5.15, 5.4, and 5.10, like this:

------
gnu/build/linux-modules.scm:257:5: kernel module not found "framebuffer_coreboot" "/gnu/store/yff45fr6q93mw44zdql9ffr95zcvwxcn-linux-libre-4.9.299/lib/modules"
------

We should support the coreboot framebuffer, but we need to test that change more
completely before deploying it.

This effectively reverts the following commits:
1dfe8c3721 "gnu: linux-libre: Build simplefb into all x86{,_64} kernels."
bc09e7ab56 "gnu: linux-libre: Support the Coreboot framebuffer."

Fixes <https://issues.guix.gnu.org/52667> "System reconfiguration fails to build
linux-modules.drv".
2022-02-09 01:38:51 -05:00
Maxim Cournoyer d5b4ca4445
gnu: linux-libre: Build the snd-emu10k1 kernel module.
Add the CONFIG_SND_EMU10K1=m and CONFIG_SND_EMU10K1_SEQ=m kernel options to
all of our x86 and ARM configurations.  The change automated via:

$ git grep -rl CONFIG_SND_INDIGODJX | xargs grep -rL CONFIG_SND_EMU10K1=m \
    | xargs sed '/CONFIG_SND_INDIGODJX=m/a\
CONFIG_SND_EMU10K1=m\nCONFIG_SND_EMU10K1_SEQ=m' -i
2022-02-07 16:22:37 -05:00
Maxim Cournoyer 6f80093b33
gnu: linux-libre: Enable CONFIG_ZONE_DMA in all configs.
ZONE_DMA is still used by some kernel drivers such as older sound and network
cards; it was already enabled on ARM and for some i686 kernels.  Enable it
everywhere for consistency.  The change was automated with:

  $ git grep -rl CONFIG_ZONE_DMA | \
      xargs sed 's/# CONFIG_ZONE_DMA is not set/CONFIG_ZONE_DMA=y/' -i

* gnu/packages/aux-files/linux-libre/4.14-x86_64.conf: Enable CONFIG_ZONE_DMA.
* gnu/packages/aux-files/linux-libre/4.19-x86_64.conf: Likewise.
* gnu/packages/aux-files/linux-libre/4.4-x86_64.conf: Likewise.
* gnu/packages/aux-files/linux-libre/4.9-x86_64.conf: Likewise.
* gnu/packages/aux-files/linux-libre/5.10-i686.conf: Likewise.
* gnu/packages/aux-files/linux-libre/5.10-x86_64.conf: Likewise.
* gnu/packages/aux-files/linux-libre/5.15-i686.conf: Likewise.
* gnu/packages/aux-files/linux-libre/5.15-x86_64.conf: Likewise.
* gnu/packages/aux-files/linux-libre/5.16-i686.conf: Likewise.
* gnu/packages/aux-files/linux-libre/5.16-x86_64.conf: Likewise.
* gnu/packages/aux-files/linux-libre/5.4-x86_64.conf: Likewise.
2022-02-07 16:22:37 -05:00
Leo Famulari dbcf9a06c1
gnu: linux-libre: Include pinctrl driver for Cherryview / Braswell hardware.
Fixes <https://issues.guix.gnu.org/53329>, "Integrated keyboard doesn't work
(Lenovo N22)". Reported by Jack Ridehalgh <jack@ridehalgh.uk>.

* gnu/packages/aux-files/linux-libre/5.15-i686.conf,
gnu/packages/aux-files/linux-libre/5.15-x86_64.conf: Set
CONFIG_PINCTRL_CHERRYVIEW=y.
2022-01-18 20:02:22 -05:00
Leo Famulari 82d5c540b0
gnu: Fix typo in kernel configs.
This option defaults to "N", so this fix does not change the effective
kernel configuration.

* gnu/packages/aux-files/linux-libre/5.15-i686.conf,
nu/packages/aux-files/linux-libre/5.15-x86_64.conf: Replace "unset" with "not
set".
2022-01-11 15:47:42 -05:00
Tobias Geerinckx-Rice 1dfe8c3721
gnu: linux-libre: Build simplefb into all x86{,_64} kernels.
This attempts to mitigate <https://issues.guix.gnu.org/52667>.

It makes linux-libre@5.15 consistent with older versions which do not
support a modular simplefb, allowing a single %base-initrd-modules
simple list for all of them.

Unlike CONFIG_FB_SIMPLE=m, CONFIG_FB_SIMPLE=y conflicts with
CONFIG_DRM_SIMPLEDRM, so the latter is now disabled.  Let us hope it is
not missed.

* gnu/packages/aux-files/linux-libre/5.15-i686.conf,
gnu/packages/aux-files/linux-libre/5.15-x86_64.conf:
Unset CONFIG_DRM_SIMPLEDRM to build in CONFIG_FB_SIMPLE=y.
* gnu/system/linux-initrd.scm (default-initrd-modules):
Remove "simplefb".
2021-12-25 07:20:00 +01:00
Tobias Geerinckx-Rice via Guix-patches via bc09e7ab56
gnu: linux-libre: Support the Coreboot framebuffer.
Without this, the kernel cannot write to the display until the
full-featured driver module (often i915) is loaded from the root file
system.

If the root file system is encrypted, the initrd's passphrase prompt
won't make it to the screen, and the fully responsive system will appear
frozen whilst waiting for user input.

* gnu/packages/aux-files/linux-libre/4.4-i686.conf,
gnu/packages/aux-files/linux-libre/4.4-x86_64.conf,
gnu/packages/aux-files/linux-libre/4.14-i686.conf,
gnu/packages/aux-files/linux-libre/4.14-x86_64.conf,
gnu/packages/aux-files/linux-libre/4.19-i686.conf,
gnu/packages/aux-files/linux-libre/4.19-x86_64.conf,
gnu/packages/aux-files/linux-libre/5.4-i686.conf,
gnu/packages/aux-files/linux-libre/5.4-x86_64.conf,
gnu/packages/aux-files/linux-libre/5.10-i686.conf,
gnu/packages/aux-files/linux-libre/5.10-x86_64.conf,
gnu/packages/aux-files/linux-libre/5.15-i686.conf,
gnu/packages/aux-files/linux-libre/5.15-x86_64.conf:
Mark simple framebuffers as generic system ones and enable ‘Google’
firmware drivers to enable Coreboot table support and its dependent
framebuffer driver module.
* gnu/system/linux-initrd.scm (default-initrd-modules):
Add the framebuffer_coreboot and simplefb modules on x86 systems.
2021-12-16 12:53:52 -05:00
Leo Famulari 14f6c21077
gnu: Add linux-libre 5.15.5.
* gnu/packages/linux.scm (linux-libre-5.15-version,
linux-libre-5.15-gnu-revision, deblob-scripts-5.15,
linux-libre-5.15-pristine-source, linux-libre-5.15-source,
linux-libre-headers-5.15, linux-libre-5.15): New variables.
* gnu/packages/aux-files/linux-libre/5.15-arm.conf,
gnu/packages/aux-files/linux-libre/5.15-arm64.conf,
gnu/packages/aux-files/linux-libre/5.15-i686.conf,
gnu/packages/aux-files/linux-libre/5.15-x86_64.conf: New files.
* Makefile.am (AUX_FILES): Add them
2021-11-26 16:54:47 -05:00