Re: [PATCH v2 2/3] doc: Complete the list of available runtime-config options

2021-08-30 Thread Marcel Ziswiler
A console >   > +rootdisk-offset (int) > +   This allows setting the 'rootdisk' environment variable, used to > select > +   the address to load the rootdisk. It is useful for systems that use > +   U-Boot to flash a device, so the scripts that do this know where to > put > +   the root disk to be flashed. > + >  silent-console (int) > If present and non-zero, the console is silenced by default on boot. Reviewed-by: Marcel Ziswiler

Re: [PATCH v2 1/3] doc: Tidy up the bindings for the config/ node

2021-08-30 Thread Marcel Ziswiler
on boot. > + > +u-boot,spl-payload-offset (int) > If present (and SPL is controlled by the device-tree), this allows > to override the CONFIG_SYS_SPI_U_BOOT_OFFS setting using a value > from the device-tree. >   > -sysreset-gpio > +sysreset-gpio (string) > If present (and supported by the specific board), indicates a > GPIO that can be set to trigger a system reset.  It is assumed > that such a system reset will effect a complete platform reset, Reviewed-by: Marcel Ziswiler

Re: [RFC PATCH v1 2/5] arm64: dts: imx8mm: add common -binman.dtsi

2021-08-28 Thread Marcel Ziswiler
ng over just having separate imx8mm-u-boot.dtsi and imx8mp-u- boot.dtsi files. On the other hand, I also don't see that anything would stop us from still going down that route of further combining imx8mm and imx8mp stuff in the future should we really want to. > Tim Cheers Marcel

Re: [RFC PATCH v1 2/5] arm64: dts: imx8mm: add common -binman.dtsi

2021-08-27 Thread Marcel Ziswiler
Hi Teresa On Fri, 2021-08-27 at 09:21 +, Teresa Remmet wrote: > Hello Marcel, > > Am Donnerstag, den 26.08.2021, 14:14 +0200 schrieb Marcel Ziswiler: > > From: Marcel Ziswiler > > > > With the move to using binman to generate SPL aka u-boot-spl-ddr.bin >

Re: [RFC PATCH v1 2/5] arm64: dts: imx8mm: add common -binman.dtsi

2021-08-26 Thread Marcel Ziswiler
Hi Tim On Thu, 2021-08-26 at 07:57 -0700, Tim Harvey wrote: > ... > Marcel, > > This would break imx8mm-venice. Sure, that's why I made it an RFC. I was just missing some context. > The of-list, @fdt-SEQ and @config-SEQ are required to support > automatic generation of fd

[RFC PATCH v1 2/5] arm64: dts: imx8mm: add common -binman.dtsi

2021-08-26 Thread Marcel Ziswiler
From: Marcel Ziswiler With the move to using binman to generate SPL aka u-boot-spl-ddr.bin and U-Boot proper aka u-boot.itb every board now covers such configuration in its own U-Boot specific device tree include. Introduce a new common imx8mm-binman.dtsi which covers the common part

[RFC PATCH v1 5/5] arm64: dts: imx8mm-binman.dtsi: improve odd blob-ext naming

2021-08-26 Thread Marcel Ziswiler
From: Marcel Ziswiler Rather than using odd implicit blob-ext naming, explicitly specify the type to be of blob-ext and therefore also simplify the node naming. Signed-off-by: Marcel Ziswiler --- Changes in v1: - This was suggested by Simon on my earlier patch set upon which we decided

[RFC PATCH v1 3/5] arm64: dts: imx8mm-binman.dtsi: alphabetically re-order properties

2021-08-26 Thread Marcel Ziswiler
From: Marcel Ziswiler Alphabetically re-order properties. Signed-off-by: Marcel Ziswiler --- arch/arm/dts/imx8mm-binman.dtsi | 30 +++--- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/arch/arm/dts/imx8mm-binman.dtsi b/arch/arm/dts/imx8mm-binman.dtsi

[RFC PATCH v1 4/5] arm64: dts: imx8mm-binman.dtsi: explicitly add spl filename

2021-08-26 Thread Marcel Ziswiler
From: Marcel Ziswiler Explicitly add SPL aka u-boot-spl.bin filename. Signed-off-by: Marcel Ziswiler --- arch/arm/dts/imx8mm-binman.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/dts/imx8mm-binman.dtsi b/arch/arm/dts/imx8mm-binman.dtsi index b7ab8d19934..1d2895d8970 100644

[RFC PATCH v1 0/5] arm64: dts: imx8mm: add common -binman.dtsi and further clean-up

2021-08-26 Thread Marcel Ziswiler
From: Marcel Ziswiler With the move to using binman to generate SPL aka u-boot-spl-ddr.bin and U-Boot proper aka u-boot.itb every board now covers such configuration in its own U-Boot specific device tree include. Introduce a new common imx8mm-binman.dtsi which covers the common part

[RFC PATCH v1 1/5] imx8mm-cl-iot-gate: fix imximage intermediate binary naming

2021-08-26 Thread Marcel Ziswiler
From: Marcel Ziswiler This fixes the following build time issue: ... BINMAN all binman: Error 1 running 'mkimage -d ./mkimage.spl.mkimage -n spl/u-boot-spl.cfgout -T imx8mimage -e 0x7e1000 ./mkimage-out.spl.mkimage': mkimage.flash.mkimage: Can't open: No such file or directory make

[PATCH v3 08/10] include/configs: apalis-imx8/verdin-imx8mm: rename kernel image variable

2021-08-25 Thread Marcel Ziswiler
;. Setting 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 v3 10/10] verdin-imx8mm: fix watchdog pinctrl issue

2021-08-25 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 v3 09/10] verdin-imx8mm: use preboot for fdtfile evaluation

2021-08-25 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 Reviewed-by: Fabio Estevam --- (no changes since v2) Changes in v2: - New patch addressing dynamic fdtfile definition. configs

[PATCH v3 07/10] verdin-imx8mm: drop support for v1.0 hardware

2021-08-25 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 Reviewed-by: Fabio Estevam --- Changes in v3: - Add Fabio's reviewed-by tag. Changes in v2: - Drop first patch ("imx: mkimage_fi

[PATCH v3 04/10] verdin-imx8mm: switch to use binman to pack images

2021-08-25 Thread Marcel Ziswiler
From: Marcel Ziswiler Use binman to pack images. Signed-off-by: Marcel Ziswiler Reviewed-by: Heiko Thiery Reviewed-by: Fabio Estevam --- Changes in v3: - Case fold hex string. - Revert binman part of imx8mm-verdin-u-boot.dtsi to a plain copy from imx8mm-evk and postpone further

[PATCH v3 06/10] verdin-imx8mm: clean-up include order

2021-08-25 Thread Marcel Ziswiler
From: Marcel Ziswiler Alphabetically order includes. While at it also update copyright year resp. period. Signed-off-by: Marcel Ziswiler --- Changes in v3: - New patch cleaning up include order. board/toradex/verdin-imx8mm/verdin-imx8mm.c | 4 ++-- 1 file changed, 2 insertions(+), 2

[PATCH v3 00/10] board: toradex: verdin-imx8mm: target refresh

2021-08-25 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, using preboot

[PATCH v3 02/10] verdin-imx8mm: fix ethernet

2021-08-25 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 v3 05/10] verdin-imx8mm: enable sleep_moci output

2021-08-25 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 Reviewed-by: Fabio Estevam --- (no changes since v1) arch/arm/dts/imx8mm-verdin.dts | 18

[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

[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

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 >

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 Tue, 2021-08-24 at 04:04 +0800, PaulLiu wrote: > Hi Marcel, > > Thanks for the comment. > But isn't it more straightforward to use TCM data? It was not quite clear to me what you were talking about. So I had a quick look at CompuLab's implementation of all this. Let us h

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

2021-08-23 Thread Marcel Ziswiler
00 > -#define PHYS_SDRAM_SIZE0x8000 /* 2GB DDR */ > +#define PHYS_SDRAM_SIZE0x4000 /* 1GB DDR */ In our implementation we use PHYS_SDRAM_SIZE as the upper limit which get_ram_size() then actually tests for. >  #define CONFIG_MXC_UART_BASE   UART3_BASE_ADDR [1] https://marc.info/?l=u-boot=160387919927218 Cheers Marcel

[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/configs

[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 7/9] include/configs: apalis-imx8/verdin-imx8mm: rename kernel image variable

2021-08-23 Thread Marcel Ziswiler
;. Setting 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 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 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 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

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

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

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 v3 1/2] imx8mm-evk: Generate a single bootable flash.bin again

2021-08-23 Thread Marcel Ziswiler
Hi Fabio On Mon, 2021-08-23 at 08:27 -0300, Fabio Estevam wrote: > Hi Heiko Thiery and Marcel, > > On 19/08/2021 16:28, Fabio Estevam wrote: > > > diff --git a/arch/arm/dts/imx8mm-evk-u-boot.dtsi > > b/arch/arm/dts/imx8mm-evk-u-boot.dtsi > > index f200afac9f..75

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

2021-08-23 Thread Marcel Ziswiler
binman temporary files. Unfortunately, that does not seem to work: binman: Error 1 running 'mkimage -d ./mkimage.spl.mkimage -n spl/u-boot-spl.cfgout -T imx8mimage -e 0x7e1000 ./mkimage-out.spl.mkimage': spl.bin: Can't open: No such file or directory Thinking about it, I guess, it is a chicken/egg problem. As it is that step of binman which actually creates spl.bin from this mkimage.spl.mkimage intermediate artifact, not? Cheers 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: > 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 1/7] imx: mkimage_fit_atf: fix legacy image generation

2021-08-23 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

[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

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

[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

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=162940109314578 > > > > Peng Fan has sent a patch fixing this: > >

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

2021-08-20 Thread Marcel Ziswiler
t;   > > +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_EXISTS),0) > > -   

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 

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

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

2021-08-19 Thread Marcel Ziswiler
patch is against commit 78e786decb6c8 in mainline U-Boot. > > Are you able to reproduce the build error on imx8mm-evk too? Yes, once one does hand clean them old artifacts. > Thanks Cheers Marcel

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 v3 2/9] arm: dts: imx8mp: Add common u-boot dtsi

2021-08-18 Thread Marcel Ziswiler
sition them all to a common approach, not? > Let me try to send a proposal for imx8mm-evk first. If it gets > accepted, then I can try to make a common approach. Yes, that's kinda what I was thinking. Thanks! > Regards, > > Fabio Estevam Cheers Marcel

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&

[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 --- arch/arm/dts

[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 4/5] colibri-imx6ull: imximage.cfg: integrate new 1GiB RAM variant

2021-08-16 Thread Marcel Ziswiler
for 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 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 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 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

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

2021-08-11 Thread Marcel Ziswiler
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 > Cc: Stefano Babi

[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 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.r

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 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] colibri_imx6: add board_fit_config_name_match to support FIT in SPL

2021-05-31 Thread Marcel Ziswiler
default. Thanks! BTW: Do you always send your patches twice? I don't think that is required. Cheers Marcel > Signed-off-by: Ming Liu > --- >  board/toradex/colibri_imx6/colibri_imx6.c | 10 ++ >  1 file changed, 10 insertions(+) > > diff --git a/board/toradex/colibri_imx6

Re: [PATCH 19/19] ARM: imx8m: verdin-imx8mm: Enable USB Host support

2021-04-08 Thread Marcel Ziswiler
tchdog@3028: pinctrl_select_state_full: uclass_get_device_by_phandle_id: err=-19 Anyway, the USB host stuff this patch is about works perfectly. Thanks! Cheers Marcel On Fri, 2021-04-02 at 14:48 +0200, Marek Vasut wrote: > Enable USB host support on MX8MM Verdin. > > Signed-off-

Re: [PATCH v1 1/9] toradex: tdx-cfg-clock: add new i.mx 8m mini/plus skus

2020-10-29 Thread Marcel Ziswiler
... On Wed, 2020-10-28 at 11:58 +0200, Igor Opaniuk wrote: > From: Marcel Ziswiler > > Add new i.MX 8M Mini/Plus SKUs to ConfigBlock handling: > > 0058: Verdin iMX8M Plus Quad 4GB Wi-Fi / BT IT > > 0059: Verdin iMX8M Mini Quad 2GB IT > > 0060: Verdin iMX8M Mini D

Re: [PATCH v1 6/9] verdin-imx8mm: implement hardware version detection

2020-10-29 Thread Marcel Ziswiler
Krummenacher Acked-by: Marcel Ziswiler > --- > >  board/toradex/verdin-imx8mm/verdin-imx8mm.c | 71 + >  1 file changed, 71 insertions(+) > > diff --git a/board/toradex/verdin-imx8mm/verdin-imx8mm.c > b/board/toradex/verdin-imx8mm/verdin-imx8mm.c > inde

Re: [PATCH v1 7/9] verdin-imx8mm: spl: enable pca9450 i2c level translator

2020-10-29 Thread Marcel Ziswiler
On Wed, 2020-10-28 at 11:58 +0200, Igor Opaniuk wrote: > From: Max Krummenacher > > Enable PCA9450 i2c level translator, as this is used for the > on module ADC. > > Signed-off-by: Max Krummenacher Acked-by: Marcel Ziswiler > --- > >  board/toradex/verdin-im

Re: [PATCH v1 5/9] verdin-imx8mm: spl: switch to pca9450 pmic

2020-10-29 Thread Marcel Ziswiler
iour. > > Signed-off-by: Max Krummenacher > Signed-off-by: Igor Opaniuk Acked-by: Marcel Ziswiler > --- > >  board/toradex/verdin-imx8mm/spl.c | 42 +++ >  configs/verdin-imx8mm_defconfig   |  2 +- >  2 files changed, 21 insertions(+), 23 deleti

Re: [PATCH v1 4/9] ARM: dts: imx8mm-verdin: follow changed pmic

2020-10-29 Thread Marcel Ziswiler
rail. > > Signed-off-by: Max Krummenacher > Signed-off-by: Igor Opaniuk Acked-by: Marcel Ziswiler > --- > >  arch/arm/dts/imx8mm-verdin-u-boot.dtsi |   5 +- >  arch/arm/dts/imx8mm-verdin.dts | 154 + >  2 files changed, 80 insertions(

[PATCH v3 0/7] board: toradex: prepare and add Verdin iMX8M Mini support

2020-01-28 Thread Marcel Ziswiler
oradex: verdin-imx8mm: add README board: toradex: verdin-imx8mm: add MAINTAINERS Marcel Ziswiler (4): arm: dts: imx8mm-pinfunc: sync latest linux-next pin func header toradex: tdx-cfg-block: add Apalis iMX8X support toradex: tdx-cfg-block: add Verdin iMX8M Mini/Nano support imx: imx8

[PATCH v3 7/7] imx: imx8mm_evk: spelling in readme file

2020-01-28 Thread Marcel Ziswiler
From: Marcel Ziswiler Minor spelling fix in README file. Signed-off-by: Marcel Ziswiler Reviewed-by: Oleksandr Suvorov --- Changes in v3: - Add Oleksandr's reviewed-by tags. Changes in v2: None board/freescale/imx8mm_evk/README | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[PATCH v3 4/7] board: toradex: Add Verdin iMX8M Mini support

2020-01-28 Thread Marcel Ziswiler
oradex Verdin iMX8M Mini Quad 2GB Wi-Fi / BT IT V1.0A, Serial# 06535149 Net: eth0: ethernet@30be Hit any key to stop autoboot: 0 Verdin iMX8MM # Signed-off-by: Igor Opaniuk Signed-off-by: Max Krummenacher Signed-off-by: Marcel Ziswiler --- Changes in v3: - Drop AG resp. Inc. in copyright n

[PATCH v3 5/7] board: toradex: verdin-imx8mm: add README

2020-01-28 Thread Marcel Ziswiler
From: Igor Opaniuk Add README with build steps for U-boot and TF-A for Verdin iMX8M Mini SoM. Signed-off-by: Igor Opaniuk Signed-off-by: Marcel Ziswiler Reviewed-by: Oleksandr Suvorov --- Changes in v3: - Add Oleksandr's reviewed-by tags. Changes in v2: None board/toradex/verdin-imx8mm

[PATCH v3 1/7] arm: dts: imx8mm-pinfunc: sync latest linux-next pin func header

2020-01-28 Thread Marcel Ziswiler
From: Marcel Ziswiler Synchronise with latest linux-next kernel pin func header file. Signed-off-by: Marcel Ziswiler --- Changes in v3: - Drop pinfunc patches and just sync with linux-next as suggested by Fabio, Frieder and Oleksandr. Changes in v2: None arch/arm/dts/imx8mm-pinfunc.h

[PATCH v3 2/7] toradex: tdx-cfg-block: add Apalis iMX8X support

2020-01-28 Thread Marcel Ziswiler
From: Marcel Ziswiler Add support for storing configuration for Apalis iMX8X SoM in Toradex config block. Signed-off-by: Marcel Ziswiler Reviewed-by: Oleksandr Suvorov --- Changes in v3: - Drop AG resp. Inc. in copyright notices as adviced by our legal. - Add Oleksandr's reviewed-by tags

[PATCH v3 3/7] toradex: tdx-cfg-block: add Verdin iMX8M Mini/Nano support

2020-01-28 Thread Marcel Ziswiler
From: Marcel Ziswiler Add support for storing configuration for Verdin iMX8M Mini and Nano SoMs in Toradex config block. Signed-off-by: Marcel Ziswiler Signed-off-by: Igor Opaniuk Reviewed-by: Oleksandr Suvorov --- Changes in v3: - Add missing config block information for Verdin iMX8M Nano

[PATCH v3 6/7] board: toradex: verdin-imx8mm: add MAINTAINERS

2020-01-28 Thread Marcel Ziswiler
From: Igor Opaniuk Assign Igor Opaniuk as a board maintainer. Signed-off-by: Igor Opaniuk Signed-off-by: Marcel Ziswiler Reviewed-by: Oleksandr Suvorov --- Changes in v3: - Add Oleksandr's reviewed-by tags. Changes in v2: - Update cover letter with updated SKU naming and few

Re: [PATCH v2 5/8] board: toradex: Add Verdin iMX8M Mini support

2020-01-28 Thread Marcel Ziswiler
Hi Oleksandr On Mon, 2020-01-27 at 14:04 +, Oleksandr Suvorov wrote: > On Sun, Jan 26, 2020 at 5:57 AM Marcel Ziswiler > wrote: > > From: Igor Opaniuk > > > > This adds initial minimal support for the Toradex Verdin iMX8M Mini > > Quad > > 2GB WB IT

Re: [PATCH v2 2/8] dt-bindings: pinctrl: imx8mm: add alternative uart muxings

2020-01-28 Thread Marcel Ziswiler
Hi Frieder On Mon, 2020-01-27 at 09:10 +, Schrempf Frieder wrote: > Hi, > > On 26.01.20 04:55, Marcel Ziswiler wrote: > > From: Max Krummenacher > > > > Add alternative UART muxing defines. > > > > Signed-off-by: Max Krummenacher > > Pa

Re: [REGRESSION] [PATCH] common: add blkcache init

2020-01-27 Thread Marcel Ziswiler
Hi Angelo On Mon, 2020-01-27 at 08:57 +0100, Angelo Dureghello wrote: > Hi Marcel, > > thanks for reporting, > the fix should be already in master, please let me know if it works > on > your hardware. Yes, that works. Thanks! > Regards, > Angleo Cheers Marcel > O

[REGRESSION] [PATCH] common: add blkcache init

2020-01-26 Thread Marcel Ziswiler
02000f00 x20: bffec258 x21: bffcca10 x22: 01e002000f00 x23: 0006 x24: x25: 0000 x26: x27: x28: x29: bdf4edc0 Code: b9400aa0 51000400 b9000aa0 aa1603f3 (f94002d6) Resetting CPU ... resetting ... Reverting just this patch makes it boot fine again. Cheers Marcel

Re: [PATCH v1 3/5] board: toradex: add Verdin iMX8MM 2GB WB IT v1.0a

2020-01-26 Thread Marcel Ziswiler
Model: Toradex Verdin iMX8M Mini 2GB Wi-Fi / BT IT V1.0A, Serial# > 06535148 > Net: Could not get PHY for FEC0: addr 7 > eth0: ethernet@30be0000 > Hit any key to stop autoboot: 0 > > Signed-off-by: Igor Opaniuk > Signed-off-by: Max Krummenacher > Signed-off-by: Marcel

[PATCH v2 0/8] board: toradex: prepare and add Verdin iMX8M Mini support

2020-01-25 Thread Marcel Ziswiler
paniuk (3): board: toradex: Add Verdin iMX8M Mini support board: toradex: verdin-imx8mm: add README board: toradex: verdin-imx8mm: add MAINTAINERS Marcel Ziswiler (3): toradex: tdx-cfg-block: add Apalis iMX8X support toradex: tdx-cfg-block: add Verdin iMX8M Mini support imx: imx8

[PATCH v2 7/8] board: toradex: verdin-imx8mm: add MAINTAINERS

2020-01-25 Thread Marcel Ziswiler
From: Igor Opaniuk Assign Igor Opaniuk as a board maintainer. Signed-off-by: Igor Opaniuk Signed-off-by: Marcel Ziswiler --- Changes in v2: - Update cover letter with updated SKU naming and few clarifications. board/toradex/verdin-imx8mm/MAINTAINERS | 9 + 1 file changed, 9

[PATCH v2 1/8] dt-bindings: pinctrl: imx8mm: Update head file

2020-01-25 Thread Marcel Ziswiler
From: Anson Huang Update i.MX8MM pinctrl head file according to reference manual Rev.1, 03/2019. Signed-off-by: Anson Huang Reviewed-by: Jacky Bai (cherry picked from downstream imx_4.14.98_2.2.0 MLK-22265 commit e6c2f6322962bebdc2f7ede05b0b7e73bf90faef) Signed-off-by: Marcel Ziswiler

[PATCH v2 8/8] imx: imx8mm_evk: spelling in readme file

2020-01-25 Thread Marcel Ziswiler
From: Marcel Ziswiler Minor spelling fix in README file. Signed-off-by: Marcel Ziswiler --- Changes in v2: None board/freescale/imx8mm_evk/README | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/freescale/imx8mm_evk/README b/board/freescale/imx8mm_evk/README index

[PATCH v2 5/8] board: toradex: Add Verdin iMX8M Mini support

2020-01-25 Thread Marcel Ziswiler
oradex Verdin iMX8M Mini Quad 2GB Wi-Fi / BT IT V1.0A, Serial# 06535149 Net: eth0: ethernet@30be Hit any key to stop autoboot: 0 Verdin iMX8MM # Signed-off-by: Igor Opaniuk Signed-off-by: Max Krummenacher Signed-off-by: Marcel Ziswiler --- Changes in v2: - Further clean-up as ann

[PATCH v2 6/8] board: toradex: verdin-imx8mm: add README

2020-01-25 Thread Marcel Ziswiler
From: Igor Opaniuk Add README with build steps for U-boot and TF-A for Verdin iMX8M Mini SoM. Signed-off-by: Igor Opaniuk Signed-off-by: Marcel Ziswiler --- Changes in v2: None board/toradex/verdin-imx8mm/README | 88 ++ 1 file changed, 88 insertions(+) create

[PATCH v2 3/8] toradex: tdx-cfg-block: add Apalis iMX8X support

2020-01-25 Thread Marcel Ziswiler
From: Marcel Ziswiler Add support for storing configuration for Apalis iMX8X SoM in Toradex config block. Signed-off-by: Marcel Ziswiler --- Changes in v2: - Newly added this patch to the series splitting Verdin one as suggested by Oleksandr. board/toradex/common/tdx-cfg-block.c | 17

[PATCH v2 2/8] dt-bindings: pinctrl: imx8mm: add alternative uart muxings

2020-01-25 Thread Marcel Ziswiler
From: Max Krummenacher Add alternative UART muxing defines. Signed-off-by: Max Krummenacher --- Changes in v2: - Fixed some copy-paste errors. arch/arm/dts/imx8mm-pinfunc.h | 16 1 file changed, 16 insertions(+) diff --git a/arch/arm/dts/imx8mm-pinfunc.h

[PATCH v2 4/8] toradex: tdx-cfg-block: add Verdin iMX8M Mini support

2020-01-25 Thread Marcel Ziswiler
From: Marcel Ziswiler Add support for storing configuration for Verdin iMX8M Mini SoM in Toradex config block. Signed-off-by: Marcel Ziswiler Signed-off-by: Igor Opaniuk --- Changes in v2: - Split Apalis iMX8X off from this one as suggested by Oleksandr. board/toradex/common/tdx-cfg

Re: [PATCH v1 5/5] board: toradex: verdin-imx8mm: add MAINTAINERS

2020-01-25 Thread Marcel Ziswiler
; +F: arch/arm/dts/imx8mm-verdin.dts > +F: arch/arm/dts/imx8mm-verdin-u-boot.dtsi > +F: board/toradex/verdin-imx8mm/ > +F: configs/verdin-imx8mm_defconfig > +F: include/configs/verdin-imx8mm.h Cheers Marcel

Re: [PATCH v1 4/5] board: toradex: verdin-imx8mm: add README

2020-01-25 Thread Marcel Ziswiler
sip svc init > + > + > +U-Boot 2020.01-01840-gd92bdc79cf-dirty (Jan 22 2020 - 18:50:57 > +0200) > + > +CPU: Freescale i.MX8MMQ rev1.0 at 0 MHz > +Reset cause: POR > +DRAM: 2 GiB > +MMC: FSL_SDHC: 0, FSL_SDHC: 1 > +Loading Environment from MMC... OK > +In:serial > +Out: serial > +Err: serial > +Model: Toradex Verdin iMX8M Mini 2GB Wi-Fi / BT IT V1.0A, Serial# > 06535148 > +Net: Could not get PHY for FEC0: addr 7 > +eth0: ethernet@30be > +Hit any key to stop autoboot: 0 Cheers Marcel

Re: [PATCH v1 2/5] toradex: tdx-cfg-block: add Verdin i.MX8MM support

2020-01-25 Thread Marcel Ziswiler
Hi Igor and Oleksandr On Thu, 2020-01-23 at 11:41 +, Oleksandr Suvorov wrote: > On Thu, Jan 23, 2020 at 1:32 PM Igor Opaniuk > wrote: > > From: Marcel Ziswiler > > > > Add support for storing configuration for Verdin i.MX8MM SoM > > in Toradex config block.

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