1 #TI OMAP5912 dual core processor - http://www.ti.com
2 #on a OMAP5912 OSK board http://www.spectrumdigital.com.
4 #use combined on interfaces or targets that can't set TRST/SRST separately
5 reset_config trst_and_srst
8 #format L IRC IRCM IDCODE (Length, IR Capture, IR Capture Mask, IDCODE)
9 jtag_device 38 0x0 0x0 0x0
10 jtag_device 4 0x1 0x0 0xe
11 jtag_device 8 0x0 0x0 0x0
13 target create target0 arm926ejs -endian little -chain-position 1 -variant arm926ejs
14 [new_target_name] configure -event reset-init {
25 mww 0xfffec808 0x000000f5
26 mww 0xfffec808 0x000000a0
28 mww 0xfffeb048 0x0000aaaa
30 mww 0xfffeb048 0x00005555
38 # omap5912 lcd frame buffer as working area
39 [new_target_name] configure -work-area-virt 0 -work-area-phys 0x20000000 -work-area-size 0x3e800 -work-area-backup 0
41 #flash bank <driver> <base> <size> <chip_width> <bus_width>
42 flash bank cfi 0x00000000 0x1000000 2 2 0