Skip to contentSkip to conversation

new IGEP board support

PATCH Superseded [Enric Balletbo i Serra 3 participants 8 messages Feb 7, 2013 – Mar 15, 2013

lore
Share & tools
lore
#0 lore raw

v2 cover new IGEP board support

From: Enric Balletbo i Serra <[email protected]>

Hi all,

This is the second version to add support to the IGEP COM PROTON board in current mainline.

These patches applies on top of u-boot-ti repository as the following patch is required.

OMAP3: use a single board file for IGEP devices
commit 076be4528851126b56f2c1b84d07834297797f6c
From Javier Martinez Canillas

Changes since v1:
* Only define CONFIG_SHOW_BOOT_PROGRESS for the machines that have a boot progress (thanks to Javier)
* Also define CONFIG_CMD_NET on IGEP0032 machine (thanks to Javier)
* Add new patch in the serie to fix a missing include.

Thanks a lot for your comments,

Enric Balletbo i Serra (3):
OMAP3: igep00x0: use official board names.
OMAP3: igep00x0: add missing include mach-types.h in config.
OMAP3: igep00x0: Add new IGEP COM PROTON.

 MAINTAINERS                    |    1 +
 board/isee/igep00x0/igep00x0.h |    7 +++++--
 boards.cfg                     |    1 +
 include/configs/igep00x0.h     |    7 ++++++-
 4 files changed, 13 insertions(+), 3 deletions(-)
Signature · 1 line
1.7.10.4
#1 lore raw

PATCH v2 1/3 OMAP3: igep00x0: use official board names.

From: Enric Balletbo i Serra <[email protected]>

This trivial patch only changes current boards names for the official names.

---
 board/isee/igep00x0/igep00x0.h |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
board/isee/igep00x0/igep00x0.h +2 -2
index fefdb89..dbc7cf6 100644
@@ -34,10 +34,10 @@
 const omap3_sysinfo sysinfo = {
 	DDR_STACKED,
 #if (CONFIG_MACH_TYPE == MACH_TYPE_IGEP0020)
-	"OMAP3 IGEP v2 board",
+	"IGEPv2",
 #endif
 #if (CONFIG_MACH_TYPE == MACH_TYPE_IGEP0030)
-	"OMAP3 IGEP COM Module",
+	"IGEP COM MODULE/ELECTRON",
 #endif
 #if defined(CONFIG_ENV_IS_IN_ONENAND)
 	"ONENAND",
Signature · 1 line
1.7.10.4
#2 lore raw

PATCH v2 1/3 OMAP3: igep00x0: use official board names.

Quoted 6 lines · Enric Balletbo i Serra

From: Enric Balletbo i Serra <[email protected]>

This trivial patch only changes current boards names for the official names.

This as well as the rest of the series are now 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/20130219/036ca4e7/attachment.pgp>
#3 lore raw

PATCH v2 2/3 OMAP3: igep00x0: add missing include mach-types.h

In reply to [Enric Balletbo i Serra

From: Enric Balletbo i Serra <[email protected]>

Current '#if' directives (used in igep00x0.h config file) comparing MACH_TYPE values in igep00x0.h doesn't work as expected. The comparision between CONFIG_MACH_TYPE and MACH_TYPE_IGEP0020 is always true independent of the IGEP machine configured.

For example, following directive

if (CONFIG_MACH_TYPE == MACH_TYPE_IGEP0020)
define something
endif

Is always evaluated true although we configure u-boot for MACH_TYPE_IGEP0030.

The build doesn't shows any error so looks that both defines had always the same value. Including the mach-types.h file sets properly the value of MACH_TYPE_IGEPxxxx.

---
 include/configs/igep00x0.h |    1 +
 1 file changed, 1 insertion(+)
include/configs/igep00x0.h +1 -0
index 0e7f924..0e539ef 100644
@@ -36,6 +36,7 @@
 
 #include <asm/arch/cpu.h>
 #include <asm/arch/omap3.h>
+#include <asm/mach-types.h>
 
 /*
  * Display CPU and Board information
Signature · 1 line
1.7.10.4
#4 lore raw

PATCH v2 3/3 OMAP3: igep00x0: Add new IGEP COM PROTON.

In reply to [Enric Balletbo i Serra

From: Enric Balletbo i Serra <[email protected]>

The IGEP COM PROTON is a new ultra compact module design with an on-board ethernet controller.

---
 MAINTAINERS                    |    1 +
 board/isee/igep00x0/igep00x0.h |    3 +++
 boards.cfg                     |    1 +
 include/configs/igep00x0.h     |    6 +++++-
 4 files changed, 10 insertions(+), 1 deletion(-)
MAINTAINERS +1 -0
index d3ed390..1aed6d9 100644
@@ -607,6 +607,7 @@ Enric Balletbo i Serra <[email protected]>
 
 	igep0020	ARM ARMV7 (OMAP3xx SoC)
 	igep0030	ARM ARMV7 (OMAP3xx SoC)
+	igep0032	ARM ARMV7 (OMAP3xx SoC)
 
 Eric Benard <[email protected]>
 
board/isee/igep00x0/igep00x0.h +3 -0
index dbc7cf6..f5fce9c 100644
@@ -39,6 +39,9 @@ const omap3_sysinfo sysinfo = {
 #if (CONFIG_MACH_TYPE == MACH_TYPE_IGEP0030)
 	"IGEP COM MODULE/ELECTRON",
 #endif
+#if (CONFIG_MACH_TYPE == MACH_TYPE_IGEP0032)
+	"IGEP COM PROTON",
+#endif
 #if defined(CONFIG_ENV_IS_IN_ONENAND)
 	"ONENAND",
 #else
boards.cfg +1 -0
index 691a32a..8453836 100644
@@ -259,6 +259,7 @@ igep0020                     arm         armv7       igep00x0            isee
 igep0020_nand                arm         armv7       igep00x0            isee           omap3		igep00x0:MACH_TYPE=MACH_TYPE_IGEP0020,BOOT_NAND
 igep0030                     arm         armv7       igep00x0            isee           omap3		igep00x0:MACH_TYPE=MACH_TYPE_IGEP0030,BOOT_ONENAND
 igep0030_nand                arm         armv7       igep00x0            isee           omap3		igep00x0:MACH_TYPE=MACH_TYPE_IGEP0030,BOOT_NAND
+igep0032                     arm         armv7       igep00x0            isee           omap3		igep00x0:MACH_TYPE=MACH_TYPE_IGEP0032,BOOT_ONENAND
 am3517_evm                   arm         armv7       am3517evm           logicpd        omap3
 mt_ventoux                   arm         armv7       mt_ventoux          teejet         omap3
 omap3_zoom1                  arm         armv7       zoom1               logicpd        omap3
include/configs/igep00x0.h +5 -1
index 0e539ef..559e375 100644
@@ -87,7 +87,10 @@
 #define CONFIG_DOS_PARTITION		1
 
 /* define to enable boot progress via leds */
+#if (CONFIG_MACH_TYPE == MACH_TYPE_IGEP0020) || \
+    (CONFIG_MACH_TYPE == MACH_TYPE_IGEP0030)
 #define CONFIG_SHOW_BOOT_PROGRESS
+#endif
 
 /* USB */
 #define CONFIG_MUSB_UDC			1
@@ -119,7 +122,8 @@
 #ifdef CONFIG_BOOT_NAND
 #define CONFIG_CMD_NAND
 #endif
-#if (CONFIG_MACH_TYPE == MACH_TYPE_IGEP0020)
+#if (CONFIG_MACH_TYPE == MACH_TYPE_IGEP0020) || \
+    (CONFIG_MACH_TYPE == MACH_TYPE_IGEP0032)
 #define CONFIG_CMD_NET		/* bootp, tftpboot, rarpboot	*/
 #endif
 #define CONFIG_CMD_DHCP
Signature · 1 line
1.7.10.4
#5 lore raw

v2 cover new IGEP board support

In reply to [Enric Balletbo i Serra
Quoted 20 lines · [Enric Balletbo i Serra

From: Enric Balletbo i Serra <[email protected]>

Hi all,

This is the second version to add support to the IGEP COM PROTON board in current mainline.

These patches applies on top of u-boot-ti repository as the following patch is required.

OMAP3: use a single board file for IGEP devices
commit 076be4528851126b56f2c1b84d07834297797f6c
From Javier Martinez Canillas

Changes since v1:
* Only define CONFIG_SHOW_BOOT_PROGRESS for the machines that have a boot progress (thanks to Javier)
* Also define CONFIG_CMD_NET on IGEP0032 machine (thanks to Javier)
* Add new patch in the serie to fix a missing include.

Quoted 7 lines

Thanks a lot for your comments,

Enric Balletbo i Serra (3):
OMAP3: igep00x0: use official board names.
OMAP3: igep00x0: add missing include mach-types.h in config.
OMAP3: igep00x0: Add new IGEP COM PROTON.

For all the patches:

#6 lore raw

v2 cover new IGEP board support

Hi Tom,

Any comments on these patch series ?

2013/2/7 Javier Martinez Canillas <[email protected]>:

Quoted 33 lines
Quoted 20 lines · [Enric Balletbo i Serra

From: Enric Balletbo i Serra <[email protected]>

Hi all,

This is the second version to add support to the IGEP COM PROTON board in current mainline.

These patches applies on top of u-boot-ti repository as the following patch is required.

OMAP3: use a single board file for IGEP devices
commit 076be4528851126b56f2c1b84d07834297797f6c
From Javier Martinez Canillas

Changes since v1:
* Only define CONFIG_SHOW_BOOT_PROGRESS for the machines that have a boot progress (thanks to Javier)
* Also define CONFIG_CMD_NET on IGEP0032 machine (thanks to Javier)
* Add new patch in the serie to fix a missing include.

Quoted 7 lines

Thanks a lot for your comments,

Enric Balletbo i Serra (3):
OMAP3: igep00x0: use official board names.
OMAP3: igep00x0: add missing include mach-types.h in config.
OMAP3: igep00x0: Add new IGEP COM PROTON.

For all the patches:

#7 lore raw

v2 cover new IGEP board support

Quoted 38 lines · Enric Balletbo Serra

Hi Tom,

Any comments on these patch series ?

2013/2/7 Javier Martinez Canillas <[email protected]>:

Quoted 33 lines
Quoted 20 lines · [Enric Balletbo i Serra

From: Enric Balletbo i Serra <[email protected]>

Hi all,

This is the second version to add support to the IGEP COM PROTON board in current mainline.

These patches applies on top of u-boot-ti repository as the following patch is required.

OMAP3: use a single board file for IGEP devices
commit 076be4528851126b56f2c1b84d07834297797f6c
From Javier Martinez Canillas

Changes since v1:
* Only define CONFIG_SHOW_BOOT_PROGRESS for the machines that have a boot progress (thanks to Javier)
* Also define CONFIG_CMD_NET on IGEP0032 machine (thanks to Javier)
* Add new patch in the serie to fix a missing include.

Quoted 7 lines

Thanks a lot for your comments,

Enric Balletbo i Serra (3):
OMAP3: igep00x0: use official board names.
OMAP3: igep00x0: add missing include mach-types.h in config.
OMAP3: igep00x0: Add new IGEP COM PROTON.

For all the patches:

Sorry, applied to u-boot-ti/master and already now part of u-boot-arm/master.

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/20130315/6332e7a9/attachment.pgp>