FreeCalypso > hg > freecalypso-reveng
comparison pirelli/preboot.notes @ 68:6a136554378e
pirelli preboot re: figured out the triggering condition
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Mon, 10 Feb 2014 02:33:17 +0000 |
parents | 88cf9811f97c |
children |
comparison
equal
deleted
inserted
replaced
67:88cf9811f97c | 68:6a136554378e |
---|---|
1 0xAA88 bytes are copied from 0x2508 to 0x810484 | 1 0xAA88 bytes are copied from 0x2508 to 0x810484 |
2 | 2 |
3 IRAM usage: | 3 IRAM usage: |
4 | 4 |
5 800000: everything from here to 81047C is zeroed out | 5 800000: everything from here to 81047C is zeroed out |
6 800000: byte var, init to 0 | |
6 800004: 1 written here | 7 800004: 1 written here |
7 800008: var set to bottom of SVC stack | 8 800008: var set to bottom of SVC stack |
8 80000C: var set to top of SVC stack | 9 80000C: var set to top of SVC stack |
9 800010: 16-bit checksum of copy-to-RAM block, before copy | 10 800010: 16-bit checksum of copy-to-RAM block, before copy |
10 800012: 16-bit checksum of copy-to-RAM block, after copy | 11 800012: 16-bit checksum of copy-to-RAM block, after copy |
12 810014: 16-bit var, init to 0 | |
13 810016: 16-bit var, init to 0 | |
14 810018: byte var, init to 0x00 | |
15 810019: byte var, init to 0xBC | |
16 81001C: 32-bit var, init to 0 | |
17 810020: byte var, init to 0x00, apparently flag indicating that the array | |
18 at 0x810024 has been initialized | |
19 810021: byte var, init to 0x00 | |
20 810024: 32-bit var, init to 0 | |
21 810024: array of 3 structs, 24 (0x18) bytes each, one for each flash region | |
22 init by routine at 0xb3a8 | |
23 offset 00: ptr to start of flash region | |
24 offset 04: 32-bit init to 0, appears to be a state in the [0,2] range: | |
25 0: initial | |
26 1: checked and found to contain an image | |
27 2: result of calling 0xb0c2 in mode 2 | |
28 offset 08: byte init to 0, incremented each time 0xb0c2 in mode 1 | |
29 succeeds | |
30 offset 09: byte init to 0 | |
31 offset 0C: init to 0x12345678 | |
32 offset 10: 32-bit init to 0 | |
33 offset 14: 16-bit init to 0 | |
34 81006C: table of 3 32-bit words, pointers to structures describing | |
35 3 flash2 regions, init to {0081a4d0, 0081a768, 0081aa00} | |
36 810078: 32-bit var, init to 0 | |
11 81047C: bottom of init stack (0x400 bytes) | 37 81047C: bottom of init stack (0x400 bytes) |
38 81047C: byte var, init to 0 | |
12 810484: first byte used by copied code block | 39 810484: first byte used by copied code block |
13 81AF0B: last byte "" | 40 81AF0B: last byte "" |
14 81AF60: initial SP for abort and undef | 41 81AF60: initial SP for abort and undef |
15 81AFF8: bottom of SVC stack | 42 81AFF8: bottom of SVC stack |
16 81B454: initial SVC SP | 43 81B454: initial SVC SP |