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 0xa4150024, 0x00005000
98 ED 0xFD000108, 0x40000301
99 ED 0xFD000020, 0x011B0002
100 ED 0xFD000030, 0x03060E02
101 ED 0xFD000034, 0x01020102
102 ED 0xFD000038, 0x01090406
103 ED 0xFD000008, 0x00000004
104 ED 0xFD000040, 0x00000001
105 ED 0xFD000040, 0x00000000
106 ED 0xFD000018, 0x00000001
110 ED 0xFD000014, 0x00000002
111 ED 0xFD000060, 0x00000032
112 ED 0xFD000060, 0x00020000
113 ED 0xFD000014, 0x00000004
114 ED 0xFD000014, 0x00000004
115 ED 0xFD000010, 0x00000001
116 ED 0xFD000044, 0x000004AF
117 ED 0xFD000048, 0x20CF0037
119 LIST "read 16 bytes from sdram"
120 DD 0xa8000000, 0xa8000000, 1
121 DD 0xa8000004, 0xa8000004, 1
122 DD 0xa8000008, 0xa8000008, 1
123 DD 0xa800000c, 0xa800000c, 1
125 ED 0xFD000014, 0x00000002
126 ED 0xFD000014, 0x00000004
127 ED 0xFD000108, 0x40000300
128 ED 0xFD000040, 0x00010000
130 LIST "write to internal ram"
134 ED 0xff00001c, 0x0000090b