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