2003-07-24 00:20:55 +02:00
|
|
|
# Config file for Embedded Planet EP405PC board
|
|
|
|
# This will make a target directory of ./ep405pc
|
|
|
|
|
|
|
|
loadoptions
|
|
|
|
|
|
|
|
target ep405pc
|
|
|
|
|
2003-07-28 23:23:02 +02:00
|
|
|
uses CPU_OPT
|
|
|
|
uses CROSS_COMPILE
|
2003-07-24 00:20:55 +02:00
|
|
|
uses HAVE_OPTION_TABLE
|
|
|
|
uses CONFIG_COMPRESS
|
2003-07-28 23:23:02 +02:00
|
|
|
uses CONFIG_CHIP_CONFIGURE
|
2003-10-05 07:10:52 +02:00
|
|
|
uses DEFAULT_CONSOLE_LOGLEVEL
|
2003-12-17 18:25:32 +01:00
|
|
|
uses CONFIG_USE_INIT
|
2003-10-05 07:10:52 +02:00
|
|
|
uses CONFIG_CONSOLE_SERIAL8250
|
|
|
|
uses TTYS0_BASE UART0_IO_BASE
|
2003-07-24 00:20:55 +02:00
|
|
|
uses NO_POST
|
|
|
|
uses CONFIG_IDE_STREAM
|
2003-07-28 23:23:02 +02:00
|
|
|
uses CONFIG_SYS_CLK_FREQ
|
2003-07-24 00:20:55 +02:00
|
|
|
uses IDE_BOOT_DRIVE
|
|
|
|
uses IDE_SWAB IDE_OFFSET
|
2003-12-17 18:25:32 +01:00
|
|
|
uses ROM_SIZE
|
2003-07-28 23:23:02 +02:00
|
|
|
uses _RESET
|
2003-11-10 00:33:59 +01:00
|
|
|
uses _EXCEPTION_VECTORS
|
2003-07-24 00:20:55 +02:00
|
|
|
uses _ROMBASE
|
2003-12-17 18:25:32 +01:00
|
|
|
uses _ROMSTART
|
2003-07-28 23:23:02 +02:00
|
|
|
uses _RAMBASE
|
2003-12-17 18:25:32 +01:00
|
|
|
uses _RAMSTART
|
2003-11-10 00:33:59 +01:00
|
|
|
uses EMBEDDED_RAM_SIZE
|
2003-07-24 00:20:55 +02:00
|
|
|
uses STACK_SIZE HEAP_SIZE
|
|
|
|
|
2003-07-28 23:23:02 +02:00
|
|
|
## Enable PPC405 instructions
|
|
|
|
option CPU_OPT="-Wa,-m405"
|
|
|
|
|
2003-07-24 00:20:55 +02:00
|
|
|
## use a cross compiler
|
2003-12-17 18:25:32 +01:00
|
|
|
#option CROSS_COMPILE="powerpc-eabi-"
|
|
|
|
|
|
|
|
## Use stage 1 initialization code
|
|
|
|
option CONFIG_USE_INIT=1
|
2003-07-24 00:20:55 +02:00
|
|
|
|
|
|
|
## Use chip configuration
|
2003-12-17 18:25:32 +01:00
|
|
|
option CONFIG_CHIP_CONFIGURE=1
|
2003-07-24 00:20:55 +02:00
|
|
|
|
|
|
|
## We don't use compressed image
|
|
|
|
option CONFIG_COMPRESS=0
|
|
|
|
|
|
|
|
## Turn off POST codes
|
|
|
|
option NO_POST=1
|
|
|
|
|
2003-10-05 07:10:52 +02:00
|
|
|
## Enable serial console
|
|
|
|
option DEFAULT_CONSOLE_LOGLEVEL=8
|
|
|
|
option CONFIG_CONSOLE_SERIAL8250=1
|
|
|
|
option TTYS0_BASE={UART0_IO_BASE}
|
|
|
|
|
2003-07-24 00:20:55 +02:00
|
|
|
## Boot linux from IDE
|
|
|
|
option CONFIG_IDE_STREAM=1
|
|
|
|
option IDE_BOOT_DRIVE=0
|
|
|
|
option IDE_SWAB=1
|
|
|
|
option IDE_OFFSET=0
|
|
|
|
|
|
|
|
option ROM_SIZE=1048576
|
|
|
|
|
2003-11-10 00:33:59 +01:00
|
|
|
## Board has fixed size RAM
|
|
|
|
option EMBEDDED_RAM_SIZE=128*1024*1024
|
|
|
|
|
2003-07-24 00:20:55 +02:00
|
|
|
## LinuxBIOS C code runs at this location in RAM
|
|
|
|
option _RAMBASE=0x00100000
|
|
|
|
|
|
|
|
##
|
|
|
|
## Use a 64K stack
|
|
|
|
##
|
|
|
|
option STACK_SIZE=0x10000
|
|
|
|
|
|
|
|
##
|
|
|
|
## Use a 64K heap
|
|
|
|
##
|
|
|
|
option HEAP_SIZE=0x10000
|
|
|
|
|
|
|
|
##
|
2003-07-28 23:23:02 +02:00
|
|
|
## System clock
|
|
|
|
##
|
|
|
|
option CONFIG_SYS_CLK_FREQ=33
|
2003-07-24 00:20:55 +02:00
|
|
|
|
|
|
|
romimage "normal"
|
2003-12-17 18:25:32 +01:00
|
|
|
##
|
|
|
|
option _ROMBASE=0xfff00000
|
|
|
|
|
2003-07-28 23:23:02 +02:00
|
|
|
## Reset vector address
|
|
|
|
option _RESET=0xfffffffc
|
|
|
|
|
2003-11-10 00:33:59 +01:00
|
|
|
## Exception vectors
|
2003-12-17 18:25:32 +01:00
|
|
|
option _EXCEPTION_VECTORS=_ROMBASE+0x100
|
2003-11-10 00:33:59 +01:00
|
|
|
|
2003-07-28 23:23:02 +02:00
|
|
|
## linuxBIOS ROM start address
|
2003-12-17 18:25:32 +01:00
|
|
|
option _ROMSTART=0xfff03000
|
2003-07-28 23:23:02 +02:00
|
|
|
|
2003-12-17 18:25:32 +01:00
|
|
|
## linuxBIOS C code runs at this location in RAM
|
|
|
|
option _RAMBASE=0x00100000
|
2003-07-24 00:20:55 +02:00
|
|
|
|
|
|
|
mainboard embeddedplanet/ep405pc
|
|
|
|
end
|
|
|
|
|
2003-09-17 13:05:29 +02:00
|
|
|
buildrom ./linuxbios.rom ROM_SIZE "normal"
|