Author: hailfinger Date: 2008-12-22 10:53:24 +0100 (Mon, 22 Dec 2008) New Revision: 3829
Added: trunk/coreboot-v2/targets/agami/aruma/Config-abuild.lb Modified: trunk/coreboot-v2/src/mainboard/agami/aruma/Options.lb trunk/coreboot-v2/src/mainboard/arima/hdama/Options.lb trunk/coreboot-v2/src/mainboard/asus/a8n_e/Options.lb trunk/coreboot-v2/src/mainboard/broadcom/blast/Options.lb trunk/coreboot-v2/src/mainboard/ibm/e325/Options.lb trunk/coreboot-v2/src/mainboard/ibm/e326/Options.lb trunk/coreboot-v2/src/mainboard/iwill/dk8s2/Options.lb trunk/coreboot-v2/src/mainboard/iwill/dk8x/Options.lb trunk/coreboot-v2/src/mainboard/msi/ms7135/Options.lb trunk/coreboot-v2/src/mainboard/newisys/khepri/Options.lb trunk/coreboot-v2/src/mainboard/sunw/ultra40/Options.lb trunk/coreboot-v2/src/mainboard/tyan/s2850/Options.lb trunk/coreboot-v2/src/mainboard/tyan/s2875/Options.lb trunk/coreboot-v2/src/mainboard/tyan/s2880/Options.lb trunk/coreboot-v2/src/mainboard/tyan/s2881/Options.lb trunk/coreboot-v2/src/mainboard/tyan/s2882/Options.lb trunk/coreboot-v2/src/mainboard/tyan/s2885/Options.lb trunk/coreboot-v2/src/mainboard/tyan/s2891/Options.lb trunk/coreboot-v2/src/mainboard/tyan/s2892/Options.lb trunk/coreboot-v2/src/mainboard/tyan/s2895/Options.lb trunk/coreboot-v2/src/mainboard/tyan/s4880/Options.lb trunk/coreboot-v2/src/mainboard/tyan/s4882/Options.lb Log: In the process of trying to debug some HT sync problems I added lots of debug code to src/northbridge/amd/amdk8/incoherent_ht.c. However, printk is not available for all boards at that stage.
I have changed the following boards: agami/aruma arima/hdama asus/a8n_e broadcom/blast ibm/e325 ibm/e326 iwill/dk8s2 iwill/dk8x msi/ms7135 newisys/khepri sunw/ultra40 tyan/s2850 tyan/s2875 tyan/s2880 tyan/s2881 tyan/s2882 tyan/s2885 tyan/s2891 tyan/s2892 tyan/s2895 tyan/s4880 tyan/s4882
abuild works fine for all of them. agami/aruma needs a Config-abuild.lb which doesn't have fallback and normal due to size problems.
Signed-off-by: Carl-Daniel Hailfinger c-d.hailfinger.devel.2006@gmx.net Acked-by: Marc Jones marcj303@gmail.com
Modified: trunk/coreboot-v2/src/mainboard/agami/aruma/Options.lb =================================================================== --- trunk/coreboot-v2/src/mainboard/agami/aruma/Options.lb 2008-12-20 21:07:20 UTC (rev 3828) +++ trunk/coreboot-v2/src/mainboard/agami/aruma/Options.lb 2008-12-22 09:53:24 UTC (rev 3829) @@ -179,7 +179,7 @@ default DCACHE_RAM_SIZE=0x4000 default CONFIG_USE_INIT=0 #default CONFIG_USE_INIT=1 -#default CONFIG_USE_PRINTK_IN_CAR=1 +default CONFIG_USE_PRINTK_IN_CAR=1
## ## Build code to setup a generic IOAPIC
Modified: trunk/coreboot-v2/src/mainboard/arima/hdama/Options.lb =================================================================== --- trunk/coreboot-v2/src/mainboard/arima/hdama/Options.lb 2008-12-20 21:07:20 UTC (rev 3828) +++ trunk/coreboot-v2/src/mainboard/arima/hdama/Options.lb 2008-12-22 09:53:24 UTC (rev 3829) @@ -56,6 +56,7 @@ uses DCACHE_RAM_BASE uses DCACHE_RAM_SIZE uses CONFIG_USE_INIT +uses CONFIG_USE_PRINTK_IN_CAR
### ### Build options @@ -191,6 +192,8 @@ ## default CONFIG_GDB_STUB=0
+default CONFIG_USE_PRINTK_IN_CAR=1 + ## ## The Serial Console ##
Modified: trunk/coreboot-v2/src/mainboard/asus/a8n_e/Options.lb =================================================================== --- trunk/coreboot-v2/src/mainboard/asus/a8n_e/Options.lb 2008-12-20 21:07:20 UTC (rev 3828) +++ trunk/coreboot-v2/src/mainboard/asus/a8n_e/Options.lb 2008-12-22 09:53:24 UTC (rev 3829) @@ -97,6 +97,7 @@ uses SB_HT_CHAIN_ON_BUS0 uses SB_HT_CHAIN_UNITID_OFFSET_ONLY uses CONFIG_LB_MEM_TOPK +uses CONFIG_USE_PRINTK_IN_CAR
default ROM_SIZE = 512 * 1024 default ROM_IMAGE_SIZE = 64 * 1024 @@ -157,6 +158,7 @@ default CC = "$(CROSS_COMPILE)gcc -m32" default HOSTCC = "gcc" default CONFIG_GDB_STUB = 0 +default CONFIG_USE_PRINTK_IN_CAR=1 default CONFIG_CONSOLE_SERIAL8250 = 1 default TTYS0_BAUD = 115200 default TTYS0_BASE = 0x3f8
Modified: trunk/coreboot-v2/src/mainboard/broadcom/blast/Options.lb =================================================================== --- trunk/coreboot-v2/src/mainboard/broadcom/blast/Options.lb 2008-12-20 21:07:20 UTC (rev 3828) +++ trunk/coreboot-v2/src/mainboard/broadcom/blast/Options.lb 2008-12-22 09:53:24 UTC (rev 3829) @@ -64,6 +64,7 @@ uses DCACHE_RAM_BASE uses DCACHE_RAM_SIZE uses CONFIG_USE_INIT +uses CONFIG_USE_PRINTK_IN_CAR
uses SB_HT_CHAIN_UNITID_OFFSET_ONLY
@@ -214,6 +215,8 @@ ## default CONFIG_GDB_STUB=0
+default CONFIG_USE_PRINTK_IN_CAR=1 + ## ## The Serial Console ##
Modified: trunk/coreboot-v2/src/mainboard/ibm/e325/Options.lb =================================================================== --- trunk/coreboot-v2/src/mainboard/ibm/e325/Options.lb 2008-12-20 21:07:20 UTC (rev 3828) +++ trunk/coreboot-v2/src/mainboard/ibm/e325/Options.lb 2008-12-22 09:53:24 UTC (rev 3829) @@ -49,6 +49,7 @@ uses DCACHE_RAM_BASE uses DCACHE_RAM_SIZE uses CONFIG_USE_INIT +uses CONFIG_USE_PRINTK_IN_CAR
### @@ -170,6 +171,8 @@ default CC="$(CROSS_COMPILE)gcc -m32" default HOSTCC="gcc"
+default CONFIG_USE_PRINTK_IN_CAR=1 + ## ## The Serial Console ##
Modified: trunk/coreboot-v2/src/mainboard/ibm/e326/Options.lb =================================================================== --- trunk/coreboot-v2/src/mainboard/ibm/e326/Options.lb 2008-12-20 21:07:20 UTC (rev 3828) +++ trunk/coreboot-v2/src/mainboard/ibm/e326/Options.lb 2008-12-22 09:53:24 UTC (rev 3829) @@ -51,6 +51,7 @@ uses DCACHE_RAM_BASE uses DCACHE_RAM_SIZE uses CONFIG_USE_INIT +uses CONFIG_USE_PRINTK_IN_CAR
### @@ -176,6 +177,8 @@ default CC="$(CROSS_COMPILE)gcc -m32" default HOSTCC="gcc"
+default CONFIG_USE_PRINTK_IN_CAR=1 + ## ## The Serial Console ##
Modified: trunk/coreboot-v2/src/mainboard/iwill/dk8s2/Options.lb =================================================================== --- trunk/coreboot-v2/src/mainboard/iwill/dk8s2/Options.lb 2008-12-20 21:07:20 UTC (rev 3828) +++ trunk/coreboot-v2/src/mainboard/iwill/dk8s2/Options.lb 2008-12-22 09:53:24 UTC (rev 3829) @@ -53,6 +53,7 @@ uses DCACHE_RAM_BASE uses DCACHE_RAM_SIZE uses CONFIG_USE_INIT +uses CONFIG_USE_PRINTK_IN_CAR
## ROM_SIZE is the size of boot ROM that this board will use. default ROM_SIZE=524288 @@ -177,6 +178,8 @@ ## default CONFIG_GDB_STUB=0
+default CONFIG_USE_PRINTK_IN_CAR=1 + ## ## The Serial Console ##
Modified: trunk/coreboot-v2/src/mainboard/iwill/dk8x/Options.lb =================================================================== --- trunk/coreboot-v2/src/mainboard/iwill/dk8x/Options.lb 2008-12-20 21:07:20 UTC (rev 3828) +++ trunk/coreboot-v2/src/mainboard/iwill/dk8x/Options.lb 2008-12-22 09:53:24 UTC (rev 3829) @@ -53,6 +53,7 @@ uses DCACHE_RAM_BASE uses DCACHE_RAM_SIZE uses CONFIG_USE_INIT +uses CONFIG_USE_PRINTK_IN_CAR
## ROM_SIZE is the size of boot ROM that this board will use. default ROM_SIZE=524288 @@ -176,6 +177,8 @@ ## default CONFIG_GDB_STUB=0
+default CONFIG_USE_PRINTK_IN_CAR=1 + ## ## The Serial Console ##
Modified: trunk/coreboot-v2/src/mainboard/msi/ms7135/Options.lb =================================================================== --- trunk/coreboot-v2/src/mainboard/msi/ms7135/Options.lb 2008-12-20 21:07:20 UTC (rev 3828) +++ trunk/coreboot-v2/src/mainboard/msi/ms7135/Options.lb 2008-12-22 09:53:24 UTC (rev 3829) @@ -87,6 +87,7 @@ uses CONFIG_USE_INIT uses DCACHE_RAM_GLOBAL_VAR_SIZE uses CONFIG_AP_CODE_IN_CAR +uses CONFIG_USE_PRINTK_IN_CAR uses MEM_TRAIN_SEQ uses WAIT_BEFORE_CPUS_INIT
@@ -271,6 +272,8 @@ ## default CONFIG_GDB_STUB=0
+default CONFIG_USE_PRINTK_IN_CAR=1 + ## ## The Serial Console ##
Modified: trunk/coreboot-v2/src/mainboard/newisys/khepri/Options.lb =================================================================== --- trunk/coreboot-v2/src/mainboard/newisys/khepri/Options.lb 2008-12-20 21:07:20 UTC (rev 3828) +++ trunk/coreboot-v2/src/mainboard/newisys/khepri/Options.lb 2008-12-22 09:53:24 UTC (rev 3829) @@ -59,6 +59,7 @@ uses DCACHE_RAM_BASE uses DCACHE_RAM_SIZE uses CONFIG_USE_INIT +uses CONFIG_USE_PRINTK_IN_CAR
### ### Build options @@ -198,6 +199,8 @@ ## default CONFIG_GDB_STUB=0
+default CONFIG_USE_PRINTK_IN_CAR=1 + ## ## The Serial Console ##
Modified: trunk/coreboot-v2/src/mainboard/sunw/ultra40/Options.lb =================================================================== --- trunk/coreboot-v2/src/mainboard/sunw/ultra40/Options.lb 2008-12-20 21:07:20 UTC (rev 3828) +++ trunk/coreboot-v2/src/mainboard/sunw/ultra40/Options.lb 2008-12-22 09:53:24 UTC (rev 3829) @@ -61,6 +61,7 @@ uses DCACHE_RAM_BASE uses DCACHE_RAM_SIZE uses CONFIG_USE_INIT +uses CONFIG_USE_PRINTK_IN_CAR
uses ENABLE_APIC_EXT_ID uses APIC_ID_OFFSET @@ -231,6 +232,8 @@ ## default CONFIG_GDB_STUB=0
+default CONFIG_USE_PRINTK_IN_CAR=1 + ## ## The Serial Console ##
Modified: trunk/coreboot-v2/src/mainboard/tyan/s2850/Options.lb =================================================================== --- trunk/coreboot-v2/src/mainboard/tyan/s2850/Options.lb 2008-12-20 21:07:20 UTC (rev 3828) +++ trunk/coreboot-v2/src/mainboard/tyan/s2850/Options.lb 2008-12-22 09:53:24 UTC (rev 3829) @@ -60,6 +60,7 @@ uses DCACHE_RAM_BASE uses DCACHE_RAM_SIZE uses CONFIG_USE_INIT +uses CONFIG_USE_PRINTK_IN_CAR
### ### Build options @@ -199,6 +200,8 @@ ## default CONFIG_GDB_STUB=0
+default CONFIG_USE_PRINTK_IN_CAR=1 + ## ## The Serial Console ##
Modified: trunk/coreboot-v2/src/mainboard/tyan/s2875/Options.lb =================================================================== --- trunk/coreboot-v2/src/mainboard/tyan/s2875/Options.lb 2008-12-20 21:07:20 UTC (rev 3828) +++ trunk/coreboot-v2/src/mainboard/tyan/s2875/Options.lb 2008-12-22 09:53:24 UTC (rev 3829) @@ -60,6 +60,7 @@ uses DCACHE_RAM_BASE uses DCACHE_RAM_SIZE uses CONFIG_USE_INIT +uses CONFIG_USE_PRINTK_IN_CAR
### ### Build options @@ -200,6 +201,8 @@ ## default CONFIG_GDB_STUB=0
+default CONFIG_USE_PRINTK_IN_CAR=1 + ## ## The Serial Console ##
Modified: trunk/coreboot-v2/src/mainboard/tyan/s2880/Options.lb =================================================================== --- trunk/coreboot-v2/src/mainboard/tyan/s2880/Options.lb 2008-12-20 21:07:20 UTC (rev 3828) +++ trunk/coreboot-v2/src/mainboard/tyan/s2880/Options.lb 2008-12-22 09:53:24 UTC (rev 3829) @@ -60,6 +60,7 @@ uses DCACHE_RAM_BASE uses DCACHE_RAM_SIZE uses CONFIG_USE_INIT +uses CONFIG_USE_PRINTK_IN_CAR
### ### Build options @@ -199,6 +200,8 @@ ## default CONFIG_GDB_STUB=0
+default CONFIG_USE_PRINTK_IN_CAR=1 + ## ## The Serial Console ##
Modified: trunk/coreboot-v2/src/mainboard/tyan/s2881/Options.lb =================================================================== --- trunk/coreboot-v2/src/mainboard/tyan/s2881/Options.lb 2008-12-20 21:07:20 UTC (rev 3828) +++ trunk/coreboot-v2/src/mainboard/tyan/s2881/Options.lb 2008-12-22 09:53:24 UTC (rev 3829) @@ -65,6 +65,7 @@ uses DCACHE_RAM_BASE uses DCACHE_RAM_SIZE uses CONFIG_USE_INIT +uses CONFIG_USE_PRINTK_IN_CAR
### ### Build options @@ -216,6 +217,8 @@ ## default CONFIG_GDB_STUB=0
+default CONFIG_USE_PRINTK_IN_CAR=1 + ## ## The Serial Console ##
Modified: trunk/coreboot-v2/src/mainboard/tyan/s2882/Options.lb =================================================================== --- trunk/coreboot-v2/src/mainboard/tyan/s2882/Options.lb 2008-12-20 21:07:20 UTC (rev 3828) +++ trunk/coreboot-v2/src/mainboard/tyan/s2882/Options.lb 2008-12-22 09:53:24 UTC (rev 3829) @@ -60,6 +60,7 @@ uses DCACHE_RAM_BASE uses DCACHE_RAM_SIZE uses CONFIG_USE_INIT +uses CONFIG_USE_PRINTK_IN_CAR
### ### Build options @@ -199,6 +200,8 @@ ## default CONFIG_GDB_STUB=0
+default CONFIG_USE_PRINTK_IN_CAR=1 + ## ## The Serial Console ##
Modified: trunk/coreboot-v2/src/mainboard/tyan/s2885/Options.lb =================================================================== --- trunk/coreboot-v2/src/mainboard/tyan/s2885/Options.lb 2008-12-20 21:07:20 UTC (rev 3828) +++ trunk/coreboot-v2/src/mainboard/tyan/s2885/Options.lb 2008-12-22 09:53:24 UTC (rev 3829) @@ -60,6 +60,7 @@ uses DCACHE_RAM_BASE uses DCACHE_RAM_SIZE uses CONFIG_USE_INIT +uses CONFIG_USE_PRINTK_IN_CAR
uses ENABLE_APIC_EXT_ID uses APIC_ID_OFFSET @@ -226,6 +227,8 @@ ## default CONFIG_GDB_STUB=0
+default CONFIG_USE_PRINTK_IN_CAR=1 + ## ## The Serial Console ##
Modified: trunk/coreboot-v2/src/mainboard/tyan/s2891/Options.lb =================================================================== --- trunk/coreboot-v2/src/mainboard/tyan/s2891/Options.lb 2008-12-20 21:07:20 UTC (rev 3828) +++ trunk/coreboot-v2/src/mainboard/tyan/s2891/Options.lb 2008-12-22 09:53:24 UTC (rev 3829) @@ -61,6 +61,7 @@ uses DCACHE_RAM_BASE uses DCACHE_RAM_SIZE uses CONFIG_USE_INIT +uses CONFIG_USE_PRINTK_IN_CAR
uses ENABLE_APIC_EXT_ID uses APIC_ID_OFFSET @@ -233,6 +234,8 @@ ## default CONFIG_GDB_STUB=0
+default CONFIG_USE_PRINTK_IN_CAR=1 + ## ## The Serial Console ##
Modified: trunk/coreboot-v2/src/mainboard/tyan/s2892/Options.lb =================================================================== --- trunk/coreboot-v2/src/mainboard/tyan/s2892/Options.lb 2008-12-20 21:07:20 UTC (rev 3828) +++ trunk/coreboot-v2/src/mainboard/tyan/s2892/Options.lb 2008-12-22 09:53:24 UTC (rev 3829) @@ -61,6 +61,7 @@ uses DCACHE_RAM_BASE uses DCACHE_RAM_SIZE uses CONFIG_USE_INIT +uses CONFIG_USE_PRINTK_IN_CAR
uses HT_CHAIN_UNITID_BASE uses HT_CHAIN_END_UNITID_BASE @@ -221,6 +222,8 @@ ## default CONFIG_GDB_STUB=0
+default CONFIG_USE_PRINTK_IN_CAR=1 + ## ## The Serial Console ##
Modified: trunk/coreboot-v2/src/mainboard/tyan/s2895/Options.lb =================================================================== --- trunk/coreboot-v2/src/mainboard/tyan/s2895/Options.lb 2008-12-20 21:07:20 UTC (rev 3828) +++ trunk/coreboot-v2/src/mainboard/tyan/s2895/Options.lb 2008-12-22 09:53:24 UTC (rev 3829) @@ -64,6 +64,7 @@ uses DCACHE_RAM_BASE uses DCACHE_RAM_SIZE uses CONFIG_USE_INIT +uses CONFIG_USE_PRINTK_IN_CAR
uses SERIAL_CPU_INIT
@@ -243,6 +244,8 @@ ## default CONFIG_GDB_STUB=0
+default CONFIG_USE_PRINTK_IN_CAR=1 + ## ## The Serial Console ##
Modified: trunk/coreboot-v2/src/mainboard/tyan/s4880/Options.lb =================================================================== --- trunk/coreboot-v2/src/mainboard/tyan/s4880/Options.lb 2008-12-20 21:07:20 UTC (rev 3828) +++ trunk/coreboot-v2/src/mainboard/tyan/s4880/Options.lb 2008-12-22 09:53:24 UTC (rev 3829) @@ -60,6 +60,7 @@ uses DCACHE_RAM_BASE uses DCACHE_RAM_SIZE uses CONFIG_USE_INIT +uses CONFIG_USE_PRINTK_IN_CAR
uses ENABLE_APIC_EXT_ID uses APIC_ID_OFFSET @@ -208,6 +209,8 @@ ## default CONFIG_GDB_STUB=0
+default CONFIG_USE_PRINTK_IN_CAR=1 + ## ## The Serial Console ##
Modified: trunk/coreboot-v2/src/mainboard/tyan/s4882/Options.lb =================================================================== --- trunk/coreboot-v2/src/mainboard/tyan/s4882/Options.lb 2008-12-20 21:07:20 UTC (rev 3828) +++ trunk/coreboot-v2/src/mainboard/tyan/s4882/Options.lb 2008-12-22 09:53:24 UTC (rev 3829) @@ -60,6 +60,7 @@ uses DCACHE_RAM_BASE uses DCACHE_RAM_SIZE uses CONFIG_USE_INIT +uses CONFIG_USE_PRINTK_IN_CAR
uses ENABLE_APIC_EXT_ID uses APIC_ID_OFFSET @@ -207,6 +208,8 @@ ## default CONFIG_GDB_STUB=0
+default CONFIG_USE_PRINTK_IN_CAR=1 + ## ## The Serial Console ##
Added: trunk/coreboot-v2/targets/agami/aruma/Config-abuild.lb =================================================================== --- trunk/coreboot-v2/targets/agami/aruma/Config-abuild.lb (rev 0) +++ trunk/coreboot-v2/targets/agami/aruma/Config-abuild.lb 2008-12-22 09:53:24 UTC (rev 3829) @@ -0,0 +1,26 @@ +# 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 DEFAULT_CONSOLE_LOGLEVEL=7 +option MAXIMUM_CONSOLE_LOGLEVEL=7 + +option ROM_SIZE = (1024*1024) +option FALLBACK_SIZE = (1024*1024) + +romimage "fallback" + option USE_FALLBACK_IMAGE=1 + option ROM_IMAGE_SIZE=0x16000 + option XIP_ROM_SIZE=0x20000 + option COREBOOT_EXTRA_VERSION=".0-fallback" + payload __PAYLOAD__ +end + +buildrom ./coreboot.rom ROM_SIZE "fallback"