1 LIST "partner-jet-setup.txt - 20090729 Magnus Damm"
2 LIST "set up enough of the kfr2r09 hardware to boot the kernel"
4 LIST "zImage (RAM boot)"
5 LIST "This script can be used to boot the kernel from RAM via JTAG:"
6 LIST "> < partner-jet-setup.txt"
7 LIST "> RD zImage, 0xa8800000"
10 LIST "romImage (Flash boot)"
11 LIST "Use the following command to burn the zImage to flash via JTAG:"
12 LIST "> RD romImage, 0"
14 LIST "--------------------------------"
16 LIST "disable watchdog"
19 LIST "invalidate instruction cache"
20 ED 0xff00001c, 0x00000800
22 LIST "invalidate TLBs"
23 ED 0xff000010, 0x00000004
25 LIST "select mode for cs5 + cs6"
26 ED 0xff800020, 0xa5a50001
27 ED 0xfec10000, 0x0000001b
30 LIST "The PLL and FLL values are updated here for the optimal"
31 LIST "RF frequency and improved reception sensitivity."
32 ED 0xa4150004, 0x00000050
33 ED 0xa4150000, 0x91053508
35 ED 0xa4150050, 0x00000340
36 ED 0xa4150024, 0x00005000
100 EW 0xa4050144, 0x5005
101 EW 0xa4050146, 0xAAA9
102 EW 0xa4050148, 0xFAA9
103 EW 0xa405014a, 0x3000
104 EW 0xa405014c, 0x0000
107 ED 0xFD000108, 0x40000301
108 ED 0xFD000020, 0x011B0002
109 ED 0xFD000030, 0x03060E02
110 ED 0xFD000034, 0x01020102
111 ED 0xFD000038, 0x01090406
112 ED 0xFD000008, 0x00000004
113 ED 0xFD000040, 0x00000001
114 ED 0xFD000040, 0x00000000
115 ED 0xFD000018, 0x00000001
119 ED 0xFD000014, 0x00000002
120 ED 0xFD000060, 0x00000032
121 ED 0xFD000060, 0x00020000
122 ED 0xFD000014, 0x00000004
123 ED 0xFD000014, 0x00000004
124 ED 0xFD000010, 0x00000001
125 ED 0xFD000044, 0x000004AF
126 ED 0xFD000048, 0x20CF0037
128 LIST "read 16 bytes from sdram"
129 DD 0xa8000000, 0xa8000000, 1
130 DD 0xa8000004, 0xa8000004, 1
131 DD 0xa8000008, 0xa8000008, 1
132 DD 0xa800000c, 0xa800000c, 1
134 ED 0xFD000014, 0x00000002
135 ED 0xFD000014, 0x00000004
136 ED 0xFD000108, 0x40000300
137 ED 0xFD000040, 0x00010000
139 LIST "write to internal ram"
143 ED 0xff00001c, 0x0000090b