All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/6] Toradex boards' specific patches
@ 2021-07-23  6:39 Oleksandr Suvorov
  2021-07-23  6:39 ` [PATCH v2 1/6] board: colibri_imx7: use SDP if USB serial downloader has been used Oleksandr Suvorov
  0 siblings, 1 reply; 9+ messages in thread
From: Oleksandr Suvorov @ 2021-07-23  6:39 UTC (permalink / raw)
  To: u-boot
  Cc: Oleksandr Suvorov, Harald Seiler, Igor Opaniuk, Marcel Ziswiler,
	Ming Liu, Philippe Schenker, Simon Glass, Stefan Agner


There is the set of patches for Toradex boards.

Changes in v2:
- remove 2 patches not meet requirements.
END

Marcel Ziswiler (1):
  board: apalis-tk1: launch toradex easy installer in usb recovery

Ming Liu (1):
  board: colibri_imx6: add board_fit_config_name_match to support FIT in
    SPL

Oleksandr Suvorov (2):
  board: colibri-imx8x: update building documentation
  board: colibri_vf: fix compiling warning

Stefan Agner (2):
  board: colibri_imx7: use SDP if USB serial downloader has been used
  board: toradex: make USB PID from config block optional

 board/toradex/apalis-tk1/apalis-tk1.c     | 13 +++++++++--
 board/toradex/colibri_imx6/colibri_imx6.c | 10 +++++++++
 board/toradex/colibri_imx7/colibri_imx7.c | 10 +++++++++
 board/toradex/colibri_vf/colibri_vf.c     |  2 +-
 board/toradex/common/Kconfig              | 10 +++++++++
 board/toradex/common/tdx-common.c         |  2 +-
 doc/board/toradex/colibri-imx8x.rst       | 27 +++++++----------------
 7 files changed, 51 insertions(+), 23 deletions(-)

-- 
2.31.1


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

* [PATCH v2 1/6] board: colibri_imx7: use SDP if USB serial downloader has been used
  2021-07-23  6:39 [PATCH v2 0/6] Toradex boards' specific patches Oleksandr Suvorov
@ 2021-07-23  6:39 ` Oleksandr Suvorov
  2021-07-23  6:39   ` [PATCH v2 2/6] board: toradex: make USB PID from config block optional Oleksandr Suvorov
  0 siblings, 1 reply; 9+ messages in thread
From: Oleksandr Suvorov @ 2021-07-23  6:39 UTC (permalink / raw)
  To: u-boot
  Cc: Stefan Agner, Oleksandr Suvorov, Harald Seiler, Igor Opaniuk,
	Simon Glass

From: Stefan Agner <stefan.agner@toradex.com>

In case USB serial downloader has been used to load U-Boot start the
serial download protocol (SDP) emulation. This allows to download
complete images such as Toradex Easy Installer over USB SDP as well.
This code uses the boot ROM provided boot information to reliably
detect USB serial downloader.

Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
---

Changes in v2: None

 board/toradex/colibri_imx7/colibri_imx7.c | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/board/toradex/colibri_imx7/colibri_imx7.c b/board/toradex/colibri_imx7/colibri_imx7.c
index 301b07d5b4..6822102d2c 100644
--- a/board/toradex/colibri_imx7/colibri_imx7.c
+++ b/board/toradex/colibri_imx7/colibri_imx7.c
@@ -355,12 +355,22 @@ int board_usb_phy_mode(int port)
 	}
 }
 
+#if defined(CONFIG_BOARD_LATE_INIT)
 int board_late_init(void)
 {
 #if defined(CONFIG_DM_VIDEO)
 	setup_lcd();
 #endif
+
+#if defined(CONFIG_CMD_USB_SDP)
+	if (is_boot_from_usb()) {
+		printf("Serial Downloader recovery mode, using sdp command\n");
+		env_set("bootdelay", "0");
+		env_set("bootcmd", "sdp 0");
+	}
+#endif
 	return 0;
 }
+#endif /* CONFIG_BOARD_LATE_INIT */
 
 #endif
-- 
2.31.1


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

* [PATCH v2 2/6] board: toradex: make USB PID from config block optional
  2021-07-23  6:39 ` [PATCH v2 1/6] board: colibri_imx7: use SDP if USB serial downloader has been used Oleksandr Suvorov
@ 2021-07-23  6:39   ` Oleksandr Suvorov
  2021-07-23  6:39     ` [PATCH v2 3/6] board: colibri-imx8x: update building documentation Oleksandr Suvorov
  0 siblings, 1 reply; 9+ messages in thread
From: Oleksandr Suvorov @ 2021-07-23  6:39 UTC (permalink / raw)
  To: u-boot; +Cc: Stefan Agner, Oleksandr Suvorov, Igor Opaniuk

From: Stefan Agner <stefan.agner@toradex.com>

If config block support is enabled, USB gadget modes unconditionally
use Toradex Product ID as USB PID. Some applications might prefer a
different and/or static USB PID. Add a Kconfig configuration option
to descide whether to use USB PID from config block or the fallback
config option CONFIG_G_DNL_PRODUCT_NUM.

Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
---

Changes in v2: None

 board/toradex/common/Kconfig      | 10 ++++++++++
 board/toradex/common/tdx-common.c |  2 +-
 2 files changed, 11 insertions(+), 1 deletion(-)

diff --git a/board/toradex/common/Kconfig b/board/toradex/common/Kconfig
index 36068d2e3b..1f6a5e4db5 100644
--- a/board/toradex/common/Kconfig
+++ b/board/toradex/common/Kconfig
@@ -84,4 +84,14 @@ config TDX_CFG_BLOCK_EXTRA
 	  Enables fetching auxilary config blocks from carrier board/display
 	  adapter EEPROMs.
 
+config TDX_CFG_BLOCK_USB_GADGET_PID
+	bool "Use config block product ID as USB product ID"
+	depends on USB_GADGET_DOWNLOAD
+	default y
+	help
+	  Use the Toradex product ID learned from the config block as USB
+	  product ID. An offset of 0x4000 is added to the product ID since
+	  inside the Toradex vendor ID (0x1b67) the range starting from
+	  offset 0x4000 is reserved for Colibri/Apalis modules.
+
 endif
diff --git a/board/toradex/common/tdx-common.c b/board/toradex/common/tdx-common.c
index a3d287ed5e..061abf7537 100644
--- a/board/toradex/common/tdx-common.c
+++ b/board/toradex/common/tdx-common.c
@@ -147,7 +147,7 @@ int show_board_info(void)
 	return 0;
 }
 
-#ifdef CONFIG_USB_GADGET_DOWNLOAD
+#ifdef CONFIG_TDX_CFG_BLOCK_USB_GADGET_PID
 int g_dnl_bind_fixup(struct usb_device_descriptor *dev, const char *name)
 {
 	unsigned short usb_pid;
-- 
2.31.1


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

* [PATCH v2 3/6] board: colibri-imx8x: update building documentation
  2021-07-23  6:39   ` [PATCH v2 2/6] board: toradex: make USB PID from config block optional Oleksandr Suvorov
@ 2021-07-23  6:39     ` Oleksandr Suvorov
  2021-07-23  6:39       ` [PATCH v2 4/6] board: colibri_imx6: add board_fit_config_name_match to support FIT in SPL Oleksandr Suvorov
  0 siblings, 1 reply; 9+ messages in thread
From: Oleksandr Suvorov @ 2021-07-23  6:39 UTC (permalink / raw)
  To: u-boot; +Cc: Oleksandr Suvorov, Igor Opaniuk, Philippe Schenker

Update the documentation on how to build the u-boot image for
Colibri iMX8QXP, adding support of V1.0D revision of the module.

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

Changes in v2: None

 doc/board/toradex/colibri-imx8x.rst | 27 ++++++++-------------------
 1 file changed, 8 insertions(+), 19 deletions(-)

diff --git a/doc/board/toradex/colibri-imx8x.rst b/doc/board/toradex/colibri-imx8x.rst
index 616f40ae0f..545568c844 100644
--- a/doc/board/toradex/colibri-imx8x.rst
+++ b/doc/board/toradex/colibri-imx8x.rst
@@ -1,6 +1,6 @@
 .. SPDX-License-Identifier: GPL-2.0+
 
-Colibri iMX8QXP V1.0B Module
+Colibri iMX8QXP V1.0D Module
 ============================
 
 Quick Start
@@ -18,34 +18,23 @@ Get and Build the ARM Trusted Firmware
 
 .. code-block:: bash
 
-    $ git clone -b imx_4.14.78_1.0.0_ga https://source.codeaurora.org/external/imx/imx-atf
-    $ cd imx-atf/
-    $ make PLAT=imx8qxp bl31
+    $ 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
 
 Get scfw_tcm.bin and ahab-container.img
 ---------------------------------------
 .. code-block:: bash
 
-    $ wget https://github.com/toradex/meta-fsl-bsp-release/blob/
-           toradex-sumo-4.14.78-1.0.0_ga-bringup/imx/meta-bsp/recipes-
-           bsp/imx-sc-firmware/files/mx8qx-colibri-scfw-tcm.bin?raw=true
-    $ mv mx8qx-colibri-scfw-tcm.bin\?raw\=true mx8qx-colibri-scfw-tcm.bin
-    $ wget https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/firmware-imx-8.0.bin
-    $ chmod +x firmware-imx-8.0.bin
-    $ ./firmware-imx-8.0.bin
-
-Copy the following binaries to the U-Boot folder:
-
-.. code-block:: bash
-
-    $ cp imx-atf/build/imx8qxp/release/bl31.bin .
-    $ cp u-boot/u-boot.bin .
+    $ wget https://github.com/toradex/i.MX-System-Controller-Firmware/raw/master/src/scfw_export_mx8qx_b0/build_mx8qx_b0/mx8qx-colibri-scfw-tcm.bin
+    $ wget https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/imx-seco-3.7.4.bin
+    $ sh imx-seco-3.7.4.bin --auto-accept
 
 Copy the following firmware to the U-Boot folder:
 
 .. code-block:: bash
 
-    $ cp firmware-imx-8.0/firmware/seco/ahab-container.img .
+    $ cp imx-atf/build/imx8qx/release/bl31.bin .
+    $ cp imx-seco-3.7.4/firmware/seco/mx8qxc0-ahab-container.img mx8qx-ahab-container.img
 
 Build U-Boot
 ------------
-- 
2.31.1


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

* [PATCH v2 4/6] board: colibri_imx6: add board_fit_config_name_match to support FIT in SPL
  2021-07-23  6:39     ` [PATCH v2 3/6] board: colibri-imx8x: update building documentation Oleksandr Suvorov
@ 2021-07-23  6:39       ` Oleksandr Suvorov
  2021-07-23  6:39         ` [PATCH v2 5/6] board: colibri_vf: fix compiling warning Oleksandr Suvorov
  0 siblings, 1 reply; 9+ messages in thread
From: Oleksandr Suvorov @ 2021-07-23  6:39 UTC (permalink / raw)
  To: u-boot; +Cc: Ming Liu, Oleksandr Suvorov, Harald Seiler, Simon Glass

From: Ming Liu <ming.liu@toradex.com>

Only one dtb is currently supported, so match with imx6-colibri.

Signed-off-by: Ming Liu <ming.liu@toradex.com>
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
---

Changes in v2: None

 board/toradex/colibri_imx6/colibri_imx6.c | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/board/toradex/colibri_imx6/colibri_imx6.c b/board/toradex/colibri_imx6/colibri_imx6.c
index c0e7754469..587d92a8e9 100644
--- a/board/toradex/colibri_imx6/colibri_imx6.c
+++ b/board/toradex/colibri_imx6/colibri_imx6.c
@@ -1081,6 +1081,16 @@ void board_init_f(ulong dummy)
 	board_init_r(NULL, 0);
 }
 
+#ifdef CONFIG_SPL_LOAD_FIT
+int board_fit_config_name_match(const char *name)
+{
+	if (!strcmp(name, "imx6-colibri"))
+		return 0;
+
+	return -1;
+}
+#endif
+
 void reset_cpu(void)
 {
 }
-- 
2.31.1


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

* [PATCH v2 5/6] board: colibri_vf: fix compiling warning
  2021-07-23  6:39       ` [PATCH v2 4/6] board: colibri_imx6: add board_fit_config_name_match to support FIT in SPL Oleksandr Suvorov
@ 2021-07-23  6:39         ` Oleksandr Suvorov
  2021-07-23  6:39           ` [PATCH v2 6/6] board: apalis-tk1: launch toradex easy installer in usb recovery Oleksandr Suvorov
  0 siblings, 1 reply; 9+ messages in thread
From: Oleksandr Suvorov @ 2021-07-23  6:39 UTC (permalink / raw)
  To: u-boot; +Cc: Oleksandr Suvorov, Igor Opaniuk, Simon Glass

This patch fixes the following compiler warning:
=============
board/toradex/colibri_vf/colibri_vf.c: In function 'ft_board_setup':
board/toradex/colibri_vf/colibri_vf.c:436:6: warning: unused variable 'ret' [-Wunused-variable]
=============

Fixes: be3f1a56bf8 ("video: fsl_dcu_fb: add DM_VIDEO support")
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
---

Changes in v2: None

 board/toradex/colibri_vf/colibri_vf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/board/toradex/colibri_vf/colibri_vf.c b/board/toradex/colibri_vf/colibri_vf.c
index e9c5bc0632..c09591e543 100644
--- a/board/toradex/colibri_vf/colibri_vf.c
+++ b/board/toradex/colibri_vf/colibri_vf.c
@@ -433,7 +433,7 @@ int checkboard(void)
 #if defined(CONFIG_OF_LIBFDT) && defined(CONFIG_OF_BOARD_SETUP)
 int ft_board_setup(void *blob, struct bd_info *bd)
 {
-#ifndef CONFIG_DM_VIDEO
+#if defined(CONFIG_VIDEO_FSL_DCU_FB) && !defined(CONFIG_DM_VIDEO)
 	int ret = 0;
 #endif
 #ifdef CONFIG_FDT_FIXUP_PARTITIONS
-- 
2.31.1


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

* [PATCH v2 6/6] board: apalis-tk1: launch toradex easy installer in usb recovery
  2021-07-23  6:39         ` [PATCH v2 5/6] board: colibri_vf: fix compiling warning Oleksandr Suvorov
@ 2021-07-23  6:39           ` Oleksandr Suvorov
  2021-08-06 11:03             ` Stefano Babic
  0 siblings, 1 reply; 9+ messages in thread
From: Oleksandr Suvorov @ 2021-07-23  6:39 UTC (permalink / raw)
  To: u-boot; +Cc: Marcel Ziswiler, Oleksandr Suvorov, Simon Glass

From: Marcel Ziswiler <marcel.ziswiler@toradex.com>

The USB recovery mode is used by Toradex to load the Toradex Easy
Installer image which supports further system images installation.
Prepare for loading and launching the Toradex Easy Installer if the
USB Recovery mode is activated.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
---

Changes in v2:
- remove 2 patches not meet requirements.
END

 board/toradex/apalis-tk1/apalis-tk1.c | 13 +++++++++++--
 1 file changed, 11 insertions(+), 2 deletions(-)

diff --git a/board/toradex/apalis-tk1/apalis-tk1.c b/board/toradex/apalis-tk1/apalis-tk1.c
index b97617cfca..f418f2c39f 100644
--- a/board/toradex/apalis-tk1/apalis-tk1.c
+++ b/board/toradex/apalis-tk1/apalis-tk1.c
@@ -38,8 +38,17 @@
 int arch_misc_init(void)
 {
 	if (readl(NV_PA_BASE_SRAM + NVBOOTINFOTABLE_BOOTTYPE) ==
-	    NVBOOTTYPE_RECOVERY)
-		printf("USB recovery mode\n");
+	    NVBOOTTYPE_RECOVERY) {
+		printf("USB recovery mode, attempting to boot Toradex Easy Installer\n");
+		env_set("bootdelay", "-2");
+		env_set("defargs", "pcie_aspm=off user_debug=30");
+		env_set("fdt_high", "");
+		env_set("initrd_high", "");
+		env_set("setup", "env set setupargs igb_mac=${ethaddr} consoleblank=0 no_console_suspend=1 console=${console},${baudrate}n8 ${memargs}");
+		env_set("teziargs", "rootfstype=squashfs root=/dev/ram quiet autoinstall");
+		env_set("vidargs", "video=HDMI-A-1:640x480-16@60D");
+		env_set("bootcmd", "run setup; env set bootargs ${defargs} ${setupargs} ${vidargs} ${teziargs}; bootm 0x80208000#config@${soc}-${fdt_module}-${fdt_board}.dtb");
+	}
 
 	/* PCB Version Indication: V1.2 and later have GPIO_PV0 wired to GND */
 	gpio_request(TEGRA_GPIO(V, 0), "PCB Version Indication");
-- 
2.31.1


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

* Re: [PATCH v2 6/6] board: apalis-tk1: launch toradex easy installer in usb recovery
  2021-07-23  6:39           ` [PATCH v2 6/6] board: apalis-tk1: launch toradex easy installer in usb recovery Oleksandr Suvorov
@ 2021-08-06 11:03             ` Stefano Babic
  2021-08-11  9:50               ` Marcel Ziswiler
  0 siblings, 1 reply; 9+ messages in thread
From: Stefano Babic @ 2021-08-06 11:03 UTC (permalink / raw)
  To: Oleksandr Suvorov, u-boot; +Cc: Marcel Ziswiler, Simon Glass

On 23.07.21 08:39, Oleksandr Suvorov wrote:
> From: Marcel Ziswiler <marcel.ziswiler@toradex.com>
> 
> The USB recovery mode is used by Toradex to load the Toradex Easy
> Installer image which supports further system images installation.
> Prepare for loading and launching the Toradex Easy Installer if the
> USB Recovery mode is activated.
> 
> Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
> Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
> ---
> 
> Changes in v2:
> - remove 2 patches not meet requirements.
> END
> 
>   board/toradex/apalis-tk1/apalis-tk1.c | 13 +++++++++++--
>   1 file changed, 11 insertions(+), 2 deletions(-)
> 
> diff --git a/board/toradex/apalis-tk1/apalis-tk1.c b/board/toradex/apalis-tk1/apalis-tk1.c
> index b97617cfca..f418f2c39f 100644
> --- a/board/toradex/apalis-tk1/apalis-tk1.c
> +++ b/board/toradex/apalis-tk1/apalis-tk1.c
> @@ -38,8 +38,17 @@
>   int arch_misc_init(void)
>   {
>   	if (readl(NV_PA_BASE_SRAM + NVBOOTINFOTABLE_BOOTTYPE) ==
> -	    NVBOOTTYPE_RECOVERY)
> -		printf("USB recovery mode\n");
> +	    NVBOOTTYPE_RECOVERY) {
> +		printf("USB recovery mode, attempting to boot Toradex Easy Installer\n");
> +		env_set("bootdelay", "-2");
> +		env_set("defargs", "pcie_aspm=off user_debug=30");
> +		env_set("fdt_high", "");
> +		env_set("initrd_high", "");
> +		env_set("setup", "env set setupargs igb_mac=${ethaddr} consoleblank=0 no_console_suspend=1 console=${console},${baudrate}n8 ${memargs}");
> +		env_set("teziargs", "rootfstype=squashfs root=/dev/ram quiet autoinstall");
> +		env_set("vidargs", "video=HDMI-A-1:640x480-16@60D");
> +		env_set("bootcmd", "run setup; env set bootargs ${defargs} ${setupargs} ${vidargs} ${teziargs}; bootm 0x80208000#config@${soc}-${fdt_module}-${fdt_board}.dtb");

These above are very long lines making checkpatch unhgappy. Can we 
switch to a multiline ?

Best regards,
Stefano

> +	}
>   
>   	/* PCB Version Indication: V1.2 and later have GPIO_PV0 wired to GND */
>   	gpio_request(TEGRA_GPIO(V, 0), "PCB Version Indication");
> 


-- 
=====================================================================
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@denx.de
=====================================================================

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

* Re: [PATCH v2 6/6] board: apalis-tk1: launch toradex easy installer in usb recovery
  2021-08-06 11:03             ` Stefano Babic
@ 2021-08-11  9:50               ` Marcel Ziswiler
  0 siblings, 0 replies; 9+ messages in thread
From: Marcel Ziswiler @ 2021-08-11  9:50 UTC (permalink / raw)
  To: u-boot, sbabic, Oleksandr Suvorov; +Cc: sjg

On Fri, 2021-08-06 at 13:03 +0200, Stefano Babic wrote:
> On 23.07.21 08:39, Oleksandr Suvorov wrote:
> > From: Marcel Ziswiler <marcel.ziswiler@toradex.com>
> > 
> > The USB recovery mode is used by Toradex to load the Toradex Easy
> > Installer image which supports further system images installation.
> > Prepare for loading and launching the Toradex Easy Installer if the
> > USB Recovery mode is activated.
> > 
> > Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
> > Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
> > ---
> > 
> > Changes in v2:
> > - remove 2 patches not meet requirements.
> > END
> > 
> >   board/toradex/apalis-tk1/apalis-tk1.c | 13 +++++++++++--
> >   1 file changed, 11 insertions(+), 2 deletions(-)
> > 
> > diff --git a/board/toradex/apalis-tk1/apalis-tk1.c b/board/toradex/apalis-tk1/apalis-tk1.c
> > index b97617cfca..f418f2c39f 100644
> > --- a/board/toradex/apalis-tk1/apalis-tk1.c
> > +++ b/board/toradex/apalis-tk1/apalis-tk1.c
> > @@ -38,8 +38,17 @@
> >   int arch_misc_init(void)
> >   {
> >         if (readl(NV_PA_BASE_SRAM + NVBOOTINFOTABLE_BOOTTYPE) ==
> > -           NVBOOTTYPE_RECOVERY)
> > -               printf("USB recovery mode\n");
> > +           NVBOOTTYPE_RECOVERY) {
> > +               printf("USB recovery mode, attempting to boot Toradex Easy Installer\n");
> > +               env_set("bootdelay", "-2");
> > +               env_set("defargs", "pcie_aspm=off user_debug=30");
> > +               env_set("fdt_high", "");
> > +               env_set("initrd_high", "");
> > +               env_set("setup", "env set setupargs igb_mac=${ethaddr} consoleblank=0 no_console_suspend=1
> > console=${console},${baudrate}n8 ${memargs}");
> > +               env_set("teziargs", "rootfstype=squashfs root=/dev/ram quiet autoinstall");
> > +               env_set("vidargs", "video=HDMI-A-1:640x480-16@60D");
> > +               env_set("bootcmd", "run setup; env set bootargs ${defargs} ${setupargs} ${vidargs}
> > ${teziargs}; bootm 0x80208000#config@${soc}-${fdt_module}-${fdt_board}.dtb");
> 
> These above are very long lines making checkpatch unhgappy. Can we 
> switch to a multiline ?

Yes, I fully agree. I will pick it up and send a v3 shortly as Oleksandr unfortunately meanwhile left our
company.

> Best regards,
> Stefano
> 
> > +       }
> >   
> >         /* PCB Version Indication: V1.2 and later have GPIO_PV0 wired to GND */
> >         gpio_request(TEGRA_GPIO(V, 0), "PCB Version Indication");

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

end of thread, other threads:[~2021-08-11  9:50 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-23  6:39 [PATCH v2 0/6] Toradex boards' specific patches Oleksandr Suvorov
2021-07-23  6:39 ` [PATCH v2 1/6] board: colibri_imx7: use SDP if USB serial downloader has been used Oleksandr Suvorov
2021-07-23  6:39   ` [PATCH v2 2/6] board: toradex: make USB PID from config block optional Oleksandr Suvorov
2021-07-23  6:39     ` [PATCH v2 3/6] board: colibri-imx8x: update building documentation Oleksandr Suvorov
2021-07-23  6:39       ` [PATCH v2 4/6] board: colibri_imx6: add board_fit_config_name_match to support FIT in SPL Oleksandr Suvorov
2021-07-23  6:39         ` [PATCH v2 5/6] board: colibri_vf: fix compiling warning Oleksandr Suvorov
2021-07-23  6:39           ` [PATCH v2 6/6] board: apalis-tk1: launch toradex easy installer in usb recovery Oleksandr Suvorov
2021-08-06 11:03             ` Stefano Babic
2021-08-11  9:50               ` Marcel Ziswiler

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.