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>


git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3829 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Carl-Daniel Hailfinger 2008-12-22 09:53:24 +00:00
parent da416f8986
commit 93159bf752
23 changed files with 89 additions and 1 deletions

View File

@ -179,7 +179,7 @@ default DCACHE_RAM_BASE=0xcc000
default DCACHE_RAM_SIZE=0x4000 default DCACHE_RAM_SIZE=0x4000
default CONFIG_USE_INIT=0 default CONFIG_USE_INIT=0
#default CONFIG_USE_INIT=1 #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 ## Build code to setup a generic IOAPIC

View File

@ -56,6 +56,7 @@ uses USE_DCACHE_RAM
uses DCACHE_RAM_BASE uses DCACHE_RAM_BASE
uses DCACHE_RAM_SIZE uses DCACHE_RAM_SIZE
uses CONFIG_USE_INIT uses CONFIG_USE_INIT
uses CONFIG_USE_PRINTK_IN_CAR
### ###
### Build options ### Build options
@ -191,6 +192,8 @@ default HOSTCC="gcc"
## ##
default CONFIG_GDB_STUB=0 default CONFIG_GDB_STUB=0
default CONFIG_USE_PRINTK_IN_CAR=1
## ##
## The Serial Console ## The Serial Console
## ##

View File

@ -97,6 +97,7 @@ uses HT_CHAIN_END_UNITID_BASE
uses SB_HT_CHAIN_ON_BUS0 uses SB_HT_CHAIN_ON_BUS0
uses SB_HT_CHAIN_UNITID_OFFSET_ONLY uses SB_HT_CHAIN_UNITID_OFFSET_ONLY
uses CONFIG_LB_MEM_TOPK uses CONFIG_LB_MEM_TOPK
uses CONFIG_USE_PRINTK_IN_CAR
default ROM_SIZE = 512 * 1024 default ROM_SIZE = 512 * 1024
default ROM_IMAGE_SIZE = 64 * 1024 default ROM_IMAGE_SIZE = 64 * 1024
@ -157,6 +158,7 @@ default CONFIG_ROM_PAYLOAD = 1
default CC = "$(CROSS_COMPILE)gcc -m32" default CC = "$(CROSS_COMPILE)gcc -m32"
default HOSTCC = "gcc" default HOSTCC = "gcc"
default CONFIG_GDB_STUB = 0 default CONFIG_GDB_STUB = 0
default CONFIG_USE_PRINTK_IN_CAR=1
default CONFIG_CONSOLE_SERIAL8250 = 1 default CONFIG_CONSOLE_SERIAL8250 = 1
default TTYS0_BAUD = 115200 default TTYS0_BAUD = 115200
default TTYS0_BASE = 0x3f8 default TTYS0_BASE = 0x3f8

View File

@ -64,6 +64,7 @@ uses USE_DCACHE_RAM
uses DCACHE_RAM_BASE uses DCACHE_RAM_BASE
uses DCACHE_RAM_SIZE uses DCACHE_RAM_SIZE
uses CONFIG_USE_INIT uses CONFIG_USE_INIT
uses CONFIG_USE_PRINTK_IN_CAR
uses SB_HT_CHAIN_UNITID_OFFSET_ONLY uses SB_HT_CHAIN_UNITID_OFFSET_ONLY
@ -214,6 +215,8 @@ default HOSTCC="gcc"
## ##
default CONFIG_GDB_STUB=0 default CONFIG_GDB_STUB=0
default CONFIG_USE_PRINTK_IN_CAR=1
## ##
## The Serial Console ## The Serial Console
## ##

View File

@ -49,6 +49,7 @@ uses USE_DCACHE_RAM
uses DCACHE_RAM_BASE uses DCACHE_RAM_BASE
uses DCACHE_RAM_SIZE uses DCACHE_RAM_SIZE
uses CONFIG_USE_INIT uses CONFIG_USE_INIT
uses CONFIG_USE_PRINTK_IN_CAR
### ###
@ -170,6 +171,8 @@ default CONFIG_ROM_PAYLOAD = 1
default CC="$(CROSS_COMPILE)gcc -m32" default CC="$(CROSS_COMPILE)gcc -m32"
default HOSTCC="gcc" default HOSTCC="gcc"
default CONFIG_USE_PRINTK_IN_CAR=1
## ##
## The Serial Console ## The Serial Console
## ##

View File

@ -51,6 +51,7 @@ uses USE_DCACHE_RAM
uses DCACHE_RAM_BASE uses DCACHE_RAM_BASE
uses DCACHE_RAM_SIZE uses DCACHE_RAM_SIZE
uses CONFIG_USE_INIT uses CONFIG_USE_INIT
uses CONFIG_USE_PRINTK_IN_CAR
### ###
@ -176,6 +177,8 @@ default CONFIG_ROM_PAYLOAD = 1
default CC="$(CROSS_COMPILE)gcc -m32" default CC="$(CROSS_COMPILE)gcc -m32"
default HOSTCC="gcc" default HOSTCC="gcc"
default CONFIG_USE_PRINTK_IN_CAR=1
## ##
## The Serial Console ## The Serial Console
## ##

View File

@ -53,6 +53,7 @@ uses USE_DCACHE_RAM
uses DCACHE_RAM_BASE uses DCACHE_RAM_BASE
uses DCACHE_RAM_SIZE uses DCACHE_RAM_SIZE
uses CONFIG_USE_INIT uses CONFIG_USE_INIT
uses CONFIG_USE_PRINTK_IN_CAR
## ROM_SIZE is the size of boot ROM that this board will use. ## ROM_SIZE is the size of boot ROM that this board will use.
default ROM_SIZE=524288 default ROM_SIZE=524288
@ -177,6 +178,8 @@ default CONFIG_ROM_PAYLOAD = 1
## ##
default CONFIG_GDB_STUB=0 default CONFIG_GDB_STUB=0
default CONFIG_USE_PRINTK_IN_CAR=1
## ##
## The Serial Console ## The Serial Console
## ##

View File

@ -53,6 +53,7 @@ uses USE_DCACHE_RAM
uses DCACHE_RAM_BASE uses DCACHE_RAM_BASE
uses DCACHE_RAM_SIZE uses DCACHE_RAM_SIZE
uses CONFIG_USE_INIT uses CONFIG_USE_INIT
uses CONFIG_USE_PRINTK_IN_CAR
## ROM_SIZE is the size of boot ROM that this board will use. ## ROM_SIZE is the size of boot ROM that this board will use.
default ROM_SIZE=524288 default ROM_SIZE=524288
@ -176,6 +177,8 @@ default CONFIG_ROM_PAYLOAD = 1
## ##
default CONFIG_GDB_STUB=0 default CONFIG_GDB_STUB=0
default CONFIG_USE_PRINTK_IN_CAR=1
## ##
## The Serial Console ## The Serial Console
## ##

View File

@ -87,6 +87,7 @@ uses DCACHE_RAM_SIZE
uses CONFIG_USE_INIT uses CONFIG_USE_INIT
uses DCACHE_RAM_GLOBAL_VAR_SIZE uses DCACHE_RAM_GLOBAL_VAR_SIZE
uses CONFIG_AP_CODE_IN_CAR uses CONFIG_AP_CODE_IN_CAR
uses CONFIG_USE_PRINTK_IN_CAR
uses MEM_TRAIN_SEQ uses MEM_TRAIN_SEQ
uses WAIT_BEFORE_CPUS_INIT uses WAIT_BEFORE_CPUS_INIT
@ -271,6 +272,8 @@ default HOSTCC="gcc"
## ##
default CONFIG_GDB_STUB=0 default CONFIG_GDB_STUB=0
default CONFIG_USE_PRINTK_IN_CAR=1
## ##
## The Serial Console ## The Serial Console
## ##

View File

@ -59,6 +59,7 @@ uses USE_DCACHE_RAM
uses DCACHE_RAM_BASE uses DCACHE_RAM_BASE
uses DCACHE_RAM_SIZE uses DCACHE_RAM_SIZE
uses CONFIG_USE_INIT uses CONFIG_USE_INIT
uses CONFIG_USE_PRINTK_IN_CAR
### ###
### Build options ### Build options
@ -198,6 +199,8 @@ default HOSTCC="gcc"
## ##
default CONFIG_GDB_STUB=0 default CONFIG_GDB_STUB=0
default CONFIG_USE_PRINTK_IN_CAR=1
## ##
## The Serial Console ## The Serial Console
## ##

View File

@ -61,6 +61,7 @@ uses USE_DCACHE_RAM
uses DCACHE_RAM_BASE uses DCACHE_RAM_BASE
uses DCACHE_RAM_SIZE uses DCACHE_RAM_SIZE
uses CONFIG_USE_INIT uses CONFIG_USE_INIT
uses CONFIG_USE_PRINTK_IN_CAR
uses ENABLE_APIC_EXT_ID uses ENABLE_APIC_EXT_ID
uses APIC_ID_OFFSET uses APIC_ID_OFFSET
@ -231,6 +232,8 @@ default HOSTCC="gcc"
## ##
default CONFIG_GDB_STUB=0 default CONFIG_GDB_STUB=0
default CONFIG_USE_PRINTK_IN_CAR=1
## ##
## The Serial Console ## The Serial Console
## ##

View File

@ -60,6 +60,7 @@ uses USE_DCACHE_RAM
uses DCACHE_RAM_BASE uses DCACHE_RAM_BASE
uses DCACHE_RAM_SIZE uses DCACHE_RAM_SIZE
uses CONFIG_USE_INIT uses CONFIG_USE_INIT
uses CONFIG_USE_PRINTK_IN_CAR
### ###
### Build options ### Build options
@ -199,6 +200,8 @@ default HOSTCC="gcc"
## ##
default CONFIG_GDB_STUB=0 default CONFIG_GDB_STUB=0
default CONFIG_USE_PRINTK_IN_CAR=1
## ##
## The Serial Console ## The Serial Console
## ##

View File

@ -60,6 +60,7 @@ uses USE_DCACHE_RAM
uses DCACHE_RAM_BASE uses DCACHE_RAM_BASE
uses DCACHE_RAM_SIZE uses DCACHE_RAM_SIZE
uses CONFIG_USE_INIT uses CONFIG_USE_INIT
uses CONFIG_USE_PRINTK_IN_CAR
### ###
### Build options ### Build options
@ -200,6 +201,8 @@ default HOSTCC="gcc"
## ##
default CONFIG_GDB_STUB=0 default CONFIG_GDB_STUB=0
default CONFIG_USE_PRINTK_IN_CAR=1
## ##
## The Serial Console ## The Serial Console
## ##

View File

@ -60,6 +60,7 @@ uses USE_DCACHE_RAM
uses DCACHE_RAM_BASE uses DCACHE_RAM_BASE
uses DCACHE_RAM_SIZE uses DCACHE_RAM_SIZE
uses CONFIG_USE_INIT uses CONFIG_USE_INIT
uses CONFIG_USE_PRINTK_IN_CAR
### ###
### Build options ### Build options
@ -199,6 +200,8 @@ default HOSTCC="gcc"
## ##
default CONFIG_GDB_STUB=0 default CONFIG_GDB_STUB=0
default CONFIG_USE_PRINTK_IN_CAR=1
## ##
## The Serial Console ## The Serial Console
## ##

View File

@ -65,6 +65,7 @@ uses USE_DCACHE_RAM
uses DCACHE_RAM_BASE uses DCACHE_RAM_BASE
uses DCACHE_RAM_SIZE uses DCACHE_RAM_SIZE
uses CONFIG_USE_INIT uses CONFIG_USE_INIT
uses CONFIG_USE_PRINTK_IN_CAR
### ###
### Build options ### Build options
@ -216,6 +217,8 @@ default HOSTCC="gcc"
## ##
default CONFIG_GDB_STUB=0 default CONFIG_GDB_STUB=0
default CONFIG_USE_PRINTK_IN_CAR=1
## ##
## The Serial Console ## The Serial Console
## ##

View File

@ -60,6 +60,7 @@ uses USE_DCACHE_RAM
uses DCACHE_RAM_BASE uses DCACHE_RAM_BASE
uses DCACHE_RAM_SIZE uses DCACHE_RAM_SIZE
uses CONFIG_USE_INIT uses CONFIG_USE_INIT
uses CONFIG_USE_PRINTK_IN_CAR
### ###
### Build options ### Build options
@ -199,6 +200,8 @@ default HOSTCC="gcc"
## ##
default CONFIG_GDB_STUB=0 default CONFIG_GDB_STUB=0
default CONFIG_USE_PRINTK_IN_CAR=1
## ##
## The Serial Console ## The Serial Console
## ##

View File

@ -60,6 +60,7 @@ uses USE_DCACHE_RAM
uses DCACHE_RAM_BASE uses DCACHE_RAM_BASE
uses DCACHE_RAM_SIZE uses DCACHE_RAM_SIZE
uses CONFIG_USE_INIT uses CONFIG_USE_INIT
uses CONFIG_USE_PRINTK_IN_CAR
uses ENABLE_APIC_EXT_ID uses ENABLE_APIC_EXT_ID
uses APIC_ID_OFFSET uses APIC_ID_OFFSET
@ -226,6 +227,8 @@ default HOSTCC="gcc"
## ##
default CONFIG_GDB_STUB=0 default CONFIG_GDB_STUB=0
default CONFIG_USE_PRINTK_IN_CAR=1
## ##
## The Serial Console ## The Serial Console
## ##

View File

@ -61,6 +61,7 @@ uses USE_DCACHE_RAM
uses DCACHE_RAM_BASE uses DCACHE_RAM_BASE
uses DCACHE_RAM_SIZE uses DCACHE_RAM_SIZE
uses CONFIG_USE_INIT uses CONFIG_USE_INIT
uses CONFIG_USE_PRINTK_IN_CAR
uses ENABLE_APIC_EXT_ID uses ENABLE_APIC_EXT_ID
uses APIC_ID_OFFSET uses APIC_ID_OFFSET
@ -233,6 +234,8 @@ default HOSTCC="gcc"
## ##
default CONFIG_GDB_STUB=0 default CONFIG_GDB_STUB=0
default CONFIG_USE_PRINTK_IN_CAR=1
## ##
## The Serial Console ## The Serial Console
## ##

View File

@ -61,6 +61,7 @@ uses USE_DCACHE_RAM
uses DCACHE_RAM_BASE uses DCACHE_RAM_BASE
uses DCACHE_RAM_SIZE uses DCACHE_RAM_SIZE
uses CONFIG_USE_INIT uses CONFIG_USE_INIT
uses CONFIG_USE_PRINTK_IN_CAR
uses HT_CHAIN_UNITID_BASE uses HT_CHAIN_UNITID_BASE
uses HT_CHAIN_END_UNITID_BASE uses HT_CHAIN_END_UNITID_BASE
@ -221,6 +222,8 @@ default HOSTCC="gcc"
## ##
default CONFIG_GDB_STUB=0 default CONFIG_GDB_STUB=0
default CONFIG_USE_PRINTK_IN_CAR=1
## ##
## The Serial Console ## The Serial Console
## ##

View File

@ -64,6 +64,7 @@ uses USE_DCACHE_RAM
uses DCACHE_RAM_BASE uses DCACHE_RAM_BASE
uses DCACHE_RAM_SIZE uses DCACHE_RAM_SIZE
uses CONFIG_USE_INIT uses CONFIG_USE_INIT
uses CONFIG_USE_PRINTK_IN_CAR
uses SERIAL_CPU_INIT uses SERIAL_CPU_INIT
@ -243,6 +244,8 @@ default HOSTCC="gcc"
## ##
default CONFIG_GDB_STUB=0 default CONFIG_GDB_STUB=0
default CONFIG_USE_PRINTK_IN_CAR=1
## ##
## The Serial Console ## The Serial Console
## ##

View File

@ -60,6 +60,7 @@ uses USE_DCACHE_RAM
uses DCACHE_RAM_BASE uses DCACHE_RAM_BASE
uses DCACHE_RAM_SIZE uses DCACHE_RAM_SIZE
uses CONFIG_USE_INIT uses CONFIG_USE_INIT
uses CONFIG_USE_PRINTK_IN_CAR
uses ENABLE_APIC_EXT_ID uses ENABLE_APIC_EXT_ID
uses APIC_ID_OFFSET uses APIC_ID_OFFSET
@ -208,6 +209,8 @@ default HOSTCC="gcc"
## ##
default CONFIG_GDB_STUB=0 default CONFIG_GDB_STUB=0
default CONFIG_USE_PRINTK_IN_CAR=1
## ##
## The Serial Console ## The Serial Console
## ##

View File

@ -60,6 +60,7 @@ uses USE_DCACHE_RAM
uses DCACHE_RAM_BASE uses DCACHE_RAM_BASE
uses DCACHE_RAM_SIZE uses DCACHE_RAM_SIZE
uses CONFIG_USE_INIT uses CONFIG_USE_INIT
uses CONFIG_USE_PRINTK_IN_CAR
uses ENABLE_APIC_EXT_ID uses ENABLE_APIC_EXT_ID
uses APIC_ID_OFFSET uses APIC_ID_OFFSET
@ -207,6 +208,8 @@ default HOSTCC="gcc"
## ##
default CONFIG_GDB_STUB=0 default CONFIG_GDB_STUB=0
default CONFIG_USE_PRINTK_IN_CAR=1
## ##
## The Serial Console ## The Serial Console
## ##

View File

@ -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"