aboutsummaryrefslogtreecommitdiff
path: root/resources/scripts/helpers/build
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2015-03-31 23:00:28 +0100
committerFrancis Rowe <info@gluglug.org.uk>2015-03-31 23:07:35 +0100
commit75ee5e97c9be6c94ffa6ddf5f8e882bc4b1701b1 (patch)
tree1fbdc6643eb1d8fded3e3498d0451a19a319e594 /resources/scripts/helpers/build
parent993f379175896ca0604ac860f24b9d93b89e1e74 (diff)
downloadlibrebootfr-75ee5e97c9be6c94ffa6ddf5f8e882bc4b1701b1.tar.gz
librebootfr-75ee5e97c9be6c94ffa6ddf5f8e882bc4b1701b1.zip
ThinkPad T500 support
Diffstat (limited to 'resources/scripts/helpers/build')
-rwxr-xr-xresources/scripts/helpers/build/roms/helper7
-rwxr-xr-xresources/scripts/helpers/build/roms/withgrub2
2 files changed, 5 insertions, 4 deletions
diff --git a/resources/scripts/helpers/build/roms/helper b/resources/scripts/helpers/build/roms/helper
index 8fde1149..1d419a39 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 5a7f83ca..6c1c8fa2 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