Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
awilliam
GitHub Repository: awilliam/linux-vfio
Path: blob/master/arch/sh/include/mach-ecovec24/mach/partner-jet-setup.txt
15160 views
1
LIST "partner-jet-setup.txt"
2
LIST "(C) Copyright 2009 Renesas Solutions Corp"
3
LIST "Kuninori Morimoto <[email protected]>"
4
LIST "--------------------------------"
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"
9
LIST "> G=0xa8800000"
10
LIST "--------------------------------"
11
LIST "romImage (Flash boot)"
12
LIST "Use the following command to burn the zImage to flash via JTAG:"
13
LIST "> RD romImage, 0"
14
LIST "--------------------------------"
15
16
LIST "disable watchdog"
17
EW 0xa4520004, 0xa507
18
19
LIST "MMU"
20
ED 0xff000010, 0x00000004
21
22
LIST "setup clocks"
23
ED 0xa4150024, 0x00004000
24
ED 0xa4150000, 0x8E003508
25
26
WAIT 1
27
28
LIST "BSC"
29
ED 0xff800020, 0xa5a50000
30
ED 0xfec10000, 0x00001013
31
ED 0xfec10004, 0x11110400
32
ED 0xfec10024, 0x00000440
33
34
WAIT 1
35
36
LIST "setup sdram"
37
ED 0xfd000108, 0x00000181
38
ED 0xfd000020, 0x015B0002
39
ED 0xfd000030, 0x03061502
40
ED 0xfd000034, 0x02020102
41
ED 0xfd000038, 0x01090305
42
ED 0xfd00003c, 0x00000002
43
ED 0xfd000008, 0x00000005
44
ED 0xfd000018, 0x00000001
45
46
WAIT 1
47
48
ED 0xfd000014, 0x00000002
49
ED 0xfd000060, 0x00020000
50
ED 0xfd000060, 0x00030000
51
ED 0xfd000060, 0x00010040
52
ED 0xfd000060, 0x00000532
53
ED 0xfd000014, 0x00000002
54
ED 0xfd000014, 0x00000004
55
ED 0xfd000014, 0x00000004
56
ED 0xfd000060, 0x00000432
57
ED 0xfd000060, 0x000103C0
58
ED 0xfd000060, 0x00010040
59
60
WAIT 1
61
62
ED 0xfd000010, 0x00000001
63
ED 0xfd000044, 0x00000613
64
ED 0xfd000048, 0x238C003A
65
ED 0xfd000014, 0x00000002
66
67
LIST "Dummy read"
68
DD 0x0c400000, 0x0c400000
69
70
ED 0xfd000014, 0x00000002
71
ED 0xfd000014, 0x00000004
72
ED 0xfd000108, 0x00000080
73
ED 0xfd000040, 0x00010000
74
75
WAIT 1
76
77
LIST "setup cache"
78
ED 0xff00001c, 0x0000090b
79
80
LIST "disable USB"
81
EW 0xA4D80000, 0x0000
82
83