~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/arch/sh/include/mach-kfr2r09/mach/partner-jet-setup.txt

Version: ~ [ linux-6.11.5 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.58 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.114 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.169 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.228 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.284 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.322 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.9 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 LIST "SPDX-License-Identifier: GPL-2.0"
  2 LIST "partner-jet-setup.txt - 20090729 Magnus Damm"
  3 LIST "set up enough of the kfr2r09 hardware to boot the kernel"
  4 
  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 
 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 
 15 LIST "--------------------------------"
 16 
 17 LIST "disable watchdog"
 18 EW 0xa4520004, 0xa507
 19 
 20 LIST "invalidate instruction cache"
 21 ED 0xff00001c, 0x00000800
 22 
 23 LIST "invalidate TLBs"
 24 ED 0xff000010, 0x00000004
 25 
 26 LIST "select mode for cs5 + cs6"
 27 ED 0xff800020, 0xa5a50001
 28 ED 0xfec10000, 0x0000001b
 29 
 30 LIST "setup clocks"
 31 LIST "The PLL and FLL values are updated here for the optimal"
 32 LIST "RF frequency and improved reception sensitivity."
 33 ED 0xa4150004, 0x00000050
 34 ED 0xa4150000, 0x91053508
 35 WAIT 1
 36 ED 0xa4150050, 0x00000340
 37 ED 0xa4150024, 0x00005000
 38 
 39 LIST "setup pins"
 40 EB 0xa4050120, 0x00
 41 EB 0xa4050122, 0x00
 42 EB 0xa4050124, 0x00
 43 EB 0xa4050126, 0x00
 44 EB 0xa4050128, 0xA0
 45 EB 0xa405012A, 0x10
 46 EB 0xa405012C, 0x00
 47 EB 0xa405012E, 0x00
 48 EB 0xa4050130, 0x00
 49 EB 0xa4050132, 0x00
 50 EB 0xa4050134, 0x01
 51 EB 0xa4050136, 0x40
 52 EB 0xa4050138, 0x00
 53 EB 0xa405013A, 0x00
 54 EB 0xa405013C, 0x00
 55 EB 0xa405013E, 0x20
 56 EB 0xa4050160, 0x00
 57 EB 0xa4050162, 0x40
 58 EB 0xa4050164, 0x03
 59 EB 0xa4050166, 0x00
 60 EB 0xa4050168, 0x00
 61 EB 0xa405016A, 0x00
 62 EB 0xa405016C, 0x00
 63 
 64 EW 0xa405014E, 0x5660
 65 EW 0xa4050150, 0x0145
 66 EW 0xa4050152, 0x1550
 67 EW 0xa4050154, 0x0200
 68 EW 0xa4050156, 0x0040
 69 
 70 EW 0xa4050158, 0x0000
 71 EW 0xa405015a, 0x0000
 72 EW 0xa405015c, 0x0000
 73 EW 0xa405015e, 0x0000
 74 
 75 EW 0xa4050180, 0x0000
 76 EW 0xa4050182, 0x8002
 77 EW 0xa4050184, 0x0000
 78 
 79 EW 0xa405018a, 0x9991
 80 EW 0xa405018c, 0x8011
 81 EW 0xa405018e, 0x9550
 82 
 83 EW 0xa4050100, 0x0000
 84 EW 0xa4050102, 0x5540
 85 EW 0xa4050104, 0x0000
 86 EW 0xa4050106, 0x0000
 87 EW 0xa4050108, 0x4550
 88 EW 0xa405010a, 0x0130
 89 EW 0xa405010c, 0x0555
 90 EW 0xa405010e, 0x0000
 91 EW 0xa4050110, 0x0000
 92 EW 0xa4050112, 0xAAA8
 93 EW 0xa4050114, 0x8305
 94 EW 0xa4050116, 0x10F0
 95 EW 0xa4050118, 0x0F50
 96 EW 0xa405011a, 0x0000
 97 EW 0xa405011c, 0x0000
 98 EW 0xa405011e, 0x0555
 99 EW 0xa4050140, 0x0000
100 EW 0xa4050142, 0x5141
101 EW 0xa4050144, 0x5005
102 EW 0xa4050146, 0xAAA9
103 EW 0xa4050148, 0xFAA9
104 EW 0xa405014a, 0x3000
105 EW 0xa405014c, 0x0000
106 
107 LIST "setup sdram"
108 ED 0xFD000108, 0x40000301
109 ED 0xFD000020, 0x011B0002
110 ED 0xFD000030, 0x03060E02
111 ED 0xFD000034, 0x01020102
112 ED 0xFD000038, 0x01090406
113 ED 0xFD000008, 0x00000004
114 ED 0xFD000040, 0x00000001
115 ED 0xFD000040, 0x00000000
116 ED 0xFD000018, 0x00000001
117 
118 WAIT 1
119 
120 ED 0xFD000014, 0x00000002
121 ED 0xFD000060, 0x00000032
122 ED 0xFD000060, 0x00020000
123 ED 0xFD000014, 0x00000004
124 ED 0xFD000014, 0x00000004
125 ED 0xFD000010, 0x00000001
126 ED 0xFD000044, 0x000004AF
127 ED 0xFD000048, 0x20CF0037
128 
129 LIST "read 16 bytes from sdram"
130 DD 0xa8000000, 0xa8000000, 1
131 DD 0xa8000004, 0xa8000004, 1
132 DD 0xa8000008, 0xa8000008, 1
133 DD 0xa800000c, 0xa800000c, 1
134 
135 ED 0xFD000014, 0x00000002
136 ED 0xFD000014, 0x00000004
137 ED 0xFD000108, 0x40000300
138 ED 0xFD000040, 0x00010000
139 
140 LIST "write to internal ram"
141 ED 0xfd8007fc, 0
142 
143 LIST "setup cache"
144 ED 0xff00001c, 0x0000090b

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php