Skip to contentSkip to conversation

omap4: duovero: Add Gumstix DuoVero machine.

PATCH New Ash Charles 2 participants 2 messages May 14, 2014 – May 23, 2014

lore
Share & tools
lore
#0 lore raw

PATCH v3 1/1 omap4: duovero: Add Gumstix DuoVero machine.

This adds the Gumstix DuoVero machine [1]. This is a OMAP4430-based computer-on-module (COM aka SOM) that can be mounted on various expansion boards with different peripherals.

[1] https://store.gumstix.com/index.php/category/43/

---
 board/gumstix/duovero/Makefile           |   8 +
 board/gumstix/duovero/duovero.c          | 264 +++++++++++++++++++++++++++++++
 board/gumstix/duovero/duovero_mux_data.h | 199 +++++++++++++++++++++++
 boards.cfg                               |   1 +
 include/configs/duovero.h                |  62 ++++++++
 include/configs/ti_omap4_common.h        |   9 ++
 6 files changed, 543 insertions(+)
 create mode 100644 board/gumstix/duovero/Makefile
 create mode 100644 board/gumstix/duovero/duovero.c
 create mode 100644 board/gumstix/duovero/duovero_mux_data.h
 create mode 100644 include/configs/duovero.h
board/gumstix/duovero/Makefile new file +8 -0
new file mode 100644
index 0000000..f738c58
@@ -0,0 +1,8 @@
+#
+# (C) Copyright 2000, 2001, 2002
+# Wolfgang Denk, DENX Software Engineering, wd at denx.de.
+#
+# SPDX-License-Identifier:	GPL-2.0+
+#
+
+obj-y	:= duovero.o
board/gumstix/duovero/duovero.c new file +264 -0

264 lines not on this page · raw message

board/gumstix/duovero/duovero_mux_data.h new file +199 -0

199 lines not on this page · raw message

boards.cfg +1 -0
index 9d90550..88b385a 100644
@@ -358,6 +358,7 @@ Active  arm         armv7          omap3       ti              evm
 Active  arm         armv7          omap3       ti              evm                 omap3_evm_quick_nand                  -                                                                                                                                 -
 Active  arm         armv7          omap3       ti              sdp3430             omap3_sdp3430                         -                                                                                                                                 Nishanth Menon <[email protected]>
 Active  arm         armv7          omap3       timll           devkit8000          devkit8000                            -                                                                                                                                 Thomas Weber <[email protected]>
+Active  arm         armv7          omap4       gumstix         duovero             duovero                               -                                                                                                                                 Ash Charles <[email protected]>
 Active  arm         armv7          omap4       ti              panda               omap4_panda                           -                                                                                                                                 Sricharan R <[email protected]>
 Active  arm         armv7          omap4       ti              sdp4430             omap4_sdp4430                         -                                                                                                                                 Sricharan R <[email protected]>
 Active  arm         armv7          omap5       ti              dra7xx              dra7xx_evm                            dra7xx_evm:CONS_INDEX=1                                                                                                           Lokesh Vutla <[email protected]>
include/configs/duovero.h new file +62 -0

62 lines not on this page · raw message

include/configs/ti_omap4_common.h +9 -0
index 77fbfb6..44b3718 100644
@@ -109,9 +109,13 @@
 	"importbootenv=echo Importing environment from mmc${mmcdev} ...; " \
 		"env import -t ${loadaddr} ${filesize}\0" \
 	"loadimage=load mmc ${bootpart} ${loadaddr} ${bootdir}/${bootfile}\0" \
+	"loaduimage=load mmc ${mmcdev} ${loadaddr} uImage\0" \
 	"mmcboot=echo Booting from mmc${mmcdev} ...; " \
 		"run mmcargs; " \
 		"bootz ${loadaddr} - ${fdtaddr}\0" \
+	"uimageboot=echo Booting from mmc${mmcdev} ...; " \
+		"run mmcargs; " \
+		"bootm ${loadaddr}\0" \
 	"findfdt="\
 		"if test $board_name = sdp4430; then " \
 			"setenv fdtfile omap4-sdp.dtb; fi; " \
@@ -121,6 +125,8 @@
 			"setenv fdtfile omap4-panda-a4.dtb; fi;" \
 		"if test $board_name = panda-es; then " \
 			"setenv fdtfile omap4-panda-es.dtb; fi;" \
+		"if test $board_name = duovero; then " \
+			"setenv fdtfile omap4-duovero.dtb; fi;" \
 		"if test $fdtfile = undefined; then " \
 			"echo WARNING: Could not determine device tree to use; fi; \0" \
 	"loadfdt=load mmc ${bootpart} ${fdtaddr} ${bootdir}/${fdtfile}\0" \
@@ -144,6 +150,9 @@
 			"run loadfdt;" \
 			"run mmcboot; " \
 		"fi; " \
+		"if run loaduimage; then " \
+			"run uimageboot;" \
+		"fi; " \
 	"fi"
 
 /*
Signature · 1 line
1.8.3.2
#1 lore raw

PATCH v3 1/1 omap4: duovero: Add Gumstix DuoVero machine.

Quoted 8 lines · Ash Charles

This adds the Gumstix DuoVero machine [1]. This is a OMAP4430-based computer-on-module (COM aka SOM) that can be mounted on various expansion boards with different peripherals.

[1] https://store.gumstix.com/index.php/category/43/

After renaming enable_gpmc_cs_config to enable_gpmc_net_config (due to Pekon's series), applied to u-boot-ti/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140523/846227c2/attachment.pgp>