xref: /OK3568_Linux_fs/u-boot/board/armltd/integrator/README (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun
2*4882a593Smuzhiyun		U-Boot for ARM Integrator Development Platforms
3*4882a593Smuzhiyun
4*4882a593Smuzhiyun			Peter Pearse, ARM Ltd.
5*4882a593Smuzhiyun			peter.pearse@arm.com
6*4882a593Smuzhiyun			     www.arm.com
7*4882a593Smuzhiyun
8*4882a593SmuzhiyunManuals available from :-
9*4882a593Smuzhiyunhttp://www.arm.com/products/DevTools/Hardware_Platforms.html
10*4882a593Smuzhiyun
11*4882a593SmuzhiyunOverview :
12*4882a593Smuzhiyun--------
13*4882a593SmuzhiyunThere are two Integrator variants - Integrator/AP and Integrator/CP.
14*4882a593SmuzhiyunEach may be fitted with a variety of core modules (CMs).
15*4882a593SmuzhiyunEach CM consists of a ARM processor core and associated hardware e.g
16*4882a593Smuzhiyun	FPGA implementing various controllers and/or register
17*4882a593Smuzhiyun	SSRAM
18*4882a593Smuzhiyun	SDRAM
19*4882a593Smuzhiyun	RAM controllers
20*4882a593Smuzhiyun	clock generators etc.
21*4882a593SmuzhiyunCMs may be fitted with varying amounts of SDRAM using a DIMM socket.
22*4882a593Smuzhiyun
23*4882a593SmuzhiyunBoot Methods :
24*4882a593Smuzhiyun------------
25*4882a593SmuzhiyunIntegrator platforms can be configured to use U-Boot in at least three ways :-
26*4882a593Smuzhiyuna) Run ARM boot monitor, manually run U-Boot image from flash
27*4882a593Smuzhiyunb) Run ARM boot monitor, automatically run U-Boot image from flash
28*4882a593Smuzhiyunc) Run U-Boot image direct from flash.
29*4882a593Smuzhiyun
30*4882a593SmuzhiyunIn cases a) and b) the ARM boot monitor will have configured the CM and mapped
31*4882a593Smuzhiyunwriteable memory to 0x00000000 in the Integrator address space.
32*4882a593SmuzhiyunU-Boot has to carry out minimal configration before standard code is run.
33*4882a593Smuzhiyun
34*4882a593SmuzhiyunIn case c) it may be necessary for U-Boot to perform CM dependent initialization.
35*4882a593Smuzhiyun
36*4882a593SmuzhiyunConfiguring U-Boot :
37*4882a593Smuzhiyun------------------
38*4882a593Smuzhiyun	The makefile contains targets for Integrator platforms of both types
39*4882a593Smuzhiyunfitted with all current variants of CM. If these targets are to be used with
40*4882a593Smuzhiyunboot process c) above then CONFIG_INIT_CRITICAL may need to be defined to ensure
41*4882a593Smuzhiyunthat the CM is correctly configured.
42*4882a593Smuzhiyun
43*4882a593Smuzhiyun	There are also targets independent of CM. These may not be suitable for
44*4882a593Smuzhiyunboot process c) above. They have been preserved for backward compatibility with
45*4882a593Smuzhiyunexisting build processes.
46*4882a593Smuzhiyun
47*4882a593SmuzhiyunCode Hierarchy Applied :
48*4882a593Smuzhiyun----------------------
49*4882a593SmuzhiyunCode specific to initialization of a particular ARM processor has been placed in
50*4882a593Smuzhiyuncpu/arm<>/start.S so that it may be used by other boards.
51*4882a593Smuzhiyun
52*4882a593SmuzhiyunHowever, to avoid duplicating code through all processor files, a generic core
53*4882a593Smuzhiyunfor ARM Integrator CMs has been added
54*4882a593Smuzhiyun
55*4882a593Smuzhiyun	arch/arm/cpu/arm_intcm
56*4882a593Smuzhiyun
57*4882a593SmuzhiyunOtherwise. for example,  the standard CM reset via the CM control register would
58*4882a593Smuzhiyunneed placing in each CM processor file......
59*4882a593Smuzhiyun
60*4882a593SmuzhiyunCode specific to the initialization of the CM, rather than the cpu, and initialization
61*4882a593Smuzhiyunof the Integrator board itself, has been placed in
62*4882a593Smuzhiyun
63*4882a593Smuzhiyun	board/integrator<>/platform.S
64*4882a593Smuzhiyun	board/integrator<>/integrator<>.c
65*4882a593Smuzhiyun
66*4882a593SmuzhiyunTargets
67*4882a593Smuzhiyun=======
68*4882a593SmuzhiyunThe U-Boot make targets map to the available core modules as below.
69*4882a593Smuzhiyun
70*4882a593SmuzhiyunIntegrator/AP is no longer available from ARM.
71*4882a593SmuzhiyunCore modules marked ** are also no longer available.
72*4882a593Smuzhiyun
73*4882a593Smuzhiyunap720t_config		** CM720T
74*4882a593Smuzhiyunap920t_config		** CM920T
75*4882a593Smuzhiyunap926ejs_config	Integrator Core Module for ARM926EJ-STM
76*4882a593Smuzhiyunap946es_config		Integrator Core Module for ARM946E-STM
77*4882a593Smuzhiyuncp920t_config		** CM920T
78*4882a593Smuzhiyuncp926ejs_config	Integrator Core Module for ARM926EJ-STM
79*4882a593Smuzhiyuncp946es_config		Integrator Core Module for ARM946E-STM
80*4882a593Smuzhiyuncp1136_config		Integrator Core Module ARM1136JF-S  TM
81*4882a593Smuzhiyun
82*4882a593SmuzhiyunThe final groups of targets are for core modules where no explicit cpu
83*4882a593Smuzhiyuncode has yet been added to U-Boot i.e. they all use the same U-Boot binary
84*4882a593Smuzhiyunusing the generic "arm_intcm" core:
85*4882a593Smuzhiyun
86*4882a593Smuzhiyunap966_config			Integrator Core Module for ARM966E-S TM
87*4882a593Smuzhiyunap922_config			Integrator Core Module for ARM922T TM with ETM
88*4882a593Smuzhiyunap922_XA10_config		Integrator Core Module for ARM922T using Altera Excalibur
89*4882a593Smuzhiyunap7_config			** CM7TDMI
90*4882a593Smuzhiyunintegratorap_config
91*4882a593Smuzhiyunap_config
92*4882a593Smuzhiyun
93*4882a593Smuzhiyun
94*4882a593Smuzhiyuncp966_config			Integrator Core Module for ARM966E-S TM
95*4882a593Smuzhiyuncp922_config			Integrator Core Module for ARM922T TM with ETM
96*4882a593Smuzhiyuncp922_XA10_config		Integrator Core Module for ARM922T using Altera Excalibur
97*4882a593Smuzhiyuncp1026_config			Integrator Core Module ARM1026EJ-S TM
98*4882a593Smuzhiyunintegratorcp_config
99*4882a593Smuzhiyuncp_config
100*4882a593Smuzhiyun
101*4882a593SmuzhiyunThe Makefile targets call board/integrator<>/split_by_variant.sh
102*4882a593Smuzhiyunto configure various defines in include/configs/integrator<>.h
103*4882a593Smuzhiyunto indicate the core module & core configuration and ensure that
104*4882a593Smuzhiyunboard/integrator<>/u-boot.lds loads the cpu object first in the U-Boot image.
105*4882a593Smuzhiyun
106*4882a593Smuzhiyun*********************************
107*4882a593SmuzhiyunBecause of this mechanism
108*4882a593Smuzhiyun> make clean
109*4882a593Smuzhiyunmust be run before each change in configuration
110*4882a593Smuzhiyun*********************************
111