Skip to contentSkip to conversation

arm: imx: Add support for GE Bx50v3 boards

PATCH Superseded Akshay Bhat 4 participants 8 messages Jan 29, 2016 – Mar 9, 2016 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 arm: imx: Add support for GE Bx50v3 boards

Add support for GE B450v3, B650v3 and B850v3 boards. The boards are based on Advantech BA16 module which has a i.MX6D processor. The boards support:
- FEC Ethernet
- USB Ports
- SDHC and MMC boot
- SPI NOR
- LVDS and HDMI display

Basic information about the module:
- Module manufacturer: Advantech
- CPU: Freescale ARM Cortex-A9 i.MX6D
- SPECS:
Up to 2GB Onboard DDR3 Memory;
Up to 16GB Onboard eMMC NAND Flash Supports OpenGL ES 2.0 and OpenVG 1.1 HDMI, 24-bit LVDS
1x UART, 2x I2C, 8x GPIO,
4x Host USB 2.0 port, 1x USB OTG port, 1x micro SD (SDHC),1x SDIO, 1x SATA II, 1x 10/100/1000 Mbps Ethernet, 1x PCIe X1 Gen2

---

Changes in v2:
- Address comments from Peng Fan:
- Use static for iomux definitions and imx6_rgmii_rework()
- Use IS_ENABLED instead of ifdef in detect_baseboard()
- Remove unused BMODE cmd
- Get rid of CONFIG_SYS_EXTRA_OPTIONS and use Kconfig
- Get rid of unused CONFIG_SYS_RECOVERY and CONFIG_ENV_IS_IN_MMC
- Cleanup incorrect comments
- Move gpio and display setup from board_early_init_f to board_init

 arch/arm/cpu/armv7/mx6/Kconfig |  13 +
 board/ge/bx50v3/Kconfig        |  18 ++
 board/ge/bx50v3/MAINTAINERS    |   8 +
 board/ge/bx50v3/Makefile       |   8 +
 board/ge/bx50v3/bx50v3.c       | 533 +++++++++++++++++++++++++++++++++++++++++
 board/ge/bx50v3/bx50v3.cfg     | 151 ++++++++++++
 configs/ge_b450v3_defconfig    |   8 +
 configs/ge_b650v3_defconfig    |   8 +
 configs/ge_b850v3_defconfig    |   8 +
 include/configs/ge_bx50v3.h    | 349 +++++++++++++++++++++++++++
 10 files changed, 1104 insertions(+)
 create mode 100644 board/ge/bx50v3/Kconfig
 create mode 100644 board/ge/bx50v3/MAINTAINERS
 create mode 100644 board/ge/bx50v3/Makefile
 create mode 100644 board/ge/bx50v3/bx50v3.c
 create mode 100644 board/ge/bx50v3/bx50v3.cfg
 create mode 100644 configs/ge_b450v3_defconfig
 create mode 100644 configs/ge_b650v3_defconfig
 create mode 100644 configs/ge_b850v3_defconfig
 create mode 100644 include/configs/ge_bx50v3.h
arch/arm/cpu/armv7/mx6/Kconfig +13 -0
index 8489182..722e0d0 100644
@@ -60,6 +60,18 @@ config TARGET_CM_FX6
 config TARGET_EMBESTMX6BOARDS
 	bool "embestmx6boards"
 
+config TARGET_GE_B450V3
+	bool "General Electric B450v3"
+	select MX6Q
+
+config TARGET_GE_B650V3
+	bool "General Electric B650v3"
+	select MX6Q
+
+config TARGET_GE_B850V3
+	bool "General Electric B850v3"
+	select MX6Q
+
 config TARGET_GW_VENTANA
 	bool "gw_ventana"
 	select SUPPORT_SPL
@@ -153,6 +165,7 @@ endchoice
 config SYS_SOC
 	default "mx6"
 
+source "board/ge/bx50v3/Kconfig"
 source "board/aristainetos/Kconfig"
 source "board/bachmann/ot1200/Kconfig"
 source "board/barco/platinum/Kconfig"
board/ge/bx50v3/Kconfig new file +18 -0
new file mode 100644
index 0000000..d50dece
@@ -0,0 +1,18 @@
+if TARGET_GE_B450V3 || TARGET_GE_B650V3 || TARGET_GE_B850V3
+
+config IMX_CONFIG
+	default "board/ge/bx50v3/bx50v3.cfg"
+
+config SYS_BOARD
+	default "bx50v3"
+
+config SYS_VENDOR
+	default "ge"
+
+config SYS_SOC
+	default "mx6"
+
+config SYS_CONFIG_NAME
+	default "ge_bx50v3"
+
+endif
board/ge/bx50v3/MAINTAINERS new file +8 -0
new file mode 100644
index 0000000..8e60791
@@ -0,0 +1,8 @@
+GE_BX50V3 BOARD
+M:	Martin Donnelly <[email protected]>
+S:	Maintained
+F:	board/ge/bx50v3/
+F:	include/configs/ge_bx50v3.h
+F:	configs/ge_b450v3_defconfig
+F:	configs/ge_b650v3_defconfig
+F:	configs/ge_b850v3_defconfig
board/ge/bx50v3/Makefile new file +8 -0
new file mode 100644
index 0000000..bcd149f
@@ -0,0 +1,8 @@
+#
+# Copyright 2015 Timesys Corporation
+# Copyright 2015 General Electric Company
+#
+# SPDX-License-Identifier:	GPL-2.0+
+#
+
+obj-y  := bx50v3.o
board/ge/bx50v3/bx50v3.c new file +533 -0

533 lines not on this page · raw message

board/ge/bx50v3/bx50v3.cfg new file +151 -0

151 lines not on this page · raw message

configs/ge_b450v3_defconfig new file +8 -0
new file mode 100644
index 0000000..02873ce
@@ -0,0 +1,8 @@
+CONFIG_ARM=y
+CONFIG_ARCH_MX6=y
+CONFIG_TARGET_GE_B450V3=y
+# CONFIG_CMD_IMLS is not set
+# CONFIG_CMD_FLASH is not set
+CONFIG_CMD_GPIO=y
+CONFIG_SPI_FLASH=y
+CONFIG_SPI_FLASH_STMICRO=y
configs/ge_b650v3_defconfig new file +8 -0
new file mode 100644
index 0000000..3d10b35
@@ -0,0 +1,8 @@
+CONFIG_ARM=y
+CONFIG_ARCH_MX6=y
+CONFIG_TARGET_GE_B650V3=y
+# CONFIG_CMD_IMLS is not set
+# CONFIG_CMD_FLASH is not set
+CONFIG_CMD_GPIO=y
+CONFIG_SPI_FLASH=y
+CONFIG_SPI_FLASH_STMICRO=y
configs/ge_b850v3_defconfig new file +8 -0
new file mode 100644
index 0000000..e3f4a0a
@@ -0,0 +1,8 @@
+CONFIG_ARM=y
+CONFIG_ARCH_MX6=y
+CONFIG_TARGET_GE_B850V3=y
+# CONFIG_CMD_IMLS is not set
+# CONFIG_CMD_FLASH is not set
+CONFIG_CMD_GPIO=y
+CONFIG_SPI_FLASH=y
+CONFIG_SPI_FLASH_STMICRO=y
include/configs/ge_bx50v3.h new file +349 -0

349 lines not on this page · raw message

Signature · 1 line
2.7.0
#1 lore raw

PATCH v2 1/1 arm: imx: Add support for GE Bx50v3 boards

Hi Akshay,

Quoted 22 lines · Akshay Bhat

Add support for GE B450v3, B650v3 and B850v3 boards. The boards are based on Advantech BA16 module which has a i.MX6D processor. The boards support:
- FEC Ethernet
- USB Ports
- SDHC and MMC boot
- SPI NOR
- LVDS and HDMI display

Basic information about the module:
- Module manufacturer: Advantech
- CPU: Freescale ARM Cortex-A9 i.MX6D
- SPECS:
Up to 2GB Onboard DDR3 Memory;
Up to 16GB Onboard eMMC NAND Flash
Supports OpenGL ES 2.0 and OpenVG 1.1
HDMI, 24-bit LVDS
1x UART, 2x I2C, 8x GPIO,
4x Host USB 2.0 port, 1x USB OTG port,
1x micro SD (SDHC),1x SDIO, 1x SATA II,
1x 10/100/1000 Mbps Ethernet, 1x PCIe X1 Gen2

Quoted 1 line

Regards,
Peng.

#2 lore raw

PATCH v2 1/1 arm: imx: Add support for GE Bx50v3 boards

Hi Stefano,

Quoted 25 lines · Peng Fan

Hi Akshay,

Quoted 22 lines · Akshay Bhat

Add support for GE B450v3, B650v3 and B850v3 boards. The boards are based on Advantech BA16 module which has a i.MX6D processor. The boards support:
- FEC Ethernet
- USB Ports
- SDHC and MMC boot
- SPI NOR
- LVDS and HDMI display

Basic information about the module:
- Module manufacturer: Advantech
- CPU: Freescale ARM Cortex-A9 i.MX6D
- SPECS:
Up to 2GB Onboard DDR3 Memory;
Up to 16GB Onboard eMMC NAND Flash Supports OpenGL ES 2.0 and OpenVG 1.1 HDMI, 24-bit LVDS
1x UART, 2x I2C, 8x GPIO,
4x Host USB 2.0 port, 1x USB OTG port, 1x micro SD (SDHC),1x SDIO, 1x SATA II, 1x 10/100/1000 Mbps Ethernet, 1x PCIe X1 Gen2

Quoted 8 lines
Quoted 1 line

Regards,
Peng.

If there are no further review comments, can this patch be applied in the next merge window (for v2016.05)?

Also I have couple updates to the bx50v3.c file. Should I wait for this patch to be applied before sending a new patch with the changes (wasn't sure if you had a -next branch where the v2 patch was already applied)?

Thanks,
Akshay

#3 lore raw

PATCH v2 1/1 arm: imx: Add support for GE Bx50v3 boards

Quoted 6 lines · Akshay Bhat

If there are no further review comments, can this patch be applied in the next merge window (for v2016.05)?

Also I have couple updates to the bx50v3.c file. Should I wait for this patch to be applied before sending a new patch with the changes (wasn't sure if you had a -next branch where the v2 patch was already applied)?

Yes, a -next branch would be very convenient.

#4 lore raw

PATCH v2 1/1 arm: imx: Add support for GE Bx50v3 boards

Quoted 11 lines · Fabio Estevam
Quoted 6 lines · Akshay Bhat

If there are no further review comments, can this patch be applied in the next merge window (for v2016.05)?

Also I have couple updates to the bx50v3.c file. Should I wait for this patch to be applied before sending a new patch with the changes (wasn't sure if you had a -next branch where the v2 patch was already applied)?

Yes, a -next branch would be very convenient.

Right, this was discussed several times in the U-Boot summit at ELCE. I will prepare it.

Regards,
Stefano

Signature · 5 lines
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================
#5 lore raw

PATCH v2 1/1 arm: imx: Add support for GE Bx50v3 boards

In reply to Akshay Bhat

Hi Akshay,

Quoted 31 lines · Akshay Bhat

Hi Stefano,

Quoted 28 lines · Peng Fan

Hi Akshay,

Quoted 23 lines · Akshay Bhat

Add support for GE B450v3, B650v3 and B850v3 boards. The boards are based on Advantech BA16 module which has a i.MX6D processor. The boards support:
- FEC Ethernet
- USB Ports
- SDHC and MMC boot
- SPI NOR
- LVDS and HDMI display

Basic information about the module:
- Module manufacturer: Advantech
- CPU: Freescale ARM Cortex-A9 i.MX6D
- SPECS:
Up to 2GB Onboard DDR3 Memory;
Up to 16GB Onboard eMMC NAND Flash Supports OpenGL ES 2.0 and OpenVG 1.1 HDMI, 24-bit LVDS
1x UART, 2x I2C, 8x GPIO,
4x Host USB 2.0 port, 1x USB OTG port, 1x micro SD (SDHC),1x SDIO, 1x SATA II, 1x 10/100/1000 Mbps Ethernet, 1x PCIe X1 Gen2

Quoted 9 lines
Quoted 5 lines

Regards,
Peng.

If there are no further review comments, can this patch be applied in the next merge window (for v2016.05)?

Yes, I will do it.

Quoted 4 lines

Also I have couple updates to the bx50v3.c file. Should I wait for this patch to be applied before sending a new patch with the changes (wasn't sure if you had a -next branch where the v2 patch was already applied)?

Tom has proposed several times to the custodian to have a -next branch, and making it really working. I admit I have not done enough for that, and it is something I can improve. I will prepare a "working" -next, to be merged into master after release.

Best regards,
Stefano Babic

Signature · 5 lines
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================
#6 lore raw

PATCH v2 1/1 arm: imx: Add support for GE Bx50v3 boards

In reply to Akshay Bhat
Quoted 22 lines · Akshay Bhat

Add support for GE B450v3, B650v3 and B850v3 boards. The boards are based on Advantech BA16 module which has a i.MX6D processor. The boards support:
- FEC Ethernet
- USB Ports
- SDHC and MMC boot
- SPI NOR
- LVDS and HDMI display

Basic information about the module:
- Module manufacturer: Advantech
- CPU: Freescale ARM Cortex-A9 i.MX6D
- SPECS:
Up to 2GB Onboard DDR3 Memory;
Up to 16GB Onboard eMMC NAND Flash Supports OpenGL ES 2.0 and OpenVG 1.1 HDMI, 24-bit LVDS
1x UART, 2x I2C, 8x GPIO,
4x Host USB 2.0 port, 1x USB OTG port, 1x micro SD (SDHC),1x SDIO, 1x SATA II, 1x 10/100/1000 Mbps Ethernet, 1x PCIe X1 Gen2

Quoted 2 lines

---

Applied to -next, thanks !

Best regards,
Stefano Babic

Signature · 5 lines
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================
#7 lore raw

PATCH v2 1/1 arm: imx: Add support for GE Bx50v3 boards

Quoted 23 lines · Stefano Babic
Quoted 22 lines · Akshay Bhat

Add support for GE B450v3, B650v3 and B850v3 boards. The boards are based on Advantech BA16 module which has a i.MX6D processor. The boards support:
- FEC Ethernet
- USB Ports
- SDHC and MMC boot
- SPI NOR
- LVDS and HDMI display

Basic information about the module:
- Module manufacturer: Advantech
- CPU: Freescale ARM Cortex-A9 i.MX6D
- SPECS:
Up to 2GB Onboard DDR3 Memory;
Up to 16GB Onboard eMMC NAND Flash Supports OpenGL ES 2.0 and OpenVG 1.1 HDMI, 24-bit LVDS
1x UART, 2x I2C, 8x GPIO,
4x Host USB 2.0 port, 1x USB OTG port, 1x micro SD (SDHC),1x SDIO, 1x SATA II, 1x 10/100/1000 Mbps Ethernet, 1x PCIe X1 Gen2

Quoted 5 lines
Quoted 2 lines

---

Applied to -next, thanks !

Thank you very much for making -next happen. Appreciate it.