parent
762f1516fe
commit
95d5b067cf
|
@ -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)
|
You also need the [gerrit patch](https://review.coreboot.org/c/coreboot/+/75286)
|
||||||
adding a Thunderbolt driver to coreboot.
|
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 <leah@libreboot.org>
|
||||||
|
Date: Tue Dec 10 23:35:47 2024 +0000
|
||||||
|
|
||||||
|
experimental/unstable t480 thunderbolt support
|
||||||
|
|
||||||
|
Signed-off-by: Leah Rowe <leah@libreboot.org>
|
||||||
|
```
|
||||||
|
|
||||||
|
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
|
git reset --hard b910424b5df8ed7c931a7b8f5cc8e34eacf0ca3e # 20241206rev2
|
||||||
|
@ -411,21 +431,20 @@ cd src/coreboot/next
|
||||||
wget https://libreboot.org/docs/install/t480-thunderbolt-20241206-unstable.patch
|
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 fetch https://review.coreboot.org/coreboot refs/changes/86/75286/12 && git cherry-pick FETCH_HEAD
|
||||||
git am t480-thunderbolt-20241206-unstable.patch
|
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 -
|
cd -
|
||||||
./mk -u coreboot t480s_fsp_16mb
|
./mk -u coreboot t480s_fsp_16mb
|
||||||
./mk -u coreboot t480_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/).
|
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
|
The branch named `20241206-t480-thunderbolt-unstable` already has the above
|
||||||
patches applied, including the configuration changes made by `./mk -u`, and
|
patches applied, including the configuration changes made by `./mk -u`, and
|
||||||
you can follow the same build instructions. In this lbmk branch, that
|
you can follow the same build instructions. In this lbmk branch, that
|
||||||
|
|
Loading…
Reference in New Issue