blob: 6227151f8e974878459ea05ad92ce1ba0c2415a7 [file] [log] [blame]
Dirk Behmef904cdb2009-01-27 18:19:12 +01001
2Summary
3=======
4
5This README is about U-Boot support for TI's ARM Cortex-A8 based OMAP3 [1]
6family of SoCs. TI's OMAP3 SoC family contains an ARM Cortex-A8. Additionally,
7some family members contain a TMS320C64x+ DSP and/or an Imagination SGX 2D/3D
8graphics processor and various other standard peripherals.
9
10Currently the following boards are supported:
11
12* OMAP3530 BeagleBoard [2]
13
Dirk Behme9d0fc812009-01-28 21:39:57 +010014* Gumstix Overo [3]
15
Dirk Behmead9bc8e2009-01-28 21:39:58 +010016* TI EVM [4]
17
Dirk Behme2be2c6c2009-01-28 21:39:58 +010018* OpenPandora Ltd. Pandora [5]
19
Dirk Behme7379f452009-01-28 21:40:16 +010020* TI/Logic PD Zoom MDK [6]
21
Tom Rix376aee72009-05-15 23:48:36 +020022* TI/Logic PD Zoom 2 [7]
23
Dirk Behmef904cdb2009-01-27 18:19:12 +010024Toolchain
25=========
26
27While ARM Cortex-A8 support ARM v7 instruction set (-march=armv7a) we compile
28with -march=armv5 to allow more compilers to work. For U-Boot code this has
29no performance impact.
30
31Build
32=====
33
34* BeagleBoard:
35
36make omap3_beagle_config
37make
38
Dirk Behme9d0fc812009-01-28 21:39:57 +010039* Gumstix Overo:
40
41make omap3_overo_config
42make
43
Dirk Behmead9bc8e2009-01-28 21:39:58 +010044* TI EVM:
45
46make omap3_evm_config
47make
48
Dirk Behme2be2c6c2009-01-28 21:39:58 +010049* Pandora:
50
51make omap3_pandora_config
52make
53
Dirk Behme7379f452009-01-28 21:40:16 +010054* Zoom MDK:
55
56make omap3_zoom1_config
57make
58
Tom Rix376aee72009-05-15 23:48:36 +020059* Zoom 2:
60
61make omap3_zoom2_config
62make
63
Dirk Behmef904cdb2009-01-27 18:19:12 +010064Custom commands
65===============
66
67To make U-Boot for OMAP3 support NAND device SW or HW ECC calculation, U-Boot
68for OMAP3 supports custom user command
69
70nandecc hw/sw
71
72To be compatible with NAND drivers using SW ECC (e.g. kernel code)
73
74nandecc sw
75
76enables SW ECC calculation. HW ECC enabled with
77
78nandecc hw
79
80is typically used to write 2nd stage bootloader (known as 'x-loader') which is
81executed by OMAP3's boot rom and therefore has to be written with HW ECC.
82
83For all other commands see
84
85help
86
Tom Rix0c872ec2009-05-15 23:48:36 +020087Interfaces
88==========
89
90gpio
91
92To set a bit :
93
94 if (!omap_request_gpio(N)) {
95 omap_set_gpio_direction(N, 0);
96 omap_set_gpio_dataout(N, 1);
97 }
98
99To clear a bit :
100
101 if (!omap_request_gpio(N)) {
102 omap_set_gpio_direction(N, 0);
103 omap_set_gpio_dataout(N, 0);
104 }
105
106To read a bit :
107
108 if (!omap_request_gpio(N)) {
Tom Rix7caa13f2009-06-03 01:53:55 -0500109 omap_set_gpio_direction(N, 1);
Tom Rix0c872ec2009-05-15 23:48:36 +0200110 val = omap_get_gpio_datain(N);
111 omap_free_gpio(N);
112 }
113 if (val)
114 printf("GPIO N is set\n");
115 else
116 printf("GPIO N is clear\n");
117
118
Dirk Behmef904cdb2009-01-27 18:19:12 +0100119Acknowledgements
120================
121
Tom Rix376aee72009-05-15 23:48:36 +0200122OMAP3 U-Boot is based on U-Boot tar ball [8] for BeagleBoard and EVM done by
Dirk Behmef904cdb2009-01-27 18:19:12 +0100123several TI employees.
124
125Links
126=====
127
128[1] OMAP3:
129
130http://www.ti.com/omap3 (high volume) and
131http://www.ti.com/omap35x (broad market)
132
133[2] OMAP3530 BeagleBoard:
134
135http://beagleboard.org/
136
Dirk Behme9d0fc812009-01-28 21:39:57 +0100137[3] Gumstix Overo:
138
139http://www.gumstix.net/Overo/
140
Dirk Behmead9bc8e2009-01-28 21:39:58 +0100141[4] TI EVM:
142
143http://focus.ti.com/docs/toolsw/folders/print/tmdxevm3503.html
144
Dirk Behme2be2c6c2009-01-28 21:39:58 +0100145[5] OpenPandora Ltd. Pandora:
146
147http://openpandora.org/
148
Dirk Behme7379f452009-01-28 21:40:16 +0100149[6] TI/Logic PD Zoom MDK:
150
151http://www.logicpd.com/products/devkit/ti/zoom_mobile_development_kit
152
Tom Rix376aee72009-05-15 23:48:36 +0200153[7] TI/Logic PD Zoom 2
154
155http://www.logicpd.com/sites/default/files/1012659A_Zoom_OMAP34x-II_MDP_Brief.pdf
156[8] TI OMAP3 U-Boot:
Dirk Behmef904cdb2009-01-27 18:19:12 +0100157
158http://beagleboard.googlecode.com/files/u-boot_beagle_revb.tar.gz