From 75ee5e97c9be6c94ffa6ddf5f8e882bc4b1701b1 Mon Sep 17 00:00:00 2001 From: Francis Rowe Date: Tue, 31 Mar 2015 18:00:28 -0400 Subject: ThinkPad T500 support --- (limited to 'resources/scripts') 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 # --------------------------------------------------------------------------------- -- cgit v0.9.1