From 95d5b067cfb98fb98113c51ece2c243b63cf4e5d Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Tue, 10 Dec 2024 23:42:48 +0000 Subject: [PATCH] adjust the t480 thunderbolt notes Signed-off-by: Leah Rowe --- site/docs/install/t480.md | 37 ++++++++++++++++++++++++++++--------- 1 file changed, 28 insertions(+), 9 deletions(-) diff --git a/site/docs/install/t480.md b/site/docs/install/t480.md index e76ecc6..a70db31 100644 --- a/site/docs/install/t480.md +++ b/site/docs/install/t480.md @@ -402,7 +402,27 @@ work on the port, but everything else is UNTESTED. You also need the [gerrit patch](https://review.coreboot.org/c/coreboot/+/75286) adding a Thunderbolt driver to coreboot. -To apply these patches, do the following in a fresh clone of `lbmk.git`: +To apply these patches, do the following in a fresh clone of `lbmk.git` and do: + +``` +git checkout 20241206-t480-thunderbolt-unstable +``` + +In it, you'll find this commit: + +``` +commit 3881160b863ff53df9064a29a25aab55c76ee9c4 (HEAD -> 20241206-t480-thunderbolt-unstable) +Author: Leah Rowe +Date: Tue Dec 10 23:35:47 2024 +0000 + + experimental/unstable t480 thunderbolt support + + Signed-off-by: Leah Rowe +``` + +This was created by the following steps, applying the patches referenced above +and amending the coreboot configs for T480/T480s, within lbmk, from a fresh +clone of lbmk (Git repository): ``` git reset --hard b910424b5df8ed7c931a7b8f5cc8e34eacf0ca3e # 20241206rev2 @@ -411,21 +431,20 @@ cd src/coreboot/next wget https://libreboot.org/docs/install/t480-thunderbolt-20241206-unstable.patch git fetch https://review.coreboot.org/coreboot refs/changes/86/75286/12 && git cherry-pick FETCH_HEAD git am t480-thunderbolt-20241206-unstable.patch +git format-patch -n2 +mv 0001-drivers-intel-dtbt-Add-discrete-Thunderbolt-driver.patch ../../../config/coreboot/next/patches/0010-drivers-intel-dtbt-Add-discrete-Thunderbolt-driver.patch +mv 0002-thunderbolt-fix-ish.patch ../../../config/coreboot/next/patches/0011-thunderbolt-fix-ish.patch cd - ./mk -u coreboot t480s_fsp_16mb ./mk -u coreboot t480_fsp_16mb +git add config/coreboot/next/patches/ +git add config/coreboot/t480_fsp_16mb/ +git add config/coreboot/t480s_fsp_16mb/ +git commit -s -m "experimental/unstable t480 thunderbolt support" ``` You can now follow standard [build instructions](../build/). -NOTE: If you remove src/coreboot/next, you must apply the patches again. -To make it easier, you can instead do this from a fresh `lbmk.git` (do this -instead of running the commands above): - -``` -git checkout 20241206-t480-thunderbolt-unstable -``` - The branch named `20241206-t480-thunderbolt-unstable` already has the above patches applied, including the configuration changes made by `./mk -u`, and you can follow the same build instructions. In this lbmk branch, that