-
-
Notifications
You must be signed in to change notification settings - Fork 205
Bump coreboot to 25.09; Add t480 #2007
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
@gaspar-ilom thanks for this contribution! 25.09 seems a good moment to switch all boards depending on previous effort against coreboot master (was 24.12 : YY.MM being 2024.12). That will require all boards coreboot config to be switched with help of helpers (switch to defconfig, make sure what is left there needs overriding over defaults, save back in oldconfig format) and call for testing using testing template and improve upon it, and tagging all known board owners/testers. This PR should supersede other attempts referred in OP. T480s/t480 support under coreboot master justifies it, as well as TB support, if testing results here is reported upstream so that we can guarantee that next coreboot release will include patches applied here on next coreboot version bump. |
4854371 to
fdeb5e8
Compare
Great!
Not sure I have done what you intended. See commit message of 78451c9 I would only let the testers know when this is done. Testers for boards that use the new coreboot version should be enough, though?!
Let's see what will be reported. |
|
Making this a draft because it is not done yet. See f077ada |
|
Updated the How to proceed section in the OP to reflect what @tlaurion suggested. |
|
@tlaurion CircleCi is beyond me: Why does gaspar-ilom@ced2f98 succeed but EDIT: I undid the revert from fe4e190 as it does not seem to change anything. Local build works, of course 🙄 |
1511136 to
fdeb5e8
Compare
|
@gaspar-ilom i don't make sense of the circleci error, as if cache was partial at https://app.circleci.com/pipelines/github/gaspar-ilom/heads/14/workflows/b282ff7a-03b4-43af-aed1-369e0454906f/jobs/709 This would need to build without cache to succeed if local builds succeed. To do this, under Circleci project setting, variable, change/add CACHE_VERSION with unique value (I do datestamp) or change variable name under Circleci config, ie Line 82 in aaeb63d
|
@tlaurion Thanks for the hint. Trying it here: https://app.circleci.com/pipelines/github/gaspar-ilom/heads/12/workflows/8314619a-fb68-4af8-8915-06abf2a8f93d |
@gaspar-ilom FYI ci builds passed :) |
|
tested the t480-hotp-mazimized rom with:
thx for the work @gaspar-ilom |
As per OP requiring testing: is firewire functioning properly? |
|
@nestire @gaspar-ilom : docs as comments in boards say ME is deactivated+neutered. What means neutered here? To which extent is that true VS xx30 (intel 3rd gen vs 10th Gen : I think deactivated is proper, no?) Applies to t480s as well. There starts to be multiple PR targeting same boards. I let you decide in which order you want this to be merged and comment accordingly. Are we ready to test all thinkpads by community members? |
|
@tlaurion sorry for becoming so silent. I briefly looked into the build issues and find a better solution to fix the build than the dirty hack in fdeb5e8 From the root of heads I run these two commands (after And here's the command from the build that fails: Not sure what is missing from the cross compilation toolchain. I am not a pro at this, so any pointer is welcome. Here's the error without my fix in circle ci https://app.circleci.com/pipelines/github/gaspar-ilom/heads/15/workflows/47bb1c05-aef5-4ad3-a540-5973e28d0e60/jobs/850/parallel-runs/0/steps/0-102 |
-bump the coreboot version 25.09 for all boards on 24.12 - get rid of libreboot and our own hacky patches for the T480 as this board is now supported upstream - include the unmerged Thunderbolt patches for the T480 from: https://review.coreboot.org/c/coreboot/+/75286/18 and https://review.coreboot.org/c/coreboot/+/88490/1 - keep the patches for PR0 flash protection https://review.coreboot.org/c/coreboot/+/85278 and for clearing tpm log area https://review.coreboot.org/c/coreboot/+/84927/1 Signed-off-by: gaspar-ilom <gasparilom@riseup.net>
for all boards moved from 24.12 to 25.09 execute: ./docker_repro.sh make coreboot.save_in_oldconfig_format_in_place BOARD=XXX no manual sanity checks were executed yet Signed-off-by: gaspar-ilom <gasparilom@riseup.net>
the board is now officially supported by coreboot fix references to t480 flashing instructions. before it pointed to t430. Signed-off-by: gaspar-ilom <gasparilom@riseup.net>
fdeb5e8 to
dad5eae
Compare
It is explained in the script here. Not sure what info is missing? Maybe the documentation is not in sync with that? heads/blobs/xx80/download_clean_deguard_me_pad_tb.sh Lines 74 to 82 in 475a289
No preference. I can always rebase this on master. Just did. Although once, testers are informed this should not change anymore.
See my previous comment. If you don't mind the hack. I am ok with it. In that case I would just change the commit message. |
Signed-off-by: gaspar-ilom <gasparilom@riseup.net>
dad5eae to
6d17f35
Compare
@gaspar-ilom https://github.com/linuxboot/heads/blob/master/boards%2FEOL_t480-hotp-maximized%2FEOL_t480-hotp-maximized.config#L99 This is unedited copy paste from xx30. |
Addressed this here: 696bffd |
@Tonux599 fixed here. Thanks gaspar-ilom@ca384ab EDIT: @tlaurion force pushed over my change. So here's the winning commit: 35941b5 |
Sorry about that. :) |
I guess that this is what |
|
Can confirm x220 works |
|
Testing https://output.circle-artifacts.com/output/job/7eb2d649-c251-445e-a2a0-529a4b8db272/artifacts/0/build/x86/EOL_x230-maximized/heads-EOL_x230-maximized-.zip from commit's 35941b5 circleci run no regression.
unrelated: |
…tally->partially Signed-off-by: Thierry Laurion <insurgo@riseup.net>
tlaurion
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
there is some untested boards per each cpu family known to be really similar but untested. Per current policies, we should move them to untested in this PR, and board testers reporting them as working should move them from untested to tested with helper script.
ex:
./docker_repro.sh make BOARD=UNTESTED_XZY board.move_untested_to_tested
This is currently the case for:
- t530
- optiplex
- etc
Should I move them to untested? I guess so.
@tlaurion I noticed this as well. Did not look into it, though? How is the commit id usually included in the artifact name? I can look into my mi project settings and see if I find anything...
Yes, that would be great. I could do it, too, but only in two days. |
fix directory handling when moving boards from unmaintained to tested Signed-off-by: gaspar-ilom <gasparilom@riseup.net>
./docker_repro.sh make BOARD=EOL_w530-maximized board.move_tested_to_untested ./docker_repro.sh make BOARD=EOL_w530-hotp-maximized board.move_tested_to_untested Signed-off-by: gaspar-ilom <gasparilom@riseup.net>
./docker_repro.sh make BOARD=EOL_optiplex-7010_9010_TXT-maximized board.move_tested_to_untested ./docker_repro.sh make BOARD=EOL_optiplex-7010_9010_TXT-hotp-maximized board.move_tested_to_untested ./docker_repro.sh make BOARD=EOL_optiplex-7010_9010-hotp-maximized board.move_tested_to_untested ./docker_repro.sh make BOARD=EOL_optiplex-7010_9010-maximized board.move_tested_to_untested Signed-off-by: gaspar-ilom <gasparilom@riseup.net>
I moved the boards to untested in separate commits. Please verify that they are fine. T530 was already untested but W530 was not. All boards should have the appropriate state now. However one doubt: Should W541 maybe stay untested due to the slow raminit (with MRC blob) if I recall correctly. This was the reason the board was move to untested. @tlaurion I took the liberty of fixing the board helper scripts. They did not handle EOL prefixes correctly (assuming you want "EOL_UNTESTED_" and not "UNTESTED_EOL_" as per the existing boards with the prefixes). |
Nice. Thank you.
Unsure. It is tested with known boot delays until native ram init possibly fixing it and a pinned issue. You would keep it unmaintained?
I like it, Thank you! Didn't put much thoughts into nomenclature yet. EOL will stay EOL forever. Where UNTESTED might come and go. Your input is as valuable (diversity is needed) as mine here. I'm no king. :) |
Thinking about it: I would keep the board tested, but make sure that the slow boot and flaky resume from suspend are mentioned as a known issues. Other than that the board works fine. So it IS tested.
@tlaurion I am asking you because you use these scripts much more often and know the code better. So I wouldn't be surprised if you saw a problem in some part of the code that I was unaware of. Also, I wanted to make sure that you reviewed that and not sneak it in after you approved the PR. |
Proper documentation of the known issues is a precondition for moving this board back to tested in a previous commit. Signed-off-by: gaspar-ilom <gasparilom@riseup.net>
|
@tlaurion is this ready to be merged now? I would say so. |
From this, my question was more around should it be UNTESTED_EOL or EOL_UNTESTED? |
I have no real preference as long as it is consistent. So let's stick with the way it is until someone there is some reason to change it. |
@gaspar-ilom : Those are still unmerged upstream and someone asked if thunderbolt support was tested under matrix channel https://matrix.to/#/!eMLMv62wAMCW1V-ufL_bJ_JDngDhrpSOSEQBLzX8aTg/$51snIMsZb-VoqvZxouKuqTF7QVQaiCitlkVfzZYoa5U?via=matrix.org&via=nitro.chat&via=envs.net If no comment upstream from testing, this won't be merged meaning downstream needed maintainership.
|
@tlaurion I don't have a device to test this. I am aware that these patches have not been merged upstream. Even if Thunderbolt patches were still broken, they would bring direct value to the end users as they also fix the lower USB-C port which I have tested working. I commented here now: https://review.coreboot.org/c/coreboot/+/88490/comments/6f4aab77_95fe756b It's the best I can do atm. |

This bumps the coreboot to version 25.09.
Also, it applies the WIP Thunderbolt patches from
Old patches for 24.12 are removed. In particular, the ones we copied from libreboot. However, we might want to keep some which are currently not included such as
The motivation was to get the merged changes for the sky/kaby lake boards such as the T480. Therefore - if merged - this PR would replace #1989 and also require updating #1966
State
Investigate why f077ada is necessary and decide on a (proper) solutionFor testers
Test results
See the comment below: #2007 (comment)