- Added example config and startup-script for a XScale IXP42x system
authorbodylove <bodylove@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Mon, 21 Jan 2008 20:51:01 +0000 (20:51 +0000)
committerbodylove <bodylove@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Mon, 21 Jan 2008 20:51:01 +0000 (20:51 +0000)
git-svn-id: svn://svn.berlios.de/openocd/trunk@272 b42882b7-edfa-0310-969c-e2dbd0fdcd60

doc/configs/xscale_ixp42x.cfg [new file with mode: 0644]
doc/scripts/xscale_ixp_startup.script [new file with mode: 0644]

diff --git a/doc/configs/xscale_ixp42x.cfg b/doc/configs/xscale_ixp42x.cfg
new file mode 100644 (file)
index 0000000..26cccd5
--- /dev/null
@@ -0,0 +1,40 @@
+#--- Daemon configuration ------------------------
+telnet_port 4444
+gdb_port 3333
+daemon_startup reset
+
+#--- JTAG interface configuration ----------------
+interface ft2232
+ft2232_device_desc "Amontec JTAGkey A"
+ft2232_layout jtagkey
+ft2232_vid_pid 0x0403 0xcff8
+jtag_speed 0
+jtag_nsrst_delay 200
+jtag_ntrst_delay 200
+
+#-- Reset options available
+reset_config trst_and_srst
+
+#-- jtag scan chain
+#format L IRC IRCM IDCODE (Length, IR Capture, IR Capture Mask, IDCODE)
+jtag_device 7 0x1 0x7f 0x7e
+
+
+#--- Target Configuration ------------------------
+
+#target <type> <endianess> <startup mode> <jtagpos> <variant>
+#target xscale big reset_init 0 IXP42x
+target xscale big reset_halt 0 IXP42x
+
+target_script 0 reset uc7420-rb.ocd
+
+run_and_halt_time 0 2500
+working_area 0 0x00100000 0x00010000 nobackup
+
+flash bank cfi 0x50000000 0x01000000 2 2 0
+flash bank cfi 0x51000000 0x01000000 2 2 0
+
+
+# For more information about the configuration files, take a look at:
+# http://openfacts.berlios.de/index-en.phtml?title=Open+On-Chip+Debugger
+
diff --git a/doc/scripts/xscale_ixp_startup.script b/doc/scripts/xscale_ixp_startup.script
new file mode 100644 (file)
index 0000000..268055a
--- /dev/null
@@ -0,0 +1,36 @@
+#---------------------------------------------------------------------
+#-- OpenOCD Reset Init Script for IXP42x box with RedBoot
+#---------------------------------------------------------------------
+
+#debug 3
+
+#- Let U-Boot setup the box ------------------------------------------
+poll
+resume 0x40
+sleep 2000
+halt
+wait_halt 20
+
+#- Reverse RedBoot crap ----------------------------------------------
+xscale icache disable
+xscale dcache disable
+xscale mmu disable
+
+#- Check for flash ---------------------------------------------------
+flash banks
+flash probe 0
+flash probe 1
+#flash protect_check 0
+#flash protect_check 1
+#flash erase_check 0
+#flash erase_check 1
+#flash info 0
+#flash info 1
+
+#- Bootloader --------------------------------------------------------
+#flash erase 0 0 2
+#flash write 0 //devboc/homes/src/denx/u-boot-git/u-boot.bin 0x00000 bin
+
+#- Kernel Image ------------------------------------------------------
+#flash erase 0 3 23
+#flash write 0 //devbox/homes/src/pengutronics/ptxdist-project/images/linuximage 0x60000 bin

Linking to existing account procedure

If you already have an account and want to add another login method you MUST first sign in with your existing account and then change URL to read https://review.openocd.org/login/?link to get to this page again but this time it'll work for linking. Thank you.

SSH host keys fingerprints

1024 SHA256:YKx8b7u5ZWdcbp7/4AeXNaqElP49m6QrwfXaqQGJAOk gerrit-code-review@openocd.zylin.com (DSA)
384 SHA256:jHIbSQa4REvwCFG4cq5LBlBLxmxSqelQPem/EXIrxjk gerrit-code-review@openocd.org (ECDSA)
521 SHA256:UAOPYkU9Fjtcao0Ul/Rrlnj/OsQvt+pgdYSZ4jOYdgs gerrit-code-review@openocd.org (ECDSA)
256 SHA256:A13M5QlnozFOvTllybRZH6vm7iSt0XLxbA48yfc2yfY gerrit-code-review@openocd.org (ECDSA)
256 SHA256:spYMBqEYoAOtK7yZBrcwE8ZpYt6b68Cfh9yEVetvbXg gerrit-code-review@openocd.org (ED25519)
+--[ED25519 256]--+
|=..              |
|+o..   .         |
|*.o   . .        |
|+B . . .         |
|Bo. = o S        |
|Oo.+ + =         |
|oB=.* = . o      |
| =+=.+   + E     |
|. .=o   . o      |
+----[SHA256]-----+
2048 SHA256:0Onrb7/PHjpo6iVZ7xQX2riKN83FJ3KGU0TvI0TaFG4 gerrit-code-review@openocd.zylin.com (RSA)