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
|
2004-01-22 01:45:13 +01:00
|
|
|
uses TTYS0_BAUD TTYS0_DIV
|
2003-07-24 00:20:55 +02:00
|
|
|
uses NO_POST
|
2004-04-24 01:10:46 +02:00
|
|
|
uses CONFIG_IDE
|
|
|
|
uses CONFIG_FS_STREAM
|
|
|
|
uses CONFIG_FS_EXT2
|
|
|
|
uses CONFIG_FS_ISO9660
|
|
|
|
uses CONFIG_FS_FAT
|
|
|
|
uses AUTOBOOT_CMDLINE
|
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
|
2004-01-14 18:21:22 +01:00
|
|
|
# Divisor of 69 == 9600 baud due to weird clocking
|
|
|
|
option TTYS0_DIV=69
|
|
|
|
option TTYS0_BAUD=9600
|
2003-10-05 07:10:52 +02:00
|
|
|
|
2003-07-24 00:20:55 +02:00
|
|
|
## Boot linux from IDE
|
2004-04-24 01:10:46 +02:00
|
|
|
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="hda1:/vmlinuz"
|
2003-07-24 00:20:55 +02:00
|
|
|
|
|
|
|
option ROM_SIZE=1048576
|
|
|
|
|
2003-11-10 00:33:59 +01:00
|
|
|
## Board has fixed size RAM
|
2004-01-14 17:47:55 +01:00
|
|
|
option EMBEDDED_RAM_SIZE=64*1024*1024
|
2003-11-10 00:33:59 +01:00
|
|
|
|
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"
|