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
10 uses HAVE_OPTION_TABLE
11 uses CONFIG_SANDPOINT_ALTIMUS
13 uses DEFAULT_CONSOLE_LOGLEVEL
16 uses CONFIG_CONSOLE_SERIAL8250
19 uses CONFIG_IDE_STREAM
21 uses IDE_SWAB IDE_OFFSET
22 uses ROM_SIZE ROM_IMAGE_SIZE
24 uses ROM_SECTION_OFFSET
26 uses _EXCEPTION_VECTORS
29 uses STACK_SIZE HEAP_SIZE
31 ## use a cross compiler
32 option CROSS_COMPILE="powerpc-eabi-"
33 #option CROSS_COMPILE="ppc_74xx-"
35 ## Use stage 1 initialization code
36 option CONFIG_USE_INIT=1
38 ## We don't use compressed image
39 option CONFIG_COMPRESS=0
41 ## Turn off POST codes
44 ## Enable serial console
45 option DEFAULT_CONSOLE_LOGLEVEL=8
46 option CONFIG_CONSOLE_SERIAL8250=1
47 option TTYS0_BASE=0x3f0
48 option UART0_IO_BASE=0xfe000000+TTYS0_BASE
50 ## Boot linux from IDE
51 option CONFIG_IDE_STREAM=1
52 option IDE_BOOT_DRIVE=0
56 option ROM_SIZE=1048576
58 ## For the trick of using cache as ram
59 ## put the fake ram location at this address
60 #option CACHE_RAM_BASE=0x00200000
61 #option CACHE_RAM_SIZE=0x00004000
66 option STACK_SIZE=0x10000
71 option HEAP_SIZE=0x10000
73 ## Compute the location and size of where this firmware image
74 ## (linuxBIOS plus bootloader) will live in the boot rom chip.
76 option ROM_SECTION_SIZE=ROM_SIZE
77 option ROM_SECTION_OFFSET=0
79 # Sandpoint Demo Board
81 ## Sandpoint reset vector
82 option _RESET=0xfff00100
85 option _EXCEPTION_VECTORS=_RESET+0x100
87 ## Start of linuxBIOS in the boot rom
88 ## = _RESET + exeception vector table size
89 option _ROMBASE=0xfff03100
91 ## LinuxBIOS C code runs at this location in RAM
92 option _RAMBASE=0x00100000
94 ## ROM_IMAGE_SIZE is the amount of space to allow linuxBIOS to occupy.
95 option ROM_IMAGE_SIZE=49152
96 option CONFIG_SANDPOINT_ALTIMUS=1
98 mainboard motorola/sandpoint
101 buildrom ./linuxbios.rom ROM_SIZE "normal"