summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2007-04-25 00:23:39 +0000
committerUwe Hermann <uwe@hermann-uwe.de>2007-04-25 00:23:39 +0000
commitdabbf5777b172f13748569b442e2b5e2fe0c2f00 (patch)
treec251f359672a03b65b031e0841c3aded3d6c5911
parentf83c1826386b7d8af12cc353b9a5226222b814bb (diff)
downloadcoreboot-dabbf5777b172f13748569b442e2b5e2fe0c2f00.tar.xz
Revert the image size increasing for abuild. It breaks more boards than
it fixes. It seems many of the other boards run out of space for the payload. Thus, this patch only increases the image size for the three boards - tyan/s2912 - nvidia/l1_2pvv - gigabyte/m57sli by adding a custom Config-abuild.lb file for each of them. Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2618 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
-rw-r--r--targets/gigabyte/m57sli/Config-abuild.lb42
-rw-r--r--targets/nvidia/l1_2pvv/Config-abuild.lb42
-rw-r--r--targets/tyan/s2912/Config-abuild.lb42
-rwxr-xr-xutil/abuild/abuild4
4 files changed, 128 insertions, 2 deletions
diff --git a/targets/gigabyte/m57sli/Config-abuild.lb b/targets/gigabyte/m57sli/Config-abuild.lb
new file mode 100644
index 0000000000..61025a574a
--- /dev/null
+++ b/targets/gigabyte/m57sli/Config-abuild.lb
@@ -0,0 +1,42 @@
+##
+## This file is part of the LinuxBIOS project.
+##
+## Copyright (C) 2007 Uwe Hermann <uwe@hermann-uwe.de>
+##
+## This program is free software; you can redistribute it and/or modify
+## it under the terms of the GNU General Public License as published by
+## the Free Software Foundation; either version 2 of the License, or
+## (at your option) any later version.
+##
+## This program is distributed in the hope that it will be useful,
+## but WITHOUT ANY WARRANTY; without even the implied warranty of
+## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+## GNU General Public License for more details.
+##
+## You should have received a copy of the GNU General Public License
+## along with this program; if not, write to the Free Software
+## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+##
+
+target gigabyte_m57sli
+mainboard gigabyte/m57sli
+
+__COMPRESSION__
+
+romimage "normal"
+ option USE_FALLBACK_IMAGE=0
+ option ROM_IMAGE_SIZE=0x20000
+ option XIP_ROM_SIZE=0x40000
+ option LINUXBIOS_EXTRA_VERSION=".0-Normal"
+ payload __PAYLOAD__
+end
+
+romimage "fallback"
+ option USE_FALLBACK_IMAGE=1
+ option ROM_IMAGE_SIZE=0x20000
+ option XIP_ROM_SIZE=0x40000
+ option LINUXBIOS_EXTRA_VERSION=".0-Fallback"
+ payload __PAYLOAD__
+end
+
+buildrom ./linuxbios.rom ROM_SIZE "normal" "fallback"
diff --git a/targets/nvidia/l1_2pvv/Config-abuild.lb b/targets/nvidia/l1_2pvv/Config-abuild.lb
new file mode 100644
index 0000000000..1196aa54ee
--- /dev/null
+++ b/targets/nvidia/l1_2pvv/Config-abuild.lb
@@ -0,0 +1,42 @@
+##
+## This file is part of the LinuxBIOS project.
+##
+## Copyright (C) 2007 Uwe Hermann <uwe@hermann-uwe.de>
+##
+## This program is free software; you can redistribute it and/or modify
+## it under the terms of the GNU General Public License as published by
+## the Free Software Foundation; either version 2 of the License, or
+## (at your option) any later version.
+##
+## This program is distributed in the hope that it will be useful,
+## but WITHOUT ANY WARRANTY; without even the implied warranty of
+## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+## GNU General Public License for more details.
+##
+## You should have received a copy of the GNU General Public License
+## along with this program; if not, write to the Free Software
+## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+##
+
+target nvidia_l1_2pvv
+mainboard nvidia/l1_2pvv
+
+__COMPRESSION__
+
+romimage "normal"
+ option USE_FALLBACK_IMAGE=0
+ option ROM_IMAGE_SIZE=0x20000
+ option XIP_ROM_SIZE=0x40000
+ option LINUXBIOS_EXTRA_VERSION=".0-Normal"
+ payload __PAYLOAD__
+end
+
+romimage "fallback"
+ option USE_FALLBACK_IMAGE=1
+ option ROM_IMAGE_SIZE=0x20000
+ option XIP_ROM_SIZE=0x40000
+ option LINUXBIOS_EXTRA_VERSION=".0-Fallback"
+ payload __PAYLOAD__
+end
+
+buildrom ./linuxbios.rom ROM_SIZE "normal" "fallback"
diff --git a/targets/tyan/s2912/Config-abuild.lb b/targets/tyan/s2912/Config-abuild.lb
new file mode 100644
index 0000000000..dbc3123d84
--- /dev/null
+++ b/targets/tyan/s2912/Config-abuild.lb
@@ -0,0 +1,42 @@
+##
+## This file is part of the LinuxBIOS project.
+##
+## Copyright (C) 2007 Uwe Hermann <uwe@hermann-uwe.de>
+##
+## This program is free software; you can redistribute it and/or modify
+## it under the terms of the GNU General Public License as published by
+## the Free Software Foundation; either version 2 of the License, or
+## (at your option) any later version.
+##
+## This program is distributed in the hope that it will be useful,
+## but WITHOUT ANY WARRANTY; without even the implied warranty of
+## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+## GNU General Public License for more details.
+##
+## You should have received a copy of the GNU General Public License
+## along with this program; if not, write to the Free Software
+## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+##
+
+target tyan_s2912
+mainboard tyan/s2912
+
+__COMPRESSION__
+
+romimage "normal"
+ option USE_FALLBACK_IMAGE=0
+ option ROM_IMAGE_SIZE=0x20000
+ option XIP_ROM_SIZE=0x40000
+ option LINUXBIOS_EXTRA_VERSION=".0-Normal"
+ payload __PAYLOAD__
+end
+
+romimage "fallback"
+ option USE_FALLBACK_IMAGE=1
+ option ROM_IMAGE_SIZE=0x20000
+ option XIP_ROM_SIZE=0x40000
+ option LINUXBIOS_EXTRA_VERSION=".0-Fallback"
+ payload __PAYLOAD__
+end
+
+buildrom ./linuxbios.rom ROM_SIZE "normal" "fallback"
diff --git a/util/abuild/abuild b/util/abuild/abuild
index 994929a58a..173acd01b9 100755
--- a/util/abuild/abuild
+++ b/util/abuild/abuild
@@ -142,14 +142,14 @@ EOF
cat <<EOF
romimage "normal"
option USE_FALLBACK_IMAGE=0
- option ROM_IMAGE_SIZE=0x20000
+ option ROM_IMAGE_SIZE=0x17000
option LINUXBIOS_EXTRA_VERSION=".0-normal"
payload __PAYLOAD__
end
romimage "fallback"
option USE_FALLBACK_IMAGE=1
- option ROM_IMAGE_SIZE=0x20000
+ option ROM_IMAGE_SIZE=0x17000
option LINUXBIOS_EXTRA_VERSION=".0-fallback"
payload __PAYLOAD__
end