Hi,
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'd like to change 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
Index: LinuxBIOSv2-printk_car/src/mainboard/iwill/dk8s2/Options.lb =================================================================== --- LinuxBIOSv2-printk_car/src/mainboard/iwill/dk8s2/Options.lb (revision 3808) +++ LinuxBIOSv2-printk_car/src/mainboard/iwill/dk8s2/Options.lb (working copy) @@ -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 ## Index: LinuxBIOSv2-printk_car/src/mainboard/iwill/dk8x/Options.lb =================================================================== --- LinuxBIOSv2-printk_car/src/mainboard/iwill/dk8x/Options.lb (revision 3808) +++ LinuxBIOSv2-printk_car/src/mainboard/iwill/dk8x/Options.lb (working copy) @@ -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 ## Index: LinuxBIOSv2-printk_car/src/mainboard/broadcom/blast/Options.lb =================================================================== --- LinuxBIOSv2-printk_car/src/mainboard/broadcom/blast/Options.lb (revision 3808) +++ LinuxBIOSv2-printk_car/src/mainboard/broadcom/blast/Options.lb (working copy) @@ -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 ## Index: LinuxBIOSv2-printk_car/src/mainboard/tyan/s2850/Options.lb =================================================================== --- LinuxBIOSv2-printk_car/src/mainboard/tyan/s2850/Options.lb (revision 3808) +++ LinuxBIOSv2-printk_car/src/mainboard/tyan/s2850/Options.lb (working copy) @@ -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 ## Index: LinuxBIOSv2-printk_car/src/mainboard/tyan/s2880/Options.lb =================================================================== --- LinuxBIOSv2-printk_car/src/mainboard/tyan/s2880/Options.lb (revision 3808) +++ LinuxBIOSv2-printk_car/src/mainboard/tyan/s2880/Options.lb (working copy) @@ -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 ## Index: LinuxBIOSv2-printk_car/src/mainboard/tyan/s2881/Options.lb =================================================================== --- LinuxBIOSv2-printk_car/src/mainboard/tyan/s2881/Options.lb (revision 3808) +++ LinuxBIOSv2-printk_car/src/mainboard/tyan/s2881/Options.lb (working copy) @@ -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 ## Index: LinuxBIOSv2-printk_car/src/mainboard/tyan/s4880/Options.lb =================================================================== --- LinuxBIOSv2-printk_car/src/mainboard/tyan/s4880/Options.lb (revision 3808) +++ LinuxBIOSv2-printk_car/src/mainboard/tyan/s4880/Options.lb (working copy) @@ -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 ## Index: LinuxBIOSv2-printk_car/src/mainboard/tyan/s2891/Options.lb =================================================================== --- LinuxBIOSv2-printk_car/src/mainboard/tyan/s2891/Options.lb (revision 3808) +++ LinuxBIOSv2-printk_car/src/mainboard/tyan/s2891/Options.lb (working copy) @@ -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 ## Index: LinuxBIOSv2-printk_car/src/mainboard/tyan/s2882/Options.lb =================================================================== --- LinuxBIOSv2-printk_car/src/mainboard/tyan/s2882/Options.lb (revision 3808) +++ LinuxBIOSv2-printk_car/src/mainboard/tyan/s2882/Options.lb (working copy) @@ -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 ## Index: LinuxBIOSv2-printk_car/src/mainboard/tyan/s2892/Options.lb =================================================================== --- LinuxBIOSv2-printk_car/src/mainboard/tyan/s2892/Options.lb (revision 3808) +++ LinuxBIOSv2-printk_car/src/mainboard/tyan/s2892/Options.lb (working copy) @@ -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 ## Index: LinuxBIOSv2-printk_car/src/mainboard/tyan/s4882/Options.lb =================================================================== --- LinuxBIOSv2-printk_car/src/mainboard/tyan/s4882/Options.lb (revision 3808) +++ LinuxBIOSv2-printk_car/src/mainboard/tyan/s4882/Options.lb (working copy) @@ -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 ## Index: LinuxBIOSv2-printk_car/src/mainboard/tyan/s2875/Options.lb =================================================================== --- LinuxBIOSv2-printk_car/src/mainboard/tyan/s2875/Options.lb (revision 3808) +++ LinuxBIOSv2-printk_car/src/mainboard/tyan/s2875/Options.lb (working copy) @@ -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 ## Index: LinuxBIOSv2-printk_car/src/mainboard/tyan/s2885/Options.lb =================================================================== --- LinuxBIOSv2-printk_car/src/mainboard/tyan/s2885/Options.lb (revision 3808) +++ LinuxBIOSv2-printk_car/src/mainboard/tyan/s2885/Options.lb (working copy) @@ -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 ## Index: LinuxBIOSv2-printk_car/src/mainboard/tyan/s2895/Options.lb =================================================================== --- LinuxBIOSv2-printk_car/src/mainboard/tyan/s2895/Options.lb (revision 3808) +++ LinuxBIOSv2-printk_car/src/mainboard/tyan/s2895/Options.lb (working copy) @@ -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 ## Index: LinuxBIOSv2-printk_car/src/mainboard/msi/ms7135/Options.lb =================================================================== --- LinuxBIOSv2-printk_car/src/mainboard/msi/ms7135/Options.lb (revision 3808) +++ LinuxBIOSv2-printk_car/src/mainboard/msi/ms7135/Options.lb (working copy) @@ -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 ## Index: LinuxBIOSv2-printk_car/src/mainboard/arima/hdama/Options.lb =================================================================== --- LinuxBIOSv2-printk_car/src/mainboard/arima/hdama/Options.lb (revision 3808) +++ LinuxBIOSv2-printk_car/src/mainboard/arima/hdama/Options.lb (working copy) @@ -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 ## Index: LinuxBIOSv2-printk_car/src/mainboard/sunw/ultra40/Options.lb =================================================================== --- LinuxBIOSv2-printk_car/src/mainboard/sunw/ultra40/Options.lb (revision 3808) +++ LinuxBIOSv2-printk_car/src/mainboard/sunw/ultra40/Options.lb (working copy) @@ -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 ## Index: LinuxBIOSv2-printk_car/src/mainboard/newisys/khepri/Options.lb =================================================================== --- LinuxBIOSv2-printk_car/src/mainboard/newisys/khepri/Options.lb (revision 3808) +++ LinuxBIOSv2-printk_car/src/mainboard/newisys/khepri/Options.lb (working copy) @@ -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 ## Index: LinuxBIOSv2-printk_car/src/mainboard/ibm/e326/Options.lb =================================================================== --- LinuxBIOSv2-printk_car/src/mainboard/ibm/e326/Options.lb (revision 3808) +++ LinuxBIOSv2-printk_car/src/mainboard/ibm/e326/Options.lb (working copy) @@ -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 ## Index: LinuxBIOSv2-printk_car/src/mainboard/ibm/e325/Options.lb =================================================================== --- LinuxBIOSv2-printk_car/src/mainboard/ibm/e325/Options.lb (revision 3808) +++ LinuxBIOSv2-printk_car/src/mainboard/ibm/e325/Options.lb (working copy) @@ -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 ## Index: LinuxBIOSv2-printk_car/src/mainboard/asus/a8n_e/Options.lb =================================================================== --- LinuxBIOSv2-printk_car/src/mainboard/asus/a8n_e/Options.lb (revision 3808) +++ LinuxBIOSv2-printk_car/src/mainboard/asus/a8n_e/Options.lb (working copy) @@ -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 Index: LinuxBIOSv2-printk_car/src/mainboard/agami/aruma/Options.lb =================================================================== --- LinuxBIOSv2-printk_car/src/mainboard/agami/aruma/Options.lb (revision 3808) +++ LinuxBIOSv2-printk_car/src/mainboard/agami/aruma/Options.lb (working copy) @@ -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 Index: LinuxBIOSv2-printk_car/targets/agami/aruma/Config-abuild.lb =================================================================== --- LinuxBIOSv2-printk_car/targets/agami/aruma/Config-abuild.lb (revision 0) +++ LinuxBIOSv2-printk_car/targets/agami/aruma/Config-abuild.lb (revision 0) @@ -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"
On Thu, Dec 11, 2008 at 6:40 PM, Carl-Daniel Hailfinger c-d.hailfinger.devel.2006@gmx.net wrote:
Hi,
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'd like to change 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
Thanks, This needed doing. Acked-by: Marc Jones marcj303@gmail.com
On 15.12.2008 23:03, Marc Jones wrote:
On Thu, Dec 11, 2008 at 6:40 PM, Carl-Daniel Hailfinger c-d.hailfinger.devel.2006@gmx.net wrote:
Hi,
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'd like to change 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
Thanks, This needed doing. Acked-by: Marc Jones marcj303@gmail.com
Thanks, committed in r3829.
Regards, Carl-Daniel