setup for v2
[coreboot.git] / targets / motorola / sandpoint / Config.lb
1 # Sample config file for Motorola Sandpoint X3 Demo Board with
2 # the Altimus mpc7410 PMC card
3 # This will make a target directory of ./sandpoint
4
5 loadoptions
6
7 target sandpoint
8
9 uses CROSS_COMPILE 
10 uses HAVE_OPTION_TABLE
11 uses CONFIG_SANDPOINT_ALTIMUS 
12 uses CONFIG_COMPRESS 
13 uses DEFAULT_CONSOLE_LOGLEVEL 
14 uses CONFIG_USE_INIT
15 uses NO_POST
16 uses CONFIG_CONSOLE_SERIAL8250 
17 uses TTYS0_BASE 
18 uses UART0_IO_BASE 
19 uses CONFIG_IDE_STREAM 
20 uses IDE_BOOT_DRIVE
21 uses IDE_SWAB IDE_OFFSET 
22 uses ROM_SIZE
23 uses _RESET
24 uses _EXCEPTION_VECTORS
25 uses _ROMBASE
26 uses _ROMSTART
27 uses _RAMBASE
28 uses _RAMSTART
29 uses STACK_SIZE
30 uses HEAP_SIZE
31
32 ## use a cross compiler
33 #option CROSS_COMPILE="powerpc-eabi-"
34 #option CROSS_COMPILE="ppc_74xx-"
35
36 ## Use stage 1 initialization code
37 option CONFIG_USE_INIT=1
38
39 ## We don't use compressed image
40 option CONFIG_COMPRESS=0
41
42 ## Turn off POST codes
43 option NO_POST=1
44
45 ## Enable serial console
46 option DEFAULT_CONSOLE_LOGLEVEL=8
47 option CONFIG_CONSOLE_SERIAL8250=1
48 option UART0_IO_BASE=0x3f0
49 option TTYS0_BASE=0xfe000000+UART0_IO_BASE
50
51 ## Boot linux from IDE
52 option CONFIG_IDE_STREAM=1
53 option IDE_BOOT_DRIVE=0
54 option IDE_SWAB=1
55 option IDE_OFFSET=0
56
57 # ROM is 1Mb
58 option ROM_SIZE=1048576
59
60 # Set stack and heap sizes (stage 2)
61 option STACK_SIZE=0x10000
62 option HEAP_SIZE=0x10000
63
64 # Sandpoint Demo Board
65 romimage "normal"
66         ## Base of ROM
67         option _ROMBASE=0xfff00000
68
69         ## Sandpoint reset vector
70         option _RESET=_ROMBASE+0x100
71
72         ## Exception vectors (other than reset vector)
73         option _EXCEPTION_VECTORS=_RESET+0x100
74
75         ## Start of linuxBIOS in the boot rom
76         ## = _RESET + exeception vector table size
77         option _ROMSTART=_RESET+0x3100
78
79         ## LinuxBIOS C code runs at this location in RAM
80         option _RAMBASE=0x00100000
81         option _RAMSTART=0x00100000
82
83         option CONFIG_SANDPOINT_ALTIMUS=1
84
85         mainboard motorola/sandpoint
86 end
87
88 buildrom ./linuxbios.rom ROM_SIZE "normal"