Add support for Turing Computer i.MX53 Evaluation Board
Subsystems (2)
PATCH 1/2 Add support for Turing Computer i.MX53 Evaluation Board
Turing Computer is a designer and manufacturer of ARM-based System on Modules, specialized on i.MX SoCs from Freescale/NXP. This patch adds support for their Evaluation Board running i.MX53 SoC.
More information can be found at:
http://www.turingcomputer.com.br/
--- arch/arm/Kconfig | 7 + board/turing/mx53turing/Kconfig | 15 ++ board/turing/mx53turing/MAINTAINERS | 6 + board/turing/mx53turing/Makefile | 8 + board/turing/mx53turing/imximage.cfg | 83 ++++++++ board/turing/mx53turing/mx53turing.c | 357 +++++++++++++++++++++++++++++++++++ configs/mx53turing_defconfig | 25 +++ include/configs/mx53turing.h | 212 +++++++++++++++++++++ 8 files changed, 713 insertions(+) create mode 100644 board/turing/mx53turing/Kconfig create mode 100644 board/turing/mx53turing/MAINTAINERS create mode 100644 board/turing/mx53turing/Makefile create mode 100644 board/turing/mx53turing/imximage.cfg create mode 100644 board/turing/mx53turing/mx53turing.c create mode 100644 configs/mx53turing_defconfig create mode 100644 include/configs/mx53turing.h
arch/arm/Kconfig +7 -0
@@ -661,6 +661,12 @@ config TARGET_MX53SMD select CPU_V7 select BOARD_EARLY_INIT_F +config TARGET_MX53TURING + bool "Support Turing i.MX53 Boards" + select BOARD_LATE_INIT + select CPU_V7 + select BOARD_EARLY_INIT_F + config OMAP34XX bool "OMAP34XX SoC" select ARCH_OMAP2
@@ -1268,6 +1274,7 @@ source "board/freescale/mx53ard/Kconfig" source "board/freescale/mx53evk/Kconfig" source "board/freescale/mx53loco/Kconfig" source "board/freescale/mx53smd/Kconfig" +source "board/turing/mx53turing/Kconfig" source "board/freescale/s32v234evb/Kconfig" source "board/grinn/chiliboard/Kconfig" source "board/gumstix/pepper/Kconfig"
board/turing/mx53turing/Kconfig new file +15 -0
@@ -0,0 +1,15 @@ +if TARGET_MX53TURING + +config SYS_BOARD + default "mx53turing" + +config SYS_VENDOR + default "turing" + +config SYS_SOC + default "mx5" + +config SYS_CONFIG_NAME + default "mx53turing" + +endif
board/turing/mx53turing/MAINTAINERS new file +6 -0
@@ -0,0 +1,6 @@ +MX53TURING BOARD +M: Mauricio Cirelli <[email protected]> +S: Maintained +F: board/turing/mx53turing/ +F: include/configs/mx53turing.h +F: configs/mx53turing_defconfig
board/turing/mx53turing/Makefile new file +8 -0
@@ -0,0 +1,8 @@ +# +# (C) Copyright 2015 Turing Computer. +# Mauricio Cirelli <[email protected]> +# +# SPDX-License-Identifier: GPL-2.0+ +# + +obj-y += mx53turing.o
board/turing/mx53turing/imximage.cfg new file +83 -0
83 lines not on this page · raw message
board/turing/mx53turing/mx53turing.c new file +357 -0
357 lines not on this page · raw message
configs/mx53turing_defconfig new file +25 -0
@@ -0,0 +1,25 @@ +CONFIG_ARM=y +CONFIG_TARGET_MX53TURING=y +CONFIG_VIDEO=y +CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/turing/mx53turing/imximage.cfg" +CONFIG_BOOTDELAY=3 +# CONFIG_CONSOLE_MUX is not set +CONFIG_SYS_CONSOLE_IS_IN_ENV=y +CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE=y +CONFIG_DISPLAY_CPUINFO=y +CONFIG_HUSH_PARSER=y +CONFIG_CMD_BOOTZ=y +# CONFIG_CMD_IMLS is not set +CONFIG_CMD_MMC=y +CONFIG_CMD_USB=y +# CONFIG_CMD_SETEXPR is not set +CONFIG_CMD_DHCP=y +CONFIG_CMD_MII=y +CONFIG_CMD_PING=y +CONFIG_CMD_EXT2=y +CONFIG_CMD_FAT=y +CONFIG_CMD_FS_GENERIC=y +CONFIG_USB=y +CONFIG_USB_STORAGE=y +# CONFIG_VIDEO_SW_CURSOR is not set +CONFIG_OF_LIBFDT=y
include/configs/mx53turing.h new file +212 -0
212 lines not on this page · raw message
Signature · 1 line
2.8.1
PATCH 2/2 Add support for Turing Computer i.MX6x Evaluation Board
Turing Computer is a designer and manufacturer of ARM-based System on Modules, specialized on i.MX SoCs from Freescale/NXP. This patch adds support for their Evaluation Board running i.MX6 Solo, Dual Lite, Dual and Quad SoCs.
There are two board revisions according to the memory available:
Full-Sized Memory and Half-Sized (SMART) variants.
More information can be found at:
http://www.turingcomputer.com.br/
--- arch/arm/cpu/armv7/mx6/Kconfig | 17 + board/turing/mx6turing/Kconfig | 35 ++ board/turing/mx6turing/MAINTAINERS | 6 + board/turing/mx6turing/Makefile | 10 + board/turing/mx6turing/README | 22 + board/turing/mx6turing/mx6turing.c | 800 +++++++++++++++++++++++++++++++++++++ configs/mx6turing_defconfig | 51 +++ configs/mx6turing_smart_defconfig | 51 +++ include/configs/mx6turing.h | 247 ++++++++++++ 9 files changed, 1239 insertions(+) create mode 100644 board/turing/mx6turing/Kconfig create mode 100644 board/turing/mx6turing/MAINTAINERS create mode 100644 board/turing/mx6turing/Makefile create mode 100644 board/turing/mx6turing/README create mode 100644 board/turing/mx6turing/mx6turing.c create mode 100644 configs/mx6turing_defconfig create mode 100644 configs/mx6turing_smart_defconfig create mode 100644 include/configs/mx6turing.h
arch/arm/cpu/armv7/mx6/Kconfig +17 -0
@@ -225,6 +225,22 @@ config TARGET_MX6SXSABREAUTO select DM_THERMAL select BOARD_EARLY_INIT_F +config TARGET_MX6TURING + bool "Turing Computer i.MX6 boards" + select BOARD_LATE_INIT + select SUPPORT_SPL + select DM + select DM_THERMAL + select BOARD_EARLY_INIT_F + +config TARGET_MX6TURING_SMART + bool "Turing Computer i.MX6 SMART boards" + select BOARD_LATE_INIT + select SUPPORT_SPL + select DM + select DM_THERMAL + select BOARD_EARLY_INIT_F + config TARGET_MX6UL_9X9_EVK bool "mx6ul_9x9_evk" select BOARD_LATE_INIT
@@ -413,6 +429,7 @@ source "board/tbs/tbs2910/Kconfig" source "board/tqc/tqma6/Kconfig" source "board/toradex/apalis_imx6/Kconfig" source "board/toradex/colibri_imx6/Kconfig" +source "board/turing/mx6turing/Kconfig" source "board/udoo/Kconfig" source "board/udoo/neo/Kconfig" source "board/wandboard/Kconfig"
board/turing/mx6turing/Kconfig new file +35 -0
@@ -0,0 +1,35 @@ +if TARGET_MX6TURING + +config SYS_BOARD + default "mx6turing" + +config SYS_SOC + default "mx6" + +config SYS_VENDOR + default "turing" + +config SYS_CONFIG_NAME + default "mx6turing" + +endif + +if TARGET_MX6TURING_SMART + +config SYS_BOARD + default "mx6turing" + +config SYS_SOC + default "mx6" + +config SYS_VENDOR + default "turing" + +config SYS_CONFIG_NAME + default "mx6turing" + +config TURING_SMART_VARIANT + bool "Turing Smart Variant" + default y + +endif
board/turing/mx6turing/MAINTAINERS new file +6 -0
@@ -0,0 +1,6 @@ +MX6XTURING BOARD +M: Mauricio Cirelli <[email protected]> +S: Maintained +F: board/turing/imx6x/ +F: include/configs/mx6turing.h +F: configs/mx6turing_defconfig
board/turing/mx6turing/Makefile new file +10 -0
@@ -0,0 +1,10 @@ +# +# Copyright (C) 2007, Guennadi Liakhovetski <[email protected]> +# +# (C) Copyright 2011 Freescale Semiconductor, Inc. +# +# SPDX-License-Identifier: GPL-2.0+ +# + +ccflags-$(CONFIG_TURING_SMART_VARIANT) += -DTURING_SMART_VARIANT +obj-y := mx6turing.o
board/turing/mx6turing/README new file +22 -0
@@ -0,0 +1,22 @@ +How to use U-boot on Turing's i.MX6 Boards +----------------------------------------------------------- + +- Build U-boot for Turing's i.MX6 Boards: + +$ make mrproper +$ make mx6turing_defconfig +$ make + +This will generate the SPL image called SPL and the u-boot.img. + +- Flash the SPL image into the SD card: + +sudo dd if=SPL of=/dev/mmcblk0 bs=1k seek=1; sync + +- Flash the u-boot.img image into the SD card: + +sudo dd if=u-boot.img of=/dev/mmcblk0 bs=1k seek=69; sync + +- Insert the SD card in the board, power it up and U-boot messages should come up. + +If you want to build for SMART variants (i.MX6Q 1GB and i.MX6DL 512MB), change it accordingly in the Kconfig file.
board/turing/mx6turing/mx6turing.c new file +800 -0
800 lines not on this page · raw message
configs/mx6turing_defconfig new file +51 -0
51 lines not on this page · raw message
configs/mx6turing_smart_defconfig new file +51 -0
51 lines not on this page · raw message
include/configs/mx6turing.h new file +247 -0
247 lines not on this page · raw message
Signature · 1 line
2.8.1
PATCH 2/2 Add support for Turing Computer i.MX6x Evaluation Board
Quoted 6 lines · Mauricio Cirelli
Turing Computer is a designer and manufacturer of ARM-based System on Modules, specialized on i.MX SoCs from Freescale/NXP. This patch adds support for their Evaluation Board running i.MX6 Solo, Dual Lite, Dual and Quad SoCs.
Quoted 7 lines
There are two board revisions according to the memory available:
Full-Sized Memory and Half-Sized (SMART) variants.More information can be found at:
http://www.turingcomputer.com.br/Signed-off-by Mauricio Cirelli <[email protected]>
Your code seems based on the SabreSD but from an old release. I think both this and the mx5 based boards need some refactor to use the new methods and do the code improvements did since then. One example:
commit 1f98e31bc0b2c37a0e6068a14b11a7e27167e4df
Author: Ye.Li <[email protected]> Date: Thu Nov 6 16:29:01 2014 +0800
imx: mx6sxsabresd: Use the pfuze common init function
Modify the pfuze init for mx6sxsabresd to use the shared "pfuze_common_init" function. And move this initialization to power_init_board.
Signature · 3 lines
Otavio Salvador O.S. Systems http://www.ossystems.com.br http://code.ossystems.com.br Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750