Skip to contentSkip to conversation

Support for Kontron Electronics i.MX6UL/ULL and i.MX8MM SoMs

PATCH In review Frieder Schrempf 4 participants 10 messages Sep 29, 2021 – Oct 7, 2021

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

v6 cover Support for Kontron Electronics i.MX6UL/ULL and i.MX8MM SoMs

From: Frieder Schrempf <[email protected]>

This a patchset to upstream the support for the SL i.MX6UL, SL i.MX6ULL and SL i.MX8MM families of SoMs and matching evaluation boards by Kontron Electronics.

The first patch adds the i.MX6UL/ULL hardware and the second patch the i.MX8MM hardware.

Changes in v3:
* Drop doc preparation patch as Michael picked it up in his series
* Fixes and support for standard distro support for SL/BL i.MX8MM by Heiko (thanks!)

Frieder Schrempf (2):
imx: imx6ul: Add support for Kontron Electronics SL/BL i.MX6UL/ULL

    boards (N63xx/N64xx)
  imx: imx8mm: Add support for Kontron Electronics SL/BL i.MX8M-Mini
    boards (N801x)
 arch/arm/dts/Makefile                         |    6 +-
 .../dts/imx6ul-kontron-n631x-s-u-boot.dtsi    |    7 +
 arch/arm/dts/imx6ul-kontron-n631x-s.dts       |   17 +
 arch/arm/dts/imx6ul-kontron-n631x-som.dtsi    |   14 +
 .../dts/imx6ul-kontron-n6x1x-s-u-boot.dtsi    |   63 +
 arch/arm/dts/imx6ul-kontron-n6x1x-s.dts       |  423 ++++
 arch/arm/dts/imx6ul-kontron-n6x1x-s.dtsi      |  420 ++++
 .../dts/imx6ul-kontron-n6x1x-som-common.dtsi  |  124 ++
 .../dts/imx6ull-kontron-n641x-s-u-boot.dtsi   |    7 +
 arch/arm/dts/imx6ull-kontron-n641x-s.dts      |   16 +
 arch/arm/dts/imx6ull-kontron-n641x-som.dtsi   |   13 +
 arch/arm/dts/imx8mm-kontron-n801x-s-lvds.dts  |  116 ++
 .../dts/imx8mm-kontron-n801x-s-u-boot.dtsi    |  274 +++
 arch/arm/dts/imx8mm-kontron-n801x-s.dts       |  388 ++++
 arch/arm/dts/imx8mm-kontron-n801x-som.dtsi    |  299 +++
 arch/arm/mach-imx/imx8m/Kconfig               |    8 +
 arch/arm/mach-imx/mx6/Kconfig                 |   10 +
 board/kontron/sl-mx6ul/Kconfig                |   15 +
 board/kontron/sl-mx6ul/MAINTAINERS            |    9 +
 board/kontron/sl-mx6ul/Makefile               |    8 +
 board/kontron/sl-mx6ul/sl-mx6ul.c             |   85 +
 board/kontron/sl-mx6ul/spl.c                  |  377 ++++
 board/kontron/sl-mx8mm/Kconfig                |   15 +
 board/kontron/sl-mx8mm/MAINTAINERS            |    8 +
 board/kontron/sl-mx8mm/Makefile               |    9 +
 board/kontron/sl-mx8mm/imximage.cfg           |    9 +
 board/kontron/sl-mx8mm/lpddr4_timing.c        | 1844 +++++++++++++++++
 board/kontron/sl-mx8mm/sl-mx8mm.c             |   99 +
 board/kontron/sl-mx8mm/spl.c                  |  321 +++
 configs/kontron-sl-mx6ul_defconfig            |  108 +
 configs/kontron-sl-mx8mm_defconfig            |  140 ++
 doc/board/kontron/index.rst                   |    2 +
 doc/board/kontron/sl-mx6ul.rst                |   43 +
 doc/board/kontron/sl-mx8mm.rst                |   85 +
 include/configs/kontron-sl-mx6ul.h            |   78 +
 include/configs/kontron-sl-mx8mm.h            |   87 +
 36 files changed, 5546 insertions(+), 1 deletion(-)
 create mode 100644 arch/arm/dts/imx6ul-kontron-n631x-s-u-boot.dtsi
 create mode 100644 arch/arm/dts/imx6ul-kontron-n631x-s.dts
 create mode 100644 arch/arm/dts/imx6ul-kontron-n631x-som.dtsi
 create mode 100644 arch/arm/dts/imx6ul-kontron-n6x1x-s-u-boot.dtsi
 create mode 100644 arch/arm/dts/imx6ul-kontron-n6x1x-s.dts
 create mode 100644 arch/arm/dts/imx6ul-kontron-n6x1x-s.dtsi
 create mode 100644 arch/arm/dts/imx6ul-kontron-n6x1x-som-common.dtsi
 create mode 100644 arch/arm/dts/imx6ull-kontron-n641x-s-u-boot.dtsi
 create mode 100644 arch/arm/dts/imx6ull-kontron-n641x-s.dts
 create mode 100644 arch/arm/dts/imx6ull-kontron-n641x-som.dtsi
 create mode 100644 arch/arm/dts/imx8mm-kontron-n801x-s-lvds.dts
 create mode 100644 arch/arm/dts/imx8mm-kontron-n801x-s-u-boot.dtsi
 create mode 100644 arch/arm/dts/imx8mm-kontron-n801x-s.dts
 create mode 100644 arch/arm/dts/imx8mm-kontron-n801x-som.dtsi
 create mode 100644 board/kontron/sl-mx6ul/Kconfig
 create mode 100644 board/kontron/sl-mx6ul/MAINTAINERS
 create mode 100644 board/kontron/sl-mx6ul/Makefile
 create mode 100644 board/kontron/sl-mx6ul/sl-mx6ul.c
 create mode 100644 board/kontron/sl-mx6ul/spl.c
 create mode 100644 board/kontron/sl-mx8mm/Kconfig
 create mode 100644 board/kontron/sl-mx8mm/MAINTAINERS
 create mode 100644 board/kontron/sl-mx8mm/Makefile
 create mode 100644 board/kontron/sl-mx8mm/imximage.cfg
 create mode 100644 board/kontron/sl-mx8mm/lpddr4_timing.c
 create mode 100644 board/kontron/sl-mx8mm/sl-mx8mm.c
 create mode 100644 board/kontron/sl-mx8mm/spl.c
 create mode 100644 configs/kontron-sl-mx6ul_defconfig
 create mode 100644 configs/kontron-sl-mx8mm_defconfig
 create mode 100644 doc/board/kontron/sl-mx6ul.rst
 create mode 100644 doc/board/kontron/sl-mx8mm.rst
 create mode 100644 include/configs/kontron-sl-mx6ul.h
 create mode 100644 include/configs/kontron-sl-mx8mm.h
Signature · 1 line
2.33.0
#1 lore raw

PATCH v6 1/2 imx: imx6ul: Add support for Kontron Electronics SL/BL i.MX6UL/ULL boards (N63xx/N64xx)

From: Frieder Schrempf <[email protected]>

This adds support for i.MX6UL/ULL-based evaluation kits with SoMs by Kontron Electronics GmbH.

Currently there are the following SoM flavors (SoM-Line):
* N6310: SOM with i.MX6UL-2, 256MB RAM, 256MB SPI NAND
* N6311: SOM with i.MX6UL-2, 512MB RAM, 512MB SPI NAND
* N6411: SOM with i.MX6ULL, 512MB RAM, 512MB SPI NAND

And the according evaluation boards (Board-Line):
* N6310-S: Baseboard with SOM N6310, eMMC, display (optional), ...
* N6311-S: Baseboard with SOM N6311, eMMC, display (optional), ...
* N6411-S: Baseboard with SOM N6411, eMMC, display (optional), ...

Currently U-Boot describes i.MX6UL and i.MX6ULL through separate config options at compile-time. Though the differences are so minor, that for the scope of these SoMs we just use a single defconfig that is compatible with both SoCs.

---
Changes in v6:
* None

Changes in v5:
* Comments from Tom and Michael (thanks!)
* Drop the common header file kontron_common.h
* Remove all clutter from the environment
* Rebase on current master
* Rename board files to contain sl-mx6ul
* Make do_board_detect() static
* Add simple docs
* Simplify and update MAINTAINERS file
* Use binman only to build a flash.bin with SPL and U-Boot
* Fix offsets for U-Boot image in SPI NOR and MMC
* Refresh defconfig
* Add missing define for CONFIG_SYS_UBOOT_BASE

Changes in v4:
* Fix checkpatch errors/warnings
* Stop disabling initrd/fdt relocation

Changes in v3:
* Guard binman nodes to fix build of other UL boards

Changes in v2:
* Add MAINTAINERS file
* Rename board directory
* Use binman to generate FIT
* Support legacy images
* Add Stefano's R-b tag

---
 arch/arm/dts/Makefile                         |   4 +-
 .../dts/imx6ul-kontron-n631x-s-u-boot.dtsi    |   7 +
 arch/arm/dts/imx6ul-kontron-n631x-s.dts       |  17 +
 arch/arm/dts/imx6ul-kontron-n631x-som.dtsi    |  14 +
 .../dts/imx6ul-kontron-n6x1x-s-u-boot.dtsi    |  63 +++
 arch/arm/dts/imx6ul-kontron-n6x1x-s.dts       | 423 ++++++++++++++++++
 arch/arm/dts/imx6ul-kontron-n6x1x-s.dtsi      | 420 +++++++++++++++++
 .../dts/imx6ul-kontron-n6x1x-som-common.dtsi  | 124 +++++
 .../dts/imx6ull-kontron-n641x-s-u-boot.dtsi   |   7 +
 arch/arm/dts/imx6ull-kontron-n641x-s.dts      |  16 +
 arch/arm/dts/imx6ull-kontron-n641x-som.dtsi   |  13 +
 arch/arm/mach-imx/mx6/Kconfig                 |  10 +
 board/kontron/sl-mx6ul/Kconfig                |  15 +
 board/kontron/sl-mx6ul/MAINTAINERS            |   9 +
 board/kontron/sl-mx6ul/Makefile               |   8 +
 board/kontron/sl-mx6ul/sl-mx6ul.c             |  85 ++++
 board/kontron/sl-mx6ul/spl.c                  | 377 ++++++++++++++++
 configs/kontron-sl-mx6ul_defconfig            | 108 +++++
 doc/board/kontron/index.rst                   |   1 +
 doc/board/kontron/sl-mx6ul.rst                |  43 ++
 include/configs/kontron-sl-mx6ul.h            |  78 ++++
 21 files changed, 1841 insertions(+), 1 deletion(-)
 create mode 100644 arch/arm/dts/imx6ul-kontron-n631x-s-u-boot.dtsi
 create mode 100644 arch/arm/dts/imx6ul-kontron-n631x-s.dts
 create mode 100644 arch/arm/dts/imx6ul-kontron-n631x-som.dtsi
 create mode 100644 arch/arm/dts/imx6ul-kontron-n6x1x-s-u-boot.dtsi
 create mode 100644 arch/arm/dts/imx6ul-kontron-n6x1x-s.dts
 create mode 100644 arch/arm/dts/imx6ul-kontron-n6x1x-s.dtsi
 create mode 100644 arch/arm/dts/imx6ul-kontron-n6x1x-som-common.dtsi
 create mode 100644 arch/arm/dts/imx6ull-kontron-n641x-s-u-boot.dtsi
 create mode 100644 arch/arm/dts/imx6ull-kontron-n641x-s.dts
 create mode 100644 arch/arm/dts/imx6ull-kontron-n641x-som.dtsi
 create mode 100644 board/kontron/sl-mx6ul/Kconfig
 create mode 100644 board/kontron/sl-mx6ul/MAINTAINERS
 create mode 100644 board/kontron/sl-mx6ul/Makefile
 create mode 100644 board/kontron/sl-mx6ul/sl-mx6ul.c
 create mode 100644 board/kontron/sl-mx6ul/spl.c
 create mode 100644 configs/kontron-sl-mx6ul_defconfig
 create mode 100644 doc/board/kontron/sl-mx6ul.rst
 create mode 100644 include/configs/kontron-sl-mx6ul.h
arch/arm/dts/Makefile +3 -1
index fc16a57e60..d3454726f5 100644
@@ -815,7 +815,9 @@ dtb-$(CONFIG_MX6UL) += \
 	imx6ul-liteboard.dtb \
 	imx6ul-phytec-segin-ff-rdk-nand.dtb \
 	imx6ul-pico-hobbit.dtb \
-	imx6ul-pico-pi.dtb
+	imx6ul-pico-pi.dtb \
+	imx6ul-kontron-n631x-s.dtb \
+	imx6ull-kontron-n641x-s.dtb
 
 dtb-$(CONFIG_MX6ULL) += \
 	imx6ull-14x14-evk.dtb \
arch/arm/dts/imx6ul-kontron-n631x-s-u-boot.dtsi new file +7 -0
new file mode 100644
index 0000000000..d3f013c58c
@@ -0,0 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0 OR MIT
+/*
+ * Copyright (C) 2017 exceet electronics GmbH
+ * Copyright (C) 2018 Kontron Electronics GmbH
+ */
+
+#include "imx6ul-kontron-n6x1x-s-u-boot.dtsi"
arch/arm/dts/imx6ul-kontron-n631x-s.dts new file +17 -0
new file mode 100644
index 0000000000..407d2b1dab
@@ -0,0 +1,17 @@
+// SPDX-License-Identifier: GPL-2.0
+/*
+ * Copyright (C) 2017 exceet electronics GmbH
+ * Copyright (C) 2018 Kontron Electronics GmbH
+ * Copyright (c) 2019 Krzysztof Kozlowski <[email protected]>
+ */
+
+/dts-v1/;
+
+#include "imx6ul-kontron-n631x-som.dtsi"
+#include "imx6ul-kontron-n6x1x-s.dtsi"
+
+/ {
+	model = "Kontron N631X S";
+	compatible = "kontron,imx6ul-n631x-s", "kontron,imx6ul-n631x-som",
+		     "fsl,imx6ul";
+};
arch/arm/dts/imx6ul-kontron-n631x-som.dtsi new file +14 -0
new file mode 100644
index 0000000000..9a1179814b
@@ -0,0 +1,14 @@
+// SPDX-License-Identifier: GPL-2.0
+/*
+ * Copyright (C) 2017 exceet electronics GmbH
+ * Copyright (C) 2018 Kontron Electronics GmbH
+ * Copyright (c) 2019 Krzysztof Kozlowski <[email protected]>
+ */
+
+#include "imx6ul.dtsi"
+#include "imx6ul-kontron-n6x1x-som-common.dtsi"
+
+/ {
+	model = "Kontron N631X SOM";
+	compatible = "kontron,imx6ul-n631x-som", "fsl,imx6ul";
+};
arch/arm/dts/imx6ul-kontron-n6x1x-s-u-boot.dtsi new file +63 -0

63 lines not on this page · raw message

arch/arm/dts/imx6ul-kontron-n6x1x-s.dts new file +423 -0

423 lines not on this page · raw message

arch/arm/dts/imx6ul-kontron-n6x1x-s.dtsi new file +420 -0

420 lines not on this page · raw message

arch/arm/dts/imx6ul-kontron-n6x1x-som-common.dtsi new file +124 -0

124 lines not on this page · raw message

arch/arm/dts/imx6ull-kontron-n641x-s-u-boot.dtsi new file +7 -0
new file mode 100644
index 0000000000..d3f013c58c
@@ -0,0 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0 OR MIT
+/*
+ * Copyright (C) 2017 exceet electronics GmbH
+ * Copyright (C) 2018 Kontron Electronics GmbH
+ */
+
+#include "imx6ul-kontron-n6x1x-s-u-boot.dtsi"
arch/arm/dts/imx6ull-kontron-n641x-s.dts new file +16 -0
new file mode 100644
index 0000000000..01aeea4085
@@ -0,0 +1,16 @@
+// SPDX-License-Identifier: GPL-2.0
+/*
+ * Copyright (C) 2017 exceet electronics GmbH
+ * Copyright (C) 2019 Kontron Electronics GmbH
+ */
+
+/dts-v1/;
+
+#include "imx6ull-kontron-n641x-som.dtsi"
+#include "imx6ul-kontron-n6x1x-s.dtsi"
+
+/ {
+	model = "Kontron N641X S";
+	compatible = "kontron,imx6ull-n641x-s", "kontron,imx6ull-n641x-som",
+		     "fsl,imx6ull";
+};
arch/arm/dts/imx6ull-kontron-n641x-som.dtsi new file +13 -0
new file mode 100644
index 0000000000..8a64aa9a27
@@ -0,0 +1,13 @@
+// SPDX-License-Identifier: GPL-2.0
+/*
+ * Copyright (C) 2017 exceet electronics GmbH
+ * Copyright (C) 2018 Kontron Electronics GmbH
+ */
+
+#include "imx6ull.dtsi"
+#include "imx6ul-kontron-n6x1x-som-common.dtsi"
+
+/ {
+	model = "Kontron N641X SOM";
+	compatible = "kontron,imx6ull-n641x-som", "fsl,imx6ull";
+};
arch/arm/mach-imx/mx6/Kconfig +10 -0
index 515c3020fa..bfef97394b 100644
@@ -231,6 +231,15 @@ config TARGET_GW_VENTANA
 	imply CMD_SATA
 	imply CMD_SPL
 
+config TARGET_KONTRON_MX6UL
+	bool "Kontron Electronics SL/BL i.MX6UL/ULL (N63xx/N64xx)"
+	depends on MX6UL
+	select BINMAN
+	select DM
+	select DM_THERMAL
+	select SUPPORT_SPL
+	imply CMD_DM
+
 config TARGET_KOSAGI_NOVENA
 	bool "Kosagi Novena"
 	select BOARD_LATE_INIT
@@ -669,6 +678,7 @@ source "board/grinn/liteboard/Kconfig"
 source "board/phytec/pcm058/Kconfig"
 source "board/phytec/pcl063/Kconfig"
 source "board/gateworks/gw_ventana/Kconfig"
+source "board/kontron/sl-mx6ul/Kconfig"
 source "board/kosagi/novena/Kconfig"
 source "board/softing/vining_2000/Kconfig"
 source "board/liebherr/display5/Kconfig"
board/kontron/sl-mx6ul/Kconfig new file +15 -0
new file mode 100644
index 0000000000..4e58de2094
@@ -0,0 +1,15 @@
+if TARGET_KONTRON_MX6UL
+
+config SYS_BOARD
+	string
+	default "sl-mx6ul"
+
+config SYS_VENDOR
+	string
+	default "kontron"
+
+config SYS_CONFIG_NAME
+	string
+	default "kontron-sl-mx6ul"
+
+endif
board/kontron/sl-mx6ul/MAINTAINERS new file +9 -0
new file mode 100644
index 0000000000..0f8b5512d6
@@ -0,0 +1,9 @@
+Kontron SL/BL i.MX6UL/ULL Boards (N63xx/N64xx)
+M:	Frieder Schrempf <[email protected]>
+S:	Maintained
+F:	arch/arm/dts/imx6ul-kontron-n6*
+F:	arch/arm/dts/imx6ull-kontron-n6*
+F:	board/kontron/sl-mx6ul
+F:	configs/kontron-sl-mx6ul_defconfig
+F:	doc/board/kontron/sl-mx6ul.rst
+F:	include/configs/kontron-sl-mx6ul.h
board/kontron/sl-mx6ul/Makefile new file +8 -0
new file mode 100644
index 0000000000..cae273c930
@@ -0,0 +1,8 @@
+# SPDX-License-Identifier: GPL-2.0+
+# (C) Copyright 2018 Kontron Electronics GmbH
+
+ifdef CONFIG_SPL_BUILD
+obj-y := spl.o
+else
+obj-y := sl-mx6ul.o
+endif
board/kontron/sl-mx6ul/sl-mx6ul.c new file +85 -0

85 lines not on this page · raw message

board/kontron/sl-mx6ul/spl.c new file +377 -0

377 lines not on this page · raw message

configs/kontron-sl-mx6ul_defconfig new file +108 -0

108 lines not on this page · raw message

doc/board/kontron/index.rst +1 -0
index 543b22e2f5..c3fadcef76 100644
@@ -7,3 +7,4 @@ Kontron
    :maxdepth: 2
 
    sl28
+   sl-mx6ul
doc/board/kontron/sl-mx6ul.rst new file +43 -0

43 lines not on this page · raw message

include/configs/kontron-sl-mx6ul.h new file +78 -0

78 lines not on this page · raw message

Signature · 1 line
2.33.0
#2 lore raw

PATCH v6 1/2 imx: imx6ul: Add support for Kontron Electronics SL/BL i.MX6UL/ULL boards (N63xx/N64xx)

Quoted 15 lines

From: Frieder Schrempf <[email protected]>
This adds support for i.MX6UL/ULL-based evaluation kits with SoMs by Kontron Electronics GmbH.
Currently there are the following SoM flavors (SoM-Line):
* N6310: SOM with i.MX6UL-2, 256MB RAM, 256MB SPI NAND
* N6311: SOM with i.MX6UL-2, 512MB RAM, 512MB SPI NAND
* N6411: SOM with i.MX6ULL, 512MB RAM, 512MB SPI NAND
And the according evaluation boards (Board-Line):
* N6310-S: Baseboard with SOM N6310, eMMC, display (optional), ...
* N6311-S: Baseboard with SOM N6311, eMMC, display (optional), ...
* N6411-S: Baseboard with SOM N6411, eMMC, display (optional), ...
Currently U-Boot describes i.MX6UL and i.MX6ULL through separate config options at compile-time. Though the differences are so minor, that for the scope of these SoMs we just use a single defconfig that is compatible with both SoCs.

Quoted 2 lines

Applied to u-boot-imx, master, thanks !

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: [email protected]
=====================================================================
#3 lore raw

PATCH v6 2/2 imx: imx8mm: Add support for Kontron Electronics SL/BL i.MX8M-Mini boards (N801x)

In reply to Frieder Schrempf

From: Frieder Schrempf <[email protected]>

The Kontron SoM-Line i.MX8MM (N801x) by Kontron Electronics GmbH is a SoM module with an i.MX8M-Mini SoC, 1/2/4 GB LPDDR4 RAM, SPI NOR, eMMC and PMIC.

The matching evaluation boards (Board-Line) have 2 Ethernets, USB 2.0, HDMI/LVDS, SD card, CAN, RS485 and much more.

---
Changes in v6:
Fixes and standard distro boot support from Heiko (thanks!):
* add USB to distroboot support
* small fixes in documentation
* add buck2 node-property regulator-always-on
* remove legacy gpio phy reset
* disable watchdog autostart
* add fdt_addr_r to environment
* enable config options and env for EFI support
* create update image for EFI capsule via binman
* fix env offset and size and keep env in SPI NOR only
* enable CONFIG_SPL_DM_SPI_FLASH
* increase SPI flash clock
* enable RTC and time support

Changes in v5:
* Comments from Michael (thanks!)
* Drop the common header file kontron_common.h
* Remove all clutter from the environment
* Rebase on current master
* Rename board files to contain sl-mx6ul
* Add simple docs
* Adjust u-boot.itb offsets in MMC and SPI NOR to match common values
* Update MAINTAINERS file
* Fix binman build
* Refresh defconfig

Changes in v4:
* Fix checkpatch errors/warnings

Changes in v3:
* None

Changes in v2:
* Fix header includes in spl.c
* Add MAINTAINERS file
* Rename board directory
* Add Stefano's R-b tag

---
 arch/arm/dts/Makefile                         |    2 +
 arch/arm/dts/imx8mm-kontron-n801x-s-lvds.dts  |  116 ++
 .../dts/imx8mm-kontron-n801x-s-u-boot.dtsi    |  274 +++
 arch/arm/dts/imx8mm-kontron-n801x-s.dts       |  388 ++++
 arch/arm/dts/imx8mm-kontron-n801x-som.dtsi    |  299 +++
 arch/arm/mach-imx/imx8m/Kconfig               |    8 +
 board/kontron/sl-mx8mm/Kconfig                |   15 +
 board/kontron/sl-mx8mm/MAINTAINERS            |    8 +
 board/kontron/sl-mx8mm/Makefile               |    9 +
 board/kontron/sl-mx8mm/imximage.cfg           |    9 +
 board/kontron/sl-mx8mm/lpddr4_timing.c        | 1844 +++++++++++++++++
 board/kontron/sl-mx8mm/sl-mx8mm.c             |   99 +
 board/kontron/sl-mx8mm/spl.c                  |  321 +++
 configs/kontron-sl-mx8mm_defconfig            |  140 ++
 doc/board/kontron/index.rst                   |    1 +
 doc/board/kontron/sl-mx8mm.rst                |   85 +
 include/configs/kontron-sl-mx8mm.h            |   87 +
 17 files changed, 3705 insertions(+)
 create mode 100644 arch/arm/dts/imx8mm-kontron-n801x-s-lvds.dts
 create mode 100644 arch/arm/dts/imx8mm-kontron-n801x-s-u-boot.dtsi
 create mode 100644 arch/arm/dts/imx8mm-kontron-n801x-s.dts
 create mode 100644 arch/arm/dts/imx8mm-kontron-n801x-som.dtsi
 create mode 100644 board/kontron/sl-mx8mm/Kconfig
 create mode 100644 board/kontron/sl-mx8mm/MAINTAINERS
 create mode 100644 board/kontron/sl-mx8mm/Makefile
 create mode 100644 board/kontron/sl-mx8mm/imximage.cfg
 create mode 100644 board/kontron/sl-mx8mm/lpddr4_timing.c
 create mode 100644 board/kontron/sl-mx8mm/sl-mx8mm.c
 create mode 100644 board/kontron/sl-mx8mm/spl.c
 create mode 100644 configs/kontron-sl-mx8mm_defconfig
 create mode 100644 doc/board/kontron/sl-mx8mm.rst
 create mode 100644 include/configs/kontron-sl-mx8mm.h
arch/arm/dts/Makefile +2 -0
index d3454726f5..3da083af47 100644
@@ -872,6 +872,8 @@ dtb-$(CONFIG_ARCH_IMX8M) += \
 	imx8mm-evk.dtb \
 	imx8mm-icore-mx8mm-ctouch2.dtb \
 	imx8mm-icore-mx8mm-edimm2.2.dtb \
+	imx8mm-kontron-n801x-s.dtb \
+	imx8mm-kontron-n801x-s-lvds.dtb \
 	imx8mm-venice.dtb \
 	imx8mm-venice-gw71xx-0x.dtb \
 	imx8mm-venice-gw72xx-0x.dtb \
arch/arm/dts/imx8mm-kontron-n801x-s-lvds.dts new file +116 -0

116 lines not on this page · raw message

arch/arm/dts/imx8mm-kontron-n801x-s-u-boot.dtsi new file +274 -0

274 lines not on this page · raw message

arch/arm/dts/imx8mm-kontron-n801x-s.dts new file +388 -0

388 lines not on this page · raw message

arch/arm/dts/imx8mm-kontron-n801x-som.dtsi new file +299 -0

299 lines not on this page · raw message

arch/arm/mach-imx/imx8m/Kconfig +8 -0
index ccaf106be5..a25f99713f 100644
@@ -75,6 +75,13 @@ config TARGET_IMX8MM_VENICE
 	select SUPPORT_SPL
 	select IMX8M_LPDDR4
 
+config TARGET_KONTRON_MX8MM
+	bool "Kontron Electronics N80xx"
+	select BINMAN
+	select IMX8MM
+	select SUPPORT_SPL
+	select IMX8M_LPDDR4
+
 config TARGET_IMX8MN_EVK
 	bool "imx8mn LPDDR4 EVK board"
 	select BINMAN
@@ -150,6 +157,7 @@ source "board/freescale/imx8mn_evk/Kconfig"
 source "board/freescale/imx8mp_evk/Kconfig"
 source "board/gateworks/venice/Kconfig"
 source "board/google/imx8mq_phanbell/Kconfig"
+source "board/kontron/sl-mx8mm/Kconfig"
 source "board/phytec/phycore_imx8mm/Kconfig"
 source "board/phytec/phycore_imx8mp/Kconfig"
 source "board/ronetix/imx8mq-cm/Kconfig"
board/kontron/sl-mx8mm/Kconfig new file +15 -0
new file mode 100644
index 0000000000..9dcf407c86
@@ -0,0 +1,15 @@
+if TARGET_KONTRON_MX8MM
+
+config SYS_BOARD
+	string
+	default "sl-mx8mm"
+
+config SYS_VENDOR
+	string
+	default "kontron"
+
+config SYS_CONFIG_NAME
+	string
+	default "kontron-sl-mx8mm"
+
+endif
board/kontron/sl-mx8mm/MAINTAINERS new file +8 -0
new file mode 100644
index 0000000000..5e68ae0305
@@ -0,0 +1,8 @@
+Kontron SL/BL i.MX8M Mini Boards (N801x)
+M:	Frieder Schrempf <[email protected]>
+S:	Maintained
+F:	arch/arm/dts/imx8mm-kontron-n801x-*
+F:	board/kontron/sl-mx8mm
+F:	configs/kontron-sl-mx8mm_defconfig
+F:	doc/board/kontron/sl-mx8mm.rst
+F:	include/configs/kontron-sl-mx8mm.h
board/kontron/sl-mx8mm/Makefile new file +9 -0
new file mode 100644
index 0000000000..fceed684ed
@@ -0,0 +1,9 @@
+# SPDX-License-Identifier: GPL-2.0+
+# (C) Copyright 2019 Kontron Electronics GmbH
+
+obj-y := sl-mx8mm.o
+
+ifdef CONFIG_SPL_BUILD
+obj-y += spl.o
+obj-$(CONFIG_IMX8M_LPDDR4) += lpddr4_timing.o
+endif
board/kontron/sl-mx8mm/imximage.cfg new file +9 -0
new file mode 100644
index 0000000000..f101f3d228
@@ -0,0 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0+
+/*
+ * Copyright (C) 2019 Kontron Electronics GmbH
+ */
+
+#define __ASSEMBLY__
+
+BOOT_FROM	sd
+LOADER		u-boot-spl-ddr.bin	0x7E1000
board/kontron/sl-mx8mm/lpddr4_timing.c new file +1844 -0

1,844 lines not on this page · raw message

board/kontron/sl-mx8mm/sl-mx8mm.c new file +99 -0

10 lines not on this page · raw message

board/kontron/sl-mx8mm/spl.c new file +321 -0

321 lines not on this page · raw message

configs/kontron-sl-mx8mm_defconfig new file +140 -0

140 lines not on this page · raw message

doc/board/kontron/index.rst +1 -0
index c3fadcef76..7dfe3d9bc0 100644

Lines of this file are not shown. View the raw message.

doc/board/kontron/sl-mx8mm.rst new file +85 -0

85 lines not on this page · raw message

include/configs/kontron-sl-mx8mm.h new file +87 -0

87 lines not on this page · raw message

The rest of this diff is not shown. View the raw message.

Signature · 1 line
2.33.0

Part of the diff is not shown here. View the raw message.

Tested-by on v6 2/2
#4 lore raw

Re: [PATCH v6 2/2] imx: imx8mm: Add support for Kontron Electronics SL/BL i.MX8M-Mini boards (N801x)

Hi Frieder,

Am Mi., 29. Sept. 2021 um 16:43 Uhr schrieb Frieder Schrempf <[email protected]>:

Quoted 11 lines

From: Frieder Schrempf <[email protected]>

The Kontron SoM-Line i.MX8MM (N801x) by Kontron Electronics GmbH is a SoM module with an i.MX8M-Mini SoC, 1/2/4 GB LPDDR4 RAM, SPI NOR, eMMC and PMIC.

The matching evaluation boards (Board-Line) have 2 Ethernets, USB 2.0, HDMI/LVDS, SD card, CAN, RS485 and much more.

Signature · 1 line
Heiko
#5 lore raw

PATCH v6 2/2 imx: imx8mm: Add support for Kontron Electronics SL/BL i.MX8M-Mini boards (N801x)

In reply to Frieder Schrempf
Quoted 8 lines

From: Frieder Schrempf <[email protected]>
The Kontron SoM-Line i.MX8MM (N801x) by Kontron Electronics GmbH is a SoM module with an i.MX8M-Mini SoC, 1/2/4 GB LPDDR4 RAM, SPI NOR, eMMC and PMIC. The matching evaluation boards (Board-Line) have 2 Ethernets, USB 2.0, HDMI/LVDS, SD card, CAN, RS485 and much more.

Applied to u-boot-imx, master, thanks !

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: [email protected]
=====================================================================
#6 lore raw
In reply to Frieder Schrempf

Hi Stefano,

Quoted 10 lines · Frieder Schrempf

From: Frieder Schrempf <[email protected]>

This a patchset to upstream the support for the SL i.MX6UL, SL i.MX6ULL and SL i.MX8MM families of SoMs and matching evaluation boards by Kontron Electronics.

The first patch adds the i.MX6UL/ULL hardware and the second patch the i.MX8MM hardware.

Changes in v3:

side note: ^ this should be v6 not v3.

Quoted 2 lines

* Drop doc preparation patch as Michael picked it up in his series
* Fixes and support for standard distro support for SL/BL i.MX8MM by Heiko (thanks!)

some weeks ago you picked up a previous version of this set in your tree, but it didn't get merged. Meanwhile there have been additional iterations and this v6 is now the latest. Can you pick this up for merging?

Thanks
Frieder

Quoted 77 lines

Frieder Schrempf (2):
imx: imx6ul: Add support for Kontron Electronics SL/BL i.MX6UL/ULL

    boards (N63xx/N64xx)
  imx: imx8mm: Add support for Kontron Electronics SL/BL i.MX8M-Mini
    boards (N801x)
 arch/arm/dts/Makefile                         |    6 +-
 .../dts/imx6ul-kontron-n631x-s-u-boot.dtsi    |    7 +
 arch/arm/dts/imx6ul-kontron-n631x-s.dts       |   17 +
 arch/arm/dts/imx6ul-kontron-n631x-som.dtsi    |   14 +
 .../dts/imx6ul-kontron-n6x1x-s-u-boot.dtsi    |   63 +
 arch/arm/dts/imx6ul-kontron-n6x1x-s.dts       |  423 ++++
 arch/arm/dts/imx6ul-kontron-n6x1x-s.dtsi      |  420 ++++
 .../dts/imx6ul-kontron-n6x1x-som-common.dtsi  |  124 ++
 .../dts/imx6ull-kontron-n641x-s-u-boot.dtsi   |    7 +
 arch/arm/dts/imx6ull-kontron-n641x-s.dts      |   16 +
 arch/arm/dts/imx6ull-kontron-n641x-som.dtsi   |   13 +
 arch/arm/dts/imx8mm-kontron-n801x-s-lvds.dts  |  116 ++
 .../dts/imx8mm-kontron-n801x-s-u-boot.dtsi    |  274 +++
 arch/arm/dts/imx8mm-kontron-n801x-s.dts       |  388 ++++
 arch/arm/dts/imx8mm-kontron-n801x-som.dtsi    |  299 +++
 arch/arm/mach-imx/imx8m/Kconfig               |    8 +
 arch/arm/mach-imx/mx6/Kconfig                 |   10 +
 board/kontron/sl-mx6ul/Kconfig                |   15 +
 board/kontron/sl-mx6ul/MAINTAINERS            |    9 +
 board/kontron/sl-mx6ul/Makefile               |    8 +
 board/kontron/sl-mx6ul/sl-mx6ul.c             |   85 +
 board/kontron/sl-mx6ul/spl.c                  |  377 ++++
 board/kontron/sl-mx8mm/Kconfig                |   15 +
 board/kontron/sl-mx8mm/MAINTAINERS            |    8 +
 board/kontron/sl-mx8mm/Makefile               |    9 +
 board/kontron/sl-mx8mm/imximage.cfg           |    9 +
 board/kontron/sl-mx8mm/lpddr4_timing.c        | 1844 +++++++++++++++++
 board/kontron/sl-mx8mm/sl-mx8mm.c             |   99 +
 board/kontron/sl-mx8mm/spl.c                  |  321 +++
 configs/kontron-sl-mx6ul_defconfig            |  108 +
 configs/kontron-sl-mx8mm_defconfig            |  140 ++
 doc/board/kontron/index.rst                   |    2 +
 doc/board/kontron/sl-mx6ul.rst                |   43 +
 doc/board/kontron/sl-mx8mm.rst                |   85 +
 include/configs/kontron-sl-mx6ul.h            |   78 +
 include/configs/kontron-sl-mx8mm.h            |   87 +
 36 files changed, 5546 insertions(+), 1 deletion(-)
 create mode 100644 arch/arm/dts/imx6ul-kontron-n631x-s-u-boot.dtsi
 create mode 100644 arch/arm/dts/imx6ul-kontron-n631x-s.dts
 create mode 100644 arch/arm/dts/imx6ul-kontron-n631x-som.dtsi
 create mode 100644 arch/arm/dts/imx6ul-kontron-n6x1x-s-u-boot.dtsi
 create mode 100644 arch/arm/dts/imx6ul-kontron-n6x1x-s.dts
 create mode 100644 arch/arm/dts/imx6ul-kontron-n6x1x-s.dtsi
 create mode 100644 arch/arm/dts/imx6ul-kontron-n6x1x-som-common.dtsi
 create mode 100644 arch/arm/dts/imx6ull-kontron-n641x-s-u-boot.dtsi
 create mode 100644 arch/arm/dts/imx6ull-kontron-n641x-s.dts
 create mode 100644 arch/arm/dts/imx6ull-kontron-n641x-som.dtsi
 create mode 100644 arch/arm/dts/imx8mm-kontron-n801x-s-lvds.dts
 create mode 100644 arch/arm/dts/imx8mm-kontron-n801x-s-u-boot.dtsi
 create mode 100644 arch/arm/dts/imx8mm-kontron-n801x-s.dts
 create mode 100644 arch/arm/dts/imx8mm-kontron-n801x-som.dtsi
 create mode 100644 board/kontron/sl-mx6ul/Kconfig
 create mode 100644 board/kontron/sl-mx6ul/MAINTAINERS
 create mode 100644 board/kontron/sl-mx6ul/Makefile
 create mode 100644 board/kontron/sl-mx6ul/sl-mx6ul.c
 create mode 100644 board/kontron/sl-mx6ul/spl.c
 create mode 100644 board/kontron/sl-mx8mm/Kconfig
 create mode 100644 board/kontron/sl-mx8mm/MAINTAINERS
 create mode 100644 board/kontron/sl-mx8mm/Makefile
 create mode 100644 board/kontron/sl-mx8mm/imximage.cfg
 create mode 100644 board/kontron/sl-mx8mm/lpddr4_timing.c
 create mode 100644 board/kontron/sl-mx8mm/sl-mx8mm.c
 create mode 100644 board/kontron/sl-mx8mm/spl.c
 create mode 100644 configs/kontron-sl-mx6ul_defconfig
 create mode 100644 configs/kontron-sl-mx8mm_defconfig
 create mode 100644 doc/board/kontron/sl-mx6ul.rst
 create mode 100644 doc/board/kontron/sl-mx8mm.rst
 create mode 100644 include/configs/kontron-sl-mx6ul.h
 create mode 100644 include/configs/kontron-sl-mx8mm.h
#7 lore raw

Hi Frieder,

Quoted 14 lines · Frieder Schrempf

Hi Stefano,

Quoted 10 lines · Frieder Schrempf

From: Frieder Schrempf <[email protected]>

This a patchset to upstream the support for the SL i.MX6UL, SL i.MX6ULL and SL i.MX8MM families of SoMs and matching evaluation boards by Kontron Electronics.

The first patch adds the i.MX6UL/ULL hardware and the second patch the i.MX8MM hardware.

Changes in v3:

Quoted 8 lines

side note: ^ this should be v6 not v3.

Quoted 2 lines

* Drop doc preparation patch as Michael picked it up in his series
* Fixes and support for standard distro support for SL/BL i.MX8MM by Heiko (thanks!)

some weeks ago you picked up a previous version of this set in your tree,
but it didn't get merged.

Yes, they were discarded.

Quoted 2 lines

Meanwhile there have been additional
iterations and this v6 is now the latest. Can you pick this up for merging?

Sure.

Regards,
Stefano

Quoted 81 lines

Thanks
Frieder

Quoted 77 lines

Frieder Schrempf (2):
imx: imx6ul: Add support for Kontron Electronics SL/BL i.MX6UL/ULL

     boards (N63xx/N64xx)
   imx: imx8mm: Add support for Kontron Electronics SL/BL i.MX8M-Mini
     boards (N801x)
  arch/arm/dts/Makefile                         |    6 +-
  .../dts/imx6ul-kontron-n631x-s-u-boot.dtsi    |    7 +
  arch/arm/dts/imx6ul-kontron-n631x-s.dts       |   17 +
  arch/arm/dts/imx6ul-kontron-n631x-som.dtsi    |   14 +
  .../dts/imx6ul-kontron-n6x1x-s-u-boot.dtsi    |   63 +
  arch/arm/dts/imx6ul-kontron-n6x1x-s.dts       |  423 ++++
  arch/arm/dts/imx6ul-kontron-n6x1x-s.dtsi      |  420 ++++
  .../dts/imx6ul-kontron-n6x1x-som-common.dtsi  |  124 ++
  .../dts/imx6ull-kontron-n641x-s-u-boot.dtsi   |    7 +
  arch/arm/dts/imx6ull-kontron-n641x-s.dts      |   16 +
  arch/arm/dts/imx6ull-kontron-n641x-som.dtsi   |   13 +
  arch/arm/dts/imx8mm-kontron-n801x-s-lvds.dts  |  116 ++
  .../dts/imx8mm-kontron-n801x-s-u-boot.dtsi    |  274 +++
  arch/arm/dts/imx8mm-kontron-n801x-s.dts       |  388 ++++
  arch/arm/dts/imx8mm-kontron-n801x-som.dtsi    |  299 +++
  arch/arm/mach-imx/imx8m/Kconfig               |    8 +
  arch/arm/mach-imx/mx6/Kconfig                 |   10 +
  board/kontron/sl-mx6ul/Kconfig                |   15 +
  board/kontron/sl-mx6ul/MAINTAINERS            |    9 +
  board/kontron/sl-mx6ul/Makefile               |    8 +
  board/kontron/sl-mx6ul/sl-mx6ul.c             |   85 +
  board/kontron/sl-mx6ul/spl.c                  |  377 ++++
  board/kontron/sl-mx8mm/Kconfig                |   15 +
  board/kontron/sl-mx8mm/MAINTAINERS            |    8 +
  board/kontron/sl-mx8mm/Makefile               |    9 +
  board/kontron/sl-mx8mm/imximage.cfg           |    9 +
  board/kontron/sl-mx8mm/lpddr4_timing.c        | 1844 +++++++++++++++++
  board/kontron/sl-mx8mm/sl-mx8mm.c             |   99 +
  board/kontron/sl-mx8mm/spl.c                  |  321 +++
  configs/kontron-sl-mx6ul_defconfig            |  108 +
  configs/kontron-sl-mx8mm_defconfig            |  140 ++
  doc/board/kontron/index.rst                   |    2 +
  doc/board/kontron/sl-mx6ul.rst                |   43 +
  doc/board/kontron/sl-mx8mm.rst                |   85 +
  include/configs/kontron-sl-mx6ul.h            |   78 +
  include/configs/kontron-sl-mx8mm.h            |   87 +
  36 files changed, 5546 insertions(+), 1 deletion(-)

create mode 100644 arch/arm/dts/imx6ul-kontron-n631x-s-u-boot.dtsi create mode 100644 arch/arm/dts/imx6ul-kontron-n631x-s.dts create mode 100644 arch/arm/dts/imx6ul-kontron-n631x-som.dtsi create mode 100644 arch/arm/dts/imx6ul-kontron-n6x1x-s-u-boot.dtsi create mode 100644 arch/arm/dts/imx6ul-kontron-n6x1x-s.dts create mode 100644 arch/arm/dts/imx6ul-kontron-n6x1x-s.dtsi create mode 100644 arch/arm/dts/imx6ul-kontron-n6x1x-som-common.dtsi create mode 100644 arch/arm/dts/imx6ull-kontron-n641x-s-u-boot.dtsi create mode 100644 arch/arm/dts/imx6ull-kontron-n641x-s.dts create mode 100644 arch/arm/dts/imx6ull-kontron-n641x-som.dtsi create mode 100644 arch/arm/dts/imx8mm-kontron-n801x-s-lvds.dts create mode 100644 arch/arm/dts/imx8mm-kontron-n801x-s-u-boot.dtsi create mode 100644 arch/arm/dts/imx8mm-kontron-n801x-s.dts create mode 100644 arch/arm/dts/imx8mm-kontron-n801x-som.dtsi create mode 100644 board/kontron/sl-mx6ul/Kconfig
create mode 100644 board/kontron/sl-mx6ul/MAINTAINERS create mode 100644 board/kontron/sl-mx6ul/Makefile
create mode 100644 board/kontron/sl-mx6ul/sl-mx6ul.c create mode 100644 board/kontron/sl-mx6ul/spl.c
create mode 100644 board/kontron/sl-mx8mm/Kconfig
create mode 100644 board/kontron/sl-mx8mm/MAINTAINERS create mode 100644 board/kontron/sl-mx8mm/Makefile
create mode 100644 board/kontron/sl-mx8mm/imximage.cfg create mode 100644 board/kontron/sl-mx8mm/lpddr4_timing.c create mode 100644 board/kontron/sl-mx8mm/sl-mx8mm.c create mode 100644 board/kontron/sl-mx8mm/spl.c
create mode 100644 configs/kontron-sl-mx6ul_defconfig create mode 100644 configs/kontron-sl-mx8mm_defconfig create mode 100644 doc/board/kontron/sl-mx6ul.rst
create mode 100644 doc/board/kontron/sl-mx8mm.rst
create mode 100644 include/configs/kontron-sl-mx6ul.h create mode 100644 include/configs/kontron-sl-mx8mm.h

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: [email protected]
=====================================================================
#8 lore raw
In reply to Frieder Schrempf

Hi Frieder,

Quoted 14 lines · Frieder Schrempf

Hi Stefano,

Quoted 10 lines · Frieder Schrempf

From: Frieder Schrempf <[email protected]>

This a patchset to upstream the support for the SL i.MX6UL, SL i.MX6ULL and SL i.MX8MM families of SoMs and matching evaluation boards by Kontron Electronics.

The first patch adds the i.MX6UL/ULL hardware and the second patch the i.MX8MM hardware.

Changes in v3:

Quoted 9 lines

side note: ^ this should be v6 not v3.

Quoted 2 lines

* Drop doc preparation patch as Michael picked it up in his series
* Fixes and support for standard distro support for SL/BL i.MX8MM by Heiko (thanks!)

some weeks ago you picked up a previous version of this set in your tree, but it didn't get merged. Meanwhile there have been additional iterations and this v6 is now the latest. Can you pick this up for merging?

I get some warnings building the SL i.MX6UL (because something was moved into Kconfig). I fixed myself with the following small changes:

configs/kontron-sl-mx6ul_defconfig +2 -1
index 23d1df7fa9..28b5d0d671 100644
@@ -12,6 +12,7 @@ CONFIG_ENV_OFFSET=0xF0000
 CONFIG_ENV_SECT_SIZE=0x10000
 CONFIG_MX6UL=y
 CONFIG_TARGET_KONTRON_MX6UL=y
+CONFIG_SYS_MALLOC_LEN=0x4000000
 CONFIG_DM_GPIO=y
 CONFIG_DEFAULT_DEVICE_TREE="imx6ul-kontron-n631x-s"
 CONFIG_SPL_TEXT_BASE=0x00908000
@@ -26,7 +27,7 @@ CONFIG_FIT=y
 CONFIG_SPL_LOAD_FIT=y
 # CONFIG_USE_SPL_FIT_GENERATOR is not set
 CONFIG_OF_BOARD_SETUP=y
-CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/mach-imx/spl_sd.cfg"
+CONFIG_IMX_CONFIG="arch/arm/mach-imx/spl_sd.cfg"
 CONFIG_SYS_CONSOLE_IS_IN_ENV=y
 CONFIG_BOARD_TYPES=y
 CONFIG_BOARD_EARLY_INIT_F=y
include/configs/kontron-sl-mx6ul.h +0 -1
index f2774d5e61..65aa250894 100644
@@ -22,7 +22,6 @@
 #define CONFIG_SYS_INIT_RAM_ADDR	IRAM_BASE_ADDR
 #define CONFIG_SYS_INIT_RAM_SIZE	IRAM_SIZE
 
-#define CONFIG_SYS_MALLOC_LEN		SZ_64M
 #define CONFIG_SYS_HZ			1000
 
 #define CONFIG_SYS_INIT_SP_OFFSET \

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: [email protected]
=====================================================================
#9 lore raw
Quoted 25 lines · Stefano Babic

Hi Frieder,

Quoted 22 lines · Frieder Schrempf

Hi Stefano,

Quoted 7 lines · Frieder Schrempf

From: Frieder Schrempf <[email protected]>

This a patchset to upstream the support for the SL i.MX6UL, SL i.MX6ULL and
SL i.MX8MM families of SoMs and matching evaluation boards by Kontron Electronics.

Quoted 5 lines

The first patch adds the i.MX6UL/ULL hardware and the second patch the i.MX8MM
hardware.

Changes in v3:

side note:   ^ this should be v6 not v3.

Quoted 3 lines

   * Drop doc preparation patch as Michael picked it up in his series
   * Fixes and support for standard distro support for SL/BL i.MX8MM by Heiko (thanks!)

Quoted 8 lines
Quoted 5 lines

some weeks ago you picked up a previous version of this set in your tree, but it didn't get merged. Meanwhile there have been additional iterations and this v6 is now the latest. Can you pick this up for merging?

I get some warnings building the SL i.MX6UL (because something was moved into Kconfig). I fixed myself with the following small changes:

Sorry, I forgot to test this patch after the rebase on latest master. Thanks for fixing it.

Quoted 40 lines
configs/kontron-sl-mx6ul_defconfig +0 -0
index 23d1df7fa9..28b5d0d671 100644
@@ -12,6 +12,7 @@ CONFIG_ENV_OFFSET=0xF0000

 CONFIG_ENV_SECT_SIZE=0x10000
 CONFIG_MX6UL=y CONFIG_TARGET_KONTRON_MX6UL=y +CONFIG_SYS_MALLOC_LEN=0x4000000 CONFIG_DM_GPIO=y CONFIG_DEFAULT_DEVICE_TREE="imx6ul-kontron-n631x-s" CONFIG_SPL_TEXT_BASE=0x00908000

configs/kontron-sl-mx6ul_defconfig +0 -0
@@ -26,7 +27,7 @@ CONFIG_FIT=y

 CONFIG_SPL_LOAD_FIT=y
 # CONFIG_USE_SPL_FIT_GENERATOR is not set
 CONFIG_OF_BOARD_SETUP=y

configs/kontron-sl-mx6ul_defconfig +1 -1
-CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/mach-imx/spl_sd.cfg"
+CONFIG_IMX_CONFIG="arch/arm/mach-imx/spl_sd.cfg"

 CONFIG_SYS_CONSOLE_IS_IN_ENV=y
 CONFIG_BOARD_TYPES=y
 CONFIG_BOARD_EARLY_INIT_F=y

include/configs/kontron-sl-mx6ul.h +0 -1
index f2774d5e61..65aa250894 100644
@@ -22,7 +22,6 @@
  #define CONFIG_SYS_INIT_RAM_ADDR    IRAM_BASE_ADDR
  #define CONFIG_SYS_INIT_RAM_SIZE    IRAM_SIZE
 
-#define CONFIG_SYS_MALLOC_LEN        SZ_64M
  #define CONFIG_SYS_HZ            1000
 
  #define CONFIG_SYS_INIT_SP_OFFSET \

Regards,
Stefano