diff options
author | bodylove <bodylove@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-01-21 20:51:01 +0000 |
---|---|---|
committer | bodylove <bodylove@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-01-21 20:51:01 +0000 |
commit | 7d9e292751f4d71ced3253e04a3737efe2c8207d (patch) | |
tree | 1df4f9400d3049522da0d3de57097f25a6813664 /doc/scripts | |
parent | d7aec2f1e34017ac376ab18ba908ecefd81bfae2 (diff) | |
download | openocd+libswd-7d9e292751f4d71ced3253e04a3737efe2c8207d.tar.gz openocd+libswd-7d9e292751f4d71ced3253e04a3737efe2c8207d.tar.bz2 openocd+libswd-7d9e292751f4d71ced3253e04a3737efe2c8207d.tar.xz openocd+libswd-7d9e292751f4d71ced3253e04a3737efe2c8207d.zip |
- Added example config and startup-script for a XScale IXP42x system
git-svn-id: svn://svn.berlios.de/openocd/trunk@272 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'doc/scripts')
-rw-r--r-- | doc/scripts/xscale_ixp_startup.script | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/doc/scripts/xscale_ixp_startup.script b/doc/scripts/xscale_ixp_startup.script new file mode 100644 index 00000000..268055a9 --- /dev/null +++ b/doc/scripts/xscale_ixp_startup.script @@ -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 |