2 ## This file is part of the LinuxBIOS project.
4 ## Copyright (C) 2007 Rudolf Marek <r.marek@assembler.cz>
6 ## This program is free software; you can redistribute it and/or modify
7 ## it under the terms of the GNU General Public License v2 as published by
8 ## the Free Software Foundation.
10 ## This program is distributed in the hope that it will be useful,
11 ## but WITHOUT ANY WARRANTY; without even the implied warranty of
12 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 ## GNU General Public License for more details.
15 ## You should have received a copy of the GNU General Public License
16 ## along with this program; if not, write to the Free Software
17 ## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
22 uses USE_FALLBACK_IMAGE
23 uses HAVE_FALLBACK_BOOT
26 uses HAVE_OPTION_TABLE
28 uses CONFIG_MAX_PHYSICAL_CPUS
29 uses CONFIG_LOGICAL_CPUS
37 uses ROM_SECTION_OFFSET
38 uses CONFIG_ROM_PAYLOAD
39 uses CONFIG_ROM_PAYLOAD_START
46 ##uses USE_OPTION_TABLE
47 ##uses CONFIG_LB_MEM_TOPK
51 uses LB_CKS_RANGE_START
55 uses MAINBOARD_PART_NUMBER
57 uses MAINBOARD_PCI_SUBSYSTEM_VENDOR_ID
58 uses MAINBOARD_PCI_SUBSYSTEM_DEVICE_ID
59 uses LINUXBIOS_EXTRA_VERSION
69 uses DEFAULT_CONSOLE_LOGLEVEL
70 uses MAXIMUM_CONSOLE_LOGLEVEL
71 uses MAINBOARD_POWER_ON_AFTER_POWER_FAIL
72 uses CONFIG_CONSOLE_SERIAL8250
76 uses CONFIG_CONSOLE_VGA
77 uses CONFIG_PCI_ROM_RUN
78 #bx_b001- uses K8_HW_MEM_HOLE_SIZEK
79 uses K8_HT_FREQ_1G_SUPPORT
84 uses DCACHE_RAM_GLOBAL_VAR_SIZE
87 uses ENABLE_APIC_EXT_ID
91 uses HT_CHAIN_UNITID_BASE
92 uses HT_CHAIN_END_UNITID_BASE
93 #bx_b001- uses K8_SB_HT_CHAIN_ON_BUS0
94 uses SB_HT_CHAIN_UNITID_OFFSET_ONLY
96 uses SB_HT_CHAIN_ON_BUS0
98 uses CONFIG_COMPRESSED_PAYLOAD_NRV2B
99 uses CONFIG_COMPRESSED_PAYLOAD_LZMA
101 ## ROM_SIZE is the size of boot ROM that this board will use.
103 default ROM_SIZE=512 * 1024
106 #bx- default ROM_SIZE=1024 * 1024
109 ## FALLBACK_SIZE is the amount of the ROM the complete fallback image will use
112 default FALLBACK_SIZE=256 * 1024
119 ## Build code for the fallback boot
121 default HAVE_FALLBACK_BOOT=1
124 ## Build code to reset the motherboard from linuxBIOS
126 default HAVE_HARD_RESET=0
129 ## Build code to export a programmable irq routing table
131 default HAVE_PIRQ_TABLE=0
132 default IRQ_SLOT_COUNT=11
135 ## Build code to export an x86 MP table
136 ## Useful for specifying IRQ routing values
138 default HAVE_MP_TABLE=1
141 ## Build code to export a CMOS option table
143 default HAVE_OPTION_TABLE=0
146 ## Move the default LinuxBIOS cmos range off of AMD RTC registers
148 default LB_CKS_RANGE_START=49
149 default LB_CKS_RANGE_END=122
150 default LB_CKS_LOC=123
153 ## Build code for SMP support
154 ## Only worry about 2 micro processors
157 default CONFIG_MAX_CPUS=2
158 default CONFIG_MAX_PHYSICAL_CPUS=1
159 default CONFIG_LOGICAL_CPUS=1
162 default HAVE_ACPI_TABLES=1
165 #default CONFIG_CHIP_NAME=1
168 #bx_b001- default K8_HW_MEM_HOLE_SIZEK=0x100000
170 #Opteron K8 1G HT Support
171 default K8_HT_FREQ_1G_SUPPORT=1
173 ##HT Unit ID offset, default is 1, the typical one
174 default HT_CHAIN_UNITID_BASE=0x0
176 ##real SB Unit ID, default is 0x20, mean dont touch it at last
177 #default HT_CHAIN_END_UNITID_BASE=0x0
179 #make the SB HT chain on bus 0, default is not (0)
180 #bx_b001- default K8_SB_HT_CHAIN_ON_BUS0=2
182 ##bx_b005+ make the SB HT chain on bus 0
183 default SB_HT_CHAIN_ON_BUS0=1
185 ##only offset for SB chain?, default is yes(1)
186 default SB_HT_CHAIN_UNITID_OFFSET_ONLY=0
189 default CONFIG_CONSOLE_VGA=1
190 default CONFIG_PCI_ROM_RUN=1
193 ## enable CACHE_AS_RAM specifics
195 default USE_DCACHE_RAM=1
196 default DCACHE_RAM_BASE=0xcc000
197 default DCACHE_RAM_SIZE=0x4000
198 default DCACHE_RAM_GLOBAL_VAR_SIZE=0x01000
199 default CONFIG_USE_INIT=0
201 default ENABLE_APIC_EXT_ID=0
202 default APIC_ID_OFFSET=0x10
203 default LIFT_BSP_APIC_ID=0
207 ## Build code to setup a generic IOAPIC
209 default CONFIG_IOAPIC=1
212 ## Clean up the motherboard id strings
214 default MAINBOARD_PART_NUMBER="A8V-E SE"
215 default MAINBOARD_VENDOR="ASUS"
216 default MAINBOARD_PCI_SUBSYSTEM_VENDOR_ID=0x1043
217 #default MAINBOARD_PCI_SUBSYSTEM_DEVICE_ID=0x1234
220 ### LinuxBIOS layout values
223 ## ROM_IMAGE_SIZE is the amount of space to allow linuxBIOS to occupy.
224 default ROM_IMAGE_SIZE = 64 * 1024
227 ## Use a small 8K stack
229 default STACK_SIZE= 8 * 1024
232 ## Use a small 256K heap
234 default HEAP_SIZE=256 * 1024
237 ##default CONFIG_LB_MEM_TOPK=2048
240 ## Only use the option table in a normal image
242 ##default USE_OPTION_TABLE = !USE_FALLBACK_IMAGE
245 ## LinuxBIOS C code runs at this location in RAM
247 default _RAMBASE=0x00004000
250 ## Load the payload from the ROM
252 default CONFIG_ROM_PAYLOAD = 1
255 ### Defaults of options that you may want to override in the target config file
259 ## The default compiler
261 default CC="$(CROSS_COMPILE)gcc -m32"
265 ## Disable the gdb stub by default
267 default CONFIG_GDB_STUB=0
270 ## The Serial Console
273 # To Enable the Serial Console
274 default CONFIG_CONSOLE_SERIAL8250=1
276 ## Select the serial console baud rate
277 default TTYS0_BAUD=115200
278 #default TTYS0_BAUD=57600
279 #default TTYS0_BAUD=38400
280 #default TTYS0_BAUD=19200
281 #default TTYS0_BAUD=9600
282 #default TTYS0_BAUD=4800
283 #default TTYS0_BAUD=2400
284 #default TTYS0_BAUD=1200
286 # Select the serial console base port
287 default TTYS0_BASE=0x3f8
289 # Select the serial protocol
290 # This defaults to 8 data bits, 1 stop bit, and no parity
291 default TTYS0_LCS=0x3
294 ### Select the linuxBIOS loglevel
296 ## EMERG 1 system is unusable
297 ## ALERT 2 action must be taken immediately
298 ## CRIT 3 critical conditions
299 ## ERR 4 error conditions
300 ## WARNING 5 warning conditions
301 ## NOTICE 6 normal but significant condition
302 ## INFO 7 informational
303 ## DEBUG 8 debug-level messages
304 ## SPEW 9 Way too many details
306 ## Request this level of debugging output
307 default DEFAULT_CONSOLE_LOGLEVEL=8
308 ## At a maximum only compile in this level of debugging
309 default MAXIMUM_CONSOLE_LOGLEVEL=8
312 ## Select power on after power fail setting
313 default MAINBOARD_POWER_ON_AFTER_POWER_FAIL="MAINBOARD_POWER_ON"