]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - doc/README.mpc7448hpc2
Add README file for mpc7448hpc2 board.
[karo-tx-uboot.git] / doc / README.mpc7448hpc2
1 Freescale MPC7448hpc2 (Taiga) board
2 ===================================
3
4 Created 08/11/2006 Roy Zang
5 --------------------------
6 MPC7448hpc2 (Taiga) board is a high-performance PowerPC server reference 
7 design, which is optimized for high speed throughput between the processor and 
8 the memory, disk drive and Ethernet port subsystems.
9
10 MPC7448hpc2(Taiga) is designed to the micro-ATX chassis, allowing it to be 
11 used in 1U or 2U rack-mount chassis¡¯, as well as in standard ATX/Micro-ATX 
12 chassis.
13
14 Building U-Boot
15 ------------------
16 The mpc7448hpc2 code base is known to compile using:
17     Binutils 2.15, Gcc 3.4.3, Glibc 2.3.3
18
19     $ make mpc7448hpc2_config
20     Configuring for mpc7448hpc2 board...
21
22     $ make
23
24 Memory Map
25 ----------
26
27 The memory map is setup for Linux to operate properly.
28
29 The mapping is:
30
31    Range Start     Range End       Definition                   Size
32
33    0x0000_0000     0x7fff_ffff     DDR                          2G
34    0xe000_0000     0xe7ff_ffff     PCI Memory                   128M
35    0xfa00_0000     0xfaff_ffff     PCI IO                       16M
36    0xfb00_0000     0xfbff_ffff     PCI Config                   16M
37    0xfc00_0000     0xfc0f_ffff     NVRAM/CADMUS                 1M
38    0xfe00_0000     0xfeff_ffff     PromJet                      16M
39    0xff00_0000     0xff80_0000     FLASH (boot flash)           8M
40    0xff80_0000     0xffff_ffff     FLASH (second half flash)    8M
41
42
43 Using Flash
44 -----------
45
46 The MPC7448hpc2 board has two "banks" of flash, each 8MB in size 
47 (2^23 = 0x00800000). 
48
49 Note: the "bank" here refers to half of the flash. In fact, there is only one 
50 bank of flash, which is divided into low and high half. Each is controlled by
51 the most significant bit of the address bus. The so called "bank" is only for
52 convenience.
53
54 There is a switch which allows the "bank" to be selected.  The switch
55 settings for updating flash are given below.
56
57 The u-boot commands for copying the boot-bank into the secondary bank are
58 as follows:
59
60      erase ff800000 ff880000
61      cp.b ff000000 ff800000 80000
62
63 U-boot commands for downloading an image via tftp and flashing
64 it into the secondary bank:
65
66      tftp 10000 <u-boot.bin.image>
67      erase ff000000 ff080000
68      cp.b 10000 ff000000 80000
69
70
71 After copying the image into the second bank of flash, be sure to toggle
72 SW3[4] on board before resetting the board in order to set the
73 secondary bank as the boot-bank.
74
75
76 Board Switches
77 ----------------------
78
79
80 Most switches on the board should not be changed.  The most frequent
81 user-settable switches on the board are used to configure
82 the flash banks and determining the PCI frequency.
83
84 SW1[1-5]: Processor core voltage
85
86       12345             Core Voltage
87       -----
88   SW1=01111                1.000V.
89   SW1=01101                1.100V.
90   SW1=01011                1.200V.
91   SW1=01001                1.300V only for MPC7447A.
92
93
94 SW2[1-6]: CPU core frequency
95
96                   CPU Core Frequency (MHz)
97                         Bus Frequency
98       123456    100     133     167     200      Ratio
99         
100       ------
101   SW2=101100    500     667     833     1000       5x
102   SW2=100100    550     733     917     1100       5.5x
103   SW2=110100    600     800     1000    1200       6x
104   SW2=010100    650     866     1083    1300       6.5x
105   SW2=001000    700     930     1167    1400       7x
106   SW2=000100    750     1000    1250    1500       7.5x
107   SW2=110000    800     1066    1333    1600       8x
108   SW2=011000    850     1333    1417    1700       8.5x only for MPC7447A
109   SW2=011110    900     1200    1500    1800       9x
110
111 This table shows only a subset of available frequency options; see the CPU 
112 hardware specifications for more information.
113
114
115 SW2[7-8]: Bus Protocol and CPU Reset Option
116
117       7         
118       -
119   SW2=0         System bus uses MPX bus protocol
120   SW2=1         System bus uses 60x bus protocol
121
122       8         
123       -
124   SW2=0         TSI108 can cause CPU reset
125   SW2=1         TSI108 can not cause CPU reset
126
127
128 SW3[1-8] system options
129
130       123               
131       ---
132   SW3=xxx               Connected to GPIO[0:2] on TSI108
133
134       4         
135       -
136   SW3=0         CPU boots from low half of flash
137   SW3=1         CPU boots from high half of flash
138
139       5         
140       -
141   SW3=0         SATA and slot2 connected to PCI bus
142   SW3=1         Only slot1 connected to PCI bus
143
144       6         
145       -
146   SW3=0         USB connected to PCI bus
147   SW3=1         USB disconnected from PCI bus
148
149       7         
150       -
151   SW3=0         Flash is write protected
152   SW3=1         Flash is NOT write protected
153
154       8         
155       -
156   SW3=0         CPU will boot from flash
157   SW3=1         CPU will boot from PromJet
158
159 SW4[1-3]: System bus frequency
160
161                         Bus Frequency (MHz)
162       ---
163   SW4=010                       183
164   SW4=011                       100
165   SW4=100                       133
166   SW4=101                       166 only for MPC7447A
167   SW4=110                       200 only for MPC7448
168   others                        reserved
169         
170
171 SW4[4-6]: DDR2 SDRAM frequency
172
173                         Bus Frequency (MHz)
174       ---
175   SW4=000                  external clock
176   SW4=011                  system clock 
177   SW4=100                       133
178   SW4=101                       166
179   SW4=110                       200
180   others                        reserved
181
182
183 SW4[7-8]: PCI/PCI-X frequency control
184       7         
185       -
186   SW4=0         PCI/PCI-X bus operates normally
187   SW4=1         PCI bus forced to PCI-33 mode
188
189       8         
190       -
191   SW4=0         PCI-X mode at 133 MHz allowed
192   SW4=1         PCI-X mode limited to 100 MHz
193