summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
19 hoursutil/nvmutil: split unveil handlingLeah Rowe
urandom in main. this is because i'm going to further harden the use of pledge and unveil in a future patch, and this is a prerequisite. Signed-off-by: Leah Rowe <leah@libreboot.org>
19 hoursutil/nvmutil: split cmd init to new functionLeah Rowe
Signed-off-by: Leah Rowe <leah@libreboot.org>
23 hoursutil/nvmutil: split flags init to new functionLeah Rowe
main is getting much smaller now Signed-off-by: Leah Rowe <leah@libreboot.org>
23 hoursutil/nvmutil: tidy up main()Leah Rowe
Signed-off-by: Leah Rowe <leah@libreboot.org>
23 hoursutil/nvmutil: split unveil code to new functionLeah Rowe
Signed-off-by: Leah Rowe <leah@libreboot.org>
24 hoursutil/nvmutil: separate usage functionLeah Rowe
Signed-off-by: Leah Rowe <leah@libreboot.org>
5 daysRe-add x230_12mb corebootfb configLeah Rowe
also for other variants i removed it because it was reported broken. it's not. the removal was always temporary, pending further testing. next time, i will be more sceptical. everything works fine. Signed-off-by: Leah Rowe <leah@libreboot.org>
8 daysnvmutil: simplify readGbe and writeGbeLeah Rowe
the for loop only contains one line Signed-off-by: Leah Rowe <leah@libreboot.org>
8 daysnvmutil: centralise all errno handlingLeah Rowe
do it in the macro. this way, if a given error is present, it's not overridden. this enables easier debugging. Signed-off-by: Leah Rowe <leah@libreboot.org>
8 daysnvmutil: rename ERR to SET_ERR, for clarityLeah Rowe
i renamed filename to fname, so that certain lines would still fit within 80 characters without introducing a new line break. Signed-off-by: Leah Rowe <leah@libreboot.org>
8 daysnvmutil: split pread from readGbeLeah Rowe
split it into readGbe_part, for code clarity. Signed-off-by: Leah Rowe <leah@libreboot.org>
8 daysnvmutil: split pwrite handling from writeGbeLeah Rowe
handle it in a separate function, for clarity. the main function just checks each part whether it changed, and then passes control to writeGbe_part. Signed-off-by: Leah Rowe <leah@libreboot.org>
8 daysnvmutil: simplify a few else statementsLeah Rowe
Signed-off-by: Leah Rowe <leah@libreboot.org>
8 daysnvmutil: don't hardcode errno to ECANCELEDLeah Rowe
use the ERR macro instead, so that an existing value will not be overridden. this is useful for debugging. Signed-off-by: Leah Rowe <leah@libreboot.org>
8 daysnvmutil: explain a few parts in nvmallocLeah Rowe
the current code is optimised for speed, but it's a bit esoteric, so make it easier to understand. Signed-off-by: Leah Rowe <leah@libreboot.org>
8 daysnvmutil: split malloc handling out of readGbeLeah Rowe
this has to do with memory allocation, not actual reading of the gbe file into memory. split it up, for clarity. Signed-off-by: Leah Rowe <leah@libreboot.org>
8 daysnvmutil: further simplify nr/nw error handlingLeah Rowe
Signed-off-by: Leah Rowe <leah@libreboot.org>
8 daysutil/nvmutil: simplify nr/nw error handlingLeah Rowe
when nf and nr/nw are not the same, we know there is an error condition, so defer to the following err() call, but use ERR() there instead of hardcoding use of ECANCELED. this actually improves the error handling, by being more verbose, while reducing the amount of logic. Signed-off-by: Leah Rowe <leah@libreboot.org>
8 daysutil/nvmutil: remove pointless diagnosticsLeah Rowe
we only need to know the number of bytes written or read under error conditions. Signed-off-by: Leah Rowe <leah@libreboot.org>
8 daysutil/nvmutil: say part number on read/write reportLeah Rowe
Signed-off-by: Leah Rowe <leah@libreboot.org>
9 daysvendor.sh: handle mfs in find_meLeah Rowe
This makes the argument handling easier to understand, since other arguments are also handled in find_me Signed-off-by: Leah Rowe <leah@libreboot.org>
9 daysvendor.sh: handle me_cleaner -p separatelyLeah Rowe
this is a special mode that skips FPTR checks, which is needed on the topton x2e_n150 we currently set this, when MEclean="n", but we may want to skip cleaning while still checking FPTR on some boards (in a future lbmk revision) Signed-off-by: Leah Rowe <leah@libreboot.org>
9 daysvendor.sh: tidied up mecleaner argument handlingLeah Rowe
Signed-off-by: Leah Rowe <leah@libreboot.org>
9 daysMerge pull request 'Provide x270 patch for correct VBT and HDA verb' (#405) ↵Leah Rowe
from kittywitch/lbmk:x270-patch into master Reviewed-on: https://codeberg.org/libreboot/lbmk/pulls/405
10 daysProvide x270 patch for correct VBT and HDA verbKat Inskip
10 daysget.sh: properly initialise _uaLeah Rowe
it is currently only initialised inside case conditions. this is fine on most shells, but some of them can be a bit buggy here. initialise it empty and then override. Signed-off-by: Leah Rowe <leah@libreboot.org>
10 daysg43t_am3: make it 2mb, not 4mbLeah Rowe
idk why i made it 4 Signed-off-by: Leah Rowe <leah@libreboot.org>
10 daysremove release=n on x270 portLeah Rowe
this is a hangover from an earlier work, where we had some issues prior to merging. as it is, the port is ready for a future release. Signed-off-by: Leah Rowe <leah@libreboot.org>
10 daysAdd ThinkPad X270 coreboot port from Kat InskipLeah Rowe
Courtesy of Kat Inskip who ported this board. Headphone output doesn't work at the moment, due to incorrect verb. Intel VBT is also wrong. Both are taken from another board. This will be amended later with the correct verb and VBT. Signed-off-by: Leah Rowe <leah@libreboot.org>
12 dayscoreboot/default: new rev ed5a993fLeah Rowe
latest coreboot rev as of literally today this is in preparation for a thinkpad x270 port using a WIP patch that was contributed Signed-off-by: Leah Rowe <leah@libreboot.org>
12 daysMerge pull request 'supermicro x11ssh_f: Use deguard-configured ME image ↵Leah Rowe
instead of SPS and disable ME HECI in devicetree' (#404) from noisytoot/supermicro-x11ssh-f into master Reviewed-on: https://codeberg.org/libreboot/lbmk/pulls/404
12 daysutil/grubpo: new util, for grub PO filesLeah Rowe
this is the program I recently wrote, that generated the submodule entries for the GRUB PO file fix this utility is for reference only. i'll probably do away with the fix at some point, replacing it with my own git-based submodule repository, containing the PO files. this would make things easier, and then that repository would contain the utility instead. i'm just putting this in lbmk for now, so that we have it somewhere. Signed-off-by: Leah Rowe <leah@libreboot.org>
12 daysutil/nvmutil: general code cleanupLeah Rowe
Signed-off-by: Leah Rowe <leah@libreboot.org>
12 daysutil/spkmodem_recv: general code cleanupLeah Rowe
Signed-off-by: Leah Rowe <leah@libreboot.org>
2026-02-14supermicro x11ssh_f: Remove release="n"Ron Nazarov
Since we have redundant downloads for the ME image now, it's no longer required.
2026-02-14supermicro x11ssh_f: Disable ME HECI in devicetreeRon Nazarov
Since we always use me_cleaner, this speeds up boot time by preventing coreboot from wasting a few seconds waiting for HECI.
2026-02-14supermicro x11ssh_f: Use deguard-configured ME image instead of SPSRon Nazarov
Using the same ME image as the 3050 Micro. This fixes the lack of a backup download URL for the ME and speeds up boot time, since MRC caching is working with ME (unlike SPS). Unfortunately, since the MFS partition must be preserved, this does mean we need a larger ME region than with me_cleaned SPS.
2026-02-14Delete unused config/ifd/supermicro-x11-lga1151-series directoryRon Nazarov
Left over from the hyphen -> underscore renaming commit.
2026-02-14supermicro x11ssh_f: set release="n"Leah Rowe
the lack of redundancy in Intel ME downloading is a current release blocker with this board, so set it to release=n for now. it is quite possible to use deguard on this board, which does have redundant downloading when used with lbmk. although the board doesn't have bootguard, it is still possible to use deguard. you can configure the generic ME image that it fetches, and reconfigure it for each machine. i've asked ron to look into this, on their test board. Signed-off-by: Leah Rowe <leah@libreboot.org>
2026-02-14supermicro x11ssh_f: use underscores in dir namesLeah Rowe
i don't like hyphens in file names, because of how lbmk has historically handled directories and files in the past; i've removed a lot of eval statements, to the extent that it's no longer likely to be a problem (it's barely used now), but i previously had a problem with using hyphens in config names. this design flaw (in lbmk) was fixed ages ago, but i still maintain this policy. since that time, i use hyphens only. Signed-off-by: Leah Rowe <leah@libreboot.org>
2026-02-14Merge pull request 'Added Danish Keymap dkqwerty.gkb' (#402) from ↵Leah Rowe
nieldk/lbmk:master into master Reviewed-on: https://codeberg.org/libreboot/lbmk/pulls/402
2026-02-14Merge pull request 'Add Supermicro X11SSH-F/LN4F port' (#403) from ↵Leah Rowe
noisytoot/supermicro-x11ssh-f into master Reviewed-on: https://codeberg.org/libreboot/lbmk/pulls/403
2026-02-14Add Supermicro X11SSH-F/LN4F portRon Nazarov
Surprisingly, SeaBIOS VGA output works (coreboot documentation says it doesn't). I'm using a static CMOS option table currently (like most other boards supported in libreboot), but maybe it would be better to switch to the CBFS file option table. The default option table enables hyperthreading, overriding the compile-time setting. I'm also using a ME/SPS image extracted from the official BIOS update for this board. Unfortunately, https://www.supermicro.com/Bios/* is excluded from crawlers in robots.txt so it's not in archive.org, so I haven't been able to find a backup download URL. I also needed to set the user-agent for fetching the update to "curl/8.6.0" because the default user-agent override used by lbmk resulted in a 403 error. deguard is not required (there's no bootguard on this board). SPS does not implement CPU replacement detection which means that the MRC cache does not work and RAM training needs to happen on every boot. To avoid this it may be possible to run ME instead of SPS on this board, but I tried both the ME image used on the OptiPlex 3050 Micro in libreboot and one from the ASRock C236 WSI and they both hung at "[INFO ] POST: 0x92" (POSTCODE_FSP_MEMORY_INIT). The memtest86+ build included with libreboot doesn't work with USB keyboards and this board doesn't have a PS/2 port, which is annoying.
2026-02-08Added Danish Keymap dkqwerty.gkbNiel Nielsen
2026-02-01GRUB: don't download po files in bootstrapLeah Rowe
The files it downloads are not versioned, and they could change any time. GRUB has no way to deterministically grab these. I've removed GRUB's local for grabbing these, instead mirroring them myself and checking hashes; no hashes seem to have been provided by the upstream at Translation Project, so I just used the hashes I had on the files it had, when I downloaded them. From now on, I can just re-download these and re-calculate the hashes as desired, over time, when updating GRUB revisions. Signed-off-by: Leah Rowe <leah@libreboot.org>
2026-01-30Libreboot 26.01 release26.01Leah Rowe
Signed-off-by: Leah Rowe <leah@libreboot.org>
2026-01-30Merge pull request 'Update config/dependencies/void' (#400) from ↵Leah Rowe
lucius1664/lbmk:master into master Reviewed-on: https://codeberg.org/libreboot/lbmk/pulls/400
2026-01-27Update config/dependencies/voidlucius1664
2026-01-26fix config/submodule/Leah Rowe
I accidentally removed a bunch of links in a previous change, that isn't pushed yet. due to gitignore rules, files in config/submodule/ have to be added manually using -f with the git add command. as a result, i need to be very careful when making changes, especially temporary changes. lbmk wasn't downloading files properly, because upstreams weren't defined. this patch fixes that. Signed-off-by: Leah Rowe <leah@libreboot.org>
2026-01-21Libreboot 26.01 RC4 Magnanimous Max26.01rc4Leah Rowe
Signed-off-by: Leah Rowe <leah@libreboot.org>