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