;-------------------------------------------------------------------------- ; ; ; PEEDI sample target configuration file ; ; Ronetix ; ; Supported devices : Cavium OCTEON Plus CN5020 ; Board : Ubiquiti EdgeRouter Lite ; ; Revision : 1.0 ; ; Date : March 18, 2016 ; ; 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 = MIPS ; platform is MIPS [PLATFORM_MIPS] JTAG_CHAIN = 5, 5 ; list of IR lenght of all TAP controller in JTAG chain JTAG_CLOCK = 10000 ; JTAG Clock in [kHz] - 10kHz jtag clock for init operations and 25MHz for normal work TRST_TYPE = PUSHPULL ; type of TRST output: OPENDRAIN or PUSHPULL RESET_TIME = 100 CORE0 = MIPS64, 1, 0xB00399 ; TAP is MIPS64 CPU CORE0_STARTUP_MODE = reset CORE0_BREAKMODE = soft ; breakpoint mode: ; soft - software breakpiont ; hard - use hardware breakpoints instead of software CORE0_INIT = INIT_LINUX ; init section for the board CORE0_FLASH0 = U-BOOT CORE0_ENDIAN = BIG CORE0_WORKSPACE = 0xFFFFFFFFC0000000, 0x4000 ; start address and length in bytes for agent code ; 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.60" ;CORE0_PATH = "card://" CORE0_FILE = "test.bin", BIN, 0xFFFFFFFFC0000000 ; default file CORE1 = MIPS64, 0, 0xB00399 ; TAP is MIPS64 CPU CORE1_STARTUP_MODE = reset CORE1_BREAKMODE = soft ; breakpoint mode: CORE1_FLASH0 = U-BOOT CORE1_ENDIAN = BIG ; core is big endian CORE1_WORKSPACE = 0xFFFFFFFFC0000000, 0x4000 ; start address and length in bytes for agent code CORE1_PATH = "tftp://192.168.3.60" CORE1_FILE = "test.bin", BIN, 0xFFFFFFFFC0000000 ; default file [INIT_LINUX] break add hard 0xFFFFFFFF816266D8 go wait 10000 stop break del all beep 100 100 ; Ubiquiti EdgeRouter Lite doesn't have NOR Flash, only a USB Stick [U-BOOT] CHIP = CFI_FLASH ; flash chip BASE_ADDR = 0xFFFFFFFFBFC00000 ; chip is mapped at 0xFFFFFFFFBFC00000 ACCESS_METHOD = AGENT ; program method ;CHECK_ID = YES ; check chip ID ;CHIP_WIDTH = 16 ; chip is in 16 bit configuration ;CHIP_COUNT = 1 ; one chip is used ;AUTO_ERASE = YES ; erase before program ;AUTO_LOCK = NO ; lock after program FILE = "test512k.bin" BIN 0x30000000 [SERIAL] ; serial port configuration BAUD = 115200 STOP_BITS = 1 PARITY = NONE TCP_PORT = 0 ; TCP_PORT = 2023 [TELNET] PROMPT = "cn5020> " ; telnet prompt ;BACKSPACE = 127 ; comment out for autodetect [DISPLAY] BRIGHTNESS = 20 ; LED indicator brightness VOLUME = 25 ; zummer volume [ACTIONS] ; user defined scripts ;AUTORUN = 2 ; executed on every target connect 1 = erase 2 = prog 3 = dump_ram 4 = dump_flash [erase] ; erase flash flash erase [prog] ; program flash flash prog [dump_ram] ; dump part of RAM memory dump 0x00000000 0x01000 tftp://192.168.1.1/ram.bin [dump_flash] ; dump part of FLASH memory dump 0x20000000 0x10000 tftp://192.168.1.1/flash.bin