Re: [PATCH v2] env: mmc: fix offsets relative to the end of the partition

2025-06-10 Thread Michael Walle
gned s64 variable. Also I've just noticed, that env/sf.c uses ulong to store ENV_OFFSET. -michael

Re: [PATCH v2] env: mmc: fix offsets relative to the end of the partition

2025-06-06 Thread Michael Walle
just found your reply by accident. -michael

[PATCH v2] env: mmc: fix offsets relative to the end of the partition

2025-06-05 Thread Michael Walle
n. Introduce a new boolean kconfig option to switch on the "relative to the end" behavior. Signed-off-by: Michael Walle --- v2: - made the Kconfig help text clearer on MMC hardware partitions. I've used the term "MMC hardware partition" as it was already used in s

Re: [PATCH v2 04/13] clk: add CONFIG_CLK_AUTO_ID

2025-06-03 Thread Michael Nazzareno Trimarchi
Hi On Wed, Jun 4, 2025 at 8:48 AM Michael Nazzareno Trimarchi wrote: > > Hi Patrice > > On Wed, Jun 4, 2025 at 8:46 AM Patrice CHOTARD > wrote: > > > > > > > > On 6/4/25 08:14, Michael Nazzareno Trimarchi wrote: > > > Hi > > > > >

Re: [PATCH v2 04/13] clk: add CONFIG_CLK_AUTO_ID

2025-06-03 Thread Michael Nazzareno Trimarchi
Hi Patrice On Wed, Jun 4, 2025 at 8:46 AM Patrice CHOTARD wrote: > > > > On 6/4/25 08:14, Michael Nazzareno Trimarchi wrote: > > Hi > > > > On Wed, Jun 4, 2025 at 8:02 AM Patrice CHOTARD > > wrote: > >> > >> > >> > >&g

Re: [PATCH v2 04/13] clk: add CONFIG_CLK_AUTO_ID

2025-06-03 Thread Michael Nazzareno Trimarchi
nline bool clk_dev_binded(struct clk *clk) > > { > > return false; > > } > > + > > +static inline ulong clk_get_id(const struct clk *clk) > > +{ > > + return 0; > > +} > > #endif /* CONFIG_IS_ENABLED(CLK) */ > > > > /** >

[PATCH v3] bsh: imx6ulz_smm_m2: Add imx6ulz BSH SMM M2B board

2025-05-31 Thread Michael Trimarchi
s for selective inclusion of the desired memory components. Signed-off-by: Michael Trimarchi --- Changes in v3: - Fix typo in MAINTAINERS - Pipeline https://dev.azure.com/u-boot/u-boot/_build/results?buildId=11274&view=results Changes in v2: - Ajust commit message and kconfig - Add MAINTAINERS e

Re: [PATCH v3 1/4] clk: imx: add i.MX6UL clk driver

2025-05-30 Thread Michael Nazzareno Trimarchi
Hi Il ven 30 mag 2025, 20:14 Christoph Niedermaier < cniederma...@dh-electronics.com> ha scritto: > Hello, > > From: Michael Nazzareno Trimarchi > Sent: Friday, May 30, 2025 5:12 PM > Subject: Re: [PATCH v3 1/4] clk: imx: add i.MX6UL clk driver > > [...] > &

[PATCH v4 1/4] clk: imx: add i.MX6UL clk driver

2025-05-30 Thread Michael Trimarchi
Add i.MX6UL clk driver for i.MX6UL CLK driver model usage Reviewed-by: Peng Fan Reviewed-by: Christoph Niedermaier Tested-by: Christoph Niedermaier Signed-off-by: Michael Trimarchi --- Changes in v4: - Fix Kconfig typo - Fix IPG clock duplication - Add space for consistency in block - and

[PATCH v4 3/4] mtd: nand: Add support for EDO mode 1-5 to IMX6ULL platform

2025-05-30 Thread Michael Trimarchi
The clock driver allows to boost the NAND performance controller. Make changes to let it use the new clock driver => time nand read ${loadaddr} kernel NAND read: device 0 offset 0x50, size 0x80 8388608 bytes read: OK time: 0.488 seconds Signed-off-by: Michael Trimarchi --- Chan

[PATCH v4 4/4] configs/imx6ulz_smm_m2_defconfig: Enable clock framework

2025-05-30 Thread Michael Trimarchi
Enable the clock framework on the m2 platform. This helps to increase the NAND controller performance. Signed-off-by: Michael Trimarchi --- Changes in v4: - None Changes in v3: - None Changes in v2: - Ajust commit message - drop CONFIG_DM_MTD selected already by MXS_NAND_DT configs

[PATCH v4 2/4] mtd: mxs_nand_dt: Move from clk_get/clk_enable to clk_bulk api

2025-05-30 Thread Michael Trimarchi
Make simple the clock registration and enable and allow later to add support for other platforms Signed-off-by: Michael Trimarchi --- Changes in v4: - None Changes in v3: - None Changes in v2: - no changes drivers/mtd/nand/raw/mxs_nand_dt.c | 48 -- 1 file

Re: [PATCH v3 1/4] clk: imx: add i.MX6UL clk driver

2025-05-30 Thread Michael Nazzareno Trimarchi
Hi On Fri, May 30, 2025 at 4:46 PM Christoph Niedermaier wrote: > > Hello, > First of all, thank you very much. Resend is not a problem. I'm doing other things in parallel, so I was not pay attention properly > From: Michael Trimarchi > Sent: Thursday, May 29, 2025 7:10 AM

[PATCH v3 3/4] mtd: nand: Add support for EDO mode 1-5 to IMX6ULL platform

2025-05-29 Thread Michael Trimarchi
The clock driver allows to boost the NAND performance controller. Make changes to let it use the new clock driver => time nand read ${loadaddr} kernel NAND read: device 0 offset 0x50, size 0x80 8388608 bytes read: OK time: 0.488 seconds Signed-off-by: Michael Trimarchi --- Chan

[PATCH v3 4/4] configs/imx6ulz_smm_m2_defconfig: Enable clock framework

2025-05-28 Thread Michael Trimarchi
Enable the clock framework on the m2 platform. This helps to increase the NAND controller performance. Signed-off-by: Michael Trimarchi --- Changes in v3: - None Changes in v2: - Ajust commit message - drop CONFIG_DM_MTD selected already by MXS_NAND_DT configs/imx6ulz_smm_m2_defconfig | 2

[PATCH v3 2/4] mtd: mxs_nand_dt: Move from clk_get/clk_enable to clk_bulk api

2025-05-28 Thread Michael Trimarchi
Make simple the clock registration and enable and allow later to add support for other platforms Signed-off-by: Michael Trimarchi --- Changes in v3: - None Changes in v2: - no changes drivers/mtd/nand/raw/mxs_nand_dt.c | 48 -- 1 file changed, 5 insertions(+), 43

[PATCH v3 1/4] clk: imx: add i.MX6UL clk driver

2025-05-28 Thread Michael Trimarchi
Add i.MX6UL clk driver for i.MX6UL CLK driver model usage Reviewed-by: Peng Fan Signed-off-by: Michael Trimarchi --- Changes in v3: - Add all uarts definition - Move OSC on top suggested - Drop an invalid clock definition - Move some pll before they are referenced Changes in v2: - None

Re: [PATCH v2 1/4] clk: imx: add i.MX6UL clk driver

2025-05-28 Thread Michael Nazzareno Trimarchi
Hi On Wed, May 28, 2025 at 8:12 PM Christoph Niedermaier wrote: > > From: U-Boot On Behalf Of Michael Trimarchi > Sent: Monday, May 26, 2025 9:48 PM > > Hello, > > > Subject: [PATCH v2 1/4] clk: imx: add i.MX6UL clk driver > > > > Add i.MX6UL clk drive

[PATCH v2] bsh: imx6ulz_smm_m2: Add imx6ulz BSH SMM M2B board

2025-05-27 Thread Michael Trimarchi
s for selective inclusion of the desired memory components. Signed-off-by: Michael Trimarchi --- Changes in v2: - Ajust commit message and kconfig - Add MAINTAINERS entry just for configuration file board/bsh/imx6ulz_smm_m2/Kconfig | 21 +++ board/bsh/imx6ulz_smm_m2/MAINTAINERS

Synced invitation: U-Boot community meeting @ Every 2 weeks from 5pm to 6pm on Tuesday (CEST) (u-boot@lists.denx.de)

2025-05-27 Thread Michael Nazzareno Trimarchi
:mailto:korg.su...@gmail.com ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE ;CN=Michael Nazzareno Trimarchi;X-NUM-GUESTS=0:mailto:michael@amarulasoluti ons.com ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP= TRUE;CN=s...@chromium.org;X-NUM-GUESTS=0

Synced invitation: U-Boot community meeting @ Every 2 weeks from 4pm to 5pm on Tuesday (CET) (u-boot@lists.denx.de)

2025-05-27 Thread Michael Nazzareno Trimarchi
:mailto:korg.su...@gmail.com ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP= TRUE;CN=Michael Nazzareno Trimarchi;X-NUM-GUESTS=0:mailto:michael@amarulaso lutions.com ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP= TRUE;CN=s...@chromium.org;X-NUM

[PATCH] bsh: imx6ulz_smm_m2: Add imx6ulz BSH SMM M2B board

2025-05-26 Thread Michael Trimarchi
s for selective inclusion of the desired memory components Signed-off-by: Michael Trimarchi --- board/bsh/imx6ulz_smm_m2/Kconfig | 21 +++ board/bsh/imx6ulz_smm_m2/Makefile | 4 +- board/bsh/imx6ulz_smm_m2/ddr3l_timing_128m.c | 1 + .../imx6ulz_smm_m2/ddr3l_timing_128m_

Re: [PATCH v2 3/4] mtd: nand: Add support for EDO mode 1-5 to IMX6ULL platform

2025-05-26 Thread Michael Nazzareno Trimarchi
Hi Fabio On Mon, May 26, 2025 at 9:58 PM Fabio Estevam wrote: > > Hi Michael, > > On Mon, May 26, 2025 at 4:48 PM Michael Trimarchi > wrote: > > > > The clock driver allows to boost the NAND performance > > controller. Make changes to let it use the new clock

[PATCH v2 4/4] configs/imx6ulz_smm_m2_defconfig: Enable clock framework

2025-05-26 Thread Michael Trimarchi
Enable the clock framework on the m2 platform. This helps to increase the NAND controller performance. Signed-off-by: Michael Trimarchi --- Changes in v2: - Ajust commit message - drop CONFIG_DM_MTD selected already by MXS_NAND_DT configs/imx6ulz_smm_m2_defconfig | 2 ++ 1 file changed, 2

[PATCH v2 3/4] mtd: nand: Add support for EDO mode 1-5 to IMX6ULL platform

2025-05-26 Thread Michael Trimarchi
The clock driver allows to boost the NAND performance controller. Make changes to let it use the new clock driver => time nand read ${loadaddr} kernel NAND read: device 0 offset 0x50, size 0x80 8388608 bytes read: OK time: 0.488 seconds Signed-off-by: Michael Trimarchi --- Chan

[PATCH v2 1/4] clk: imx: add i.MX6UL clk driver

2025-05-26 Thread Michael Trimarchi
Add i.MX6UL clk driver for i.MX6UL CLK driver model usage Reviewed-by: Peng Fan Signed-off-by: Michael Trimarchi --- Changes in v2: - Add review tag drivers/clk/imx/Kconfig | 8 ++ drivers/clk/imx/Makefile | 1 + drivers/clk/imx/clk-imx6ul.c | 270

[PATCH v2 2/4] mtd: mxs_nand_dt: Move from clk_get/clk_enable to clk_bulk api

2025-05-26 Thread Michael Trimarchi
Make simple the clock registration and enable and allow later to add support for other platforms Signed-off-by: Michael Trimarchi --- Changes in v2: - no changes drivers/mtd/nand/raw/mxs_nand_dt.c | 48 -- 1 file changed, 5 insertions(+), 43 deletions(-) diff

Re: [PATCH 3/4] mtd: nand: Add support for EDO mode 1-5 to IMX6ULL platform

2025-05-26 Thread Michael Nazzareno Trimarchi
HI Fabio On Mon, May 26, 2025 at 4:27 PM Fabio Estevam wrote: > > On Sun, May 25, 2025 at 9:33 AM Michael Trimarchi > wrote: > > > > The clock driver allow to burst the performance of the nand > > allows to boostNAND > Ok > > controller. Make change

Re: [PATCH 2/4] mtd: mxs_nand_dt: Move from clk_get/clk_enable to clk_bulk api

2025-05-26 Thread Michael Nazzareno Trimarchi
Hi Peng On Mon, May 26, 2025 at 9:42 AM Michael Nazzareno Trimarchi wrote: > > Hi Peng > > On Mon, May 26, 2025 at 9:38 AM Michael Nazzareno Trimarchi > wrote: > > > > Hi Peng > > > > On Mon, May 26, 2025 at 9:34 AM Peng Fan wrote: > > > > &g

Re: [PATCH 2/4] mtd: mxs_nand_dt: Move from clk_get/clk_enable to clk_bulk api

2025-05-26 Thread Michael Nazzareno Trimarchi
Hi Peng On Mon, May 26, 2025 at 9:34 AM Peng Fan wrote: > > On Sun, May 25, 2025 at 02:23:10PM +0200, Michael Trimarchi wrote: > >Make simple the clock registration and enable and allow later > >to add support for other platforms > > > >Signed-off-by: Michael Tri

Re: [PATCH 2/4] mtd: mxs_nand_dt: Move from clk_get/clk_enable to clk_bulk api

2025-05-26 Thread Michael Nazzareno Trimarchi
Hi Peng On Mon, May 26, 2025 at 9:38 AM Michael Nazzareno Trimarchi wrote: > > Hi Peng > > On Mon, May 26, 2025 at 9:34 AM Peng Fan wrote: > > > > On Sun, May 25, 2025 at 02:23:10PM +0200, Michael Trimarchi wrote: > > >Make simple the clock registration and e

[PATCH 1/4] clk: imx: add i.MX6UL clk driver

2025-05-25 Thread Michael Trimarchi
Add i.MX6UL clk driver for i.MX6UL CLK driver model usage Signed-off-by: Michael Trimarchi --- drivers/clk/imx/Kconfig | 8 ++ drivers/clk/imx/Makefile | 1 + drivers/clk/imx/clk-imx6ul.c | 270 +++ 3 files changed, 279 insertions(+) create mode

[PATCH 4/4] configs/imx6ulz_smm_m2_defconfig: Enable clock framework

2025-05-25 Thread Michael Trimarchi
Allow to use clock framework for the m2 platform. This allow to have better performance to nand controller Signed-off-by: Michael Trimarchi --- configs/imx6ulz_smm_m2_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/imx6ulz_smm_m2_defconfig b/configs

[PATCH 3/4] mtd: nand: Add support for EDO mode 1-5 to IMX6ULL platform

2025-05-25 Thread Michael Trimarchi
The clock driver allow to burst the performance of the nand controller. Make changes to let it use the new clock driver Signed-off-by: Michael Trimarchi --- drivers/mtd/nand/raw/mxs_nand.c| 12 drivers/mtd/nand/raw/mxs_nand_dt.c | 2 +- 2 files changed, 13 insertions(+), 1

[PATCH 2/4] mtd: mxs_nand_dt: Move from clk_get/clk_enable to clk_bulk api

2025-05-25 Thread Michael Trimarchi
Make simple the clock registration and enable and allow later to add support for other platforms Signed-off-by: Michael Trimarchi --- drivers/mtd/nand/raw/mxs_nand_dt.c | 48 -- 1 file changed, 5 insertions(+), 43 deletions(-) diff --git a/drivers/mtd/nand/raw

Re: [PATCH v2 1/4] board: bsh: imx6ulz_smm_m2: Match SPL DDR settings to DCD table

2025-05-20 Thread Michael Nazzareno Trimarchi
Hi Dario On Tue, May 20, 2025 at 5:07 PM Dario Binacchi wrote: > > From: Michael Trimarchi > > When using SPL on i.mx6 we frequently notice some DDR initialization > mismatches between the SPL code and the non-SPL code. > > As the non-SPL code have been tested for long

Re: [RFC PATCH 3/3] serial: mxc: restore booting for imx8mn_bsh_smm_s2

2025-05-17 Thread Michael Nazzareno Trimarchi
Hi On Sat, May 17, 2025 at 10:50 PM Fabio Estevam wrote: > > On Sat, May 17, 2025 at 5:46 PM Michael Nazzareno Trimarchi > wrote: > > > > I was on master except this commit > > > > > > commit 128d997a8772cc174f38d529d8b25f90b3aa8ad8 > > > Author:

Re: [RFC PATCH 3/3] serial: mxc: restore booting for imx8mn_bsh_smm_s2

2025-05-17 Thread Michael Nazzareno Trimarchi
Hi Fabio On Sat, May 17, 2025 at 10:44 PM Michael Nazzareno Trimarchi wrote: > > Hi > > On Sat, May 17, 2025 at 10:28 PM Fabio Estevam wrote: > > > > On Sat, May 17, 2025 at 5:15 PM Michael Nazzareno Trimarchi > > wrote: > > > > > Can you pl

Re: [RFC PATCH 3/3] serial: mxc: restore booting for imx8mn_bsh_smm_s2

2025-05-17 Thread Michael Nazzareno Trimarchi
Hi On Sat, May 17, 2025 at 10:28 PM Fabio Estevam wrote: > > On Sat, May 17, 2025 at 5:15 PM Michael Nazzareno Trimarchi > wrote: > > > Can you please point me to an example of a tested board? > > I have just tested the top-of-tree U-Boot on an imx8mn evk board: > >

Re: [RFC PATCH 3/3] serial: mxc: restore booting for imx8mn_bsh_smm_s2

2025-05-17 Thread Michael Nazzareno Trimarchi
Hi Fabio On Sat, May 17, 2025 at 9:56 PM Fabio Estevam wrote: > > Hi Michael, > > On Thu, May 15, 2025 at 5:12 PM Michael Nazzareno Trimarchi > wrote: > > > The serial is not up at that time so we need to buffer the error and print > > later. Right now >

[PATCH 3/3] arm: dts: imx6ulz-bsh-smm-m2: Fix reset using wdt-reboot driver

2025-05-16 Thread Michael Trimarchi
default reset_cpu()") Signed-off-by: Michael Trimarchi --- arch/arm/dts/imx6ulz-bsh-smm-m2-u-boot.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/dts/imx6ulz-bsh-smm-m2-u-boot.dtsi b/arch/arm/dts/imx6ulz-bsh-smm-m2-u-boot.dtsi index c67622821e7..faf596255f1 100644

[PATCH 2/3] configs: imx6ulz_smm_m2: Add board watchdog reset configuration

2025-05-16 Thread Michael Trimarchi
Add the configuration that allow to reset the board from reset cmd Signed-off-by: Michael Trimarchi --- configs/imx6ulz_smm_m2_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/imx6ulz_smm_m2_defconfig b/configs/imx6ulz_smm_m2_defconfig index 15a3ec5c627..436bfb78cc2

[PATCH 1/3] arm: dts: imx6ulz-bsh-smm-m2-u-boot: Drop soc node

2025-05-16 Thread Michael Trimarchi
The node is specified on the parent architecture u-boot.dtsi file Signed-off-by: Michael Trimarchi --- arch/arm/dts/imx6ulz-bsh-smm-m2-u-boot.dtsi | 4 1 file changed, 4 deletions(-) diff --git a/arch/arm/dts/imx6ulz-bsh-smm-m2-u-boot.dtsi b/arch/arm/dts/imx6ulz-bsh-smm-m2-u-boot.dtsi

Re: [RFC PATCH 3/3] serial: mxc: restore booting for imx8mn_bsh_smm_s2

2025-05-15 Thread Michael Nazzareno Trimarchi
to understand but even we need working boards > Does the failure come from clk_get_bulk() or clk_enable_bulk()? > The serial is not up at that time so we need to buffer the error and print later. Right now we are working on other fixes Michael > > Please investigate. > -- Mi

u-boot on x86

2025-05-08 Thread Michael
boot the kernel anymore (exception). At a later point i want to lock down the device with enabling the "secure boot" bios function. I have not worked with secure boot yet. I think i can only get it working with the fit images (fit signature verification)? Is this thre right implementation approch? I am grateful for any advice! Best regards, Michael

Re: [PATCH] net: fsl_enetc: fix imdio register calculation

2025-04-28 Thread Michael Walle
fset to calculation of imdio.priv to > fix this. > > Fixes: cc4e8af2c552 ("net: fsl_enetc: Split register accessors") > Signed-off-by: Thomas Schaefer > Signed-off-by: Heiko Thiery With the nitpick above: Reviewed-by: Michael Walle > --- > > But the question th

Re: [PATCH] doc: board: ti: Add optee rng support

2025-04-11 Thread Michael Walle
> > just curious: Did you have to change .configs for either? We are using the (arm64) defconfig in linux, so no. Regarding u-boot, I don't know because we are using our own config and I had to enable CONFIG_OPTEE there (as well as CONFIG_OPTEE_SERVICE_DISCOVERY, but that one is default y). -michael signature.asc Description: PGP signature

Re: [PATCH] doc: board: ti: Add optee rng support

2025-04-11 Thread Michael Walle
> https://gist.github.com/uditkumarti/5f90210b23e67cd4eb6d06a024031ee8#file-gistfile1-txt-L1970 I can confirm the TRNG will work on u-boot as well as linux. Thanks! -michael signature.asc Description: PGP signature

Re: [PATCH] tiny-printf: Handle formatting of %p with an extra Kconfig

2025-04-10 Thread Michael Walle
On Wed Apr 9, 2025 at 5:22 PM CEST, Tom Rini wrote: > On Wed, Apr 09, 2025 at 02:33:08PM +0200, Michael Walle wrote: > > Hi, > > > > > >> The formatting with %pa / %pap behaves like %x, which results in an > > > >> incorrect value being output. To imp

Re: [PATCH] tiny-printf: Handle formatting of %p with an extra Kconfig

2025-04-09 Thread Michael Walle
when needed. For SPL_NET and NET_LWIP it is selected by default. > >> Then it also supports the formatting with %pm, %pM and %pI4. > >> > >> Signed-off-by: Christoph Niedermaier > >> --- > >> Cc: Tom Rini > >> Cc: Simon Glass > >> Cc: M

Re: [PATCH v2] mtd: mtdpart: Support MTDPART_SIZ_FULL in fixed-partitions

2025-04-08 Thread Michael Nazzareno Trimarchi
} > + if (size == MTDPART_SIZ_FULL) > + size = master->size - offset; > > part.name = ofnode_read_string(child, "label"); > if (!part.name) > -- > 2.43.0 > > > Reviewed-by: Michael Tri

Re: [RESEND PATCH] clk: fix crash on clk_set_rate clean rate cache

2025-04-07 Thread Michael Nazzareno Trimarchi
Hi Il lun 7 apr 2025, 22:03 Fabio Estevam ha scritto: > On Mon, Apr 7, 2025 at 4:58 PM Michael Nazzareno Trimarchi > wrote: > > > Can you review it and pick if needed? > > This is not assigned to me in patchwork as it is not i.MX related. > > Someone else needs to h

Re: [PATCH] mtdpart: Support MTDPART_SIZ_FULL in fixed-partitions

2025-04-07 Thread Michael Nazzareno Trimarchi
n omap3 platform but please point me to some recent board if you know Michael M. > > On 25-03-2025 16:52, Mike Looijmans wrote: > > Flash partitions may specify MTDPART_SIZ_FULL (=0) as the size of the > > partition to indicate "the remainder of the flash". Make t

Re: [RESEND PATCH] clk: fix crash on clk_set_rate clean rate cache

2025-04-07 Thread Michael Nazzareno Trimarchi
> > > list_for_each_entry(child_dev, &clk->dev->child_head, > sibling_node) { > > + if (device_get_uclass_id(child_dev) != UCLASS_CLK) > > + continue; > > + > > clkp = dev_get_clk_ptr(child_dev); > > clk_clea

Re: [PATCH] tiny-printf: Add support for upper case hex values

2025-04-06 Thread Michael Walle
SUPPORT and > > > select it by NET or NET_LWIP. If someone needs it, > > > the pointer output can be enabled, otherwise '?' for > > > unsupported is output. > > > > Yeah I had a similar idea, but I'm not sure if yet another config > > symbol is worth it. That's up to the maintainer to decide :) > > > > In any case, we have a different behavior to what is printed > > right now, as we drop the fallthrough to %x. Tom? Simon? > > A Kconfig symbol that NET||NET_LWIP select seems fine, and fall through > to printing "?". Great! Christoph, will you prepare a patch or should I? -michael signature.asc Description: PGP signature

Re: U-Boot interferes with initrd binary — Revert "efi: Correct smbios-table installation" ?

2025-04-05 Thread Michael Brown
On 31/03/2025 18:31, Christian Kohlschütter wrote: Whoa! Good eyes, Michael! What is my Fritzbox doing to my initrd, and why does reverting the commit fix it? FWIW, I also have a capture with an ethernet frame from another device on my network (ARP, ethertype 0x0806), so this is probably the

Re: [PATCH 1/1] efi_loader: stop network in EXIT_BOOT_SERVICES

2025-04-05 Thread Michael Brown
o me. Thank you for fixing this! Reviewed-by: Michael Brown Thanks, Michael

Re: [PATCH] tiny-printf: Add support for upper case hex values

2025-04-04 Thread Michael Walle
it by NET or NET_LWIP. If someone needs it, > the pointer output can be enabled, otherwise '?' for > unsupported is output. Yeah I had a similar idea, but I'm not sure if yet another config symbol is worth it. That's up to the maintainer to decide :) In any case, we have a different behavior to what is printed right now, as we drop the fallthrough to %x. Tom? Simon? -michael signature.asc Description: PGP signature

Re: U-Boot interferes with initrd binary — Revert "efi: Correct smbios-table installation" ?

2025-04-04 Thread Michael Brown
he firmware (including any DMA-capable devices configured by the firmware) is not permitted to continue to write to this memory after this point. Thanks, Michael

Re: U-Boot interferes with initrd binary — Revert "efi: Correct smbios-table installation" ?

2025-04-03 Thread Michael Brown
ard guarantee that a closed device is quiescent for DMA, but it happens to be true for most drivers that I've written over the years. Thanks, Michael

Re: [PATCH] tiny-printf: Add support for upper case hex values

2025-04-02 Thread Michael Walle
past, I vaguely recall > "complaining" about it on IRC. Yes, I've stumbled on "%pa" with tiny printf (i.e. in drivers/pinctrl/pinctrl-single.c) which is printing the very wrong value, actually :) So printing anything unknown as '?' would really help here. -michael signature.asc Description: PGP signature

Re: [PATCH] tiny-printf: Add support for upper case hex values

2025-04-02 Thread Michael Walle
#endif case 'x': if (islong) { num = va_arg(va, unsigned long); @@ -310,6 +307,8 @@ static int _vprintf(struct printf_info *info, const char *fmt, va_list va) case '%': out(info, '%'); default: + out(info, '?'); break; } -michael signature.asc Description: PGP signature

Re: U-Boot interferes with initrd binary — Revert "efi: Correct smbios-table installation" ?

2025-04-01 Thread Michael Brown
On 31/03/2025 18:31, Christian Kohlschütter wrote: Whoa! Good eyes, Michael! What is my Fritzbox doing to my initrd, and why does reverting the commit fix it? FWIW, I also have a capture with an ethernet frame from another device on my network (ARP, ethertype 0x0806), so this is probably the

Re: U-Boot interferes with initrd binary — Revert "efi: Correct smbios-table installation" ?

2025-03-31 Thread Michael Brown
relate to the packet you're seeing being written into random memory locations, sorry. I'll leave it to one of the U-Boot developers to respond. Thanks, Michael

Re: [PATCH 1/3] fastboot: lift restrictions on !NET_LWIP for USB

2025-03-28 Thread Michael Walle
. Add some ifdeffery to guard against > > that. > > > > This will make fastboot over USB work with the new LWIP stack. > > > > Signed-off-by: Michael Walle > > checkpatch.pl reports some issues with this: > > $ ./scripts/checkpatch.pl --strict --u-boot --git

Re: [PATCH 15/18] mtd: rawnand: nand_base: annotate switch/case fallthrough

2025-03-28 Thread Michael Nazzareno Trimarchi
ate || !ecc->correct || !ecc->hwctl) && > (!ecc->read_page || > @@ -5027,6 +5030,7 @@ int nand_scan_tail(struct mtd_info *mtd) > ecc->size, mtd->writesize); > ecc->mode = NAND_ECC_SOFT; > > + fa

Re: [resend v2 00/19] Add Cadence NAND Driver support

2025-03-16 Thread Michael Nazzareno Trimarchi
Hi Applied and sent the pull request Would be nice to have sometime board sample to work with Michael On Wed, Mar 5, 2025 at 5:05 PM Maniyam, Dinesh wrote: > > > > > *From:* Michael Nazzareno Trimarchi > *Sent:* Wednesday, 5 March 2025 5:27 pm > *To:* Maniyam, D

Re: [PATCH v1] mtd: rawnand: meson: always use OOB bytes during write

2025-03-16 Thread Michael Nazzareno Trimarchi
- > - if (oob_required) > - meson_nfc_set_user_byte(chip, chip->oob_poi); > + meson_nfc_set_user_byte(chip, chip->oob_poi); > > return meson_nfc_write_page_sub(chip, page, false); > } > Applied and sent already the pull request Michael

Pull request for u-boot-nand-next External

2025-03-16 Thread Michael Nazzareno Trimarchi
The following changes since commit 15d6518c942f0da13f9a7ceeadbd925c3317ec8d: ARM: dts: imx: Drop bogus regulator extras on DH i.MX6 DHCOM DRC02 (2025-03-13 15:22:48 -0600) are available in the Git repository at: git://source.denx.de:u-boot/custodians/u-boot-nand-flash.git nand-next for you

Re: [RESEND PATCH] clk: fix crash on clk_set_rate clean rate cache

2025-03-15 Thread Michael Nazzareno Trimarchi
oid clk_clean_rate_cache(struct clk *clk) > clk->rate = 0; > > list_for_each_entry(child_dev, &clk->dev->child_head, > sibling_node) { > + if (device_get_uclass_id(child_dev) != UCLASS_CLK) > + continue; > + >

[PATCH 3/3] env: mmc: fix offsets relative to the end of the partition

2025-03-13 Thread Michael Walle
n. Introduce a new boolean kconfig option to switch on the "relative to the end" behavior. Signed-off-by: Michael Walle --- env/Kconfig | 42 +- env/mmc.c | 8 2 files changed, 33 insertions(+), 17 deletions(-) diff --git a/env/Kc

Re: [PATCH 3/3] env: mmc: fix offsets relative to the end of the partition

2025-03-13 Thread Michael Walle
from a '#define' to a kconfig > > option. > > > > Introduce a new boolean kconfig option to switch on the "relative to the > > end" behavior. > > > > Signed-off-by: Michael Walle > > --- > > env/Kconfig | 42 ++

Re: [PATCH 3/3] env: mmc: fix offsets relative to the end of the partition

2025-03-12 Thread Michael Walle
Sorry this should have been individual patches. Please read the subject as "[PATCH 1/1]" or just "[PATCH]". -michael

Re: [PATCH 2/3] net: lwip: remove superfluous newline at tftp help text

2025-03-12 Thread Michael Walle
Sorry this should have been individual patches. Please read the subject as "[PATCH 1/1]" or just "[PATCH]". -michael

Re: [PATCH 1/3] fastboot: lift restrictions on !NET_LWIP for USB

2025-03-12 Thread Michael Walle
Sorry this should have been individual patches. Please read the subject as "[PATCH 1/1]" or just "[PATCH]". -michael

[PATCH 2/3] net: lwip: remove superfluous newline at tftp help text

2025-03-12 Thread Michael Walle
The help text has a newline at the end which will lead to an empty line after the tftpboot when printing the help overview. Remove it. Fixes: 4d4d7838127e ("net: lwip: add TFTP support and tftpboot command") Signed-off-by: Michael Walle --- cmd/net-lwip.c | 2 +- 1 file changed, 1

[PATCH 1/3] fastboot: lift restrictions on !NET_LWIP for USB

2025-03-12 Thread Michael Walle
make fastboot over USB work with the new LWIP stack. Signed-off-by: Michael Walle --- Alternatively, we could add the defines and stub functions to the lwip header. --- cmd/fastboot.c | 4 drivers/fastboot/Kconfig | 1 - drivers/fastboot/fb_common.c | 4 3 files chang

Re: [resend v3 00/19] Add Cadence NAND Driver support

2025-03-05 Thread Michael Nazzareno Trimarchi
Hi Michael Nazzareno Trimarchi Co-Founder & Chief Executive Officer M. +39 347 913 2170 mich...@amarulasolutions.com __ Amarula Solutions BV Joop Geesinkweg 125, 1114 AB, Amsterdam, NL T. +31 (0)85 111 9172 i...@amarulasolutions.com www.amarulasolutions.com

Re: [resend v2 00/19] Add Cadence NAND Driver support

2025-03-05 Thread Michael Nazzareno Trimarchi
-nand-flash/-/commits/nand-next?ref_type=heads Michael On Wed, Feb 26, 2025 at 5:36 PM Maniyam, Dinesh wrote: > > > > -Original Message- > > From: Maniyam, Dinesh > > Sent: Wednesday, 26 February 2025 11:37 am > > To: 'Michael Nazzareno Trimarchi&#x

Re: [PATCH 01/10] clk: imx6q: Properly handle imx6qp ESPI clk_sels

2025-03-03 Thread Michael Nazzareno Trimarchi
Hi On Mon, Mar 3, 2025 at 1:54 PM Adam Ford wrote: > On Mon, Mar 3, 2025 at 6:34 AM Michael Nazzareno Trimarchi > wrote: > > > > Hi Adam > > > > On Sun, Mar 2, 2025 at 5:53 PM Adam Ford wrote: > >> > >> The ECSPI clock has the ability to se

Re: [PATCH 01/10] clk: imx6q: Properly handle imx6qp ESPI clk_sels

2025-03-03 Thread Michael Nazzareno Trimarchi
cspi_root", "pll3_60m", base + 0x38, 19, > 6)); > - > + if (clk_on_imx6qp()) { > + clk_dm(IMX6QDL_CLK_ECSPI_ROOT, > + imx_clk_divider("ecspi_root", "ecspi_sel", base + > 0x38, 19, 6)); > + } else { > +

Re: [resend v3 17/19] drivers: mtd: nand: Enabled Kconfig and Makefile for SPL_NAND_FRAMEWORK

2025-02-27 Thread Michael Nazzareno Trimarchi
Hi On Fri, Feb 28, 2025 at 5:02 AM Maniyam, Dinesh wrote: > > > > > -Original Message- > > From: Michael Nazzareno Trimarchi > > Sent: Friday, 28 February 2025 5:30 am > > To: Maniyam, Dinesh > > Cc: u-boot@lists.denx.de; Marek ; Simon > > ;

Re: [resend v3 17/19] drivers: mtd: nand: Enabled Kconfig and Makefile for SPL_NAND_FRAMEWORK

2025-02-27 Thread Michael Nazzareno Trimarchi
Some drivers require a lot of functionality from the NAND framework > + core when used in SPL. This option allows compiling the full NAND > + framework into the SPL instead of it's reduced version. > + This seems not relevant for this series and even I don't lik

Re: [resend v3 00/19] Add Cadence NAND Driver support

2025-02-26 Thread Michael Nazzareno Trimarchi
Kconfig and Makefile for SPL_NAND_FRAMEWORK hint: Use 'git am --show-current-patch=diff' to see the failed patch When you have resolved this problem, run "git am --continue". If you prefer to skip this patch, run "git am --skip" instead. To restore the original branch

Re: [PATCH v3 3/3] mtd: nand: raw: atmel: Fix pulse read timing for certain NAND flashes

2025-02-12 Thread Michael Nazzareno Trimarchi
Hi Eugen Please apply Michael On Wed, Feb 12, 2025 at 9:44 AM Eugen Hristev wrote: > > > > On 2/12/25 09:09, Alexander Dahl wrote: > > Hello, > > > > Am Wed, Oct 09, 2024 at 04:45:02AM + schrieb > > balamanikandan.gunasun...@microchip.com: > >&

[PATCH v3] board: nuvoton: use an event to replace last_stage_init()

2025-02-09 Thread Michael Chang
Add a new event which handles this function refer to commit ("91caa3bb89b1 event: Use an event to replace last_stage_init()") Signed-off-by: Michael Chang Reviewed-by: Tom Rini --- board/nuvoton/arbel_evb/arbel_evb.c | 7 ++- board/nuvoton/common/uart.c | 7 --- boa

[PATCH v2] board: nuvoton: use an event to replace last_stage_init()

2025-02-07 Thread Michael Chang
Add a new event which handles this function refer commit ("91caa3bb89b1 event: Use an event to replace last_stage_init()") Signed-off-by: Michael Chang --- board/nuvoton/arbel_evb/arbel_evb.c | 7 ++- board/nuvoton/common/uart.c | 7 --- board/nuvoton/common/uart.h

[PATCH v1] board: nuvoton: use an event to replace last_stage_init()

2025-02-05 Thread Michael Chang
Add a new event which handles this function refer commit id 91caa3bb89b112a1421ee2ee3661baf67c64bab9. Signed-off-by: Michael Chang --- board/nuvoton/arbel_evb/arbel_evb.c | 5 - board/nuvoton/poleg_evb/poleg_evb.c | 5 - configs/arbel_evb_defconfig | 1 - configs

[PATCH v1] net: designware: support phy io micro voltage setting.

2025-02-04 Thread Michael Chang
Support phy io micro voltage setting for NPCM8XX rgmii interface. Signed-off-by: Michael Chang --- drivers/net/designware.c | 12 1 file changed, 12 insertions(+) diff --git a/drivers/net/designware.c b/drivers/net/designware.c index 94d8f1b4c0..0a1fff3872 100644 --- a/drivers/net

Re: [PATCH v4] usb: gadget: g_dnl: Fix NULLPTR dereference when serial# is unset

2025-01-28 Thread Michael
Are there any other action items I should take care of? On Tue, Jan 28, 2025 at 3:40 AM Mattijs Korpershoek wrote: > > Hi Michael, > > Thank you for the patch. > > On lun., janv. 27, 2025 at 21:09, Michael Ferolito > wrote: > > > The current behaviour of this fu

[PATCH v4] usb: gadget: g_dnl: Fix NULLPTR dereference when serial# is unset

2025-01-27 Thread Michael Ferolito
still read from address 0, which is probably not optimal. This simple check is enough to fix it Signed-off-by: Michael Ferolito Cc: Marek Vasut Cc: Heiko Schocher Cc: Kyungmin Park --- drivers/usb/gadget/g_dnl.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/usb

[PATCH v3] usb: gadget: g_dnl: Fix NULLPTR dereference

2025-01-27 Thread Michael Ferolito
still read from address 0, which is probably not optimal. This simple check is enough to fix it Signed-off-by: Michael Ferolito Cc: Marek Vasut Cc: Heiko Schocher Cc: Kyungmin Park --- drivers/usb/gadget/g_dnl.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/usb

[PATCH v2] USB: Fix NULLPTR dereference when serial# is unset

2025-01-27 Thread Michael Ferolito
still read from address 0, which is probably not optimal. This simple check is enough to fix it Signed-off-by: Michael Ferolito Cc: Marek Vasut Cc: Heiko Schocher Cc: Kyungmin Park --- drivers/usb/gadget/g_dnl.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/usb

Re: [PATCH] USB: Fix NULLPTR dereference when serial# is unset

2025-01-27 Thread Michael
2025 at 3:58 PM Marek Vasut wrote: > > On 1/27/25 10:07 PM, Michael Ferolito wrote: > > The current behaviour of this function will dereference a null pointer > > if the serial# environment variable is unset. This was discovered on a > > board where U-Boot did not have access

[PATCH] USB: Fix NULLPTR dereference when serial# is unset

2025-01-27 Thread Michael Ferolito
still read from address 0, which is probably not optimal. This simple check is enough to fix it. Signed-off-by: Michael Ferolito Cc: Marek Vasut Cc: Heiko Schocher Cc: Lukasz Majewski Cc: Kyungmin Park --- drivers/usb/gadget/g_dnl.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff

Re: [resend v2 00/19] Add Cadence NAND Driver support

2025-01-25 Thread Michael Nazzareno Trimarchi
Hi Dinesh On Tue, Jan 21, 2025 at 9:39 AM Maniyam, Dinesh wrote: > > Hi Michael, > > Any update on my NAND patchset ?. I can see it is still under review. > Is there anything I can do from my side to speed up the review process? > Thanks for your time. > Well, last time wa

Re: [PATCH] fs: ubifs: Remove unnecessary assignment

2025-01-24 Thread Michael Nazzareno Trimarchi
_info *c, int lnum, > void ubifs_end_scan(const struct ubifs_info *c, struct ubifs_scan_leb *sleb, > int lnum, int offs) > { > - lnum = lnum; > dbg_scan("stop scanning LEB %d at offset %d", lnum, offs); > ubifs_assert(offs % c-

[PATCH v4 2/3] ARM: configs: nuvoton: add bitbang feature for npcm8xx.

2025-01-17 Thread Michael Chang
Enable bitbang and multiple bitbang feature for npcm8xx platform. Signed-off-by: Jim Liu Signed-off-by: Michael Chang --- configs/arbel_evb_defconfig | 4 1 file changed, 4 insertions(+) diff --git a/configs/arbel_evb_defconfig b/configs/arbel_evb_defconfig index 4a58146e61..c93fa34eb5

[PATCH v4 3/3] net: designware: Add bitbang feature for designware driver.

2025-01-17 Thread Michael Chang
Add bb_miiphy_bus function for designware bitbang feature. Signed-off-by: Jim Liu Signed-off-by: Michael Chang --- drivers/net/designware.c | 113 +++ drivers/net/designware.h | 6 ++- 2 files changed, 118 insertions(+), 1 deletion(-) diff --git a/drivers

[PATCH v4 1/3] ARM: dts: nuvoton: Add bitbang delay through dts properties.

2025-01-17 Thread Michael Chang
Add bitbang delay through dts properties. Signed-off-by: Jim Liu Signed-off-by: Michael Chang --- arch/arm/dts/nuvoton-npcm845-evb.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/dts/nuvoton-npcm845-evb.dts b/arch/arm/dts/nuvoton-npcm845-evb.dts index 0d3aaa0fff..1535defe38

  1   2   3   4   5   6   7   8   9   10   >