Root/qiboot/gta02-qi.ocd

1# gta02 Qi script
2# Andy Green <andy@openmoko.com>
3
4reset halt
5wait_halt
6sleep 2000
7
8# bring the steppingstone part of qi image into steppingstone
9#
10load_binary /projects/openmoko/bootloader/image/qi 0x0
11#
12# mark ourselves as JTAG load
13#
14mww 0x4 0xffffffff
15
16#
17# we have to run that so SDRAM exists in a usable way
18# fixed jumpthrough at 0x8 is executed after steppingstone
19# init (including RAM) has completed
20#
21bp 0x8 4 hw
22resume 0x0
23wait_halt
24rbp 0x8
25
26#
27# now prep the SDRAM
28#
29load_binary /projects/openmoko/bootloader/image/qi 0x33000000
30#
31# and continue...
32resume 0x8
33#
34
35

Archive Download this file



interactive