Commit graph

131 commits

Author SHA1 Message Date
Ludovic Courtès
178e550034
gnu: bootloaders: Avoid #:select on (gnu packages …) module.
* gnu/packages/bootloaders.scm: Remove use of #:select.
2019-12-15 00:34:05 +01:00
Mathieu Othacehe
db78fc0679
gnu: bootloaders: Fix make-u-boot-sunxi64-package cross-compilation.
* gnu/packages/bootloaders.scm (make-u-boot-sunxi64-package)[arguments]:
Search in native-inputs to fix cross-compilation.
2019-12-14 17:41:10 +01:00
Mathieu Othacehe
af58b275c9
gnu: Add u-boot-pine64-lts.
* gnu/packages/bootloaders.scm (u-boot-pine64-lts): New variable.
2019-12-14 17:41:09 +01:00
Marius Bakke
b8806e13dc
gnu: u-boot: Remove redundant GCC input.
* gnu/packages/bootloaders.scm (make-u-boot-package)[native-inputs]: Do not
explicitly add GCC 7.
2019-10-31 01:03:27 +01:00
Vagrant Cascadian
545ff7b784
gnu: Add u-boot-firefly-rk3399.
* gnu/packages/bootloaders (u-boot-firefly-rk3399): New variable.
* gnu/bootloader/u-boot (install-firefly-rk3399-u-boot): New variable.
  (u-boot-firefly-rk3399-bootloader): New variable.
* gnu/system/install (define firefly-rk3399-installation-os): New variable.
2019-10-18 15:48:18 -07:00
Vagrant Cascadian
2fce14af24
gnu: Add u-boot-rock64-rk3328.
* gnu/packages/bootloaders (u-boot-rock64-rk3328): New variable.
* gnu/bootloader/u-boot (install-rock64-rk3328-u-boot): New variable.
  (u-boot-rock64-rk3328-bootloader): New variable.
* gnu/system/install (define rock64-installation-os): New variable.
2019-10-18 13:32:25 -07:00
Caliph Nomble
fa7470189e
gnu: Add u-boot-rockpro64-rk3399
* gnu/packages/bootloaders.scm (u-boot-rockpro64-rk3399): New exported
  variable.
  (u-boot-2019.10): New variable.
* gnu/bootloader/u-boot.scm (u-boot-rockpro64-rk3399-bootloader): New exported
  variable.
  (install-rockpro64-rk3399-u-boot): New variable.
* gnu/system/install.scm (rockpro64-installation-os): New exported variable.

Adjusted-by: Vagrant Cascadian <vagrant@debian.org>
Signed-off-by: Caliph Nomble <nomble@palism.com>
Signed-off-by: Vagrant Cascadian <vagrant@debian.org>
2019-10-18 13:32:09 -07:00
Tobias Geerinckx-Rice
91af1031e5
gnu: dtc: Update to 1.5.1.
* gnu/packages/bootloaders.scm (dtc): Update to 1.5.1.
[arguments]: Add -Wl,-rpath to LDFLAGS #:make-flags.
2019-09-26 06:28:23 +02:00
Mathieu Othacehe
7c35342472
gnu: grub: Fix cross-compilation.
* gnu/packages/bootloaders.scm (grub)[arguments]: Search for unifont in both
native-inputs and inputs.
2019-09-04 18:14:25 +02:00
Ludovic Courtès
6bfcb72926
gnu: u-boot: Fix target/system comparison in 'make-u-boot-package'.
Until now, running, say:

  guix build -e '(@@ (gnu packages bootloaders) u-boot-a20-olinuxino-micro)' \
    -s armhf-linux

on an x86_64-linux machine wouldn't have the desired effect
because (%current-system) would return "x86_64-linux" when 'same-arch?'
was evaluated.  This fixes that.

* gnu/packages/bootloaders.scm (make-u-boot-package)[same-arch?]: Turn
into a thunk so that (%current-system) is evaluated in the right
context, and adjust callers.  Use 'string=?' instead of 'string-prefix?'.
2019-07-17 15:36:04 +02:00
Tobias Geerinckx-Rice
35014c402d
gnu: grub: Build ‘grub-mount’.
This increases the closure size by a mere 1.8 MiB (0.8%).

* gnu/packages/bootloaders.scm (grub)[inputs]: Add fuse.
2019-07-09 01:43:31 +02:00
Tobias Geerinckx-Rice
069ab3bbfd
gnu: grub: Update to 2.04.
* gnu/packages/bootloaders.scm (grub): Update to 2.04.
[source]: Remove upstreamed patches.
[arguments]: Don't require Python.  Add a ‘disable-pixel-perfect-test’
phase to skip tests that fail with with our newer Unifont.
* gnu/packages/patches/grub-efi-fat-serial-number.patch: Adjust context.
* gnu/packages/patches/grub-binutils-compat.patch,
gnu/packages/patches/grub-check-error-efibootmgr.patch: Delete files.
* gnu/local.mk (dist_patch_DATA): Remove them.
2019-07-09 01:28:11 +02:00
Vagrant Cascadian
6f5be83cd7
gnu: u-boot-tools: Only run full test suite on x86_64.
* gnu/packages/bootloaders (u-boot-tools)[arguments]<#:phases>[check]:
Modify phase.
[check-x86]: New phase.
[patch]: New phase.
2019-04-30 19:49:16 +02:00
Vagrant Cascadian
6b99afeef8
gnu: u-boot: Update to 2019.04.
* gnu/packages/bootloaders.scm (u-boot): Update to 2019.04.
[source]: Add patch.
(u-boot-novena): Update dynamic patch to handle config key rename.
(u-boot-am335x-evm): New variable.
(u-boot-am335x-boneblack): Build with modified am335x-evm config.
(u-boot-novena): Fix typo in description.
* gnu/bootloader/u-boot.scm (u-boot-beaglebone-black-bootloader): Use
u-boot-am335x-boneblack.
* gnu/packages/patches/u-boot-fix-mkimage-header-verification.patch: New file.
* gnu/local.mk (dist_patch_DATA): Update accordingly.

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
2019-04-29 12:35:04 +02:00
Ludovic Courtès
52b5fe5bcf
gnu: grub: 'grub-mkrescue' honors 'GRUB_FAT_SERIAL_NUMBER'.
* gnu/packages/patches/grub-efi-fat-serial-number.patch: New file.
* gnu/packages/bootloaders.scm (grub)[source](patches): Add it.
* gnu/local.mk (dist_patch_DATA): Add it.
2019-04-21 00:51:18 +02:00
Vagrant Cascadian
8cd10b22f9
gnu: Update dtc to 1.5.0.
* gnu/packages/bootloaders (dtc): Update to 1.5.0.
[native-inputs]: Add libyaml and pkg-config.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
2019-03-14 11:02:40 +01:00
Vagrant Cascadian
fb0aeaacea
gnu: u-boot: Remove openssl input.
Fixes <https://bugs.gnu.org/34717>.

* gnu/packages/bootloaders (u-boot): Remove openssl from native-inputs.
  (u-boot-tools): Disable FIT_SIGNATURES in tests.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-03-08 12:31:37 +01:00
Tobias Geerinckx-Rice
e9bdef5fb4
gnu: os-prober: Update to 1.77.
* gnu/packages/bootloaders.scm (os-prober): Update to 1.77.
2019-02-12 17:38:21 +01:00
Vagrant Cascadian
6e2bad000f
gnu: u-boot-novena: Allow booting from raw device offset.
* gnu/packages/bootloaders.scm (u-boot-novena): Disable loading u-boot.img
from a partition.
2019-02-11 10:59:23 +01:00
Vagrant Cascadian
4da4e952dd
gnu: u-boot: Update to 2019.01.
* gnu/packages/bootloaders.scm (u-boot): Update to 2019.01.
(u-boot-tools): Disable CONFIG_SOUND in sandbox configs.
(u-boot-pinebook)[source]: Remove patches.
* gnu/packages/patches/u-boot-pinebook-a64-update-dts.patch,
gnu/packages/patches/u-boot-pinebook-dts.patch,
gnu/packages/patches/u-boot-pinebook-mmc-calibration.patch,
gnu/packages/patches/u-boot-pinebook-r_i2c-controller.patch,
gnu/packages/patches/u-boot-pinebook-syscon-node.patch,
gnu/packages/patches/u-boot-pinebook-video-bridge.patch: Delete files.
* gnu/local.mk (dist_patch_DATA): Adjust as necessary.
2019-02-04 00:21:48 +01:00
Ricardo Wurmus
8f43bdd9fb
gnu: make-u-boot-package: Use INVOKE.
* gnu/packages/bootloaders.scm (make-u-boot-package)[arguments]: Use INVOKE in
"configure" phase.
2019-01-26 14:44:32 +01:00
Kei Kebreau
71f2b4b8f3
gnu: vboot-utils: Install development keys.
* gnu/packages/bootloaders.scm (vboot-utils)[arguments]: Add 'install-devkeys'
phase.
2019-01-20 01:51:39 -05:00
nee
ab100b905f
gnu: grub: Add dependency on console-setup.
* gnu/packages/bootloaders.scm (grub)[arguments]: In 'patch-stuff'
phase, patch 'grub-kbdcomp.in'.
[inputs]: Add CONSOLE-SETUP.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2019-01-16 14:07:38 +01:00
Kei Kebreau
b634b5c253
gnu: vboot-utils: Fix building on armhf-linux.
* gnu/packages/bootloaders.scm (vboot-utils)[source]: Add patches.
[arguments]: Conditionally add "HOST_ARCH=arm" to #:make-flags.
* gnu/packages/patches/vboot-utils-fix-format-load-address.patch,
gnu/packages/patches/vboot-utils-fix-tests-show-contents.patch,
gnu/packages/patches/vboot-utils-skip-test-workbuf.patch: New files.
* gnu/local.mk (dist_patch_DATA): Add them.
2019-01-03 15:40:27 -05:00
Efraim Flashner
8d3f604d94
gnu: syslinux: Limit the architectures supported.
* gnu/packages/bootloaders.scm (syslinux)[supported-systems}: New field.
2018-12-09 15:43:43 +02:00
Marius Bakke
4d8f4a3f00
Merge branch 'master' into core-updates 2018-11-24 01:58:18 +01:00
Vagrant Cascadian
74e35e8c94
gnu: Add u-boot-pinebook.
* gnu/packages/patches/u-boot-pinebook-a64-update-dts.patch: New file.
* gnu/packages/patches/u-boot-pinebook-syscon-node.patch: New file.
* gnu/packages/patches/u-boot-pinebook-mmc-calibration.patch: New file.
* gnu/packages/patches/u-boot-pinebook-video-bridge.patch: New file.
* gnu/packages/patches/u-boot-pinebook-r_i2c-controller.patch: New file.
* gnu/packages/patches/u-boot-pinebook-dts.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add them.
* gnu/packages/bootloaders.scm (u-boot-pinebook): New exported variable.
* gnu/bootloader/u-boot.scm (u-boot-pinebook-bootloader): New exported
variable.
* gnu/system/install.scm (pinebook-installation-os): New exported variable.
2018-11-22 21:59:05 +01:00
Efraim Flashner
9cf4ff199c
Merge remote-tracking branch 'origin/master' into core-updates 2018-11-21 19:41:43 +02:00
Vagrant Cascadian
0da3526d58
gnu: u-boot-pine64-plus: Refactor package definition.
* gnu/packages/bootloaders.scm (make-u-boot-sunxi64-package): New procedure.
(u-boot-pine64-plus): Use it.

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
2018-11-20 23:39:41 +01:00
Vagrant Cascadian
95d9198606
gnu: arm-trusted-firmware-pine64-plus: Rename variable to arm-trusted-firmware-sun50i-a64.
* gnu/packages/firmware (arm-trusted-firmware-pine64-plus): Rename to...
(arm-trusted-firmware-sun50i-a64): ...this.
* gnu/packages/bootloaders (u-boot-pine64-plus)[native-inputs]: Use it.

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
2018-11-20 23:34:31 +01:00
Marius Bakke
4f70db97a0
Merge branch 'master' into core-updates 2018-11-20 01:14:12 +01:00
Vagrant Cascadian
0c7707d53e
gnu: u-boot: Update to 2018.11.
* gnu/packages/bootloaders.scm (u-boot): Update to 2018.11.
(u-boot)[native-inputs]: Add lz4.
2018-11-17 00:16:29 +01:00
Marius Bakke
d02bb02f7d
Merge branch 'master' into core-updates 2018-10-17 20:47:11 +02:00
Vagrant Cascadian
e1d1ec1435
gnu: u-boot: Update to 2018.09.
* gnu/packages/bootloaders.scm (u-boot): Update to 2018.09.
(u-boot-tools)[arguments]: Substitute "coverage" for "python-coverage". Update
workaround for only 99% test coverage.

Signed-off-by: Leo Famulari <leo@famulari.name>
2018-10-11 17:28:53 -04:00
Marius Bakke
2817ac3c18
Merge branch 'master' into core-updates 2018-09-20 13:37:58 +02:00
Tobias Geerinckx-Rice
3e63a83c0f
gnu: u-boot: Use HTTPS home page.
* gnu/packages/bootloaders.scm (u-boot)[home-page]: Use HTTPS.
2018-09-20 04:50:34 +02:00
Danny Milosavljevic
e830c9d0b0
gnu: Rename "banana-pi" to "bananapi".
* gnu/bootloader/u-boot.scm (u-boot-banana-pi-m2-ultra-bootloader): Rename
to...
(u-boot-bananapi-m2-ultra-bootloader): ...this.
* gnu/packages/bootloaders.scm (u-boot-banana-pi-m2-ultra): Rename to...
(u-boot-bananapi-m2-ultra): ...this.
* gnu/system/install.scm (banana-pi-m2-ultra-installation-os): Rename to...
(bananapi-m2-ultra-installation-os): ...this.
2018-09-14 21:31:24 +02:00
Leo Famulari
d763940711
Merge branch 'master' into core-updates 2018-09-13 13:32:39 -04:00
Tobias Geerinckx-Rice
0f304ba73e
gnu: syslinux: Use HTTPS home page.
* gnu/packages/bootloaders.scm (syslinux)[home-page]: Use HTTPS.
2018-09-12 16:09:38 +02:00
Tobias Geerinckx-Rice
60d8db74c6
gnu: syslinux: Use INVOKE.
* gnu/packages/bootloaders.scm (syslinux)[arguments]: Substitute INVOKE
for SYSTEM*.
2018-09-12 16:09:38 +02:00
Marius Bakke
d9362003b6
gnu: GRUB: Adjust to recent binutils changes.
* gnu/packages/patches/grub-binutils-compat.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/bootloaders.scm (grub)[source](patches): Add it.
2018-08-28 01:23:12 +02:00
Marius Bakke
526ce41930
gnu: GRUB: Check for errors from efibootmgr.
* gnu/packages/patches/grub-check-error-efibootmgr.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/bootloaders.scm (grub)[source](patches): New field.
2018-08-28 01:19:28 +02:00
Vagrant Cascadian
5d706f1898
gnu: dtc: Update to 1.4.7.
* gnu/packages/bootloaders.scm (dtc): Update to 1.4.7.
[native-inputs]: Add valgrind.

Signed-off-by: Leo Famulari <leo@famulari.name>
2018-08-16 18:47:58 -04:00
Efraim Flashner
3729767418
gnu: make-u-boot-package: Add missing module.
* gnu/packages/bootloaders.scm (make-u-boot-package)[arguments]: Add
missing 'srfi srfi-1' module.
2018-07-29 20:49:42 +03:00
Danny Milosavljevic
a9446dde2b
gnu: make-u-boot-package: Don't install "sunxi-spl-with-ecc.bin".
* gnu/packages/bootloaders.scm (make-u-boot-package)[arguments]<#:phases>
[install]: Don't install "sunxi-spl-with-ecc.bin".
2018-07-26 15:54:52 +02:00
Julien Lepiller
a7d5ce94ba
gnu: Add u-boot-cubietruck.
* gnu/packages/bootloaders.scm (u-boot-cubietruck): New variable.
2018-07-22 09:52:15 +02:00
Danny Milosavljevic
9e84a4d6a5
gnu: u-boot-tools: Simplify build.
* gnu/packages/bootloaders.scm (u-boot-tools)[arguments]<#:phases>[build]:
Modify.
2018-07-11 22:23:26 +02:00
Danny Milosavljevic
10186ee2d3
gnu: u-boot-tools: Install "sunxi-spl-image-builder".
* gnu/packages/bootloaders.scm (u-boot-tools)[arguments]<#:phases>[build]:
Build sunxi-spl-image-builder.
(u-boot-tools)[arguments]<#:phases>[install]: Install sunxi-spl-image-builder.
2018-07-11 22:23:22 +02:00
Danny Milosavljevic
d1af9a8c22
gnu: make-u-boot-package: Return #t from "install" phase.
* gnu/packages/bootloaders.scm (make-u-boot-package)[arguments]<#:phases>
[install]: Return #t.
2018-07-11 22:23:04 +02:00
Vagrant Cascadian
336c4a4baa
gnu: u-boot: Update to 2018.07.
--=-=-=
Content-Type: text/plain

The attached patch updates u-boot to 2018.07, which required adding
native-inputs of "bison" and "flex".

live well,
  vagrant

From 74a9561ac07592a5ae15b723d0f2ac7fc05c463c Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@debian.org>
Date: Tue, 10 Jul 2018 00:12:05 +0000
Subject: [PATCH] gnu: u-boot: Update to 2018.07.

* gnu/packages/bootloaders.scm (u-boot): Update to 2018.07.
  (u-boot)[native-inputs]: Add "bison" and "flex".
2018-07-10 15:10:32 +02:00