18c2ecf20Sopenharmony_ciLIST "SPDX-License-Identifier: GPL-2.0"
28c2ecf20Sopenharmony_ciLIST "partner-jet-setup.txt"
38c2ecf20Sopenharmony_ciLIST "(C) Copyright 2009 Renesas Solutions Corp"
48c2ecf20Sopenharmony_ciLIST "Kuninori Morimoto <morimoto.kuninori@renesas.com>"
58c2ecf20Sopenharmony_ciLIST "--------------------------------"
68c2ecf20Sopenharmony_ciLIST "zImage (RAM boot)"
78c2ecf20Sopenharmony_ciLIST "This script can be used to boot the kernel from RAM via JTAG:"
88c2ecf20Sopenharmony_ciLIST "> < partner-jet-setup.txt"
98c2ecf20Sopenharmony_ciLIST "> RD zImage, 0xa8800000"
108c2ecf20Sopenharmony_ciLIST "> G=0xa8800000"
118c2ecf20Sopenharmony_ciLIST "--------------------------------"
128c2ecf20Sopenharmony_ciLIST "romImage (Flash boot)"
138c2ecf20Sopenharmony_ciLIST "Use the following command to burn the zImage to flash via JTAG:"
148c2ecf20Sopenharmony_ciLIST "> RD romImage, 0"
158c2ecf20Sopenharmony_ciLIST "--------------------------------"
168c2ecf20Sopenharmony_ci
178c2ecf20Sopenharmony_ciLIST "disable watchdog"
188c2ecf20Sopenharmony_ciEW 0xa4520004, 0xa507
198c2ecf20Sopenharmony_ci
208c2ecf20Sopenharmony_ciLIST "MMU"
218c2ecf20Sopenharmony_ciED 0xff000010, 0x00000004
228c2ecf20Sopenharmony_ci
238c2ecf20Sopenharmony_ciLIST "setup clocks"
248c2ecf20Sopenharmony_ciED 0xa4150024, 0x00004000
258c2ecf20Sopenharmony_ciED 0xa4150000, 0x8E003508
268c2ecf20Sopenharmony_ci
278c2ecf20Sopenharmony_ciWAIT 1
288c2ecf20Sopenharmony_ci
298c2ecf20Sopenharmony_ciLIST "BSC"
308c2ecf20Sopenharmony_ciED 0xff800020, 0xa5a50000
318c2ecf20Sopenharmony_ciED 0xfec10000, 0x00001013
328c2ecf20Sopenharmony_ciED 0xfec10004, 0x11110400
338c2ecf20Sopenharmony_ciED 0xfec10024, 0x00000440
348c2ecf20Sopenharmony_ci
358c2ecf20Sopenharmony_ciWAIT 1
368c2ecf20Sopenharmony_ci
378c2ecf20Sopenharmony_ciLIST "setup sdram"
388c2ecf20Sopenharmony_ciED 0xfd000108, 0x00000181
398c2ecf20Sopenharmony_ciED 0xfd000020, 0x015B0002
408c2ecf20Sopenharmony_ciED 0xfd000030, 0x03061502
418c2ecf20Sopenharmony_ciED 0xfd000034, 0x02020102
428c2ecf20Sopenharmony_ciED 0xfd000038, 0x01090305
438c2ecf20Sopenharmony_ciED 0xfd00003c, 0x00000002
448c2ecf20Sopenharmony_ciED 0xfd000008, 0x00000005
458c2ecf20Sopenharmony_ciED 0xfd000018, 0x00000001
468c2ecf20Sopenharmony_ci
478c2ecf20Sopenharmony_ciWAIT 1
488c2ecf20Sopenharmony_ci
498c2ecf20Sopenharmony_ciED 0xfd000014, 0x00000002
508c2ecf20Sopenharmony_ciED 0xfd000060, 0x00020000
518c2ecf20Sopenharmony_ciED 0xfd000060, 0x00030000
528c2ecf20Sopenharmony_ciED 0xfd000060, 0x00010040
538c2ecf20Sopenharmony_ciED 0xfd000060, 0x00000532
548c2ecf20Sopenharmony_ciED 0xfd000014, 0x00000002
558c2ecf20Sopenharmony_ciED 0xfd000014, 0x00000004
568c2ecf20Sopenharmony_ciED 0xfd000014, 0x00000004
578c2ecf20Sopenharmony_ciED 0xfd000060, 0x00000432
588c2ecf20Sopenharmony_ciED 0xfd000060, 0x000103C0
598c2ecf20Sopenharmony_ciED 0xfd000060, 0x00010040
608c2ecf20Sopenharmony_ci
618c2ecf20Sopenharmony_ciWAIT 1
628c2ecf20Sopenharmony_ci
638c2ecf20Sopenharmony_ciED 0xfd000010, 0x00000001
648c2ecf20Sopenharmony_ciED 0xfd000044, 0x00000613
658c2ecf20Sopenharmony_ciED 0xfd000048, 0x238C003A
668c2ecf20Sopenharmony_ciED 0xfd000014, 0x00000002
678c2ecf20Sopenharmony_ci
688c2ecf20Sopenharmony_ciLIST "Dummy read"
698c2ecf20Sopenharmony_ciDD 0x0c400000, 0x0c400000
708c2ecf20Sopenharmony_ci
718c2ecf20Sopenharmony_ciED 0xfd000014, 0x00000002
728c2ecf20Sopenharmony_ciED 0xfd000014, 0x00000004
738c2ecf20Sopenharmony_ciED 0xfd000108, 0x00000080
748c2ecf20Sopenharmony_ciED 0xfd000040, 0x00010000
758c2ecf20Sopenharmony_ci
768c2ecf20Sopenharmony_ciWAIT 1
778c2ecf20Sopenharmony_ci
788c2ecf20Sopenharmony_ciLIST "setup cache"
798c2ecf20Sopenharmony_ciED 0xff00001c, 0x0000090b
808c2ecf20Sopenharmony_ci
818c2ecf20Sopenharmony_ciLIST "disable USB"
828c2ecf20Sopenharmony_ciEW 0xA4D80000, 0x0000
83