switch-coreboot/arch/x86/Kconfig
Ronald G. Minnich 62f8ea8e9b This set of changes gets us much farther, in fact, we get into initram.
This means that basic resource maps are working, initial hypertransport 
setup is working, the amd8111 ISA device is working, config space is 
working for all the parts, we can grow the FLASH part address space to 
more than 64k, and in general we're having a good time. 

Here is the output:
coreboot-3.0.824 Tue Aug 26 22:18:21 PDT 2008 starting... 
(console_loglevel=8)
Choosing fallback boot.
LAR: Attempting to open 'fallback/initram/segment0'.
LAR: Start 0xfff80000 len 0x80000
LAR: normal/option_table@0xfff80000, size 1776
LAR: normal/initram/segment0@0xfff80740, size 24404
LAR: normal/stage2/segment0@0xfff866f0, size 1
LAR: normal/stage2/segment1@0xfff86750, size 18542
LAR: normal/stage2/segment2@0xfff8b010, size 559
LAR: normal/payload/segment0@0xfff8b290, size 18142
LAR: bootblock@0xffff7fc0, size 32768
LAR: File not found!
LAR: Run file fallback/initram/segment0 failed: No such file.
Fallback failed. Try normal boot
LAR: Attempting to open 'normal/initram/segment0'.
LAR: Start 0xfff80000 len 0x80000
LAR: normal/option_table@0xfff80000, size 1776
LAR: normal/initram/segment0@0xfff80740, size 24404
LAR: CHECK normal/initram/segment0 @ 0xfff80740
start 0xfff80790 len 24404 reallen 24404 compression 0 entry 0x00000004 
loadaddress 0x00000000
Entry point is 0xfff80794
Hi there from stage1
stage1 returns
run_file returns with 0

Goal for tomorrow is to get initram done. 

Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>



git-svn-id: svn://coreboot.org/repository/coreboot-v3@826 f3766cd6-281f-0410-b1cd-43a5c92072e9
2008-08-27 05:30:50 +00:00

210 lines
5.1 KiB
Text

##
## This file is part of the coreboot project.
##
## Copyright (C) 2006-2007 coresystems GmbH
## (Written by Stefan Reinauer <stepan@coresystems.de> for coresystems GmbH)
##
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License
## along with this program; if not, write to the Free Software
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
config ARCH_X86
boolean
help
This option is used to set the architecture of a mainboard.
It is usually set in mainboard/*/Kconfig.
config ARCH
string
default x86
depends ARCH_X86
help
This is the name of the respective subdirectory in arch/.
config CPU_I586
boolean
help
CPU type. At the moment this option selects the reset vector and
Cache-as-RAM (CAR) implementation for a mainboard. See
arch/x86/Makefile for more hints on possible values.
It is usually set in mainboard/*/Kconfig.
config CPU_AMD_GEODELX
boolean
help
CPU type. At the moment this option selects the reset vector and
Cache-as-RAM (CAR) implementation for a mainboard. See
arch/x86/Makefile for more hints on possible values.
It is usually set in mainboard/*/Kconfig.
config CPU_AMD_K8
boolean
help
CPU type. At the moment this option selects the reset vector and
Cache-as-RAM (CAR) implementation for a mainboard. See
arch/x86/Makefile for more hints on possible values.
It is usually set in mainboard/*/Kconfig.
config CONFIG_HPET
boolean
depends CPU_AMD_K8
help
Whether to configure a High Precision Event Timer. Note that HPETs are
known to be bug-prone.
config K8_REV_F_SUPPORT
hex
default 0 if CPU_AMD_K8
help
Whether to include rev F support
config K8_SCAN_PCI_BUS
hex
default 0 if CPU_AMD_K8
help
Whether to scan the PCI bus in stage1
config K8_ALLOCATE_IO_RANGE
hex
default 0 if CPU_AMD_K8
help
Whether to allocate IO space in stage1
config K8_ALLOCATE_MMIO_RANGE
hex
default 0 if CPU_AMD_K8
help
Whether to allocate MMIO space in stage1.
Comment from code:
Do we need allocate MMIO? Currently we direct
last 64M to southbridge link (sblink) only,
We can not lose access to last 4M range to ROM.
config LOGICAL_CPUS
hex
depends CPU_AMD_K8
default 1
help
How many logical CPUs there are. Fix me.
config MAX_PHYSICAL_CPUS
hex
depends CPU_AMD_K8
default 1
help
Max number of physical CPUs (sockets)
config MAX_PHYSICAL_CPUS_4_BUT_MORE_INSTALLED
hex
default 0 if CPU_AMD_K8
help
Config with 4 CPUs even if more are installed
config CROSS_BAR_47_56
hex
default 0 if CPU_AMD_K8
help
Configure for the type of crossbar on the mainboard.
config OPTION_TABLE
boolean
help
This option is used to determine whether the mainboard has
a battery backed up real time clock with CMOS NVRAM.
It is usually set in mainboard/*/Kconfig.
config PIRQ_TABLE
boolean
help
This option is used to determine whether the mainboard has
a PIRQ table, which is the old way to set up interrupt routing.
It is usually set in mainboard/*/Kconfig.
config ACPI_TABLE
boolean
help
This option is used to determine whether the mainboard has
an ACPI table.
It is usually set in mainboard/*/Kconfig.
config SMP
boolean
depends CPU_I586 || CPU_AMD_K8
default 0
help
This option is used to enable certain functions to make
coreboot work correctly on symmetric multi processor
systems.
It is usually set in mainboard/*/Kconfig.
config IOAPIC
boolean
depends ARCH_X86 && CPU_AMD_K8
default 0
help
If you want to configure an IOAPIC, set this.
config CARBASE
hex
default 0x8f000 if CPU_I586
default 0x80000 if CPU_AMD_GEODELX
default 0xc8000 if CPU_AMD_K8
help
This option sets the base address of the area used for CAR.
config CARSIZE
hex
default 0x1000 if CPU_I586
default 0x8000 if CPU_AMD_GEODELX
default 0x8000 if CPU_AMD_K8
help
This option sets the size of the area used for CAR.
config K8_HT_FREQ_1G_SUPPORT
hex
default 1 if CPU_AMD_K8
help
1 Ghz. support. Opteron E0 or later can support
1G HT, but still depends on the mainboard
config HT_FREQ_800MHZ
hex
default 1 if CPU_AMD_K8
help
Can we run HT at 800 Mhz
config USBDEBUG_DIRECT
boolean
depends SOUTHBRIDGE_NVIDIA_MCP55
default 0
help
Determines if we enable USB Direct debugging. If you don't have a dongle,
this is probably of no value to you.
config APIC_ID_OFFSET
hex "APIC ID offset"
default 0x10
depends IOAPIC
help
This is entirely mainboard dependent. 0x10 is a *typical* setting but not always a good setting.
menu "Debugging"
config CARTEST
bool "Test CAR area"
default n
help
Test the CAR area after it has been set up.
endmenu