Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-12-09 | download/u-boot: Remove support for deleting git folders | Alper Nebi Yasak | |
Removing the git dirs was part of deblobbing, which Libreboot no longer cares about. The variable that triggers it is no more. Remove the dead code. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com> | |||
2022-12-08 | util/nvmutil: consistent parentheses on comparison | Leah Rowe | |
2022-12-08 | util/nvmutil file reads: skip reading if errno!=0 | Leah Rowe | |
*This condition will probably never be met, but it is theoretically possible that the code could still fail at this point. Catch all errors, and exit, ruthlessly. | |||
2022-12-08 | util/nvmutil: return error when fstat() is -1 | Leah Rowe | |
Another oversight in my error handling. | |||
2022-12-07 | util/nvmutil: rhex(): fail if errno not zero | Leah Rowe | |
The code was only checking whether all of the bytes were read, but there are other errors that can be caught via errno. Enforce strict errno handling, when generating random numbers for command `setmac`. | |||
2022-12-05 | util/nvmutil: minor code formatting cleanup | Leah Rowe | |
2022-12-05 | build/release/roms: delete ME/MRC firmware in ROMs | Leah Rowe | |
2022-12-05 | build/boot/roms: remove errant code | Leah Rowe | |
2022-12-05 | remove errant detail from comment | Leah Rowe | |
2022-12-05 | delete build/release/u-boot-libre | Leah Rowe | |
this is a hangover from pre-osboot-merge libreboot. the idea was to distribute fsdg uboot archives lbmk has uboot support, and releases will simply include uboot in the main src archive like with everything else | |||
2022-12-05 | remove logic for avoiding nonredistributable blobs | Leah Rowe | |
the --nuke option in ifdtool will be used instead, to nuke the ME regions in specific rom sets (and cbfstool will be used to delete mrc.bin files from rom sets) the new method being implemented is heavier on disk io, but simplifies lbmk, and disk io could still be optimised in the following ways: * when copying roms from boards with ME in them, use ifdtool --nuke to get filename.rom.new, and *move* (not copy) filename.rom.new to the new destination (for use with tar) * possibly modify ifdtool to make efficient use of mmap for disk i/o; it currently loads entire roms into an allocated buffer in memory | |||
2022-12-04 | coreboot/default: add --nuke flag to ifdtool | Leah Rowe | |
e.g. ./ifdtool --nuke me coreboot.rom this will be used by rom release build scripts, to scrub stuff like intel me from the rom | |||
2022-12-03 | util/nvmutil: remove errant line break | Leah Rowe | |
2022-12-03 | util/nvmutil: missing paretheses on if statement | Leah Rowe | |
2022-12-03 | util/nvmutil: don't initialise rbuf unless needed | Leah Rowe | |
previously, it was always initialised, but now it's only initialised if '?' is used on a mac address character in command `setmac` this is done by simply moving mac address character randomisation to a separate function | |||
2022-12-03 | util/nvmutil: rename variable in hextonum | Leah Rowe | |
2022-12-03 | util/nvmutil: don't reallocate memory in hextonum | Leah Rowe | |
2022-12-03 | util/nvmutil: dont report bad size if /dev/urandom | Leah Rowe | |
2022-12-03 | util/nvmutil: rename variables in hextonum | Leah Rowe | |
2022-12-03 | util/nvmutil: use BUFSIZ for rmac size in hextonum | Leah Rowe | |
I will be using this function elsewhere, and in general I want this to be usable for lots of programs. | |||
2022-12-03 | util/nvtutil: fix out of bounds error | Leah Rowe | |
the error would have never been triggered, because it never went over 11, but if this code were to be copied elsewhere, it would be problematic | |||
2022-12-02 | update the README | Leah Rowe | |
2022-12-01 | util/nvmutil: reset errno on cmd_swap | Leah Rowe | |
If one of the checksums was valid, but the other was not, errno would be set to E_CANCELED, but then the buffer would be modified anyway; this is acceptable behaviour, and errno would later be reset writing the GBE file, which is done only on the condition that the buffer was modified, but it's also a good idea to reset it here just in case. This is not a bugfix, and no behavioural changes will be observed by the user, but this may *prevent* a bug in the future, so let's pre-fix that bug now. | |||
2022-11-29 | scripts: avoid relying on spaces from sha1sum output | Alexei Sorokin | |
2022-11-29 | Merge branch 'hide-mei' of XRevan86/lbmk into master | Leah Rowe | |
2022-11-29 | coreboot: hide MEI on neutered-ME targets | Alexei Sorokin | |
2022-11-29 | Merge branch 'master' of Arsen/lbmk into master | Leah Rowe | |
2022-11-29 | Merge branch 'x230edp' of XRevan86/lbmk into master | Leah Rowe | |
2022-11-28 | t430_12mb: Add, based on x230_12mb | Arsen Arsenović | |
These boards are near-identical, this appears to suffice. | |||
2022-11-28 | coreboot: add x230edp_12mb, remove x230fhd_12mb | Alexei Sorokin | |
New x230edp_12mb target uses the https://review.coreboot.org/c/coreboot/+/28950 patchset to add an X230_EDP target to the default coreboot branch. Consequently the "fhd" coreboot branch is no longer needed and has been safely removed. | |||
2022-11-27 | util/nvmutil: mild refactoring | Leah Rowe | |
2022-11-27 | util/nvmutil: improved errno handling in main | Leah Rowe | |
2022-11-27 | util/nvmutil: put hextonum in its own function | Leah Rowe | |
2022-11-27 | util/nvmutil: move ENOTDIR check to function | Leah Rowe | |
2022-11-27 | util/nvmutil: further improved errno handling | Leah Rowe | |
2022-11-27 | util/nvmutil: remove errant code | Leah Rowe | |
2022-11-27 | util/nvmutil: improved error handling | Leah Rowe | |
2022-11-26 | util/nvmutil: fix off by one bug | Leah Rowe | |
2022-11-26 | nvmutil copy/swap: actually set nvmPartModified | Leah Rowe | |
2022-11-26 | util/nvmutil: move cmd copy to own function | Leah Rowe | |
2022-11-26 | util/nvmutil: move cmd swap to own function | Leah Rowe | |
2022-11-26 | util/nvmutil: move cmd brick to own function | Leah Rowe | |
2022-11-26 | util/nvmutil: cmd setchecksum in own function | Leah Rowe | |
2022-11-26 | util/nvmutil: split "dump" into smaller functions | Leah Rowe | |
2022-11-26 | Merge branch 'dev' of shmalebx9/lbmk into master | Leah Rowe | |
2022-11-26 | fix injection script | shmalebx9 | |
2022-11-26 | added more checks and optimised extraction script | shmalebx9 | |
2022-11-26 | util/nvmutil: re-factor to reduce code indentation | Leah Rowe | |
2022-11-26 | util/nvmutil: write gbe files in a function | Leah Rowe | |
in any C program, main() should not contain detailed logic. ideally, the main() function should only be a skeleton, showing the overall logic flow of the program. split writing gbe files into a separate function, to satisfy this criteria. | |||
2022-11-26 | util/nvmutil: human-friendly exit messages, part 2 | Leah Rowe | |