Commit graph

141 commits

Author SHA1 Message Date
Marius Bakke
a67c4ff369
gnu: GRUB: Use the latest version of QEMU for tests.
* gnu/packages/bootloaders.scm (grub)[native-inputs]: Change from
QEMU-MINIMAL-2.10 to QEMU-MINIMAL.
2020-03-21 20:17:20 +01:00
Marius Bakke
f142c0775a
gnu: GRUB: Build with the latest version of Flex.
* gnu/packages/bootloaders.scm (grub)[native-inputs]: Change from FLEX-2.6.1
to FLEX.
2020-03-21 20:17:20 +01:00
Vagrant Cascadian
760dfc67cd
gnu: u-boot-pinebook: Fix LCD video output.
* gnu/packages/bootloaders (u-boot-pinebook): Add phase applying patch
  submitted upstream.
2020-02-26 22:23:17 -08:00
Vagrant Cascadian
1f9fae008d
gnu: u-boot-qemu-riscv64-smode: Patch to fix boot menu.
* gnu/packages/patches/u-boot-riscv64-fix-extlinux.patch: New patch.
* gnu/local.mk (dist_patch_DATA): Update accordingly.
* gnu/packages/bootloaders (u-boot-qemu-riscv64-smode): Add patch.
2020-02-01 18:14:13 -08:00
Vagrant Cascadian
10f31af9e3
gnu: Add u-boot-qemu-riscv64.
* gnu/packages/bootloaders (u-boot-qemu-riscv64): New variable.
2020-01-31 20:22:32 -08:00
Vagrant Cascadian
7d06364563
gnu: Add u-boot-sifive-fu540.
* gnu/packages/bootloaders (u-boot-sifive-fu540): New variable.
2020-01-31 20:22:30 -08:00
Vagrant Cascadian
7e954f674b
gnu: u-boot-qemu-riscv64-smode: Add package.
* gnu/packages/bootloaders (u-boot-qemu-riscv64-smode): New variable.
2020-01-31 19:04:40 -08:00
Vagrant Cascadian
e39fbd8890
gnu: u-boot-2019.10: Remove obsolete version.
* gnu/packages/bootloaders (u-boot-2019.10): Remove variable.
  (u-boot-firefly-rk3399): Use default u-boot version.
  (u-boot-rockpro64-rk3399): Use default u-boot version.
  (u-boot-rock64-rk3328): Use default u-boot version.
  [arguments]: Remove add-u-boot-itb phase.
2020-01-08 22:24:22 -08:00
Vagrant Cascadian
634b0e28de
gnu: u-boot: Update to 2020.01.
* gnu/packages/bootloaders (u-boot): Update to 2020.01.
  [source]: Remove patch u-boot-fix-mkimage-header-verification.
  [native-inputs]: Update to use python 3 and add perl.
  (u-boot-tools)[configure]: Use tools-only_defconfig.
  [arguments]: Update phase updating python-coverage to work with python 3.
  Drop obsolete substitution for test_ofplatdata.
  Disable code coverage tests and binman tests.
* gnu/packages/patches/u-boot-fix-mkimage-header-verification.patch: Remove file.
* gnu/local.mk [dist_patch_DATA]: Update accordingly.
2020-01-08 22:24:20 -08:00
Björn Höfling
5664a4712c
gnu: dtc: Use Python 3 instead of Python 2.
* gnu/packages/bootloaders.scm (dtc)[inputs]: Use python instead of python-2.
2020-01-05 02:41:29 +01:00
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