Re: [PATCH] ARM: dts: imx8mq-kontron-pitx-imx8m: Remove off-on-delay-us property

2022-10-25 Thread Heiko Thiery
Hi Michael, Am Di., 25. Okt. 2022 um 08:46 Uhr schrieb Michael Nazzareno Trimarchi : > > Hi Heiko > > On Tue, Oct 25, 2022 at 8:43 AM Heiko Thiery wrote: > > > > Hi Peng, > > > > Am Di., 25. Okt. 2022 um 07:18 Uhr schrieb Peng Fan : > > > > >

Re: [PATCH] ARM: dts: imx8mq-kontron-pitx-imx8m: Remove off-on-delay-us property

2022-10-25 Thread Heiko Thiery
Hi Peng, Am Di., 25. Okt. 2022 um 07:18 Uhr schrieb Peng Fan : > > > > On 10/24/2022 7:25 PM, Heiko Thiery wrote: > > U-Boot is not able to store the environment variables in the SD card. > > > > Remove the off-on-delay-us property to fix the regression. > > of

Re: [PATCH] ARM: dts: imx8mq-kontron-pitx-imx8m: Remove off-on-delay-us property

2022-10-24 Thread Heiko Thiery
Hi, Am Mo., 24. Okt. 2022 um 13:31 Uhr schrieb Fabio Estevam : > > Hi Heiko, > > On Mon, Oct 24, 2022 at 8:25 AM Heiko Thiery wrote: > > > > U-Boot is not able to store the environment variables in the SD card. > > > > Remove the off-on-delay-us property to fi

[PATCH] ARM: dts: imx8mq-kontron-pitx-imx8m: Remove off-on-delay-us property

2022-10-24 Thread Heiko Thiery
U-Boot is not able to store the environment variables in the SD card. Remove the off-on-delay-us property to fix the regression. Signed-off-by: Heiko Thiery --- The same change is done in the linux dts file. arch/arm/dts/imx8mq-kontron-pitx-imx8m.dts | 1 - 1 file changed, 1 deletion(-) diff

Re: [PATCH V2] Kconfig: enlarge CONFIG_SYS_MALLOC_F_LEN

2022-09-17 Thread Heiko Thiery
e > CONFIG_SPL_SYS_MALLOC_F_LEN as 0x2000. > > Reported-by: Heiko Thiery > Signed-off-by: Peng Fan > --- > > V2: > set for all i.MX8MQ > > Kconfig | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/Kconfig b/Kconfig > index 991b260182e.

Re: [PATCH V2] Kconfig: enlarge CONFIG_SYS_MALLOC_F_LEN

2022-09-14 Thread Heiko Thiery
CONFIG_DEBUG_UART_BASE=0x3088 # for serial3 > CONFIG_DEBUG_UART_CLOCK=2400 > > imx8mqevk: > CONFIG_DEBUG_UART_BASE=0x3086 # for uart1 > CONFIG_DEBUG_UART_CLOCK=2400 > > It is because CONFIG_SYS_MALLOC_F_LEN is too small and still leave > CONFIG_SPL

Re: [PATCH] imx8mq_evk: enlarge SYS_MALLOC_F_LEN

2022-09-14 Thread Heiko Thiery
Hi, Am Mi., 14. Sept. 2022 um 13:34 Uhr schrieb Fabio Estevam : > > On Wed, Sep 14, 2022 at 1:12 AM Heiko Thiery wrote: > > > When changing these values on the kontron_pitx_imx8m_defconfig this > > board also works again. > > Maybe it could be a good idea to change

[PATCH] kontron_pitx_imx8m: enlarge SYS_MALLOC_F_LEN

2022-09-14 Thread Heiko Thiery
_SPL_STACK to 0x188000 to not waste the top 16bytes. Signed-off-by: Heiko Thiery --- configs/kontron_pitx_imx8m_defconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configs/kontron_pitx_imx8m_defconfig b/configs/kontron_pitx_imx8m_defconfig index 284aa6d6b8..a57b5cf

Re: [PATCH] imx8mq_evk: enlarge SYS_MALLOC_F_LEN

2022-09-14 Thread Heiko Thiery
Hi, Am Mi., 14. Sept. 2022 um 06:12 Uhr schrieb Heiko Thiery : > > Hi, > > Am Mi., 14. Sept. 2022 um 03:38 Uhr schrieb Peng Fan (OSS) > : > > > > From: Peng Fan > > > > There is "alloc space exhausted" with DEBUG_UART enabled with the > > o

Re: [PATCH] imx8mq_evk: enlarge SYS_MALLOC_F_LEN

2022-09-13 Thread Heiko Thiery
all imx8mq boards. > > Reported-by: Heiko Thiery > Signed-off-by: Peng Fan Tested-by: Heiko Thiery > --- > configs/imx8mq_evk_defconfig | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/configs/imx8mq_evk_defconfig b/configs/imx8mq_ev

Re: imx8mq allocation issue

2022-09-13 Thread Heiko Thiery
Hi Peng, Am Di., 13. Sept. 2022 um 09:00 Uhr schrieb Peng Fan : > > > > On 9/12/2022 3:48 PM, Heiko Thiery wrote: > > Hi Peng, > > > > Am Mo., 12. Sept. 2022 um 09:26 Uhr schrieb Peng Fan : > >> > >> > >> > >> On 9/9/2022 5:12 P

Re: imx8mq allocation issue

2022-09-12 Thread Heiko Thiery
Hi Peng, Am Mo., 12. Sept. 2022 um 09:26 Uhr schrieb Peng Fan : > > > > On 9/9/2022 5:12 PM, Heiko Thiery wrote: > > HI, > > > > I think on the imx8mq platform we have a problem with the introduction > > of the clock driver. I tried to debug the problem that t

Re: imx8mq allocation issue

2022-09-10 Thread Heiko Thiery
Hi Angus, Am Fr., 9. Sept. 2022 um 18:38 Uhr schrieb Angus Ainslie : > > Hi Heiko, > > On 2022-09-09 07:45, Heiko Thiery wrote: > > Hi Angus, > > > > Am Fr., 9. Sept. 2022 um 16:43 Uhr schrieb Angus Ainslie > > : > >> > >> Hi Heiko, > &g

Re: imx8mq allocation issue

2022-09-09 Thread Heiko Thiery
IZE=0x25000 The imx8mq_evk board boots also but when enabling the DEBUG_UART the output shown in my previous mail is seen. Could you also try to enable the DEBUG UART please? -- Heiko > Cheers, > Angus > > [1] > https://lore.kernel.org/u-boot/20220825134602.382775-1-an...@akkea

imx8mq allocation issue

2022-09-09 Thread Heiko Thiery
HI, I think on the imx8mq platform we have a problem with the introduction of the clock driver. I tried to debug the problem that the pitx-imx8m board was not able to start for some time. I was wondering why the pitx-im8m doesn't work anymore although the imx8mq_evk is running. So I switched to

Re: [PATCH v1 25/26] imx8mq: synchronise device tree with linux

2022-09-06 Thread Heiko Thiery
Hi Marcel, Am Di., 6. Sept. 2022 um 16:05 Uhr schrieb Marcel Ziswiler : > > Hi Heiko > > On Tue, 2022-09-06 at 14:36 +0200, Heiko Thiery wrote: > > Hi Marcel and all, > > > > > > Am Do., 21. Juli 2022 um 15:48 Uhr schrieb Marcel Ziswiler >

Re: [PATCH v1 25/26] imx8mq: synchronise device tree with linux

2022-09-06 Thread Heiko Thiery
Hi Marcel and all, Am Do., 21. Juli 2022 um 15:48 Uhr schrieb Marcel Ziswiler : > > From: Marcel Ziswiler > > Synchronise device tree with linux v5.19-rc5. > > Signed-off-by: Marcel Ziswiler > --- > > arch/arm/dts/imx8mq-evk.dts| 65 ++- I just tried the current master on

[PATCH] kbuild: add KBUILD_HOSTLDFLAGS to cmd_host-csingle

2022-08-24 Thread Heiko Thiery
When compiling executables from a single.c file, the linker is also invoked. Pass the flags like the other linker commands. cherry-pick kbuild change from Linux: 63185b46cdb3 (kbuild: use HOSTLDFLAGS for single .c executables) Signed-off-by: Heiko Thiery --- scripts/Makefile.host | 2 +- 1

Re: [PATCH v3 1/2] tools: mkeficapsule: use pkg-config to get -luuid and -lgnutls

2022-08-06 Thread Heiko Thiery
Hi Akashi, Am Sa., 6. Aug. 2022 um 08:12 Uhr schrieb AKASHI Takahiro : > > On Thu, Aug 04, 2022 at 04:53:09PM -0400, Tom Rini wrote: > > On Wed, Jul 20, 2022 at 12:31:33PM +0200, Heiko Thiery wrote: > > > > > Instead of hardcoding -luuid -lgnutls as the flags needed

[PATCH] tools: mkeficapsule: use pkg-config for each lib separat

2022-08-06 Thread Heiko Thiery
Signed-off-by: Heiko Thiery --- As suggested by AKASHI Takahiro but unfortunatly missed for respin. Thus I do this commit afterwards. tools/Makefile | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/tools/Makefile b/tools/Makefile index 005e7362a3..3626919633 100644

Re: imx8mn eMMC boot partition

2022-08-03 Thread Heiko Thiery
HI Michael, Am Mi., 3. Aug. 2022 um 15:02 Uhr schrieb Michael Nazzareno Trimarchi : > > Hi Heiko > > On Wed, Aug 3, 2022 at 2:51 PM Heiko Thiery wrote: > > > > Hi Michael, > > > > Am Mi., 3. Aug. 2022 um 14:40 Uhr schrieb Michael Nazzareno Trimarchi > >

Re: imx8mn eMMC boot partition

2022-08-03 Thread Heiko Thiery
Hi Michael, Am Mi., 3. Aug. 2022 um 14:40 Uhr schrieb Michael Nazzareno Trimarchi : > > Hi > > On Wed, Aug 3, 2022 at 2:19 PM Heiko Thiery wrote: > > > > Hi, > > > > Does anyone have an idea where to find the definition of the offset > > used when bo

imx8mn eMMC boot partition

2022-08-03 Thread Heiko Thiery
Hi, Does anyone have an idea where to find the definition of the offset used when booting from eMMCs boot partition? I tried to write the flash.bin image to offset 32k (page 0x40) into the boot partition of the eMMC and seledted the bootpartition with "mmc partconfig 2 0 1 0". The board did not

[PATCH v3 2/2] tools: kwboot: use pkg-config to get -ltinfo

2022-07-20 Thread Heiko Thiery
Instead of hardcoding -ltinfo as the flags needed to build kwboot, use pkg-config when available. We gracefully fallback on the previous behavior of hardcoding -ltinfo if pkg-config is not available or fails with an error. Reviewed-by: Pali Rohár Signed-off-by: Heiko Thiery --- v3: - remove

[PATCH v3 1/2] tools: mkeficapsule: use pkg-config to get -luuid and -lgnutls

2022-07-20 Thread Heiko Thiery
-by: Heiko Thiery --- v3: - added reviewed-by v2: - also add cflags detection via pkg-config (Thanks Pali) tools/Makefile | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tools/Makefile b/tools/Makefile index 9f2339666a..aab06aec93 100644 --- a/tools/Makefile +++ b/tools

Re: [PATCH 2/2] tools: kwboot: use pkg-config to get -ltinfo

2022-07-20 Thread Heiko Thiery
Hi, Am Di., 19. Juli 2022 um 21:20 Uhr schrieb Pali Rohár : > > On Tuesday 19 July 2022 20:38:39 Heiko Thiery wrote: > > Instead of hardcoding -ltinfo as the flags needed to build > > kwboot, use pkg-config when available. > > > > We gracefully fallback on the p

[PATCH v2 2/2] tools: kwboot: use pkg-config to get -ltinfo

2022-07-19 Thread Heiko Thiery
Instead of hardcoding -ltinfo as the flags needed to build kwboot, use pkg-config when available. We gracefully fallback on the previous behavior of hardcoding -ltinfo if pkg-config is not available or fails with an error. Signed-off-by: Heiko Thiery --- v2: - also add cflags detection via pkg

[PATCH v2 1/2] tools: mkeficapsule: use pkg-config to get -luuid and -lgnutls

2022-07-19 Thread Heiko Thiery
Instead of hardcoding -luuid -lgnutls as the flags needed to build mkeficapsule, use pkg-config when available. We gracefully fallback on the previous behavior of hardcoding -luuid -lgnutls if pkg-config is not available or fails with an error. Signed-off-by: Heiko Thiery --- v2: - also add

Re: [PATCH 1/2] tools: mkeficapsule: use pkg-config to get -luuid and -lgnutls

2022-07-19 Thread Heiko Thiery
Hi, Am Di., 19. Juli 2022 um 20:51 Uhr schrieb Pali Rohár : > > On Tuesday 19 July 2022 20:38:37 Heiko Thiery wrote: > > Instead of hardcoding -luuid -lgnutls as the flags needed to build > > mkeficapsule, use pkg-config when available. > > > > We gracefully fal

Re: [PATCH 2/2] tools: kwboot: use pkg-config to get -ltinfo

2022-07-19 Thread Heiko Thiery
Hi, Am Di., 19. Juli 2022 um 20:52 Uhr schrieb Pali Rohár : > > On Tuesday 19 July 2022 20:38:39 Heiko Thiery wrote: > > Instead of hardcoding -ltinfo as the flags needed to build > > kwboot, use pkg-config when available. > > Interesting, I did not know that there i

[PATCH 2/2] tools: kwboot: use pkg-config to get -ltinfo

2022-07-19 Thread Heiko Thiery
Instead of hardcoding -ltinfo as the flags needed to build kwboot, use pkg-config when available. We gracefully fallback on the previous behavior of hardcoding -ltinfo if pkg-config is not available or fails with an error. Signed-off-by: Heiko Thiery --- tools/Makefile | 4 +++- 1 file changed

[PATCH 1/2] tools: mkeficapsule: use pkg-config to get -luuid and -lgnutls

2022-07-19 Thread Heiko Thiery
Instead of hardcoding -luuid -lgnutls as the flags needed to build mkeficapsule, use pkg-config when available. We gracefully fallback on the previous behavior of hardcoding -luuid -lgnutls if pkg-config is not available or fails with an error. Signed-off-by: Heiko Thiery --- tools/Makefile

Re: kontron_pitx_imx8m does not start

2022-07-18 Thread Heiko Thiery
Hi Peng, Am Di., 19. Juli 2022 um 07:17 Uhr schrieb Peng Fan : > > > > On 7/16/2022 4:31 PM, Heiko Thiery wrote: > > Hi Peng, > > > > Am Sa., 16. Juli 2022 um 10:11 Uhr schrieb Peng Fan : > >> > >> > >> > >> On 7/15/2022 8:00 PM,

Re: kontron_pitx_imx8m does not start

2022-07-16 Thread Heiko Thiery
Hi Peng, Am Sa., 16. Juli 2022 um 10:11 Uhr schrieb Peng Fan : > > > > On 7/15/2022 8:00 PM, Heiko Thiery wrote: > > HI, > > > > Am Fr., 15. Juli 2022 um 13:18 Uhr schrieb Fabio Estevam > > : > >> > >> Hi Heiko, > >>

Re: kontron_pitx_imx8m does not start

2022-07-15 Thread Heiko Thiery
Hi Marek, Am Fr., 15. Juli 2022 um 12:24 Uhr schrieb Marek Vasut : > > On 7/15/22 12:05, Heiko Thiery wrote: > > Hi Marek > > > > Am Fr., 15. Juli 2022 um 11:29 Uhr schrieb Marek Vasut : > >> > >> On 7/15/22 10:33, Heiko Thiery wrote: > >>&g

Re: kontron_pitx_imx8m does not start

2022-07-15 Thread Heiko Thiery
Hi Michael, Am Fr., 15. Juli 2022 um 12:21 Uhr schrieb Michael Nazzareno Trimarchi : > > Hi Heiko > > On Fri, Jul 15, 2022 at 12:06 PM Heiko Thiery wrote: > > > > Hi Marek > > > > Am Fr., 15. Juli 2022 um 11:29 Uhr schrieb Marek Vasut : > > &g

Re: kontron_pitx_imx8m does not start

2022-07-15 Thread Heiko Thiery
HI, Am Fr., 15. Juli 2022 um 13:18 Uhr schrieb Fabio Estevam : > > Hi Heiko, > > On Fri, Jul 15, 2022 at 5:33 AM Heiko Thiery wrote: > > > Error binding driver 'serial_mxc': -12 > > Does the attached patch help? Unfortunately not .. I think the problem is not the SPL.

Re: kontron_pitx_imx8m does not start

2022-07-15 Thread Heiko Thiery
Am Fr., 15. Juli 2022 um 13:35 Uhr schrieb Fabio Estevam : > > On Fri, Jul 15, 2022 at 8:18 AM Fabio Estevam wrote: > > > > Hi Heiko, > > > > On Fri, Jul 15, 2022 at 5:33 AM Heiko Thiery wrote: > > > > > Error binding driver 'serial_mxc': -12 > &

Re: kontron_pitx_imx8m does not start

2022-07-15 Thread Heiko Thiery
Hi Marek Am Fr., 15. Juli 2022 um 11:29 Uhr schrieb Marek Vasut : > > On 7/15/22 10:33, Heiko Thiery wrote: > > Hi, > > Hi, > > > I see since the change to CLK_IMX8MQ that the kontron_pitx_imx8m board > > does not start anymore. I have enabled the DUBUG_UART

kontron_pitx_imx8m does not start

2022-07-15 Thread Heiko Thiery
Hi, I see since the change to CLK_IMX8MQ that the kontron_pitx_imx8m board does not start anymore. I have enabled the DUBUG_UART and see the following outputs --- 8< --- U-Boot SPL 2022.07-00607-g36b661dc91-dirty (Jul 15 2022 - 09:16:08 +0200) Trying to boot from SD card clk_register: failed to

Re: [PATCH 11/14] imx: kontron-sl-mx8mm: Use the VSELECT signal to switch SD card IO voltage

2022-07-14 Thread Heiko Thiery
igh or low accordingly. > > Reported-by: Heiko Thiery > Signed-off-by: Frieder Schrempf Reviewed-by: Heiko Thiery > --- > arch/arm/dts/imx8mm-kontron-n801x-s-u-boot.dtsi | 5 - > arch/arm/dts/imx8mm-kontron-n801x-s.dts | 3 +++ > arch/arm/dts/imx8mm-kontron-n801x-so

Re: [PATCH] Kconfig: Fix SYS_MALLOC_F_LEN for i.MX8MQ

2022-07-06 Thread Heiko Thiery
Hi Peng Am Di., 5. Juli 2022 um 18:04 Uhr schrieb Tom Rini : > > On Tue, Jul 05, 2022 at 05:20:46PM +0200, Heiko Thiery wrote: > > Hi Tom, > > > > Am Di., 5. Juli 2022 um 15:35 Uhr schrieb Tom Rini : > > > > > > On Tue, Jul 05, 2022 at 12:19:54PM

Re: [PATCH] Kconfig: Fix SYS_MALLOC_F_LEN for i.MX8MQ

2022-07-05 Thread Heiko Thiery
Hi Tom, Am Di., 5. Juli 2022 um 15:35 Uhr schrieb Tom Rini : > > On Tue, Jul 05, 2022 at 12:19:54PM +0200, Heiko Thiery wrote: > > Hi all, > > > > Am Mo., 11. Apr. 2022 um 14:29 Uhr schrieb Tom Rini : > > > > > > On Mon, Apr 11, 2022 at 05:07:04PM +0800

Re: [PATCH] Kconfig: Fix SYS_MALLOC_F_LEN for i.MX8MQ

2022-07-05 Thread Heiko Thiery
Hi all, Am Mo., 11. Apr. 2022 um 14:29 Uhr schrieb Tom Rini : > > On Mon, Apr 11, 2022 at 05:07:04PM +0800, Peng Fan (OSS) wrote: > > > From: Peng Fan > > > > i.MX8MQ use SYS_MALLOC_F_LEN 0x2000, not 0x1. The OCRAM_S only has > > 32KB memory, use 0x1 will make SPL not bootable. > > > >

[PATCH 2/2] pmic: pca9450: clear PRESET_EN bit for BUCK1/2/3 voltage settings

2022-06-28 Thread Heiko Thiery
in the Linux kernel: 98b94b6e38ca0 ("regulator: pca9450: Clear PRESET_EN bit to fix BUCK1/2/3 voltage setting") Cc: Frieder Schrempf Signed-off-by: Heiko Thiery --- drivers/power/pmic/pca9450.c | 6 ++ include/power/pca9450.h | 3 +++ 2 files changed, 9 insertions(+) diff --git

[PATCH 1/2] pmic: pca9450: enable system reset on WDOG_B assertion

2022-06-28 Thread Heiko Thiery
reset on WDOG_B assertion") 2364a64d0673 ("regulator: pca9450: Make warm reset on WDOG_B assertion") Cc: Frieder Schrempf Signed-off-by: Heiko Thiery --- drivers/power/pmic/Kconfig | 4 drivers/power/pmic/pca9450.c | 15 +++ include/power/pca9450.h | 7

[PATCH 0/2] pmic: pca9450: Initialization of pmic like done in linux

2022-06-28 Thread Heiko Thiery
that has the PCA9450 implemented can be cleaned. Heiko Thiery (2): pmic: pca9450: enable system reset on WDOG_B assertion pmic: pca9450: clear PRESET_EN bit for BUCK1/2/3 voltage settings drivers/power/pmic/Kconfig | 4 drivers/power/pmic/pca9450.c | 21 + include

[PATCH v3 2/2] ARM: imx: imx8mn-evk-common-u-boot.dtsi: cleanup

2022-06-26 Thread Heiko Thiery
for multiple DTB support. Signed-off-by: Heiko Thiery --- arch/arm/dts/imx8mn-evk-common-u-boot.dtsi | 48 ++ 1 file changed, 31 insertions(+), 17 deletions(-) diff --git a/arch/arm/dts/imx8mn-evk-common-u-boot.dtsi b/arch/arm/dts/imx8mn-evk-common-u-boot.dtsi index d5ea2dcb4e

[PATCH v3 1/2] ARM: imx: imx8mn-evk: use one common u-boot.dtsi for the evk boards

2022-06-26 Thread Heiko Thiery
To have only one place to describe the common parts for all imx8mn evk boards move this parts to imx8mn-evk-common-u-boot.dtsi. To support the different DDR firmwares this nodes are included dependent on the used DDR config option. Signed-off-by: Heiko Thiery --- v3: - change name to imx8mn-evk

Re: [PATCH v2 2/2] ARM: imx: imx8mn-evk: use one common u-boot.dtsi for the evk boards

2022-06-26 Thread Heiko Thiery
Hi Alper. Am Mi., 22. Juni 2022 um 20:18 Uhr schrieb Alper Nebi Yasak : > > On 09/06/2022 23:49, Heiko Thiery wrote: > > To have only one place to describe the binman images us the > > imx8mn-u-boot.dtsi. To have support for different DDR firmwares this > > node

Re: [PATCH v2 1/2] ARM: imx: imx8mn-evk: generate a single bootable flash.bin

2022-06-26 Thread Heiko Thiery
Hi Alper Am Mi., 22. Juni 2022 um 20:18 Uhr schrieb Alper Nebi Yasak : > > On 09/06/2022 23:49, Heiko Thiery wrote: > > To have a flash.bin file that also contains the U-Boot and TF-A/ATF > > create this like already done for other imx8 boards. > > > > Signed-off-

[PATCH v2] arm: dts: imx8mn-evk: sync dts from Linux Kernel

2022-06-24 Thread Heiko Thiery
t;) commit bc046b952a5494b0dc53be28779460cee1214a3f("arm64: dts: imx8mn-evk: use proper names for PMIC outputs") Signed-off-by: Heiko Thiery --- v2: - stated the kernel version the sync was done from (thanks Fabio) - update the patch subject to clarify that changes the evk dts (thanks Tim) arch/arm/dts/imx8

Re: [PATCH] arm: dts: imx8mn: sync dts from Linux Kernel

2022-06-21 Thread Heiko Thiery
Hi, Am Di., 21. Juni 2022 um 09:03 Uhr schrieb Peng Fan (OSS) : > > > > 在 2022/6/21 1:33, Heiko Thiery 写道: > > Sync dts for imx8mn-evk with Linux Kernel and change name for PMIC used in > > SPL. > > > > commit 1cfa1e68af8d40ab233d5d27bc8446e4c5107571("arm

[PATCH] arm: dts: imx8mn: sync dts from Linux Kernel

2022-06-20 Thread Heiko Thiery
names for PMIC outputs") Signed-off-by: Heiko Thiery --- arch/arm/dts/imx8mn-evk.dts | 56 board/freescale/imx8mn_evk/spl.c | 4 +-- 2 files changed, 30 insertions(+), 30 deletions(-) diff --git a/arch/arm/dts/imx8mn-evk.dts b/arch/arm/dts/imx8mn-evk.

[PATCH] pmic: pca9450: permit config on all bucks and LDOs

2022-06-19 Thread Heiko Thiery
that describes a limitation about switching while the output is enabled can also be found there, the limitation probably comes from this type. Signed-off-by: Heiko Thiery --- drivers/power/regulator/pca9450.c | 42 ++- 1 file changed, 13 insertions(+), 29 deletions(-) diff

Re: [PATCH v3 2/2] pmic: pca9450: Add regulator driver

2022-06-19 Thread Heiko Thiery
Am So., 19. Juni 2022 um 17:16 Uhr schrieb Heiko Thiery : > > Hi Marek, > > > Am Mi., 13. Apr. 2022 um 00:40 Uhr schrieb Marek Vasut : > > > > Add PCA9450 regulator driver. This is complementary driver for the BUCKn > > and LDOn regulators provided by t

Re: [PATCH v3 2/2] pmic: pca9450: Add regulator driver

2022-06-19 Thread Heiko Thiery
Hi Marek, Am Mi., 13. Apr. 2022 um 00:40 Uhr schrieb Marek Vasut : > > Add PCA9450 regulator driver. This is complementary driver for the BUCKn > and LDOn regulators provided by the PCA9450 PMIC driver. Currently the > driver permits reading the settngs and configuring the BUCKn and LDOn >

Re: [PATCH v4] imx: add i.MX8MN DDR3L evk board support

2022-06-19 Thread Heiko Thiery
Hi, Am So., 19. Juni 2022 um 16:51 Uhr schrieb Michael Nazzareno Trimarchi : > > Hi > > Il dom 19 giu 2022, 16:47 Heiko Thiery ha scritto: >> >> Hi, >> >> Am So., 19. Juni 2022 um 16:40 Uhr schrieb Michael Nazzareno Trimarchi >> : >> > >

Re: [PATCH v4] imx: add i.MX8MN DDR3L evk board support

2022-06-19 Thread Heiko Thiery
Hi [snip] > > > >> > Maybe something like this should work. Now question is about should > > > >> > be > > > >> > done in pre-reloc or not > > > >> > > > >> It took me a little while to understand what was meant by this. In the > > > >> meantime I could > > > >> change the PMIC/Regulator

Re: [PATCH v4] imx: add i.MX8MN DDR3L evk board support

2022-06-19 Thread Heiko Thiery
Hi, Am So., 19. Juni 2022 um 16:40 Uhr schrieb Michael Nazzareno Trimarchi : > > Hi Heiko > > On Sun, Jun 19, 2022 at 8:12 AM Heiko Thiery wrote: > > > > Hi, > > > > Am So., 19. Juni 2022 um 07:59 Uhr schrieb Michael Nazzareno Trimarchi > > : > >

Re: [PATCH v4] imx: add i.MX8MN DDR3L evk board support

2022-06-19 Thread Heiko Thiery
Hi, Am So., 19. Juni 2022 um 07:59 Uhr schrieb Michael Nazzareno Trimarchi : > > Hi > > Il sab 18 giu 2022, 23:56 Heiko Thiery ha scritto: >> >> Hi Michael, Hi Marek, >> >> Am Mi., 15. Juni 2022 um 08:43 Uhr schrieb Michael Nazzareno Trimarchi >> : &

Re: [PATCH v4] imx: add i.MX8MN DDR3L evk board support

2022-06-18 Thread Heiko Thiery
Hi Michael, Hi Marek, Am Mi., 15. Juni 2022 um 08:43 Uhr schrieb Michael Nazzareno Trimarchi : > > Hi Heiko > > On Wed, Jun 15, 2022 at 8:23 AM Heiko Thiery wrote: > > > > Hi Marek, > > > > [SNIP] > > > > > > diff --git a/board/freescale/

Re: [PATCH v4] imx: add i.MX8MN DDR3L evk board support

2022-06-15 Thread Heiko Thiery
Hi Marek, [SNIP] > > diff --git a/board/freescale/imx8mn_evk/spl.c > > b/board/freescale/imx8mn_evk/spl.c > > index 14cb51368f..0d9909a662 100644 > > --- a/board/freescale/imx8mn_evk/spl.c > > +++ b/board/freescale/imx8mn_evk/spl.c > > @@ -83,6 +83,15 @@ int power_init_board(void) > > #ifdef

Re: [PATCH 1/1] efi_loader: initialize console size late

2022-06-14 Thread Heiko Thiery
ot. > > Only query the console size when running an EFI binary. > > Add debug output showing the determined console size. > > Reported-by: Fabio Estevam > Fixes: a9bf024b2933 ("efi_loader: disk: a helper function to create efi_disk > objects from udevice") >

Re: [PATCH v4] imx: add i.MX8MN DDR3L evk board support

2022-06-14 Thread Heiko Thiery
Hi Michael, Am Di., 14. Juni 2022 um 08:56 Uhr schrieb Michael Nazzareno Trimarchi : > > Hi > > On Mon, Jun 13, 2022 at 11:10 PM Heiko Thiery wrote: > > > > Add the support for the 8MNANOD3L-EVK board. The board has an i.MX8MNano > > UltraLite Quad SoC and uses 1G

Re: [PATCH] arm64: dts: imx8mq-kontron-pitx-imx8m-u-boot.dtsi: disable assigned clocks

2022-06-13 Thread Heiko Thiery
Hi Tom, Am Sa., 11. Juni 2022 um 16:56 Uhr schrieb Heiko Thiery : > > Hi Marek, > > Am Sa., 11. Juni 2022 um 12:15 Uhr schrieb Marek Vasut : > > > > On 6/11/22 08:09, Heiko Thiery wrote: > > > With the move to use DM_CLK the boards uart stops working. The used &

Re: imx8mn SPL serial output does not work after powerup

2022-06-13 Thread Heiko Thiery
Hi Peng, Am Di., 14. Juni 2022 um 03:46 Uhr schrieb Peng Fan (OSS) : > > > > 在 2022/6/14 3:49, Heiko Thiery 写道: > > Am Mo., 13. Juni 2022 um 21:43 Uhr schrieb Heiko Thiery > > : > >> Hi, > >> > >> Am Mo., 13. Juni 2022 um 21:28 Uhr schrieb Fabio

Re: [PATCH v5 07/12] efi_loader: disk: a helper function to create efi_disk objects from udevice

2022-06-13 Thread Heiko Thiery
Hi, Am Di., 14. Juni 2022 um 01:54 Uhr schrieb Fabio Estevam : > > Hi Heinrich, > > On Mon, Jun 13, 2022 at 8:39 PM Heinrich Schuchardt > wrote: > > > Slowing down every boot without connected serial by 1000ms seems to be a > > bad idea. > > > > What baud rate are you using? > > 115200. > > >

[PATCH v4] imx: add i.MX8MN DDR3L evk board support

2022-06-13 Thread Heiko Thiery
: eth0: ethernet@30be Hit any key to stop autoboot: 0 Signed-off-by: Heiko Thiery Reviewed-by: Fabio Estevam --- v4: - rebase on current master to fix merge conflicts - remove config options from defconfig - enable SPL_DM_SERIAL - include imx8mn-ddr4-evk-u-boot.dtsi in imx8mn-ddr3l-evk-u

Re: imx8mn SPL serial output does not work after powerup

2022-06-13 Thread Heiko Thiery
Am Mo., 13. Juni 2022 um 21:43 Uhr schrieb Heiko Thiery : > > Hi, > > Am Mo., 13. Juni 2022 um 21:28 Uhr schrieb Fabio Estevam : > > > > Hi Heiko, > > > > On Mon, Jun 13, 2022 at 4:16 PM Heiko Thiery wrote: > > > > > Can anyone confirm the be

Re: imx8mn SPL serial output does not work after powerup

2022-06-13 Thread Heiko Thiery
Hi, Am Mo., 13. Juni 2022 um 21:28 Uhr schrieb Fabio Estevam : > > Hi Heiko, > > On Mon, Jun 13, 2022 at 4:16 PM Heiko Thiery wrote: > > > Can anyone confirm the behavior? > > imx8mn ddr4 evk prints the SPL part just fine. > > Take a look at arch/ar

imx8mn SPL serial output does not work after powerup

2022-06-13 Thread Heiko Thiery
Hi, After a powerup the SPL output is not seen. [Powerup] Core: 140 devices, 19 uclasses, devicetree: separate WDT: Started watchdog@3028 with servicing (60s timeout) MMC: FSL_SDHC: 1, FSL_SDHC: 2 Loading Environment from MMC... *** Warning - bad CRC, using default environment In:

Re: imx8m(n): garbage on serial line

2022-06-13 Thread Heiko Thiery
Hi Fabio, Am Mo., 13. Juni 2022 um 19:01 Uhr schrieb Fabio Estevam : > > Hi Heiko, > > On Fri, Jun 10, 2022 at 7:29 AM Heiko Thiery wrote: > > > Hit any key to stop autoboot: 0 > > u-boot=> [25;88R > > Unknown command '[25' - try 'help' > > Unknown

Re: imx8m(n): garbage on serial line

2022-06-13 Thread Heiko Thiery
Hi Fabio, Am Mo., 13. Juni 2022 um 16:27 Uhr schrieb Fabio Estevam : > > Hi Heiko, > > On Mon, Jun 13, 2022 at 10:54 AM Heiko Thiery wrote: > > > This is the output on the kontron bl-imx8m board: > > > > U-Boot SPL 2022.07-rc4-7-g8c3f838be2 (Jun 13 2022

Re: imx8m(n): garbage on serial line

2022-06-13 Thread Heiko Thiery
Hi Fabio, Am Sa., 11. Juni 2022 um 13:10 Uhr schrieb Fabio Estevam : > > Hi Heiko, > > On Sat, Jun 11, 2022 at 3:12 AM Heiko Thiery wrote: > > > It took me some effort to get the current u-boot running on my imx8mq. > > But finally it works and I do not see this

Re: [PATCH] arm64: dts: imx8mq-kontron-pitx-imx8m-u-boot.dtsi: disable assigned clocks

2022-06-11 Thread Heiko Thiery
Hi Marek, Am Sa., 11. Juni 2022 um 12:15 Uhr schrieb Marek Vasut : > > On 6/11/22 08:09, Heiko Thiery wrote: > > With the move to use DM_CLK the boards uart stops working. The used > > properties are not supported by the imx8mq clock driver. Thus > > the correct bau

Re: [PATCH resend 1/2] imx: imx8mq: default select CLK_IMX8MQ

2022-06-11 Thread Heiko Thiery
Hi Tom, Am Sa., 11. Juni 2022 um 14:51 Uhr schrieb Tom Rini : > > On Sat, Jun 11, 2022 at 07:51:59AM +0200, Heiko Thiery wrote: > > Hi Tom, > > > > Am Fr., 3. Juni 2022 um 21:49 Uhr schrieb Tom Rini : > > > > > > On Mon, May 23, 2022 at 07:38:27PM +0800

Re: imx8m(n): garbage on serial line

2022-06-11 Thread Heiko Thiery
Hi Fabio, Am Fr., 10. Juni 2022 um 16:13 Uhr schrieb Heiko Thiery : > > Hi, > > Am Fr., 10. Juni 2022 um 15:00 Uhr schrieb Fabio Estevam : > > > > Hi Heiko, > > > > On Fri, Jun 10, 2022 at 7:29 AM Heiko Thiery wrote: > > > > > > Hi, > >

[PATCH] arm64: dts: imx8mq-kontron-pitx-imx8m-u-boot.dtsi: disable assigned clocks

2022-06-11 Thread Heiko Thiery
these porperties fine. Signed-off-by: Heiko Thiery --- .../arm/dts/imx8mq-kontron-pitx-imx8m-u-boot.dtsi | 15 +++ 1 file changed, 15 insertions(+) diff --git a/arch/arm/dts/imx8mq-kontron-pitx-imx8m-u-boot.dtsi b/arch/arm/dts/imx8mq-kontron-pitx-imx8m-u-boot.dtsi index 6f9c81462e..d361f3f559

Re: [PATCH resend 1/2] imx: imx8mq: default select CLK_IMX8MQ

2022-06-10 Thread Heiko Thiery
Hi Tom, Am Fr., 3. Juni 2022 um 21:49 Uhr schrieb Tom Rini : > > On Mon, May 23, 2022 at 07:38:27PM +0800, Peng Fan (OSS) wrote: > > > From: Peng Fan > > > > Since the power domain driver default select CONFIG_CLK, so we will > > meet lots failures without CLK_IMX8MQ, so default select it. > > >

Re: [PATCH 1/3] Kconfig: set i.MX8MQ SYS_MALLOC_F_LEN

2022-06-10 Thread Heiko Thiery
Hi Peng, Am Fr., 29. Apr. 2022 um 09:20 Uhr schrieb Peng Fan (OSS) : > > From: Peng Fan > > set SPL_SYS_MALLOC_F_LEN to 0x2000 > set SYS_MALLOC_F_LEN to 0x1 > > This is to prepare enable CLK_IMX8MQ for i.MX8MQ > > Fixes: commit 4eb82c2e56a7c ("imx: power-domain: Get rid of SMCCC dependency")

Re: imx8m(n): garbage on serial line

2022-06-10 Thread Heiko Thiery
Hi, Am Fr., 10. Juni 2022 um 15:00 Uhr schrieb Fabio Estevam : > > Hi Heiko, > > On Fri, Jun 10, 2022 at 7:29 AM Heiko Thiery wrote: > > > > Hi, > > > > I just rebased my pending patch for adding support for the NXP imx8mn > > ddr3l evk board. When

imx8m(n): garbage on serial line

2022-06-10 Thread Heiko Thiery
Hi, I just rebased my pending patch for adding support for the NXP imx8mn ddr3l evk board. When applying on the current master I see some garbage on the serial input. Can anyone confirm that behavior or is it just here? U-Boot 2022.07-rc4-00011-gacd4e97ae6 (Jun 10 2022 - 09:46:24 +0200) CPU:

Re: [PATCH v2 2/2] ARM: imx: imx8mn-evk: use one common u-boot.dtsi for the evk boards

2022-06-09 Thread Heiko Thiery
Hi Tim, Hi Simon, [SNIP] > > Heiko, > > You can add multi-dtb support to this so that it's usable by the other > imx8mn boards with the following: > diff --git a/arch/arm/dts/imx8mn-u-boot.dtsi b/arch/arm/dts/imx8mn-u-boot.dtsi > index 7b591085a0be..af6697b1efbc 100644 > ---

[PATCH v2 2/2] ARM: imx: imx8mn-evk: use one common u-boot.dtsi for the evk boards

2022-06-09 Thread Heiko Thiery
To have only one place to describe the binman images us the imx8mn-u-boot.dtsi. To have support for different DDR firmwares this nodes are included dependent on the used DDR config option. Signed-off-by: Heiko Thiery Reviewed-by: Fabio Estevam --- v2: sync with current master and fix merge

[PATCH v2 1/2] ARM: imx: imx8mn-evk: generate a single bootable flash.bin

2022-06-09 Thread Heiko Thiery
To have a flash.bin file that also contains the U-Boot and TF-A/ATF create this like already done for other imx8 boards. Signed-off-by: Heiko Thiery Reviewed-by: Fabio Estevam Reviewed-by: Peng Fan --- v2: sync with current master and fix merge conflict arch/arm/dts/imx8mn-evk-u-boot.dtsi

Re: [PATCH] crypto: fsl_hash: Remove unnecessary alignment check in caam_hash()

2022-06-07 Thread Heiko Thiery
Sorry for the typo in the mailadress. Heiko Thiery schrieb am Di., 7. Juni 2022, 09:44: > Hi Fabio, > > > Am Di., 7. Juni 2022 um 04:41 Uhr schrieb Fabio Estevam < > feste...@gmail.com>: > > > > Hi Stefan, > > > > On Fri, Apr 29, 2022 at 10:35 AM S

Re: [PATCH] crypto: fsl_hash: Remove unnecessary alignment check in caam_hash()

2022-06-07 Thread Heiko Thiery
Hi Fabio, Am Di., 7. Juni 2022 um 04:41 Uhr schrieb Fabio Estevam : > > Hi Stefan, > > On Fri, Apr 29, 2022 at 10:35 AM Stefan Roese wrote: > > > > While working on an LX2160 based board and updating to latest mainline > > I noticed problems using the HW accelerated hash functions on this > >

Re: [PATCH] imx8mn-*-evk: rename mkimage config

2022-05-14 Thread Heiko Thiery
Hi Stefano, Am Di., 22. Feb. 2022 um 15:48 Uhr schrieb Heiko Thiery : > > Since this configuration is used for several imx8mn-evk boards the > suffix ddr4 is misleading. > > Signed-off-by: Heiko Thiery > --- This patch and some others are prerequisites for the "[v3] imx

[PATCH v3] imx: add i.MX8MN DDR3L evk board support

2022-04-15 Thread Heiko Thiery
: eth0: ethernet@30be u-boot=> Signed-off-by: Heiko Thiery --- v3: - fix config option description in Kconfig (TARGET_IMX8MN_DDR3L_EVK) v2: - change license formatting (thanks Marcel) arch/arm/dts/imx8mn-ddr3l-evk-u-boot.dtsi | 33 + arch/arm/dts/imx8mn-ddr3l-evk.dts | 114 +++ a

[PATCH v2] imx: add i.MX8MN DDR3L evk board support

2022-04-14 Thread Heiko Thiery
: eth0: ethernet@30be u-boot=> Signed-off-by: Heiko Thiery --- v2: - change license formatting (thanks Marcel) arch/arm/dts/imx8mn-ddr3l-evk-u-boot.dtsi | 33 + arch/arm/dts/imx8mn-ddr3l-evk.dts | 114 +++ arch/arm/dts/imx8mn-u-boot.dtsi | 12 + arch/arm/mach-imx/im

Re: [PATCH] imx: add i.MX8MN DDR3L evk board support

2022-04-14 Thread Heiko Thiery
Hi Marcel, Am Mi., 6. Apr. 2022 um 15:14 Uhr schrieb Marcel Ziswiler : > > Hi Heiko > > On Wed, 2022-04-06 at 14:08 +0200, Heiko Thiery wrote: > > Add the support for the 8MNANOD3L-EVK board. The board has an i.MX8MNano > > UltraLite Quad SoC and uses 1GB DDR3L memory

[PATCH] imx: add i.MX8MN DDR3L evk board support

2022-04-06 Thread Heiko Thiery
: eth0: ethernet@30be u-boot=> Signed-off-by: Heiko Thiery --- Applying this patch requires the previous sent patches that does modifications on the other imx8mn evk boards. [1] https://patchwork.ozlabs.org/project/uboot/patch/20220222144734.398258-1-heiko.thi...@gmail.com/ [2] ht

Re: [PATCH v2 1/6] capsule: Add Image GUIDs for platforms using capsule updates

2022-03-26 Thread Heiko Thiery
Hi Sughosh Ganu schrieb am Sa., 26. März 2022, 07:00: > Currently, all platforms that enable capsule updates do so using > either EFI_FIRMWARE_IMAGE_TYPE_UBOOT_RAW_GUID or > EFI_FIRMWARE_IMAGE_TYPE_UBOOT_FIT_GUID. This is based on the Firmware > Management Protocol(FMP) instance used on the

Re: [RFC] serial: mxc: get the clock frequency from the used clock for the device

2022-03-24 Thread Heiko Thiery
Hi Adam, [SNIP] > > I was thinking that we could expand the struct mxc_serial_plat to > include both per and igp clocks to cover devices have clocks that are > not the same. The configuring of the platdata can happen using > mxc_serial_of_to_plat to 'get' both igp and per clocks. The probe >

Re: [PATCH v4 2/4] clk: imx8mq: Add a clock driver for the imx8mq

2022-03-24 Thread Heiko Thiery
Hi Angus, could you include the UART clocks? Am Di., 15. März 2022 um 14:09 Uhr schrieb Angus Ainslie : > > This is a DM clock driver based off the imx8mm u-boot driver and the linux > kernel driver. > > All of the PLLs and clocks are initialized so the subsystems below are > functional and

Re: [PATCH v2] imx8m: Use a sane SYS_MALLOC_F_LEN default

2022-03-24 Thread Heiko Thiery
t; SYS_MALLOC_F_LEN size. > > Suggested-by: Heinrich Schuchardt > Signed-off-by: Fabio Estevam I tested this on an imx8mq board (kontron_pitx_imx8m_defconfig). Tested-by: Heiko Thiery > --- > Changes since v1: > - Add the imx8m default inside the main Kconfig - Heinrich > >

Re: [PATCH v2] board: kontron: increase the CONFIG_SYS_MALLOC_F_LEN

2022-03-23 Thread Heiko Thiery
Hi Simon, Am Mi., 23. März 2022 um 19:04 Uhr schrieb Simon Glass : > > Hi Heinrich, > > On Tue, 22 Mar 2022 at 03:25, Heinrich Schuchardt wrote: > > > > On 3/21/22 15:26, Heiko Thiery wrote: > > > It was observed that enabling additional DM modules

Re: [PATCH v2] board: kontron: increase the CONFIG_SYS_MALLOC_F_LEN

2022-03-22 Thread Heiko Thiery
Hi Tom, Am Di., 22. März 2022 um 13:25 Uhr schrieb Tom Rini : > > On Tue, Mar 22, 2022 at 10:25:12AM +0100, Heinrich Schuchardt wrote: > > On 3/21/22 15:26, Heiko Thiery wrote: > > > It was observed that enabling additional DM modules the configured > > > malloc va

[PATCH v2] board: kontron: increase the CONFIG_SYS_MALLOC_F_LEN

2022-03-21 Thread Heiko Thiery
It was observed that enabling additional DM modules the configured malloc value is not sufficient. So lets increase the value. Signed-off-by: Heiko Thiery --- v2: - add a more proper commit message to explan why the value was increased configs/kontron_pitx_imx8m_defconfig | 1 + 1 file

  1   2   3   >