Skip to contentSkip to conversation

imx: support for conga-QMX8 board

PATCH Superseded Oliver Graute 4 participants 6 messages Jun 16, 2020 – Nov 4, 2020

Subsystems (3)

v3 of 7 Superseded Latest is v7 →

lore
Share & tools
lore
#0 lore raw

v3 cover imx: support for conga-QMX8 board

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
Signature · 1 line
2.17.1
#1 lore raw

PATCH v3 1/1 imx: support for conga-QMX8 board

Add i.MX8QM qmx8 congatec board support

U-Boot 2020.04-00002-g1ff5446a63 (Jun 16 2020 - 13:47:28 +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
switch to partitions #0, OK
mmc2 is current device
Net:   eth0: ethernet at 5b040000
Hit any key to stop autoboot:  0
Cc Stefano Babic <[email protected]>
Cc Fabio Estevam <[email protected]>
Cc Peng Fan <[email protected]>
Cc Simon Glass <[email protected]>
Cc uboot-imx <[email protected]>
---
 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       |  57 ++++
 board/congatec/cgtqmx8/cgtqmx8.c    | 478 ++++++++++++++++++++++++++++
 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 +++++
 include/configs/cgtqmx8.h           | 194 +++++++++++
 15 files changed, 1454 insertions(+)
 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
arch/arm/dts/Makefile +1 -0
index 9900b44274..6eb6399468 100644
@@ -735,6 +735,7 @@ dtb-$(CONFIG_ARCH_MX7ULP) += imx7ulp-com.dtb \
 dtb-$(CONFIG_ARCH_IMX8) += \
 	fsl-imx8qm-apalis.dtb \
 	fsl-imx8qm-mek.dtb \
+	imx8qm-cgtqmx8.dtb \
 	imx8qm-rom7720-a1.dtb \
 	fsl-imx8qxp-ai_ml.dtb \
 	fsl-imx8qxp-colibri.dtb \
arch/arm/dts/imx8qm-cgtqmx8.dts new file +427 -0

427 lines not on this page · raw message

arch/arm/mach-imx/imx8/Kconfig +7 -0
index 9d1f73dfc7..5cbcaa7b9e 100644
@@ -80,6 +80,12 @@ config TARGET_IMX8QM_MEK
 	select BOARD_LATE_INIT
 	select IMX8QM
 
+config TARGET_CONGA_QMX8
+	bool "Support congatec conga-QMX8 board"
+	select BOARD_LATE_INIT
+	select SUPPORT_SPL
+	select IMX8QM
+
 config TARGET_IMX8QM_ROM7720_A1
 	bool "Support i.MX8QM ROM-7720-A1"
 	select BOARD_LATE_INIT
@@ -95,6 +101,7 @@ endchoice
 
 source "board/freescale/imx8qm_mek/Kconfig"
 source "board/freescale/imx8qxp_mek/Kconfig"
+source "board/congatec/cgtqmx8/Kconfig"
 source "board/advantech/imx8qm_rom7720_a1/Kconfig"
 source "board/toradex/apalis-imx8/Kconfig"
 source "board/toradex/colibri-imx8x/Kconfig"
board/congatec/cgtqmx8/Kconfig new file +14 -0
new file mode 100644
index 0000000000..7273039261
@@ -0,0 +1,14 @@
+if TARGET_CONGA_QMX8
+
+config SYS_BOARD
+	default "cgtqmx8"
+
+config SYS_VENDOR
+	default "congatec"
+
+config SYS_CONFIG_NAME
+	default "cgtqmx8"
+
+source "board/congatec/common/Kconfig"
+
+endif
board/congatec/cgtqmx8/MAINTAINERS new file +6 -0
new file mode 100644
index 0000000000..a242e534c8
@@ -0,0 +1,6 @@
+i.MX8QM CGTQMX8 BOARD
+M:	Oliver Graute <[email protected]>
+S:	Maintained
+F:	board/congatec/cgtqmx8/
+F:	include/configs/cgtqmx8.h
+F:	configs/cgtqmx8_defconfig
board/congatec/cgtqmx8/Makefile new file +11 -0
new file mode 100644
index 0000000000..4b59dbb6bc
@@ -0,0 +1,11 @@
+#
+# Copyright 2017 NXP
+#
+# SPDX-License-Identifier:	GPL-2.0+
+#
+
+obj-y += cgtqmx8.o
+
+ifdef CONFIG_SPL_BUILD
+obj-y += spl.o
+endif
board/congatec/cgtqmx8/README new file +46 -0

46 lines not on this page · raw message

+$ export BL33_LOAD_ADDR=0x80020000
+$ make cgtqmx8_defconfig
+$ make u-boot.bin
+$ make flash.bin
+
+Flash the binary into the SD card
+=================================
+
+Burn the flash.bin binary to SD card offset 32KB:
+
+$ sudo dd if=flash.bin of=/dev/sd[x] bs=1k seek=32 conv=fsync

board/congatec/cgtqmx8/cgtqmx8.c new file +479 -0

479 lines not on this page · raw message

board/congatec/cgtqmx8/imximage.cfg new file +21 -0
new file mode 100644
index 0000000000..e324c7ca37
@@ -0,0 +1,21 @@
+/* SPDX-License-Identifier:	GPL-2.0+ */
+/*
+ * Copyright 2018 NXP
+ */
+
+#define __ASSEMBLY__
+
+/* Boot from SD, sector size 0x400 */
+BOOT_FROM SD 0x400
+/* SoC type IMX8QM */
+SOC_TYPE IMX8QM
+/* Append seco container image */
+APPEND mx8qm-ahab-container.img
+/* Create the 2nd container */
+CONTAINER
+/* Add scfw image with exec attribute */
+IMAGE SCU mx8qm-val-scfw-tcm.bin
+/* Add ATF image with exec attribute */
+IMAGE A35 bl31.bin 0x80000000
+/* Add U-Boot image with load attribute */
+DATA A35 u-boot-dtb.bin 0x80020000
board/congatec/cgtqmx8/spl.c new file +76 -0

76 lines not on this page · raw message

board/congatec/common/Kconfig new file +48 -0

48 lines not on this page · raw message

board/congatec/common/Makefile new file +23 -0
new file mode 100644
index 0000000000..d4ddfbf971
@@ -0,0 +1,23 @@
+#
+# (C) Copyright 2006
+# Wolfgang Denk, DENX Software Engineering, wd at denx.de.
+#
+# SPDX-License-Identifier:	GPL-2.0+
+#
+
+MINIMAL=
+
+ifdef CONFIG_SPL_BUILD
+ifdef CONFIG_SPL_INIT_MINIMAL
+MINIMAL=y
+endif
+endif
+
+ifdef MINIMAL
+# necessary to create built-in.o
+obj- := __dummy__.o
+else
+
+obj-y				+= mmc.o
+
+endif
board/congatec/common/mmc.c new file +50 -0

50 lines not on this page · raw message

configs/cgtqmx8_defconfig new file +82 -0

82 lines not on this page · raw message

include/configs/cgtqmx8.h new file +194 -0

194 lines not on this page · raw message

Signature · 1 line
2.17.1
#2 lore raw

PATCH v3 1/1 imx: support for conga-QMX8 board

Hallo Oliver,

Quoted 15 lines · Oliver Graute

Add i.MX8QM qmx8 congatec board support

U-Boot 2020.04-00002-g1ff5446a63 (Jun 16 2020 - 13:47:28 +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

Quoted 8 lines
In:    serial at 5a060000
Out:   serial at 5a060000
Err:   serial at 5a060000
switch to partitions #0, OK
mmc2 is current device
Net:   eth0: ethernet at 5b040000
Hit any key to stop autoboot:  0

I see some small issues after merging this. There are some warnings that should be fixed before merging, mainly they are missing prototypes that can be easy fixed. This is the log by building the board:

+  174 |    if (!power_domain_lookup_name("conn_sdhc0", &pd))
+      |         ^~~~~~~~~~~~~~~~~~~~~~~~
+      |         imx8_power_domain_lookup_name
+  178 |    init_clk_usdhc(0);
+      |    ^~~~~~~~~~~~~~
+  208 |   ret = fsl_esdhc_initialize(bis, &usdhc_cfg[i]);
+      |         ^~~~~~~~~~~~~~~~~~~~
+      |         fecmxc_initialize
+  278 |  struct power_domain pd0;
+      |                      ^~~
+  442 |  board_late_mmc_env_init();
+      |  ^~~~~~~~~~~~~~~~~~~~~~~
+      |  board_late_init
+  287 |  if (ret)
+      |     ^
+   16 |  char *autodetect_str = env_get("mmcautodetect");
+      |                         ^~~~~~~
+   41 |  env_set_ulong("mmcdev", dev_no);
+      |  ^~~~~~~~~~~~~
+   46 |  env_set("mmcroot", mmcblk);
+      |  ^~~~~~~
+   49 |  run_command(cmd, 0);
+      |  ^~~~~~~~~~~
+   46 |  arch_cpu_init();
+      |  arch_misc_init
+   48 |  board_early_init_f();
+      |  ^~~~~~~~~~~~~~~~~~
+   50 |  timer_init();
+      |  ^~~~~~~~~~
+   75 |  board_init_r(NULL, 0);
+      |  ^~~~~~~~~~~~
+      |  board_init_f

w+board/congatec/cgtqmx8/cgtqmx8.c: In function 'board_mmc_init':
w+board/congatec/cgtqmx8/cgtqmx8.c:174:9: warning: implicit declaration of function 'power_domain_lookup_name'; did you mean 'imx8_power_domain_lookup_name'? [-Wimplicit-function-declaration] w+board/congatec/cgtqmx8/cgtqmx8.c:178:4: warning: implicit declaration of function 'init_clk_usdhc' [-Wimplicit-function-declaration] w+board/congatec/cgtqmx8/cgtqmx8.c:208:9: warning: implicit declaration of function 'fsl_esdhc_initialize'; did you mean 'fecmxc_initialize'? [-Wimplicit-function-declaration] w+board/congatec/cgtqmx8/cgtqmx8.c: In function 'board_eth_init':
w+board/congatec/cgtqmx8/cgtqmx8.c:278:22: warning: unused variable 'pd0' [-Wunused-variable] w+board/congatec/cgtqmx8/cgtqmx8.c: In function 'board_late_init':
w+board/congatec/cgtqmx8/cgtqmx8.c:442:2: warning: implicit declaration of function 'board_late_mmc_env_init'; did you mean 'board_late_init'? [-Wimplicit-function-declaration] w+board/congatec/cgtqmx8/cgtqmx8.c:287:5: warning: 'ret' is used uninitialized in this function [-Wuninitialized] w+board/congatec/common/mmc.c: In function 'check_mmc_autodetect':
w+board/congatec/common/mmc.c:16:25: warning: implicit declaration of function 'env_get' [-Wimplicit-function-declaration] w+board/congatec/common/mmc.c:16:25: warning: initialization of 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] w+board/congatec/common/mmc.c: In function 'board_late_mmc_env_init':
w+board/congatec/common/mmc.c:41:2: warning: implicit declaration of function 'env_set_ulong' [-Wimplicit-function-declaration] w+board/congatec/common/mmc.c:46:2: warning: implicit declaration of function 'env_set' [-Wimplicit-function-declaration] w+board/congatec/common/mmc.c:49:2: warning: implicit declaration of function 'run_command' [-Wimplicit-function-declaration] w+board/congatec/cgtqmx8/spl.c: In function 'spl_board_init':
w+board/congatec/cgtqmx8/spl.c:46:2: warning: implicit declaration of function 'arch_cpu_init'; did you mean 'arch_misc_init'? [-Wimplicit-function-declaration] w+board/congatec/cgtqmx8/spl.c:48:2: warning: implicit declaration of function 'board_early_init_f' [-Wimplicit-function-declaration] w+board/congatec/cgtqmx8/spl.c:50:2: warning: implicit declaration of function 'timer_init' [-Wimplicit-function-declaration] w+board/congatec/cgtqmx8/spl.c: In function 'board_init_f':
w+board/congatec/cgtqmx8/spl.c:75:2: warning: implicit declaration of function 'board_init_r'; did you mean 'board_init_f'? [-Wimplicit-function-declaration]

Can you fix them and repost it ? Thanks !

Best 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
=====================================================================
#3 lore raw

PATCH v3 2/2 hack to boot with 2020.01

In reply to Oliver Graute

As proposed here:

https://lists.denx.de/pipermail/u-boot/2020-January/396749.html

Both of my imx8qm boards (Advantech and Congatec) aren't booting 2020.01 without this change. Whats the proper way to fix this on my side?

---
 drivers/core/device.c | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)
drivers/core/device.c +2 -5
index a7408d9c76..2bff618f6c 100644
@@ -448,11 +448,8 @@ int device_probe(struct udevice *dev)
 
 	if (CONFIG_IS_ENABLED(POWER_DOMAIN) && dev->parent &&
 	    (device_get_uclass_id(dev) != UCLASS_POWER_DOMAIN) &&
-	    !(drv->flags & DM_FLAG_DEFAULT_PD_CTRL_OFF)) {
-		ret = dev_power_domain_on(dev);
-		if (ret)
-			goto fail;
-	}
+	    !(drv->flags & DM_FLAG_DEFAULT_PD_CTRL_OFF))
+		dev_power_domain_on(dev);
 
 	ret = uclass_pre_probe_device(dev);
 	if (ret)
Signature · 1 line
2.17.1
#4 lore raw

PATCH 2/2 hack to boot with 2020.01

Quoted 6 lines · Oliver Graute

As proposed here:

https://lists.denx.de/pipermail/u-boot/2020-January/396749.html

Both of my imx8qm boards (Advantech and Congatec) aren't booting 2020.01 without this change. Whats the proper way to fix this on my side?

Did you mean to say something newer than that? I thought something around here had finally been debugged and fixed at least in some of the failing cases. Thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200616/faf22f9b/attachment.sig>
#5 lore raw

v3 cover imx: support for conga-QMX8 board

In reply to Oliver Graute
Quoted 41 lines · Oliver Graute

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

Quoted 4 lines
Code: aa0503e4 17fffff2 aa0003e5 d2800003 (386368a4)

Resetting CPU ...

resetting ...

Currently I try to rebase this patch to v2020.10. But still run into crashes. After some fun with bisect I could blame this commit:

commit 09140113108541b95d340f3c7b6ee597d31ccc73

Author: Simon Glass <[email protected]>
Date:   Sun May 10 11:40:03 2020 -0600

command: Remove the cmd_tbl_t typedef

09140113108541b95d340f3c7b6ee597d31ccc73 BAD 691d719db7183dfb1d1360efed4c5e9f6899095f GOOD

But I assume that I need to fix something on my patch. Perhaps someone could comment and help me on this.

Best regards,

Oliver

U-Boot 2020.07-rc2-00147-g17a341f285 (Nov 04 2020 - 16:13:36 +0100)

sc_pm_get_clock_rate: resource:507 clk:2: res:3 Could not read CPU frequency: -22
CPU: NXP i.MX8QM RevB A35 at 0 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... *** Warning - bad CRC, using default environment

In:    serial at 5a060000
Out:   serial at 5a060000
Err:   serial at 5a060000

"Synchronous Abort" handler, esr 0x96000004
elr: 000000008005cf54 lr : 0000000080022f94 (reloc)
elr: 00000000fff22f54 lr : 00000000ffee8f94 x0 : fffffffffdaf0e40 x1 : 00000000fff2d89f x2 : 0000000000000000 x3 : 0000000000000000 x4 : 0000000000000000 x5 : fffffffffdaf0e40 x6 : 00000000fff068f4 x7 : 00000000fff3bca0 x8 : 00000000fdaf1390 x9 : 0000000000000008
x10: 00000000fdaec9a0 x11: 00000000fdaee528
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 ...