1# Sample config file for 2# the Iwill DK8S2 3# This will make a target directory of ./dk8s2 4 5target dk8s2 6 7mainboard iwill/dk8s2 8 9option CONFIG_HAVE_HARD_RESET=1 10 11option CONFIG_HAVE_OPTION_TABLE=1 12option CONFIG_HAVE_MP_TABLE=1 13option CONFIG_ROM_SIZE=1024*1024 14 15option CONFIG_HAVE_FALLBACK_BOOT=1 16 17#option CONFIG_LSI_SCSI_FW_FIXUP=1 18 19 20# 21### 22### Build code to export a programmable irq routing table 23### 24option CONFIG_HAVE_PIRQ_TABLE=1 25option CONFIG_IRQ_SLOT_COUNT=12 26# 27### 28### Build code for SMP support 29### Only worry about 2 micro processors 30### 31option CONFIG_SMP=1 32option CONFIG_MAX_CPUS=2 33#option CONFIG_LOGICAL_CPUS=1 34option CONFIG_MAX_PHYSICAL_CPUS=2 35# 36### 37### Build code to setup a generic IOAPIC 38### 39option CONFIG_IOAPIC=1 40# 41### 42### CONFIG_MEMORY_HOLE instructs earlymtrr.inc to 43### enable caching from 0-640KB and to disable 44### caching from 640KB-1MB using fixed MTRRs 45### 46### Enabling this option breaks SMP because secondary 47### CPU identification depends on only variable MTRRs 48### being enabled. 49### 50#option CONFIG_MEMORY_HOLE=0 51# 52### 53### Clean up the motherboard id strings 54### 55option CONFIG_MAINBOARD_PART_NUMBER="DK8S2" 56option CONFIG_MAINBOARD_VENDOR="IWILL" 57# 58### 59### Compute the location and size of where this firmware image 60### (coreboot plus bootloader) will live in the boot rom chip. 61### 62#option CONFIG_FALLBACK_SIZE=524288 63#option CONFIG_FALLBACK_SIZE=98304 64option CONFIG_FALLBACK_SIZE=131072 65 66## CONFIG_ROM_IMAGE_SIZE is the amount of space to allow coreboot to occupy. 67option CONFIG_ROM_IMAGE_SIZE=65536 68 69 70### 71### Compute where this copy of coreboot will start in the boot rom 72### 73# 74### 75 76## We do use compressed image 77#option CONFIG_COMPRESS=1 78 79option CONFIG_CONSOLE_SERIAL8250=1 80option CONFIG_TTYS0_BAUD=115200 81 82## 83### Select the coreboot loglevel 84## 85## EMERG 1 system is unusable 86## ALERT 2 action must be taken immediately 87## CRIT 3 critical conditions 88## ERR 4 error conditions 89## WARNING 5 warning conditions 90## NOTICE 6 normal but significant condition 91## INFO 7 informational 92## CONFIG_DEBUG 8 debug-level messages 93## SPEW 9 Way too many details 94 95## Request this level of debugging output 96option CONFIG_DEFAULT_CONSOLE_LOGLEVEL=7 97## At a maximum only compile in this level of debugging 98option CONFIG_MAXIMUM_CONSOLE_LOGLEVEL=7 99 100#option CONFIG_DEBUG=1 101 102# 103 104## Coreboot C code runs at this location in RAM 105option CONFIG_RAMBASE=0x004000 106 107## 108## Use a 32K stack 109## 110option CONFIG_STACK_SIZE=0x8000 111 112## 113## Use a 56K heap 114## 115option CONFIG_HEAP_SIZE=0xe000 116 117# 118### 119### Compute the start location and size size of 120### The coreboot bootloader. 121### 122option CONFIG_ROM_PAYLOAD = 1 123 124# 125# 126romimage "normal" 127# 48K for SCSI FW 128# option CONFIG_ROM_SIZE = 512*1024-48*1024 129# 48K for SCSI FW and 48K for ATI ROM 130# option CONFIG_ROM_SIZE = 512*1024-48*1024-48*1024 131 option COREBOOT_EXTRA_VERSION="$(shell cat ../../VERSION)_Normal" 132 option CONFIG_USE_FALLBACK_IMAGE=0 133 option CONFIG_ROM_SECTION_SIZE = (CONFIG_ROM_SIZE - CONFIG_FALLBACK_SIZE) 134 option CONFIG_ROM_SECTION_OFFSET= 0 135 136# option CONFIG_XIP_ROM_SIZE = CONFIG_FALLBACK_SIZE 137 option CONFIG_XIP_ROM_SIZE = 65536 138 139 option CONFIG_XIP_ROM_BASE = (CONFIG_ROMBASE + CONFIG_ROM_IMAGE_SIZE - CONFIG_XIP_ROM_SIZE) 140 141 payload /usr/src/filo-0.4.1_btext/filo.elf 142# payload /usr/src/filo-0.4.2/filo.elf 143end 144 145romimage "fallback" 146 option COREBOOT_EXTRA_VERSION="$(shell cat ../../VERSION)_Fallback" 147 option CONFIG_USE_FALLBACK_IMAGE=1 148 option CONFIG_ROM_SECTION_SIZE = CONFIG_FALLBACK_SIZE 149 option CONFIG_ROM_SECTION_OFFSET= (CONFIG_ROM_SIZE - CONFIG_FALLBACK_SIZE) 150 151# option CONFIG_XIP_ROM_SIZE = CONFIG_FALLBACK_SIZE 152 option CONFIG_XIP_ROM_SIZE = 65536 153 option CONFIG_XIP_ROM_BASE = (CONFIG_ROMBASE + CONFIG_ROM_IMAGE_SIZE - CONFIG_XIP_ROM_SIZE) 154 155 payload ../../../payloads/filo.elf 156# payload /usr/src/filo-0.4.2/filo.elf 157end 158 159buildrom ./coreboot.rom CONFIG_ROM_SIZE "normal" "fallback" 160

