;-------------------------------------------------------------------------- ; ; ; PEEDI sample target configuration file ; ; Ronetix ; ; Supported devices : Marvell MV78100, MV78200 ; Board : Marvell DB-78100-BP Rev 2.0, MV78100 ; Board : Cogent CSB1725, MV78200 ; ; Revision : 1.2 ; ; Date : May 17, 2010 ; ; The file is delivered "AS IS" without warranty or condition of any ; kind, either express, implied or statutory. This includes without ; limitation any warranty or condition with respect to merchantability or ; fitness for any particular purpose, or against the infringements of ; intellectual property rights of others. ; ;-------------------------------------------------------------------------- ;-------------------------------------------------------------------------- ; The following section contains licenses that are required for PEEDI to ; operate. These licenses must be filled before using this file. ; The [LICENSE] section may contain license keys for one or more PEEDIs. ; ; Example: ; [LICENSE] ; KEY = UPDATE_24MAY2010, 1111-1111-1111-1 ; KEY = XXXXX, 2222-2222-2222-2 ; ; The [LICENSE] section may point to an external file which contains ; license keys for one or more PEEDIs. The external file must include ; the text [LICENSE] followed by all keys. ; ; Example: ; [LICENSE] ; FILE = tftp://192.168.3.1/license.txt ; or ; FILE=eep:license.txt ; or ; FILE = ftp://user:password@192.168.3.1/license.txt ; ; ; PEEDI is shipped with license keys stored in "eep:license.txt" and ; printed on a label on the bottom side of PEEDI. ; [LICENSE] FILE=eep:license.txt ;-------------------------------------------------------------------------- [DEBUGGER] PROTOCOL = gdb_remote ; gdb remote REMOTE_PORT = 2000 ; TCP/IP port [TARGET] PLATFORM = ARM ; platform is ARM [PLATFORM_ARM] JTAG_CHAIN = 4 ; list of IR lenght of all TAP controller in JTAG chain JTAG_CLOCK = 1000, 10000 ; JTAG Clock in [kHz] - 10kHz jtag clock for init operations and 16MHz for normal work TRST_TYPE = OPENDRAIN ; type of TRST output: OPENDRAIN or PUSHPULL WAKEUP_TIME = 200 ; delay from power-up to reset pulse RESET_TIME = 50 ; lenght of RESET pulse in ms; 0 means no RESET TIME_AFTER_RESET = 300 CORE0 = FEROCEON, 0 ; TAP is a Marvell Feroceon CPU CORE0_STARTUP_MODE = reset CORE0_BREAKMODE = soft ; breakpoint mode CORE0_BREAK_PATTERN = 0xDFFFDFFF ; software breakpoint pattern CORE0_INIT = INIT_FERO ; init section for DB-78100-BP board CORE0_FLASH0 = FLASH_CFI ; flash section parameters CORE0_FLASH1 = SPI_FLASH ; flash section parameters CORE0_ENDIAN = LITTLE ; core is little endian CORE0_WORKSPACE = 0x1000000, 0x10000 ; workspace for flash programmer ; Default path to be used if only a file name (without the full path) is ; provided to a PEEDI command or for the FILE parameter in the Flash sections ; Examples: ; In a console: ; "flash prog tftp://192.168.3.1/image.elf" ; is equal to ; "flash prog image.elf" ; ; In a Flash Profile: ; FILE="tftp://192.168.3.1/image.bin", BIN, 0 ; is equal to ; FILE="image.bin", BIN, 0 ; CORE0_PATH = "tftp://192.168.3.1" ;CORE0_PATH = "card://" CORE0_FILE = "test.bin", BIN, 0x20000000 [INIT_FERO] mem wr 0xD0001400 0x43008A25 ; DDR SDRAM Configuration Register mem wr 0xD0001404 0x38543040 ; Dunit Control Low Register mem wr 0xD0001408 0x2202444E ; DDR SDRAM Timing (Low) Register mem wr 0xD000140C 0x00000822 ; DDR SDRAM Timing (High) Register mem wr 0xD0001410 0x00000088 ; DDR SDRAM Address Control Register mem wr 0xD0001414 0x00000000 ; DDR SDRAM Open Pages Control Register mem wr 0xD0001418 0x00000000 ; DDR SDRAM Operation Register mem wr 0xD000141C 0x00000C52 ; DDR SDRAM Mode Register mem wr 0xD0001420 0x00000040 ; DDR SDRAM Extended Mode Register mem wr 0xD0001424 0x0000F07F ; Dunit Control High Register mem wr 0xD0001428 0x00085520 ; Dunit Control High Register mem wr 0xD000142C 0x00000003 ; mem wr 0xD0001430 0x76543210 ; mem wr 0xD0001434 0xFEDCBA98 ; mem wr 0xD0001438 0x000100FF ; mem wr 0xD000147c 0x00008552 ; Dunit Control High Register mem wr 0xD0001500 0x00000000 ; mem wr 0xD0001504 0x1FFFFFF1 ; CS[0]n Size Register mem wr 0xD0001508 0x10000000 ; CS[1]n Base Register mem wr 0xD000150C 0x00FFFFF4 ; CS[1]n Size Register mem wr 0xD0001510 0x20000000 ; mem wr 0xD0001514 0x00FFFFF0 ; CS[2]n Size Register mem wr 0xD0001518 0x30000000 ; mem wr 0xD000151C 0x00FFFFF0 ; CS[3]n Size Register mem wr 0xD0001494 0x84210000 ; DDR2 SDRAM ODT Control (Low) Register mem wr 0xD0001498 0x00000000 ; DDR2 SDRAM ODT Control (High) Register mem wr 0xD000149C 0x0000EB0F ; DDR2 Dunit ODT Control Register mem wr 0xD0001480 0x00000001 ; DDR SDRAM Initialization Control Register mem wr 0xD0020204 0x00000000 ; Main IRQ Interrupt Mask Register mem wr 0xD0020204 0x00000000 ; " mem wr 0xD0020204 0x00000000 ; " mem wr 0xD0020204 0x00000000 ; " mem wr 0xD0020204 0x00000000 ; " mem wr 0xD0020204 0x00000000 ; " mem wr 0xD0020204 0x00000000 ; " mem wr 0xD0020204 0x00000000 ; " mem wr 0xD0020204 0x00000000 ; " mem wr 0xD0020204 0x00000000 ; " mem wr 0xD0020204 0x00000000 ; " mem wr 0xD0020204 0x00000000 ; " mem wr 0xD0020204 0x00000000 ; " mem wr 0xD0020204 0x00000000 ; " mem wr 0xD0020204 0x00000000 ; " mem wr 0xD0020204 0x00000000 ; " mem wr 0xD0020204 0x00000000 ; " mem wr 0xD0020204 0x00000000 ; " mem wr 0xD0020204 0x00000000 ; " mem wr 0xD0020204 0x00000000 ; " mem wr 0xD0020204 0x00000000 ; " mem wr 0xD0020204 0x00000000 ; " mem wr 0xD0020204 0x00000000 ; " mem wr 0xD0020204 0x00000000 ; " mem wr 0xD0020204 0x00000000 ; " mem wr 0xD0020204 0x00000000 ; " mem wr 0xD0020204 0x00000000 ; " mem wr 0xD0020204 0x00000000 ; " mem wr 0xD0020204 0x00000000 ; " mem wr 0xD0020204 0x00000000 ; " mem wr 0xD0020204 0x00000000 ; " mem wr 0xD0020204 0x00000000 ; " mem wr 0xD0020204 0x00000000 ; " mem wr 0xD0020204 0x00000000 ; " mem wr 0xD0020204 0x00000000 ; " mem wr 0xD0020204 0x00000000 ; " mem wr 0xD0020204 0x00000000 ; " mem write 0xD0010604 0x19 ; SPI Configuration Register ; tested on DB-78100-BP, MV78100 [FLASH_CFI] CHIP = CFI_FLASH ; CFI NOR Flash BASE_ADDR = 0xFFFF0000 ; chip is mapped at 0xFFFF0000 ACCESS_METHOD = AGENT ; proram method auto CHECK_ID = YES ; check chip ID CHIP_WIDTH = 16 ; chip is in 16 bit configuration CHIP_COUNT = 2 ; two chips forming 32 bit FLASH FILE = "tftp:example1_rom.bin", bin 0; file to program AUTO_ERASE = NO ; tested on Cogent CSB1725, MV78200 [SPI_FLASH] CHIP = SPI25_FLASH CPU = FEROCEON FILE = "test256k.bin", bin, 0 [SERIAL] ; serial port configuration BAUD = 115200 STOP_BITS = 1 PARITY = NONE TCP_PORT = 0 [TELNET] PROMPT = "fero> " ; telnet prompt ;BACKSPACE = 127 ; comment out for autodetect [DISPLAY] BRIGHTNESS = 20 ; LED indicator brightness VOLUME = 25 ; zummer volume [ACTIONS] ; user defined scripts 1 = erase 2 = prog 3 = dump_ram 4 = dump_flash [erase] ; erase flash flash erase [prog] ; program flash flash prog [dump_ram] ; dump part ot RAM memory dump 0x00000000 0x01000 tftp:ram.bin [dump_flash] ; dump part of FLASH memory dump 0xFFFF0000 0x8000 tftp:flash.bin