source: tt-loader/write-splash.txt

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