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 "select mode for cs5 + cs6"
20 ED 0xff800020, 0xa5a50001
21 ED 0xfec10000, 0x0000001b
24 ED 0xa4150004, 0x00000050
25 ED 0xa4150000, 0x91053508
27 ED 0xa4150050, 0x00000340
28 ED 0xa4150024, 0x00005000
99 ED 0xFD000108, 0x40000301
100 ED 0xFD000020, 0x011B0002
101 ED 0xFD000030, 0x03060E02
102 ED 0xFD000034, 0x01020102
103 ED 0xFD000038, 0x01090406
104 ED 0xFD000008, 0x00000004
105 ED 0xFD000040, 0x00000001
106 ED 0xFD000040, 0x00000000
107 ED 0xFD000018, 0x00000001
111 ED 0xFD000014, 0x00000002
112 ED 0xFD000060, 0x00000032
113 ED 0xFD000060, 0x00020000
114 ED 0xFD000014, 0x00000004
115 ED 0xFD000014, 0x00000004
116 ED 0xFD000010, 0x00000001
117 ED 0xFD000044, 0x000004AF
118 ED 0xFD000048, 0x20CF0037
120 LIST "read 16 bytes from sdram"
121 DD 0xa8000000, 0xa8000000, 1
122 DD 0xa8000004, 0xa8000004, 1
123 DD 0xa8000008, 0xa8000008, 1
124 DD 0xa800000c, 0xa800000c, 1
126 ED 0xFD000014, 0x00000002
127 ED 0xFD000014, 0x00000004
128 ED 0xFD000108, 0x40000300
129 ED 0xFD000040, 0x00010000
131 LIST "write to internal ram"
135 ED 0xff00001c, 0x0000090b