Last change
on this file since 14 was
14,
checked in by guillaume, 16 years ago
|
Added how to use FlashWriteNAND.bin
Added example to flash a new splashscreen on a TwinTact
|
File size:
1.1 KB
|
Line | |
---|
1 | ////////////////////////////////////////////////////////////////// WRITENAND |
---|
2 | # ----------------------------------------- |
---|
3 | # Init phone RAM |
---|
4 | a 0x20010000 |
---|
5 | f x-loader.bin |
---|
6 | // Call a sub from x-loader.bin: TT BoardInit (should only work with TT) |
---|
7 | a 0x20010da4 |
---|
8 | c |
---|
9 | |
---|
10 | # ----------------------------------------- |
---|
11 | # Upload FlashWriteNAND.bin program |
---|
12 | a 0x10000000 |
---|
13 | f FlashWriteNAND.bin |
---|
14 | |
---|
15 | # ----------------------------------------- |
---|
16 | # Upload new splash to 0x10010000 address |
---|
17 | a 0x10010000 |
---|
18 | f my_splash.bmp |
---|
19 | |
---|
20 | # ----------------------------------------- |
---|
21 | # ------------------SPLASH----------------- |
---|
22 | # ----------------------------------------- |
---|
23 | # Setup write command for splash NAND part |
---|
24 | a 0x1000ffec |
---|
25 | p 0x00000001 |
---|
26 | p 0x10010000 |
---|
27 | p 0x00054000 |
---|
28 | p 0x0002c000 |
---|
29 | p 0x04000000 |
---|
30 | |
---|
31 | // Just peek to control command is set as expected |
---|
32 | a 0x1000ffec |
---|
33 | P;P;P;P;P |
---|
34 | |
---|
35 | # ----------------------------------------- |
---|
36 | # Call FlashWriteNAND program |
---|
37 | a 0x10000000 |
---|
38 | c |
---|
39 | |
---|
40 | # ----------------------------------------- |
---|
41 | # Boot with still loaded x-load |
---|
42 | a 0x20010c00 |
---|
43 | b |
---|
44 | |
---|
45 | # ----------------------------------------- |
---|
46 | end |
---|
47 | |
---|
48 | ////////////////////////////////////////////////////////////////// WRITENAND END |
---|
49 | |
---|
Note: See
TracBrowser
for help on using the repository browser.