;-------------------------------------------------------------------------- ; ; ; PEEDI sample target configuration file ; ; Ronetix GmbH ; ; Supported devices : OMAP3530 ; Supported board : Beagleboard ; ; Revision : 1.2 ; ; Date : February 7, 2011 ; ; 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 GDB_READ_INGNORE_TIME = 3000 [TARGET] PLATFORM = CortexA8 ; platform is CortexA8 [PLATFORM_CortexA8] JTAG_CHAIN = 6, 4 ; list of TAP controllers in the JTAG chain JTAG_CLOCK = 1000, 10000 ; JTAG Clock in [kHz] ;JTAG_TDO_DELAY = AUTO TRST_TYPE = PUSHPULL ; type of TRST output: OPENDRAIN or PUSHPULL RESET_TIME = 20 ; length of RESET pulse in ms; 0 means no RESET CORE0 = OMAP3530, 1 ; TAP is OMAP3530 CPU CORE0_STARTUP_MODE = RESET ; stop the core immediately after reset CORE0_ENDIAN = LITTLE ; core is little endian CORE0_BREAKMODE = SOFT ; breakpoint mode ;CORE0_INIT = INIT_NAND ; init section for NAND programming without U-BOOT CORE0_INIT = INIT_LINUX ; init section with working U-BOOT CORE0_FLASH0 = NAND_XLOAD ; FLASH section parameters CORE0_FLASH1 = NAND_UBOOT ; FLASH section parameters CORE0_WORKSPACE = 0x40200000, 0x10000 ; address, lenght in bytes ;CORE_VECTOR_CATCH_MASK = 0xFE00FCFF ; catch all vectors CORE0_OS = OS_ARM_LINUX_v26 ; 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_NAND] ; following is dumped from the CPU ROM bootloader memory write 0x48004c00+16 0x20 ; WKUP_CM: CM_ICLKEN_WKUP memory write 0x48004c00 0x20 ; CM_FCLKEN_WKUP memory write 0x48314000+16 2 ; WDTIMER2: WD_SYSCONFIG memory write 0x4800291c 0 ; SDRC module semaphore memory write 0x48004c10 0x24 ; WKUP_CM: CM_ICLKEN_WKUP memory write 0x48004000+3328 0x110015 ; CM_CLKEN_PLL memory write 0x48004000+3328 0x110015 ; CM_CLKEN_PLL memory write 0x48004000+2308 0x15 ; CM_CLKEN_PLL_MPU memory write 0x48307000+624 0x40 ; Power and reset manager Module region A memory write 0x48306000+3392 3 memory write 0x48005000+320 0x2030a50 ; PER_CM memory write 0x48004000+2624 0x40a ; CORE_CM memory write 0x48004000+3136 0x4 ; WKUP_CM memory write 0x48004d00 0x310030 ; Clock_Control_Reg_CM memory write 0x48004d00+48 0 memory write 0x48004d00+68 0x6019 memory write 0x48004d00+72 2 memory write 0x48004000+3328 0x370030 memory write 0x48004904 0x35 ; MPU_CM memory write 0x48004904+48 0 memory write 0x48004904+60 0x100000 memory write 0x48004904+64 1 memory write 0x48004904+68 0 memory write 0x48004000+3328 0x300035 ; Clock_Control_Reg_CM memory write 0x48004000+3376 0 memory write 0x48004000+3392 0x8c01900 memory write 0x48004000+3328 0x300037 ; disable WDT2 memory write 0x48314048 0xAAAA memory write 0x48314048 0x5555 ; init GPMC memory write 0x6E000010 0x00000010 memory write 0x6E00001C 0x00000000 memory write 0x6E000040 0x00000000 memory write 0x6E000050 0x00000011 ; init NAND memory write 0x6E000060 0x00001800 memory write 0x6E000064 0x00141400 memory write 0x6E000068 0x00141400 memory write 0x6E00006C 0x0F010F01 memory write 0x6E000070 0x010C1414 memory write 0x6E000074 0x1F0F0A80 memory write 0x6E000078 0x00000870 [INIT_LINUX] break add hard 0xC00087A0 ; kernel break address got by 'nm vmlinux | grep start_kernel' go wait 10000 stop break del all beep 100 100 [OS_ARM_LINUX_v26] BASE = 4, 0xC02FF068 NEXT = 4, -0xB4 PID = 4, 0xE0 NAME = 16, 0x1FC CONTEXT = 10*4, 0x4, 0x1C CONTEXT_REG = r4, 0x00 CONTEXT_REG = r5, 0x04 CONTEXT_REG = r6, 0x08 CONTEXT_REG = r7, 0x0C CONTEXT_REG = r8, 0x10 CONTEXT_REG = r9, 0x14 CONTEXT_REG = r10,0x18 CONTEXT_REG = r11,0x1C CONTEXT_REG = sp, 0x20 CONTEXT_REG = pc, 0x24 [NAND_XLOAD] CHIP = NAND_FLASH CMD_BASE = 0x6E00007C ADDR_BASE = 0x6E000080 DATA_BASE = 0x6E000084 ERASE_BAD_BLOCKS = NO OOB_INFO = OMAP3_ECC BURST_MODE = NO FILE = tftp://192.168.3.1/x-load.bin.ift bin 0 [NAND_UBOOT] CHIP = NAND_FLASH CMD_BASE = 0x6E00007C ADDR_BASE = 0x6E000080 DATA_BASE = 0x6E000084 ERASE_BAD_BLOCKS = NO OOB_INFO = JFFS2 BURST_MODE = NO FILE = tftp://192.168.3.1/flash-uboot.bin 0x80000 [SERIAL] ; serial port configuration BAUD = 115200 STOP_BITS = 1 PARITY = NONE TCP_PORT = 0 [TELNET] PROMPT = "omap3> " ; telnet prompt ;BACKSPACE = 127 ; comment out for autodetect [DISPLAY] BRIGHTNESS = 20 ; LED indicator brightness VOLUME = 25 ; beeper volume [ACTIONS] ; user defined scripts ;AUTORUN = 2 ; executed on every target connect 1 = erase 2 = prog [erase] ; erase flash flash erase [prog] ; program flash flash prog