From patchwork Tue Jun 16 14:27:20 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Oliver Graute X-Patchwork-Id: 242490 List-Id: U-Boot discussion From: oliver.graute at kococonnector.com (Oliver Graute) Date: Tue, 16 Jun 2020 16:27:20 +0200 Subject: [PATCH v3 0/2] imx: support for conga-QMX8 board Message-ID: <20200616142724.11559-1-oliver.graute@kococonnector.com> Second patch is still needed for booting. Tipps to get rid of that patch would be helpfull. Between u-boot-imx-20200511 and u-boot-imx-20200609 something more is broken, I run into this issue: U-Boot 2020.07-rc3-00002-gbf3f929aa6 (Jun 16 2020 - 14:36:58 +0200) CPU: NXP i.MX8QM RevB A53 at 1200 MHz Model: Congatec QMX8 Qseven series Board: conga-QMX8 Build: SCFW 494c97f3, SECO-FW d7523fe8, ATF 09c5cc9 Boot: SD2 DRAM: 6 GiB Device 'gpio at 5d090000': seq 0 is in use by 'gpio at 5d080000' Device 'gpio at 5d0a0000': seq 1 is in use by 'gpio at 5d090000' MMC: FSL_SDHC: 0, FSL_SDHC: 1, FSL_SDHC: 2 Loading Environment from MMC... OK In: serial at 5a060000 Out: serial at 5a060000 Err: serial at 5a060000 "Synchronous Abort" handler, esr 0x96000004 elr: 000000008005cf48 lr : 0000000080022f94 (reloc) elr: 00000000fff22f48 lr : 00000000ffee8f94 x0 : fffffffffdaf3540 x1 : 00000000fff2d8a0 x2 : 0000000000000000 x3 : 0000000000000000 x4 : 0000000000000000 x5 : fffffffffdaf3540 x6 : 00000000fff068a8 x7 : 00000000fff3bca0 x8 : 00000000fdaf3ac0 x9 : 0000000000000008 x10: 00000000fdaecb30 x11: 00000000fdaefdd0 x12: 0000000000000000 x13: 0000000000000200 x14: 00000000fdadebf8 x15: 00000000ffffffff x16: 0000000000001080 x17: 0000000000000000 x18: 00000000fdae4da0 x19: 0000000000000002 x20: 00000000fff3b000 x21: 000000007fec6000 x22: 0000000000000000 x23: 0000000000000000 x24: 0000000000000000 x25: 0000000000000000 x26: 0000000000000000 x27: 0000000000000000 x28: 0000000000000000 x29: 00000000fdadfd90 Code: aa0503e4 17fffff2 aa0003e5 d2800003 (386368a4) Resetting CPU ... resetting ... Oliver Graute (2): imx: support for conga-QMX8 board hack to boot with 2020.01 arch/arm/dts/Makefile | 1 + arch/arm/dts/imx8qm-cgtqmx8.dts | 427 +++++++++++++++++++++++++ arch/arm/mach-imx/imx8/Kconfig | 7 + board/congatec/cgtqmx8/Kconfig | 14 + board/congatec/cgtqmx8/MAINTAINERS | 6 + board/congatec/cgtqmx8/Makefile | 11 + board/congatec/cgtqmx8/README | 46 +++ board/congatec/cgtqmx8/cgtqmx8.c | 479 ++++++++++++++++++++++++++++ board/congatec/cgtqmx8/imximage.cfg | 21 ++ board/congatec/cgtqmx8/spl.c | 76 +++++ board/congatec/common/Kconfig | 48 +++ board/congatec/common/Makefile | 23 ++ board/congatec/common/mmc.c | 50 +++ configs/cgtqmx8_defconfig | 82 +++++ drivers/core/device.c | 7 +- include/configs/cgtqmx8.h | 194 +++++++++++ 16 files changed, 1487 insertions(+), 5 deletions(-) create mode 100644 arch/arm/dts/imx8qm-cgtqmx8.dts create mode 100644 board/congatec/cgtqmx8/Kconfig create mode 100644 board/congatec/cgtqmx8/MAINTAINERS create mode 100644 board/congatec/cgtqmx8/Makefile create mode 100644 board/congatec/cgtqmx8/README create mode 100644 board/congatec/cgtqmx8/cgtqmx8.c create mode 100644 board/congatec/cgtqmx8/imximage.cfg create mode 100644 board/congatec/cgtqmx8/spl.c create mode 100644 board/congatec/common/Kconfig create mode 100644 board/congatec/common/Makefile create mode 100644 board/congatec/common/mmc.c create mode 100644 configs/cgtqmx8_defconfig create mode 100644 include/configs/cgtqmx8.h