2008-04-09 07:31:24 +00:00
|
|
|
#Written by: Michael Schwingen <rincewind@discworld.dascon.de>
|
|
|
|
|
|
|
|
reset_config trst_and_srst separate
|
|
|
|
|
|
|
|
jtag_nsrst_delay 100
|
|
|
|
jtag_ntrst_delay 100
|
|
|
|
|
|
|
|
#jtag scan chain
|
|
|
|
#format L IRC IRCM IDCODE (Length, IR Capture, IR capture Mask, IDCODE)
|
|
|
|
jtag_device 7 0x1 0x7f 0x7e
|
|
|
|
|
2008-10-30 08:04:11 +00:00
|
|
|
target create target0 xscale -endian big -chain-position 0 -variant ixp42x
|
2008-10-14 07:30:45 +00:00
|
|
|
[new_target_name] configure -event reset-init { script event/xba_revA3.script }
|
2008-10-30 08:04:11 +00:00
|
|
|
[new_target_name] configure -work-area-virt 0 -work-area-phys 0x20010000 -work-area-size 0x8060 -work-area-backup 0
|
2008-04-09 07:31:24 +00:00
|
|
|
|
|
|
|
|
|
|
|
flash bank cfi 0x50000000 0x400000 2 2 0
|
|
|
|
|
2008-07-24 10:17:42 +00:00
|
|
|
init
|
|
|
|
reset init
|
2008-04-09 07:31:24 +00:00
|
|
|
# set big endian mode
|
|
|
|
reg XSCALE_CTRL 0xF8
|