-
-
Notifications
You must be signed in to change notification settings - Fork 191
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
WiP: t480 boots without known regressions #1906
base: master
Are you sure you want to change the base?
Conversation
Signed-off-by: Thierry Laurion <[email protected]>
Signed-off-by: Thierry Laurion <[email protected]>
Signed-off-by: Thierry Laurion <[email protected]>
Signed-off-by: Thierry Laurion <[email protected]>
Signed-off-by: Thierry Laurion <[email protected]>
…for t480 Signed-off-by: Thierry Laurion <[email protected]>
Signed-off-by: Thierry Laurion <[email protected]>
…ce its not sharing the same coreboot buildstack (something 25.X.X, need to check) Signed-off-by: Thierry Laurion <[email protected]>
…ack, since its not sharing the same coreboot buildstack (something 25.X.X, need to check)" This reverts commit b1f279354388fd8e71abd9f1514246d7e9f6ed1c. Hmmm.... WGET="" bin/fetch_coreboot_crossgcc_archive.sh "/home/user/heads/build/x86/coreboot-t480" "binutils" "/home/user/heads/packages/x86" --2025-02-11 14:46:38-- https://ftpmirror.gnu.org/binutils/binutils-2.43.1.tar.xz Resolving ftpmirror.gnu.org (ftpmirror.gnu.org)... 209.51.188.200, 2001:470:142:5::200 Connecting to ftpmirror.gnu.org (ftpmirror.gnu.org)|209.51.188.200|:443... connected. HTTP request sent, awaiting response... 302 Moved Temporarily Location: https://mirror.csclub.uwaterloo.ca/gnu/binutils/binutils-2.43.1.tar.xz [following] --2025-02-11 14:46:40-- https://mirror.csclub.uwaterloo.ca/gnu/binutils/binutils-2.43.1.tar.xz Resolving mirror.csclub.uwaterloo.ca (mirror.csclub.uwaterloo.ca)... 129.97.134.71, 2620:101:f000:4901:c5c:0:f:1055 Connecting to mirror.csclub.uwaterloo.ca (mirror.csclub.uwaterloo.ca)|129.97.134.71|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 28174300 (27M) [text/plain] Saving to: '/home/user/heads/packages/x86/coreboot-crossgcc-binutils-2.43.1.tar.xz.tmp' /home/user/heads/packages/x86/coreboot-crossgcc-binu 100%[=====================================================================================================================>] 26.87M 8.88MB/s in 3.0s 2025-02-11 14:46:44 (8.88 MB/s) - '/home/user/heads/packages/x86/coreboot-crossgcc-binutils-2.43.1.tar.xz.tmp' saved [28174300/28174300] /home/user/heads/packages/x86/coreboot-crossgcc-binutils-2.43.1.tar.xz.tmp: OK touch "/home/user/heads/build/x86/coreboot-t480/.heads-crossgcc-pkg-binutils" WGET="" bin/fetch_coreboot_crossgcc_archive.sh "/home/user/heads/build/x86/coreboot-t480" "gcc" "/home/user/heads/packages/x86" --2025-02-11 14:46:44-- https://ftpmirror.gnu.org/gcc/gcc-14.2.0/gcc-14.2.0.tar.xz Resolving ftpmirror.gnu.org (ftpmirror.gnu.org)... 209.51.188.200, 2001:470:142:5::200 Connecting to ftpmirror.gnu.org (ftpmirror.gnu.org)|209.51.188.200|:443... connected. HTTP request sent, awaiting response... 302 Moved Temporarily Location: https://mirror2.evolution-host.com/gnu/gcc/gcc-14.2.0/gcc-14.2.0.tar.xz [following] --2025-02-11 14:46:44-- https://mirror2.evolution-host.com/gnu/gcc/gcc-14.2.0/gcc-14.2.0.tar.xz Resolving mirror2.evolution-host.com (mirror2.evolution-host.com)... 167.114.8.249, 2607:5300:60:450d:c259:13f4:6df0:1 Connecting to mirror2.evolution-host.com (mirror2.evolution-host.com)|167.114.8.249|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 92306460 (88M) [application/x-xz] Saving to: '/home/user/heads/packages/x86/coreboot-crossgcc-gcc-14.2.0.tar.xz.tmp' /home/user/heads/packages/x86/coreboot-crossgcc-gcc- 100%[=====================================================================================================================>] 88.03M 32.9MB/s in 2.7s 2025-02-11 14:46:48 (32.9 MB/s) - '/home/user/heads/packages/x86/coreboot-crossgcc-gcc-14.2.0.tar.xz.tmp' saved [92306460/92306460] /home/user/heads/packages/x86/coreboot-crossgcc-gcc-14.2.0.tar.xz.tmp: OK touch "/home/user/heads/build/x86/coreboot-t480/.heads-crossgcc-pkg-gcc" WGET="" bin/fetch_coreboot_crossgcc_archive.sh "/home/user/heads/build/x86/coreboot-t480" "nasm" "/home/user/heads/packages/x86" --2025-02-11 14:46:48-- https://www.nasm.us/pub/nasm/releasebuilds/2.16.03/nasm-2.16.03.tar.bz2 Resolving www.nasm.us (www.nasm.us)... 198.137.202.136, 2607:7c80:54:3::136 Connecting to www.nasm.us (www.nasm.us)|198.137.202.136|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 1361988 (1.3M) [application/x-bzip2] Saving to: '/home/user/heads/packages/x86/coreboot-crossgcc-nasm-2.16.03.tar.bz2.tmp' /home/user/heads/packages/x86/coreboot-crossgcc-nasm 100%[=====================================================================================================================>] 1.30M 2.90MB/s in 0.4s 2025-02-11 14:46:49 (2.90 MB/s) - '/home/user/heads/packages/x86/coreboot-crossgcc-nasm-2.16.03.tar.bz2.tmp' saved [1361988/1361988] /home/user/heads/packages/x86/coreboot-crossgcc-nasm-2.16.03.tar.bz2.tmp: OK touch "/home/user/heads/build/x86/coreboot-t480/.heads-crossgcc-pkg-nasm" WGET="" bin/fetch_coreboot_crossgcc_archive.sh "/home/user/heads/build/x86/coreboot-t480" "iasl" "/home/user/heads/packages/x86" --2025-02-11 14:46:49-- https://distfiles.macports.org/acpica/acpica-unix-20241212.tar.gz Resolving distfiles.macports.org (distfiles.macports.org)... 151.101.138.132 Connecting to distfiles.macports.org (distfiles.macports.org)|151.101.138.132|:443... connected. HTTP request sent, awaiting response... 404 Not Found 2025-02-11 14:46:50 ERROR 404: Not Found. Failed to download https://distfiles.macports.org/acpica/acpica-unix-20241212.tar.gz Try mirrors for coreboot-crossgcc-acpica-unix-20241212.tar.gz --2025-02-11 14:46:50-- https://storage.puri.st/heads-packages/coreboot-crossgcc-acpica-unix-20241212.tar.gz Resolving storage.puri.st (storage.puri.st)... 146.190.140.226 Connecting to storage.puri.st (storage.puri.st)|146.190.140.226|:443... connected. HTTP request sent, awaiting response... 404 Not Found 2025-02-11 14:46:51 ERROR 404: Not Found. Failed to download https://storage.puri.st/heads-packages/coreboot-crossgcc-acpica-unix-20241212.tar.gz --2025-02-11 14:46:51-- https://storage.puri.sm/heads-packages/coreboot-crossgcc-acpica-unix-20241212.tar.gz Resolving storage.puri.sm (storage.puri.sm)... 146.190.140.226 Connecting to storage.puri.sm (storage.puri.sm)|146.190.140.226|:443... connected. HTTP request sent, awaiting response... 404 Not Found 2025-02-11 14:46:52 ERROR 404: Not Found. Failed to download https://storage.puri.sm/heads-packages/coreboot-crossgcc-acpica-unix-20241212.tar.gz Signed-off-by: Thierry Laurion <[email protected]>
…hon when used under nix docker Signed-off-by: Thierry Laurion <[email protected]>
…ls blobs scripts Signed-off-by: Thierry Laurion <[email protected]>
… as base Signed-off-by: Thierry Laurion <[email protected]>
…onfig and config/coreboot-novacustom-nv4x_adl.config Then saved back in oldconfig with ./docker_repro.sh make BOARD=t480-maximized coreboot.modify_and_save_oldconfig_in_place Notes: - Pr0 requirements don't stick, investigate - real quick overview of config, just rying to get thing build here Signed-off-by: Thierry Laurion <[email protected]>
…EURL to use one of libreboot web mirror Signed-off-by: Thierry Laurion <[email protected]>
…ot 24.02 buildstack) Signed-off-by: Thierry Laurion <[email protected]>
…les in tree as per http://web.archive.org/web/20250211155526/https://notgivenby.github.io/heads-wiki/t480-port/#coreboot-config-for-t480 : No joy building, but will dump progress for others to pickup Signed-off-by: Thierry Laurion <[email protected]>
…ake first layer Will fail at Updating git submodules. payloads/external/Makefile.mk:399: "Using host toolchain to build Linuxboot" GEN build.h IFDTOOL -p sklkbl -F t480-maximized/fmap-template.fmd ../../../blobs/t480/ifd_16 HOSTCC cbfstool/fmd_parser.o HOSTCC cbfstool/fmd_scanner.o make[1]: *** No rule to make target '../../../vendorfiles/kabylake/Fsp_M.fd', needed by 't480-maximized/coreboot.pre'. Stop. make[1]: *** Waiting for unfinished jobs.... File ../../../blobs/t480/ifd_16 is 4096 bytes Wrote layout to t480-maximized/fmap-template.fmd Signed-off-by: Thierry Laurion <[email protected]>
…iles exist For repro: - To remove all files created by patches (would error to help dev remove them manually) - echo "bogus" | tee build/x86/coreboot-t480/.canary - sudo rm -rf build/x86/coreboot-t480/src/mainboard/lenovo/sklkbl_thinkpad/variants/t480* - sudo rm build/x86/libgpg-error-1.46/src/syscfg/lock-obj-pub.powerpc64le-unknown-linux-musl.h - Remove all .canary files, outside of detected git forks to speedup local builds, rebuilding only new files with make magic - ./docker_repro.sh make BOARD=t480-maximized real.remove_canary_files-extract_patch_rebuild_what_changed - Rebuild from sources: unpack archives/git clone, patch, build from source - ./docker_repro.sh make BOARD=t480-maximized Signed-off-by: Thierry Laurion <[email protected]>
…ream PR0 patchset https://review.coreboot.org/c/coreboot/+/85278 Repro: git fetch https://review.coreboot.org/coreboot refs/changes/78/85278/3 && git format-patch -1 --stdout FETCH_HEAD > patches/coreboot-t480/85278-post-skylake-pr0.patch Unfortunately Applying patch file : patches/coreboot-t480/85278-post-skylake-pr0.patch Checking patch build/x86/coreboot-t480/src/soc/intel/alderlake/finalize.c... Checking patch build/x86/coreboot-t480/src/soc/intel/cannonlake/finalize.c... Checking patch build/x86/coreboot-t480/src/soc/intel/common/block/lpc/Makefile.mk... Checking patch build/x86/coreboot-t480/src/soc/intel/common/block/smm/smihandler.c... Checking patch build/x86/coreboot-t480/src/soc/intel/common/pch/include/intelpch/lockdown.h... Checking patch build/x86/coreboot-t480/src/soc/intel/common/pch/lockdown/Kconfig... Checking patch build/x86/coreboot-t480/src/soc/intel/common/pch/lockdown/Makefile.mk... Checking patch build/x86/coreboot-t480/src/soc/intel/common/pch/lockdown/lockdown.c... Checking patch build/x86/coreboot-t480/src/soc/intel/common/pch/lockdown/lockdown_lpc.c... Checking patch build/x86/coreboot-t480/src/soc/intel/common/pch/lockdown/lockdown_spi.c... Checking patch build/x86/coreboot-t480/src/soc/intel/denverton_ns/lpc.c... Checking patch build/x86/coreboot-t480/src/soc/intel/elkhartlake/finalize.c... Checking patch build/x86/coreboot-t480/src/soc/intel/jasperlake/finalize.c... Checking patch build/x86/coreboot-t480/src/soc/intel/meteorlake/finalize.c... Checking patch build/x86/coreboot-t480/src/soc/intel/pantherlake/finalize.c... Checking patch build/x86/coreboot-t480/src/soc/intel/skylake/finalize.c... Checking patch build/x86/coreboot-t480/src/soc/intel/tigerlake/finalize.c... Checking patch build/x86/coreboot-t480/src/soc/intel/xeon_sp/finalize.c... Checking patch build/x86/coreboot-t480/src/soc/intel/xeon_sp/lockdown.c... error: while searching for: static void lpc_lockdown_config(void) { /* Set BIOS Interface Lock, BIOS Lock */ lpc_set_bios_interface_lock_down(); /* Only allow writes in SMM */ if (CONFIG(BOOTMEDIA_SMM_BWP)) { lpc_set_eiss(); lpc_enable_wp(); } lpc_set_lock_enable(); } void soc_lockdown_config(int chipset_lockdown) { if (chipset_lockdown == CHIPSET_LOCKDOWN_FSP) return; lpc_lockdown_config(); pmc_lockdown_config(); sata_lockdown_config(chipset_lockdown); spi_lockdown_config(chipset_lockdown); error: patch failed: build/x86/coreboot-t480/src/soc/intel/xeon_sp/lockdown.c:6 Applied patch build/x86/coreboot-t480/src/soc/intel/alderlake/finalize.c cleanly. Applied patch build/x86/coreboot-t480/src/soc/intel/cannonlake/finalize.c cleanly. Applied patch build/x86/coreboot-t480/src/soc/intel/common/block/lpc/Makefile.mk cleanly. Applied patch build/x86/coreboot-t480/src/soc/intel/common/block/smm/smihandler.c cleanly. Applied patch build/x86/coreboot-t480/src/soc/intel/common/pch/include/intelpch/lockdown.h cleanly. Applied patch build/x86/coreboot-t480/src/soc/intel/common/pch/lockdown/Kconfig cleanly. Applied patch build/x86/coreboot-t480/src/soc/intel/common/pch/lockdown/Makefile.mk cleanly. Applied patch build/x86/coreboot-t480/src/soc/intel/common/pch/lockdown/lockdown.c cleanly. Applied patch build/x86/coreboot-t480/src/soc/intel/common/pch/lockdown/lockdown_lpc.c cleanly. Applied patch build/x86/coreboot-t480/src/soc/intel/common/pch/lockdown/lockdown_spi.c cleanly. Applied patch build/x86/coreboot-t480/src/soc/intel/denverton_ns/lpc.c cleanly. Applied patch build/x86/coreboot-t480/src/soc/intel/elkhartlake/finalize.c cleanly. Applied patch build/x86/coreboot-t480/src/soc/intel/jasperlake/finalize.c cleanly. Applied patch build/x86/coreboot-t480/src/soc/intel/meteorlake/finalize.c cleanly. Applied patch build/x86/coreboot-t480/src/soc/intel/pantherlake/finalize.c cleanly. Applied patch build/x86/coreboot-t480/src/soc/intel/skylake/finalize.c cleanly. Applied patch build/x86/coreboot-t480/src/soc/intel/tigerlake/finalize.c cleanly. Applied patch build/x86/coreboot-t480/src/soc/intel/xeon_sp/finalize.c cleanly. Applying patch build/x86/coreboot-t480/src/soc/intel/xeon_sp/lockdown.c with 1 reject... Rejected hunk #1. make: *** [Makefile:570: /home/user/heads/build/x86/coreboot-t480/.canary] Error 1 Will have to edit patch Signed-off-by: Thierry Laurion <[email protected]>
…we are not interested into which are conflicting against coreboot upstream commit 2f1e4e5e8515dd350cc9d68b48d32a5b6b02ae6a Signed-off-by: Thierry Laurion <[email protected]>
…config Signed-off-by: Thierry Laurion <[email protected]>
…herwise build error Signed-off-by: Thierry Laurion <[email protected]>
002d107 adds PR0 (to be tested) and fix build issues. time spent total 3h |
… after kexec call to final OS. Otherwise, problem with coreboot config) Signed-off-by: Thierry Laurion <[email protected]>
@tlaurion please delete p from the folder name /boards/t480p-hotp-maximized . It should read t480-hotp-maximized. I believe the "p" was left from t440p. |
Signed-off-by: gaspar-ilom <[email protected]>
…d error Signed-off-by: Thierry Laurion <[email protected]>
Again who else can become a board tester: @akunterkontrolle @notgivenby @MattClifton76 @mblanqui. It would be great to have more people oboard to ensure that we can always test in time. It will make the maintainer's life so much easier! Please add your handle here if you can help with that: https://github.com/tlaurion/heads/blob/f02ab497a1027fb296ca4b78bf0facf5575993b3/BOARD_TESTERS.md?plain=1#L37 |
One question: can you see the review comments I added in the code. To me they do not show up when I am not logged-in, but I can see yours. Only realized that now. Why is that? I think @tlaurion you also could not add me to the PR as a reviewer/ asignee. Am I lacking some permissions? |
I have started working on this but it is a little bit annoying. I had to write a patch to I am not sure it is worth it. It could always be added at a later point in time. Also I dumped the ifd from libreboot and from my board and compared the diff.txt:
What do you think? |
Please also add the @doritos4mlady (#1885 (comment)). |
@tlaurion unfourtunatly the rom did not build. I will try to build locally... |
There is a race condition, which sometimes happen and sometimes not. Will get to the root of it and report it upstream. TLDR: unless at least race condition in crossgcc build is fixed (with an additional patch landing under patches/coreboot-24.12/*) this PR won't be mergeable, causing master CircleCI builds to fail as experienced here randomly and is a blocker for this PR to be merged) @gaspar-ilom 9978aa6 contains your latest commit for TPM GPIO issue documentation from tlaurion#16 |
@gaspar-ilom I see no comments under https://github.com/linuxboot/heads/pull/1906/files |
@gaspar-ilom EDIT: PR0 will lock all spi chip from being writeable outside of Heads (OS) as reported correct under #1906 (comment) by @MattClifton76. Everything else are improvements. Ideal, to me, for maintenance, would be to reuse libreboot provided ifd as is (since they neuter ME and modified IFD accordingly) reducing maintenance costs to Heads for this board and reuse prior work and enforce collaboration on porting (where libreboot did the work to provide recipe to have fully working ROMs since they changed libreboot no-blobs policy to minimal blobs policy), making Heads and libreboot compatible in philosophy and making more close collaboration possible. |
On upstream 24.12 crossgcc race condition issue, observable thorugh CircleCI at https://app.circleci.com/pipelines/github/tlaurion/heads/3145/workflows/2f85c9b6-827c-41ec-b9b9-1ea51d4f6432/jobs/62760?invite=true#step-102-28452_97
With detailed logs showed at https://app.circleci.com/pipelines/github/tlaurion/heads/3145/workflows/2f85c9b6-827c-41ec-b9b9-1ea51d4f6432/jobs/62760/parallel-runs/0/steps/0-106?invite=true#step-106-462419_180
Hmmm, not a race condition, but a problem linked to how CircleCI shares resources, and here, most probably OM Killer, killing a process taking too much memory per Let's remember that by bumping to 24.12, we bumped crossgcc buildstack, which now depends on a newer gcc version, which in term might be more memory hungry and might require adaptation on estimation of resource consumptions made by Heads.
So Heads buildsystem passes |
…teed 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 <[email protected]>
…n case we change CircleCI worskpace caches leading to build artifacts being reusable in the future Signed-off-by: Thierry Laurion <[email protected]>
Wish me luck, it just completed the build, I'm going to try the update rom. |
Annoying. So now CircleCI failed building kgpe-d16 with 384e243 because of a race condition (!?!?!?)
I am currently unaware of users of the currently unmaintained d16 board, which alternative fork (fam15h based on coreboot 4.11, with AGESA support as a further goal, was PoC under #1910 I think I will remove it from CircleCI for now until someone takes the lead for kgpe-d16 under d16 club |
… CircleCI to build for t480. Delegating needed fixes to linuxboot#1910 community effort and for the d16 club d16 board owners Signed-off-by: Thierry Laurion <[email protected]>
The Flash was successful, regenerated keys, resigned everything, booted into fedora 41, tested the FN keys. Everything seems to work, I will double check later on. |
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.
Can you actually see this comment? It is weird that you do not see all my comments on the file changes....
config/coreboot-t480.config
Outdated
# CONFIG_USE_INTEL_FSP_MP_INIT is not set | ||
CONFIG_CPU_SUPPORTS_PM_TIMER_EMULATION=y | ||
CONFIG_HAVE_HYPERTHREADING=y | ||
CONFIG_FSP_HYPERTHREADING=y |
This comment was marked as outdated.
This comment was marked as outdated.
Sorry, something went wrong.
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.
Doest change much under Heads where everything is mostly single process driven (with exception of scdaemin and gpg toolstack) and where GUI drives the calls to binaries outside of recovery shell, where the user can use Heads payload for recovery purposes.
config/coreboot-t480.config
Outdated
CONFIG_THINKPADEC_HKEY_EISAID="IBM0068" | ||
CONFIG_GFX_GMA_PANEL_1_PORT="eDP" | ||
CONFIG_BOARD_LENOVO_SKLKBL_THINKPAD_COMMON=y | ||
CONFIG_LENOVO_TBFW_BIN="" |
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.
I believe we do not need to pull the thunderbolt stuff from libreboot as of now.
This comment was marked as outdated.
This comment was marked as outdated.
Sorry, something went wrong.
This comment was marked as outdated.
This comment was marked as outdated.
Sorry, something went wrong.
CONFIG_INCLUDE_CONFIG_FILE=y | ||
CONFIG_COLLECT_TIMESTAMPS=y | ||
# CONFIG_TIMESTAMPS_ON_CONSOLE is not set | ||
CONFIG_USE_BLOBS=y |
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.
I do not think we need to set this. The FSP blobs do not seem to depend on this setting.
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.
No, but microcode updates from firmware do.
# CONFIG_USE_INTEL_FSP_MP_INIT is not set | ||
CONFIG_CPU_SUPPORTS_PM_TIMER_EMULATION=y | ||
CONFIG_HAVE_HYPERTHREADING=y | ||
CONFIG_FSP_HYPERTHREADING=y |
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.
In my opinion we could set this to false to although there is a performance increase on some operating systems for certain tasks. Hyperthreading is an attack vector for side-channels like spectre meltdown.
CONFIG_HAVE_INTEL_CHIPSET_LOCKDOWN=y | ||
CONFIG_INTEL_DESCRIPTOR_MODE_CAPABLE=y | ||
# CONFIG_VALIDATE_INTEL_DESCRIPTOR is not set | ||
# CONFIG_INTEL_CHIPSET_LOCKDOWN is not set |
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.
This should probably get reset if we drop https://github.com/tlaurion/heads/blob/poc_t480/patches/coreboot-24.12/85278-post-skylake-pr0.patch
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.
We want this. Ti's tested working in PR comments.
# Therefore, patches/coreboot-2412 includes libreboot patches applied to 24.12 release | ||
# patches/coreboot-2412 also includes PR0 patchset, minus xeon support which don't apply to 24.12 as per https://review.coreboot.org/c/coreboot/+/85278 | ||
# TODO: @miczyg1 rebase of patchset so that doenstream don't have to maintain, adapt work | ||
coreboot-24.12_repo := https://review.coreboot.org/coreboot.git |
This comment was marked as resolved.
This comment was marked as resolved.
Sorry, something went wrong.
# Therefore, patches/coreboot-2412 includes libreboot patches applied to 24.12 release | ||
# patches/coreboot-2412 also includes PR0 patchset, minus xeon support which don't apply to 24.12 as per https://review.coreboot.org/c/coreboot/+/85278 | ||
# TODO: @miczyg1 rebase of patchset so that doenstream don't have to maintain, adapt work | ||
coreboot-24.12_repo := https://review.coreboot.org/coreboot.git |
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.
It is the same commit as what is used in the open coreboot review https://review.coreboot.org/c/coreboot/+/83274
I believe this was rebased at some point on that commit and previously branched off from an older commit. Have you tracked down where the ADA compiler issue was introduced? Maybe we can get away with using an older coreboot version for now? Or a newer one if it is fixed by coreboot...
Ok I guess the problem was that I never submitted the full review... |
I am not sure how to help with the build issues. Sorry. |
@gaspar-ilom once your reviews are submitted will there be a new file created? |
I fixed it for t480 in this PR latest pushed commit. What I'm saying is that 20 boards switched to 24.12 cannot build, so we won't be able to have other boards switch to 24.12. This means that if Ada issue is fixed for next rlcoreboot release, and t480 is merged then, then all boards failing and t480 will be able to use next coreboot release. As of now, t480 is alone and will stay alone using 24.12 because of gnat/ADA not being properly tested upstream. Gcc 14+ and Ada don't seem to play well as of 24.12 release for libgfxinit which all intel based GPU boards under Heads depend on. Not sure why t480 is able to be built here. Didn't dig in the issue. |
Not sure what you are referring to? The automated circleci builds? The review is just about discussing code changes until someone goes ahead and makes the changes in a fork so that they can be merged or cherry-picked into this branch. Only when that happens new builds are triggered. |
Thanks for your efforts and the clarification. I wasn't sure how happy you were with the state and whether it would still block merging this PR. Now it is clear. |
My bad, I got you now. I'm still trying to figure how GitHub works. Thank you. |
@tlaurion @gaspar-ilom just tested the last commit and build: the battery info now is gone completely... |
Please screenshot result of My guess is that the kernel config for t480 is missing something. Not having the hardware and being afk: I don't know what. Then cat the content of those files, find /sys/class/power_supply* | while read powerfile; do echo $powerfile; cat $powerfile; done If too much output, put thumb drive with ext3/ext4/fat/exfat partition and mount-usb --mode rw And then provide output of said powerfiles.txt here. |
Disclaimer: This PR picks https://review.coreboot.org/c/coreboot/+/83274 and patches added by libreboot as coreboot 24.12 release commit as a base. Whatever is not fixed in WiP support of coreboot should be discussed on that patchset.
This PR should build, but is incomplete as of now. This PR is a draft permitting to review under this PR what needs to be changed to have complete t480 support.
It merges the prior work of @akunterkontrolle and @notgivenby and @gaspar-ilom from #1885 and #1907
From notes under #1885 (comment)
My total 10h contribution (and counting) for now is at https://github.com/tlaurion/heads/tree/poc_t480
target/t480-> adapted https://github.com/gaspar-ilom/heads/tree/t480 work, which calls blobs scripts from targets/xx80_me_blobs.mkfixes blob download script needing to call python directly (nix has environment paths, need to call python, cannot call python script directly): blobs/xx80/download_clean_deguard_me.sh is used instead from @gaspar-ilomTODO: