xref: /OK3568_Linux_fs/u-boot/doc/README.davinci (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunSummary
2*4882a593Smuzhiyun=======
3*4882a593Smuzhiyun
4*4882a593SmuzhiyunThis README is about U-Boot support for TI's ARM 926EJS based family of SoCs.
5*4882a593SmuzhiyunThese SOCs are used for cameras, video security and surveillance, DVR's, etc.
6*4882a593SmuzhiyunDaVinci SOC's comprise of DM644x, DM646x, DM35x and DM36x series of SOC's
7*4882a593SmuzhiyunAdditionally there are some SOCs meant for the audio market which though have
8*4882a593Smuzhiyunan OMAP part number are very similar to the DaVinci series of SOC's
9*4882a593SmuzhiyunAdditionally, some family members contain a TI DSP and/or graphics
10*4882a593Smuzhiyunco processors along with a host of other peripherals.
11*4882a593Smuzhiyun
12*4882a593SmuzhiyunCurrently the following boards are supported:
13*4882a593Smuzhiyun
14*4882a593Smuzhiyun* TI DaVinci DM644x EVM
15*4882a593Smuzhiyun
16*4882a593Smuzhiyun* TI DaVinci DM646x EVM
17*4882a593Smuzhiyun
18*4882a593Smuzhiyun* TI DaVinci DM355 EVM
19*4882a593Smuzhiyun
20*4882a593Smuzhiyun* TI DaVinci DM365 EVM
21*4882a593Smuzhiyun
22*4882a593Smuzhiyun* TI DA830 EVM
23*4882a593Smuzhiyun
24*4882a593Smuzhiyun* TI DA850 EVM
25*4882a593Smuzhiyun
26*4882a593Smuzhiyun* DM355 based Leopard board
27*4882a593Smuzhiyun
28*4882a593Smuzhiyun* DM644x based schmoogie board
29*4882a593Smuzhiyun
30*4882a593Smuzhiyun* DM644x based sffsdr board
31*4882a593Smuzhiyun
32*4882a593Smuzhiyun* DM644x based sonata board
33*4882a593Smuzhiyun
34*4882a593SmuzhiyunBuild
35*4882a593Smuzhiyun=====
36*4882a593Smuzhiyun
37*4882a593Smuzhiyun* TI DaVinci DM644x EVM:
38*4882a593Smuzhiyun
39*4882a593Smuzhiyunmake davinci_dvevm_config
40*4882a593Smuzhiyunmake
41*4882a593Smuzhiyun
42*4882a593Smuzhiyun* TI DaVinci DM646x EVM:
43*4882a593Smuzhiyun
44*4882a593Smuzhiyunmake davinci_dm6467evm_config
45*4882a593Smuzhiyunmake
46*4882a593Smuzhiyun
47*4882a593Smuzhiyun* TI DaVinci DM355 EVM:
48*4882a593Smuzhiyun
49*4882a593Smuzhiyunmake davinci_dm355evm_config
50*4882a593Smuzhiyunmake
51*4882a593Smuzhiyun
52*4882a593Smuzhiyun* TI DaVinci DM365 EVM:
53*4882a593Smuzhiyun
54*4882a593Smuzhiyunmake davinci_dm365evm_config
55*4882a593Smuzhiyunmake
56*4882a593Smuzhiyun
57*4882a593Smuzhiyun* TI DA830 EVM:
58*4882a593Smuzhiyun
59*4882a593Smuzhiyunmake da830evm_config
60*4882a593Smuzhiyunmake
61*4882a593Smuzhiyun
62*4882a593Smuzhiyun* TI DA850 EVM:
63*4882a593Smuzhiyun
64*4882a593Smuzhiyunmake da850evm_config
65*4882a593Smuzhiyunmake
66*4882a593Smuzhiyun
67*4882a593Smuzhiyun* DM355 based Leopard board:
68*4882a593Smuzhiyun
69*4882a593Smuzhiyunmake davinci_dm355leopard_config
70*4882a593Smuzhiyunmake
71*4882a593Smuzhiyun
72*4882a593Smuzhiyun* DM644x based schmoogie board:
73*4882a593Smuzhiyun
74*4882a593Smuzhiyunmake davinci_schmoogie_config
75*4882a593Smuzhiyunmake
76*4882a593Smuzhiyun
77*4882a593Smuzhiyun* DM644x based sffsdr board:
78*4882a593Smuzhiyun
79*4882a593Smuzhiyunmake davinci_sffsdr_config
80*4882a593Smuzhiyunmake
81*4882a593Smuzhiyun
82*4882a593Smuzhiyun* DM644x based sonata board:
83*4882a593Smuzhiyun
84*4882a593Smuzhiyunmake davinci_sonata_config
85*4882a593Smuzhiyunmake
86*4882a593Smuzhiyun
87*4882a593SmuzhiyunBootloaders
88*4882a593Smuzhiyun===============
89*4882a593Smuzhiyun
90*4882a593SmuzhiyunThe DaVinci SOC's use 2 bootloaders. The low level initialization
91*4882a593Smuzhiyunis done by a UBL(user boot loader). The UBL is written to a NAND/NOR/SPI flash
92*4882a593Smuzhiyunby a programmer. During initial bootup, the ROM Bootloader reads the UBL
93*4882a593Smuzhiyunfrom a storage device and loads it into the IRAM. The UBL then loads the U-Boot
94*4882a593Smuzhiyuninto the RAM.
95*4882a593SmuzhiyunThe programmers and UBL are always released as part of any standard TI
96*4882a593Smuzhiyunsoftware release associated with an SOC.
97*4882a593Smuzhiyun
98*4882a593SmuzhiyunAlternative boot method (DA850 EVM only):
99*4882a593SmuzhiyunFor the DA850 EVM an SPL (secondary program loader, see doc/README.SPL)
100*4882a593Smuzhiyunis provided to load U-Boot directly from SPI flash. In this case, the
101*4882a593SmuzhiyunSPL does the low level initialization that is otherwise done by the SPL.
102*4882a593SmuzhiyunTo build U-Boot with this SPL, do
103*4882a593Smuzhiyunmake da850evm_config
104*4882a593Smuzhiyunmake u-boot.ais
105*4882a593Smuzhiyunand program the resulting u-boot.ais file to the SPI flash of the DA850 EVM.
106*4882a593Smuzhiyun
107*4882a593SmuzhiyunEnvironment Variables
108*4882a593Smuzhiyun=====================
109*4882a593Smuzhiyun
110*4882a593SmuzhiyunThe DA850 EVM allows the user to specify the maximum cpu clock allowed by the
111*4882a593Smuzhiyunsilicon, in Hz, via an environment variable "maxcpuclk".
112*4882a593Smuzhiyun
113*4882a593SmuzhiyunThe maximum clock rate allowed depends on the silicon populated on the EVM.
114*4882a593SmuzhiyunPlease make sure you understand the restrictions placed on this clock in the
115*4882a593Smuzhiyundevice specific datasheet before setting up this variable. This information is
116*4882a593Smuzhiyunpassed to the Linux kernel using the ATAG_REVISION atag.
117*4882a593Smuzhiyun
118*4882a593SmuzhiyunIf "maxcpuclk" is not defined, the configuration CONFIG_DA850_EVM_MAX_CPU_CLK
119*4882a593Smuzhiyunis used to obtain this information.
120*4882a593Smuzhiyun
121*4882a593SmuzhiyunLinks
122*4882a593Smuzhiyun=====
123*4882a593Smuzhiyun
124*4882a593Smuzhiyun1) TI DaVinci DM355 EVM:
125*4882a593Smuzhiyunhttp://focus.ti.com/docs/prod/folders/print/tms320dm355.html
126*4882a593Smuzhiyunhttp://www.spectrumdigital.com/product_info.php?cPath=103&products_id=203&osCsid=c499af6087317f11b3da19b4e8f1af32
127*4882a593Smuzhiyun
128*4882a593Smuzhiyun2) TI DaVinci DM365 EVM:
129*4882a593Smuzhiyunhttp://focus.ti.com/docs/prod/folders/print/tms320dm365.html?247SEM=
130*4882a593Smuzhiyunhttp://support.spectrumdigital.com/boards/evmdm365/revc/
131*4882a593Smuzhiyun
132*4882a593Smuzhiyun3) DaVinci DM355 based leopard board
133*4882a593Smuzhiyunhttp://designsomething.org/leopardboard/default.aspx
134*4882a593Smuzhiyunhttp://www.spectrumdigital.com/product_info.php?cPath=103&products_id=192&osCsid=67c20335668ffc57cb35727106eb24b1
135*4882a593Smuzhiyun
136*4882a593Smuzhiyun4) TI DaVinci DM6467 EVM:
137*4882a593Smuzhiyunhttp://focus.ti.com/docs/prod/folders/print/tms320dm6467.html
138*4882a593Smuzhiyunhttp://support.spectrumdigital.com/boards/evmdm6467/revf/
139*4882a593Smuzhiyun
140*4882a593Smuzhiyun5) TI DaVinci DM6446 EVM:
141*4882a593Smuzhiyunhttp://focus.ti.com/docs/prod/folders/print/tms320dm6446.html
142*4882a593Smuzhiyunhttp://www.spectrumdigital.com/product_info.php?cPath=103&products_id=222
143*4882a593Smuzhiyun
144*4882a593Smuzhiyun6) TI DA830 EVM
145*4882a593Smuzhiyunhttp://focus.ti.com/apps/docs/gencontent.tsp?appId=1&contentId=52385
146*4882a593Smuzhiyunhttp://www.spectrumdigital.com/product_info.php?cPath=37&products_id=214
147*4882a593Smuzhiyun
148*4882a593Smuzhiyun7) TI DA850 EVM
149*4882a593Smuzhiyunhttp://focus.ti.com/docs/prod/folders/print/omap-l138.html
150*4882a593Smuzhiyunhttp://www.logicpd.com/products/development-kits/zoom-omap-l138-evm-development-kit
151*4882a593Smuzhiyun
152*4882a593SmuzhiyunDavinci special defines
153*4882a593Smuzhiyun=======================
154*4882a593Smuzhiyun
155*4882a593SmuzhiyunCONFIG_SYS_DV_NOR_BOOT_CFG:	AM18xx based boards, booting in NOR Boot mode
156*4882a593Smuzhiyun				need a "NOR Boot Configuration Word" stored
157*4882a593Smuzhiyun				in the NOR Flash. This define adds this.
158*4882a593Smuzhiyun				More Info about this, see:
159*4882a593Smuzhiyun				spraba5a.pdf chapter 3.1
160