Efraim Flashner
3444a78e2e
gnu: ovmf: Deprecate in favor of ovmf-x86-64.
...
* gnu/packages/firmware.scm (ovmf): Deprecate package in favor of
ovmf-x86-64.
Change-Id: I912c2b122f80a7f3fd473b8d91ae6e714b27808f
2024-05-27 10:26:24 +03:00
Efraim Flashner
5013d0286e
gnu: ovmf-riscv64: Update to 202402.
...
* gnu/packages/firmware.scm (ovmf-riscv64): Update to 202402. Build
using make-ovmf-firmware.
Change-Id: I1a7dcaac3975669a61723b929162ad33affa1619
2024-05-27 10:26:24 +03:00
Efraim Flashner
e0caba9cb8
gnu: ovmf-arm: Update to 202402.
...
* gnu/packages/firmware.scm (ovmf-arm): Update to 202402. Build using
make-ovmf-firmware.
Change-Id: I1adf1afc9ceb29db373c2e0d05d42a3c68232cb5
2024-05-27 10:26:23 +03:00
Efraim Flashner
15d4cca1a8
gnu: ovmf-aarch64: Update to 202402.
...
* gnu/packages/firmware.scm (ovmf-aarch64): Update to 202402. Build
using make-ovmf-firmware.
Change-Id: I270bd8fa79f2df3d73bdf8d5685d27a3cc0cef6a
2024-05-27 10:26:23 +03:00
Efraim Flashner
2a45000102
gnu: Add ovmf-i686.
...
* gnu/packages/firmware.scm (ovmf-i686): New variable.
Change-Id: Ie5702435695e24ed1d2731152a89b0aeb9a050dd
2024-05-27 10:26:23 +03:00
Efraim Flashner
d0de3c7602
gnu: Add ovmf-x86-64.
...
* gnu/packages/firmware.scm (make-ovmf-firmware): New procedure.
(ovmf-x86-64): New variable.
Change-Id: I283065577b5507f3b7d695eaa67a6d248174bcf5
2024-05-27 10:26:23 +03:00
Efraim Flashner
e6eadcb136
gnu: edk2-tools: Enable submodules.
...
* gnu/packages/firmware.scm (edk2-tools)[source]: Checkout submodules.
[arguments]: Don't disable building brotli or xz compression.
Change-Id: I8b318373e38767e1a309e9e385f1626429bfbb20
2024-05-27 10:26:23 +03:00
Efraim Flashner
16e52098d1
gnu: edk2-tools: Update to 202402.
...
* gnu/packages/firmware.scm (edk2-tools): Update to 202402.
Change-Id: I3ab7d75a8193faea2b3b3649f9b14bba48611187
2024-05-27 10:26:23 +03:00
Zheng Junjie
800b33786c
gnu: Add opensbi-for-visionfive2.
...
* gnu/packages/firmware.scm (opensbi-for-visionfive2): New variable.
Change-Id: I27963937410a3900a63193ce2a1033ac20a79919
2024-05-22 11:15:30 +08:00
Jean-Pierre De Jesus DIAZ
9f8e92cc7d
gnu: ath9k-htc-firmware: Split package.
...
* gnu/local.mk (dist_patch_DATA): Remove ath9k-htc-firmware-objcopy.patch.
* gnu/packages/firmware.scm (ath9k-htc-firmware): Remove.
(ath9k-htc-ar7010-firmware, ath9k-htc-ar9271-firmware): New variables.
* gnu/packages/patches/ath9k-htc-firmware-objcopy.patch: Delete file.
* gnu/system.scm (%base-firmware): Use new ath9k packages.
Change-Id: I86259e398427abd139c1f310a95bb15e2c03cee3
Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2024-04-17 12:13:02 +02:00
Jean-Pierre De Jesus DIAZ
4c88ffdb65
gnu: cross-binutils: Use binutils-2.33 for ath9k.
...
* gnu/packages/cross-base.scm (cross-binutils-package): New procedure.
* gnu/packages/cross-base.scm (cross-binutils): Select binutils default
value with cross-binutils-package.
* gnu/packages/firmware.scm (ath9k-htc-firmware) <native-inputs>: Do not
explicitly set the #:xbinutils keyword argument.
Change-Id: I0eb25eb2b494241c205286837bfa79a61de8e0b7
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-04-17 12:13:02 +02:00
Jean-Pierre De Jesus DIAZ
f97f5312cc
gnu: ath9k-htc-firmware: Use xtensa-ath9k-elf.
...
* gnu/packages/firmware.scm (ath9k-htc-firmware): Use the
xtensa-ath9k-elf target for the cross toolchain.
Change-Id: Ic1a7c4088312290a86a508f371f4f0e784e301a5
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-04-17 12:13:02 +02:00
Jean-Pierre De Jesus DIAZ
c3aba93823
gnu: ath9k-htc-firmware: Allow using other targets.
...
* gnu/packages/firmware.scm (ath9k-htc-firmware): Override the TARGET
environment variable in the configure script to use xtensa-elf.
* gnu/packages/patches/ath9k-htc-firmware-objcopy.patch: Adapt to use
TARGET environment variable for objcopy.
Change-Id: Ia44f0f25dde532b90168f2f2456412a43ac9af24
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-04-17 12:13:02 +02:00
Jean-Pierre De Jesus DIAZ
af181ac5d1
gnu: ath9k-htc-firmware: Remove binary blobs.
...
* gnu/packages/firmware.scm (ath9k-htc-firmware) <source>: Add snippet
to remove bundled binary files.
Change-Id: I2f0592d03039ff9d5a5f3a79b0c62566164f3762
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-04-17 12:13:02 +02:00
Sergey Trofimov
2e503a5a94
gnu: qmk: Support custom keyboards.
...
* gnu/packages/firmware.scm (make-qmk-firmware/implementation):
Add keyboard-source-directory parameter.
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Change-Id: I68ae5df0b0aae088ca8002dca7e30de2b23e9aa0
2024-03-31 21:25:52 -04:00
Jean-Pierre De Jesus DIAZ
d264237d55
gnu: make-crust-package: Unite firmware and tools.
...
* gnu/packages/firmware.scm (make-crust-package): Perform union of
make-crust-firmware and make-crust-tools.
* gnu/packages/firmware.scm (make-crust-firmware): New procedure.
Change-Id: I687bb6d53aae9bd60ed988baf9d17e92f31faa7b
2024-01-22 11:26:57 +01:00
Jean-Pierre De Jesus DIAZ
938f153784
gnu: Add make-crust-tools.
...
* gnu/packages/firmware.scm (make-crust-tools): New procedure.
Change-Id: Iac05ecf1796e4c10692a423c12423ea9b078d141
2024-01-22 11:26:57 +01:00
Jean-Pierre De Jesus DIAZ
dde246ed41
gnu: make-crust-package: Use or1k-elf as target.
...
* gnu/packages/firmware.scm (make-crust-package): Use or1k-elf as the
target.
Change-Id: I6c8bf053527f1e12e35402f18cebf8e75557c788
2024-01-22 11:26:56 +01:00
Jean-Pierre De Jesus DIAZ
fa0b2cdab3
gnu: make-crust-package: Update to 0.6.
...
* gnu/packages/firmware.scm (make-crust-package): Update to 0.6. Do not
install host tool as it is not built by default.
Change-Id: Ia79ae8208589601d32235f6d8ace9dce3f8d74f9
2024-01-22 11:26:56 +01:00
Jean-Pierre De Jesus DIAZ
e5a00639aa
gnu: make-crust-package: Memoize.
...
* gnu/packages/firmware.scm (make-crust-package): Use mlambda.
Change-Id: I2d916b96bc650f3731a69505e086cf8f8f470809
2024-01-22 11:26:56 +01:00
Jean-Pierre De Jesus DIAZ
ae7da5cbf0
gnu: make-crust-package: Use shorter synopsis.
...
* gnu/packages/firmware.scm (make-crust-package) <synopsis>: Make it
short.
Change-Id: I8b93b25a9a6a75aaa92ffa590d0fd46a5511fd49
2024-01-22 11:26:56 +01:00
Simon South
97296f8239
gnu: fwupd: Depend on libsmbios only on supported systems.
...
* gnu/packages/firmware.scm (fwupd)[inputs]: Add libsmbios conditionally.
Change-Id: Id34135b180f5ee6e7abd2fd4eb10e0d3c6308e06
Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2024-01-12 17:02:36 +01:00
Tomas Volf
a5d5c5b357
gnu: ovmf: Update to 202311.
...
* gnu/packages/firmware.scm (ovmf): Update to 202311.
Change-Id: I32b6d7587b37211b0de6a118024cb4f854ce112d
Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2024-01-07 19:23:00 +01:00
Efraim Flashner
a512bbd23a
gnu: ovmf: Set target to #f.
...
* gnu/packages/firmware.scm (ovmf)[arguments]: Set target to #f.
Change-Id: Iee1b731977f2731277d2e907ee2db2ad85af195f
2023-12-19 16:27:13 +02:00
Efraim Flashner
d542593092
gnu: Add ovmf-riscv64.
...
* gnu/packages/firmware.scm (ovmf-riscv64): New variable.
Change-Id: I483bc4496d7874cc0e9983de36cfc7a90ef7591c
2023-12-19 16:27:13 +02:00
Efraim Flashner
7a7ba2d075
gnu: ovmf: Build with newer gcc.
...
* gnu/packages/firmware.scm (ovmf)[arguments]: Remove 'hide-implicit-gcc
phase.
[native-inputs]: Remove gcc-5.
Change-Id: I2bcaea77019bb69214878713aa57cbef49c473db
2023-12-19 16:27:13 +02:00
spacecadet@purge.sh
edb794bbd4
gnu: ovmf-arm: Update to use GCC5.
...
* gnu/packages/firmware.scm (ovmf-arm): Updating OVMF to 202308 requires
GCC5, packages inheriting from ovmf also need to be updated.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Change-Id: I3a7b3f450e0da39129e7cffce7482b8e391e3858
2023-12-19 16:27:13 +02:00
spacecadet@purge.sh
c67e8c12d8
gnu: ovmf-aarch64: Update to use GCC5.
...
* gnu/packages/firmware.scm (ovmf-aarch64): Updating OVMF to 202308
requires GCC5, packages inheriting from ovmf also need to be updated.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Change-Id: Iccd674f82c2f0160fa8097a09d10154be9736042
2023-12-19 16:27:13 +02:00
spacecadet@purge.sh
1c9908fad5
gnu: ovmf: Add OVMF_CODE and OVMF_VARS files.
...
* gnu/packages/firmware.scm (ovmf)[arguments]: Add OVMF_CODE.fd and
OVMF_VARS.fs to outputs as ovmf_code_arch.bin and ovmf_vars_arch.bin,
respectively, for both ia32 and x64 architectures.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Change-Id: Ie329f3f3515e7d015d9fbad01b8c2b82dc7da76e
2023-12-19 16:27:11 +02:00
spacecadet@purge.sh
57aaaf2903
gnu: ovmf: Update to 202308.
...
* gnu/packages/firmware.scm (ovmf): Update to 202308.
[arguments]: Adjust phases to not hardcode gcc toolchain version.
[native-inputs]: Remove python-2. Add perl, python-3.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Change-Id: I74a7bd26240821aacf35e5020d9687406e7da9ed
2023-12-19 16:26:33 +02:00
Efraim Flashner
0cc7fc0025
gnu: make-crust-package: Don't run from avr.
...
* gnu/packages/firmware.scm (make-crust-package)[arguments]: In
make-flags don't create tools which can be run from avr.
Change-Id: I118b4941889b884de1e491ace3818d878a887d7c
2023-12-12 08:45:46 +02:00
Jean-Pierre De Jesus DIAZ
670c7560d1
gnu: make-qmk-firmware: Use AVR target.
...
* gnu/packages/firmware.scm (qmk)[inputs]: Remove AVR toolchain.
[arguments]: Adjust phase wrapping output.
(make-qmk-firmware/implementation)[arguments]: Add avr as target.
Change-Id: Ibe09f6ef3c555052faf2c5c243303d85675866be
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-12-11 13:37:59 +02:00
Jean-Pierre De Jesus DIAZ
30d25ee201
gnu: make-ergodox-firmware: Use AVR target.
...
* gnu/packages/firmware.scm (make-ergodox-firmware/implementation):
[arguments]: Add avr as target.
[native-inputs]: Remove make-avr-toolchain.
Change-Id: I4345a55d5dbd436d524de4886969b3332c6288a9
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-12-11 13:37:21 +02:00
Efraim Flashner
e82b700228
gnu: b43-tools: Use make-flags.
...
* gnu/packages/firmware.scm (b43-tools)[arguments]: Add make-flags.
Use make-flags in custom 'build and 'install phases. Remove trailing #t
from phases.
Change-Id: I8576351ecd571d191598943a2d143ab3e3e9da09
2023-10-31 22:32:53 +02:00
Zheng Junjie
33f5b747b4
gnu: fcode-utils: Fix cross-compilation.
...
* gnu/packages/firmware.scm (fcode-utils)
[arguments]: use STRIP-FOR-TARGET.
Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2023-10-26 15:21:36 +02:00
Efraim Flashner
faeebdc37e
gnu: make-opensbi-package: Set target to #false.
...
* gnu/packages/firmware.scm (make-opensbi-package)[arguments]: Set
target to #false.
2023-10-22 20:32:27 +03:00
Efraim Flashner
589a165de1
gnu: openfwwf-firmware: Don't build for a specific target.
...
* gnu/packages/firmware.scm (openfwwf-firmware)[arguments]: Set target
to #f since we're building firmware files.
2023-10-19 12:56:24 +03:00
Efraim Flashner
2fd00e1cd1
gnu: ath9k-htc-firmware: Don't build for a specific target.
...
* gnu/packages/firmware.scm (ath9k-htc-firmware)[arguments]: Set target
to #f since we're building firmware files.
2023-10-19 11:32:41 +03:00
Maxim Cournoyer
df22aec317
gnu: Add ergodox-firmware-workman-p-kinesis-mod.
...
* gnu/packages/firmware.scm (ergodox-firmware-workman-p-kinesis-mod): New variable.
2023-10-10 00:06:15 -04:00
Maxim Cournoyer
78fab841e7
gnu: Add ergodox-firmware-qwerty-kinesis-mod.
...
* gnu/packages/firmware.scm (ergodox-firmware-qwerty-kinesis-mod): New variable.
2023-10-10 00:06:15 -04:00
Maxim Cournoyer
3f54c323a2
gnu: Add ergodox-firmware-dvorak-kinesis-mod.
...
* gnu/packages/firmware.scm (ergodox-firmware-dvorak-kinesis-mod): New variable.
2023-10-10 00:06:15 -04:00
Maxim Cournoyer
ef30dc4c36
gnu: Add ergodox-firmware-colemak-symbol-mod.
...
* gnu/packages/firmware.scm (ergodox-firmware-colemak-symbol-mod): New variable.
2023-10-10 00:06:14 -04:00
Maxim Cournoyer
9e4008e36e
gnu: Add ergodox-firmware-colemak-jc-mod.
...
* gnu/packages/firmware.scm (make-ergodox-firmware): New procedure
(ergodox-firmware-colemak-jc-mod): New variable.
* gnu/packages/patches/ergodox-firmware-fix-json-target.patch: New file.
* gnu/packages/patches/ergodox-firmware-fix-numpad.patch: Likewise.
* gnu/local.mk (dist_patch_DATA): Register them.
2023-10-10 00:06:14 -04:00
Maxim Cournoyer
f110992686
gnu: Add qmk-firmware-ergodox-ez-dvorak-emacs-software.
...
* gnu/packages/firmware.scm
(qmk-firmware-ergodox-ez-dvorak-emacs-software): New variable.
2023-10-10 00:06:14 -04:00
Maxim Cournoyer
2aa497e23c
gnu: Add qmk-firmware-ergodox-ez-dvorak-emacs.
...
* gnu/packages/firmware.scm (qmk-firmware-ergodox-ez-dvorak-emacs): New variable.
2023-10-10 00:06:14 -04:00
Maxim Cournoyer
b78aab0739
gnu: Add qmk-firmware-ergodox-ez-dvorak.
...
* gnu/packages/firmware.scm (qmk-firmware-ergodox-ez-dvorak): New variable.
2023-10-10 00:06:14 -04:00
Maxim Cournoyer
75cb7e1866
gnu: Add qmk-firmware-ergodox-ez-hacker-dvorak.
...
* gnu/packages/firmware.scm (qmk-firmware-ergodox-ez-hacker-dvorak): New
variable.
* gnu/packages/patches/qmk-firmware-fix-hacker-dvorak.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
2023-10-10 00:06:14 -04:00
Maxim Cournoyer
8dd6c2dee8
gnu: Add qmk-udev-rules.
...
* gnu/packages/firmware.scm (qmk-udev-rules): New variable.
2023-10-10 00:06:13 -04:00
Maxim Cournoyer
2f0e21e9fa
gnu: Add qmk-firmware-ergodox-ez-dvorak-42-key.
...
* gnu/packages/firmware.scm (qmk-firmware-ergodox-ez-dvorak-42-key): New variable.
2023-10-10 00:06:13 -04:00
Maxim Cournoyer
26025fa802
gnu: Add qmk-firmware-ergodox-ez-default.
...
* gnu/packages/firmware.scm (make-qmk-firmware/implementation)
(make-qmk-firmware): New procedures.
(qmk-firmware-ergodox-ez-default): New variable.
Series-changes: 2
- Install firmware from root directory, not .build
- Also honor .bin and .uf2 firmware file extensions
2023-10-10 00:06:13 -04:00