Root/
| 1 | # gta02 Qi script |
| 2 | # Andy Green <andy@openmoko.com> |
| 3 | |
| 4 | reset halt |
| 5 | wait_halt |
| 6 | sleep 2000 |
| 7 | |
| 8 | # bring the steppingstone part of qi image into steppingstone |
| 9 | # |
| 10 | load_binary /projects/openmoko/bootloader/image/qi 0x0 |
| 11 | # |
| 12 | # mark ourselves as JTAG load |
| 13 | # |
| 14 | mww 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 | # |
| 21 | bp 0x8 4 hw |
| 22 | resume 0x0 |
| 23 | wait_halt |
| 24 | rbp 0x8 |
| 25 | |
| 26 | # |
| 27 | # now prep the SDRAM |
| 28 | # |
| 29 | load_binary /projects/openmoko/bootloader/image/qi 0x33000000 |
| 30 | # |
| 31 | # and continue... |
| 32 | resume 0x8 |
| 33 | # |
| 34 | |
| 35 |
