aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/bootloaders.scm
Commit message (Collapse)AuthorAge
* gnu: patman: Wrap program with git.Simon Tournier2024-09-14
| | | | | | | | | * gnu/packages/bootloaders.scm (patman) [arguments]: Add 'wrap-script' phase to ensure git is always available. [inputs]: Add git, git:send-email and guile-3.0/pinned. Change-Id: Id4ebadd518f271baa087161b10455ec03d6f959b Co-authored-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
* gnu: grub; ipxe-qemu: Fix build on 32-bit x86.André Batista2024-08-31
| | | | | | | | | | | * gnu/packages/bootloaders.scm (grub) [native-inputs] <binutils-i386>: binutils' #configure-flags is a gexp instead of a simple list, so use gexp handling procedures when setting flags. * gnu/packages/bootloaders.scm (ipxe-qemu) [native-inputs] <binutils-64-bit-bfd>: Likewise. Change-Id: If93b0a972570d75c7e26647b154be8afc76cf6e0 Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu: ipxe: Update to 1.21.1-2.de8a082.Janneke Nieuwenhuizen2024-08-31
| | | | | | | | | | | | | This fixes error: in phase 'build': uncaught exception: while building ipxe-qemu. * gnu/packages/bootloaders.scm (ipxe): Update commit to de8a0821c7bc737e724fa3dfb6d89dc36f591d7a. Bump revision and timestamp. Change-Id: I352a8451ba9da912f023802f1f31e5e311705ba2
* build-systems: gnu: Export %default-gnu-imported-modules and ↵Maxim Cournoyer2024-08-31
| | | | | | | | | | | | | | | | | | | | | %default-gnu-modules. Until now users would have to cargo cult or inspect the private %default-modules variable of (guix build-systems gnu) to discover which modules to include when extending the used modules via the #:modules argument. The renaming was automated via the command: $ git grep -l %gnu-build-system-modules | xargs sed 's/%gnu-build-system-modules/%default-gnu-imported-modules/' -i * guix/build-system/gnu.scm (%gnu-build-system-modules): Rename to... (%default-gnu-imported-modules): ... this. (%default-modules): Rename to... (%default-gnu-modules): ... this. Export. (dist-package, gnu-build, gnu-cross-build): Adjust accordingly. Change-Id: Idef307fff13cb76f3182d782b26e1cd3a5c757ee
* gnu: grub: Enable building on powerpc64le-linux.Efraim Flashner2024-07-19
| | | | | | | | | * gnu/packages/bootloaders.scm (grub)[arguments]: Adjust configure-flags when building for powerpc64le-linux to use clang. When building for powerpc64le-linux add a phase to skip 2 tests. [native-inputs]: When building for powerpc64le-linux add clang. Change-Id: I26ce37e7b864964ede5c9fd73a5a2d4cb89ada45
* gnu: grub-minimal: Don't override configure-flags.Efraim Flashner2024-07-19
| | | | | | | * gnu/packages/bootloaders.scm (grub-minimal)[arguments]: Don't override inherited configure-flags. Change-Id: I31f397ba8255389955a135976541f7d17d98e552
* gnu: grub: Fix use of mdadm.Christopher Baines2024-07-01
| | | | | | | | Before this change, the filename used ended with sbin/mdadm/sbin/mdadm. * gnu/packages/bootloaders.scm (grub)[arguments]: Fix the use of mdadm. Change-Id: I911d729eb35034502715c48cdd2159aecf48d22e
* gnu: grub: Remove input labels and use gexps.Ludovic Courtès2024-06-24
| | | | | | | | | | * gnu/packages/bootloaders.scm (grub)[arguments]: Use gexps. [inputs, native-inputs]: Remove labels. (grub-minimal, grub-coreboot, grub-efi, grub-efi32) (grub-hybrid): Likewise. Change-Id: I2773e6d96d170fae991d9c5db9e10196ea603371 Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
* gnu: grub: Update to 2.12.Ludovic Courtès2024-06-24
| | | | | | | | | | | | | | | | * gnu/packages/bootloaders.scm (grub): Update to 2.12. [source](patches): Remove ‘grub-ignore-metadata-csum-seed.patch’. (snippet): Create ‘grub-core/extra_deps.lst’. Replace “exit 99” by “exit 77”. (grub-coreboot): Update value of ‘XFAIL_TESTS’. * doc/guix.texi (Keyboard Layout and Networking and Partitioning): Update accordingly (it should now be fine to use LUKS2). * gnu/packages/patches/grub-ignore-metadata-csum-seed.patch: Remove. * gnu/local.mk (dist_patch_DATA): Remove it. Change-Id: Ia31b3b7e0a2e7de42d30229733e9c196fcd12fd9 Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
* gnu: grub: Ignore metadata-csum-seed feature of ext4.Lars-Dominik Braun2024-05-27
| | | | | | | | * gnu/packages/patches/grub-ignore-metadata-csum-seed.patch: New file. * gnu/local.mk: Register it. * gnu/packages/bootloaders.scm (grub): Use it. Change-Id: I3bfed24b38ecf31b85ed4ac654399fca2d2e12f6
* gnu: Add u-boot-starfive-visionfive2.Zheng Junjie2024-05-22
| | | | | | * gnu/packages/bootloaders.scm (u-boot-starfive-visionfive2): New variable. Change-Id: I2a7d2275b1a0f4253ffc3152c892687aae11a471
* gnu: u-boot-pine64-plus: Fix building on aarch64-linux.Efraim Flashner2024-03-28
| | | | | | | * gnu/packages/bootloaders.scm (u-boot-sunxi64-packages)[arguments]: Also search in inputs for input files. Change-Id: Ibc0f6b0dfff5eb7c561b7361dcf0eac1839fad87
* gnu: u-boot: Update to 2024.01.Herman Rimm2024-01-18
| | | | | | | | | | | | | * gnu/packages/bootloaders.scm (u-boot): Update to 2024.01. [source]: Remove patman patch, add build-without-libcrypto patch. * gnu/packages/patches/u-boot-allow-disabling-openssl.patch: Remove upstreamed diffs. * gnu/packages/patches/u-boot-build-without-libcrypto.patch: Add file. * gnu/packages/patches/u-boot-patman-change-id.patch: Delete file. * gnu/local.mk (dist_patch_DATA): Add patch, remove patch. Change-Id: I5a21d4cd645449ff669f17cdabe5313870bec46f Signed-off-by: Vagrant Cascadian <vagrant@debian.org>
* gnu: dtc: Update to 1.7.0.Mathieu Othacehe2024-01-07
| | | | | | | | | | | | | | | Enable the python bindings and switch to the meson build system that handles the python bindings better than the Makefile build system here. * gnu/packages/patches/dtc-meson-cell-overflow.patch: New file * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/bootloaders.scm (dtc): Update to 1.7.0. [build-system]: Switch to the meson-build-system. [arguments]: Remove #:make-flags. Add a new 'preparations phase. Do not edit the Makefile in the 'patch-pkg-config phase. Remove the 'configure phase. Change-Id: Ie61c920829ab3a8c32f4924c694dba6bda807711 Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
* gnu: bootloader: Add orangepi-r1-plus-lts-rk3328 bootloader.Herman Rimm2023-12-22
| | | | | | | | | * gnu/bootloader/u-boot.scm (install-orangepi-r1-plus-lts-rk3328-u-boot, u-boot-orangepi-r1-plus-lts-rk3328-bootloader): New variables. * gnu/packages/bootloaders.scm (u-boot-orangepi-r1-plus-lts-rk3328): New variable. Signed-off-by: Vagrant Cascadian <vagrant@debian.org>
* gnu: u-boot: Update to 2023.10.Herman Rimm2023-12-22
| | | | | | | | | | | | | | | | | * gnu/local.mk: De-register patches. * gnu/packages/bootloaders.scm (u-boot): Update to 2023.10. [source]: Remove patches. (u-boot-documentation)[inputs]: Add python-sphinx-prompt. * gnu/packages/patches/u-boot-allow-disabling-openssl.patch: Refresh. * gnu/packages/patches/u-boot-fix-build-python-3.10.patch: Delete file. * gnu/packages/patches/u-boot-fix-u-boot-lib-build.patch: Delete file. * gnu/packages/patches/u-boot-rk3399-enable-emmc-phy.patch: Delete file. * gnu/packages/patches/u-boot-rockchip-inno-usb.patch: Refresh. * gnu/packages/patches/u-boot-sifive-prevent-reloc-initrd-fdt.patch: Delete file. Modifed-by: Vagrant Cascadian <vagrant@debian.org> Signed-off-by: Vagrant Cascadian <vagrant@debian.org>
* gnu: Add grub-corebootDenis 'GNUtoo' Carikli2023-11-24
| | | | | | | * gnu/packages/bootloaders.scm (grub-coreboot): New variable. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> Signed-off-by: Vagrant Cascadian <vagrant@debian.org>
* gnu: patman: Apply patch for new Change-Id setting.Maxim Cournoyer2023-10-22
| | | | | | | | | | | * gnu/packages/bootloaders.scm (u-boot) [source]: Apply patch. * gnu/packages/patches/u-boot-patman-change-id.patch: New file. * gnu/local.mk (dist_patch_DATA): Register it. * .patman (keep_change_id): Use it. Series-changes: 3 - New commit Change-Id: I33c03013f6a260b5f5d80212b7b6ebe8a3f97efa
* gnu: Remove extraneous imports.Maxim Cournoyer2023-09-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Found by running 'guild compile -W3 gnu/packages/$module.scm', using guild from the upcoming Guile. * gnu/packages/admin.scm: Remove extraneous imports. * gnu/packages/avr.scm: Likewise. * gnu/packages/base.scm: Likewise. * gnu/packages/bootloaders.scm: Likewise. * gnu/packages/firmware.scm: Likewise. * gnu/packages/linphone.scm: Likewise. * gnu/packages/telephony.scm: Likewise. * gnu/packages/cran.scm: Likewise. * gnu/packages/kde.scm: Likewise. * gnu/packages/libcanberra.scm: Likewise. * gnu/packages/libreoffice.scm: Likewise. * gnu/packages/mes.scm: Likewise. * gnu/packages/mingw.scm: Likewise. * gnu/packages/serialization.scm: Likewise. * gnu/packages/sync.scm: Likewise. * gnu/packages/syncthing.scm: Likewise. * gnu/packages/terminals.scm: Likewise. * gnu/packages/version-control.scm: Likewise. * gnu/packages/video.scm: Likewise. * gnu/packages/wm.scm: Likewise. * gnu/packages/emulators.scm: Likewise. Reviewed-by: Ludovic Courtès <ludo@gnu.org>
* gnu: patman: Fix execution.Maxim Cournoyer2023-09-01
| | | | | | | | Before this change, patman would fail at run time with "AttributeError: module 'patman.__main__' has no attribute 'run_patman'" since the last U-Boot update. * gnu/packages/bootloaders.scm (patman) [arguments] <phases>: New patch-pyproject.toml phase.
* gnu: fuse@3: Bind to default FUSE variable.Tobias Geerinckx-Rice2023-07-23
| | | | | | | | | | * gnu/packages/linux.scm (fuse): Rename this… (fuse-2): …to this, and… (fuse-3): …rename this… (fuse): …to this! (fuse-static): Rename this… (fuse-2-static): …to this. Adjust all users.
* gnu: bootloaders: Avoid top-level circular references.Ludovic Courtès2023-07-20
| | | | | | | | | | | | | | | | | Fixes <https://issues.guix.gnu.org/64745>. The regression was introduced in ed5dc3a25d858a394bb7db937a51d866c3cdc6ed: at the top level, bootloaders.scm and firmware.scm would depend on each other, leading to unbound variables when loaded, depending on the order in which they got loaded. * gnu/packages/bootloaders.scm (make-u-boot-sunxi64-package): Expect 'scp-firmware' to be a promise; force it in 'native-inputs'. (u-boot-pine64-plus, u-boot-pine64-lts, u-boot-pinebook): Wrap the 3rd argument to 'make-u-boot-sunxi64-package' into 'delay'. Reported-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
* gnu: patman: Add python-u-boot-pylib to inputs.Maxim Cournoyer2023-07-19
| | | | | | | * gnu/packages/bootloaders.scm (patman) [inputs]: Add python-u-boot-pylib. [phases]: Remove 'sanity-check. Signed-off-by: Vagrant Cascadian <vagrant@debian.org>
* gnu: Add python-u-boot-pylib.Maxim Cournoyer2023-07-19
| | | | | | | | * gnu/packages/bootloaders.scm (python-u-boot-pylib): New variable. * gnu/packages/patches/u-boot-fix-u-boot-lib-build.patch: New patch. * gnu/local.mk (dist_patch_DATA): Register it. Signed-off-by: Vagrant Cascadian <vagrant@debian.org>
* gnu: u-boot: Add crust firmware to pinebook, pine64_plus and pine64-lts.Vagrant Cascadian2023-07-19
| | | | | | | | | | | * gnu/packages/bootloaders.scm (make-u-boot-sunxi64-package): Take argument for System Control Processor (SCP) firmware. [native-inputs]: Add SCP firmware. [phases]: Adjust 'set-environment to also set SCP variable. (u-boot-pine64-plus, u-boot-pine64-lts, u-boot-pinebook): Pass appropriate crust firmware as the SCP firmware. Reviewed-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
* gnu: u-boot: Update to 2023.07.02.Vagrant Cascadian2023-07-19
| | | | | | | | | | | | | | | | | | | | | | * gnu/packages/patches/u-boot-infodocs-target.patch: Delete file. * gnu/packages/patches/u-boot-patman-guix-integration.patch: Delete file. * gnu/local.mk: De-register patches. * gnu/packages/patches/u-boot-allow-disabling-openssl.patch: Refresh. * gnu/packages/patches/u-boot-sifive-prevent-reloc-initrd-fdt.patch: Refresh. * gnu/packages/bootloaders.scm (u-boot): Update to 2023.07.02. [native-inputs]: Add python-pyelftools. [source]: Remove patches. (u-boot-tools)[phases]: Update substitution for python3-coverage. Adjust 'patch to catch more openssl incompatibilities. Split lines in 'patch phase. [native-inputs]: Add python-filelock and python-pytest-xdist. (make-u-boot-sunxi64-package): Set SCP environment variable. (u-boot-sifive-unleashed): Update to use opensbi. (u-boot-puma-rk3399)[inputs]: Add arm-trusted-firmware-rk3399 to package-inputs instead of native-inputs. (u-boot-rockpro64-rk3399): Disable CONFIG_SPL_FIT_SIGNATURE in config. Reviewed-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
* gnu: u-boot-ts7970-q-2g-1000mhz-c: Fix build.Maxim Cournoyer2023-07-07
| | | | | * gnu/packages/bootloaders.scm (u-boot-ts-mx6) [arguments]: Replace adjust-for-gcc10 phase with adjust-for-current-gcc.
* gnu: u-boot: Remove extraneous space.Maxim Cournoyer2023-07-07
| | | | * gnu/packages/bootloaders.scm (u-boot) [build-system]: Remove extraneous space.
* gnu: u-boot: Fix build under Python 3.10.Josselin Poiret2023-03-26
| | | | | | | | * gnu/packages/patches/u-boot-fix-build-python-3.10.patch: New file. * gnu/local.mk (dist_patch_DATA): Register it. * gnu/packages/bootloaders.scm (u-boot): Apply patch. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu: ipxe: Update to 1.21.1-1.9e1f7a3.Efraim Flashner2023-03-09
| | | | | | | | | * gnu/packages/bootloaders.scm (ipxe): Update to 1.21.1-1.9e1f7a3. [source]: Remove patch. [arguments]: Add phase to skip 1 i386 firmware file. Move setting syslinux path from make-flags to phases. * gnu/packages/patches/ipxe-reproducible-geniso.patch: Remove file. * gnu/local.mk (dist_patch_DATA): Remove it.
* gnu: grub-efi: Remove test inputs.Efraim Flashner2023-03-02
| | | | | * gnu/packages/bootloaders.scm (grub-efi)[native-inputs]: Remove parted, qemu-minimal, xorriso.
* gnu: u-boot-ts7970-q-2g-1000mhz-c: Adjust description.Maxim Cournoyer2023-02-24
| | | | | | * gnu/packages/bootloaders.scm (u-boot-ts7970-q-2g-1000mhz-c): Adjust the u-boot.imx file name on the SD card to the default one used by the 'u-boot-ts7970-q-2g-1000mhz-c-bootloader' bootloader.
* gnu: u-boot-rock64-rk3328: Fix typo that causes boot failure.Simon South2023-02-24
| | | | | | * gnu/packages/bootloaders.scm (u-boot-rock64-rk3328)[arguments]: Fix typo. Signed-off-by: Leo Famulari <leo@famulari.name>
* gnu: Add u-boot-qemu-arm64.Denis 'GNUtoo' Carikli2023-02-14
| | | | * gnu/packages/bootloaders.scm (u-boot-qemu-arm64): New variable.
* gnu: Add u-boot-qemu-armDenis 'GNUtoo' Carikli2023-02-14
| | | | * gnu/packages/bootloaders.scm (u-boot-qemu-arm): New variable.
* gnu: Add u-boot-ts7970-q-2g-1000mhz-c.Maxim Cournoyer2023-01-18
| | | | | * gnu/packages/bootloaders.scm (u-boot-ts-mx6): New variable. (u-boot-ts7970-q-2g-1000mhz-c): Likewise.
* gnu: Add u-boot-sandbox.Maxim Cournoyer2023-01-18
| | | | * gnu/packages/bootloaders.scm (u-boot-sandbox): New variable.
* gnu: u-boot-puma-rk3399: Use gexps and fix build.Maxim Cournoyer2023-01-18
| | | | | | | | | * gnu/packages/bootloaders.scm (u-boot-puma-rk3399) [arguments]: Use gexps. [native-inputs]: Turn into... [inputs]: ... this, and use modify-inputs. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
* gnu: u-boot-rockpro64-rk3399: Use gexps and fix build.Maxim Cournoyer2023-01-18
| | | | | | | | | * gnu/packages/bootloaders.scm (u-boot-rockpro64-rk3399) [phases]: Use gexps. [native-inputs]: Use modify-inputs and turn into... [inputs]: ... this. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
* gnu: u-boot-sifive-unmatched: Use gexps and remove inputs labels.Maxim Cournoyer2023-01-18
| | | | | | | | * gnu/packages/bootloaders.scm (u-boot-sifive-unmatched) [arguments]: Use gexps. Use search-input-file. [inputs]: Remove labels. Use modify-inputs. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
* gnu: u-boot-rock64-rk3328: Use gexps and fix build.Maxim Cournoyer2023-01-18
| | | | | | | | | * gnu/packages/bootloaders.scm (u-boot-rock64-rk3328) [arguments]: Use gexps. [native-inputs]: Remove input labels and use modify-inputs, and turn into... [inputs]: ... this. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
* gnu: make-u-boot-sunxi64-package: Use gexps and fix build.Maxim Cournoyer2023-01-18
| | | | | | | | * gnu/packages/bootloaders.scm (make-u-boot-sunxi64-package) [native-inputs]: Turn into... [inputs]: ... this. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
* gnu: u-boot-firefly-rk3399: Use gexps and fix build.Maxim Cournoyer2023-01-18
| | | | | | | | * gnu/packages/bootloaders.scm (u-boot-firefly-rk3399) [arguments]: Use gexps. [native-inputs]: Use modify-inputs and turn into... [inputs]: ... this. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
* gnu: u-boot-pinebook-pro-rk3399: Remove input labels and use gexps.Maxim Cournoyer2023-01-18
| | | | | | | | | * gnu/packages/bootloaders.scm (u-boot-pinebook-pro-rk3399) [arguments]: Remove input labels. [native-inputs]: Use modify-inputs and turn into... [inputs]: ... this. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
* gnu: make-u-boot-package: Allow disabling cross-compilation.Maxim Cournoyer2023-01-18
| | | | | | | * gnu/packages/bootloaders.scm (make-u-boot-package): Accept #f for the TRIPLET argument to disable cross-compilation. Update doc. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
* gnu: make-uboot-package: Simplify build.Maxim Cournoyer2023-01-18
| | | | | | | | | | * gnu/packages/bootloaders.scm (make-u-boot-package) <same-arch?>: Rename procedure to 'native-build?'. [native-inputs]: Remove field. [arguments]: Specify the #:target argument, when not natively building. Adjust for the above renaming. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
* gnu: u-boot: Reduce the number of native inputs.Maxim Cournoyer2023-01-18
| | | | | | | | | | | | The extra python inputs are only needed for running the u-boot-test-tools test suite. This lowers the requirements for cross-building the various u-boot packages. * gnu/packages/bootloaders.scm (u-boot) [native-inputs]: Delete bc. Move python-coverage, python-pycryptodomex and python-pytest to... * gnu/packages/bootloaders.scm (u-boot-tools) [native-inputs]: ... here. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
* gnu: make-u-boot-package: Install .imx files.Maxim Cournoyer2023-01-18
| | | | | | | | * gnu/packages/bootloaders.scm (make-u-boot-package) [phases] <install>: Add imx to the regexp of files considered for installation. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
* gnu: make-u-boot-package: Add a u-boot argument and use gexps.Maxim Cournoyer2023-01-18
| | | | | | | | | | | | | | And have that u-boot argument used as the complete base of the template, so that a user can override it. * gnu/packages/bootloaders.scm (make-u-boot-package): New U-BOOT argument. Document it. [native-inputs]: Move the native-inputs of U-BOOT first, so that the cross compilation tools can be overridden via U-BOOT. [arguments]: Rewrite using substitute-keyword-arguments, extending rather than overriding most arguments. Use gexps. Do not bind OUTPUTS. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
* gnu: Remove u-boot-malta.Maxim Cournoyer2023-01-18
| | | | | | | | | | | Relates to <https://issues.guix.gnu.org/60786>. The mips64el architecture is not currently supported, causing (guix platform) to raise an exception when attempting to cross-build the package. * gnu/packages/bootloaders.scm (u-boot-malta): Delete variable. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>