2003-06-23 03:02:54 +02:00
|
|
|
# Sample config file for Motorola Sandpoint X3 Demo Board with
|
|
|
|
# the Altimus mpc7410 PMC card
|
|
|
|
# This will make a target directory of ./sandpoint
|
|
|
|
|
|
|
|
loadoptions
|
|
|
|
|
|
|
|
target sandpoint
|
|
|
|
|
2003-11-10 00:35:11 +01:00
|
|
|
uses CROSS_COMPILE
|
2003-07-18 00:11:58 +02:00
|
|
|
uses HAVE_OPTION_TABLE
|
|
|
|
uses CONFIG_SANDPOINT_ALTIMUS
|
|
|
|
uses CONFIG_COMPRESS
|
2003-07-23 23:31:02 +02:00
|
|
|
uses DEFAULT_CONSOLE_LOGLEVEL
|
2003-11-10 00:35:11 +01:00
|
|
|
uses CONFIG_USE_INIT
|
2004-01-29 02:53:36 +01:00
|
|
|
uses CONFIG_CHIP_CONFIGURE
|
2003-07-18 00:11:58 +02:00
|
|
|
uses NO_POST
|
2003-07-23 23:31:02 +02:00
|
|
|
uses CONFIG_CONSOLE_SERIAL8250
|
2003-10-12 23:30:44 +02:00
|
|
|
uses TTYS0_BASE
|
2004-03-17 23:37:43 +01:00
|
|
|
uses CONFIG_IDE
|
|
|
|
uses CONFIG_FS_STREAM
|
|
|
|
uses CONFIG_FS_EXT2
|
|
|
|
uses CONFIG_FS_ISO9660
|
|
|
|
uses CONFIG_FS_FAT
|
|
|
|
uses AUTOBOOT_CMDLINE
|
|
|
|
uses PAYLOAD_SIZE
|
2003-11-15 16:04:58 +01:00
|
|
|
uses ROM_SIZE
|
2004-03-17 23:37:43 +01:00
|
|
|
uses ROM_IMAGE_SIZE
|
2003-07-28 23:23:02 +02:00
|
|
|
uses _RESET
|
2003-11-10 00:35:11 +01:00
|
|
|
uses _EXCEPTION_VECTORS
|
2003-07-18 00:11:58 +02:00
|
|
|
uses _ROMBASE
|
2003-11-15 16:04:58 +01:00
|
|
|
uses _ROMSTART
|
2003-07-24 23:11:23 +02:00
|
|
|
uses _RAMBASE
|
2003-11-15 16:04:58 +01:00
|
|
|
uses _RAMSTART
|
|
|
|
uses STACK_SIZE
|
|
|
|
uses HEAP_SIZE
|
2003-06-23 03:02:54 +02:00
|
|
|
|
|
|
|
## use a cross compiler
|
2003-11-15 16:04:58 +01:00
|
|
|
#option CROSS_COMPILE="powerpc-eabi-"
|
2003-07-28 23:23:02 +02:00
|
|
|
#option CROSS_COMPILE="ppc_74xx-"
|
2003-06-23 03:02:54 +02:00
|
|
|
|
2003-11-10 00:35:11 +01:00
|
|
|
## Use stage 1 initialization code
|
|
|
|
option CONFIG_USE_INIT=1
|
2003-07-21 16:00:53 +02:00
|
|
|
|
2004-01-29 02:53:36 +01:00
|
|
|
## Use static configuration
|
|
|
|
option CONFIG_CHIP_CONFIGURE=1
|
|
|
|
|
2003-06-23 03:02:54 +02:00
|
|
|
## We don't use compressed image
|
|
|
|
option CONFIG_COMPRESS=0
|
|
|
|
|
|
|
|
## Turn off POST codes
|
|
|
|
option NO_POST=1
|
|
|
|
|
2003-07-23 23:31:02 +02:00
|
|
|
## Enable serial console
|
|
|
|
option DEFAULT_CONSOLE_LOGLEVEL=8
|
|
|
|
option CONFIG_CONSOLE_SERIAL8250=1
|
2004-01-22 02:02:56 +01:00
|
|
|
option TTYS0_BASE=0x3f8
|
2003-07-23 23:31:02 +02:00
|
|
|
|
2004-03-17 23:37:43 +01:00
|
|
|
## Load payload using filo
|
|
|
|
option CONFIG_IDE=1
|
|
|
|
option CONFIG_FS_STREAM=1
|
|
|
|
option CONFIG_FS_EXT2=1
|
|
|
|
option CONFIG_FS_ISO9660=1
|
|
|
|
option CONFIG_FS_FAT=1
|
|
|
|
option AUTOBOOT_CMDLINE="hdc1:/vmlinuz"
|
|
|
|
|
|
|
|
# LinuxBIOS must fit into 128KB
|
|
|
|
option ROM_IMAGE_SIZE=131072
|
|
|
|
option ROM_SIZE={ROM_IMAGE_SIZE+PAYLOAD_SIZE}
|
|
|
|
option PAYLOAD_SIZE=262144
|
2003-06-23 03:02:54 +02:00
|
|
|
|
2003-11-15 16:04:58 +01:00
|
|
|
# Set stack and heap sizes (stage 2)
|
2003-06-23 03:02:54 +02:00
|
|
|
option STACK_SIZE=0x10000
|
|
|
|
option HEAP_SIZE=0x10000
|
|
|
|
|
|
|
|
# Sandpoint Demo Board
|
2003-07-18 00:11:58 +02:00
|
|
|
romimage "normal"
|
2003-11-15 16:04:58 +01:00
|
|
|
## Base of ROM
|
|
|
|
option _ROMBASE=0xfff00000
|
|
|
|
|
2003-07-28 23:23:02 +02:00
|
|
|
## Sandpoint reset vector
|
2003-11-15 16:04:58 +01:00
|
|
|
option _RESET=_ROMBASE+0x100
|
2003-07-28 23:23:02 +02:00
|
|
|
|
2003-11-15 16:04:58 +01:00
|
|
|
## Exception vectors (other than reset vector)
|
2003-11-10 00:35:11 +01:00
|
|
|
option _EXCEPTION_VECTORS=_RESET+0x100
|
|
|
|
|
2003-07-28 23:23:02 +02:00
|
|
|
## Start of linuxBIOS in the boot rom
|
|
|
|
## = _RESET + exeception vector table size
|
2003-11-15 16:04:58 +01:00
|
|
|
option _ROMSTART=_RESET+0x3100
|
2003-07-28 23:23:02 +02:00
|
|
|
|
|
|
|
## LinuxBIOS C code runs at this location in RAM
|
|
|
|
option _RAMBASE=0x00100000
|
2003-11-15 16:04:58 +01:00
|
|
|
option _RAMSTART=0x00100000
|
2003-07-28 23:23:02 +02:00
|
|
|
|
2003-07-18 00:11:58 +02:00
|
|
|
option CONFIG_SANDPOINT_ALTIMUS=1
|
2003-06-23 03:02:54 +02:00
|
|
|
|
2003-07-18 00:11:58 +02:00
|
|
|
mainboard motorola/sandpoint
|
2003-06-23 03:02:54 +02:00
|
|
|
end
|
2003-07-18 00:11:58 +02:00
|
|
|
|
2003-09-17 13:05:29 +02:00
|
|
|
buildrom ./linuxbios.rom ROM_SIZE "normal"
|