[U-Boot] [PATCH RFC 5/5] imx: mx6ul: Add initial board support for Engicam GEAM6UL

Peng Fan van.freenix at gmail.com
Sat Sep 3 12:08:50 CEST 2016


Hi Jagan,

On Sat, Sep 03, 2016 at 01:52:57PM +0530, Jagan Teki wrote:
>i.MX6UL GEA M6UL modules are system on module solutions manufactured
>by Engicam with following characteristics:
>Processor       NXP i.MX 6UltraLite MCIMX6G2, 528 MHz
>RAM             128MB, 16-bit DDR3
>NAND SLC        256MB
>Power supply    Single 5V
>MAX LCD RES     up to WXGA, 1366x768
>
>Cc: Stefano Babic <sbabic at denx.de>
>Cc: Peng Fan <peng.fan at nxp.com>
>Cc: Michael Trimarchi <michael at amarulasolutions.com>
>Signed-off-by: Jagan Teki <jagan at amarulasolutions.com>
>---
> arch/arm/cpu/armv7/mx6/Kconfig    |  6 ++++++
> board/freescale/mx6ul/Kconfig     |  2 +-
> board/freescale/mx6ul/MAINTAINERS |  5 +++++
> board/freescale/mx6ul/board.c     |  4 +++-
> configs/mx6ul_geam_kit_defconfig  | 11 +++++++++++
> include/configs/mx6ul.h           |  1 +
> 6 files changed, 27 insertions(+), 2 deletions(-)
> create mode 100644 configs/mx6ul_geam_kit_defconfig
>
>diff --git a/arch/arm/cpu/armv7/mx6/Kconfig b/arch/arm/cpu/armv7/mx6/Kconfig
>index 0c1bc78..d861ded 100644
>--- a/arch/arm/cpu/armv7/mx6/Kconfig
>+++ b/arch/arm/cpu/armv7/mx6/Kconfig
>@@ -129,6 +129,12 @@ config TARGET_MX6UL_14X14_EVK
> 	select DM_THERMAL
> 	select SUPPORT_SPL
> 
>+config TARGET_MX6UL_GEAM_KIT
>+	bool "mx6ul_geam_kit"
>+	select MX6UL
>+	select DM
>+	select DM_THERMAL
>+
> config TARGET_NITROGEN6X
> 	bool "nitrogen6x"
> 
>diff --git a/board/freescale/mx6ul/Kconfig b/board/freescale/mx6ul/Kconfig
>index f97b905..d902cd0 100644
>--- a/board/freescale/mx6ul/Kconfig
>+++ b/board/freescale/mx6ul/Kconfig
>@@ -1,4 +1,4 @@
>-if TARGET_MX6UL_14X14_EVK || TARGET_MX6UL_9X9_EVK
>+if TARGET_MX6UL_14X14_EVK || TARGET_MX6UL_9X9_EVK || TARGET_MX6UL_GEAM_KIT
> 
> config SYS_BOARD
> 	default "mx6ul"
>diff --git a/board/freescale/mx6ul/MAINTAINERS b/board/freescale/mx6ul/MAINTAINERS
>index 20caeee..3265858 100644
>--- a/board/freescale/mx6ul/MAINTAINERS
>+++ b/board/freescale/mx6ul/MAINTAINERS
>@@ -5,3 +5,8 @@ F:	board/freescale/mx6ul/
> F:	include/configs/mx6ul.h
> F:	configs/mx6ul_14x14_evk_defconfig
> F:	configs/mx6ul_9x9_evk_defconfig
>+
>+Engicam GEAM6UL BOARD
>+M:	Jagan Teki <jagan at amarulasolutions.com>
>+S:	Maintained
>+F:	configs/mx6ul_geam_kit_defconfig
>diff --git a/board/freescale/mx6ul/board.c b/board/freescale/mx6ul/board.c
>index 66d6795..f4e35bd 100644
>--- a/board/freescale/mx6ul/board.c
>+++ b/board/freescale/mx6ul/board.c
>@@ -693,8 +693,10 @@ int checkboard(void)
> {
> 	if (is_mx6ul_9x9_evk())
> 		puts("Board: MX6UL 9x9 EVK\n");
>-	else
>+	else if (is_mx6ul_14x14_evk())
> 		puts("Board: MX6UL 14x14 EVK\n");
>+	else
>+		puts("Board: MX6UL GEA KIT\n");
> 
> 	return 0;
> }
>diff --git a/configs/mx6ul_geam_kit_defconfig b/configs/mx6ul_geam_kit_defconfig
>new file mode 100644
>index 0000000..b26f17b
>--- /dev/null
>+++ b/configs/mx6ul_geam_kit_defconfig
>@@ -0,0 +1,11 @@
>+CONFIG_ARM=y
>+CONFIG_ARCH_MX6=y
>+CONFIG_TARGET_MX6UL_GEAM_KIT=y
>+CONFIG_HUSH_PARSER=y
>+CONFIG_SYS_PROMPT="geam6ul> "
>+CONFIG_AUTO_COMPLETE=y
>+CONFIG_SYS_MAXARGS=32
>+CONFIG_BOOTDELAY=3
>+CONFIG_BOARD_EARLY_INIT_F=y
>+CONFIG_BOARD_LATE_INIT=y
>+# CONFIG_CMD_IMLS is not set

I think you missed ddr script settings, SPL or DCD?

Regards,
Peng.


More information about the U-Boot mailing list