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/helpers/build') 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 -- cgit v0.9.1