Thierry Laurion
382949d8f4
z220-cmt boards: move to untested with board.move_tested_to_untested helper, per notice at https://github.com/linuxboot/heads/pull/1908#issuecomment-2711603241
...
Unfortunately the helper doesn't deal well with board inclusion: sed call is imperfect, and board config needs to be manually edited.
TODO: fix the helper when it will be the time to move back to tested/untested
Signed-off-by: Thierry Laurion <insurgo@riseup.net>
2025-03-10 16:43:54 -04:00
Thierry Laurion
876e37ea2b
t530 boards: move to untested with board.move_tested_to_untested helper, per notice at https://github.com/linuxboot/heads/pull/1908#issuecomment-2711603241
...
Signed-off-by: Thierry Laurion <insurgo@riseup.net>
2025-03-10 15:28:29 -04:00
gaspar-ilom
4cb69858f9
rename patches in correct order to prepare for more
...
more patches are going to come for haswell nri so we want a clean naming scheme
Signed-off-by: gaspar-ilom <gasparilom@riseup.net>
2025-03-09 21:08:26 +01:00
gaspar-ilom
f765586015
fix preprocessor checks
...
Signed-off-by: gaspar-ilom <gasparilom@riseup.net>
2025-03-08 00:59:00 +01:00
gaspar-ilom
dc207ea8f2
Revert "patches/coreboot-24.12/0003-mb-lenovo-Add-ThinkPad-T480-and-ThinkPad-T480s.patch: do not comment inclusion of thermal.asl"
...
Not necessary anymore as properly fixed by coreboot patch 0004 in 3466272a69f1345340f5eeda05a5dd338883f8eb
This reverts commit aa2b15dd055b3db18e0e60bf4a008d3e6b95c270.
Signed-off-by: gaspar-ilom <gasparilom@riseup.net>
2025-03-07 19:55:54 +01:00
gaspar-ilom
bb120b14ae
Revert "t480: move to unmaintained, remove t480 from circleci. Upstream will need to fix thermal codepath: as of now its either other thinkpads or t480. Not good"
...
With 3466272a69f1345340f5eeda05a5dd338883f8eb T480 thermal codepath does not break other boards anymore.
We move it back to circleci and maintained.
This reverts commit 730fdd1b25384bacc8e491c543709f5967651ffb.
Signed-off-by: gaspar-ilom <gasparilom@riseup.net>
2025-03-07 17:31:12 +01:00
gaspar-ilom
3466272a69
do not break building other thinkpads with the hacks for the t480/s made Mate Kukri
...
still not fixing things properly but at least it should now be possible to build older thinkpads without regressions.
prior, some code was just commented or unreachable. now we make this explicit with preprocessor directives.
heads should build all boards on this coreboot version from the same coreboot tree.
use CONFIG_BOARD_LENOVO_SKLKBL_THINKPAD_COMMON to decide what to compile
this should work for T480, T480S and older thinkpads
Signed-off-by: gaspar-ilom <gasparilom@riseup.net>
2025-03-07 17:27:56 +01:00
Thierry Laurion
730fdd1b25
t480: move to unmaintained, remove t480 from circleci. Upstream will need to fix thermal codepath: as of now its either other thinkpads or t480. Not good
...
Signed-off-by: Thierry Laurion <insurgo@riseup.net>
2025-03-03 12:40:25 -05:00
Thierry Laurion
c7d40eae5d
Merge remote-tracking branch 'tlaurion-github/poc_t480' into coreboot_bump_2412
2025-03-02 18:57:03 -05:00
gaspar-ilom
438a061c99
changes the tb.bin Thunderbolt blob script to create the same blob as libreboot
...
the blob created from the script prior to this change is not confirmed working
this blob is now confirmed working if following the instructions from libreboot https://libreboot.org/docs/install/t480.html#update-lenovo-firmware-first
Signed-off-by: gaspar-ilom <gasparilom@riseup.net>
2025-03-02 23:30:39 +01:00
Thierry Laurion
80055417f7
Merge remote-tracking branch 'gaspar-ilom/poc_t480' into coreboot_bump_2412
...
Resolve conflicts for .circleci/config.yml
Signed-off-by: Thierry Laurion <insurgo@riseup.net>
2025-03-02 11:58:59 -05:00
gaspar-ilom
81151d94f6
add documentation for tb.bin Thunderbolt flashing on the T480
...
Signed-off-by: gaspar-ilom <gasparilom@riseup.net>
2025-02-28 12:05:55 +01:00
Thierry Laurion
f20e519e05
config/coreboot-z220-cmt.config: fix changes of path for VBT (libgfxinit config blob) and resave coreboot config with coreboot.modify_and_save_oldconfig_in_place helper
...
Signed-off-by: Thierry Laurion <insurgo@riseup.net>
2025-02-27 16:39:41 -05:00
Thierry Laurion
d0fa045566
Merge remote-tracking branch 'osresearch/master' into coreboot_bump_2412
...
Merge conflict resolved
Signed-off-by: Thierry Laurion <insurgo@riseup.net>
2025-02-27 13:40:41 -05:00
Thierry Laurion
aa2b15dd05
patches/coreboot-24.12/0003-mb-lenovo-Add-ThinkPad-T480-and-ThinkPad-T480s.patch: do not comment inclusion of thermal.asl
...
Thanks to @nic3-14159 over coreboot matrix channel for the tip https://matrix.to/#/!EhaGFZyYcbyhdSgStq:matrix.org/$Rp7bFaRphrasUhnvNRrNvfYdzMgThMUUjQNswvg5CWo?via=matrix.org&via=tchncs.de&via=envs.net
Signed-off-by: Thierry Laurion <insurgo@riseup.net>
2025-02-27 13:35:32 -05:00
gaspar-ilom
429e8aa39d
fix whitespace in t480 make file
...
Signed-off-by: gaspar-ilom <gasparilom@riseup.net>
2025-02-27 12:14:04 +01:00
gaspar-ilom
01a164aad7
fix t480 make file
...
Signed-off-by: gaspar-ilom <gasparilom@riseup.net>
2025-02-27 11:22:13 +01:00
gaspar-ilom
77cccad1e7
remove leftovers from libreboot's coreboot kconfig modification for flashing the thunderbolt spi externally
...
Signed-off-by: gaspar-ilom <gasparilom@riseup.net>
2025-02-27 09:49:19 +01:00
gaspar-ilom
3f8317fe9a
create tb.bin blob when creating me.bin blob
...
automatically move into board target dir
rename blob creation file for t480 to indicate that the tb.bin is also downloaded and created
Signed-off-by: gaspar-ilom <gasparilom@riseup.net>
2025-02-27 02:40:12 +01:00
Thierry Laurion
557ccb6499
Merge remote-tracking branch 'osresearch/master' into poc_t480
...
Resolve conficts too
Signed-off-by: Thierry Laurion <insurgo@riseup.net>
2025-02-26 19:08:24 -05:00
Thierry Laurion
54356dd536
Merge remote-tracking branch 'gaspar-ilom/poc_t480' into poc_t480
2025-02-26 19:02:35 -05:00
gaspar-ilom
e647e20b4a
refactor printing of battery state to confuse less users
...
only print the battery manufacturer in case there is more than one battery, otherwise omit it
make the code more readable for non-bash developers
extract common functions
Signed-off-by: gaspar-ilom <gasparilom@riseup.net>
2025-02-26 23:42:02 +01:00
Thierry Laurion
d4c4e5699b
Merge pull request #1916 from tlaurion/sinit_ivy_sandy_bridge_intel_removal_fix_using_archive-org
...
blobs/xx30/optiplex_7010_9010.sh: use web.arhive.org to download zip containing ivy/sandy file now missing upstream.
2025-02-25 09:28:14 -05:00
Thierry Laurion
98d7982834
blobs/xx30/optiplex_7010_9010.sh: use web.arhive.org to download zip containing ivy/sandy file now missing upstream. Fix path where file is found in zip
...
Signed-off-by: Thierry Laurion <insurgo@riseup.net>
2025-02-25 09:24:58 -05:00
Thierry Laurion
a084cc7b4a
Merge pull request #1913 from Dasharo/novacustom_v54x_mtl_heads_v0.9.0
...
Add Novacustom V54 (v540tu)
2025-02-25 08:31:03 -05:00
Thierry Laurion
e00944f034
Merge remote-tracking branch 'gaspar-ilom/poc_t480' into poc_t480
...
Signed-off-by: Thierry Laurion <insurgo@riseup.net>
2025-02-24 17:41:52 -05:00
Thierry Laurion
a86dfe0e7f
Merge remote-tracking branch 'gaspar-ilom/poc_t480' into poc_t480
2025-02-24 17:38:30 -05:00
gaspar-ilom
60219a443c
update the T480 blob readme to better explain which blobs are there and where they come from
...
remove duplicate hashes
add reference to info on tpm reset because people might not read everything
rename README to README.md as it is markdown
Signed-off-by: gaspar-ilom <gasparilom@riseup.net>
2025-02-24 22:41:43 +01:00
Thierry Laurion
de722cd0f2
BOARD_TESTERS.md: remove space between @ and avatar name
...
Signed-off-by: Thierry Laurion <insurgo@riseup.net>
2025-02-24 16:32:09 -05:00
Thierry Laurion
1fb37f01a3
blobs/xx80/README: fix gbe hash
...
repro
user@heads-t480:~/heads/blobs/xx80$ git status
On branch poc_t480
nothing to commit, working tree clean
user@heads-t480:~/heads/blobs/xx80$ cat hashes.txt
d3af2dfbf128bcddfc8c5810a11478697312e5701668f719f80f3f6322db5642 gbe.bin
f2f6d5fb0a5e02964b494862032fd93f1f88e2febd9904b936083600645c7fdf ifd.bin
1990b42df67ba70292f4f6e2660efb909917452dcb9bd4b65ea2f86402cfa16b me.bin
user@heads-t480:~/heads/blobs/xx80$ cat hashes.txt | awk -F " " {'print $1'} | while read hash; grep $hash README; done
bash: syntax error near unexpected token `done'
user@heads-t480:~/heads/blobs/xx80$ cat hashes.txt | awk -F " " {'print $1'} | while read hash; do grep $hash README; done
f2f6d5fb0a5e02964b494862032fd93f1f88e2febd9904b936083600645c7fdf ifd.bin
1990b42df67ba70292f4f6e2660efb909917452dcb9bd4b65ea2f86402cfa16b me.bin
user@heads-t480:~/heads/blobs/xx80$ vim README
user@heads-t480:~/heads/blobs/xx80$ vim README
user@heads-t480:~/heads/blobs/xx80$ cat hashes.txt | awk -F " " {'print $1'} | while read hash; do grep $hash README; done
d3af2dfbf128bcddfc8c5810a11478697312e5701668f719f80f3f6322db5642 gbe.bin
f2f6d5fb0a5e02964b494862032fd93f1f88e2febd9904b936083600645c7fdf ifd.bin
1990b42df67ba70292f4f6e2660efb909917452dcb9bd4b65ea2f86402cfa16b me.bin
user@heads-t480:~/heads/blobs/xx80$ sha256sum -c hashes.txt
gbe.bin: OK
ifd.bin: OK
me.bin: OK
user@heads-t480:~/heads/blobs/xx80$ cat hashes.txt | awk -F " " {'print $1'} | while read hash; do grep $hash README; done
d3af2dfbf128bcddfc8c5810a11478697312e5701668f719f80f3f6322db5642 gbe.bin
f2f6d5fb0a5e02964b494862032fd93f1f88e2febd9904b936083600645c7fdf ifd.bin
1990b42df67ba70292f4f6e2660efb909917452dcb9bd4b65ea2f86402cfa16b me.bin
user@heads-t480:~/heads/blobs/xx80$ cat .gitignore
me.bin
user@heads-t480:~/heads/blobs/xx80$ git status
Signed-off-by: Thierry Laurion <insurgo@riseup.net>
2025-02-24 16:29:00 -05:00
Thierry Laurion
d9f4cbcfc3
t480 boards: disable tracing output as for all other boards
...
Signed-off-by: Thierry Laurion <insurgo@riseup.net>
2025-02-24 12:11:25 -05:00
Thierry Laurion
7ce3ac709f
functions: remove now unused calc helper, readd TRACE_FUNC and DEBUG info for future tracing and debug of now hackish bashisms.
...
Signed-off-by: Thierry Laurion <insurgo@riseup.net>
2025-02-24 09:56:46 -05:00
gaspar-ilom
6f2e7cbefa
disable debugging on the T480
...
all remaining issues do not seem to be heads but coreboot related
no debugging needed anymore, issues should be reported upstream and fixed there
Signed-off-by: gaspar-ilom <gasparilom@riseup.net>
2025-02-24 14:24:03 +01:00
gaspar-ilom
02bfdeec98
apply the same fix for displaying the battery state to: initrd/bin/oem-system-info-xx30
...
Signed-off-by: gaspar-ilom <gasparilom@riseup.net>
2025-02-24 14:15:20 +01:00
gaspar-ilom
9eb7618e82
add more board tester for the T480
...
Signed-off-by: gaspar-ilom <gasparilom@riseup.net>
2025-02-24 13:59:01 +01:00
gaspar-ilom
a45c483bdd
properly escape % chars in format string to display battery status
...
Signed-off-by: gaspar-ilom <gasparilom@riseup.net>
2025-02-23 11:31:40 +01:00
gaspar-ilom
543ab5543e
refactor how battery status string is composed
...
simplify and make sure health and charge state are printed next to each other for the same battery
Signed-off-by: gaspar-ilom <gasparilom@riseup.net>
2025-02-23 00:06:51 +01:00
gaspar-ilom
60faa5f05c
fix show system info battery display in case there is more than 1 battery
...
show health and charge state for each battery
Signed-off-by: gaspar-ilom <gasparilom@riseup.net>
2025-02-23 00:04:41 +01:00
gaspar-ilom
cb8d23c45a
fix battery health and charging display in system info
...
calc was not found, but awk can do the job just fine and was anyway already used
Signed-off-by: gaspar-ilom <gasparilom@riseup.net>
2025-02-21 22:55:14 +01:00
gaspar-ilom
1e0258b7f1
use common me_cleaner.py for T480
...
make circleci create the cleaned and deguarded me blob for the T480 to improve performance by allowing to reuse the workspace
Signed-off-by: gaspar-ilom <gasparilom@riseup.net>
2025-02-21 14:04:53 +01:00
gaspar-ilom
aadbe93dea
move me_cleaner.py to a common utils dir under blobs/ so that it can be used by any board
...
Signed-off-by: gaspar-ilom <gasparilom@riseup.net>
2025-02-21 12:53:43 +01:00
Thierry Laurion
5b950c4614
CircleCI: refactor 24.02.01 coreboot buildstack cache reusal ordering and 24.12 buildstack reusal
...
Goal is to see which boards fail to build seperately with 24.12
Signed-off-by: Thierry Laurion <insurgo@riseup.net>
2025-02-20 08:53:21 -05:00
Thierry Laurion
e94609799a
coreboot-qemu*: fix XRES and YRES that changed by saving in oldconfig.
...
Signed-off-by: Thierry Laurion <insurgo@riseup.net>
2025-02-20 08:53:15 -05:00
Thierry Laurion
fe1e196d8b
bump all boards from 24.02.01 to reuse libreboot's coreboot fork commit + patches of 2412 pinned commit under modules/coreboot
...
Repro:
- sed -i 's/24.02.01/2412/g' boards/*/*.config
- docker_repro.sh
- git status | grep boards | awk -F "/" {'print $2'} | while read board; do make BOARD=$board coreboot.save_in_oldconfig_format_in_place; done
Manually modify CircleCI board dependencies. As of now, librem + dasharo reuses 24.02.01 crossgcc buildstack, and all other coreboot dependent boards rely on 2412
- save cache switched to reuse x230-hotp-maximized since most boards depend on 2412 coreboot buildstack
Signed-off-by: Thierry Laurion <insurgo@riseup.net>
2025-02-20 08:52:53 -05:00
gaspar-ilom
0416162ded
add more volunteers as board testers for the T480
...
remove the not (yet) supported t480s from the board testers file
Signed-off-by: gaspar-ilom <gasparilom@riseup.net>
2025-02-19 22:10:52 +01:00
Thierry Laurion
84c0b2dac8
CircleCI: drop building d16 which causes build issues with changes to CircleCI to build for t480. Delegating needed fixes to https://github.com/linuxboot/heads/pull/1910 community effort and for the d16 club d16 board owners
...
Signed-off-by: Thierry Laurion <insurgo@riseup.net>
2025-02-19 13:29:01 -05:00
Thierry Laurion
67a027d4f8
CircleCI: add coreboot 24.12 in save_cache/restore_cache statements in case we change CircleCI worskpace caches leading to build artifacts being reusable in the future
...
Signed-off-by: Thierry Laurion <insurgo@riseup.net>
2025-02-19 11:44:52 -05:00
Thierry Laurion
384e2438d2
TESTING: CircleCI: force AVAILABLE_MEM_GB=8 so that we respect guaranteed minimal resource allocation of CircleCI being 8Gb. Will slow down builds....
...
Reasoning:
- t480 depends on coreboot 24.12, which in turn depends on gcc 14.2 and consumes more memory through parallelization of CircleCI builds which randomly fails if CircleCI with 24.12
Failsafe which might break builds since less threads will be used to build, will see.
TODO: reevaluate if builds take too long and timeouts on max 1h build time per step.
Signed-off-by: Thierry Laurion <insurgo@riseup.net>
2025-02-19 11:44:41 -05:00
Filip Lewiński
f7f3b2f2f1
.circleci/config.yml: add v540tu
...
Signed-off-by: Filip Lewiński <filip.lewinski@3mdeb.com>
2025-02-19 10:31:04 +01:00
Filip Lewiński
4a24bba8b3
boards/novacustom-v540tu/novacustom-v540tu.config: add
...
Signed-off-by: Filip Lewiński <filip.lewinski@3mdeb.com>
2025-02-19 10:30:58 +01:00