summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-03-06scripts: download: coreboot: fix ./download allDenis 'GNUtoo' Carikli
When running ./download all, we have the following error: resources/scripts/download/coreboot: Line 52: $1 is not set. The ./download all command was broken by the following commit: 2bb805e2e07a7d3e1268a09d720ecd13e26af418 (download: Add --help in the individual download scripts). Reported-by: madbehaviorus[m] on #libreboot on liberachat Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
2022-03-04scripts: process git versions when lbmk is a worktree or submoduleJohn Doe
git worktrees have plaintext .git files which contain the gitdir in their content.
2022-02-19Merge branch 'master' of GNUtoo/lbmk into masterLeah Rowe
2022-02-16scripts: download: u-boot: fix u-boot repository URLDenis 'GNUtoo' Carikli
Without that fix we have the following warning during the download: Cloning into 'u-boot/u-boot'... warning: redirecting to https://source.denx.de/u-boot/u-boot.git/ Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
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-16download: Add --help in the individual download scriptsDenis 'GNUtoo' Carikli
This doesn't change the existing usage of the scripts: - For the Coreboot script, before this change, all arguments that were passed were considered as board to download the Coreboot source code for. Here we added the '--help' and '--list-boards' arguments, so it should not be an issue as it is extremely unlikely that a board would be called '--help' or '--list-boards'. - All the other scripts don't use any arguments so passing --help should not conflict with the existing usage. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
2022-02-16scripts: download: u-boot: Add help and support for multiple revisionsDenis 'GNUtoo' Carikli
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-10Merge branch 'master' of GNUtoo/lbmk into masterLeah Rowe
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>
2022-02-10scripts: download: coreboot: Fix check for build errorDenis 'GNUtoo' Carikli
build_error is supposed to be a file since it's created with touch. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
2022-02-08memtest86+: fix build error (patch from Félicien Pillot)Leah Rowe
2021-12-30optimize grub modules: pre-load ones that will likely be usedLeah Rowe
2021-12-29build/boot/roms: fix wrong variable nameLeah Rowe
2021-12-29coreboot/*: set grub_scan_disk to ahci on most boardsLeah Rowe
on ga-g41m-es2l, set it to ata
2021-12-29apple/macbook21: set grub_scan_disk to ahciLeah Rowe
2021-12-29build/boot/roms: substitute grub_scan_disk according to board.cfgLeah Rowe
2021-12-29grub.cfg: skip ata/ahci according to grub_scan_diskLeah Rowe
logic for setting it in grub.cfg will be done in the next commit
2021-12-29grub.cfg: clean up messages, be less verboseLeah Rowe
2021-12-29grub.cfg: add isolinux menuentry for ata* (replace broken cd/dvd menuentry)Leah Rowe
2021-12-29grub.cfg: delete option to boot from CD/DVDLeah Rowe
it's confusing, broken and most people nowadays don't use optical drives it's not even possible in most setups anyway
2021-12-29grub.cfg: clean up commentsLeah Rowe
2021-12-29grub.cfg: don't use */? wildcards. they slow down the bootLeah Rowe
hardcode everything. in practise, the new logic will work just the same in almost all cases, for most people, but it works around performance issues in grub. cleanup of grub.cfg will be done in the next commit
2021-12-29grub.cfg: optimize search_isolinuxLeah Rowe
GRUB is slow at device enumeration. This patch works around it in the same way as vitali64's recent patch.
2021-12-29remove entry in .gitignore from the last commitLeah Rowe
2021-12-29Fix grub's slow bootVitali64
On many boards, grub takes a very long time to search for a grub.cfg file on the disk. The problem is the search_grub function which takes a long time to complete. I (vitali64) studied the grub.cfg from 2016 and the grub.cfg from 2021 and optimized the grub.cfg. It should be faster now.
2021-12-20lenovo/r400: disable death beepsLeah Rowe
2021-12-19fix usb keyboards in grubLeah Rowe
2021-12-12Revert "grub.cfg: enable USB keyboards"Leah Rowe
This reverts commit ed63e94914a407c68d91733a5563005138d4b05f.
2021-12-11coreboot configs: don't enable wifi during early initLeah Rowe
2021-12-11grub.cfg: enable USB keyboardsLeah Rowe
2021-12-11grub.cfg: disable serial outputLeah Rowe
2021-12-11coreboot configs: disable serial output during coreboot initializationLeah Rowe
2021-12-11add scripts for modifying coreboot configsLeah Rowe
2021-12-11Add ARMv7 and AArch64 supportVitali64
2021-12-09add myself in the build/roms_helper scriptVitali64
2021-12-07macbook21_16mb: always clear DRAM on regular bootLeah Rowe
2021-12-07Add macbook*1 16mb configsVitali64
2021-12-04Merge branch 'master' of weimzh/lbmk into masterLeah Rowe
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-12-01Fix broken SpeedStep on GM45 laptops such as ThinkPad X200, T400, T500, W500Leah Rowe
Coreboot is enabling PECI on these CPUs which, according to Intel erratum, must only be done after loading microcode updates, otherwise the CPUID feature set becomes corrupted. That's my understanding, and I think this is why SpeedStep is broken. To be specific, it could but but operating systems no longer detect that the feature is supported. In any case, belgin on IRC found the commit in coreboot, after a bisect, enabling PECI. This commit in Libreboot adds a patch, reverting coreboot's PECI patch.
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