All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] Updates for Toradex boards
@ 2021-03-11 20:00 Oleksandr Suvorov
  2021-03-11 20:00 ` [PATCH 1/4] colibri_imx6: adjust boot order Oleksandr Suvorov
  0 siblings, 1 reply; 9+ messages in thread
From: Oleksandr Suvorov @ 2021-03-11 20:00 UTC (permalink / raw)
  To: u-boot


This patchset includes fixes and improvements for Toradex boards.


Igor Opaniuk (1):
  colibri_imx6: adjust boot order

Oleksandr Suvorov (2):
  apalis/colibri_imx6: remove video= settings
  board: toradex: apalis-imx8x: fix build instructions

Philippe Schenker (1):
  colibri_imx6ull/imx7: add missing tdxargs variable

 doc/board/toradex/apalix-imx8x.rst | 33 ++++++++++++++++--------------
 include/configs/apalis_imx6.h      |  5 +----
 include/configs/colibri-imx6ull.h  |  2 +-
 include/configs/colibri_imx6.h     |  4 +---
 include/configs/colibri_imx7.h     |  2 +-
 5 files changed, 22 insertions(+), 24 deletions(-)

-- 
2.29.2

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [PATCH 1/4] colibri_imx6: adjust boot order
  2021-03-11 20:00 [PATCH 0/4] Updates for Toradex boards Oleksandr Suvorov
@ 2021-03-11 20:00 ` Oleksandr Suvorov
  2021-03-11 20:00   ` [PATCH 2/4] colibri_imx6ull/imx7: add missing tdxargs variable Oleksandr Suvorov
  2021-04-08 20:59   ` [PATCH 1/4] colibri_imx6: adjust boot order sbabic at denx.de
  0 siblings, 2 replies; 9+ messages in thread
From: Oleksandr Suvorov @ 2021-03-11 20:00 UTC (permalink / raw)
  To: u-boot

From: Igor Opaniuk <igor.opaniuk@toradex.com>

Remove duplicate of mmc0, set this boot order:
1) SD
2) eMMC
3) USB
4) DHCP boot

Fixes: 0e15165bc4e0 ("colibri_imx6: boot env configuration updates")
Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
---

 include/configs/colibri_imx6.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/include/configs/colibri_imx6.h b/include/configs/colibri_imx6.h
index c014d6b2d5..5f5e201b4c 100644
--- a/include/configs/colibri_imx6.h
+++ b/include/configs/colibri_imx6.h
@@ -72,7 +72,6 @@
 
 #ifndef CONFIG_SPL_BUILD
 #define BOOT_TARGET_DEVICES(func) \
-	func(MMC, mmc, 0) \
 	func(MMC, mmc, 1) \
 	func(MMC, mmc, 0) \
 	func(USB, usb, 0) \
-- 
2.29.2

^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [PATCH 2/4] colibri_imx6ull/imx7: add missing tdxargs variable
  2021-03-11 20:00 ` [PATCH 1/4] colibri_imx6: adjust boot order Oleksandr Suvorov
@ 2021-03-11 20:00   ` Oleksandr Suvorov
  2021-03-11 20:00     ` [PATCH 3/4] apalis/colibri_imx6: remove video= settings Oleksandr Suvorov
  2021-04-08 20:59     ` [PATCH 2/4] colibri_imx6ull/imx7: add missing tdxargs variable sbabic at denx.de
  2021-04-08 20:59   ` [PATCH 1/4] colibri_imx6: adjust boot order sbabic at denx.de
  1 sibling, 2 replies; 9+ messages in thread
From: Oleksandr Suvorov @ 2021-03-11 20:00 UTC (permalink / raw)
  To: u-boot

From: Philippe Schenker <philippe.schenker@toradex.com>

All the other boards have tdxargs specified for setting manual kernel
command-line arguments. Add them also to NAND-based boards.

Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
---

 include/configs/colibri-imx6ull.h | 2 +-
 include/configs/colibri_imx7.h    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/configs/colibri-imx6ull.h b/include/configs/colibri-imx6ull.h
index 2827c171c9..22ee2ba03e 100644
--- a/include/configs/colibri-imx6ull.h
+++ b/include/configs/colibri-imx6ull.h
@@ -63,7 +63,7 @@
 		"ubi.fm_autoconvert=1\0" \
 	"ubiboot=run setup; " \
 		"setenv bootargs ${defargs} ${ubiargs} " \
-		"${setupargs} ${vidargs}; echo Booting from NAND...; " \
+		"${setupargs} ${vidargs} ${tdxargs}; echo Booting from NAND...; " \
 		"ubi part ubi &&" \
 		"ubi read ${kernel_addr_r} kernel && " \
 		"ubi read ${fdt_addr_r} dtb && " \
diff --git a/include/configs/colibri_imx7.h b/include/configs/colibri_imx7.h
index 85dd891055..2fffaa39c0 100644
--- a/include/configs/colibri_imx7.h
+++ b/include/configs/colibri_imx7.h
@@ -110,7 +110,7 @@
 		"ubi.fm_autoconvert=1\0" \
 	"ubiboot=run setup; " \
 		"setenv bootargs ${defargs} ${ubiargs} " \
-		"${setupargs} ${vidargs}; echo Booting from NAND...; " \
+		"${setupargs} ${vidargs} ${tdxargs}; echo Booting from NAND...; " \
 		"ubi part ubi && run m4boot && " \
 		"ubi read ${kernel_addr_r} kernel && " \
 		"ubi read ${fdt_addr_r} dtb && " \
-- 
2.29.2

^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [PATCH 3/4] apalis/colibri_imx6: remove video= settings
  2021-03-11 20:00   ` [PATCH 2/4] colibri_imx6ull/imx7: add missing tdxargs variable Oleksandr Suvorov
@ 2021-03-11 20:00     ` Oleksandr Suvorov
  2021-03-11 20:00       ` [PATCH 4/4] board: toradex: apalis-imx8x: fix build instructions Oleksandr Suvorov
  2021-04-08 20:58       ` [PATCH 3/4] apalis/colibri_imx6: remove video= settings sbabic at denx.de
  2021-04-08 20:59     ` [PATCH 2/4] colibri_imx6ull/imx7: add missing tdxargs variable sbabic at denx.de
  1 sibling, 2 replies; 9+ messages in thread
From: Oleksandr Suvorov @ 2021-03-11 20:00 UTC (permalink / raw)
  To: u-boot

Since Toradex provides the full set of overlays for Linux kernel
for display interfaces for both Apalis iMX6Q and Colibri iMX6DL
modules, the video= settings are obsolete. Remove them.

Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
---

 include/configs/apalis_imx6.h  | 5 +----
 include/configs/colibri_imx6.h | 3 +--
 2 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/include/configs/apalis_imx6.h b/include/configs/apalis_imx6.h
index 0e81ef94d3..12de0105c6 100644
--- a/include/configs/apalis_imx6.h
+++ b/include/configs/apalis_imx6.h
@@ -163,10 +163,7 @@
 		"source ${loadaddr}\0" \
 	"splashpos=m,m\0" \
 	"splashimage=" __stringify(CONFIG_LOADADDR) "\0" \
-	"vidargs=mxc_hdmi.only_cea=1 " \
-		"video=mxcfb0:dev=hdmi,1920x1080M at 60,if=RGB24 " \
-		"video=mxcfb1:off video=mxcfb2:off video=mxcfb3:off " \
-		"fbmem=32M\0 "
+	"vidargs=mxc_hdmi.only_cea=1 fbmem=32M\0"
 
 /* Miscellaneous configurable options */
 #undef CONFIG_SYS_CBSIZE
diff --git a/include/configs/colibri_imx6.h b/include/configs/colibri_imx6.h
index 5f5e201b4c..804a144a03 100644
--- a/include/configs/colibri_imx6.h
+++ b/include/configs/colibri_imx6.h
@@ -143,8 +143,7 @@
 		"source ${loadaddr}\0" \
 	"splashpos=m,m\0" \
 	"splashimage=" __stringify(CONFIG_LOADADDR) "\0" \
-	"vidargs=video=mxcfb0:dev=lcd,640x480M at 60,if=RGB666 " \
-		"video=mxcfb1:off fbmem=8M\0 "
+	"vidargs=fbmem=8M\0"
 
 /* Miscellaneous configurable options */
 #undef CONFIG_SYS_CBSIZE
-- 
2.29.2

^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [PATCH 4/4] board: toradex: apalis-imx8x: fix build instructions
  2021-03-11 20:00     ` [PATCH 3/4] apalis/colibri_imx6: remove video= settings Oleksandr Suvorov
@ 2021-03-11 20:00       ` Oleksandr Suvorov
  2021-04-08 20:57         ` sbabic at denx.de
  2021-04-08 20:58       ` [PATCH 3/4] apalis/colibri_imx6: remove video= settings sbabic at denx.de
  1 sibling, 1 reply; 9+ messages in thread
From: Oleksandr Suvorov @ 2021-03-11 20:00 UTC (permalink / raw)
  To: u-boot

Fix an URL for downloading the SCFW binary for an Apalis iMX8X
and improve u-boot image build instructions.

Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
---

 doc/board/toradex/apalix-imx8x.rst | 33 ++++++++++++++++--------------
 1 file changed, 18 insertions(+), 15 deletions(-)

diff --git a/doc/board/toradex/apalix-imx8x.rst b/doc/board/toradex/apalix-imx8x.rst
index ce7dde8d00..efa7e0c72e 100644
--- a/doc/board/toradex/apalix-imx8x.rst
+++ b/doc/board/toradex/apalix-imx8x.rst
@@ -1,43 +1,46 @@
 .. SPDX-License-Identifier: GPL-2.0+
 
-Apalis iMX8X V1.1A Module
+Apalis iMX8X V1.1A Module (SoC NXP i.MX8QXP RevB)
 ==========================
 
 Quick Start
 -----------
 
-- Build the ARM trusted firmware binary
-- Get scfw_tcm.bin and ahab-container.img
+- Get and Build the ARM trusted firmware
+- Get System Controller firmware
+- Get SECO container
 - Build U-Boot
 - Load U-Boot binary using uuu
 - Flash U-Boot binary into the eMMC
 - Boot
 
+Note: builddir is U-Boot build directory (source directory for in-tree builds)
+
 Get and Build the ARM Trusted Firmware
 --------------------------------------
 
 .. code-block:: bash
 
-    $ git clone -b toradex_imx_5.4.24_2.1.0 http://git.toradex.com/cgit/imx-atf.git
-    $ cd imx-atf/
-    $ make PLAT=imx8qx bl31
+    $ cd $(builddir)
+    $ git clone -b toradex_imx_5.4.70_2.3.0 http://git.toradex.com/cgit/imx-atf.git
+    $ make PLAT=imx8qx bl31 -C imx-atf
+    $ cp imx-atf/build/imx8qx/release/bl31.bin $(builddir)
 
-Get scfw_tcm.bin and ahab-container.img
+Get System Controller firmware
 ---------------------------------------
 
 .. code-block:: bash
 
-    $ wget https://github.com/toradex/i.MX-System-Controller-Firmware/blob/master/src/scfw_export_mx8qx_b0/build_mx8qx_b0/mx8qx-apalis-scfw-tcm.bin
-    $ wget https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/imx-seco-3.6.3.bin
-    $ chmod +x imx-seco-3.6.3.bin
-    $ ./imx-seco-3.6.3.bin
+    $ wget https://github.com/toradex/i.MX-System-Controller-Firmware/raw/master/src/scfw_export_mx8qx_b0/build_mx8qx_b0/mx8qx-apalis-scfw-tcm.bin
 
-Copy the following binaries to the U-Boot folder:
+Get SECO container
+---------------------------------------
 
 .. code-block:: bash
 
-    $ cp imx-atf/build/imx8qx/release/bl31.bin .
-    $ cp imx-seco-3.6.3/firmware/seco/mx8qxb0-ahab-container.img mx8qx-ahab-container.imx8_defconfig
+    $ wget https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/imx-seco-3.7.4.bin
+    $ sh imx-seco-3.7.4.bin
+    $ cp imx-seco-3.7.4/firmware/seco/mx8qxb0-ahab-container.img $(builddir)/mx8qx-ahab-container.img
 
 Build U-Boot
 ------------
@@ -58,7 +61,7 @@ to your host and execute uuu:
 
 .. code-block:: bash
 
-    sudo ./uuu u-boot/u-boot-dtb.imx
+    sudo ./uuu $(builddir)/u-boot-dtb.imx
 
 Flash the U-Boot Binary into the eMMC
 -------------------------------------
-- 
2.29.2

^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [PATCH 4/4] board: toradex: apalis-imx8x: fix build instructions
  2021-03-11 20:00       ` [PATCH 4/4] board: toradex: apalis-imx8x: fix build instructions Oleksandr Suvorov
@ 2021-04-08 20:57         ` sbabic at denx.de
  0 siblings, 0 replies; 9+ messages in thread
From: sbabic at denx.de @ 2021-04-08 20:57 UTC (permalink / raw)
  To: u-boot

> Fix an URL for downloading the SCFW binary for an Apalis iMX8X
> and improve u-boot image build instructions.
> Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic

-- 
=====================================================================
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
=====================================================================

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [PATCH 3/4] apalis/colibri_imx6: remove video= settings
  2021-03-11 20:00     ` [PATCH 3/4] apalis/colibri_imx6: remove video= settings Oleksandr Suvorov
  2021-03-11 20:00       ` [PATCH 4/4] board: toradex: apalis-imx8x: fix build instructions Oleksandr Suvorov
@ 2021-04-08 20:58       ` sbabic at denx.de
  1 sibling, 0 replies; 9+ messages in thread
From: sbabic at denx.de @ 2021-04-08 20:58 UTC (permalink / raw)
  To: u-boot

> Since Toradex provides the full set of overlays for Linux kernel
> for display interfaces for both Apalis iMX6Q and Colibri iMX6DL
> modules, the video= settings are obsolete. Remove them.
> Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic

-- 
=====================================================================
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
=====================================================================

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [PATCH 2/4] colibri_imx6ull/imx7: add missing tdxargs variable
  2021-03-11 20:00   ` [PATCH 2/4] colibri_imx6ull/imx7: add missing tdxargs variable Oleksandr Suvorov
  2021-03-11 20:00     ` [PATCH 3/4] apalis/colibri_imx6: remove video= settings Oleksandr Suvorov
@ 2021-04-08 20:59     ` sbabic at denx.de
  1 sibling, 0 replies; 9+ messages in thread
From: sbabic at denx.de @ 2021-04-08 20:59 UTC (permalink / raw)
  To: u-boot

> From: Philippe Schenker <philippe.schenker@toradex.com>
> All the other boards have tdxargs specified for setting manual kernel
> command-line arguments. Add them also to NAND-based boards.
> Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
> Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic

-- 
=====================================================================
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
=====================================================================

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [PATCH 1/4] colibri_imx6: adjust boot order
  2021-03-11 20:00 ` [PATCH 1/4] colibri_imx6: adjust boot order Oleksandr Suvorov
  2021-03-11 20:00   ` [PATCH 2/4] colibri_imx6ull/imx7: add missing tdxargs variable Oleksandr Suvorov
@ 2021-04-08 20:59   ` sbabic at denx.de
  1 sibling, 0 replies; 9+ messages in thread
From: sbabic at denx.de @ 2021-04-08 20:59 UTC (permalink / raw)
  To: u-boot

> From: Igor Opaniuk <igor.opaniuk@toradex.com>
> Remove duplicate of mmc0, set this boot order:
> 1) SD
> 2) eMMC
> 3) USB
> 4) DHCP boot
> Fixes: 0e15165bc4e0 ("colibri_imx6: boot env configuration updates")
> Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
> Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic

-- 
=====================================================================
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
=====================================================================

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2021-04-08 20:59 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-11 20:00 [PATCH 0/4] Updates for Toradex boards Oleksandr Suvorov
2021-03-11 20:00 ` [PATCH 1/4] colibri_imx6: adjust boot order Oleksandr Suvorov
2021-03-11 20:00   ` [PATCH 2/4] colibri_imx6ull/imx7: add missing tdxargs variable Oleksandr Suvorov
2021-03-11 20:00     ` [PATCH 3/4] apalis/colibri_imx6: remove video= settings Oleksandr Suvorov
2021-03-11 20:00       ` [PATCH 4/4] board: toradex: apalis-imx8x: fix build instructions Oleksandr Suvorov
2021-04-08 20:57         ` sbabic at denx.de
2021-04-08 20:58       ` [PATCH 3/4] apalis/colibri_imx6: remove video= settings sbabic at denx.de
2021-04-08 20:59     ` [PATCH 2/4] colibri_imx6ull/imx7: add missing tdxargs variable sbabic at denx.de
2021-04-08 20:59   ` [PATCH 1/4] colibri_imx6: adjust boot order sbabic at denx.de

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.