summaryrefslogtreecommitdiff
path: root/resources/scripts/build
AgeCommit message (Collapse)Author
2022-08-25u-boot-libre: Fix reproducability issue due to timezoneAlper Nebi Yasak
The checksums in tests/u-boot-libre.sha512 do not match the tarballs generated by this script when ran on a different timezone, e.g. UTC+3. Explicitly specify a timezone for the tar command that makes the tarballs match the checksums. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>
2022-07-10Libreboot 2022071020220710Leah Rowe
2022-03-11Perform the silentoldconfig step of seabios before full makeJohn Doe
I was running into a race condition when rebuilding seabios with a high cpu count, resulting in failure with this error message: cc1: fatal error: can't open 'out/src/asm-offsets.s' for writing: No such file or directory Performing the silentoldconfig step before the full make step seems to resolve the failure.
2022-02-16boot-libre: add --gen-blob-script to generate a deblob scriptDenis 'GNUtoo' Carikli
This should enable various distributions and build system to reuse the generated script to deblob u-boot releases themselves. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
2022-02-16boot-libre: ship the blob list tooDenis 'GNUtoo' Carikli
This should enable various distributions and build system to reuse that blob to deblob u-boot releases themselves. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
2022-02-16u-boot-libre: Add help and support for multiple versionsDenis 'GNUtoo' Carikli
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
2022-02-16u-boot-libre: Add reproducible builds and testsDenis 'GNUtoo' Carikli
The tar options come from the tutorial to remove archives metadata at reproducible-builds.org[1]. [1]https://reproducible-builds.org/docs/archives/ Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
2022-02-16u-boot-stable-src-release: rename to u-boot-libreDenis 'GNUtoo' Carikli
If the script is named u-boot-stable-src-release and that users see an u-boot-libre tarball they will not make the link between both unless we rename the script. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
2022-02-16u-boot-stable-src-release: follow u-boot and linux-libre naming conventionsDenis 'GNUtoo' Carikli
Many people using FSDG compliant distributions or wanting to use one are already familiar with linux-libre. This change renames the resulting tarball to u-boot-libre to make it easier for people to understand the goal of this tarball. In addition we also rename the version from v2021.07 (which is the git tag corresponding to the release) to 2021.07 as u-boot upstream tarballs use that. The revision wasn't bumped as we didn't have any releases of u-boot-libre yet. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
2022-02-10Add support for releasing deblobbed u-boot 2020.07 source tarballsDenis 'GNUtoo' Carikli
Once the tarball are released, it will enable distributions to use these tarballs to produce deblobbed u-boot packages. Note that the produced tarball is not reproducible yet. Because of that it has to be trusted. During a release, it's a good idea to sign the uncompressed tarball as the various compression formats and associated tools make different tradeoffs. For instance with xz, xz -9e tends to compress really well with the the most used xz[1] implementation, and most GNU/Linux users probably already have it installed, but and the drawbacks is that the format is very fragile[2]. The lzip format is more suited for long term archiving but its most packaged implementation[3] is less likely to be already installed by users than more well known formats like xz, bzip2 or gzip. Being able to add more compression formats after the release is also useful, for instance to accommodate different build systems or use cases (like being able to build u-boot with less dependencies in distributions like Guix, or building u-boot directly on devices which don't have enough RAM for xz for instance). [1]https://tukaani.org/xz/ [2]https://www.nongnu.org/lzip/xz_inadequate.html [3]https://www.nongnu.org/lzip/ Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
2021-12-29build/boot/roms: fix wrong variable nameLeah Rowe
2021-12-29build/boot/roms: substitute grub_scan_disk according to board.cfgLeah Rowe
2021-12-11Add ARMv7 and AArch64 supportVitali64
2021-12-09add myself in the build/roms_helper scriptVitali64
2021-12-02Add script for installing dependencies on Fedora 35. Based on work done by qeeg.Wei Mingzhi
2021-12-02Do not treat warnings as errors when building flashrom. This fixes build ↵Wei Mingzhi
failure with newer versions of GCC.
2021-11-30build/roms: warn if grub_scan_disk is not set at allLeah Rowe
2021-11-30build/roms: warn when grub_scan_disk is set incorrectlyLeah Rowe
2021-11-30build/boot/roms: don't error out if grub_scan_disk is invalidLeah Rowe
just set it to the default, instead
2021-11-30fix incorrect logic on recent grub optimization patchLeah Rowe
or was used, instead of and
2021-11-28Workaround for grub's slow bootVitali64
2021-11-22update coreboot and nuke tianocore20211122Leah Rowe
tianocore is a liability for the libreboot project. it's a bloated mess, and unreliable, broken on many boards, and basically impossible to audit. i don't trust tianocore, so i'm removing it.
2021-11-20added dependency script for voidshmalebx9
2021-11-18build/boot/roms: fix wrong filename for pike2008 option romsLeah Rowe
2021-11-18Fix https://notabug.org/libreboot/lbmk/issues/59Leah Rowe
2021-11-18remove pandoc from dependencies scriptsLeah Rowe
the static site generator was forked into https://untitled.vimuser.org/
2021-11-01Revert "nuke memtest86+"Leah Rowe
This reverts commit 84a1bc502b1f296d8ad6389b9e38aa3e0ca94958.
2021-10-31nuke memtest86+Leah Rowe
2021-10-31re-add grub backgrounds and update grub. mitigate missing charactersLeah Rowe
mitigate missing characters in unifont for border/arrow characters. this saves space because now it is no longer necessary to add a custom font the background added has the libreboot logo on it, and it's 10kb in size unlike the old gnulove background that was hundreds of KB
2021-10-30Disable PIKE2008 option ROM loading on KGPE-D16/KCMA-D8Leah Rowe
These option ROMs are known to cause a system hang. If you insert an empty option ROM into CBFS, it disables any option ROM loading for those devices when using SeaBIOS.
2021-06-06The tianocore build script fails, because there are no coreboot-version file ↵madbehaviorus
are available. So I set it as commit and the script works like a charm
2021-06-03replace #!/bin/bash with #!/usr/bin/env bashRon Nazarov
2021-05-23build/release/src: don't auto-download tianocore20210522Leah Rowe
it will already be there, if it was used when build rom images
2021-05-22build/crossgcc: insert .coreboot-versionLeah Rowe
2021-05-22don't include memtest by default. make it a board.cfg optionLeah Rowe
2021-05-18libreboot!Leah Rowe
this is forked from the "libre" branch in osboot, which is itself a libre, deblobbed fork of osboot, a blobbed up fork of libreboot libreboot needed to be purged clean. this is the new libreboot development repository. the old one has been abandoned