summaryrefslogtreecommitdiff
path: root/gnu/packages/bootloaders.scm
AgeCommit message (Collapse)Author
2022-12-22gnu: iPXE: Embed the actual package version.Marius Bakke
* gnu/packages/bootloaders.scm (ipxe)[arguments]: Add phase to set the proper version.
2022-12-22gnu: Install QEMU firmare files to 'share/qemu'.Marius Bakke
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.
2022-12-22gnu: ipxe-qemu: Cross-compile on non x86_64.Marius Bakke
* 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.
2022-12-20gnu: u-boot-am335x-evm-boneblack: Fix variable name.Maxim Cournoyer
* 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.
2022-12-20gnu: u-boot: Add pkg-config to native inputs.Maxim Cournoyer
* gnu/packages/bootloaders.scm (u-boot) [native-inputs]: Add pkg-config.
2022-12-20gnu: u-boot-tools: Delete trailing #t.Maxim Cournoyer
* gnu/packages/bootloaders.scm (u-boot-tools) [phases]: Delete trailing #t.
2022-12-20gnu: Add ipxe-qemu.Marius Bakke
* gnu/packages/bootloaders.scm (ipxe-qemu): New variable.
2022-12-14gnu: make-u-boot-package: Build verbosily.Maxim Cournoyer
* gnu/packages/bootloaders.scm (make-u-boot-package) [arguments] <make-flags>: Add KBUILD_VERBOSE=1.
2022-12-12gnu: u-boot: Use plain list of inputs.Ricardo Wurmus
* gnu/packages/bootloaders.scm (u-boot)[native-inputs]: Drop input labels.
2022-12-12gnu: u-boot: Update to 2022.10.Ricardo Wurmus
* gnu/packages/bootloaders.scm (u-boot): Update to 2022.10. * gnu/packages/patches/u-boot-allow-disabling-openssl.patch: Disable fit_pre_load_data, which depends on openssl.
2022-12-01gnu: bootloader: Add U-Boot packages for Raspberry Pi models.Stefan
* gnu/packages/bootloader.scm (make-u-boot-package): Add keyword parameters 'name-suffix' and 'append-description'. (make-u-boot-bin-package): New procedure (%u-boot-rpi-efi-configs): New variable. (%u-boot-rpi-description-32-bit, %u-boot-rpi-description-64-bit, %u-boot-rpi-efi-description, %u-boot-rpi-efi-description-32-bit): New variables. (u-boot-rpi-2-efi, u-boot-rpi-2-bin, u-boot-rpi-2-efi-bin}) (u-boot-rpi-3-32b-efi, u-boot-rpi-3-32b-bin, u-boot-rpi-3-32b-efi-bin) (u-boot-rpi-4-32b-efi, u-boot-rpi-4-32b-bin, u-boot-rpi-4-32b-efi-bin) (u-boot-rpi-arm64-efi, u-boot-rpi-arm64-bin) u-boot-rpi-arm64-efi-bin): New packages. (u-boot-tools): Reuse the description of u-boot. (u-boot-am335x-boneblack, u-boot-am335x-evm) (u-boot-nintendo-nes-classic-edition, u-boot-novena): Make use of new keyword parameters of make-u-boot-package. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2022-12-01gnu: bootloader: Rework chaining, add grub-efi-netboot-removable-bootloader.Stefan
This rework allows to use an (efi-bootloader-chain) like this, which is able to boot over network or local storage, depending on whether the bootloader target has support for symbolic links: (operating-system (bootloader (bootloader-configuration (bootloader (efi-bootloader-chain grub-efi-netboot-removable-bootloader #:packages (list my-firmware-package my-u-boot-package) #:files (list (plain-file "config.txt" "kernel=u-boot.bin")) #:hooks my-special-bootloader-profile-manipulator)) (targets '("/booti/efi")) …)) …) * doc/guix.texi (Bootloader Configuration): Describe the new ‘grub-efi-netboot-removable-bootloader’. Mention the file names used and that the UEFI Boot Manager is not modified. Advise to disable write-access over TFTP. * gnu/bootloader.scm (efi-bootloader-profile): Allow a list of packages and collect everything directly in the profile, avoiding a separate collection directory. Renamed the profile from "bootloader-profile" to "efi-bootloader-profile". [bootloader-collection]: Rename to... [efi-bootloader-profile-hook]: ... this and remove unused modules. Do not create the now extraneous collection directory. (efi-bootloader-chain): Add PACKAGES and DISK-IMAGE-INSTALLER arguments. Remove handling of the collection directory, now only calling the given installer procedure. * gnu/bootloader/grub.scm (make-grub-efi-netboot-installer): New helper. (make-grub-configuration): New helper based on (grub-configuration-file). Add a GRUB argument, fix indentation, remove previous code retrieving GRUB from CONFIG. (grub-configuration-file): Make use of make-grub-configuration. (grub-efi-configuration-file): New procedure. (grub-cfg): New variable to replace "/boot/grub/grub.cfg". (install-grub-efi-netboot): Remove, splitting logic to... (make-grub-efi-netboot-installer): ... this new helper procedure, as well as to make-grub-efi-netboot, added below. (grub-bootloader): Adjust to use the GRUB-CFG. (grub-efi-bootloader): Likewise. Removed inheritance and declare all fields explicitly. (make-grub-efi-netboot-bootloader): New procedure. (grub-efi-netboot-bootloader): Use it. (grub-efi-netboot-removable-bootloader): New variable. * gnu/packages/bootloaders.scm (make-grub-efi-netboot): New procedure. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2022-12-01gnu: u-boot-pinebook-pro-rk3399: Fix indentation.Maxim Cournoyer
* gnu/packages/bootloaders.scm (u-boot-pinebook-pro-rk3399): Fix indentation.
2022-12-01gnu: u-boot-rockpro64-rk3399: Fix indentation.Maxim Cournoyer
* gnu/packages/bootloaders.scm (u-boot-rockpro64-rk3399): Fix indentation.
2022-12-01gnu: u-boot-firefly-rk3399: Fix indentation.Maxim Cournoyer
* gnu/packages/bootloaders.scm (u-boot-firefly-rk3399): Fix indentation.
2022-12-01gnu: u-boot-puma-rk3399: Fix indentation.Maxim Cournoyer
* gnu/packages/bootloaders.scm (u-boot-puma-rk3399): Fix indentation.
2022-12-01gnu: u-boot-nintendo-nes-classic-edition: Fix indentation.Maxim Cournoyer
* gnu/packages/bootloaders.scm (u-boot-nintendo-nes-classic-edition): Fix indentation.
2022-12-01gnu: make-u-boot-package: Fix indentation.Maxim Cournoyer
* gnu/packages/bootloaders.scm (make-u-boot-package): Fix indentation.
2022-12-01gnu: u-boot-tools: Fix indentation.Maxim Cournoyer
* gnu/packages/bootloaders.scm (u-boot-tools): Fix indentation.
2022-12-01gnu: dtc: Fix indentation.Maxim Cournoyer
* gnu/packages/bootloaders.scm (dtc): Fix indentation.
2022-12-01gnu: grub-efi32: Fix indentation.Maxim Cournoyer
* gnu/packages/bootloaders.scm (grub-efi32): Fix indentation.
2022-12-01gnu: grub: Normalize indentation.Maxim Cournoyer
* gnu/packages/bootloaders.scm (grub): Re-indent package and remove trailing #t.
2022-12-01build: kconfig: Add new module to modify defconfig files.Stefan
* guix/build/kconfig.scm: New file. * Makefile.am: Register it. * gnu/packages/bootloaders.scm (make-u-boot-package) (make-u-boot-sunxi64-package): Add DEFCONFIGS and CONFIGS arguments. Remove dead code. (u-boot-am335x-boneblack, u-boot-pinebook) (u-boot-novena,u-boot-rockpro64-rk3399): Simplify packages by using the new keyword arguments. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2022-09-15gnu: u-boot-tools: Disable check for 100% coverage.Marius Bakke
* gnu/packages/bootloaders.scm (u-boot-tools)[arguments]: Add substitution.
2022-08-14gnu: os-prober: Update to 1.81.Tobias Geerinckx-Rice
* gnu/packages/bootloaders.scm (os-prober): Update to 1.81.
2022-08-05gnu: grub-efi32: Fix building on aarch64-linux.Efraim Flashner
* gnu/packages/bootloaders.scm (grub-efi32)[arguments]: When building for aarch64-linux add TARGET_CC to configure-flags. [native-inputs]: When building for aarch64-linux add cross-gcc and cross-binutils for arm-linux-gnueabihf.
2022-06-24image: Add support for 32bit UEFI.Denis 'GNUtoo' Carikli
* gnu/bootloader/grub.scm (grub-efi32-bootloader): New variable. (install-grub-efi32): New variable. * gnu/build/bootloader.scm (install-efi): Add a 'targets' keyword argument. (install-efi-loader): Likewise. * gnu/build/image.scm (initialize-efi32-partition): New procedure. * gnu/packages/bootloaders.scm (grub-efi32): New variable. * gnu/system/image.scm (esp32-partition): New variable (efi32-disk-image): New variable. (efi32-raw-image-type): New variable. (system-disk-image)[partition-image]: Set '#:grub-efi32' when calling the partition initializer. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-05-29gnu: os-prober: Update to 1.80.Tobias Geerinckx-Rice
* gnu/packages/bootloaders.scm (os-prober): Update to 1.80. [arguments]: Don't explicitly return #t from phases.
2022-04-05gnu: u-boot-rockpro64-rk3399: Add support for booting from SCSI/SATA.Ricardo Wurmus
* gnu/packages/bootloaders.scm (u-boot-rockpro64-rk3399)[arguments]: Add 'patch-config phase to support SCSI/SATA disks. Signed-off-by: Vagrant Cascadian <vagrant@debian.org>
2022-04-05gnu: u-boot: Update to 2022.04.Vagrant Cascadian
* gnu/packages/bootloaders.scm (u-boot): Update to 2022.01. [native-inputs]: Add gnutls, tinfo, libuuid. (u-boot-qemu-riscv64-smode): Drop custom patches. * gnu/packages/patches/u-boot-allow-disabling-openssl.patch: Refresh patch. * gnu/packages/patches/u-boot-riscv64-fix-extlinux.patch: Remove patch, applied upstream. * gnu/local.mk (dist_patch_DATA): Update with removed patches. Co-authored-by: Ricardo Wurmus <rekado@elephly.net>
2022-03-07gnu: dtc: Use pkg-config-for-target.Efraim Flashner
* gnu/packages/bootloaders.scm (dtc)[arguments]: Adjust custom 'patch-pkg-config phase to use pkg-config-for-target.
2022-03-07gnu: dtc: Use different source tarball.Efraim Flashner
The xz compressed source failed to unpack on riscv64-linux. * gnu/packages/bootloaders.scm (dtc)[source]: Use gzipped tarball.
2022-02-28gnu: dtc: Don't depend unconditionally on valgrind.Efraim Flashner
* gnu/packages/bootloaders.scm (dtc)[native-inputs]: Only include valgrind when building on a system which supports valgrind.
2021-12-30gnu: u-boot-sifive-unmatched: Build with opensbi.Efraim Flashner
* gnu/packages/bootloaders.scm (u-boot-sifive-unmatched)[arguments]: Add phase to set location of opensbi firmware. [inputs]: Add opensbi-generic. Signed-off-by: Vagrant Cascadian <vagrant@debian.org>
2021-12-13gnu: Simplify package inputs.Ludovic Courtès
This commit was obtained by running: ./pre-inst-env guix style without any additional argument.
2021-12-05Merge remote-tracking branch 'origin/master' into core-updates-frozenRicardo Wurmus
2021-11-27gnu: u-boot: Fix rk3399 boot from emmc.Pierre Langlois
* 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-17Merge branch 'master' into core-updates-frozenLudovic Courtès
2021-11-14gnu: u-boot, u-boot-am335x-boneblack, u-boot-novena: Fix lint warnings.Vagrant Cascadian
* gnu/packages/bootloaders.scm (u-boot)[description]: Add second space after sentence. (u-boot-am335x-boneblack)[description]: Likewise. (u-boot-novena)[description]: Likewise.
2021-10-31Merge remote-tracking branch 'origin/master' into core-updates-frozenEfraim Flashner
2021-10-24gnu: u-boot: Update to 2021.10.Vagrant Cascadian
* 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-12Merge remote-tracking branch 'origin/master' into core-updates-frozen.Mathieu Othacehe
2021-10-03gnu: os-prober: Update to 1.79.Tobias Geerinckx-Rice
* gnu/packages/bootloaders.scm (os-prober): Update to 1.79.
2021-09-28gnu: syslinux: Fix build.Mathieu Othacehe
* gnu/packages/patches/syslinux-gcc10.patch: New file. * gnu/packages/patches/syslinux-strip-gnu-property.patch: New file. * gnu/local.mk (DIST_PATCH_DATA): Add them. * gnu/packages/bootloaders.scm (syslinux)[source]: Use them. [arguments]: Only strip debug symbols.
2021-09-23gnu: u-boot-tools: Install the 'kwboot' executable.Marius Bakke
* gnu/packages/bootloaders.scm (u-boot-tools)[arguments]: Install one more file.
2021-09-20gnu: grub: Strip debug symbols.Mathieu Othacehe
This is a follow-up of 71aa29911cf3f4e6db5f9bff9237308b5f93283d. Grub does not support modules stripped with --strip-unneeded but supports the --strip-debug option. * gnu/packages/bootloaders.scm (grub)[arguments]<#:strip-binaries>: Set to true and use ... <#:strip-flags>: ... to pass --strip-debug instead of --strip-unneeded.
2021-09-19gnu: grub: Do not strip modules.Mathieu Othacehe
* gnu/packages/bootloaders.scm (grub)[arguments]<#:strip-binaries>: Set to false to prevent Grub modules stripping.
2021-09-07Merge branch 'master' into core-updates-frozenLudovic Courtès
2021-09-05gnu: u-boot-nintendo-nes-classic-edition: Make it actually boot again.Danny Milosavljevic
* 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-08-12Merge branch 'master' into core-updates-frozenMarius Bakke
Conflicts: gnu/packages/algebra.scm gnu/packages/games.scm gnu/packages/golang.scm gnu/packages/kerberos.scm gnu/packages/mail.scm gnu/packages/python.scm gnu/packages/ruby.scm gnu/packages/scheme.scm gnu/packages/tex.scm gnu/packages/tls.scm gnu/packages/version-control.scm