3065 Commits

Author SHA1 Message Date
Thierry Laurion
6dfe541995
t440p/w541p nri coreboot config: add console timestamps, put console level to debug, enable ram init debug info to console
Input for https://github.com/linuxboot/heads/pull/1923#issuecomment-2768716710

Signed-off-by: Thierry Laurion <insurgo@riseup.net>
2025-04-02 22:07:06 +02:00
gaspar-ilom
3c0dc405dc
T440p/W541: enable USB_DEBUG with FT2232H
Signed-off-by: gaspar-ilom <gasparilom@riseup.net>
2025-03-27 09:20:49 +01:00
gaspar-ilom
e420681bb2
Revert "T440p/W541: enable SPI flash console debugging"
This reverts commit cae6d9f2c9038d4f70ee67880569544510491111.

Signed-off-by: gaspar-ilom <gasparilom@riseup.net>
2025-03-21 01:07:51 +01:00
gaspar-ilom
eeae2c62e9
Revert "T440p/W541: increase flash debug to almost maximum 0x410000"
This reverts commit ab04f70423a984d84617f33b377aece4f2e2bd0a.

Signed-off-by: gaspar-ilom <gasparilom@riseup.net>
2025-03-21 01:07:51 +01:00
gaspar-ilom
ab04f70423
T440p/W541: increase flash debug to almost maximum 0x410000
Signed-off-by: gaspar-ilom <gasparilom@riseup.net>
2025-03-20 21:10:25 +01:00
gaspar-ilom
cae6d9f2c9
T440p/W541: enable SPI flash console debugging
Signed-off-by: gaspar-ilom <gasparilom@riseup.net>
2025-03-20 20:28:59 +01:00
gaspar-ilom
90acce5d2a
Revert "use truncated ME without relocating FTPR and keep modules to try NRI depending on ME"
This reverts commit 361a7068726f2a728138a255cf16126e07c31d30.

Signed-off-by: gaspar-ilom <gasparilom@riseup.net>
2025-03-18 00:06:47 +01:00
gaspar-ilom
361a706872
use truncated ME without relocating FTPR and keep modules to try NRI depending on ME
apparently haswell NRI depends on some ME functionality
so we want wot try if get faster boot times with a proper ME
we still truncate unused regions as we need the space for the bios

Signed-off-by: gaspar-ilom <gasparilom@riseup.net>

create ifd.bin from donor board

Signed-off-by: gaspar-ilom <gasparilom@riseup.net>
2025-03-17 23:59:51 +01:00
gaspar-ilom
9227476afa
Revert "t440p/w541 use broadwell mrc blob"
This reverts commit 95322c66291d7e34c437f77f12cdd89707a6b0ce.

Signed-off-by: gaspar-ilom <gasparilom@riseup.net>
2025-03-17 23:59:04 +01:00
gaspar-ilom
95322c6629
t440p/w541 use broadwell mrc blob
Signed-off-by: gaspar-ilom <gasparilom@riseup.net>
2025-03-17 23:57:30 +01:00
Thierry Laurion
170bf57032
t440p/w541: revert CBFS pre-ram console + console to defaults; have console level set to INFO instead of DEBUG
repro:
(revert last commit)
./docker_repro.sh make BOARD=t440p-maximized coreboot.modify_and_save_oldconfig_in_place (Change console level to info)
./docker_repro.sh make BOARD=w541-maximized coreboot.modify_and_save_oldconfig_in_place (Change console level to info)

---

Done: Apply Angel's minimal suggestions from https://github.com/linuxboot/heads/pull/1923#issuecomment-2719401499

If console output still truncated, TODO:
- Enable console output to SPI Flash (USB Debugging requires special dongle out of beaglebone black of RPI)

Signed-off-by: Thierry Laurion <insurgo@riseup.net>
2025-03-17 23:56:56 +01:00
gaspar-ilom
0e8e787590
Revert "tweak cbmem params to get debug output"
This reverts commit fdf5281c0a372d15bab26dcb268e8786a5874f62.

Signed-off-by: gaspar-ilom <gasparilom@riseup.net>
2025-03-17 23:56:56 +01:00
gaspar-ilom
fdf5281c0a
tweak cbmem params to get debug output
Signed-off-by: gaspar-ilom <gasparilom@riseup.net>
2025-03-12 22:23:47 +01:00
Thierry Laurion
38c4580e45
BOARD_TESTERS.md: t440p, add @MattClifton76 as board tester
Signed-off-by: Thierry Laurion <insurgo@riseup.net>
2025-03-12 19:26:53 +01:00
Thierry Laurion
0801a80f0a
t440p/w541 : move back to tested
Repro (order important because hotp includes the other variant)
./docker_repro.sh make BOARD=UNTESTED_t440p-hotp-maximized board.move_untested_to_tested
./docker_repro.sh make BOARD=UNTESTED_t440p-maximized board.move_untested_to_tested
./docker_repro.sh make BOARD=UNTESTED_w541-hotp-maximized board.move_untested_to_tested
./docker_repro.sh make BOARD=UNTESTED_w541-maximized board.move_untested_to_tested

Signed-off-by: Thierry Laurion <insurgo@riseup.net>
2025-03-12 19:26:53 +01:00
gaspar-ilom
5fceacb816
update README files for haswell boards in blobs/
remove all references to 3rd party blobs mrc.bin for ram init
we now rely on native ram initialization for haswell boards

Signed-off-by: gaspar-ilom <gasparilom@riseup.net>
2025-03-12 19:26:53 +01:00
Thierry Laurion
544869cf18
haswell boards: ./docker_repro.sh make BOARD=UNTESTED_XYZ-maximized coreboot.modify_and_save_oldconfig_in_place
Input for https://github.com/linuxboot/heads/pull/1923

Signed-off-by: Thierry Laurion <insurgo@riseup.net>
2025-03-12 19:26:53 +01:00
gaspar-ilom
f448e58495
use native raminit with haswell boards
Signed-off-by: gaspar-ilom <gasparilom@riseup.net>
2025-03-12 19:26:53 +01:00
gaspar-ilom
3f4052c2ad
add patches for haswell nRI
get ready to use NRI with haswell boards such as T440p and W541
prior to this haswell boards booted very slowly due to improper mrc blob for the required cbfs size

reproduction steps:

In coreboot: git checkout 5d291de6011a56bfd767c4bcdfdc3aa6ee87a2dd && git format-patch 7b36319fd9..HEAD --start-number=10.
5d291de6011a56bfd767c4bcdfdc3aa6ee87a2dd is the last commit of the haswell-NRI patch train.
7b36319fd9 is the last commit before the haswell-NRI patch train.
Then move the resulting patch files under patches/coreboot-24.12/ directory in heads.

Signed-off-by: gaspar-ilom <gasparilom@riseup.net>
2025-03-12 19:26:53 +01:00
Thierry Laurion
6279500e5b
Merge pull request #1928 from JonathonHall-Purism/update-seed-talos-2
bin/seed_package_mirror.sh: Update talos-2 -> UNTESTED_talos-2
2025-03-12 12:18:51 -04:00
Jonathon Hall
b48fca280b
bin/seed_package_mirror.sh: Update talos-2 -> UNTESTED_talos-2
Board name was changed due to being untested.  It still builds, so the
packages still sync to mirrors for now.

Signed-off-by: Jonathon Hall <jonathon.hall@puri.sm>
2025-03-12 10:11:17 -04:00
Thierry Laurion
300df21cee
Merge pull request #1908 from tlaurion/coreboot_bump_2412
Coreboot version  bump 24.02.01 ->  24.12 for most board + Thinkpad T480 addition (coreboot upstream in WiP state)
2025-03-11 13:00:08 -04:00
Thierry Laurion
10f854cb7f
BOARD_TESTERS: add Optiplex 9010/7010 SFF/DT to @tlaurion
Signed-off-by: Thierry Laurion <insurgo@riseup.net>
2025-03-10 17:15:52 -04:00
Thierry Laurion
25ffc3e59c
CircleCI: clarify AVAILABLE_MEM_GB=8 usage, which results in CircleCI passing: -j8 --load-average=12 from current Makefile helper
Signed-off-by: Thierry Laurion <insurgo@riseup.net>
2025-03-10 17:01:04 -04:00
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