Commit graph

200 commits

Author SHA1 Message Date
Pierre Langlois
bf1e46e959
gnu: u-boot: Fix rk3399 boot from emmc.
* gnu/packages/bootloaders.scm (%u-boot-rk3399-enable-emmc-phy-patch): New
variable.
(u-boot)[origin]: Register it.
* gnu/packages/patches/u-boot-rk3399-enable-emmc-phy.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
2021-11-27 15:03:33 +00:00
Vagrant Cascadian
2ebcc5387b
gnu: u-boot, u-boot-am335x-boneblack, u-boot-novena: Fix lint warnings.
* gnu/packages/bootloaders.scm (u-boot)[description]: Add second space after
  sentence.
  (u-boot-am335x-boneblack)[description]: Likewise.
  (u-boot-novena)[description]: Likewise.
2021-11-14 13:47:51 -08:00
Vagrant Cascadian
65be27dcfd
gnu: u-boot: Update to 2021.10.
* gnu/packages/bootloaders.scm (%u-boot-allow-disabling-openssl-patch): New variable.
  (u-boot): Update to 2021.10.
  Add patch fixing build without openssl.
  (u-boot-qemu-riscv64-smode):
  Add patch fixing build without openssl.
  (u-boot-tools): Adjust phases to disable CONFIG_TOOLS_LIBCRYPTO.
  (make-u-boot-package): Add phase disabling CONFIG_TOOLS_LIBCRYPTO.
* gnu/packages/patches/u-boot-allow-disabling-openssl.patch: New patch.
* gnu/local.mk (dist_patch_DATA): Add patch.
2021-10-24 13:51:37 -07:00
Tobias Geerinckx-Rice
5d26e2ee2b
gnu: os-prober: Update to 1.79.
* gnu/packages/bootloaders.scm (os-prober): Update to 1.79.
2021-10-03 19:23:49 +02:00
Marius Bakke
06f47e0256
gnu: u-boot-tools: Install the 'kwboot' executable.
* gnu/packages/bootloaders.scm (u-boot-tools)[arguments]: Install one more
file.
2021-09-23 12:05:53 +02:00
Danny Milosavljevic
dd7df191b6
gnu: u-boot-nintendo-nes-classic-edition: Make it actually boot again.
* gnu/packages/patches/u-boot-nintendo-nes-serial.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add u-boot-nintendo-nes-serial.patch.
* gnu/packages/bootloaders.scm (u-boot-nintendo-nes-classic-edition): Downgrade to 2018.11.
[source]: Add patch.
[description]: Modify.
[native-inputs]: Add python-2.
2021-09-05 23:45:29 +02:00
Pierre Langlois
e914fc5913
gnu: Rename u-boot-sifive-fu540 to sifive-unleashed.
* gnu/packages/bootloaders.scm (u-boot-sifive-fu540): Rename to ...
(u-boot-sifive-unleashed): ... this.  Change board name from sifive_fu540 to
sifive_unleashed.
* gnu/packages/patches/u-boot-riscv64-fix-extlinux.patch: Rename sifive_fu540
to sifive_unleashed.
2021-08-05 13:42:50 +01:00
Pierre Langlois
781123518e
gnu: u-boot-vexpress: Remove package.
Upstream no longer supports the platform and we don't expect any users out
there, see <https://bugs.gnu.org/49552>.

* gnu/packages/bootloaders.scm (u-boot-vexpress): Remove variable.
2021-08-05 13:41:50 +01:00
Pierre Langlois
eb46c6c5c8
gnu: u-boot: Update to 2021.07.
* gnu/packages/patches/u-boot-sifive-prevent-reloc-initrd-fdt.patch: New patch.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/bootloaders.scm (%u-boot-sifive-prevent-relocating-initrd-fdt):
New variable.
(u-boot): Update to 2021.07.
[native-inputs]: Add python-pycryptodomex.
(u-boot-2021.07): Delete variable.
(u-boot-tools)[arguments]: Adapt 'patch phase, disable failing test_spl test.
(u-boot-sifive-unmatched): Use default u-boot package.
(u-boot-pinebook-pro-rk3328): Use default u-boot package.
2021-08-02 13:23:32 +01:00
Pierre Langlois
adb84ae8ea
gnu: u-boot-rockpro64-rk3399: Enable 'set-environment phase.
Fixes <https://bugs.gnu.org/49550>.

* gnu/packages/bootloaders.scm (u-boot-rockpro64-rk3399)[arguments]: Run
'set-environment phase after 'unpack instead of non-existent
'patch-rockpro64-config phase.
2021-07-31 12:31:04 +01:00
Maxim Cournoyer
e81228166e
gnu: web: Move libyaml and libcyaml to (gnu packages serialization).
Files to be adjusted were searched with the following command:

 $ git ls-files | xargs grep -l -E ',libc?yaml' | \
       xargs grep -L '(gnu packages serialization)'

* gnu/packages/web.scm (libyaml, libyaml+static, libcyaml): Move to...
* gnu/packages/serialization.scm: ... here.
2021-07-29 22:03:33 -04:00
Christopher Baines
fd549750d9
gnu: grub-efi: Only enable the stack protector on x86_64-linux.
Follow up to 018f950941, as gcc on aarch64-linux
doesn't seem to support -mstack-protector-guard=global.

Fixes <https://bugs.gnu.org/49088>.

* gnu/packages/bootloaders.scm (grub-efi)[arguments]: Only add
"--enable-stack-protector" to #:configure-flags when system is x86_64-linux.
2021-07-02 00:01:14 +01:00
Marius Bakke
c87ebc1b31
gnu: QEMU: Update to 6.0.0.
* gnu/packages/patches/qemu-build-info-manual.patch: Adjust for 6.0.
* gnu/packages/virtualization.scm (qemu): Update to 6.0.0.
[source](snippet): Remove obsolete substitution.
[arguments]: Adjust test substitutions for upstream changes.
* gnu/packages/bootloaders.scm (grub)[source](modules, snippet): New fields.
2021-06-13 15:33:57 +02:00
Tobias Geerinckx-Rice
018f950941
gnu: grub-efi: Enable the stack protector.
* gnu/packages/bootloaders.scm (grub-efi)[arguments]:
Add "--enable-stack-protector" to #:configure-flags.
2021-06-12 20:58:16 +02:00
Tobias Geerinckx-Rice
2d115ea7ed
gnu: grub: Update to 2.06.
[source]: Remove upstreamed patches.
* gnu/packages/patches/grub-setup-root.patch: Update patch.
* gnu/packages/patches/grub-verifiers-Blocklist-fallout-cleanup.patch,
gnu/packages/patches/grub-cross-system-i686.patch: Delete files.
* gnu/local.mk (dist_patch_DATA): Remove them.
2021-06-12 20:58:16 +02:00
Tobias Geerinckx-Rice
402f544c29
gnu: dtc: Update to 1.6.1.
* gnu/packages/bootloaders.scm (dtc): Update to 1.6.1.
2021-06-11 00:37:14 +02:00
Efraim Flashner
df3a60d16f
gnu: Add u-boot-sifive-unmatched.
* gnu/packages/bootloaders.scm (u-boot-sifive-unmatched): New variable.
2021-06-08 11:06:42 +03:00
Efraim Flashner
024187c049
gnu: u-boot-2021.07: Update to 2021.07-rc4.
* gnu/packages/bootloaders.scm (u-boot-2021.07): Update to 2021.07-rc4.
2021-06-08 11:06:37 +03:00
Vagrant Cascadian
eb305784bf
gnu: u-boot-pinebook-pro-rk3399: Update to version 2021.07-rc1.
Version 2021.07-rc1 supports video output on the eDP panel.

* gnu/packages/bootloaders.scm (u-boot-2021.07): New variable.
  (u-boot-pinebook-pro-rk3399)[source, version]: Use u-boot-2021.07.
2021-05-01 14:13:50 -07:00
Vagrant Cascadian
3a851d4557
gnu: u-boot: Patch to fix boot regressions for some platforms.
The previous workaround stopped the preboot phase from loading USB
support, which makes it impossible to use a USB keyboard to select a
generation from the boot menu without using a serial console.

* gnu/packages/patches/u-boot-rockchip-inno-usb.patch: New File.
* gnu/local.mk (dist_patch_DATA): Add patch.
* gnu/packages/bootloaders.scm (%u-boot-rockchip-inno-usb-patch): New variable.
  (u-boot)[source]: Add patch.
  (u-boot-rockpro64-rk3399, u-boot-pinebook-pro-rk3399): Remove obsolete phase.
2021-05-01 14:12:08 -07:00
Vagrant Cascadian
084d3cac2b
gnu: ipxe: Fix grammar.
* gnu/packages/bootloaders.scm (ipxe)[description]: Remove gratuitous
  use of "allows to".
2021-04-21 08:32:49 -07:00
Vagrant Cascadian
98067662f6
gnu: u-boot: Update to 2021.04.
* gnu/packages/bootloaders (u-boot): Update to 2021.04.
  [source]: Use https URL.
2021-04-11 01:00:57 -07:00
Tobias Geerinckx-Rice
6900105334
gnu: os-prober: Update to 1.78.
* gnu/packages/bootloaders.scm (os-prober): Update to 1.78.
2021-03-11 00:46:01 +01:00
Vagrant Cascadian
15990546a5
gnu: u-boot-puma-rk3399: Switch to using arm-trusted-firmware-rk3399.
* gnu/packages/bootloaders.scm (u-boot-puma-rk3399)[native-inputs]:
  Add arm-trusted-firmware-rk3399.
  Remove arm-trusted-firmware-puma-rk3399 and rk3399-cortex-m0.
* gnu/packages/firmware.scm (arm-trusted-firmware-puma-rk3399,
  rk3399-cortex-m0): Remove obsolete variables.
* gnu/bootloader/u-boot.scm (install-puma-rk3399-u-boot): Install
  idbloader.img.
2021-02-08 07:18:41 -08:00
Vagrant Cascadian
0424d1fffd
gnu: u-boot: Update to 2021.01.
* gnu/packages/bootloaders (u-boot): Update to 2021.01.
  (u-boot-pinebook-pro-rk3399): Add patch-pinebook-pro-config phase.
2021-02-08 07:18:35 -08:00
Vincent Legoll
ca34b6f045
gnu: ipxe: Update to 1.21.1.
* gnu/packages/bootloaders.scm (ipxe): Update to 1.21.1.

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
2021-01-14 01:31:06 +01:00
Vincent Legoll
aeed7218a9
gnu: Add ipxe.
* gnu/packages/bootloaders.scm (ipxe): New variable.
* gnu/packages/patches/ipxe-reproducible-geniso.patch: New file …
* gnu/local.mk (dist_patch_DATA): … add it.

Co-authored-by: Tobias Geerinckx-Rice <me@tobias.gr>
Co-authored-by: Brice Waegeneire <brice@waegenei.re>
Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
2021-01-14 01:17:04 +01:00
Caliph Nomble
219612904c
gnu: u-boot-rockpro64-rk3399: Fix freeze on boot.
* gnu/packages/bootloaders.scm (u-boot-rockpro64-rk3399)[arguments]<#:phases>
[patch-rockpro64-config]: Build with modified config to prevent freeze on boot
due to usb being enabled.

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
2020-12-29 13:28:16 +01:00
Danny Milosavljevic
7d440cdbfd
Revert "gnu: u-boot: Fix freeze on boot with u-boot-rockpro64-rk3399."
because it was applied to the wrong u-boot.

This reverts commit d980e6e275.
2020-12-29 13:25:47 +01:00
Caliph Nomble via Guix-patches via
d980e6e275
gnu: u-boot: Fix freeze on boot with u-boot-rockpro64-rk3399.
* gnu/packages/bootloaders.scm (u-boot-rockpro64-rk3399)[arguments]<#:phases>
[patch-rockpro64-config]: Build with modified config to prevent freeze on boot
due to usb being enabled.

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
2020-12-28 19:36:38 +01:00
Marius Bakke
4ed96d6831
gnu: dtc: Update to 1.6.0.
* gnu/packages/bootloaders.scm (dtc): Update to 1.6.0.
2020-12-20 16:30:42 +01:00
Ludovic Courtès
097b725532
gnu: grub-minimal: Fix cross-compilation.
Fixes a regression introduced in
34a6f12351 that would break
cross-compilation of 'grub-minimal' because it would enable Freetype
support as a side effect but the 'set-freetype-variables' phase was not
inherited in 'grub-minimal'.

* gnu/packages/bootloaders.scm (grub-minimal)[arguments]: Use
'substitute-keyword-arguments' so that the 'set-freetype-variables'
phase is inherited.
2020-11-24 10:40:39 +01:00
Efraim Flashner
77b7d990ec
gnu: grub: Fix cross-compiling for other architectures.
Reported by cbaines and xelxebar on IRC.

* gnu/packages/bootloaders.scm (grub)[arguments]: In custom
'set-freetype-variables phase only use the native-inputs version of
freetype.
2020-11-23 15:43:32 +02:00
Efraim Flashner
34a6f12351
gnu: grub: Cross-compile for mips64el-linux.
* gnu/packages/bootloaders.scm (grub)[arguments]: Add custom phase to
set BUILD_FREETYPE_* flags.
[native-inputs]: Add freetype.
2020-11-16 22:38:15 +02:00
Efraim Flashner
66f769122f
gnu: grub: Don't run tests when cross compiling.
* gnu/packages/bootloaders.scm (grub)[arguments]: Skip tests when
cross-compiling.
2020-11-16 22:38:15 +02:00
Efraim Flashner
6cc86492db
gnu: dtc: Cross compile.
* gnu/packages/bootloaders.scm (dtc)[arguments]: Use cc-for-target in
make-flags. Add custom phase to use correct pkg-config for target.
2020-11-16 13:03:00 +02:00
Efraim Flashner
149666dfef
gnu: grub: Only do code substitution when input is available.
* gnu/packages/bootloaders.scm (grub)[arguments]: In custom 'patch-stuff
phase only substitute the absolute location of the mdadm binary when it
is an input.
2020-11-08 21:22:35 +02:00
Vagrant Cascadian
e9545e6d1d
gnu: u-boot-tools: Update tests.
* gnu/packages/bootloaders (u-boot-tools):
  Call tcheck target instead of all tests.
  Drop adjustment to test coverage percentage.
  Update substitution of python coverage binary.
  Re-enable coverage tests of dtoc and fdt.
  Disable additional configuration options that require OpenSSL.
2020-10-24 13:18:29 -07:00
Vagrant Cascadian
26c5e5af70
gnu: u-boot: Update to 2020.10.
* gnu/packages/bootloaders (u-boot): Update to 2020.10.
* gnu/packages/patches/u-boot-riscv64-fix-extlinux.patch: Refresh patch.
2020-10-24 13:17:41 -07:00
Maxim Cournoyer
3b026eb3b1
Revert "gnu: u-boot: Update to 2020.10."
This reverts commit fe6067fc24.  This commit
broke u-boot-tools.
2020-10-23 09:40:36 -04:00
Vagrant Cascadian
fe6067fc24
gnu: u-boot: Update to 2020.10.
* gnu/packages/bootloaders (u-boot): Update to 2020.10.
* gnu/packages/patches/u-boot-riscv64-fix-extlinux.patch: Refresh patch.
2020-10-18 16:18:45 -07:00
Danny Milosavljevic
6b1253718d
gnu: u-boot: Reomve sdl2 dependency on non-GUI builds.
* gnu/packages/bootloaders.scm (u-boot)[native-inputs]: Remove sdl2.
(u-boot-tools)[native-inputs]: Add sdl2.
2020-09-19 23:02:51 +02:00
Vagrant Cascadian
bce3c9748b
gnu: u-boot: Update to 2020.07.
* gnu/packages/bootloaders (u-boot): Update to 2020.07.
  (u-boot-pinebook-pro-rk3399): Remove patches.
* gnu/packages/patches:
  u-boot-DT-for-Pinebook-Pro.patch, u-boot-add-boe-nv140fhmn49-display.patch,
  u-boot-gpio-keys-binding-cons.patch, u-boot-leds-common-binding-con.patch,
  u-boot-support-Pinebook-Pro-laptop.patch,
  u-boot-video-rockchip-fix-build.patch: Remove patches.
  u-boot-riscv64-fix-extlinux.patch: Refresh patch.
* gnu/local.mk (dist_patch_DATA): Update accordingly.
2020-07-09 17:22:18 -07:00
Jan (janneke) Nieuwenhuizen
d613991a8e
gnu: grub: Cross-build fix for system i686-linux.
* gnu/packages/patches/grub-cross-system-i686.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/bootloaders.scm (grub): Use it.
2020-06-25 17:46:37 +02:00
Tobias Geerinckx-Rice
33430a455e
gnu: os-prober: Fix cross-compilation.
* gnu/packages/bootloaders.scm (os-prober)[arguments]: Use CC-FOR-TARGET.
2020-06-02 20:50:17 +02:00
Mathieu Othacehe
15135a5e13
gnu: grub: Allow "grub-bios-setup" to operate on raw disk-images.
* gnu/packages/patches/grub-setup-root.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/bootloaders.scm (grub): Apply it.
2020-05-26 10:00:08 +02:00
Marius Bakke
f589cbc4dc
Merge branch 'master' into core-updates 2020-04-26 13:48:06 +02:00
Pierre Langlois
c10e8cf75e
gnu: u-boot: Update to 2020.04.
* gnu/packages/bootloaders (u-boot): Update to 2020.04.
  [native-inputs]: Replace sdl with sdl2.

Co-authored-by: Vagrant Cascadian <vagrant@debian.org>
2020-04-24 15:59:44 -07:00
Marius Bakke
030f6f489f
Merge branch 'master' into core-updates
Conflicts:
	etc/news.scm
	gnu/local.mk
	gnu/packages/bootloaders.scm
	gnu/packages/linphone.scm
	gnu/packages/linux.scm
	gnu/packages/tls.scm
	gnu/system.scm
2020-04-23 13:33:09 +02:00
Mathieu Othacehe
938df0de73
Revert "gnu: u-boot: Update to 2020.04."
This reverts commit be0ecfb178.
2020-04-23 13:03:35 +02:00