• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1LIST "partner-jet-setup.txt"
2LIST "(C) Copyright 2009 Renesas Solutions Corp"
3LIST "Kuninori Morimoto <morimoto.kuninori@renesas.com>"
4LIST "--------------------------------"
5LIST "zImage (RAM boot)"
6LIST "This script can be used to boot the kernel from RAM via JTAG:"
7LIST "> < partner-jet-setup.txt"
8LIST "> RD zImage, 0xa8800000"
9LIST "> G=0xa8800000"
10LIST "--------------------------------"
11LIST "romImage (Flash boot)"
12LIST "Use the following command to burn the zImage to flash via JTAG:"
13LIST "> RD romImage, 0"
14LIST "--------------------------------"
15
16LIST "disable watchdog"
17EW 0xa4520004, 0xa507
18
19LIST "MMU"
20ED 0xff000010, 0x00000004
21
22LIST "setup clocks"
23ED 0xa4150024, 0x00004000
24ED 0xa4150000, 0x8E003508
25
26WAIT 1
27
28LIST "BSC"
29ED 0xff800020, 0xa5a50000
30ED 0xfec10000, 0x00001013
31ED 0xfec10004, 0x11110400
32ED 0xfec10024, 0x00000440
33
34WAIT 1
35
36LIST "setup sdram"
37ED 0xfd000108, 0x00000181
38ED 0xfd000020, 0x015B0002
39ED 0xfd000030, 0x03061502
40ED 0xfd000034, 0x02020102
41ED 0xfd000038, 0x01090305
42ED 0xfd00003c, 0x00000002
43ED 0xfd000008, 0x00000005
44ED 0xfd000018, 0x00000001
45
46WAIT 1
47
48ED 0xfd000014, 0x00000002
49ED 0xfd000060, 0x00020000
50ED 0xfd000060, 0x00030000
51ED 0xfd000060, 0x00010040
52ED 0xfd000060, 0x00000532
53ED 0xfd000014, 0x00000002
54ED 0xfd000014, 0x00000004
55ED 0xfd000014, 0x00000004
56ED 0xfd000060, 0x00000432
57ED 0xfd000060, 0x000103C0
58ED 0xfd000060, 0x00010040
59
60WAIT 1
61
62ED 0xfd000010, 0x00000001
63ED 0xfd000044, 0x00000613
64ED 0xfd000048, 0x238C003A
65ED 0xfd000014, 0x00000002
66
67LIST "Dummy read"
68DD 0x0c400000, 0x0c400000
69
70ED 0xfd000014, 0x00000002
71ED 0xfd000014, 0x00000004
72ED 0xfd000108, 0x00000080
73ED 0xfd000040, 0x00010000
74
75WAIT 1
76
77LIST "setup cache"
78ED 0xff00001c, 0x0000090b
79
80LIST "disable USB"
81EW 0xA4D80000, 0x0000
82