summaryrefslogtreecommitdiff
path: root/gnu/packages/bootloaders.scm
AgeCommit message (Expand)Author
2023-11-24gnu: Add grub-coreboot...* 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> Denis 'GNUtoo' Carikli
2023-10-22gnu: patman: Apply patch for new Change-Id setting....* 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 Maxim Cournoyer
2023-09-17gnu: Remove extraneous imports....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> Maxim Cournoyer
2023-09-01gnu: patman: Fix execution....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. Maxim Cournoyer
2023-07-23gnu: fuse@3: Bind to default FUSE variable....* 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. Tobias Geerinckx-Rice
2023-07-20gnu: bootloaders: Avoid top-level circular references....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> Ludovic Courtès
2023-07-19gnu: patman: Add python-u-boot-pylib to inputs....* gnu/packages/bootloaders.scm (patman) [inputs]: Add python-u-boot-pylib. [phases]: Remove 'sanity-check. Signed-off-by: Vagrant Cascadian <vagrant@debian.org> Maxim Cournoyer
2023-07-19gnu: Add python-u-boot-pylib....* 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> Maxim Cournoyer
2023-07-19gnu: u-boot: Add crust firmware to pinebook, pine64_plus and pine64-lts....* 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> Vagrant Cascadian
2023-07-19gnu: u-boot: Update to 2023.07.02....* 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> Vagrant Cascadian
2023-07-07gnu: u-boot-ts7970-q-2g-1000mhz-c: Fix build....* gnu/packages/bootloaders.scm (u-boot-ts-mx6) [arguments]: Replace adjust-for-gcc10 phase with adjust-for-current-gcc. Maxim Cournoyer
2023-07-07gnu: u-boot: Remove extraneous space....* gnu/packages/bootloaders.scm (u-boot) [build-system]: Remove extraneous space. Maxim Cournoyer
2023-03-26gnu: u-boot: Fix build under Python 3.10....* 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> Josselin Poiret
2023-03-09gnu: ipxe: Update to 1.21.1-1.9e1f7a3....* 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. Efraim Flashner
2023-03-02gnu: grub-efi: Remove test inputs....* gnu/packages/bootloaders.scm (grub-efi)[native-inputs]: Remove parted, qemu-minimal, xorriso. Efraim Flashner
2023-02-24gnu: u-boot-ts7970-q-2g-1000mhz-c: Adjust description....* 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. Maxim Cournoyer
2023-02-24gnu: u-boot-rock64-rk3328: Fix typo that causes boot failure....* gnu/packages/bootloaders.scm (u-boot-rock64-rk3328)[arguments]: Fix typo. Signed-off-by: Leo Famulari <leo@famulari.name> Simon South
2023-02-14gnu: Add u-boot-qemu-arm64....* gnu/packages/bootloaders.scm (u-boot-qemu-arm64): New variable. Denis 'GNUtoo' Carikli
2023-02-14gnu: Add u-boot-qemu-arm...* gnu/packages/bootloaders.scm (u-boot-qemu-arm): New variable. Denis 'GNUtoo' Carikli
2023-01-18gnu: Add u-boot-ts7970-q-2g-1000mhz-c....* gnu/packages/bootloaders.scm (u-boot-ts-mx6): New variable. (u-boot-ts7970-q-2g-1000mhz-c): Likewise. Maxim Cournoyer
2023-01-18gnu: Add u-boot-sandbox....* gnu/packages/bootloaders.scm (u-boot-sandbox): New variable. Maxim Cournoyer
2023-01-18gnu: u-boot-puma-rk3399: Use gexps and fix build....* 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> Maxim Cournoyer
2023-01-18gnu: u-boot-rockpro64-rk3399: Use gexps and fix build....* 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> Maxim Cournoyer
2023-01-18gnu: u-boot-sifive-unmatched: Use gexps and remove inputs labels....* 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> Maxim Cournoyer
2023-01-18gnu: u-boot-rock64-rk3328: Use gexps and fix build....* 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> Maxim Cournoyer
2023-01-18gnu: make-u-boot-sunxi64-package: Use gexps and fix build....* gnu/packages/bootloaders.scm (make-u-boot-sunxi64-package) [native-inputs]: Turn into... [inputs]: ... this. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Maxim Cournoyer
2023-01-18gnu: u-boot-firefly-rk3399: Use gexps and fix build....* 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> Maxim Cournoyer
2023-01-18gnu: u-boot-pinebook-pro-rk3399: Remove input labels and use gexps....* 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> Maxim Cournoyer
2023-01-18gnu: make-u-boot-package: Allow disabling cross-compilation....* 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> Maxim Cournoyer
2023-01-18gnu: make-uboot-package: Simplify build....* 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> Maxim Cournoyer
2023-01-18gnu: u-boot: Reduce the number of native inputs....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> Maxim Cournoyer
2023-01-18gnu: make-u-boot-package: Install .imx files....* 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> Maxim Cournoyer
2023-01-18gnu: make-u-boot-package: Add a u-boot argument and use gexps....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> Maxim Cournoyer
2023-01-18gnu: Remove u-boot-malta....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> Maxim Cournoyer
2023-01-10gnu: patman: Fix incomplete get-maintainer patch....The full set of patches already merged into the U-Boot is included for simplicity and avoiding mistakes like the previous one, where a conflicting hunk got dropped, causing the following error when running patman: WARNING: Unknown setting get_maintainer_script * gnu/packages/bootloaders.scm (u-boot) [source]: Replace the u-boot-patman-fix-help.patch, u-boot-patman-local-conf.patch and u-boot-patman-get-maintainer.patch with u-boot-patman-guix-integration.patch. * gnu/local.mk (dist_patch_DATA): Update patch registrations. * gnu/packages/patches/u-boot-patman-fix-help.patch: Delete file. * gnu/packages/patches/u-boot-patman-get-maintainer.patch: Likewise. * gnu/packages/patches/u-boot-patman-local-conf.patch: Likewise. * gnu/packages/patches/u-boot-patman-guix-integration.patch: New file. Reported-by: Jelle Licht <jlicht@fsfe.org> Maxim Cournoyer
2023-01-07gnu: ipxe: Enable syslinux only on i686-linux and x86_64-linux....* gnu/packages/bootloaders.scm (ipxe)[native-inputs]: Conditionally add SYSLINUX. [arguments]: Adjust accordingly. Marius Bakke
2023-01-07gnu: ipxe: Use G-expression....* gnu/packages/bootloaders.scm (ipxe)[arguments]: Convert to G-expression. While at it, remove trailing #t's and label usage. Marius Bakke
2023-01-03gnu: dtc: Install documentation....* gnu/packages/bootloaders.scm (dtc) [modules]: New argument. [phases]: Add install-doc phase. Maxim Cournoyer
2023-01-03gnu: dtc: Use gexps....* gnu/packages/bootloaders.scm (dtc) [arguments]: Use gexps. Maxim Cournoyer
2023-01-03gnu: dtc: Move native-inputs and inputs after arguments....* gnu/packages/bootloaders.scm (dtc) [native-inputs, inputs]: Move after the arguments field, per convention. Maxim Cournoyer
2022-12-28gnu: u-boot-am335x-boneblack: Revert to old name....This reverts to the name this package had previous to commit c2c1dfdf5760873f1db86d14873f725a105f7feb ("gnu: bootloader: Add U-Boot packages for Raspberry Pi models."), which caused the package name to be derived from the board name. * gnu/packages/bootloaders.scm (u-boot-am335x-evm-boneblack): Remove the NAME-SUFFIX keyword argument. Specify the full name via the name field. * gnu/bootloader/u-boot.scm (u-boot-beaglebone-black-bootloader): Adjust to the renamed package. Reported-by: Vagrant Cascadian <vagrant@debian.org> Maxim Cournoyer
2022-12-28gnu: Add patman....* gnu/packages/bootloaders.scm (patman): New variable. * gnu/packages/patches/u-boot-patman-fix-help.patch: New patch. * gnu/packages/patches/u-boot-patman-get-maintainer.patch: Likewise. * gnu/packages/patches/u-boot-patman-local-conf.patch: Likewise. * gnu/local.mk (dist_patch_DATA): Register them. Maxim Cournoyer
2022-12-28gnu: Add u-boot-documentation....* gnu/packages/patches/u-boot-infodocs-target.patch: New patch. * gnu/local.mk: (dist_patch_DATA): Register it. * gnu/packages/bootloaders.scm (u-boot): Apply it. (u-boot-documentation): New variable. Maxim Cournoyer
2022-12-25gnu: syslinux: Honor #:tests? flag....* gnu/packages/bootloaders.scm (syslinux)[arguments]: Adjust custom 'check phase to honor the #:tests? flag. Efraim Flashner
2022-12-22gnu: ipxe-qemu: Fix building on 32-bit systems....* gnu/packages/bootloaders.scm (ipxe-qemu)[native-inputs]: When building from a 32-bit system add a binutils variant capable of assembling 64-bit instructions and an ld-wrapper using it. Efraim Flashner
2022-12-22gnu: iPXE: Embed the actual package version....* gnu/packages/bootloaders.scm (ipxe)[arguments]: Add phase to set the proper version. Marius Bakke
2022-12-22gnu: Install QEMU firmare files to 'share/qemu'....This paves the way for using a native search path in the future. * gnu/packages/bootloaders.scm (ipxe-qemu)[arguments]: Install firmware files to 'share/qemu' instead of 'share/firmware'. * gnu/packages/firmware.scm (seabios-qemu)[arguments]: Likewise. * gnu/packages/virtualization.scm (qemu)[arguments]: Adjust accordingly. Marius Bakke
2022-12-22gnu: ipxe-qemu: Cross-compile on non x86_64....* gnu/packages/bootloaders.scm (ipxe-qemu)[native-inputs]: When not targeting x86_64, add CROSS-GCC and CROSS-BINUTILS. [arguments]: Set CROSS_COMPILE in that case. Marius Bakke
2022-12-20gnu: u-boot-am335x-evm-boneblack: Fix variable name....* gnu/packages/bootloaders.scm (u-boot-am335x-boneblack): Rename to... (u-boot-am335x-evm-boneblack), to match the package name. * gnu/bootloader/u-boot.scm (u-boot-beaglebone-black-bootloader): Adjust accordingly. Maxim Cournoyer
2022-12-20gnu: u-boot: Add pkg-config to native inputs....* gnu/packages/bootloaders.scm (u-boot) [native-inputs]: Add pkg-config. Maxim Cournoyer