| 1 | //////// X-LOAD |
|---|
| 2 | // Load x-load in the phone |
|---|
| 3 | a 0x20010000 |
|---|
| 4 | // Check README to generate x-load.bin |
|---|
| 5 | f x-load.bin |
|---|
| 6 | |
|---|
| 7 | // Boot with x-load |
|---|
| 8 | a 0x20010c00 |
|---|
| 9 | b |
|---|
| 10 | |
|---|
| 11 | end |
|---|
| 12 | /////////////////////////////////////////////////////////////////// X-LOAD END |
|---|
| 13 | |
|---|
| 14 | /////////////////////////////////////////////////////////////////// U-BOOT |
|---|
| 15 | // Send an address |
|---|
| 16 | a 0x20010000 |
|---|
| 17 | // Load a file in phone memory at the previous given address |
|---|
| 18 | f x-load.bin |
|---|
| 19 | |
|---|
| 20 | // Call a sub from x-load.bin: TT BoardInit (should only work with TT) |
|---|
| 21 | a 0x20010da4 |
|---|
| 22 | c |
|---|
| 23 | |
|---|
| 24 | // Load another program to a new address, check README to generate u-boot.bin |
|---|
| 25 | a 0x10280000 |
|---|
| 26 | f u-boot.bin |
|---|
| 27 | |
|---|
| 28 | // Send an address and dump the content to check upload has been done |
|---|
| 29 | a 0x10299a50 |
|---|
| 30 | M;M;M;M;M;M;M;M |
|---|
| 31 | |
|---|
| 32 | // Send u-boot start address and boot there |
|---|
| 33 | a 0x10280000 |
|---|
| 34 | b |
|---|
| 35 | |
|---|
| 36 | end |
|---|
| 37 | /////////////////////////////////////////////////////////////////// U-BOOT END |
|---|
| 38 | |
|---|
| 39 | /////////////////////////////////////////////////////////////////// DUMP MEM |
|---|
| 40 | // Send an address |
|---|
| 41 | a 0x20000000 |
|---|
| 42 | |
|---|
| 43 | // Dump 8kB from that address |
|---|
| 44 | M;M;M;M;M;M;M;M;M;M;M;M;M;M;M;M // 512 octets |
|---|
| 45 | M;M;M;M;M;M;M;M;M;M;M;M;M;M;M;M // 1ko |
|---|
| 46 | M;M;M;M;M;M;M;M;M;M;M;M;M;M;M;M // |
|---|
| 47 | M;M;M;M;M;M;M;M;M;M;M;M;M;M;M;M // 2ko |
|---|
| 48 | M;M;M;M;M;M;M;M;M;M;M;M;M;M;M;M // |
|---|
| 49 | M;M;M;M;M;M;M;M;M;M;M;M;M;M;M;M // 3ko |
|---|
| 50 | M;M;M;M;M;M;M;M;M;M;M;M;M;M;M;M // |
|---|
| 51 | M;M;M;M;M;M;M;M;M;M;M;M;M;M;M;M // 4ko |
|---|
| 52 | M;M;M;M;M;M;M;M;M;M;M;M;M;M;M;M // |
|---|
| 53 | M;M;M;M;M;M;M;M;M;M;M;M;M;M;M;M // 5ko |
|---|
| 54 | M;M;M;M;M;M;M;M;M;M;M;M;M;M;M;M // |
|---|
| 55 | M;M;M;M;M;M;M;M;M;M;M;M;M;M;M;M // 6ko |
|---|
| 56 | M;M;M;M;M;M;M;M;M;M;M;M;M;M;M;M // |
|---|
| 57 | M;M;M;M;M;M;M;M;M;M;M;M;M;M;M;M // 7ko |
|---|
| 58 | M;M;M;M;M;M;M;M;M;M;M;M;M;M;M;M // |
|---|
| 59 | M;M;M;M;M;M;M;M;M;M;M;M;M;M;M;M // 8ko |
|---|
| 60 | |
|---|
| 61 | end |
|---|
| 62 | /////////////////////////////////////////////////////////////////// DUMP MEM END |
|---|
| 63 | |
|---|
| 64 | |
|---|