summaryrefslogtreecommitdiff
path: root/doc/README.omap3
diff options
context:
space:
mode:
Diffstat (limited to 'doc/README.omap3')
-rw-r--r--doc/README.omap347
1 files changed, 45 insertions, 2 deletions
diff --git a/doc/README.omap3 b/doc/README.omap3
index 1ba307f..66e781d 100644
--- a/doc/README.omap3
+++ b/doc/README.omap3
@@ -19,6 +19,8 @@ Currently the following boards are supported:
* TI/Logic PD Zoom MDK [6]
+* TI/Logic PD Zoom 2 [7]
+
Toolchain
=========
@@ -54,6 +56,11 @@ make
make omap3_zoom1_config
make
+* Zoom 2:
+
+make omap3_zoom2_config
+make
+
Custom commands
===============
@@ -77,10 +84,42 @@ For all other commands see
help
+Interfaces
+==========
+
+gpio
+
+To set a bit :
+
+ if (!omap_request_gpio(N)) {
+ omap_set_gpio_direction(N, 0);
+ omap_set_gpio_dataout(N, 1);
+ }
+
+To clear a bit :
+
+ if (!omap_request_gpio(N)) {
+ omap_set_gpio_direction(N, 0);
+ omap_set_gpio_dataout(N, 0);
+ }
+
+To read a bit :
+
+ if (!omap_request_gpio(N)) {
+ omap_set_gpio_direction(N, 1);
+ val = omap_get_gpio_datain(N);
+ omap_free_gpio(N);
+ }
+ if (val)
+ printf("GPIO N is set\n");
+ else
+ printf("GPIO N is clear\n");
+
+
Acknowledgements
================
-OMAP3 U-Boot is based on U-Boot tar ball [7] for BeagleBoard and EVM done by
+OMAP3 U-Boot is based on U-Boot tar ball [8] for BeagleBoard and EVM done by
several TI employees.
Links
@@ -111,6 +150,10 @@ http://openpandora.org/
http://www.logicpd.com/products/devkit/ti/zoom_mobile_development_kit
-[7] TI OMAP3 U-Boot:
+[7] TI/Logic PD Zoom 2
+
+http://www.logicpd.com/sites/default/files/1012659A_Zoom_OMAP34x-II_MDP_Brief.pdf
+[8] TI OMAP3 U-Boot:
http://beagleboard.googlecode.com/files/u-boot_beagle_revb.tar.gz
+