]> git.sur5r.net Git - openocd/blob - tcl/board/8devices-lima.cfg
tcl/board: add config for 8devices LIMA board
[openocd] / tcl / board / 8devices-lima.cfg
1 # Product page:
2 # https://www.8devices.com/products/lima
3 #
4 # Location of JTAG pins:
5 # J2 GPIO0      JTAG TCK
6 # J2 GPIO1      JTAG TDI
7 # J2 GPIO2      JTAG TDO
8 # J2 GPIO3      JTAG TMS
9 # J2 RST        directly connected to RESET_L of the SoC and can be used as
10 #               JTAG SRST. Note: this pin will also reset the debug engine.
11 # J1 +3,3V      Can be use as JTAG Vref
12 # J1 or J2 GND  Can be used for JTAG GND
13 #
14 # This board is powered from mini USB connecter which is also used
15 # as USB to UART converted based on FTDI FT230XQ chip
16
17 source [find target/qualcomm_qca4531.cfg]
18
19 proc board_init { } {
20         qca4531_ddr2_550_550_init
21 }
22
23 $_TARGETNAME configure -event reset-init {
24         board_init
25 }
26
27 set ram_boot_address 0xa0000000
28 $_TARGETNAME configure -work-area-phys 0xa1FFE000 -work-area-size 0x1000
29
30 flash bank flash0 ath79 0 0 0 0 $_TARGETNAME cs0