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

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 >

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 t

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

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

[PATCH] kontron_pitx_imx8m: enlarge SYS_MALLOC_F_LEN

2022-09-14 Thread Heiko Thiery
L_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..a57b5cf552 10

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

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 V2] Kconfig: enlarge CONFIG_SYS_MALLOC_F_LEN

2022-09-17 Thread Heiko Thiery
gt; 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.

[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] pci: layerscape: Fix spurious writes and panic

2020-09-14 Thread Heiko Thiery
-by: Michael Walle > > --- > > This is equivalent to: > https://github.com/openil/u-boot/commit/6b5f833381a06503bb5fef3ef933cb62d3175e44 > > Sorry for not upstreaming it (and a bunch of other patches), I simply > gave up because the maintainer response time in U-Boot is so

Re: [PATCH v7 1/2] board: kontron: add sl28 support

2020-09-14 Thread Heiko Thiery
Michael Walle After applying the patch (https://patchwork.ozlabs.org/project/uboot/patch/20200803221633.24096-1-mich...@walle.cc/) I could boot the mainline kernel. Tested-by: Heiko Thiery > --- > arch/arm/Kconfig | 11 + > arch/arm/dts/Makefile

Re: [PATCH v7 2/2] board: sl28: add board specific nvm command

2020-09-14 Thread Heiko Thiery
Hi Michael, Am Mo., 7. Sept. 2020 um 23:08 Uhr schrieb Michael Walle : > > The board supports 16 configuration bits which can be manipulated with > this command. See the board's README for a detailed explanation on each > bit. > > Signed-off-by: Michael Walle

Re: [PATCH v3 19/19] tools: Use a single target-independent config to enable OpenSSL

2021-07-27 Thread Heiko Thiery
Hi all, Am Do., 15. Juli 2021 um 00:09 Uhr schrieb Alexandru Gagniuc : > > Host tool features, such as mkimage's ability to sign FIT images were > enabled or disabled based on the target configuration. However, this > misses the point of a target-agnostic host tool. > > A target's ability to verif

Re: [PATCH v1] imx: mkimage_fit_atf: replace @ with hyphen

2021-07-27 Thread Heiko Thiery
Hi all, Am Mi., 5. Mai 2021 um 15:30 Uhr schrieb ZHIZHIKIN Andrey : > > Hello Oliver, > > > -Original Message- > > From: U-Boot On Behalf Of Oliver Graute > > Sent: Wednesday, May 5, 2021 2:01 PM > > To: sba...@denx.de > > Cc: feste...@gmail.com; peng@nxp.com; > > oliver.gra...@kococo

Re: [PATCH v3 19/19] tools: Use a single target-independent config to enable OpenSSL

2021-07-27 Thread Heiko Thiery
Hi Alex, Am Di., 27. Juli 2021 um 16:34 Uhr schrieb Alex G. : > > > > On 7/27/21 4:59 AM, Heiko Thiery wrote: > > Hi all, > > > > Am Do., 15. Juli 2021 um 00:09 Uhr schrieb Alexandru Gagniuc > > : > >> > >> Host tool features, such as mki

flash.bin from imx8mq_evk_defconfig does not start

2021-03-02 Thread Heiko Thiery
Hi all, I try to build the current u-boot for the imx8mq EVK board with imx8mq_evk_defconfig. I used the additional files "signed_hdmi_imx8m.bin" and "lpddr4_pmu_train_*" from the NXP firmware-imx v8.1 and a build of ATF v2.4. I used "make ARCH=arm CROSS_COMPILE=aarch64-linux-gnu- flash.bin

Re: flash.bin from imx8mq_evk_defconfig does not start

2021-03-02 Thread Heiko Thiery
Hi Fabrio, On 3/2/21 12:09 PM, Fabio Estevam wrote: Hi Heiko, On Tue, Mar 2, 2021 at 6:01 AM Heiko Thiery wrote: Hi all, I try to build the current u-boot for the imx8mq EVK board with imx8mq_evk_defconfig. I used the additional files "signed_hdmi_imx8m.bin" and "lpddr4_pm

[PATCH 1/1] spl: fix ext4fs_mount return code handling

2020-06-16 Thread Heiko Thiery
error code of '-1' from spl_load_image_ext function in case of ext4fs_mount error. Signed-off-by: Thomas Schaefer [hthiery: slightly reword the commit message] Signed-off-by: Heiko Thiery --- common/spl/spl_ext.c | 1 + 1 file changed, 1 insertion(+) diff --git a/common/spl/s

[PATCH 1/1] spl: fix ext4fs_mount return code handling

2020-06-16 Thread Heiko Thiery
error code of '-1' from spl_load_image_ext function in case of ext4fs_mount error. Signed-off-by: Thomas Schaefer [hthiery: slightly reword the commit message] Signed-off-by: Heiko Thiery --- common/spl/spl_ext.c | 1 + 1 file changed, 1 insertion(+) diff --git a/common/spl/s

[PATCH v2 1/1] spl: fix ext4fs_mount return code handling

2020-06-16 Thread Heiko Thiery
error code of '-1' from spl_load_image_ext function in case of ext4fs_mount error. Signed-off-by: Thomas Schaefer [hthiery: slightly reword the commit message] Signed-off-by: Heiko Thiery Reviewed-by: Tom Rini --- v1 -> v2: - directly return -1 instead of goto end (Tom Rini).

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

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:se

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/arm/dts/imx

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

[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: [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. > > > W

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] 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: [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 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 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 CO

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

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

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 the P

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

2022-06-19 Thread Heiko Thiery
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

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

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 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 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-by:

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 > > nodes are i

[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

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

2022-06-26 Thread Heiko Thiery
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 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 1/2] pmic: pca9450: enable system reset on WDOG_B assertion

2022-06-28 Thread Heiko Thiery
m 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 2/2] pmic: pca9450: clear PRESET_EN bit for BUCK1/2/3 voltage settings

2022-06-28 Thread Heiko Thiery
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

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. > > > > Si

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-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 11/14] imx: kontron-sl-mx8mm: Use the VSELECT signal to switch SD card IO voltage

2022-07-14 Thread Heiko Thiery
high 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-n80

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 g

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

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':

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 no

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

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

2022-10-24 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-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] 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 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

[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

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 plat

[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] imx8mn-*-evk: rename mkimage config

2022-05-13 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

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

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

[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

[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

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

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

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

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

2022-06-10 Thread Heiko Thiery
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: imx8m(n): garbage on serial line

2022-06-10 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, > >

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: [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 v1] imx: mkimage_fit_atf: replace @ with hyphen

2021-08-08 Thread Heiko Thiery
Hi all, Am Mo., 2. Aug. 2021 um 11:57 Uhr schrieb Peng Fan (OSS) : > > Hi Tim, > > > Subject: Re: [PATCH v1] imx: mkimage_fit_atf: replace @ with hyphen > > > > On Tue, Jul 27, 2021 at 12:17 PM Heiko Thiery > > wrote: > > > > > > Hi all, &

Re: [PATCH v1] imx: mkimage_fit_atf: replace @ with hyphen

2021-08-13 Thread Heiko Thiery
Hi, Am Fr., 13. Aug. 2021 um 14:34 Uhr schrieb Fabio Estevam : > > Hi Tim, > > [Adding Marek] > > On Tue, Jul 27, 2021 at 6:53 PM Tim Harvey wrote: > > > With respect to moving to binman, I'm all for it but I'm wondering why > > other boards have elected to move from a monolithic flash.bin > > in

Re: [PATCH v1] imx: mkimage_fit_atf: replace @ with hyphen

2021-08-13 Thread Heiko Thiery
Hi Fabio, Am Fr., 13. Aug. 2021 um 15:03 Uhr schrieb Fabio Estevam : > > Hi Heiko, > > On Fri, Aug 13, 2021 at 9:53 AM Heiko Thiery wrote: > > > Maybe I'm wrong or I do not fully understand the limitation you're > > talking about, but as far as I understan

Re: [PATCH v1] imx: mkimage_fit_atf: replace @ with hyphen

2021-08-15 Thread Heiko Thiery
HI Fabrio and all, Am Fr., 13. Aug. 2021 um 17:12 Uhr schrieb Heiko Thiery : > > Hi Fabio, > > Am Fr., 13. Aug. 2021 um 15:03 Uhr schrieb Fabio Estevam : > > > > Hi Heiko, > > > > On Fri, Aug 13, 2021 at 9:53 AM Heiko Thiery wrote: > > > > &g

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

2021-08-17 Thread Heiko Thiery
Hi, Am Di., 17. Aug. 2021 um 05:56 Uhr schrieb Heiko Schocher : > > Hello Fabio, > > On 16.08.21 17:21, Fabio Estevam wrote: > > After the convesion 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

Re: [PATCH v3 2/2] Makefile: Clean the i.MX8MM artifacts

2021-08-19 Thread Heiko Thiery
Hi Fabio, Am Do., 19. Aug. 2021 um 21:28 Uhr schrieb Fabio Estevam : > > Clean the binaries generated by binman on imx8mm-evk: > spl.* mkimage*.mkimage imx-boot.* > > Reported-by: Frieder Schrempf > Signed-off-by: Fabio Estevam > --- > Changes since v2: > - None. Newly introducedin this series.

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

2021-08-19 Thread Heiko Thiery
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 > u-boot.itb to get a bootable system. Prior to this commit, only flash.

binman should create a list of output files

2021-08-19 Thread Heiko Thiery
Hi Simon, During the discussion on [1] I had the idea if binman could create a list of all output files, so that it is possible to do a real clean in the u-boot makefile. Currently there are not all binaries listed in the files list and especially during the port of some boards to binman we had s

Re: [PATCH v3 2/2] Makefile: Clean the i.MX8MM artifacts

2021-08-19 Thread Heiko Thiery
Hi, Am Fr., 20. Aug. 2021 um 07:34 Uhr schrieb Heiko Thiery : > > Hi Fabio, > > Am Do., 19. Aug. 2021 um 21:28 Uhr schrieb Fabio Estevam : > > > > Clean the binaries generated by binman on imx8mm-evk: > > spl.* mkimage*.mkimage imx-boot.* > > > > Report

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

2021-08-20 Thread Heiko Thiery
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://www.mail-archive.com/u-boot@lists.denx.de/msg414966.html Ah ok. Thanks --

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

2021-08-22 Thread Heiko Thiery
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 Ziswiler > --- > > arch/arm/dts/imx8mm-verdin-u-boot.dtsi | 122 ++- > arch/arm/mach-imx/imx8m/Kconfig | 1

Re: binman should create a list of output files

2021-08-22 Thread Heiko Thiery
Hi Simon, Am Fr., 20. Aug. 2021 um 20:22 Uhr schrieb Simon Glass : > > Hi Heiko, > > On Fri, 20 Aug 2021 at 00:49, Heiko Thiery wrote: > > > > Hi Simon, > > > > During the discussion on [1] I had the idea if binman could create a > > list of all output

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

2021-08-23 Thread Heiko Thiery
Hi Marcel, Am Mo., 23. Aug. 2021 um 12:02 Uhr schrieb 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-imx8

  1   2   3   >