summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
23 hoursinit.sh: explicitly create cache/Leah Rowe
otherwise, an error occurs when doing ./mk release Signed-off-by: Leah Rowe <leah@libreboot.org>
24 hoursRevert "remove unar from dependencies"Leah Rowe
This reverts commit e8a3cd8cd0e99dbb99dbb1811c0396d2a3ee00c4. We still need this for extracting the CAB files containing KBC1126 EC firmware. Signed-off-by: Leah Rowe <leah@libreboot.org>
26 hoursxbmk: don't call mkdir. use xbmkdir (new function)Leah Rowe
xbmkdir checks if a directory exists, before running mkdir, and then still uses -p i was testing xbmk on arch linux today, and noticed that it errored out when a directory already exists. i'm mitigating against buggy or differently behaving mkdir implementations this way, by wrapping around it. Signed-off-by: Leah Rowe <leah@libreboot.org>
26 hourscoreboot/x2e_n150: fix the alderlake n fsp linkLeah Rowe
this fixes ./mk inject Signed-off-by: Leah Rowe <leah@libreboot.org>
26 hourscoreboot/default: don't require alderlake fsp repoLeah Rowe
we need the full fd path to be automatically set. this patch prevents it from being removed by ./mk -u coreboot Signed-off-by: Leah Rowe <leah@libreboot.org>
26 hoursdon't compress alderlake fspLeah Rowe
for reproducibility, we must not compress it Signed-off-by: Leah Rowe <leah@libreboot.org>
28 hourscoreboot/x2e_n150: unset CONFIG_FSP_FULL_FDLeah Rowe
otherwise, ./mk -u screws up the FSP path we were still using the correct path for downloading in ./mk inject, and in practise, the file used by coreboot would have been the same, but without our hash verification after splitting up the FSP. that's the main reason we split FSP in lbmk, rather than relying on coreboot's logic for this. Signed-off-by: Leah Rowe <leah@libreboot.org>
31 hoursvendor.sh: re-do the previously reverted changeLeah Rowe
but do it better. this time, the change won't cause any behavioural differences. the reason for the change is we don't want "$@" inside an eval statement, if such calamity can be avoided. Signed-off-by: Leah Rowe <leah@libreboot.org>
32 hoursvendor.sh: fix setvfileLeah Rowe
this reverts change made to this function in: commit 4f01dc704a1ed0e18fc0efc1500e61b4bc41b0e6 Author: Leah Rowe <leah@libreboot.org> Date: Sat Oct 4 06:13:15 2025 +0100 xbmk: remove even more eval statements for some reason, the new code caused sch5545 ec firmware to never download. the old code wasn't horribly broken, so just use that. Signed-off-by: Leah Rowe <leah@libreboot.org>
38 hoursrelease.sh: preserve clean sbase before buildingLeah Rowe
this way, the clean version can be placed inside the release tarball. there is a make clean option in sbase, but we should not really on this. the design of xbmk is that a clean src tarball is created. there must not be build artifications in it. Signed-off-by: Leah Rowe <leah@libreboot.org>
38 hoursxbmk: use sbase sha512sum, not host sha512sumLeah Rowe
the --status flag seems to be a GNUism as stated in the previous commit, i import sbase suckless now, so as to have a consistent implementation of sha512sum. this ensures that its output is reliable, when i'm using the output of this command within backticks. Signed-off-by: Leah Rowe <leah@libreboot.org>
39 hoursconfig/git: import suckless sbaseLeah Rowe
i currently use the output of sha512sum in several places of xbmk, which is a bit unreliable in case output changes. other cases where i use util outputs in variables are probably reliable, because i'm using mostly posix utilities in those. to mitigate this, i now import suckless sbase, which has a reasonable sha512sum implementation. *every* binary it builds is being placed in build.list, because i'll probably start using more of them. for example, i may start modifying the "date" implementation, adding the GNU-specific options that i need as mentioned on init.sh i'm importing it in util/ because the sha512sum util is needed for verifying project sources, so if sbase itself is a "project source", that means we can into a chicken and egg bootstrapping problem. this is sbase at revision: 055cc1ae1b3a13c3d8f25af0a4a3316590efcd48 Signed-off-by: Leah Rowe <leah@libreboot.org>
40 hoursxbmk: rename cv variables, for clarityLeah Rowe
the new names are still a bit crap, but a bit better. Signed-off-by: Leah Rowe <leah@libreboot.org>
40 hourstree.sh: rename xtree to xgcctree, for clarityLeah Rowe
Signed-off-by: Leah Rowe <leah@libreboot.org>
40 hourstree.sh: rename btype to buildtype, for clarityLeah Rowe
Signed-off-by: Leah Rowe <leah@libreboot.org>
40 hoursvendor.sh: rename _t to blobtype, for code clarityLeah Rowe
Signed-off-by: Leah Rowe <leah@libreboot.org>
40 hourstree.sh: rename _f to flag, for code clarityLeah Rowe
Signed-off-by: Leah Rowe <leah@libreboot.org>
40 hoursget.sh: delete tmp patch list when doneLeah Rowe
yet another oversight Signed-off-by: Leah Rowe <leah@libreboot.org>
40 hoursget.sh: sort patches when applyingLeah Rowe
this was an oversight in my recent patch unrolling the condensed code lines, to remove eval statements. Signed-off-by: Leah Rowe <leah@libreboot.org>
40 hoursvendor.sh: make the fsp hack a bit cleanerLeah Rowe
it's still a dirty hack. i really should make a better check here. Signed-off-by: Leah Rowe <leah@libreboot.org>
40 hoursvendor.sh: correction to fsp hackLeah Rowe
i unrolled these lines earlier, but this line was incorrect; dl was already handled. it's dl_bkup that we have to handle here. Signed-off-by: Leah Rowe <leah@libreboot.org>
40 hoursvendor.sh: minor cleanupLeah Rowe
Signed-off-by: Leah Rowe <leah@libreboot.org>
40 hoursrelease.sh: remove eval statement in nuke()Leah Rowe
the symlink check is what made me use eval, but the symlink check is not required, since i check every entry that goes in nuke.list anyway. not having that symlink check is safer than having an eval statement on that line. Signed-off-by: Leah Rowe <leah@libreboot.org>
40 hoursxbmk: rename the "dry" variable to if_not_dry_runLeah Rowe
and add a line break where it is used now it is essentially a macro of sorts, used in terms of syntax, to mean the same as: if [ "$dry" != ":" ]; do thing fi in this case, we say: $if_not_dry_build \ thing yes. macros in sh are a thing. Signed-off-by: Leah Rowe <leah@libreboot.org>
41 hourscoreboot/mkhelper: don't use evalLeah Rowe
Signed-off-by: Leah Rowe <leah@libreboot.org>
41 hoursxbmk: remove even more eval statementsLeah Rowe
in one or two cases, the use of eval is retained, but modified so as to be safer. Signed-off-by: Leah Rowe <leah@libreboot.org>
43 hoursxbmk: remove the setcfg functionLeah Rowe
this allows me to remove several eval calls, and the errors relating to configs can now show exactly which function they occured in, allowing for easier debugging. once again, eval should be used sparingly if at all. Signed-off-by: Leah Rowe <leah@libreboot.org>
45 hoursxbmk: clean up a few err callsLeah Rowe
Signed-off-by: Leah Rowe <leah@libreboot.org>
45 hoursxbmk: remove more eval statementsLeah Rowe
i will eventually find a way to remove them all, while still leaving the code completely clean. in practise, i never use the contents of a file for eval and the inputs are carefully checked. however, over-use of eval is always a bad idea in shell scripting. Signed-off-by: Leah Rowe <leah@libreboot.org>
46 hoursxbmk: general cleanup: unroll condensed code linesLeah Rowe
i overlooked a number of lines, during previous cleanup Signed-off-by: Leah Rowe <leah@libreboot.org>
2 daysvendor.sh: remove superfluous ANDLeah Rowe
Signed-off-by: Leah Rowe <leah@libreboot.org>
3 daysgrub/xhci_nvme: fix target.cfgLeah Rowe
it still said tree="xhci" it should say xhci_nvme Signed-off-by: Leah Rowe <leah@libreboot.org>
3 daysadd fedora42 dependencies from bauduserLeah Rowe
this was sent by bauduser, who messed up the pull request (number 362). i'm simply merging the change manually. once again, i instructed this contributor to properly learn git vcs. Signed-off-by: Leah Rowe <leah@libreboot.org>
3 daysdependency/debian: libstdc++-arm-none-eabi-newlibLeah Rowe
this is needed to make pico-serprog compile. this change is submitted by "bauduser" in lbmk pull request #362, but the PR was messed up. for such a trivial change, I simply merged this change manually, instructing the contributor to properly learn git vcs. Signed-off-by: Leah Rowe <leah@libreboot.org>
3 daysgrub/xhci: rename to grub/xhci_nvmeLeah Rowe
we have the "default" tree, then the "nvme" tree which adds nvme support. the "xhci" tree adds xhci patches, *and* nvme patches. riku suggested that i rename it accordingly, and his advice was quite correct, indeed wise. this will reduce confusion for contributors, including *myself*. Signed-off-by: Leah Rowe <leah@libreboot.org>
4 daysmrc.sh: remove superfluous eval statementLeah Rowe
Signed-off-by: Leah Rowe <leah@libreboot.org>
4 daystree.sh: remove superfluous eval statementsLeah Rowe
Signed-off-by: Leah Rowe <leah@libreboot.org>
4 daysrom.sh: remove superfluous eval statementLeah Rowe
Signed-off-by: Leah Rowe <leah@libreboot.org>
4 daysinject: remove superfluous use of evalLeah Rowe
Signed-off-by: Leah Rowe <leah@libreboot.org>
4 daysinit.sh: reduce the use of eval statementsLeah Rowe
also remove the unused _nogit variable Signed-off-by: Leah Rowe <leah@libreboot.org>
4 daysget.sh: reduce the number of eval statementsLeah Rowe
also split up try_fetch() Signed-off-by: Leah Rowe <leah@libreboot.org>
4 daysget.sh: allow force-pull via -F instead of -fLeah Rowe
use of ./mk -F behaves the same as -f before the previous commit. this can be useful, during development when we want to update revisions. Signed-off-by: Leah Rowe <leah@libreboot.org>
4 daysget.sh: only pull if the local revision is missingLeah Rowe
we pull from upstream in cached git repos, before performing an operation, and we run from the cache, but we do this every time, even if a local revision exists, defeating the purpose of the caching; on unreliable/intermittent internet connections, this can cause a problem. this also causes us problems with gnulib.git and grub.cfg, which for *some reason* are really slow, even when doing a pull. this change improves the efficiency of the build system, during release builds, on a development repository where we already have lots of caches. Signed-off-by: Leah Rowe <leah@libreboot.org>
5 daysu-boot: make the libreboot logo rainbow againLeah Rowe
i like the rainbow removing it was a mistake this patch brings it back Signed-off-by: Leah Rowe <leah@libreboot.org>
5 daysinit.sh: break up xbmk_set_envLeah Rowe
what this function does will differ wildly, depending on whether it's a child instance or a parent instance of xbmk. break up this function accordingly. Signed-off-by: Leah Rowe <leah@libreboot.org>
5 daystree.sh: break up check_gnu_path to subfunctionsLeah Rowe
this whole check could probably be removed, honestly. it was only put in place during the debian trixie testing release cycle, before they finally updated gnat just before the stable release of trixie came out. Signed-off-by: Leah Rowe <leah@libreboot.org>
5 daysvendor.sh: break up the extract_kbc1126 subshellLeah Rowe
stick it in a new function, for easier reading. Signed-off-by: Leah Rowe <leah@libreboot.org>
7 dayscoreboot/x2e_n150: rename config to fspgopLeah Rowe
because it's using fspgop init code, not libgfxinit this is enabled by the previous patch, which now properly handles seabios payloads when dealing with this. Signed-off-by: Leah Rowe <leah@libreboot.org>
7 daysrom.sh: support "fspgop" init modeLeah Rowe
for all intents and purposes, this functions like libgfxinit corebootfb, but uses intel fsp's video initialisation instead of coreboot's native initialisation code this is currently in use on the x2e n150 mainboard, whose config is dubiously named "libgfxinit_corebootfb" now the config can be renamed, and will be, in the next commit. Signed-off-by: Leah Rowe <leah@libreboot.org>
7 daysfix up old comment in vendor/x2e_n150Leah Rowe
theu current comment is for an old version of the n150 patch, before it was actually merged. the comment has been adjusted, to match the actual implementation that was merged. Signed-off-by: Leah Rowe <leah@libreboot.org>