[PATCH v1 01/24] arm64: dts: imx8mm-u-boot.dtsi: imx8mp-u-boot.dtsi: use atf-bl31 type

2022-04-08 Thread Marcel Ziswiler
From: Marcel Ziswiler Explicitly use the atf-bl31 type for the bl31.bin atf-blob. This uses the path from the BL31 environment variable, if defined. Signed-off-by: Marcel Ziswiler --- arch/arm/dts/imx8mm-u-boot.dtsi | 2 +- arch/arm/dts/imx8mp-u-boot.dtsi | 3 ++- 2 files changed, 3

[PATCH v1 04/24] toradex: globally disable video support

2022-04-08 Thread Marcel Ziswiler
From: Igor Opaniuk As video support is very specific depending on the exact display customisation we decided to disable video support for all out modules by default. Signed-off-by: Igor Opaniuk Signed-off-by: Marcel Ziswiler --- configs/apalis_imx6_defconfig | 10

[PATCH v1 06/24] toradex: drop legacy nfsboot script

2022-04-08 Thread Marcel Ziswiler
From: Igor Opaniuk Drop legacy nfsboot script in favor of distroboot DHCP boot. Signed-off-by: Igor Opaniuk Signed-off-by: Marcel Ziswiler --- include/configs/apalis-imx8.h | 5 - include/configs/apalis-tk1.h | 11 --- include/configs/apalis_imx6.h | 11

[PATCH v1 09/24] configs: toradex: enable missing fit options

2022-04-08 Thread Marcel Ziswiler
From: Oleksandr Suvorov Add missing support of FIT-images and enable a verbosity for this feature. Signed-off-by: Oleksandr Suvorov Signed-off-by: Marcel Ziswiler --- configs/apalis-imx8_defconfig | 1 + configs/apalis-tk1_defconfig | 1 + configs/apalis_imx6_defconfig

[PATCH v1 07/24] include: colibri_vf: add missing tdxargs variable

2022-04-08 Thread Marcel Ziswiler
From: Philippe Schenker All the other NAND-based boards have tdxargs specified for setting manual kernel command-line arguments. Signed-off-by: Philippe Schenker Signed-off-by: Marcel Ziswiler --- include/configs/colibri_vf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH v1 05/24] toradex: set default dhcp distroboot scriptname

2022-04-08 Thread Marcel Ziswiler
From: Igor Opaniuk Use the same name of DHCP Distroboot script as in regular eMMC case. Signed-off-by: Igor Opaniuk Signed-off-by: Marcel Ziswiler --- include/configs/apalis-imx8.h | 1 + include/configs/apalis-tk1.h | 1 + include/configs/apalis_imx6.h | 1 + include/configs

[PATCH v1 08/24] colibri-imx6ull: drop vidargs and remove video= settings

2022-04-08 Thread Marcel Ziswiler
From: Oleksandr Suvorov Since we envision using overlays for display interfaces, the video= settings within vidargs are obsolete. Remove these settings from the U-Boot. Signed-off-by: Oleksandr Suvorov Signed-off-by: Marcel Ziswiler --- include/configs/colibri-imx6ull.h | 4 +--- 1 file

[PATCH v1 10/24] configs: colibri-imx7/-emmc: enable booting from usb sdp

2022-04-08 Thread Marcel Ziswiler
From: Oleksandr Suvorov For recovery purpose allow booting via SDP over USB as well. Signed-off-by: Oleksandr Suvorov Signed-off-by: Marcel Ziswiler --- configs/colibri_imx7_defconfig | 1 + configs/colibri_imx7_emmc_defconfig | 1 + 2 files changed, 2 insertions(+) diff --git a

[PATCH v1 13/24] board: colibri-imx6ull: Do not leave variant variable unset

2022-04-08 Thread Marcel Ziswiler
-off-by: Marcel Ziswiler --- board/toradex/colibri-imx6ull/colibri-imx6ull.c | 4 1 file changed, 4 insertions(+) diff --git a/board/toradex/colibri-imx6ull/colibri-imx6ull.c b/board/toradex/colibri-imx6ull/colibri-imx6ull.c index 02ab5889b9a..3244184f272 100644 --- a/board/toradex/colibri

[PATCH v1 11/24] apalis-imx6: avoid save environment unasked

2022-04-08 Thread Marcel Ziswiler
From: Denys Drozdov U-Boot should never save the environment unasked. This also avoids storing broken ftd_file to eMMC. Signed-off-by: Denys Drozdov Signed-off-by: Marcel Ziswiler --- board/toradex/apalis_imx6/apalis_imx6.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/board/toradex

[PATCH v1 14/24] configs: tdx: Do not overwrite fdtfile if it got set manually

2022-04-08 Thread Marcel Ziswiler
From: Philippe Schenker In case a customer wants to set fdtfile currently preboot overrides it always with preboot just before the bootdelay. Use test -n to check if fdtfile is already set and only set it if nothing got touched manually Signed-off-by: Philippe Schenker Signed-off-by: Marcel

[PATCH v1 03/24] toradex: apalis-imx8x: drop support for apalis imx8x

2022-04-08 Thread Marcel Ziswiler
From: Denys Drozdov Drop Apalis iMX8X platform as it never left sample state and is no longer supported. Signed-off-by: Denys Drozdov Signed-off-by: Marcel Ziswiler --- arch/arm/dts/Makefile | 1 - arch/arm/dts/fsl-imx8qxp-apalis-u-boot.dtsi | 139 - arch

[PATCH v1 15/24] regulator: fixed: add possibility to enable by clock

2022-04-08 Thread Marcel Ziswiler
From: Philippe Schenker This commit adds the possibility to choose the compatible "regulator-fixed-clock" in devicetree. This is a special case of regulator-fixed where a clock has to be used to switch the regulator on and off. Signed-off-by: Philippe Schenker Signed-off-by: Marce

[PATCH v1 18/24] disk: part: add the device search failed log msg

2022-04-08 Thread Marcel Ziswiler
From: Oleksii Bidnichenko Add missing error message to blk_get_device_part_str. Signed-off-by: Oleksii Bidnichenko Signed-off-by: Marcel Ziswiler --- disk/part.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/disk/part.c b/disk/part.c index 49e39a24e86..16e8c94eebc 100644 --- a/disk

[PATCH v1 17/24] board: toradex: drop colibri pxa270 support

2022-04-08 Thread Marcel Ziswiler
From: Marcel Ziswiler The Colibri PXA270 has been end-of-life since quite a while and would require more and more maintenance (e.g. DM conversions). Signed-off-by: Marcel Ziswiler --- arch/arm/Kconfig | 6 - board/toradex/colibri_pxa270/Kconfig | 23

[PATCH v1 19/24] colibri-imx6ull: fix nand bch geometry

2022-04-08 Thread Marcel Ziswiler
From: Marcel Ziswiler Fix NAND BCH geometry as otherwise the following errors are observed upon boot: ... Loading Environment from NAND... NAND read from offset 38 failed -74 ... NAND read from offset 800 failed -74 ... ubi0 error: ubi_io_read: error -74 (ECC error) while reading 64 bytes

[PATCH v1 12/24] apalis-tk1: avoid save environment unasked

2022-04-08 Thread Marcel Ziswiler
From: Denys Drozdov U-Boot should never save the environment unasked. This also avoids storing broken fdt_module to flash. Signed-off-by: Denys Drozdov Signed-off-by: Marcel Ziswiler --- board/toradex/apalis-tk1/apalis-tk1.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/board

[PATCH v1 16/24] board: colibri-imx6ull: fix detecting ethernet phy

2022-04-08 Thread Marcel Ziswiler
as it now waits for the regulator-fixed-clock voltage that drives the PHY to go up. If you rely on very fast boot-speeds and don't need ethernet for your boot-process you can safely revert the changes on imx6ull-colibri.dtsi Signed-off-by: Philippe Schenker Signed-off-by: Marcel Zis

Re: [PATCH v1 19/24] colibri-imx6ull: fix nand bch geometry

2022-04-08 Thread Marcel Ziswiler
swiler.com> > References: <20220408080719.342072-1-mar...@ziswiler.com> > MIME-Version: 1.0 > Content-Transfer-Encoding: 8bit > > Result: 250 > (mbox) Adding cc: Marcel Ziswiler from line > 'From: Marcel Ziswiler ' > (body) Adding cc: Marcel Ziswiler from line > 'S

[PATCH v1 19/24] colibri-imx6ull: fix nand bch geometry

2022-04-08 Thread Marcel Ziswiler
From: Marcel Ziswiler Fix NAND BCH geometry as otherwise the following errors are observed upon boot: ... Loading Environment from NAND... NAND read from offset 38 failed -74 ... NAND read from offset 800 failed -74 ... ubi0 error: ubi_io_read: error -74 (ECC error) while reading 64 bytes

[PATCH v1 20/24] board: colibri_imx7: fix usb start on solo

2022-04-08 Thread Marcel Ziswiler
From: Marcel Ziswiler This fixes the following crash when run on a Colibri iMX7S aka solo: Colibri iMX7 # usb start starting USB... Bus usb@30b1: USB EHCI 1.00 Bus usb@30b2: The i.MX 7Solo has only one single USB OTG1 but no USB host port. Trying to initialize the nonexisting port just

[PATCH v1 21/24] configs: tdx: apalis_imx6: drop hw v1.0 support

2022-04-08 Thread Marcel Ziswiler
From: Marcel Ziswiler Drop optional support for the ancient Apalis iMX6 V1.0 hardware which had the UART wired as DCE rather than DTE. Signed-off-by: Marcel Ziswiler --- board/toradex/apalis_imx6/apalis_imx6.c | 25 ++--- include/configs/apalis_imx6.h | 6

[PATCH v1 22/24] configs: tdx: apalis/colibri_imx6: use preboot as well

2022-04-08 Thread Marcel Ziswiler
From: Marcel Ziswiler Use PREBOOT as well. This allows a customer to just set fdt_board as on any other module to customize the device tree for his carrier board. Signed-off-by: Marcel Ziswiler --- configs/apalis_imx6_defconfig | 2 ++ configs/colibri_imx6_defconfig | 2 ++ include/configs

[PATCH v1 23/24] configs: colibri-imx6ull/-emmc: use micrel ksz8xxx phy driver

2022-04-08 Thread Marcel Ziswiler
From: Marcel Ziswiler Use the Micrel KSZ8xxx specific Ethernet PHY driver rather than the generic one. Signed-off-by: Marcel Ziswiler --- configs/colibri-imx6ull-emmc_defconfig | 1 + configs/colibri-imx6ull_defconfig | 1 + 2 files changed, 2 insertions(+) diff --git a/configs/colibri

[PATCH v1 24/24] board: colibri-imx6ull: fix detecting sd card

2022-04-08 Thread Marcel Ziswiler
From: Marcel Ziswiler Turns out on certain carrier boards (e.g. Iris V2) and under certain circumstances (e.g. after a software reset) the SD card may have been left in a strange state which later failed as follows: Colibri iMX6ULL # mmc dev 0 Card did not respond to voltage select! : -110 Fix

[PATCH v1 00/24] toradex updates: assortment of fixes and improvements

2022-04-08 Thread Marcel Ziswiler
From: Marcel Ziswiler This series contains an assortment of fixes and improvements for Toradex computer/system on modules (CoM/SoM). We also drop support for the Apalis iMX8X and the Colibri PXA270. The former never evolved beyond the sample state and we no longer support it. The latter is EOL

Re: [PATCH] ARM: imx8mm: verdin-imx8mm: Drop superfluous header

2022-04-12 Thread Marcel Ziswiler
cked-by: Marcel Ziswiler > Cc: Fabio Estevam > Cc: Marcel Ziswiler > Cc: Max Krummenacher > Cc: Peng Fan > Cc: Stefano Babic > --- >  board/toradex/verdin-imx8mm/spl.c | 1 - >  1 file changed, 1 deletion(-) > > diff --git a/board/toradex/verdin-imx8mm/spl.c

Re: imx8mm USB Mass Storage fails through a HUB

2023-02-10 Thread Marcel Ziswiler
Hi Tim On Thu, 2023-02-09 at 11:58 -0800, Tim Harvey wrote: > Greetings, > > I'm finding that USB Mass Storage devices appear to fail detection on > imx8mm when hanging off a USB hub whereas other devices such as USB > ethernet work fine. > > u-boot=> usb start && usb tree > starting USB... > Bu

Re: [PATCH v1] configs: colibri-imx7: Fix bad block table in flash configuration

2023-02-10 Thread Marcel Ziswiler
D support") > Signed-off-by: Stefan Eichenberger > Signed-off-by: Francesco Dolcini Reviewed-by: Marcel Ziswiler > --- >  configs/colibri_imx7_defconfig | 1 + >  1 file changed, 1 insertion(+) > > diff --git a/configs/colibri_imx7_defconfig b/configs/colibri_imx7_defcon

Re: [PATCH v1] configs: verdin-imx8mp: Fix wrong early malloc() heap size

2023-02-16 Thread Marcel Ziswiler
188000. > > Fixes: 2bc2f817cea7 ("board: toradex: add verdin imx8m plus support") > Signed-off-by: Emanuele Ghidoli > Signed-off-by: Francesco Dolcini Acked-by: Marcel Ziswiler > --- >  configs/verdin-imx8mp_defconfig | 1 + >  1 file changed, 1 insertion(+) > >

Re: [PATCH 10/13] verdin-imx8mm: Remove unused SPL_BOARD_INIT

2023-02-16 Thread Marcel Ziswiler
On Wed, 2023-02-15 at 22:36 -0500, Tom Rini wrote: > On this platform SPL_BOARD_INIT is used to call arch_misc_init which is > in turn empty, drop the call. > > Cc: Marcel Ziswiler > Signed-off-by: Tom Rini Acked-by: Marcel Ziswiler > --- >  board/toradex/ve

Re: [PATCH 10/13] verdin-imx8mm: Remove unused SPL_BOARD_INIT

2023-02-17 Thread Marcel Ziswiler
Hi Tom On Thu, 2023-02-16 at 13:37 +0100, Marcel Ziswiler wrote: > On Wed, 2023-02-15 at 22:36 -0500, Tom Rini wrote: > > On this platform SPL_BOARD_INIT is used to call arch_misc_init which is > > in turn empty, drop the call. > > > > Cc: Marcel Ziswiler > > Si

Re: [PATCH v4 0/8] arm: dts: imx: sync device trees with upstream linux kernel part 1

2022-11-07 Thread Marcel Ziswiler
Hi Tim On Mon, 2022-11-07 at 11:06 -0800, Tim Harvey wrote: > On Sat, Nov 5, 2022 at 4:31 AM Marcel Ziswiler wrote: > > > > From: Marcel Ziswiler > > > > > > This series synchronises them imx device trees with the upstream Linux > > kernel (v6.1-rc3).

Re: [PATCH v4 0/8] arm: dts: imx: sync device trees with upstream linux kernel part 1

2022-11-07 Thread Marcel Ziswiler
Hi Stefano On Mon, 2022-11-07 at 20:57 +0100, Stefano Babic wrote: > Hi Tim, Marcel, > > On 07.11.22 20:06, Tim Harvey wrote: > > On Sat, Nov 5, 2022 at 4:31 AM Marcel Ziswiler wrote: > > > > > > From: Marcel Ziswiler > > > > > > > >

[PATCH v5 1/8] vf610: synchronise device tree with linux

2022-11-07 Thread Marcel Ziswiler
From: Marcel Ziswiler Synchronise device tree with linux v6.1-rc3. Signed-off-by: Marcel Ziswiler --- (no changes since v4) Changes in v4: - Re-synched with v6.1-rc3 which now already contains the recent DDR pinmux addition. arch/arm/dts/vf610-pinfunc.h | 2 +- 1 file changed, 1

[PATCH v5 0/8] arm: dts: imx: sync device trees with upstream linux kernel part 1

2022-11-07 Thread Marcel Ziswiler
From: Marcel Ziswiler This series synchronises them imx device trees with the upstream Linux kernel (v6.1-rc3). I split it into two parts. This is part 1. It also fixes a few issues as discussed during/after the pre-mature application of my first series [1]. I am not touching kontron-sl-mx6ul

[PATCH v5 2/8] imxrt1020: migrate to build system included -u-boot.dtsi

2022-11-07 Thread Marcel Ziswiler
From: Marcel Ziswiler Migrate to using automatic build system included -u-boot.dtsi device tree include files. Signed-off-by: Marcel Ziswiler Reviewed-by: Giulio Benetti Tested-by: Giulio Benetti --- Changes in v5: - Add Giulio's reviewed-by and tested-by. Thanks! Changes in v4:

[PATCH v5 3/8] imxrt1050: synchronise device tree with linux

2022-11-07 Thread Marcel Ziswiler
From: Marcel Ziswiler Synchronise device tree with linux v6.1-rc3. Note: Nowadays, the intent is for them regular device trees to just be synchronised from them Linux kernel device trees and any and all U-Boot specific changes need to go into the -u-boot.dtsi device tree include files which BTW

[PATCH v5 5/8] imx8mq: synchronise device tree with linux

2022-11-07 Thread Marcel Ziswiler
From: Marcel Ziswiler Synchronise device tree with linux v6.1-rc3. Signed-off-by: Marcel Ziswiler --- (no changes since v4) Changes in v4: - Re-synched with v6.1-rc3. arch/arm/dts/imx8mq-evk.dts | 43 +++ arch/arm/dts/imx8mq-librem5-r3.dtsi | 45 +++ arch/arm

[PATCH v5 4/8] imx8ulp: synchronise device tree with linux

2022-11-07 Thread Marcel Ziswiler
From: Marcel Ziswiler Synchronise device tree with linux v6.1-rc3. Signed-off-by: Marcel Ziswiler --- (no changes since v4) Changes in v4: - Re-synched with v6.1-rc3. Changes in v2: - imx8ulp: Re-added s400_mu device tree node. arch/arm/dts/imx8ulp-evk-u-boot.dtsi | 15 +- arch

[PATCH v5 7/8] imx8mn: synchronise device tree with linux

2022-11-07 Thread Marcel Ziswiler
From: Marcel Ziswiler Synchronise device tree with linux v6.1-rc3. Signed-off-by: Marcel Ziswiler Tested-By: Tim Harvey #imx8m{m,n,p}-venice-* --- Changes in v5: - Add Tim's tested-by. Thanks! Changes in v4: - Re-based after Adam's common imx8mn-u-boot device tree creation. -

[PATCH v5 6/8] imx8mp: synchronise device tree with linux

2022-11-07 Thread Marcel Ziswiler
From: Marcel Ziswiler Synchronise device tree with linux v6.1-rc3. Signed-off-by: Marcel Ziswiler Tested-By: Tim Harvey #imx8m{m,n,p}-venice-* --- Changes in v5: - Add Tim's tested-by. Thanks! Changes in v4: - Re-synched with v6.1-rc3. arch/arm/dts/imx8mp-dhcom-pdk2.dts

[PATCH v5 8/8] imx8mm: synchronise device tree with linux

2022-11-07 Thread Marcel Ziswiler
From: Marcel Ziswiler Synchronise device tree with linux v6.1-rc3. Signed-off-by: Marcel Ziswiler Tested-By: Tim Harvey #imx8m{m,n,p}-venice-* --- Changes in v5: - Add Tim's tested-by. Thanks! Changes in v4: - Re-synched with v6.1-rc3. arch/arm/dts/imx8mm-beacon-baseboard.dtsi

Re: [PATCH v2 0/8] imx8: switch missing boards to binman

2022-11-09 Thread Marcel Ziswiler
On Fri, 2022-11-04 at 13:31 -0300, Fabio Estevam wrote: > Hi Oliver, > > On Fri, Nov 4, 2022 at 12:19 PM Oliver Graute > wrote: > > > > This patchsets switches the remaining imx8 boards to binman. > > > > Oliver Graute (8): > >   imx: imx8qm-rom7720: switch to binman > >   imx: imx8qm: cgtqmx8:

Re: [PATCH v2 8/8] imx: imx8: apalis: switch to binman

2022-11-09 Thread Marcel Ziswiler
Hi Oliver Thanks for working on this. On Fri, 2022-11-04 at 16:03 +0100, Oliver Graute wrote: > Switch to use binman to pack images > > Signed-off-by: Oliver Graute > --- > Changes for v2 >  - use common imx8qm-u-boot.dtsi >  - guard SPL nodes with CONFIG_SPL I don't think it is that simple. E

Re: [PATCH v2 8/8] imx: imx8: apalis: switch to binman

2022-11-15 Thread Marcel Ziswiler
On Sat, 2022-11-12 at 17:26 +0100, sba...@denx.de wrote: > > Switch to use binman to pack images > > Signed-off-by: Oliver Graute > Applied to u-boot-imx, master, thanks ! Quick question: Why exactly did this get applied? This really does not work at all! > Best regards, > Stefano Babic

Re: Pull request: u-boot-imx u-boot-imx-20221114

2022-11-15 Thread Marcel Ziswiler
On Mon, 2022-11-14 at 15:44 -0500, Tom Rini wrote: > On Mon, Nov 14, 2022 at 11:29:27AM +0100, Stefano Babic wrote: > > > Hi Tom, > > > > please pull from u-boot-imx, thanks ! > > > > The following changes since commit 88bd8ee106591eb900561715c44ad04441afc0e3: > > > >   Prepare v2023.01-rc1 (20

Re: [PATCH] Revert "imx: imx8: apalis: switch to binman"

2022-11-16 Thread Marcel Ziswiler
ere the discussion is/was happening... > Signed-off-by: Stefano Babic > Reported-by: Marcel Ziswiler Acked-by: Marcel Ziswiler > --- >  arch/arm/dts/fsl-imx8qm-apalis-u-boot.dtsi | 2 -- >  arch/arm/mach-imx/imx8/Kconfig | 1 - >  configs/apalis-imx8_defconfig 

Re: [PATCH v2 0/8] imx8: switch missing boards to binman

2022-11-16 Thread Marcel Ziswiler
Hi guys On Fri, 2022-11-11 at 14:55 -0300, Fabio Estevam wrote: > On Fri, Nov 11, 2022 at 2:40 PM Fabio Estevam wrote: > > > I removed SPL support, which does not seems to be needed as the scufw > > handles DDR init. > > > > I don't have access to an imx8qm/qxp board here. > > > > Could you tr

[PATCH v1] ARM: imx8mm: verdin-imx8mm: fix board hang in spl

2022-05-16 Thread Marcel Ziswiler
From: Marcel Ziswiler Move the preloader_console_init() call after spl_early_init() to avoid board hang in SPL. While at it remove explicit in-code console/debug UART pinmuxing (uart1 and its pinmuxing are already marked as u-boot,dm-spl via device tree). Fixes: 4551e1898769 ("configs: v

[PATCH v1] board: apalis_t30/tk1/colibri_t20/t30: integrate mac address via dt

2022-05-21 Thread Marcel Ziswiler
From: Marcel Ziswiler Use device tree to set MAC address of the Ethernet chip. Signed-off-by: Marcel Ziswiler --- board/toradex/apalis-tk1/apalis-tk1.c | 19 +++ board/toradex/apalis_t30/apalis_t30.c | 20 board/toradex/colibri_t20/colibri_t20.c | 19

[PATCH v2] verdin-imx8mm, verdin-imx8mp: Fix default systemd console output

2022-05-25 Thread Marcel Ziswiler
= statements accordingly. Signed-off-by: Philippe Schenker Reviewed-by: Stefano Babic Acked-by: Marcel Ziswiler Signed-off-by: Marcel Ziswiler --- Changes in v2: - Added Stefano's reviewed-by tag. - Added my acked-by tag. - Re-based on top of Stefano's master-next. include/conf

Re: [PATCH v2 6/6] board: apalis-tk1: launch toradex easy installer in usb recovery

2021-08-11 Thread Marcel Ziswiler
On Fri, 2021-08-06 at 13:03 +0200, Stefano Babic wrote: > On 23.07.21 08:39, Oleksandr Suvorov wrote: > > From: Marcel Ziswiler > > > > The USB recovery mode is used by Toradex to load the Toradex Easy > > Installer image which supports further system images installati

Re: [PATCH 1/2] doc: imx: psb: Fix PERSIST_SECONDARY_BOOT bit location in GPR10

2021-08-11 Thread Marcel Ziswiler
On Tue, 2021-08-10 at 21:12 +0200, Marek Vasut wrote: > The PERSIST_SECONDARY_BOOT is in GPR10 address 0x30390098, adjust the > text which currently says it is in GPR0 while using the correct address > of GPR10. > > Signed-off-by: Marek Vasut Reviewed-by: Marcel Ziswiler >

Re: [PATCH 2/2] doc: imx: psb: Add documentation for MX8MM behavior with Fast Boot fuse blown

2021-08-11 Thread Marcel Ziswiler
asut Reviewed-by: Marcel Ziswiler > Cc: Peng Fan > Cc: Stefano Babic > Cc: Ye Li > Cc: uboot-imx > --- >  doc/imx/misc/psb.rst | 16 +--- >  1 file changed, 9 insertions(+), 7 deletions(-) > > diff --git a/doc/imx/misc/psb.rst b/doc/imx/misc/psb.rst >

[PATCH v3] board: apalis-tk1: launch toradex easy installer in usb recovery

2021-08-11 Thread Marcel Ziswiler
From: Marcel Ziswiler 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 Signed

Re: [PATCH v3] board: apalis-tk1: launch toradex easy installer in usb recovery

2021-08-11 Thread Marcel Ziswiler
tefano. So if you could take this one as a singleton that would be great. Thanks! > Tom Cheers Marcel > -- > nvpublic > > -Original Message- > From: Stefano Babic > Sent: Wednesday, August 11, 2021 6:24 AM > To: Marcel Ziswiler ; u-boot@lists.denx.de > C

[PATCH v1 1/5] toradex: take over maintainership

2021-08-16 Thread Marcel Ziswiler
From: Marcel Ziswiler Also take over maintainership of remaining Toradex SoMs as Oleksandr has left our company. Signed-off-by: Marcel Ziswiler CC: Oleksandr Suvorov --- board/toradex/apalis-imx8x/MAINTAINERS| 2 +- board/toradex/apalis_imx6/MAINTAINERS | 2 +- board/toradex

[PATCH v1 2/5] toradex: configblock: fix interactive mode it handling

2021-08-16 Thread Marcel Ziswiler
us") Related-to: ELB-3482 Signed-off-by: Denys Drozdov Signed-off-by: Marcel Ziswiler --- board/toradex/common/tdx-cfg-block.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/board/toradex/common/tdx-cfg-block.c b/board/toradex/common/tdx-cfg-block.c index e4f9a0db914..

[PATCH v1 3/5] toradex: tdx-cfg-block: add new i.mx 6ull and 8m plus skus

2021-08-16 Thread Marcel Ziswiler
From: Marcel Ziswiler Add new i.MX 6ULL and 8M Plus SKUs to ConfigBlock handling: 0062: Colibri iMX6ULL 1GB IT (eMMC) 0063: Verdin iMX8M Plus Quad 4GB IT 0064: Verdin iMX8M Plus Quad 2GB Wi-Fi / BT IT 0065: Verdin iMX8M Plus QuadLite 1GB IT 0066: Verdin iMX8M Plus Quad 8GB Wi-Fi / BT

[PATCH v1 4/5] colibri-imx6ull: imximage.cfg: integrate new 1GiB RAM variant

2021-08-16 Thread Marcel Ziswiler
all Toradex Colibri iMX6ULL SKUs Related-to: ELB-4055, ELB-4057 Signed-off-by: Philippe Schenker Signed-off-by: Marcel Ziswiler --- board/toradex/colibri-imx6ull/imximage.cfg | 13 + include/configs/colibri-imx6ull.h | 2 +- 2 files changed, 6 insertions(+), 9 deletions

[PATCH v1 0/5] board: toradex: prepare and add colibri imx6ull 1gb (emmc) support

2021-08-16 Thread Marcel Ziswiler
From: Marcel Ziswiler Some preparatory steps concerning tdx-cfg-block including a fix for the interactive mode IT handling and adding them new SKUs and then adding initial support for the Toradex Colibri iMX6ULL 1GB (eMMC) V1.1A module. They are now strapped to boot from eFuses which are factory

[PATCH v1 5/5] colibri-imx6ull: add emmc variant

2021-08-16 Thread Marcel Ziswiler
From: Max Krummenacher Add code to build the eMMC variant of the Colibri iMX6ULL, i.e. the 'Colibri iMX6ULL 1GB' which has a eMMC instead of the raw NAND used on other SKUs. Related-to: ELB-4056, ELB-4057 Signed-off-by: Max Krummenacher Signed-off-by: Marcel Ziswiler --- ar

Re: [PATCH v1 2/5] toradex: configblock: fix interactive mode it handling

2021-08-16 Thread Marcel Ziswiler
Hi Fabio On Mon, 2021-08-16 at 10:27 -0300, Fabio Estevam wrote: > Hi Marcel, > > On Mon, Aug 16, 2021 at 10:13 AM Marcel Ziswiler wrote: > > > > From: Denys Drozdov > > > > Restore "Is the module an IT version? [y/N]" for "cfgblock create&quo

Re: [PATCH v3 2/9] arm: dts: imx8mp: Add common u-boot dtsi

2021-08-18 Thread Marcel Ziswiler
Hi Fabio and Frieder On Mon, 2021-08-16 at 12:10 -0300, Fabio Estevam wrote: > Hi Frieder, > > On Mon, Aug 16, 2021 at 11:18 AM Frieder Schrempf > wrote: > > > > If you prepare a patch I would prefer to have separate names for the SPL > > > image and the final concatenated > > > image. So we d

Re: [RFC] imx8mm-evk: Generate a bootable flash.bin again

2021-08-18 Thread Marcel Ziswiler
On Wed, 2021-08-18 at 08:47 +0200, Frieder Schrempf wrote: > > > > > > > Prior to 2021.07: only flash.bin was required. Yocto recipe, for > > > > example, will no longer produce a bootable image > > > > after the upgrade to 2021.07. This is the breakage I would like to > > > > avoid. > > > > > >

Re: [PATCH] imx8mm-evk: Generate a single bootable flash.bin again

2021-08-19 Thread Marcel Ziswiler
Hi Fabio and Frieder On Thu, 2021-08-19 at 15:58 -0300, Fabio Estevam wrote: > Hi Frieder, > > On Thu, Aug 19, 2021 at 3:52 PM Frieder Schrempf > wrote: > > > I tried to adapt this for my own board, but I needed to change the > > following in the imximage.cfg for the > > build to pass. Did you

Re: [PATCH] imx8mm-evk: Generate a single bootable flash.bin again

2021-08-19 Thread Marcel Ziswiler
On Wed, 2021-08-18 at 09:19 -0300, Fabio Estevam wrote: > After the conversion to binman in commit 8996e6b7c6a1 ("imx8mm_evk: switch > to use binman to pack images"), it is necessary to flash both flash.bin and > u-boot.itb to get a bootable system. Prior to this commit, only flash.bin > was needed

Re: [PATCH v3 1/2] imx8mm-evk: Generate a single bootable flash.bin again

2021-08-20 Thread Marcel Ziswiler
On Fri, 2021-08-20 at 07:41 +0200, Heiko Thiery wrote: > > ... > > When building from a clean checkout I see the following warnings. It > seems that there are some dependency checks that are looking for the > files in mkimage config file. > >   AR  arch/arm/lib/lib.a >   AS  arch/arm/lib

Re: [PATCH 5/7] imx: makefile: drop the use of imx8mimage.sh

2021-08-20 Thread Marcel Ziswiler
MAGEOUTPUT = flash.log > >   > > +spl/u-boot-spl.cfgout: $(IMX_CONFIG) FORCE > > +   $(Q)mkdir -p $(dir $@) > > +   $(call if_changed_dep,cpp_cfg) > > + > >  spl/u-boot-spl-ddr.bin: spl/u-boot-spl.bin spl/u-boot-spl.cfgout FORCE > > -ifeq ($(DEPFILE

Re: [PATCH v3 1/2] imx8mm-evk: Generate a single bootable flash.bin again

2021-08-20 Thread Marcel Ziswiler
On Fri, 2021-08-20 at 12:47 +0200, Heiko Thiery wrote: > Hi Fabio, > > > > Yes, I believe it really requires explicitly setting the filename as I > > > previously suggested. > > > > > > > > > https://marc.info/?l=u-boot&m=162940109314578 > > > > Peng Fan has sent a patch fixing this: > > https

[PATCH v1 0/7] board: toradex: verdin-imx8mm: target refresh

2021-08-20 Thread Marcel Ziswiler
From: Marcel Ziswiler An assortment of fixes and improvements like a legacy image generation fix, an Ethernet PHY configuration fix, DEK blob encapsulation preparation, migration to using binman to pack images, SLEEP_MOCI# enablement and dropping of V1.0 hardware support [1]. One last issue I

[PATCH v1 1/7] imx: mkimage_fit_atf: fix legacy image generation

2021-08-20 Thread Marcel Ziswiler
From: Marcel Ziswiler While most boards meanwhile migrated to using binman a few like the verdin-imx8mm are still using the legacy image generation. Unfortunately, the legacy image generation is currently broken which is especially bad for any kind of bisection attempts. Anyway, this fixes it

[PATCH v1 2/7] imx8m: clean-up kconfig indentation

2021-08-20 Thread Marcel Ziswiler
From: Marcel Ziswiler Replace spurious spaces with proper tabs. Signed-off-by: Marcel Ziswiler --- arch/arm/mach-imx/imx8m/Kconfig | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/arch/arm/mach-imx/imx8m/Kconfig b/arch/arm/mach-imx/imx8m/Kconfig

[PATCH v1 3/7] verdin-imx8mm: fix ethernet

2021-08-20 Thread Marcel Ziswiler
From: Marcel Ziswiler Turns out Microship (formerly Micrel) meanwhile integrated proper support for the DLL setup on their KSZ9131. Unfortunately, this conflicts with our previous board code doing that. Fix this by getting rid of our board code and just relying on the generic implementation

[PATCH v1 4/7] ARM: dts: imx8mm-verdin: prepare for dek blob encapsulation

2021-08-20 Thread Marcel Ziswiler
From: Marcel Ziswiler Prepare for DEK blob encapsulation support through "dek_blob" command. On ARMv8, u-boot runs in non-secure, thus cannot encapsulate a DEK blob for encrypted boot. The DEK blob is encapsulated by OP-TEE through a trusted application call. U-boot sends and receiv

[PATCH v1 6/7] verdin-imx8mm: enable sleep_moci output

2021-08-20 Thread Marcel Ziswiler
From: Max Krummenacher This powers some peripherals on the carrier board e.g. the USB hub. Related-to: ELB-3206 Signed-off-by: Max Krummenacher Signed-off-by: Marcel Ziswiler --- arch/arm/dts/imx8mm-verdin.dts | 18 ++ configs/verdin-imx8mm_defconfig | 1 + 2 files changed

[PATCH v1 5/7] verdin-imx8mm: switch to use binman to pack images

2021-08-20 Thread Marcel Ziswiler
From: Marcel Ziswiler Use binman to pack images. Signed-off-by: Marcel Ziswiler --- arch/arm/dts/imx8mm-verdin-u-boot.dtsi | 122 ++- arch/arm/mach-imx/imx8m/Kconfig | 1 + board/toradex/verdin-imx8mm/imximage.cfg | 11 +- configs/verdin-imx8mm_defconfig

[PATCH v1 7/7] verdin-imx8mm: drop support for v1.0 hardware

2021-08-20 Thread Marcel Ziswiler
From: Max Krummenacher We drop support for Verdin iMX8M Mini V1.0B. Related-to: ELB-3551 Signed-off-by: Max Krummenacher Signed-off-by: Marcel Ziswiler --- board/toradex/verdin-imx8mm/verdin-imx8mm.c | 13 + 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/board

Re: [PATCH v1 1/7] imx: mkimage_fit_atf: fix legacy image generation

2021-08-22 Thread Marcel Ziswiler
Hi Andrey Long time no see (;-p). On Sun, 2021-08-22 at 10:07 +, ZHIZHIKIN Andrey wrote: > Hello Marcel, > > > -Original Message- > > From: U-Boot On Behalf Of Marcel Ziswiler > > Sent: Friday, August 20, 2021 10:52 PM > > To: u-boot@lists.denx.de

Re: [PATCH v1 5/7] verdin-imx8mm: switch to use binman to pack images

2021-08-23 Thread Marcel Ziswiler
Hi Heiko On Mon, 2021-08-23 at 08:37 +0200, Heiko Thiery wrote: > Hi Marcel, > > Am Fr., 20. Aug. 2021 um 22:52 Uhr schrieb Marcel Ziswiler > : > > > > From: Marcel Ziswiler > > > > Use binman to pack images. > > > > Signed-off-by: Marcel

Re: [PATCH v1 5/7] verdin-imx8mm: switch to use binman to pack images

2021-08-23 Thread Marcel Ziswiler
Hi Heiko On Mon, 2021-08-23 at 08:37 +0200, Heiko Thiery wrote: > ... > > diff --git a/board/toradex/verdin-imx8mm/imximage.cfg > > b/board/toradex/verdin-imx8mm/imximage.cfg > > index b8b25ff4201..9bd60e39fb5 100644 > > --- a/board/toradex/verdin-imx8mm/imximage.cfg > > +++ b/board/toradex/verd

Re: [PATCH v3 1/2] imx8mm-evk: Generate a single bootable flash.bin again

2021-08-23 Thread Marcel Ziswiler
te a monolithic > flash.bin? Yes, I would say so. Remember, I did include this already in our latest verdin-imx8mm specific patch set together with its migration to using binman [1]. > I understand that patch 2/2 still needs to be improved, but what about > this one? Yes, I agree. Reviewed-by: Marcel Ziswiler [1] https://marc.info/?l=u-boot&m=162949278629882 > Thanks, > > Fabio Estevam Cheers Marcel

Re: [PATCH v3 1/2] imx8mm-evk: Generate a single bootable flash.bin again

2021-08-23 Thread Marcel Ziswiler
On Mon, 2021-08-23 at 13:55 +0200, Heiko Thiery wrote: > Hi Fabio, > > Am Do., 19. Aug. 2021 um 21:28 Uhr schrieb Fabio Estevam : > > > > After the conversion to binman in commit 8996e6b7c6a1 ("imx8mm_evk: switch > > to use binman to pack images"), it is necessary to flash both flash.bin and > >

Re: [PATCH v4] imx8mm-evk: Generate a single bootable flash.bin again

2021-08-23 Thread Marcel Ziswiler
o Estevam > Reviewed-by: Frieder Schrempf > Reviewed-by: Heiko Schocher > Reviewed-by: Marcel Ziswiler > --- > Changes since v3: > - Use u-boot-spl-ddr.bin in the LOADER section (Heiko) > - Dropped patch 2/2 as it needs improvements. > >  arch/arm/dts/imx8mm-e

[PATCH v2 1/9] imx8m: clean-up kconfig indentation

2021-08-23 Thread Marcel Ziswiler
From: Marcel Ziswiler Replace spurious spaces with proper tabs. Signed-off-by: Marcel Ziswiler --- (no changes since v1) arch/arm/mach-imx/imx8m/Kconfig | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/arch/arm/mach-imx/imx8m/Kconfig b/arch/arm/mach

[PATCH v2 3/9] ARM: dts: imx8mm-verdin: prepare for dek blob encapsulation

2021-08-23 Thread Marcel Ziswiler
From: Marcel Ziswiler Prepare for DEK blob encapsulation support through "dek_blob" command. On ARMv8, u-boot runs in non-secure, thus cannot encapsulate a DEK blob for encrypted boot. The DEK blob is encapsulated by OP-TEE through a trusted application call. U-boot sends and receiv

[PATCH v2 2/9] verdin-imx8mm: fix ethernet

2021-08-23 Thread Marcel Ziswiler
From: Marcel Ziswiler Turns out Microship (formerly Micrel) meanwhile integrated proper support for the DLL setup on their KSZ9131. Unfortunately, this conflicts with our previous board code doing that. Fix this by getting rid of our board code and just relying on the generic implementation

[PATCH v2 6/9] verdin-imx8mm: drop support for v1.0 hardware

2021-08-23 Thread Marcel Ziswiler
From: Max Krummenacher We drop support for Verdin iMX8M Mini V1.0B. Related-to: ELB-3551 Signed-off-by: Max Krummenacher Signed-off-by: Marcel Ziswiler --- Changes in v2: - Drop first patch ("imx: mkimage_fit_atf: fix legacy image generation") as a similar fix was already refus

[PATCH v2 0/9] board: toradex: verdin-imx8mm: target refresh

2021-08-23 Thread Marcel Ziswiler
From: Marcel Ziswiler An assortment of fixes and improvements like an Ethernet PHY configuration fix, DEK blob encapsulation preparation, migration to using binman to pack images, SLEEP_MOCI# enablement, dropping of V1.0 hardware support [1], renaming kernel image variable and using preboot for

[PATCH v2 5/9] verdin-imx8mm: enable sleep_moci output

2021-08-23 Thread Marcel Ziswiler
From: Max Krummenacher This powers some peripherals on the carrier board e.g. the USB hub. Related-to: ELB-3206 Signed-off-by: Max Krummenacher Signed-off-by: Marcel Ziswiler --- (no changes since v1) arch/arm/dts/imx8mm-verdin.dts | 18 ++ configs/verdin-imx8mm_defconfig

[PATCH v2 4/9] verdin-imx8mm: switch to use binman to pack images

2021-08-23 Thread Marcel Ziswiler
From: Marcel Ziswiler Use binman to pack images. Signed-off-by: Marcel Ziswiler --- Changes in v2: - Explicitly pass filename to binman when generating binaries as suggested by Heiko. - Use proper intermediate binary u-boot-spl-ddr.bin for imximage as pointed out by Heiko. arch/arm/dts

[PATCH v2 7/9] include/configs: apalis-imx8/verdin-imx8mm: rename kernel image variable

2021-08-23 Thread Marcel Ziswiler
etting kernel_image="Image" as a pre-defined u-boot variable breaks booting systems with modern versions of boot.scr, whereas renaming it fixes booting with modern scripts and does not break working of earlier versions of boot.scr. Signed-off-by: Oleksandr Suvorov Signed-off-by: Mar

[PATCH v2 9/9] verdin-imx8mm: fix watchdog pinctrl issue

2021-08-23 Thread Marcel Ziswiler
From: Marcel Ziswiler Finally, found the root cause of the issue already once mentioned back here [2] which caused the following error message during boot: imx_wdt watchdog@3028: pinctrl_select_state_full: uclass_get_device_by_phandle_id: err=-19 Turns out while the watchdog node itself

[PATCH v2 8/9] verdin-imx8mm: use preboot for fdtfile evaluation

2021-08-23 Thread Marcel Ziswiler
mode without manual setting fdtfile value, as it it's already evaluated before entering interactive mode. Signed-off-by: Igor Opaniuk Signed-off-by: Marcel Ziswiler --- Changes in v2: - New patch addressing dynamic fdtfile definition. configs/verdin-imx8mm_defconfig | 3 ++- include/co

Re: [PATCH 1/1] arm: imx8m: imx8mm-cl-iot-gate: Add support for detect memory size

2021-08-23 Thread Marcel Ziswiler
Hi Paul On Mon, 2021-08-23 at 10:49 +0800, Ying-Chun Liu wrote: > From: "Ying-Chun Liu (PaulLiu)" > > When purchasing imx8mm-cl-iot-gate it is able to customize the > memory size. It could be 1GB, 2GB and 4GB. We implement > board_phys_sdram_size() to detect the memory size for usage. > > Signe

Re: [PATCH 1/1] arm: imx8m: imx8mm-cl-iot-gate: Add support for detect memory size

2021-08-23 Thread Marcel Ziswiler
ish. > So, can we keep using the TCM data rather than do the actual testing? Sure, as stated above, I won't stay in your way. Just thought it worth pitching a more generic way of going about RAM sizing. > Yours, > Paul Cheers Marcel > On Mon, Aug 23, 2021 at 11:14 PM Marc

Re: [PATCH v2 4/9] verdin-imx8mm: switch to use binman to pack images

2021-08-25 Thread Marcel Ziswiler
On Wed, 2021-08-25 at 10:41 +0200, Frieder Schrempf wrote: > On 24.08.21 18:13, Simon Glass wrote: > > ... > > This works but the naming is a little odd. You can do: > > > > 1d-imem { > >    type = "blob-ext"; > > This is copied from the existing binman config for imx8mm-evk. Before we do > suc

[PATCH v3 01/10] imx8m: clean-up kconfig indentation

2021-08-25 Thread Marcel Ziswiler
From: Marcel Ziswiler Replace spurious spaces with proper tabs. Signed-off-by: Marcel Ziswiler Reviewed-by: Fabio Estevam --- (no changes since v1) arch/arm/mach-imx/imx8m/Kconfig | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/arch/arm/mach-imx

[PATCH v3 03/10] ARM: dts: imx8mm-verdin: prepare for dek blob encapsulation

2021-08-25 Thread Marcel Ziswiler
From: Marcel Ziswiler Prepare for DEK blob encapsulation support through "dek_blob" command. On ARMv8, u-boot runs in non-secure, thus cannot encapsulate a DEK blob for encrypted boot. The DEK blob is encapsulated by OP-TEE through a trusted application call. U-boot sends and receiv

<    1   2   3   4   5   6   7   8   9   10   >