- Added example config and startup-script for a XScale IXP42x system
[fw/openocd] / doc / scripts / xscale_ixp_startup.script
1 #---------------------------------------------------------------------
2 #-- OpenOCD Reset Init Script for IXP42x box with RedBoot
3 #---------------------------------------------------------------------
4
5 #debug 3
6
7 #- Let U-Boot setup the box ------------------------------------------
8 poll
9 resume 0x40
10 sleep 2000
11 halt
12 wait_halt 20
13
14 #- Reverse RedBoot crap ----------------------------------------------
15 xscale icache disable
16 xscale dcache disable
17 xscale mmu disable
18
19 #- Check for flash ---------------------------------------------------
20 flash banks
21 flash probe 0
22 flash probe 1
23 #flash protect_check 0
24 #flash protect_check 1
25 #flash erase_check 0
26 #flash erase_check 1
27 #flash info 0
28 #flash info 1
29
30 #- Bootloader --------------------------------------------------------
31 #flash erase 0 0 2
32 #flash write 0 //devboc/homes/src/denx/u-boot-git/u-boot.bin 0x00000 bin
33
34 #- Kernel Image ------------------------------------------------------
35 #flash erase 0 3 23
36 #flash write 0 //devbox/homes/src/pengutronics/ptxdist-project/images/linuximage 0x60000 bin