Re: imx8mm: Invalid IVT structure

2022-06-08 Thread Harm Berntsen
Hi, On Wed, 2022-06-08 at 17:39 +0200, Michael Nazzareno Trimarchi wrote: > Hi Tim > > On Wed, Jun 8, 2022 at 5:25 PM Tim Harvey > wrote: > > > > On Wed, Jun 8, 2022 at 8:09 AM Tommaso Merciai > > wrote: > > > > > > Hi, > > > > > > On Wed, Jun 08, 2022 at 04:14:51PM +0200, Michael Nazzareno

Re: [PATCH] gpio: mxc_gpio: Fix i.MX8M GPIO output status read

2022-01-18 Thread Harm Berntsen
Hi, On Mon, 2022-01-17 at 13:57 -0300, Fabio Estevam wrote: > Hi Harm, > > Adding Angus, who submitted a similar patch: > https://patchwork.ozlabs.org/project/uboot/patch/20211128145143.1433262-1-an...@akkea.ca/ > > On Mon, Jan 17, 2022 at 12:55 PM Harm Berntsen > wrote

Re: [PATCH] gpio: mxc_gpio: Fix i.MX8M GPIO output status read

2022-01-17 Thread Harm Berntsen
Hi Fabio Estevam and Ye Li, On Sat, 2022-01-15 at 10:43 -0300, Fabio Estevam wrote: > Hi Harm and Ye Li, > > On Fri, Aug 13, 2021 at 11:35 AM Harm Berntsen > wrote: > > > > Currently the driver gets value from PSR register, but this > > register is > > only

Re: tftp time outs

2021-09-08 Thread Harm Berntsen
The network stack of u-boot is limited, maybe it can't handle the ping traffic at the same time as the TFTP transfer? I'm just guessing here... -Original Message- From: Matteo Guglielmi To: Harm Berntsen Cc: u-boot@lists.denx.de Subject: Re: tftp time outs Date: Wed, 08 Sep

Re: tftp time outs

2021-09-08 Thread Harm Berntsen
code). I have no experience with boot.cmd files but it looks like you will need the setenv variant :). -Original Message- From: Matteo Guglielmi To: Harm Berntsen Cc: u-boot@lists.denx.de Subject: Re: tftp time outs Date: Tue, 07 Sep 2021 12:51:37 + Hi Harm, thanks for the suggestion

Re: tftp time outs

2021-09-07 Thread Harm Berntsen
Hi Matteo, Which version of U-Boot are you using? Try setting the following environment variables: tftpblocksize=512 tftptimeout=1 -- Harm -Original Message- From: Matteo Guglielmi To: u-boot@lists.denx.de Subject: tftp time outs Date: Sun, 05 Sep 2021 13:49:46 + Dear All,

Fwd: Re: [PATCH v2 15/16] clk: Detect failure to set defaults

2021-08-26 Thread Harm Berntsen
Hi Stefano and Peng, There is an issue that prevents the imx8mn to boot in 2021.10-rc2. See the conversation below. Could you help with this? -- Harm Forwarded Message From: Simon Glass To: Harm Berntsen Cc: u-boot@lists.denx.de , tr...@konsulko.com Subject: Re: [PATCH v2

Re: [PATCH v2 15/16] clk: Detect failure to set defaults

2021-08-18 Thread Harm Berntsen
On Thu, 2021-05-13 at 19:39 -0600, Simon Glass wrote: > When the default clocks cannot be set, the clock is silently probed and > the error is ignored. This is incorrect, since having the clocks at the > correct speed may be important for operation of the system. > > Fix it by checking the return

[PATCH] gpio: mxc_gpio: Fix i.MX8M GPIO output status read

2021-08-13 Thread Harm Berntsen
on code from Ye Li Signed-off-by: Robert Krikke Signed-off-by: Harm Berntsen CC: Ye Li CC: Stefano Babic --- drivers/gpio/mxc_gpio.c | 20 +--- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/drivers/gpio/mxc_gpio.c b/drivers/gpio/mxc_gpio.c index 06e6b2279f

[PATCH] GitLab: Remove tags for sandbox_noinst tests

2021-05-21 Thread Harm Berntsen
probably why it still contains the tags. This commit fixes that so all jobs now don't require tags on the GitLab runners. Signed-off-by: Harm Berntsen CC: Simon Glass --- .gitlab-ci.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index bff487404f.

Re: [PATCH 01/19] phy: nop-phy: Add standard usb-nop-xceiv compat string

2021-04-06 Thread Harm Berntsen
onfig +++ b/drivers/usb/host/Kconfig @@ -156,7 +156,7 @@ config USB_EHCI_MX6 config USB_EHCI_MX7 bool "Support for i.MX7 on-chip EHCI USB controller" - depends on ARCH_MX7 || IMX8MM + depends on ARCH_MX7 || IMX8MM || IMX8MN And add the following to your board header: #define CONFIG_MXC_USB_PORTSC (PORT_PTS_UTMI | PORT_PTS_PTW) Kind regards, Harm Berntsen

[PATCH v2 7/8] mmc: mvebu: convert to driver model

2021-03-30 Thread Harm Berntsen
This is a straightforward conversion of the old, non-dm driver. It was done in-place as the deadline for non-dm MMC has passed. Previous commits ensured that no board depends on the old, non-dm variant. Tested on a Kirkwood based board with eMMC. Signed-off-by: Harm Berntsen Tested-by: Harm

[PATCH v2 4/8] arm: kirkwood: remove non-dm MMC driver init

2021-03-30 Thread Harm Berntsen
No board uses this driver any more: remove it. Signed-off-by: Harm Berntsen Reviewed-by: Stefan Roese CC: Gerald Kerma CC: Stefan Roese CC: Pantelis Antoniou --- (no changes since v1) arch/arm/mach-kirkwood/cpu.c | 7 --- 1 file changed, 7 deletions(-) diff --git a/arch/arm/mach

[PATCH v2 3/8] configs: sheevaplug: remove non-dm MMC driver

2021-03-30 Thread Harm Berntsen
This will be replaced with the driver model version Signed-off-by: Harm Berntsen Reviewed-by: Stefan Roese CC: Prafulla Wadaskar CC: Stefan Roese CC: Tom Rini --- (no changes since v1) include/configs/sheevaplug.h | 8 1 file changed, 8 deletions(-) diff --git a/include/configs

[PATCH v2 6/8] configs: remove obsolete CONFIG_MVEBU_MMC

2021-03-30 Thread Harm Berntsen
All usages of this have been removed Signed-off-by: Harm Berntsen Reviewed-by: Simon Glass CC: Simon Glass --- (no changes since v1) scripts/config_whitelist.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt index 1e27373e5b

[PATCH v2 8/8] configs: sheevaplug: enable driver-model based MMC

2021-03-30 Thread Harm Berntsen
The non-dm MMC driver has been converted to the driver model. The sheevaplug was using the non-dm driver and this commit enables the new driver. Signed-off-by: Harm Berntsen Reviewed-by: Stefan Roese CC: Prafulla Wadaskar CC: Stefan Roese CC: Tom Rini --- Changes in v2: - Add commit text

[PATCH v2 5/8] configs: remove obsolete CONFIG_SYS_MMC_BASE

2021-03-30 Thread Harm Berntsen
All usages of this have been removed Signed-off-by: Harm Berntsen Reviewed-by: Simon Glass CC: Simon Glass --- (no changes since v1) scripts/config_whitelist.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt index 85857a746c

[PATCH v2 1/8] configs: remove unused CONFIG_SYS_MMC_BASE defs

2021-03-30 Thread Harm Berntsen
These boards use an MMC driver that does not use this definition Signed-off-by: Harm Berntsen Reviewed-by: Stefan Roese CC: Stefan Roese CC: Mario Six CC: Dennis Gilmore --- (no changes since v1) include/configs/clearfog.h| 5 - include/configs/controlcenterdc.h | 5

[PATCH v2 2/8] configs: openrd: remove non-dm MMC driver

2021-03-30 Thread Harm Berntsen
Unfortunately this board has no DM support at all. We are also way past the deadline for driver model support for various devices on this board. Signed-off-by: Harm Berntsen Reviewed-by: Stefan Roese CC: Stefan Roese --- (no changes since v1) include/configs/openrd.h | 5 - 1 file

[PATCH v2 0/8] Convert mvebu_mmc driver to driver model

2021-03-30 Thread Harm Berntsen
+ git send-email - Add commit text Harm Berntsen (8): configs: remove unused CONFIG_SYS_MMC_BASE defs configs: openrd: remove non-dm MMC driver configs: sheevaplug: remove non-dm MMC driver arm: kirkwood: remove non-dm MMC driver init configs: remove obsolete CONFIG_SYS_MMC_BASE confi

Re: [PATCH 7/8] mmc: mvebu: convert to driver model

2021-03-26 Thread Harm Berntsen
Thanks for the feedback! I forgot to disable e-mail formatting for that specific mail. I have a new patch series ready but I'm getting SMTP authentication errors through git send-email, I'll debug that with my IT department. -Original Message- From: Stefan Roese To: Harm Berntse

[PATCH 8/8] configs: sheevaplug: enable driver-model based MMC

2021-03-25 Thread Harm Berntsen
Signed-off-by: Harm Berntsen CC: Prafulla Wadaskar CC: Stefan Roese CC: Tom Rini ---  configs/sheevaplug_defconfig | 2 ++  1 file changed, 2 insertions(+) diff --git a/configs/sheevaplug_defconfig b/configs/sheevaplug_defconfig index 34da356b8e..65d8dff7ff 100644 --- a/configs

[PATCH 7/8] mmc: mvebu: convert to driver model

2021-03-25 Thread Harm Berntsen
This is a straightforward conversion of the old, non-dm driver. It was done in-place as the deadline for non-dm MMC has passed. Previous commits ensured that no board depends on the old, non-dm variant. Tested on a Kirkwood based board with eMMC. Signed-off-by: Harm Berntsen Tested-by: Harm

[PATCH 2/8] configs: openrd: remove non-dm MMC driver

2021-03-25 Thread Harm Berntsen
Unfortunately this board has no DM support at all. We are also way past the deadline for driver model support for various devices on this board. Signed-off-by: Harm Berntsen CC: Stefan Roese CC: Tom Rini ---  include/configs/openrd.h | 5 -  1 file changed, 5 deletions(-) diff --git a

[PATCH 6/8] configs: remove obsolete CONFIG_MVEBU_MMC

2021-03-25 Thread Harm Berntsen
All usages of this have been removed Signed-off-by: Harm Berntsen CC: Simon Glass ---  scripts/config_whitelist.txt | 1 -  1 file changed, 1 deletion(-) diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt index 1e27373e5b..2fdee6be65 100644 --- a/scripts

[PATCH 5/8] configs: remove obsolete CONFIG_SYS_MMC_BASE

2021-03-25 Thread Harm Berntsen
All usages of this have been removed Signed-off-by: Harm Berntsen CC: Simon Glass ---  scripts/config_whitelist.txt | 1 -  1 file changed, 1 deletion(-) diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt index 85857a746c..1e27373e5b 100644 --- a/scripts

[PATCH 4/8] ARM: kirkwood: remove non-dm MMC driver init

2021-03-25 Thread Harm Berntsen
No board uses this driver any more: remove it. Signed-off-by: Harm Berntsen CC: Gerald Kerma CC: Stefan Roese CC: Pantelis Antoniou ---  arch/arm/mach-kirkwood/cpu.c | 7 ---  1 file changed, 7 deletions(-) diff --git a/arch/arm/mach-kirkwood/cpu.c b/arch/arm/mach-kirkwood/cpu.c index

[PATCH 3/8] configs: sheevaplug: remove non-dm MMC driver

2021-03-25 Thread Harm Berntsen
This will be replaced with the driver model version Signed-off-by: Harm Berntsen CC: Prafulla Wadaskar CC: Stefan Roese CC: Tom Rini ---  include/configs/sheevaplug.h | 8  1 file changed, 8 deletions(-) diff --git a/include/configs/sheevaplug.h b/include/configs/sheevaplug.h index

[PATCH 1/8] configs: remove unused CONFIG_SYS_MMC_BASE defs

2021-03-25 Thread Harm Berntsen
These boards use an MMC driver that does not use this definition Signed-off-by: Harm Berntsen CC: Stefan Roese CC: Dirk Eibach CC: Mario Six CC: Dennis Gilmore ---  include/configs/clearfog.h    | 5 -  include/configs/controlcenterdc.h | 5 -  include/configs/db-88f6820-gp.h

[PATCH 0/8] Convert mvebu_mmc driver to driver model

2021-03-25 Thread Harm Berntsen
. The sheevaplug should still work but I don't have hardware to test it on. I've tested the driver on an out of tree Kirkwood board. CC: Rick Thomas CC: Chris Packham CC: Vagrant Cascadian CC: Tom Rini CC: Stefan Roese Harm Berntsen (8):   configs: remove unused CONFIG_SYS_MMC

Re: [PATCH 14/25] arm: Remove sheevaplug board

2021-03-24 Thread Harm Berntsen
On Wed, 2021-03-24 at 17:22 -0400, Tom Rini wrote: > On Wed, Mar 24, 2021 at 09:11:01PM +0000, Harm Berntsen wrote: > > On Thu, 2021-02-11 at 15:06 -0500, Tom Rini wrote: > > > On Wed, Feb 10, 2021 at 09:09:56PM -0800, Rick Thomas wrote: > > > > > > > >

Re: [PATCH 14/25] arm: Remove sheevaplug board

2021-03-24 Thread Harm Berntsen
On Thu, 2021-02-11 at 15:06 -0500, Tom Rini wrote: > On Wed, Feb 10, 2021 at 09:09:56PM -0800, Rick Thomas wrote: > > > > > > On Wed, Feb 10, 2021, at 8:57 PM, Vagrant Cascadian wrote: > > > On 2021-02-10, Rick Thomas wrote: > > > > I have not recently (since before 2019) done anything more than

Re: [PATCH v6 1/2] gpio: i2c-gpio: Drop use of dm_gpio_set_dir()

2021-03-22 Thread Harm Berntsen
Nice work, pactch works on my board! Note that your commit message still mentions dm_gpio_set_dir_flags instead of dm_gpio_clrset_flags Tested-by: Harm Berntsen -Original Message- From: Simon Glass To: U-Boot Mailing List Cc: Tom Rini , Patrick Delaunay , Harm Berntsen , Simon Glass

Re: [PATCH v5 1/2] gpio: i2c-gpio: Drop use of dm_gpio_set_dir()

2021-03-08 Thread Harm Berntsen
x27;t feel like I'm familiar enough with the GPIO code to do a good suggestion. Maybe Patrick could help us out here? -Original Message- From: Simon Glass To: Harm Berntsen Cc: h...@denx.de , tr...@konsulko.com , u-boot@lists.denx.de , patrick.delau...@st.com Subject: Re: [PATCH v5

Re: [PATCH v5 1/2] gpio: i2c-gpio: Drop use of dm_gpio_set_dir()

2021-03-08 Thread Harm Berntsen
I've just tested this on top of the current master (90964ab5) and this breaks my board (Kirkwood CPU with MVEBU_GPIO=y and DM_I2C_GPIO=y). I'll do some debugging to see what goes wrong. -Original Message- From: Tom Rini To: Heiko Schocher , Harm Berntsen Cc: Simon Glass , U-Bo

[PATCH v2] gpio: Add support for DM GPIO for Kirkwood

2020-11-29 Thread Harm Berntsen
ely replace the Kirkwood specific driver as there are still boards depending on that driver. Signed-off-by: Harm Berntsen CC: Stefan Roese , --- Canges for v2: - Made commit message more clear drivers/gpio/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpio/Kc

Re: [PATCH] gpio: Add support for DM GPIO for Kirkwood

2020-11-29 Thread Harm Berntsen
he kw_gpio functions is in board-specific code. I think the kw_gpio driver can be deprecated and board maintainers could update their code. Kind regards, Harm -Original Message- From: Stefan Roese To: Harm Berntsen , u-boot@lists.denx.de Subject: Re: [PATCH] gpio: Add support for DM GPIO fo

i2c: i2c-gpio: Fix GPIO output

2020-11-29 Thread Harm Berntsen
oken since. Signed-off-by: Harm Berntsen CC: Heiko Schocher CC: Patrick Delaunay --- drivers/i2c/i2c-gpio.c | 17 ++--- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/drivers/i2c/i2c-gpio.c b/drivers/i2c/i2c-gpio.c index 381938c956..9c5e0d4d68 100644 --- a/drive

[PATCH] gpio: Add support for DM GPIO for Kirkwood

2020-11-27 Thread Harm Berntsen
cific driver as there are still dependencies on that driver(i.e. soft_i2c.c. in our case). Signed-off-by: Harm Berntsen CC: Stefan Roese --- drivers/gpio/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig index 202fcc6f47..1f41b

[PATCH] net: tftp: Fix incorrect tftp_next_ack on no OACK

2020-11-27 Thread Harm Berntsen
l complete though. Signed-off-by: Harm Berntsen CC: Ramon Fried --- net/tftp.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/net/tftp.c b/net/tftp.c index 6fdb1a821a..9371d7ef2c 100644 --- a/net/tftp.c +++ b/net/tftp.c @@ -624,8 +624,10 @@ static void tftp_handler(

Re: [RFC] regarding Uboot AUTOBOOT_STOP_STR_SHA256

2020-11-23 Thread Harm Berntsen
Hi Joel, Regarding 2, In my implementation I have the following: bootcmd=run bootcmd2 || reset In case bootcmd2 fails, the board will reset instead of dropping to a prompt. Maybe this is also sufficient for you :). Kind regards, Harm Berntsen -Original Message- From: Joel Peshkin To

[PATCH v2 2/3] acpi: Add missing ARM acpi_table header

2020-11-06 Thread Harm Berntsen
The pci_mmc.c driver can generate ACPI info and therefore includes asm/acpi_table.h by proxy. This file does not exist for the ARM architecture and thus code compilation failed when using this driver on ARM. Signed-off-by: Harm Berntsen CC: Simon Glass --- Changes for v2: Different approach

[PATCH v2 3/3] mmc: Only retrieve cd pin when GPIO is enabled

2020-11-06 Thread Harm Berntsen
The driver only needs to retrieve the pin for the ACPI info. The driver itself works without depending on GPIO. Signed-off-by: Harm Berntsen CC: Simon Glass --- Changes for v2: - Changed ifdef to if (CONFIG_IS_ENABLED(DM_GPIO)) drivers/mmc/pci_mmc.c | 6 -- 1 file changed, 4 insertions

Re: [PATCH 0/3] mmc support for QEMU

2020-10-30 Thread Harm Berntsen
27;ll send in a patch for the config when this series has been merged! Kind regards, Harm -Original Message- From: Bin Meng To: Harm Berntsen Cc: u-boot@lists.denx.de Subject: Re: [PATCH 0/3] mmc support for QEMU Date: Fri, 30 Oct 2020 22:34:10 +0800 On Fri, Oct 30, 2020 at 6:56 PM Har

[PATCH 3/3] mmc: Only retrieve cd pin when GPIO is enabled

2020-10-30 Thread Harm Berntsen
The driver only needs to retrieve the pin for the ACPI info. The driver itself works without depending on GPIO. Signed-off-by: Harm Berntsen CC: Simon Glass ---  drivers/mmc/pci_mmc.c | 2 ++  1 file changed, 2 insertions(+) diff --git a/drivers/mmc/pci_mmc.c b/drivers/mmc/pci_mmc.c index

[PATCH 1/3] gpio: do not include on ARCH_QEMU

2020-10-30 Thread Harm Berntsen
As no gpio.h is defined for this architecture, to avoid compilation failure, do not include for QEMU. Signed-off-by: Harm Berntsen ---  arch/arm/include/asm/gpio.h | 3 ++-  1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/include/asm/gpio.h b/arch/arm/include/asm/gpio.h

[PATCH 2/3] acpi: Only include asm header when available

2020-10-30 Thread Harm Berntsen
. The if defined structure is also used in other places to conditionally include asm headers, i.e. arch/arm/include/asm/gpio.h Signed-off-by: Harm Berntsen CC: Simon Glass ---  include/acpi/acpi_table.h | 2 ++  1 file changed, 2 insertions(+) diff --git a/include/acpi/acpi_table.h b/include/acpi

[PATCH 0/3] mmc support for QEMU

2020-10-30 Thread Harm Berntsen
=mydrive \    -drive id=mydrive,if=none,format=raw,file=mmcblk0.bin \    -bios u-boot.bin The MMC image can now be used to boot :) Regards, Harm Harm Berntsen (3):   gpio: do not include on ARCH_QEMU   acpi: Only include asm table when available   mmc: Only retrieve cd pin when GPIO is enabled  arch

[PATCH] Dockerfile: Remove high UID/GID

2020-09-02 Thread Harm Berntsen
in my environment. Signed-off-by: Harm Berntsen CC: Tom Rini --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 3bcd4b9..247122e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -29,7 +29,7 @@ RUN wget -O - https://mirrors.edge.kernel.org/pub/