File site/docs/install/t480.md changed (mode: 100644) (index e76ecc6..a70db31) |
... |
... |
work on the port, but everything else is UNTESTED. |
402 |
402 |
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) |
403 |
403 |
adding a Thunderbolt driver to coreboot. |
adding a Thunderbolt driver to coreboot. |
404 |
404 |
|
|
405 |
|
To apply these patches, do the following in a fresh clone of `lbmk.git`: |
|
|
405 |
|
To apply these patches, do the following in a fresh clone of `lbmk.git` and do: |
|
406 |
|
|
|
407 |
|
``` |
|
408 |
|
git checkout 20241206-t480-thunderbolt-unstable |
|
409 |
|
``` |
|
410 |
|
|
|
411 |
|
In it, you'll find this commit: |
|
412 |
|
|
|
413 |
|
``` |
|
414 |
|
commit 3881160b863ff53df9064a29a25aab55c76ee9c4 (HEAD -> 20241206-t480-thunderbolt-unstable) |
|
415 |
|
Author: Leah Rowe <leah@libreboot.org> |
|
416 |
|
Date: Tue Dec 10 23:35:47 2024 +0000 |
|
417 |
|
|
|
418 |
|
experimental/unstable t480 thunderbolt support |
|
419 |
|
|
|
420 |
|
Signed-off-by: Leah Rowe <leah@libreboot.org> |
|
421 |
|
``` |
|
422 |
|
|
|
423 |
|
This was created by the following steps, applying the patches referenced above |
|
424 |
|
and amending the coreboot configs for T480/T480s, within lbmk, from a fresh |
|
425 |
|
clone of lbmk (Git repository): |
406 |
426 |
|
|
407 |
427 |
``` |
``` |
408 |
428 |
git reset --hard b910424b5df8ed7c931a7b8f5cc8e34eacf0ca3e # 20241206rev2 |
git reset --hard b910424b5df8ed7c931a7b8f5cc8e34eacf0ca3e # 20241206rev2 |
|
... |
... |
cd src/coreboot/next |
411 |
431 |
wget https://libreboot.org/docs/install/t480-thunderbolt-20241206-unstable.patch |
wget https://libreboot.org/docs/install/t480-thunderbolt-20241206-unstable.patch |
412 |
432 |
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 |
413 |
433 |
git am t480-thunderbolt-20241206-unstable.patch |
git am t480-thunderbolt-20241206-unstable.patch |
|
434 |
|
git format-patch -n2 |
|
435 |
|
mv 0001-drivers-intel-dtbt-Add-discrete-Thunderbolt-driver.patch ../../../config/coreboot/next/patches/0010-drivers-intel-dtbt-Add-discrete-Thunderbolt-driver.patch |
|
436 |
|
mv 0002-thunderbolt-fix-ish.patch ../../../config/coreboot/next/patches/0011-thunderbolt-fix-ish.patch |
414 |
437 |
cd - |
cd - |
415 |
438 |
./mk -u coreboot t480s_fsp_16mb |
./mk -u coreboot t480s_fsp_16mb |
416 |
439 |
./mk -u coreboot t480_fsp_16mb |
./mk -u coreboot t480_fsp_16mb |
|
440 |
|
git add config/coreboot/next/patches/ |
|
441 |
|
git add config/coreboot/t480_fsp_16mb/ |
|
442 |
|
git add config/coreboot/t480s_fsp_16mb/ |
|
443 |
|
git commit -s -m "experimental/unstable t480 thunderbolt support" |
417 |
444 |
``` |
``` |
418 |
445 |
|
|
419 |
446 |
You can now follow standard [build instructions](../build/). |
You can now follow standard [build instructions](../build/). |
420 |
447 |
|
|
421 |
|
NOTE: If you remove src/coreboot/next, you must apply the patches again. |
|
422 |
|
To make it easier, you can instead do this from a fresh `lbmk.git` (do this |
|
423 |
|
instead of running the commands above): |
|
424 |
|
|
|
425 |
|
``` |
|
426 |
|
git checkout 20241206-t480-thunderbolt-unstable |
|
427 |
|
``` |
|
428 |
|
|
|
429 |
448 |
The branch named `20241206-t480-thunderbolt-unstable` already has the above |
The branch named `20241206-t480-thunderbolt-unstable` already has the above |
430 |
449 |
patches applied, including the configuration changes made by `./mk -u`, and |
patches applied, including the configuration changes made by `./mk -u`, and |
431 |
450 |
you can follow the same build instructions. In this lbmk branch, that |
you can follow the same build instructions. In this lbmk branch, that |