summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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