Updates for Toradex boards
cover Updates for Toradex boards
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(-)
Signature · 1 line
2.29.2
PATCH 1/4 colibri_imx6: adjust boot order
From: Igor Opaniuk <[email protected]>
Remove duplicate of mmc0, set this boot order:
1) SD
2) eMMC
3) USB
4) DHCP boot
---
include/configs/colibri_imx6.h | 1 - 1 file changed, 1 deletion(-)
include/configs/colibri_imx6.h +0 -1
@@ -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) \
Signature · 1 line
2.29.2
PATCH 2/4 colibri_imx6ull/imx7: add missing tdxargs variable
From: Philippe Schenker <[email protected]>
All the other boards have tdxargs specified for setting manual kernel command-line arguments. Add them also to NAND-based boards.
---
include/configs/colibri-imx6ull.h | 2 +- include/configs/colibri_imx7.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
include/configs/colibri-imx6ull.h +1 -1
@@ -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 && " \
include/configs/colibri_imx7.h +1 -1
@@ -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 && " \
Signature · 1 line
2.29.2
PATCH 3/4 apalis/colibri_imx6: remove video= settings
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.
---
include/configs/apalis_imx6.h | 5 +---- include/configs/colibri_imx6.h | 3 +-- 2 files changed, 2 insertions(+), 6 deletions(-)
include/configs/apalis_imx6.h +1 -4
@@ -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
include/configs/colibri_imx6.h +1 -2
@@ -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
Signature · 1 line
2.29.2
PATCH 4/4 board: toradex: apalis-imx8x: fix build instructions
Fix an URL for downloading the SCFW binary for an Apalis iMX8X and improve u-boot image build instructions.
---
doc/board/toradex/apalix-imx8x.rst | 33 ++++++++++++++++-------------- 1 file changed, 18 insertions(+), 15 deletions(-)
doc/board/toradex/apalix-imx8x.rst +18 -15
@@ -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 -------------------------------------
Signature · 1 line
2.29.2
PATCH 4/4 board: toradex: apalis-imx8x: fix build instructions
Quoted 3 lines
Fix an URL for downloading the SCFW binary for an Apalis iMX8X and improve u-boot image build instructions.
Signed-off-by Oleksandr Suvorov <[email protected]>
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: sbabic at denx.de =====================================================================
PATCH 3/4 apalis/colibri_imx6: remove video= settings
In reply to Oleksandr SuvorovQuoted 4 lines
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 <[email protected]>
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: sbabic at denx.de =====================================================================
PATCH 2/4 colibri_imx6ull/imx7: add missing tdxargs variable
In reply to Oleksandr SuvorovQuoted 5 lines
From: Philippe Schenker <[email protected]> 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 <[email protected]>Signed-off-by Oleksandr Suvorov <[email protected]>
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: sbabic at denx.de =====================================================================
PATCH 1/4 colibri_imx6: adjust boot order
In reply to Oleksandr SuvorovQuoted 9 lines
From: Igor Opaniuk <[email protected]>
Remove duplicate of mmc0, set this boot order:
1) SD
2) eMMC
3) USB
4) DHCP bootFixes 0e15165bc4e0 ("colibri_imx6: boot env configuration updates")Signed-off-by Igor Opaniuk <[email protected]>Signed-off-by Oleksandr Suvorov <[email protected]>
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: sbabic at denx.de =====================================================================