via epia; also yh lu tyan.
[coreboot.git] / targets / arima / hdama / Config.lb
1 # Sample config file for Motorola Sandpoint X3 Demo Board with
2 # the Arima HDAMA
3 # This will make a target directory of ./hdama
4
5 loadoptions
6
7 target hdama
8
9 uses ARCH
10 uses CONFIG_COMPRESS
11 uses CONFIG_IOAPIC
12 uses CONFIG_ROM_STREAM
13 uses CONFIG_ROM_STREAM_START
14 uses CONFIG_UDELAY_TSC
15 uses CPU_FIXUP
16 uses FALLBACK_SIZE
17 uses HAVE_FALLBACK_BOOT
18 uses HAVE_MP_TABLE
19 uses HAVE_PIRQ_TABLE
20 uses HAVE_HARD_RESET
21 uses i586
22 uses i686
23 uses INTEL_PPRO_MTRR
24 uses HEAP_SIZE
25 uses IRQ_SLOT_COUNT
26 uses k7
27 uses k8
28 uses MAINBOARD_PART_NUMBER
29 uses MAINBOARD_VENDOR
30 uses CONFIG_SMP
31 uses CONFIG_MAX_CPUS
32 uses MEMORY_HOLE
33 uses PAYLOAD_SIZE
34 uses _RAMBASE
35 uses _ROMBASE
36 uses ROM_IMAGE_SIZE
37 uses ROM_SECTION_OFFSET
38 uses ROM_SECTION_SIZE
39 uses ROM_SIZE
40 uses STACK_SIZE
41 uses USE_FALLBACK_IMAGE
42 uses USE_OPTION_TABLE
43 uses HAVE_OPTION_TABLE
44 uses MAXIMUM_CONSOLE_LOGLEVEL
45 uses  DEFAULT_CONSOLE_LOGLEVEL
46 uses  CONFIG_CONSOLE_SERIAL8250
47 uses MAINBOARD
48 uses CONFIG_CHIP_CONFIGURE
49 uses XIP_ROM_SIZE
50 uses XIP_ROM_BASE
51 uses LINUXBIOS_EXTRA_VERSION
52
53 option CONFIG_CHIP_CONFIGURE=1
54
55 option  MAXIMUM_CONSOLE_LOGLEVEL=8
56 option  DEFAULT_CONSOLE_LOGLEVEL=8
57 option  CONFIG_CONSOLE_SERIAL8250=1
58
59 option CPU_FIXUP=1
60 option CONFIG_UDELAY_TSC=0
61 option i686=1
62 option i586=1
63 option INTEL_PPRO_MTRR=1
64 option k7=1
65 option k8=1
66
67 option ROM_SIZE=524288
68
69
70 option HAVE_OPTION_TABLE=1
71 option CONFIG_ROM_STREAM=1
72 option HAVE_FALLBACK_BOOT=1
73
74 ###
75 ### Compute the location and size of where this firmware image
76 ### (linuxBIOS plus bootloader) will live in the boot rom chip.
77 ###
78 option FALLBACK_SIZE=131072
79
80 ## LinuxBIOS C code runs at this location in RAM
81 option _RAMBASE=0x00004000
82
83 #
84 ###
85 ### Compute the start location and size size of
86 ### The linuxBIOS bootloader.
87 ###
88
89 #
90 # Arima hdama
91 romimage "normal"
92         option USE_FALLBACK_IMAGE=0
93         option ROM_IMAGE_SIZE=0x10000
94         option LINUXBIOS_EXTRA_VERSION=".0Normal"
95         mainboard arima/hdama
96         payload /usr/share/etherboot/5.1.9pre2-lnxi-lb/tg3--ide_disk.zelf
97 # use this to test a build if you don't have the etherboot
98 #       payload /etc/hosts
99 end
100
101 romimage "fallback" 
102         option USE_FALLBACK_IMAGE=1
103         option ROM_IMAGE_SIZE=0x10000
104         option LINUXBIOS_EXTRA_VERSION=".0Fallback"
105         mainboard arima/hdama
106         payload /usr/share/etherboot/5.1.9pre2-lnxi-lb/tg3--ide_disk.zelf
107 # use this to test a build if you don't have the etherboot
108 #       payload /etc/hosts
109 end
110
111 buildrom ./linuxbios.rom ROM_SIZE "normal" "fallback"