imx6: Add Engicam i.CoreM6 QDL support
v6 cover imx6: Add Engicam i.CoreM6 QDL support
From: Jagan Teki <[email protected]>
This series supports Engicam i.CoreM6 QDL modules on top of u-boot-imx/master and test on the respective starter kits as well.
Tested both MMC and NAND boot.
Changes for v6:
- Rebase to u-boot-imx/master
- Move few SPL configs to defconfigs
Changes for v5:
- Add NAND support
Changes for v4:
- Add 'net: Kconfig: Add FEC_MXC entry' patch
- Updated ENV configs along with comments
- Restructured configs for more readability
- Add CONFIG_ENV_OVERWRITE
- Rename icorem6qdl_defconfig with icorem6qdl_mmc_defconfig
Changes for v3:
- Remove "v2 01/17 imx: iomux-v3: Fix build error with snvs base" patch
- Remove 'default n' on Kconfig DEFAULT_FDT_FILE patch
- Add minimal devicetree support for Engicam i.CoreM6 QDL
- Add is_mx6dl()
- Add is_mx6solo()
- Use is_mx6dq()
- Add last commit sha1 and header in pull devicetree files from Linux
Changes for v2:
- Make static to local iomux structure in board file
- Corrected rowaddr in mx6_ddr3_cfg
- Used imx_ddr_size
- Add FEC support and tested the same
- Add DM_GPIO, DM_MMC support
- Add pinctrl support
- Add devicetree support
Jagan Teki (21):
serial: Kconfig: Add MXC_UART entry
thermal: Kconfig: Add IMX_THERMAL entry
Kconfig: Add DEFAULT_FDT_FILE entry
arm: imx: Add Engicam i.CoreM6 QDL Starter Kit initial support
net: Kconfig: Add FEC_MXC entry
imx6: icorem6: Add ENET support
imx: s/docs\/README.imximage/doc\/README.imximage/g
arm: dts: Add devicetree for i.MX6DL
arm: dts: Add devicetree for i.MX6DQL
arm: dts: imx6dl: Add pinctrl defines
dt-bindings: clock: imx6qdl: Add clock defines
arm: imx6q: Add devicetree support for Engicam i.CoreM6 DualLite/Solo
imx6q: icorem6: Enable pinctrl driver
engicam: icorem6: Add DM_GPIO, DM_MMC support
arm: dts: Add devicetree for i.MX6Q
arm: dts: imx6q: Add pinctrl defines
arm: imx6q: Add devicetree support for Engicam i.CoreM6 Quad/Dual
mtd: nand: Kconfig: Add NAND_MXS entry
imx6: icorem6: Add NAND support
imx6: icorem6: Enable MTD device support
imx6: icorem6: Add default mtd nand partition table
arch/arm/cpu/armv7/mx6/Kconfig | 11 + arch/arm/dts/Makefile | 4 +- arch/arm/dts/imx6dl-icore.dts | 59 ++ arch/arm/dts/imx6dl-pinfunc.h | 1091 +++++++++++++++++++++++ arch/arm/dts/imx6dl.dtsi | 133 +++ arch/arm/dts/imx6q-icore.dts | 59 ++ arch/arm/dts/imx6q-pinfunc.h | 1047 ++++++++++++++++++++++ arch/arm/dts/imx6q.dtsi | 300 +++++++ arch/arm/dts/imx6qdl-icore.dtsi | 196 ++++ arch/arm/dts/imx6qdl.dtsi | 1281 +++++++++++++++++++++++++++ arch/arm/include/asm/imx-common/sys_proto.h | 2 + board/barco/titanium/imximage.cfg | 2 +- board/ccv/xpress/imximage.cfg | 2 +- board/denx/m53evk/imximage.cfg | 2 +- board/engicam/icorem6/Kconfig | 12 + board/engicam/icorem6/MAINTAINERS | 6 + board/engicam/icorem6/Makefile | 6 + board/engicam/icorem6/README | 38 + board/engicam/icorem6/icorem6.c | 537 +++++++++++ board/freescale/mx6sabresd/mx6dlsabresd.cfg | 2 +- board/freescale/mx6slevk/imximage.cfg | 2 +- board/freescale/mx6ullevk/imximage.cfg | 2 +- board/freescale/mx7dsabresd/imximage.cfg | 2 +- board/freescale/s32v234evb/s32v234evb.cfg | 2 +- board/freescale/vf610twr/imximage.cfg | 2 +- board/phytec/pcm052/imximage.cfg | 2 +- board/technexion/pico-imx6ul/imximage.cfg | 2 +- board/toradex/colibri_imx7/imximage.cfg | 2 +- board/toradex/colibri_vf/imximage.cfg | 2 +- board/warp/imximage.cfg | 2 +- board/warp7/imximage.cfg | 2 +- common/Kconfig | 5 + configs/imx6qdl_icore_mmc_defconfig | 42 + configs/imx6qdl_icore_nand_defconfig | 37 + drivers/mtd/nand/Kconfig | 7 + drivers/net/Kconfig | 7 + drivers/serial/Kconfig | 7 + drivers/thermal/Kconfig | 13 + include/configs/imx6qdl_icore.h | 167 ++++ include/dt-bindings/clock/imx6qdl-clock.h | 274 ++++++ 40 files changed, 5355 insertions(+), 16 deletions(-) create mode 100644 arch/arm/dts/imx6dl-icore.dts create mode 100644 arch/arm/dts/imx6dl-pinfunc.h create mode 100644 arch/arm/dts/imx6dl.dtsi create mode 100644 arch/arm/dts/imx6q-icore.dts create mode 100644 arch/arm/dts/imx6q-pinfunc.h create mode 100644 arch/arm/dts/imx6q.dtsi create mode 100644 arch/arm/dts/imx6qdl-icore.dtsi create mode 100644 arch/arm/dts/imx6qdl.dtsi create mode 100644 board/engicam/icorem6/Kconfig create mode 100644 board/engicam/icorem6/MAINTAINERS create mode 100644 board/engicam/icorem6/Makefile create mode 100644 board/engicam/icorem6/README create mode 100644 board/engicam/icorem6/icorem6.c create mode 100644 configs/imx6qdl_icore_mmc_defconfig create mode 100644 configs/imx6qdl_icore_nand_defconfig create mode 100644 include/configs/imx6qdl_icore.h create mode 100644 include/dt-bindings/clock/imx6qdl-clock.h
Signature · 1 line
2.7.4
v6 cover imx6: Add Engicam i.CoreM6 QDL support
Hi Stefano,
Quoted 53 lines · Jagan Teki
From: Jagan Teki <[email protected]>
This series supports Engicam i.CoreM6 QDL modules on top of u-boot-imx/master and test on the respective starter kits as well.
Tested both MMC and NAND boot.
Changes for v6:
- Rebase to u-boot-imx/master
- Move few SPL configs to defconfigsChanges for v5:
- Add NAND supportChanges for v4:
- Add 'net:Kconfig: AddFEC_MXCentry' patch
- Updated ENV configs along with comments
- Restructured configs for more readability
- AddCONFIG_ENV_OVERWRITE
- Renameicorem6qdl_defconfigwithicorem6qdl_mmc_defconfigChanges for v3:
- Remove "v2 01/17 imx: iomux-v3: Fix build error with snvs base" patch
- Remove 'default n' onKconfigDEFAULT_FDT_FILEpatch
- Add minimal devicetree support for Engicam i.CoreM6 QDL
- Addis_mx6dl()
- Addis_mx6solo()
- Useis_mx6dq()
- Add last commit sha1 and header in pull devicetree files from LinuxChanges for v2:
- Make static to local iomux structure in board file
- Corrected rowaddr inmx6_ddr3_cfg
- Usedimx_ddr_size
- Add FEC support and tested the same
- AddDM_GPIO,DM_MMCsupport
- Add pinctrl support
- Add devicetree supportJagan Teki (21):
serial:Kconfig: AddMXC_UARTentry
thermal:Kconfig: AddIMX_THERMALentry
Kconfig: AddDEFAULT_FDT_FILEentry
arm: imx: Add Engicam i.CoreM6 QDL Starter Kit initial support
net:Kconfig: AddFEC_MXCentry
imx6: icorem6: Add ENET support
imx: s/docs\/README.imximage/doc\/README.imximage/g
arm: dts: Add devicetree for i.MX6DL
arm: dts: Add devicetree for i.MX6DQL
arm: dts: imx6dl: Add pinctrl defines
dt-bindings: clock: imx6qdl: Add clock defines
arm: imx6q: Add devicetree support for Engicam i.CoreM6 DualLite/Solo
imx6q: icorem6: Enable pinctrl driver
Quoted 8 lines
engicam: icorem6: Add
DM_GPIO,DM_MMCsupport
arm: dts: Add devicetree for i.MX6Q
arm: dts: imx6q: Add pinctrl defines
arm: imx6q: Add devicetree support for Engicam i.CoreM6 Quad/Dual
mtd: nand:Kconfig: AddNAND_MXSentry
imx6: icorem6: Add NAND support
imx6: icorem6: Enable MTD device support
imx6: icorem6: Add default mtd nand partition table
All look fine on u-boot-imx/master, please apply
thanks!
Signature · 4 lines
Jagan Teki Free Software Engineer | www.openedev.com U-Boot, Linux | Upstream Maintainer Hyderabad, India.
v6 cover imx6: Add Engicam i.CoreM6 QDL support
Quoted 65 lines · Jagan Teki
Hi Stefano,
Quoted 53 lines · Jagan Teki
From: Jagan Teki <[email protected]>
This series supports Engicam i.CoreM6 QDL modules on top of u-boot-imx/master and test on the respective starter kits as well.
Tested both MMC and NAND boot.
Changes for v6:
- Rebase to u-boot-imx/master
- Move few SPL configs to defconfigsChanges for v5:
- Add NAND supportChanges for v4:
- Add 'net:Kconfig: AddFEC_MXCentry' patch
- Updated ENV configs along with comments
- Restructured configs for more readability
- AddCONFIG_ENV_OVERWRITE
- Renameicorem6qdl_defconfigwithicorem6qdl_mmc_defconfigChanges for v3:
- Remove "v2 01/17 imx: iomux-v3: Fix build error with snvs base" patch
- Remove 'default n' onKconfigDEFAULT_FDT_FILEpatch
- Add minimal devicetree support for Engicam i.CoreM6 QDL
- Addis_mx6dl()
- Addis_mx6solo()
- Useis_mx6dq()
- Add last commit sha1 and header in pull devicetree files from LinuxChanges for v2:
- Make static to local iomux structure in board file
- Corrected rowaddr inmx6_ddr3_cfg
- Usedimx_ddr_size
- Add FEC support and tested the same
- AddDM_GPIO,DM_MMCsupport
- Add pinctrl support
- Add devicetree supportJagan Teki (21):
serial:Kconfig: AddMXC_UARTentry
thermal:Kconfig: AddIMX_THERMALentry
Kconfig: AddDEFAULT_FDT_FILEentry
arm: imx: Add Engicam i.CoreM6 QDL Starter Kit initial support
net:Kconfig: AddFEC_MXCentry
imx6: icorem6: Add ENET support
imx: s/docs\/README.imximage/doc\/README.imximage/g
arm: dts: Add devicetree for i.MX6DL
arm: dts: Add devicetree for i.MX6DQL
arm: dts: imx6dl: Add pinctrl defines
dt-bindings: clock: imx6qdl: Add clock defines
arm: imx6q: Add devicetree support for Engicam i.CoreM6 DualLite/Solo
imx6q: icorem6: Enable pinctrl driverQuoted 8 lines
engicam: icorem6: Add
DM_GPIO,DM_MMCsupport
arm: dts: Add devicetree for i.MX6Q
arm: dts: imx6q: Add pinctrl defines
arm: imx6q: Add devicetree support for Engicam i.CoreM6 Quad/Dual
mtd: nand:Kconfig: AddNAND_MXSentry
imx6: icorem6: Add NAND support
imx6: icorem6: Enable MTD device support
imx6: icorem6: Add default mtd nand partition table
Quoted 1 line
All look fine on u-boot-imx/master, please apply
It does not look so fine - I still get the issue with CONFIG_DEFAULT_FDT_FILE, and this generates warning on several file.
If you want check, you ca try to build ge_b650v3 (just because I am testing this, but many boards report this warning). For example:
w+include/configs/zc5601.h:17:0: warning: "CONFIG_DEFAULT_FDT_FILE" redefined [enabled by default] w+include/generated/autoconf.h:16:0: note: this is the location of the previous definition
Can you check it, please ?
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 =====================================================================