diff options
author | Francis Rowe <info@gluglug.org.uk> | 2015-03-31 18:00:28 (EDT) |
---|---|---|
committer | Francis Rowe <info@gluglug.org.uk> | 2015-03-31 18:07:35 (EDT) |
commit | 75ee5e97c9be6c94ffa6ddf5f8e882bc4b1701b1 (patch) | |
tree | 1fbdc6643eb1d8fded3e3498d0451a19a319e594 /resources/scripts/helpers | |
parent | 993f379175896ca0604ac860f24b9d93b89e1e74 (diff) | |
download | libreboot-75ee5e97c9be6c94ffa6ddf5f8e882bc4b1701b1.zip libreboot-75ee5e97c9be6c94ffa6ddf5f8e882bc4b1701b1.tar.gz libreboot-75ee5e97c9be6c94ffa6ddf5f8e882bc4b1701b1.tar.bz2 |
ThinkPad T500 support
Diffstat (limited to 'resources/scripts/helpers')
-rwxr-xr-x | resources/scripts/helpers/build/roms/helper | 7 | ||||
-rwxr-xr-x | resources/scripts/helpers/build/roms/withgrub | 2 | ||||
-rwxr-xr-x | resources/scripts/helpers/download/coreboot | 4 |
3 files changed, 8 insertions, 5 deletions
diff --git a/resources/scripts/helpers/build/roms/helper b/resources/scripts/helpers/build/roms/helper index 8fde114..1d419a3 100755 --- a/resources/scripts/helpers/build/roms/helper +++ b/resources/scripts/helpers/build/roms/helper @@ -52,11 +52,12 @@ fi for romtype in txtmode vesafb do - if [ "$1" = "x200_8mb" ] || [ "$1" = "x200_4mb" ] || [ "$1" = "r400_8mb" ] || [ "$1" = "r400_4mb" ] || [ "$1" = "t400_8mb" ] || [ "$1" = "t400_4mb" ] + if [ "$1" = "x200_8mb" ] || [ "$1" = "x200_4mb" ] || [ "$1" = "r400_8mb" ] || [ "$1" = "r400_4mb" ] || [ "$1" = "t400_8mb" ] || [ "$1" = "t400_4mb" ] || [ "$1" = "t500_8mb" ] || [ "$1" = "t500_4mb" ] then if [ "$romtype" = "txtmode" ] then - echo "Text mode graphics is currently broken on X200, R400 and T400. Only framebuffer mode works." + printf "Text mode graphics is currently broken on X200, R400, T400 and T500. Only framebuffer mode works.\n" + printf "TODO: offending coreboot commit found (see docs/release.html). Fix text-mode graphics initialization.\n" continue fi fi @@ -74,7 +75,7 @@ do # Add the background image if [ "$romtype" = "vesafb" ] then - if [ "$1" = "macbook21" ] || [ "$1" = "x200_4mb" ] || [ "$1" = "x200_8mb" ] || [ "$1" = "r400_4mb" ] || [ "$1" = "r400_8mb" ] || [ "$1" = "t400_4mb" ] || [ "$1" = "t400_8mb" ] + if [ "$1" = "macbook21" ] || [ "$1" = "x200_4mb" ] || [ "$1" = "x200_8mb" ] || [ "$1" = "r400_4mb" ] || [ "$1" = "r400_8mb" ] || [ "$1" = "t400_4mb" ] || [ "$1" = "t400_8mb" ] || [ "$1" = "t500_4mb" ] || [ "$1" = "t500_8mb" ] then ./util/cbfstool/cbfstool "$1"_"$romtype".rom add -f ../resources/grub/background/gnulove.jpg -n background.jpg -t raw else diff --git a/resources/scripts/helpers/build/roms/withgrub b/resources/scripts/helpers/build/roms/withgrub index 5a7f83c..6c1c8fa 100755 --- a/resources/scripts/helpers/build/roms/withgrub +++ b/resources/scripts/helpers/build/roms/withgrub @@ -95,7 +95,7 @@ done # Then put them in the ROM images. if [ -d bin/ ]; then cd bin/ - for board in "x200" "r400" "t400" + for board in "x200" "r400" "t400" "t500" do for romsize in "4m" "8m" do diff --git a/resources/scripts/helpers/download/coreboot b/resources/scripts/helpers/download/coreboot index 123fea5..1b34d4b 100755 --- a/resources/scripts/helpers/download/coreboot +++ b/resources/scripts/helpers/download/coreboot @@ -79,7 +79,9 @@ git fetch http://review.coreboot.org/coreboot refs/changes/79/7979/1 && git cher printf "ThinkPad R400 support\n" git fetch http://review.coreboot.org/coreboot refs/changes/93/8393/2 && git cherry-pick FETCH_HEAD printf "ThinkPad T400 (depends on R400 patch)\n" -git fetch http://review.coreboot.org/coreboot refs/changes/14/8714/3 && git cherry-pick FETCH_HEAD +git fetch http://review.coreboot.org/coreboot refs/changes/14/8714/4 && git cherry-pick FETCH_HEAD +printf "ThinkPad T500 (depends on T400 patch)\n" +git fetch http://review.coreboot.org/coreboot refs/changes/81/9181/1 && git cherry-pick FETCH_HEAD # Run coreboot-libre deblob scripts # --------------------------------------------------------------------------------- |