summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRonald G. Minnich <rminnich@gmail.com>2005-11-23 15:41:10 +0000
committerRonald G. Minnich <rminnich@gmail.com>2005-11-23 15:41:10 +0000
commitebc692873dd38e397b256e935269232789770416 (patch)
tree1cbc902ab0050092140db1d1fdd1ac4ecfc08b20
parented1f9a75b30c0080dc057240b5bac726a274a062 (diff)
fix so it can use a pre-built test config.
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2094 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
-rw-r--r--targets/digitallogic/msm586seg/Config-abuild.lb31
-rwxr-xr-xutil/abuild/abuild.sh7
2 files changed, 38 insertions, 0 deletions
diff --git a/targets/digitallogic/msm586seg/Config-abuild.lb b/targets/digitallogic/msm586seg/Config-abuild.lb
new file mode 100644
index 0000000000..9c91c33829
--- /dev/null
+++ b/targets/digitallogic/msm586seg/Config-abuild.lb
@@ -0,0 +1,31 @@
+target digitallogic_msm586seg
+mainboard digitallogic/msm586seg
+
+
+
+option DEFAULT_CONSOLE_LOGLEVEL=10
+option MAXIMUM_CONSOLE_LOGLEVEL=10
+option CONFIG_COMPRESS=0
+
+option CONFIG_CONSOLE_VGA=1
+
+#romimage "normal"
+# option USE_FALLBACK_IMAGE=0
+# option ROM_IMAGE_SIZE=0x10000
+# option LINUXBIOS_EXTRA_VERSION=".0Normal"
+# payload /etc/hosts
+#end
+
+romimage "fallback"
+ option FALLBACK_SIZE = 256 * 1024
+# option ROM_SIZE=512*1024
+# option ROM_SECTION_SIZE=512*1024
+ option USE_FALLBACK_IMAGE=1
+# option ROM_IMAGE_SIZE=32 * 1024 # 0x8000
+ option ROM_IMAGE_SIZE=128 * 1024 # 0x10000
+# option ROM_IMAGE_SIZE=512 * 1024 # 0x10000
+ option LINUXBIOS_EXTRA_VERSION=".0Fallback"
+ payload /dev/null
+end
+
+buildrom ./linuxbios.rom ROM_SIZE "fallback"
diff --git a/util/abuild/abuild.sh b/util/abuild/abuild.sh
index 48f11c71a9..b489ac3ebd 100755
--- a/util/abuild/abuild.sh
+++ b/util/abuild/abuild.sh
@@ -65,6 +65,13 @@ function create_config
VENDOR=$1
MAINBOARD=$2
TARCH=$( architecture $VENDOR $MAINBOARD )
+ TARGCONFIG=$LBROOT/targets/$VENDOR/$MAINBOARD/Config-abuild.lb
+ if [ -f $TARGCONFIG ]; then
+ cp $TARGCONFIG $TARGET/Config-${VENDOR}_${MAINBOARD}.lb
+ echo "Used existing test target $TARGCONFIG"
+ return
+ fi
+
echo -n " Creating config file..."
mkdir -p $TARGET
( cat << EOF