Author: stepan
Date: 2006-11-10 14:30:28 +0100 (Fri, 10 Nov 2006)
New Revision: 2496
Added:
trunk/LinuxBIOSv2/targets/amd/quartet/Config-abuild.lb
trunk/LinuxBIOSv2/targets/amd/serengeti_cheetah/Config-abuild.lb
trunk/LinuxBIOSv2/targets/arima/hdama/Config-abuild.lb
trunk/LinuxBIOSv2/targets/ibm/e326/
trunk/LinuxBIOSv2/targets/ibm/e326/Config-abuild.lb
Modified:
trunk/LinuxBIOSv2/src/mainboard/agami/aruma/Options.lb
trunk/LinuxBIOSv2/src/mainboard/amd/quartet/Options.lb
trunk/LinuxBIOSv2/src/mainboard/amd/rumba/Options.lb
trunk/LinuxBIOSv2/src/mainboard/amd/serenade/Options.lb
trunk/LinuxBIOSv2/src/mainboard/amd/serengeti_cheetah/Options.lb
trunk/LinuxBIOSv2/src/mainboard/amd/serengeti_leopard/Options.lb
trunk/LinuxBIOSv2/src/mainboard/amd/solo/Options.lb
trunk/LinuxBIOSv2/src/mainboard/arima/hdama/Options.lb
trunk/LinuxBIOSv2/src/mainboard/artecgroup/dbe61/Options.lb
trunk/LinuxBIOSv2/src/mainboard/asus/p2b/Options.lb
trunk/LinuxBIOSv2/src/mainboard/bitworks/ims/Options.lb
trunk/LinuxBIOSv2/src/mainboard/broadcom/blast/Options.lb
trunk/LinuxBIOSv2/src/mainboard/dell/s1850/Options.lb
trunk/LinuxBIOSv2/src/mainboard/densitron/dpx114/Options.lb
trunk/LinuxBIOSv2/src/mainboard/digitallogic/adl855pc/Options.lb
trunk/LinuxBIOSv2/src/mainboard/digitallogic/msm586seg/Options.lb
trunk/LinuxBIOSv2/src/mainboard/digitallogic/msm800sev/Options.lb
trunk/LinuxBIOSv2/src/mainboard/eaglelion/5bcm/Options.lb
trunk/LinuxBIOSv2/src/mainboard/embeddedplanet/ep405pc/Options.lb
trunk/LinuxBIOSv2/src/mainboard/ibm/e325/Options.lb
trunk/LinuxBIOSv2/src/mainboard/ibm/e326/Options.lb
trunk/LinuxBIOSv2/src/mainboard/intel/jarrell/Options.lb
trunk/LinuxBIOSv2/src/mainboard/intel/xe7501devkit/Options.lb
trunk/LinuxBIOSv2/src/mainboard/iwill/dk8_htx/Options.lb
trunk/LinuxBIOSv2/src/mainboard/iwill/dk8s2/Options.lb
trunk/LinuxBIOSv2/src/mainboard/iwill/dk8x/Options.lb
trunk/LinuxBIOSv2/src/mainboard/lippert/frontrunner/Options.lb
trunk/LinuxBIOSv2/src/mainboard/motorola/sandpointx3_altimus_mpc7410/Options.lb
trunk/LinuxBIOSv2/src/mainboard/msi/ms9185/Options.lb
trunk/LinuxBIOSv2/src/mainboard/newisys/khepri/Options.lb
trunk/LinuxBIOSv2/src/mainboard/sunw/ultra40/Options.lb
trunk/LinuxBIOSv2/src/mainboard/supermicro/x6dai_g/Options.lb
trunk/LinuxBIOSv2/src/mainboard/supermicro/x6dhe_g/Options.lb
trunk/LinuxBIOSv2/src/mainboard/supermicro/x6dhe_g2/Options.lb
trunk/LinuxBIOSv2/src/mainboard/supermicro/x6dhr_ig/Options.lb
trunk/LinuxBIOSv2/src/mainboard/supermicro/x6dhr_ig2/Options.lb
trunk/LinuxBIOSv2/src/mainboard/technologic/ts5300/Options.lb
trunk/LinuxBIOSv2/src/mainboard/totalimpact/briq/Options.lb
trunk/LinuxBIOSv2/src/mainboard/tyan/s2735/Options.lb
trunk/LinuxBIOSv2/src/mainboard/tyan/s2850/Options.lb
trunk/LinuxBIOSv2/src/mainboard/tyan/s2875/Options.lb
trunk/LinuxBIOSv2/src/mainboard/tyan/s2880/Options.lb
trunk/LinuxBIOSv2/src/mainboard/tyan/s2881/Options.lb
trunk/LinuxBIOSv2/src/mainboard/tyan/s2882/Options.lb
trunk/LinuxBIOSv2/src/mainboard/tyan/s2885/Options.lb
trunk/LinuxBIOSv2/src/mainboard/tyan/s2891/Options.lb
trunk/LinuxBIOSv2/src/mainboard/tyan/s2892/Options.lb
trunk/LinuxBIOSv2/src/mainboard/tyan/s2895/Options.lb
trunk/LinuxBIOSv2/src/mainboard/tyan/s4880/Options.lb
trunk/LinuxBIOSv2/src/mainboard/tyan/s4882/Options.lb
trunk/LinuxBIOSv2/src/mainboard/via/epia-m/Options.lb
trunk/LinuxBIOSv2/src/mainboard/via/epia/Options.lb
trunk/LinuxBIOSv2/targets/digitallogic/msm586seg/Config-abuild.lb
trunk/LinuxBIOSv2/targets/emulation/qemu-i386/Config-abuild.lb
trunk/LinuxBIOSv2/targets/technologic/ts5300/Config-abuild.lb
trunk/LinuxBIOSv2/targets/via/epia-m/Config-abuild.lb
trunk/LinuxBIOSv2/util/abuild/abuild
Log:
* fix the automatic build system by compressing payloads if possible
and leaving enough room for a real payload (not /dev/null)
This is a wonderful example why "uses" sucks.
* add Config-abuild.lb for those boards that dont build with
the default settings and a real payload:
arima/hdama, amd/quartet, amd/serengeti_cheetah, ibm/e326
* if lzma is installed and a real payload is used, try compressing
it.
* fix a small bug in "abuild --help"
This patch is acked by me because its due to infrastructural changes only.
Flames welcome.
Signed-off-by: Stefan Reinauer <stepan(a)coresystems.de>
Acked-by: Stefan Reinauer <stepan(a)coresystems.de>
Modified: trunk/LinuxBIOSv2/src/mainboard/agami/aruma/Options.lb
===================================================================
--- trunk/LinuxBIOSv2/src/mainboard/agami/aruma/Options.lb 2006-11-10 09:04:12 UTC (rev 2495)
+++ trunk/LinuxBIOSv2/src/mainboard/agami/aruma/Options.lb 2006-11-10 13:30:28 UTC (rev 2496)
@@ -20,6 +20,7 @@
uses ROM_SECTION_OFFSET
uses CONFIG_ROM_STREAM
uses CONFIG_ROM_STREAM_START
+uses CONFIG_COMPRESSED_ROM_STREAM_LZMA
uses PAYLOAD_SIZE
uses _ROMBASE
uses XIP_ROM_SIZE
Modified: trunk/LinuxBIOSv2/src/mainboard/amd/quartet/Options.lb
===================================================================
--- trunk/LinuxBIOSv2/src/mainboard/amd/quartet/Options.lb 2006-11-10 09:04:12 UTC (rev 2495)
+++ trunk/LinuxBIOSv2/src/mainboard/amd/quartet/Options.lb 2006-11-10 13:30:28 UTC (rev 2496)
@@ -17,6 +17,7 @@
uses ROM_SECTION_OFFSET
uses CONFIG_ROM_STREAM
uses CONFIG_ROM_STREAM_START
+uses CONFIG_COMPRESSED_ROM_STREAM_LZMA
uses PAYLOAD_SIZE
uses _ROMBASE
uses XIP_ROM_SIZE
Modified: trunk/LinuxBIOSv2/src/mainboard/amd/rumba/Options.lb
===================================================================
--- trunk/LinuxBIOSv2/src/mainboard/amd/rumba/Options.lb 2006-11-10 09:04:12 UTC (rev 2495)
+++ trunk/LinuxBIOSv2/src/mainboard/amd/rumba/Options.lb 2006-11-10 13:30:28 UTC (rev 2496)
@@ -21,7 +21,7 @@
uses ROM_SECTION_SIZE
uses ROM_SECTION_OFFSET
uses CONFIG_ROM_STREAM_START
-uses CONFIG_COMPRESSED_ROM_STREAM_NRV2B
+uses CONFIG_COMPRESSED_ROM_STREAM_LZMA
uses PAYLOAD_SIZE
uses _ROMBASE
uses _RAMBASE
Modified: trunk/LinuxBIOSv2/src/mainboard/amd/serenade/Options.lb
===================================================================
--- trunk/LinuxBIOSv2/src/mainboard/amd/serenade/Options.lb 2006-11-10 09:04:12 UTC (rev 2495)
+++ trunk/LinuxBIOSv2/src/mainboard/amd/serenade/Options.lb 2006-11-10 13:30:28 UTC (rev 2496)
@@ -17,6 +17,7 @@
uses ROM_SECTION_OFFSET
uses CONFIG_ROM_STREAM
uses CONFIG_ROM_STREAM_START
+uses CONFIG_COMPRESSED_ROM_STREAM_LZMA
uses PAYLOAD_SIZE
uses _ROMBASE
uses XIP_ROM_SIZE
Modified: trunk/LinuxBIOSv2/src/mainboard/amd/serengeti_cheetah/Options.lb
===================================================================
--- trunk/LinuxBIOSv2/src/mainboard/amd/serengeti_cheetah/Options.lb 2006-11-10 09:04:12 UTC (rev 2495)
+++ trunk/LinuxBIOSv2/src/mainboard/amd/serengeti_cheetah/Options.lb 2006-11-10 13:30:28 UTC (rev 2496)
@@ -23,7 +23,7 @@
uses ROM_SECTION_OFFSET
uses CONFIG_ROM_STREAM
uses CONFIG_ROM_STREAM_START
-uses CONFIG_COMPRESSED_ROM_STREAM
+uses CONFIG_COMPRESSED_ROM_STREAM_LZMA
uses PAYLOAD_SIZE
uses _ROMBASE
uses XIP_ROM_SIZE
@@ -267,8 +267,6 @@
##
default CONFIG_ROM_STREAM = 1
-#default CONFIG_COMPRESSED_ROM_STREAM = 1
-
###
### Defaults of options that you may want to override in the target config file
###
Modified: trunk/LinuxBIOSv2/src/mainboard/amd/serengeti_leopard/Options.lb
===================================================================
--- trunk/LinuxBIOSv2/src/mainboard/amd/serengeti_leopard/Options.lb 2006-11-10 09:04:12 UTC (rev 2495)
+++ trunk/LinuxBIOSv2/src/mainboard/amd/serengeti_leopard/Options.lb 2006-11-10 13:30:28 UTC (rev 2496)
@@ -23,6 +23,7 @@
uses ROM_SECTION_OFFSET
uses CONFIG_ROM_STREAM
uses CONFIG_ROM_STREAM_START
+uses CONFIG_COMPRESSED_ROM_STREAM_LZMA
uses PAYLOAD_SIZE
uses _ROMBASE
uses XIP_ROM_SIZE
Modified: trunk/LinuxBIOSv2/src/mainboard/amd/solo/Options.lb
===================================================================
--- trunk/LinuxBIOSv2/src/mainboard/amd/solo/Options.lb 2006-11-10 09:04:12 UTC (rev 2495)
+++ trunk/LinuxBIOSv2/src/mainboard/amd/solo/Options.lb 2006-11-10 13:30:28 UTC (rev 2496)
@@ -18,6 +18,7 @@
uses ROM_SECTION_OFFSET
uses CONFIG_ROM_STREAM
uses CONFIG_ROM_STREAM_START
+uses CONFIG_COMPRESSED_ROM_STREAM_LZMA
uses PAYLOAD_SIZE
uses _ROMBASE
uses XIP_ROM_SIZE
Modified: trunk/LinuxBIOSv2/src/mainboard/arima/hdama/Options.lb
===================================================================
--- trunk/LinuxBIOSv2/src/mainboard/arima/hdama/Options.lb 2006-11-10 09:04:12 UTC (rev 2495)
+++ trunk/LinuxBIOSv2/src/mainboard/arima/hdama/Options.lb 2006-11-10 13:30:28 UTC (rev 2496)
@@ -17,6 +17,7 @@
uses ROM_SECTION_OFFSET
uses CONFIG_ROM_STREAM
uses CONFIG_ROM_STREAM_START
+uses CONFIG_COMPRESSED_ROM_STREAM_LZMA
uses PAYLOAD_SIZE
uses _ROMBASE
uses XIP_ROM_SIZE
Modified: trunk/LinuxBIOSv2/src/mainboard/artecgroup/dbe61/Options.lb
===================================================================
--- trunk/LinuxBIOSv2/src/mainboard/artecgroup/dbe61/Options.lb 2006-11-10 09:04:12 UTC (rev 2495)
+++ trunk/LinuxBIOSv2/src/mainboard/artecgroup/dbe61/Options.lb 2006-11-10 13:30:28 UTC (rev 2496)
@@ -21,7 +21,7 @@
uses ROM_SECTION_SIZE
uses ROM_SECTION_OFFSET
uses CONFIG_ROM_STREAM_START
-uses CONFIG_COMPRESSED_ROM_STREAM_NRV2B
+uses CONFIG_COMPRESSED_ROM_STREAM_LZMA
uses PAYLOAD_SIZE
uses _ROMBASE
uses _RAMBASE
Modified: trunk/LinuxBIOSv2/src/mainboard/asus/p2b/Options.lb
===================================================================
--- trunk/LinuxBIOSv2/src/mainboard/asus/p2b/Options.lb 2006-11-10 09:04:12 UTC (rev 2495)
+++ trunk/LinuxBIOSv2/src/mainboard/asus/p2b/Options.lb 2006-11-10 13:30:28 UTC (rev 2496)
@@ -21,6 +21,7 @@
uses ROM_SECTION_SIZE
uses ROM_SECTION_OFFSET
uses CONFIG_ROM_STREAM_START
+uses CONFIG_COMPRESSED_ROM_STREAM_LZMA
uses PAYLOAD_SIZE
uses _ROMBASE
uses _RAMBASE
Modified: trunk/LinuxBIOSv2/src/mainboard/bitworks/ims/Options.lb
===================================================================
--- trunk/LinuxBIOSv2/src/mainboard/bitworks/ims/Options.lb 2006-11-10 09:04:12 UTC (rev 2495)
+++ trunk/LinuxBIOSv2/src/mainboard/bitworks/ims/Options.lb 2006-11-10 13:30:28 UTC (rev 2496)
@@ -21,6 +21,7 @@
uses ROM_SECTION_SIZE
uses ROM_SECTION_OFFSET
uses CONFIG_ROM_STREAM_START
+uses CONFIG_COMPRESSED_ROM_STREAM_LZMA
uses PAYLOAD_SIZE
uses _ROMBASE
uses _RAMBASE
Modified: trunk/LinuxBIOSv2/src/mainboard/broadcom/blast/Options.lb
===================================================================
--- trunk/LinuxBIOSv2/src/mainboard/broadcom/blast/Options.lb 2006-11-10 09:04:12 UTC (rev 2495)
+++ trunk/LinuxBIOSv2/src/mainboard/broadcom/blast/Options.lb 2006-11-10 13:30:28 UTC (rev 2496)
@@ -19,6 +19,7 @@
uses ROM_SECTION_OFFSET
uses CONFIG_ROM_STREAM
uses CONFIG_ROM_STREAM_START
+uses CONFIG_COMPRESSED_ROM_STREAM_LZMA
uses PAYLOAD_SIZE
uses _ROMBASE
uses XIP_ROM_SIZE
Modified: trunk/LinuxBIOSv2/src/mainboard/dell/s1850/Options.lb
===================================================================
--- trunk/LinuxBIOSv2/src/mainboard/dell/s1850/Options.lb 2006-11-10 09:04:12 UTC (rev 2495)
+++ trunk/LinuxBIOSv2/src/mainboard/dell/s1850/Options.lb 2006-11-10 13:30:28 UTC (rev 2496)
@@ -17,6 +17,7 @@
uses ROM_SECTION_OFFSET
uses CONFIG_ROM_STREAM
uses CONFIG_ROM_STREAM_START
+uses CONFIG_COMPRESSED_ROM_STREAM_LZMA
uses PAYLOAD_SIZE
uses _ROMBASE
uses XIP_ROM_SIZE
Modified: trunk/LinuxBIOSv2/src/mainboard/densitron/dpx114/Options.lb
===================================================================
--- trunk/LinuxBIOSv2/src/mainboard/densitron/dpx114/Options.lb 2006-11-10 09:04:12 UTC (rev 2495)
+++ trunk/LinuxBIOSv2/src/mainboard/densitron/dpx114/Options.lb 2006-11-10 13:30:28 UTC (rev 2496)
@@ -21,6 +21,7 @@
uses ROM_SECTION_SIZE
uses ROM_SECTION_OFFSET
uses CONFIG_ROM_STREAM_START
+uses CONFIG_COMPRESSED_ROM_STREAM_LZMA
uses PAYLOAD_SIZE
uses _ROMBASE
uses _RAMBASE
Modified: trunk/LinuxBIOSv2/src/mainboard/digitallogic/adl855pc/Options.lb
===================================================================
--- trunk/LinuxBIOSv2/src/mainboard/digitallogic/adl855pc/Options.lb 2006-11-10 09:04:12 UTC (rev 2495)
+++ trunk/LinuxBIOSv2/src/mainboard/digitallogic/adl855pc/Options.lb 2006-11-10 13:30:28 UTC (rev 2496)
@@ -22,6 +22,7 @@
uses ROM_SECTION_SIZE
uses ROM_SECTION_OFFSET
uses CONFIG_ROM_STREAM_START
+uses CONFIG_COMPRESSED_ROM_STREAM_LZMA
uses PAYLOAD_SIZE
uses _ROMBASE
uses _RAMBASE
Modified: trunk/LinuxBIOSv2/src/mainboard/digitallogic/msm586seg/Options.lb
===================================================================
--- trunk/LinuxBIOSv2/src/mainboard/digitallogic/msm586seg/Options.lb 2006-11-10 09:04:12 UTC (rev 2495)
+++ trunk/LinuxBIOSv2/src/mainboard/digitallogic/msm586seg/Options.lb 2006-11-10 13:30:28 UTC (rev 2496)
@@ -23,6 +23,7 @@
uses ROM_SECTION_SIZE
uses ROM_SECTION_OFFSET
uses CONFIG_ROM_STREAM_START
+uses CONFIG_COMPRESSED_ROM_STREAM_LZMA
uses PAYLOAD_SIZE
uses _ROMBASE
uses _RAMBASE
Modified: trunk/LinuxBIOSv2/src/mainboard/digitallogic/msm800sev/Options.lb
===================================================================
--- trunk/LinuxBIOSv2/src/mainboard/digitallogic/msm800sev/Options.lb 2006-11-10 09:04:12 UTC (rev 2495)
+++ trunk/LinuxBIOSv2/src/mainboard/digitallogic/msm800sev/Options.lb 2006-11-10 13:30:28 UTC (rev 2496)
@@ -21,7 +21,7 @@
uses ROM_SECTION_SIZE
uses ROM_SECTION_OFFSET
uses CONFIG_ROM_STREAM_START
-uses CONFIG_COMPRESSED_ROM_STREAM_NRV2B
+uses CONFIG_COMPRESSED_ROM_STREAM_LZMA
uses PAYLOAD_SIZE
uses _ROMBASE
uses _RAMBASE
Modified: trunk/LinuxBIOSv2/src/mainboard/eaglelion/5bcm/Options.lb
===================================================================
--- trunk/LinuxBIOSv2/src/mainboard/eaglelion/5bcm/Options.lb 2006-11-10 09:04:12 UTC (rev 2495)
+++ trunk/LinuxBIOSv2/src/mainboard/eaglelion/5bcm/Options.lb 2006-11-10 13:30:28 UTC (rev 2496)
@@ -21,6 +21,7 @@
uses ROM_SECTION_SIZE
uses ROM_SECTION_OFFSET
uses CONFIG_ROM_STREAM_START
+uses CONFIG_COMPRESSED_ROM_STREAM_LZMA
uses PAYLOAD_SIZE
uses _ROMBASE
uses _RAMBASE
Modified: trunk/LinuxBIOSv2/src/mainboard/embeddedplanet/ep405pc/Options.lb
===================================================================
--- trunk/LinuxBIOSv2/src/mainboard/embeddedplanet/ep405pc/Options.lb 2006-11-10 09:04:12 UTC (rev 2495)
+++ trunk/LinuxBIOSv2/src/mainboard/embeddedplanet/ep405pc/Options.lb 2006-11-10 13:30:28 UTC (rev 2496)
@@ -24,6 +24,7 @@
uses CONFIG_FS_EXT2
uses CONFIG_FS_ISO9660
uses CONFIG_FS_FAT
+uses CONFIG_COMPRESSED_ROM_STREAM_LZMA
uses AUTOBOOT_CMDLINE
uses CONFIG_SYS_CLK_FREQ
uses IDE_BOOT_DRIVE
Modified: trunk/LinuxBIOSv2/src/mainboard/ibm/e325/Options.lb
===================================================================
--- trunk/LinuxBIOSv2/src/mainboard/ibm/e325/Options.lb 2006-11-10 09:04:12 UTC (rev 2495)
+++ trunk/LinuxBIOSv2/src/mainboard/ibm/e325/Options.lb 2006-11-10 13:30:28 UTC (rev 2496)
@@ -17,6 +17,7 @@
uses ROM_SECTION_OFFSET
uses CONFIG_ROM_STREAM
uses CONFIG_ROM_STREAM_START
+uses CONFIG_COMPRESSED_ROM_STREAM_LZMA
uses PAYLOAD_SIZE
uses _ROMBASE
uses XIP_ROM_SIZE
Modified: trunk/LinuxBIOSv2/src/mainboard/ibm/e326/Options.lb
===================================================================
--- trunk/LinuxBIOSv2/src/mainboard/ibm/e326/Options.lb 2006-11-10 09:04:12 UTC (rev 2495)
+++ trunk/LinuxBIOSv2/src/mainboard/ibm/e326/Options.lb 2006-11-10 13:30:28 UTC (rev 2496)
@@ -17,6 +17,7 @@
uses ROM_SECTION_OFFSET
uses CONFIG_ROM_STREAM
uses CONFIG_ROM_STREAM_START
+uses CONFIG_COMPRESSED_ROM_STREAM_LZMA
uses PAYLOAD_SIZE
uses _ROMBASE
uses XIP_ROM_SIZE
Modified: trunk/LinuxBIOSv2/src/mainboard/intel/jarrell/Options.lb
===================================================================
--- trunk/LinuxBIOSv2/src/mainboard/intel/jarrell/Options.lb 2006-11-10 09:04:12 UTC (rev 2495)
+++ trunk/LinuxBIOSv2/src/mainboard/intel/jarrell/Options.lb 2006-11-10 13:30:28 UTC (rev 2496)
@@ -17,6 +17,7 @@
uses ROM_SECTION_OFFSET
uses CONFIG_ROM_STREAM
uses CONFIG_ROM_STREAM_START
+uses CONFIG_COMPRESSED_ROM_STREAM_LZMA
uses PAYLOAD_SIZE
uses _ROMBASE
uses XIP_ROM_SIZE
Modified: trunk/LinuxBIOSv2/src/mainboard/intel/xe7501devkit/Options.lb
===================================================================
--- trunk/LinuxBIOSv2/src/mainboard/intel/xe7501devkit/Options.lb 2006-11-10 09:04:12 UTC (rev 2495)
+++ trunk/LinuxBIOSv2/src/mainboard/intel/xe7501devkit/Options.lb 2006-11-10 13:30:28 UTC (rev 2496)
@@ -10,6 +10,7 @@
uses CONFIG_IOAPIC
uses CONFIG_SMP
uses CONFIG_ROM_STREAM
+uses CONFIG_COMPRESSED_ROM_STREAM_LZMA
uses STACK_SIZE
uses HEAP_SIZE
uses USE_OPTION_TABLE
Modified: trunk/LinuxBIOSv2/src/mainboard/iwill/dk8_htx/Options.lb
===================================================================
--- trunk/LinuxBIOSv2/src/mainboard/iwill/dk8_htx/Options.lb 2006-11-10 09:04:12 UTC (rev 2495)
+++ trunk/LinuxBIOSv2/src/mainboard/iwill/dk8_htx/Options.lb 2006-11-10 13:30:28 UTC (rev 2496)
@@ -23,7 +23,7 @@
uses ROM_SECTION_OFFSET
uses CONFIG_ROM_STREAM
uses CONFIG_ROM_STREAM_START
-uses CONFIG_COMPRESSED_ROM_STREAM
+uses CONFIG_COMPRESSED_ROM_STREAM_LZMA
uses PAYLOAD_SIZE
uses _ROMBASE
uses XIP_ROM_SIZE
@@ -266,8 +266,6 @@
##
default CONFIG_ROM_STREAM = 1
-#default CONFIG_COMPRESSED_ROM_STREAM = 1
-
###
### Defaults of options that you may want to override in the target config file
###
Modified: trunk/LinuxBIOSv2/src/mainboard/iwill/dk8s2/Options.lb
===================================================================
--- trunk/LinuxBIOSv2/src/mainboard/iwill/dk8s2/Options.lb 2006-11-10 09:04:12 UTC (rev 2495)
+++ trunk/LinuxBIOSv2/src/mainboard/iwill/dk8s2/Options.lb 2006-11-10 13:30:28 UTC (rev 2496)
@@ -17,6 +17,7 @@
uses ROM_SECTION_OFFSET
uses CONFIG_ROM_STREAM
uses CONFIG_ROM_STREAM_START
+uses CONFIG_COMPRESSED_ROM_STREAM_LZMA
uses PAYLOAD_SIZE
uses _ROMBASE
uses XIP_ROM_SIZE
Modified: trunk/LinuxBIOSv2/src/mainboard/iwill/dk8x/Options.lb
===================================================================
--- trunk/LinuxBIOSv2/src/mainboard/iwill/dk8x/Options.lb 2006-11-10 09:04:12 UTC (rev 2495)
+++ trunk/LinuxBIOSv2/src/mainboard/iwill/dk8x/Options.lb 2006-11-10 13:30:28 UTC (rev 2496)
@@ -17,6 +17,7 @@
uses ROM_SECTION_OFFSET
uses CONFIG_ROM_STREAM
uses CONFIG_ROM_STREAM_START
+uses CONFIG_COMPRESSED_ROM_STREAM_LZMA
uses PAYLOAD_SIZE
uses _ROMBASE
uses XIP_ROM_SIZE
Modified: trunk/LinuxBIOSv2/src/mainboard/lippert/frontrunner/Options.lb
===================================================================
--- trunk/LinuxBIOSv2/src/mainboard/lippert/frontrunner/Options.lb 2006-11-10 09:04:12 UTC (rev 2495)
+++ trunk/LinuxBIOSv2/src/mainboard/lippert/frontrunner/Options.lb 2006-11-10 13:30:28 UTC (rev 2496)
@@ -21,6 +21,7 @@
uses ROM_SECTION_SIZE
uses ROM_SECTION_OFFSET
uses CONFIG_ROM_STREAM_START
+uses CONFIG_COMPRESSED_ROM_STREAM_LZMA
uses PAYLOAD_SIZE
uses _ROMBASE
uses _RAMBASE
Modified: trunk/LinuxBIOSv2/src/mainboard/motorola/sandpointx3_altimus_mpc7410/Options.lb
===================================================================
--- trunk/LinuxBIOSv2/src/mainboard/motorola/sandpointx3_altimus_mpc7410/Options.lb 2006-11-10 09:04:12 UTC (rev 2495)
+++ trunk/LinuxBIOSv2/src/mainboard/motorola/sandpointx3_altimus_mpc7410/Options.lb 2006-11-10 13:30:28 UTC (rev 2496)
@@ -21,6 +21,7 @@
uses CONFIG_FS_EXT2
uses CONFIG_FS_ISO9660
uses CONFIG_FS_FAT
+uses CONFIG_COMPRESSED_ROM_STREAM_LZMA
uses AUTOBOOT_CMDLINE
uses PAYLOAD_SIZE
uses ROM_SIZE
Modified: trunk/LinuxBIOSv2/src/mainboard/msi/ms9185/Options.lb
===================================================================
--- trunk/LinuxBIOSv2/src/mainboard/msi/ms9185/Options.lb 2006-11-10 09:04:12 UTC (rev 2495)
+++ trunk/LinuxBIOSv2/src/mainboard/msi/ms9185/Options.lb 2006-11-10 13:30:28 UTC (rev 2496)
@@ -44,6 +44,7 @@
uses ROM_SECTION_OFFSET
uses CONFIG_ROM_STREAM
uses CONFIG_ROM_STREAM_START
+uses CONFIG_COMPRESSED_ROM_STREAM_LZMA
uses PAYLOAD_SIZE
uses _ROMBASE
uses XIP_ROM_SIZE
Modified: trunk/LinuxBIOSv2/src/mainboard/newisys/khepri/Options.lb
===================================================================
--- trunk/LinuxBIOSv2/src/mainboard/newisys/khepri/Options.lb 2006-11-10 09:04:12 UTC (rev 2495)
+++ trunk/LinuxBIOSv2/src/mainboard/newisys/khepri/Options.lb 2006-11-10 13:30:28 UTC (rev 2496)
@@ -17,6 +17,7 @@
uses ROM_SECTION_OFFSET
uses CONFIG_ROM_STREAM
uses CONFIG_ROM_STREAM_START
+uses CONFIG_COMPRESSED_ROM_STREAM_LZMA
uses PAYLOAD_SIZE
uses _ROMBASE
uses XIP_ROM_SIZE
Modified: trunk/LinuxBIOSv2/src/mainboard/sunw/ultra40/Options.lb
===================================================================
--- trunk/LinuxBIOSv2/src/mainboard/sunw/ultra40/Options.lb 2006-11-10 09:04:12 UTC (rev 2495)
+++ trunk/LinuxBIOSv2/src/mainboard/sunw/ultra40/Options.lb 2006-11-10 13:30:28 UTC (rev 2496)
@@ -18,6 +18,7 @@
uses ROM_SECTION_OFFSET
uses CONFIG_ROM_STREAM
uses CONFIG_ROM_STREAM_START
+uses CONFIG_COMPRESSED_ROM_STREAM_LZMA
uses PAYLOAD_SIZE
uses _ROMBASE
uses XIP_ROM_SIZE
Modified: trunk/LinuxBIOSv2/src/mainboard/supermicro/x6dai_g/Options.lb
===================================================================
--- trunk/LinuxBIOSv2/src/mainboard/supermicro/x6dai_g/Options.lb 2006-11-10 09:04:12 UTC (rev 2495)
+++ trunk/LinuxBIOSv2/src/mainboard/supermicro/x6dai_g/Options.lb 2006-11-10 13:30:28 UTC (rev 2496)
@@ -17,6 +17,7 @@
uses ROM_SECTION_OFFSET
uses CONFIG_ROM_STREAM
uses CONFIG_ROM_STREAM_START
+uses CONFIG_COMPRESSED_ROM_STREAM_LZMA
uses PAYLOAD_SIZE
uses _ROMBASE
uses XIP_ROM_SIZE
Modified: trunk/LinuxBIOSv2/src/mainboard/supermicro/x6dhe_g/Options.lb
===================================================================
--- trunk/LinuxBIOSv2/src/mainboard/supermicro/x6dhe_g/Options.lb 2006-11-10 09:04:12 UTC (rev 2495)
+++ trunk/LinuxBIOSv2/src/mainboard/supermicro/x6dhe_g/Options.lb 2006-11-10 13:30:28 UTC (rev 2496)
@@ -17,6 +17,7 @@
uses ROM_SECTION_OFFSET
uses CONFIG_ROM_STREAM
uses CONFIG_ROM_STREAM_START
+uses CONFIG_COMPRESSED_ROM_STREAM_LZMA
uses PAYLOAD_SIZE
uses _ROMBASE
uses XIP_ROM_SIZE
Modified: trunk/LinuxBIOSv2/src/mainboard/supermicro/x6dhe_g2/Options.lb
===================================================================
--- trunk/LinuxBIOSv2/src/mainboard/supermicro/x6dhe_g2/Options.lb 2006-11-10 09:04:12 UTC (rev 2495)
+++ trunk/LinuxBIOSv2/src/mainboard/supermicro/x6dhe_g2/Options.lb 2006-11-10 13:30:28 UTC (rev 2496)
@@ -17,6 +17,7 @@
uses ROM_SECTION_OFFSET
uses CONFIG_ROM_STREAM
uses CONFIG_ROM_STREAM_START
+uses CONFIG_COMPRESSED_ROM_STREAM_LZMA
uses PAYLOAD_SIZE
uses _ROMBASE
uses XIP_ROM_SIZE
Modified: trunk/LinuxBIOSv2/src/mainboard/supermicro/x6dhr_ig/Options.lb
===================================================================
--- trunk/LinuxBIOSv2/src/mainboard/supermicro/x6dhr_ig/Options.lb 2006-11-10 09:04:12 UTC (rev 2495)
+++ trunk/LinuxBIOSv2/src/mainboard/supermicro/x6dhr_ig/Options.lb 2006-11-10 13:30:28 UTC (rev 2496)
@@ -17,6 +17,7 @@
uses ROM_SECTION_OFFSET
uses CONFIG_ROM_STREAM
uses CONFIG_ROM_STREAM_START
+uses CONFIG_COMPRESSED_ROM_STREAM_LZMA
uses PAYLOAD_SIZE
uses _ROMBASE
uses XIP_ROM_SIZE
Modified: trunk/LinuxBIOSv2/src/mainboard/supermicro/x6dhr_ig2/Options.lb
===================================================================
--- trunk/LinuxBIOSv2/src/mainboard/supermicro/x6dhr_ig2/Options.lb 2006-11-10 09:04:12 UTC (rev 2495)
+++ trunk/LinuxBIOSv2/src/mainboard/supermicro/x6dhr_ig2/Options.lb 2006-11-10 13:30:28 UTC (rev 2496)
@@ -17,6 +17,7 @@
uses ROM_SECTION_OFFSET
uses CONFIG_ROM_STREAM
uses CONFIG_ROM_STREAM_START
+uses CONFIG_COMPRESSED_ROM_STREAM_LZMA
uses PAYLOAD_SIZE
uses _ROMBASE
uses XIP_ROM_SIZE
Modified: trunk/LinuxBIOSv2/src/mainboard/technologic/ts5300/Options.lb
===================================================================
--- trunk/LinuxBIOSv2/src/mainboard/technologic/ts5300/Options.lb 2006-11-10 09:04:12 UTC (rev 2495)
+++ trunk/LinuxBIOSv2/src/mainboard/technologic/ts5300/Options.lb 2006-11-10 13:30:28 UTC (rev 2496)
@@ -6,7 +6,6 @@
uses HAVE_OPTION_TABLE
uses USE_OPTION_TABLE
uses CONFIG_COMPRESS
-uses CONFIG_COMPRESSED_ROM_STREAM_NRV2B
uses CONFIG_ROM_STREAM
uses CONFIG_USE_INIT
uses IRQ_SLOT_COUNT
@@ -24,6 +23,7 @@
uses ROM_SECTION_SIZE
uses ROM_SECTION_OFFSET
uses CONFIG_ROM_STREAM_START
+uses CONFIG_COMPRESSED_ROM_STREAM_LZMA
uses PAYLOAD_SIZE
uses _ROMBASE
uses _RAMBASE
@@ -134,7 +134,6 @@
default _RAMBASE = 0x00004000
-default CONFIG_COMPRESSED_ROM_STREAM_NRV2B = 1
default CONFIG_ROM_STREAM = 1
##
Modified: trunk/LinuxBIOSv2/src/mainboard/totalimpact/briq/Options.lb
===================================================================
--- trunk/LinuxBIOSv2/src/mainboard/totalimpact/briq/Options.lb 2006-11-10 09:04:12 UTC (rev 2495)
+++ trunk/LinuxBIOSv2/src/mainboard/totalimpact/briq/Options.lb 2006-11-10 13:30:28 UTC (rev 2496)
@@ -19,6 +19,7 @@
uses NO_POST
uses CONFIG_CONSOLE_SERIAL8250
uses CONFIG_IDE_STREAM
+uses CONFIG_COMPRESSED_ROM_STREAM_LZMA
uses IDE_BOOT_DRIVE
uses IDE_SWAB IDE_OFFSET
uses ROM_SIZE
Modified: trunk/LinuxBIOSv2/src/mainboard/tyan/s2735/Options.lb
===================================================================
--- trunk/LinuxBIOSv2/src/mainboard/tyan/s2735/Options.lb 2006-11-10 09:04:12 UTC (rev 2495)
+++ trunk/LinuxBIOSv2/src/mainboard/tyan/s2735/Options.lb 2006-11-10 13:30:28 UTC (rev 2496)
@@ -19,6 +19,7 @@
uses ROM_SECTION_OFFSET
uses CONFIG_ROM_STREAM
uses CONFIG_ROM_STREAM_START
+uses CONFIG_COMPRESSED_ROM_STREAM_LZMA
uses PAYLOAD_SIZE
uses _ROMBASE
uses XIP_ROM_SIZE
Modified: trunk/LinuxBIOSv2/src/mainboard/tyan/s2850/Options.lb
===================================================================
--- trunk/LinuxBIOSv2/src/mainboard/tyan/s2850/Options.lb 2006-11-10 09:04:12 UTC (rev 2495)
+++ trunk/LinuxBIOSv2/src/mainboard/tyan/s2850/Options.lb 2006-11-10 13:30:28 UTC (rev 2496)
@@ -18,6 +18,7 @@
uses ROM_SECTION_OFFSET
uses CONFIG_ROM_STREAM
uses CONFIG_ROM_STREAM_START
+uses CONFIG_COMPRESSED_ROM_STREAM_LZMA
uses PAYLOAD_SIZE
uses _ROMBASE
uses XIP_ROM_SIZE
Modified: trunk/LinuxBIOSv2/src/mainboard/tyan/s2875/Options.lb
===================================================================
--- trunk/LinuxBIOSv2/src/mainboard/tyan/s2875/Options.lb 2006-11-10 09:04:12 UTC (rev 2495)
+++ trunk/LinuxBIOSv2/src/mainboard/tyan/s2875/Options.lb 2006-11-10 13:30:28 UTC (rev 2496)
@@ -18,6 +18,7 @@
uses ROM_SECTION_OFFSET
uses CONFIG_ROM_STREAM
uses CONFIG_ROM_STREAM_START
+uses CONFIG_COMPRESSED_ROM_STREAM_LZMA
uses PAYLOAD_SIZE
uses _ROMBASE
uses XIP_ROM_SIZE
Modified: trunk/LinuxBIOSv2/src/mainboard/tyan/s2880/Options.lb
===================================================================
--- trunk/LinuxBIOSv2/src/mainboard/tyan/s2880/Options.lb 2006-11-10 09:04:12 UTC (rev 2495)
+++ trunk/LinuxBIOSv2/src/mainboard/tyan/s2880/Options.lb 2006-11-10 13:30:28 UTC (rev 2496)
@@ -18,6 +18,7 @@
uses ROM_SECTION_OFFSET
uses CONFIG_ROM_STREAM
uses CONFIG_ROM_STREAM_START
+uses CONFIG_COMPRESSED_ROM_STREAM_LZMA
uses PAYLOAD_SIZE
uses _ROMBASE
uses XIP_ROM_SIZE
Modified: trunk/LinuxBIOSv2/src/mainboard/tyan/s2881/Options.lb
===================================================================
--- trunk/LinuxBIOSv2/src/mainboard/tyan/s2881/Options.lb 2006-11-10 09:04:12 UTC (rev 2495)
+++ trunk/LinuxBIOSv2/src/mainboard/tyan/s2881/Options.lb 2006-11-10 13:30:28 UTC (rev 2496)
@@ -18,6 +18,7 @@
uses ROM_SECTION_OFFSET
uses CONFIG_ROM_STREAM
uses CONFIG_ROM_STREAM_START
+uses CONFIG_COMPRESSED_ROM_STREAM_LZMA
uses PAYLOAD_SIZE
uses _ROMBASE
uses XIP_ROM_SIZE
Modified: trunk/LinuxBIOSv2/src/mainboard/tyan/s2882/Options.lb
===================================================================
--- trunk/LinuxBIOSv2/src/mainboard/tyan/s2882/Options.lb 2006-11-10 09:04:12 UTC (rev 2495)
+++ trunk/LinuxBIOSv2/src/mainboard/tyan/s2882/Options.lb 2006-11-10 13:30:28 UTC (rev 2496)
@@ -18,6 +18,7 @@
uses ROM_SECTION_OFFSET
uses CONFIG_ROM_STREAM
uses CONFIG_ROM_STREAM_START
+uses CONFIG_COMPRESSED_ROM_STREAM_LZMA
uses PAYLOAD_SIZE
uses _ROMBASE
uses XIP_ROM_SIZE
Modified: trunk/LinuxBIOSv2/src/mainboard/tyan/s2885/Options.lb
===================================================================
--- trunk/LinuxBIOSv2/src/mainboard/tyan/s2885/Options.lb 2006-11-10 09:04:12 UTC (rev 2495)
+++ trunk/LinuxBIOSv2/src/mainboard/tyan/s2885/Options.lb 2006-11-10 13:30:28 UTC (rev 2496)
@@ -18,6 +18,7 @@
uses ROM_SECTION_OFFSET
uses CONFIG_ROM_STREAM
uses CONFIG_ROM_STREAM_START
+uses CONFIG_COMPRESSED_ROM_STREAM_LZMA
uses PAYLOAD_SIZE
uses _ROMBASE
uses XIP_ROM_SIZE
Modified: trunk/LinuxBIOSv2/src/mainboard/tyan/s2891/Options.lb
===================================================================
--- trunk/LinuxBIOSv2/src/mainboard/tyan/s2891/Options.lb 2006-11-10 09:04:12 UTC (rev 2495)
+++ trunk/LinuxBIOSv2/src/mainboard/tyan/s2891/Options.lb 2006-11-10 13:30:28 UTC (rev 2496)
@@ -18,6 +18,7 @@
uses ROM_SECTION_OFFSET
uses CONFIG_ROM_STREAM
uses CONFIG_ROM_STREAM_START
+uses CONFIG_COMPRESSED_ROM_STREAM_LZMA
uses PAYLOAD_SIZE
uses _ROMBASE
uses XIP_ROM_SIZE
Modified: trunk/LinuxBIOSv2/src/mainboard/tyan/s2892/Options.lb
===================================================================
--- trunk/LinuxBIOSv2/src/mainboard/tyan/s2892/Options.lb 2006-11-10 09:04:12 UTC (rev 2495)
+++ trunk/LinuxBIOSv2/src/mainboard/tyan/s2892/Options.lb 2006-11-10 13:30:28 UTC (rev 2496)
@@ -18,6 +18,7 @@
uses ROM_SECTION_OFFSET
uses CONFIG_ROM_STREAM
uses CONFIG_ROM_STREAM_START
+uses CONFIG_COMPRESSED_ROM_STREAM_LZMA
uses PAYLOAD_SIZE
uses _ROMBASE
uses XIP_ROM_SIZE
Modified: trunk/LinuxBIOSv2/src/mainboard/tyan/s2895/Options.lb
===================================================================
--- trunk/LinuxBIOSv2/src/mainboard/tyan/s2895/Options.lb 2006-11-10 09:04:12 UTC (rev 2495)
+++ trunk/LinuxBIOSv2/src/mainboard/tyan/s2895/Options.lb 2006-11-10 13:30:28 UTC (rev 2496)
@@ -21,6 +21,7 @@
uses ROM_SECTION_OFFSET
uses CONFIG_ROM_STREAM
uses CONFIG_ROM_STREAM_START
+uses CONFIG_COMPRESSED_ROM_STREAM_LZMA
uses PAYLOAD_SIZE
uses _ROMBASE
uses XIP_ROM_SIZE
Modified: trunk/LinuxBIOSv2/src/mainboard/tyan/s4880/Options.lb
===================================================================
--- trunk/LinuxBIOSv2/src/mainboard/tyan/s4880/Options.lb 2006-11-10 09:04:12 UTC (rev 2495)
+++ trunk/LinuxBIOSv2/src/mainboard/tyan/s4880/Options.lb 2006-11-10 13:30:28 UTC (rev 2496)
@@ -18,6 +18,7 @@
uses ROM_SECTION_OFFSET
uses CONFIG_ROM_STREAM
uses CONFIG_ROM_STREAM_START
+uses CONFIG_COMPRESSED_ROM_STREAM_LZMA
uses PAYLOAD_SIZE
uses _ROMBASE
uses XIP_ROM_SIZE
Modified: trunk/LinuxBIOSv2/src/mainboard/tyan/s4882/Options.lb
===================================================================
--- trunk/LinuxBIOSv2/src/mainboard/tyan/s4882/Options.lb 2006-11-10 09:04:12 UTC (rev 2495)
+++ trunk/LinuxBIOSv2/src/mainboard/tyan/s4882/Options.lb 2006-11-10 13:30:28 UTC (rev 2496)
@@ -18,6 +18,7 @@
uses ROM_SECTION_OFFSET
uses CONFIG_ROM_STREAM
uses CONFIG_ROM_STREAM_START
+uses CONFIG_COMPRESSED_ROM_STREAM_LZMA
uses PAYLOAD_SIZE
uses _ROMBASE
uses XIP_ROM_SIZE
Modified: trunk/LinuxBIOSv2/src/mainboard/via/epia/Options.lb
===================================================================
--- trunk/LinuxBIOSv2/src/mainboard/via/epia/Options.lb 2006-11-10 09:04:12 UTC (rev 2495)
+++ trunk/LinuxBIOSv2/src/mainboard/via/epia/Options.lb 2006-11-10 13:30:28 UTC (rev 2496)
@@ -29,6 +29,7 @@
uses ROM_SECTION_SIZE
uses ROM_SECTION_OFFSET
uses CONFIG_ROM_STREAM_START
+uses CONFIG_COMPRESSED_ROM_STREAM_LZMA
uses PAYLOAD_SIZE
uses _ROMBASE
uses _RAMBASE
Modified: trunk/LinuxBIOSv2/src/mainboard/via/epia-m/Options.lb
===================================================================
--- trunk/LinuxBIOSv2/src/mainboard/via/epia-m/Options.lb 2006-11-10 09:04:12 UTC (rev 2495)
+++ trunk/LinuxBIOSv2/src/mainboard/via/epia-m/Options.lb 2006-11-10 13:30:28 UTC (rev 2496)
@@ -21,7 +21,7 @@
uses ROM_SECTION_SIZE
uses ROM_SECTION_OFFSET
uses CONFIG_ROM_STREAM_START
-uses CONFIG_COMPRESSED_ROM_STREAM_NRV2B
+uses CONFIG_COMPRESSED_ROM_STREAM_LZMA
uses PAYLOAD_SIZE
uses _ROMBASE
uses _RAMBASE
Added: trunk/LinuxBIOSv2/targets/amd/quartet/Config-abuild.lb
===================================================================
--- trunk/LinuxBIOSv2/targets/amd/quartet/Config-abuild.lb (rev 0)
+++ trunk/LinuxBIOSv2/targets/amd/quartet/Config-abuild.lb 2006-11-10 13:30:28 UTC (rev 2496)
@@ -0,0 +1,28 @@
+# This will make a target directory of ./VENDOR_MAINBOARD
+
+target VENDOR_MAINBOARD
+mainboard VENDOR/MAINBOARD
+
+option CC="CROSSCC"
+option CROSS_COMPILE="CROSS_PREFIX"
+option HOSTCC="CROSS_HOSTCC"
+
+__COMPRESSION__
+
+option ROM_SIZE=512*1024
+
+
+romimage "normal"
+ option USE_FALLBACK_IMAGE=0
+ option ROM_IMAGE_SIZE=0x20000
+ option LINUXBIOS_EXTRA_VERSION=".0-normal"
+ payload PAYLOAD
+end
+
+romimage "fallback"
+ option USE_FALLBACK_IMAGE=1
+ option ROM_IMAGE_SIZE=0x20000
+ option LINUXBIOS_EXTRA_VERSION=".0-fallback"
+ payload PAYLOAD
+end
+buildrom ./linuxbios.rom ROM_SIZE "normal" "fallback"
Added: trunk/LinuxBIOSv2/targets/amd/serengeti_cheetah/Config-abuild.lb
===================================================================
--- trunk/LinuxBIOSv2/targets/amd/serengeti_cheetah/Config-abuild.lb (rev 0)
+++ trunk/LinuxBIOSv2/targets/amd/serengeti_cheetah/Config-abuild.lb 2006-11-10 13:30:28 UTC (rev 2496)
@@ -0,0 +1,27 @@
+# This will make a target directory of ./VENDOR_MAINBOARD
+
+target VENDOR_MAINBOARD
+mainboard VENDOR/MAINBOARD
+
+option CC="CROSSCC"
+option CROSS_COMPILE="CROSS_PREFIX"
+option HOSTCC="CROSS_HOSTCC"
+
+__COMPRESSION__
+
+option ROM_SIZE=512*1024
+
+romimage "normal"
+ option USE_FALLBACK_IMAGE=0
+ option ROM_IMAGE_SIZE=0x20000
+ option LINUXBIOS_EXTRA_VERSION=".0-normal"
+ payload PAYLOAD
+end
+
+romimage "fallback"
+ option USE_FALLBACK_IMAGE=1
+ option ROM_IMAGE_SIZE=0x20000
+ option LINUXBIOS_EXTRA_VERSION=".0-fallback"
+ payload PAYLOAD
+end
+buildrom ./linuxbios.rom ROM_SIZE "normal" "fallback"
Added: trunk/LinuxBIOSv2/targets/arima/hdama/Config-abuild.lb
===================================================================
--- trunk/LinuxBIOSv2/targets/arima/hdama/Config-abuild.lb (rev 0)
+++ trunk/LinuxBIOSv2/targets/arima/hdama/Config-abuild.lb 2006-11-10 13:30:28 UTC (rev 2496)
@@ -0,0 +1,27 @@
+# This will make a target directory of ./VENDOR_MAINBOARD
+
+target VENDOR_MAINBOARD
+mainboard VENDOR/MAINBOARD
+
+option CC="CROSSCC"
+option CROSS_COMPILE="CROSS_PREFIX"
+option HOSTCC="CROSS_HOSTCC"
+
+__COMPRESSION__
+
+option ROM_SIZE=512*1024
+
+romimage "normal"
+ option USE_FALLBACK_IMAGE=0
+ option ROM_IMAGE_SIZE=0x20000
+ option LINUXBIOS_EXTRA_VERSION=".0-normal"
+ payload PAYLOAD
+end
+
+romimage "fallback"
+ option USE_FALLBACK_IMAGE=1
+ option ROM_IMAGE_SIZE=0x20000
+ option LINUXBIOS_EXTRA_VERSION=".0-fallback"
+ payload PAYLOAD
+end
+buildrom ./linuxbios.rom ROM_SIZE "normal" "fallback"
Modified: trunk/LinuxBIOSv2/targets/digitallogic/msm586seg/Config-abuild.lb
===================================================================
--- trunk/LinuxBIOSv2/targets/digitallogic/msm586seg/Config-abuild.lb 2006-11-10 09:04:12 UTC (rev 2495)
+++ trunk/LinuxBIOSv2/targets/digitallogic/msm586seg/Config-abuild.lb 2006-11-10 13:30:28 UTC (rev 2496)
@@ -7,15 +7,10 @@
option MAXIMUM_CONSOLE_LOGLEVEL=10
option CONFIG_COMPRESS=0
+__COMPRESSION__
+
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
@@ -25,7 +20,7 @@
option ROM_IMAGE_SIZE=128 * 1024 # 0x10000
# option ROM_IMAGE_SIZE=512 * 1024 # 0x10000
option LINUXBIOS_EXTRA_VERSION=".0Fallback"
- payload /dev/null
+ payload PAYLOAD
end
buildrom ./linuxbios.rom ROM_SIZE "fallback"
Modified: trunk/LinuxBIOSv2/targets/emulation/qemu-i386/Config-abuild.lb
===================================================================
--- trunk/LinuxBIOSv2/targets/emulation/qemu-i386/Config-abuild.lb 2006-11-10 09:04:12 UTC (rev 2495)
+++ trunk/LinuxBIOSv2/targets/emulation/qemu-i386/Config-abuild.lb 2006-11-10 13:30:28 UTC (rev 2496)
@@ -3,6 +3,8 @@
target emulation_qemu-i386
mainboard emulation/qemu-i386
+__COMPRESSION__
+
option ROM_SIZE=256*1024
option CC="gcc -m32"
Added: trunk/LinuxBIOSv2/targets/ibm/e326/Config-abuild.lb
===================================================================
--- trunk/LinuxBIOSv2/targets/ibm/e326/Config-abuild.lb (rev 0)
+++ trunk/LinuxBIOSv2/targets/ibm/e326/Config-abuild.lb 2006-11-10 13:30:28 UTC (rev 2496)
@@ -0,0 +1,27 @@
+# This will make a target directory of ./VENDOR_MAINBOARD
+
+target VENDOR_MAINBOARD
+mainboard VENDOR/MAINBOARD
+
+option CC="CROSSCC"
+option CROSS_COMPILE="CROSS_PREFIX"
+option HOSTCC="CROSS_HOSTCC"
+
+__COMPRESSION__
+
+option ROM_SIZE=512*1024
+
+romimage "normal"
+ option USE_FALLBACK_IMAGE=0
+ option ROM_IMAGE_SIZE=0x20000
+ option LINUXBIOS_EXTRA_VERSION=".0-normal"
+ payload PAYLOAD
+end
+
+romimage "fallback"
+ option USE_FALLBACK_IMAGE=1
+ option ROM_IMAGE_SIZE=0x20000
+ option LINUXBIOS_EXTRA_VERSION=".0-fallback"
+ payload PAYLOAD
+end
+buildrom ./linuxbios.rom ROM_SIZE "normal" "fallback"
Modified: trunk/LinuxBIOSv2/targets/technologic/ts5300/Config-abuild.lb
===================================================================
--- trunk/LinuxBIOSv2/targets/technologic/ts5300/Config-abuild.lb 2006-11-10 09:04:12 UTC (rev 2495)
+++ trunk/LinuxBIOSv2/targets/technologic/ts5300/Config-abuild.lb 2006-11-10 13:30:28 UTC (rev 2496)
@@ -1,21 +1,14 @@
target technologic_ts5300
mainboard technologic/ts5300
-
-
option DEFAULT_CONSOLE_LOGLEVEL=10
option MAXIMUM_CONSOLE_LOGLEVEL=10
option CONFIG_COMPRESS=0
+__COMPRESSION__
+
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
@@ -23,9 +16,8 @@
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
+ payload PAYLOAD
end
buildrom ./linuxbios.rom ROM_SIZE "fallback"
Modified: trunk/LinuxBIOSv2/targets/via/epia-m/Config-abuild.lb
===================================================================
--- trunk/LinuxBIOSv2/targets/via/epia-m/Config-abuild.lb 2006-11-10 09:04:12 UTC (rev 2495)
+++ trunk/LinuxBIOSv2/targets/via/epia-m/Config-abuild.lb 2006-11-10 13:30:28 UTC (rev 2496)
@@ -7,6 +7,8 @@
option DEFAULT_CONSOLE_LOGLEVEL=8
option CONFIG_CONSOLE_SERIAL8250=1
+__COMPRESSION__
+
option ROM_SIZE=256*1024
option HAVE_OPTION_TABLE=1
Modified: trunk/LinuxBIOSv2/util/abuild/abuild
===================================================================
--- trunk/LinuxBIOSv2/util/abuild/abuild 2006-11-10 09:04:12 UTC (rev 2495)
+++ trunk/LinuxBIOSv2/util/abuild/abuild 2006-11-10 13:30:28 UTC (rev 2496)
@@ -105,10 +105,14 @@
TARGCONFIG=$LBROOT/targets/$VENDOR/$MAINBOARD/Config-abuild.lb
# get a working payload for the board if we have one.
+ # the --payload option expects a directory containing
+ # an executable shell script payload.sh
+ # Usage: payload.sh [VENDOR] [DEVICE]
+ # the script returns an absolute path to the payload binary.
if [ -x $payloads/payload.sh ]; then
PAYLOAD=`$payloads/payload.sh $VENDOR $MAINBOARD`
- printf "Using custom payload $PAYLOAD\n"
+ printf "Using payload $PAYLOAD\n"
fi
mkdir -p $TARGET
@@ -131,19 +135,21 @@
option CROSS_COMPILE="CROSS_PREFIX"
option HOSTCC="CROSS_HOSTCC"
+__COMPRESSION__
+
EOF
if [ "$TARCH" == i386 ] ; then
cat <<EOF
romimage "normal"
option USE_FALLBACK_IMAGE=0
- option ROM_IMAGE_SIZE=0x20000
+ option ROM_IMAGE_SIZE=0x16000
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=0x16000
option LINUXBIOS_EXTRA_VERSION=".0-fallback"
payload PAYLOAD
end
@@ -161,14 +167,20 @@
) > $TARGET/Config-${VENDOR}_${MAINBOARD}.lb
fi
+ if [ "`which lzma`" != "" -a "$PAYLOAD" != /dev/null ]; then
+ COMPRESSION="option CONFIG_COMPRESSED_ROM_STREAM_LZMA=1"
+ else
+ COMPRESSION="# no compression"
+ fi
+
sed -i.pre -e s,VENDOR,$VENDOR,g \
-e s,MAINBOARD,$MAINBOARD,g \
-e s,payload\ PAYLOAD,payload\ $PAYLOAD,g \
-e s,CROSSCC,"$CC",g \
-e s,CROSS_PREFIX,"$CROSS_COMPILE",g \
-e s,CROSS_HOSTCC,"$HOSTCC",g \
+ -e s,__COMPRESSION__,"$COMPRESSION",g \
$TARGET/Config-${VENDOR}_${MAINBOARD}.lb
-
printf " ok\n"
}
@@ -422,8 +434,8 @@
{
printf "Usage: $0 [-v] [-a] [-b] [-t <vendor/board>] [-p <dir>] [lbroot]\n"
printf " $0 [-V|--version]\n"
- printf " $0 [-h|--help]\n"
- printf
+ printf " $0 [-h|--help]\n\n"
+
printf "Options:\n"
printf " [-v|--verbose] print more messages\n"
printf " [-a|--all] build previously succeeded ports as well\n"