2 # This is ARM1136 dual core
3 # this script only configures one core (that is used to run Linux)
5 # assume no PLL lock, start slowly
8 if { [info exists CHIPNAME] } {
9 set _CHIPNAME $CHIPNAME
14 if { [info exists ENDIAN] } {
20 if { [info exists CPUTAPID ] } {
21 set _CPUTAPID $CPUTAPID
23 set _CPUTAPID 0x27b3645b
26 if { [info exists DSPTAPID ] } {
27 set _DSPTAPID $DSPTAPID
29 set _DSPTAPID 0x27b3645b
32 jtag newtap $_CHIPNAME dsp -irlen 5 -ircapture 0x1 -irmask 0x1f -expected-id $_DSPTAPID
35 # Per ARM: DDI0211J_arm1136_r1p5_trm.pdf - the ARM 1136 as a 5 bit IR register
36 jtag newtap $_CHIPNAME cpu -irlen 5 -ircapture 0x1 -irmask 0x1f -expected-id $_CPUTAPID
38 set _TARGETNAME [format "%s.cpu" $_CHIPNAME]
39 target create $_TARGETNAME arm11 -endian $_ENDIAN -chain-position $_TARGETNAME
41 # C100's ARAM 64k SRAM
42 $_TARGETNAME configure -work-area-phys 0x0a000000 -work-area-size 0x10000 -work-area-backup 0