Revert the image size increasing for abuild. It breaks more boards than
authorUwe Hermann <uwe@hermann-uwe.de>
Wed, 25 Apr 2007 00:23:39 +0000 (00:23 +0000)
committerUwe Hermann <uwe@hermann-uwe.de>
Wed, 25 Apr 2007 00:23:39 +0000 (00:23 +0000)
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

targets/gigabyte/m57sli/Config-abuild.lb [new file with mode: 0644]
targets/nvidia/l1_2pvv/Config-abuild.lb [new file with mode: 0644]
targets/tyan/s2912/Config-abuild.lb [new file with mode: 0644]
util/abuild/abuild

diff --git a/targets/gigabyte/m57sli/Config-abuild.lb b/targets/gigabyte/m57sli/Config-abuild.lb
new file mode 100644 (file)
index 0000000..61025a5
--- /dev/null
@@ -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 (file)
index 0000000..1196aa5
--- /dev/null
@@ -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 (file)
index 0000000..dbc3123
--- /dev/null
@@ -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"
index 994929a58ac9da20be0866c48debd8965097b480..173acd01b9445361a7a4e56bae358d460633aa48 100755 (executable)
@@ -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