Re: [PATCH v2 2/3] part: efi: add GPT PTE cache used with part_get_info_cached() API

2025-04-16 Thread Ilias Apalodimas
Hi Neil, On Tue, 8 Apr 2025 at 12:13, Neil Armstrong wrote: > > Implement a simple cache for part_efi to be used by the newly > introduced part_get_info_cached() API. > > The cache simply stores a successfully scanned GPT PTE if called > from the part_get_info_cached() ops, and will return the c

RE: [resend v3 00/12] Add Synopsys MIPI I3C Driver support

2025-04-16 Thread Maniyam, Dinesh
> -Original Message- > From: Tom Rini > Sent: Friday, 11 April 2025 10:53 pm > To: Maniyam, Dinesh > Cc: u-boot@lists.denx.de; Marek ; Simon > ; Simon Glass ; Dario > Binacchi ; Ilias Apalodimas > ; Heinrich Schuchardt ; > Jerome Forissier ; Mattijs Korpershoek > ; Ibai Erkiaga ; > Mic

[resend v4 00/12] Add Synopsys MIPI I3C Driver support

2025-04-16 Thread dinesh . maniyam
From: Dinesh Maniyam This patchset add Synopsys MIPI I3C Driver support for Intel Agilex5 devices. The i3c driver is leveraged from the master/dw-i3c-master.c, i3c/device.c and i3c/master.c Linux version 6.6.37 LTS And few header files included to be part of the migration; i3c/internals.h, inclu

[resend v4 11/12] configs: sandbox_defconfig: Enable configs for sandbox i3c

2025-04-16 Thread dinesh . maniyam
From: Dinesh Maniyam Enable configs for sandbox i3c. Signed-off-by: Dinesh Maniyam --- configs/sandbox_defconfig | 4 1 file changed, 4 insertions(+) diff --git a/configs/sandbox_defconfig b/configs/sandbox_defconfig index 861a1f4cd90..ba98cb0ae99 100644 --- a/configs/sandbox_defconfig +

[resend v4 12/12] configs: agilex5_defconfig: Enable i3c configs for agilex5

2025-04-16 Thread dinesh . maniyam
From: Dinesh Maniyam Enable configs for i3c in agilex5. Signed-off-by: Dinesh Maniyam --- configs/socfpga_agilex5_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/socfpga_agilex5_defconfig b/configs/socfpga_agilex5_defconfig index 8577ac610c2..87febc9f4ce 100644 --- a/

[resend v4 09/12] cmd: Add i3c command support.

2025-04-16 Thread dinesh . maniyam
From: Dinesh Maniyam Add i3c command file to support select, get i3c device target list, read and write operation. Signed-off-by: Dinesh Maniyam --- cmd/Kconfig| 6 + cmd/Makefile | 1 + cmd/i3c.c | 193

[resend v4 07/12] drivers: i3c: master: Enable probe i3c without slave device

2025-04-16 Thread dinesh . maniyam
From: Dinesh Maniyam Picked linux i3c driver upstraming patch to fix the issue to probe for i3c controller without slave device attached. With this fix, the ret check will be on command error and will success without slave device attached. Signed-off-by: Dinesh Maniyam --- drivers/i3c/master.c

[resend v4 06/12] drivers: i3c: Add i3c sandbox simple test.

2025-04-16 Thread dinesh . maniyam
From: Dinesh Maniyam Add s simple test for the I3C uclass in sandbox. Signed-off-by: Dinesh Maniyam --- arch/sandbox/dts/test.dts | 8 ++ drivers/i3c/Kconfig | 6 + drivers/i3c/Makefile | 1 + drivers/i3c/sandbox_i3c.c | 56 +++ test/dm

[resend v4 05/12] drivers: i3c: Enabled Kconfig and Makefile for DWI3C

2025-04-16 Thread dinesh . maniyam
From: Dinesh Maniyam Enable the Kconfig and Makefile for the MIPI DWI3C driver. Signed-off-by: Dinesh Maniyam --- drivers/i3c/Kconfig | 5 + drivers/i3c/Makefile| 1 + drivers/i3c/master/Kconfig | 11 +++ drivers/i3c/master/Makefile | 3 +++ 4 files changed, 20

[resend v4 04/12] drivers: Enabled Kconfig and Makefile for i3c support

2025-04-16 Thread dinesh . maniyam
From: Dinesh Maniyam Add new i3c driver to U-Boot drivers. Signed-off-by: Dinesh Maniyam --- MAINTAINERS | 7 +++ drivers/Kconfig | 2 ++ drivers/Makefile | 1 + drivers/i3c/Kconfig | 16 drivers/i3c/Makefile | 3 +++ 5 files changed, 29 insertions(+

[resend v4 03/12] drivers: i3c: Add i3c uclass driver.

2025-04-16 Thread dinesh . maniyam
From: Dinesh Maniyam Enable i3c general uclass driver. This uclass driver will have genaral read and write api to call the specific i3c driver. Signed-off-by: Dinesh Maniyam --- drivers/i3c/i3c-uclass.c | 38 include/dw-i3c.h | 1 + include/i3c.h|

[resend v4 01/12] drivers: i3c: Add new i3c uclass id

2025-04-16 Thread dinesh . maniyam
From: Dinesh Maniyam Add i3c general uclass id. Signed-off-by: Dinesh Maniyam --- include/dm/uclass-id.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/dm/uclass-id.h b/include/dm/uclass-id.h index 270088ad94f..1d259b439ff 100644 --- a/include/dm/uclass-id.h +++ b/include/dm/uclas

Re: [PATCH v2 0/2] Change DRAM message and add RAM doc

2025-04-16 Thread Francis, Neha
Hi Alexander, Tom On 4/16/2025 7:22 PM, Tom Rini wrote: > On Wed, Apr 16, 2025 at 09:39:07AM +0200, Alexander Dahl wrote: >> Hello Tom, >> >> Am Wed, Apr 09, 2025 at 07:46:16PM -0600 schrieb Tom Rini: >>> On Wed, 19 Mar 2025 19:33:25 +0530, Neha Malcom Francis wrote: >>> This short series is

[PATCH v2 3/3] buildman: unit test for configuration fragments

2025-04-16 Thread Heinrich Schuchardt
Check that configuration fragments provided to buildman as comma separated list are passed on to the make command of the builder. In the %_defconfig: target of scripts/kconfig/Makefile the defconfig file and the fragments are combined via the gcc preprocessor. Modeling this step in the buildman te

Re: [PATCH v2 2/3] sunxi: add "fake" FEL pin support

2025-04-16 Thread Yixun Lan
Hi Andre, On 03:39 Thu 17 Apr , Yixun Lan wrote: > Hi Andre, > > On 01:05 Thu 17 Apr , Andre Przywara wrote: > > Some boards with Allwinner SoCs feature a "FEL" key, sometimes also > > labelled "uboot", which triggers the BootROM FEL mode, when pressed upon > > power-on or reset. This all

Re: [PATCH v2 2/3] sunxi: add "fake" FEL pin support

2025-04-16 Thread Yixun Lan
Hi Andre, On 01:05 Thu 17 Apr , Andre Przywara wrote: > Some boards with Allwinner SoCs feature a "FEL" key, sometimes also > labelled "uboot", which triggers the BootROM FEL mode, when pressed upon > power-on or reset. This allows to access the SoC's memory via USB OTG, > and to upload and ex

[PATCH v2 1/3] buildman: allow specifying configuration fragments

2025-04-16 Thread Heinrich Schuchardt
Currently we are no able to build with configuration fragments in our CI. With this patch buildman gets a new argument --fragments for passing a comma separated list of configuration fragments to add to the board defconfigs, e.g. tools/buildman/buildman \ -o build \ -k qemu-riscv64_smo

[PATCH v2 2/3] doc/buildman: describe using fragments

2025-04-16 Thread Heinrich Schuchardt
Describe the new --fragments parameter Signed-off-by: Heinrich Schuchardt --- v2: new patch --- tools/buildman/buildman.rst | 22 ++ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/tools/buildman/buildman.rst b/tools/buildman/buildman.rst index 07ecc5c

[u-boot-test-hooks PATCH 2/2] ellemere: Add qemu_arm/64_spl board

2025-04-16 Thread Simon Glass
These are similar to the existing qemu_arm/64 targets, except that the 'bios' is image.bin (containing both SPL and U-Boot) rather than in u-boot.bin They will be used for testing standard passage on QEMU Signed-off-by: Simon Glass --- bin/ellesmere/conf.qemu_arm64_spl_na | 1 + bin/ellesmere/

Re: [PATCH] watchdog: qcom: introduce qcom-wdt driver

2025-04-16 Thread Paul Sajna
Thanks for the feedback, I'll try to circle back to it in a few days, perhaps on the weekend. Original Message On 4/14/25 12:24 AM, Neil Armstrong wrote: > Hi, > > On 13/04/2025 12:12, Paul Sajna wrote: > > From: Caleb Connolly > > > > Some Qualcomm device vendors dec

[PATCH v2 0/3] sunxi: add "fake" FEL button feature

2025-04-16 Thread Andre Przywara
Some boards with Allwinner SoCs feature a "FEL" key, sometimes also labelled "uboot", which allows to easily enter the BootROM FEL mode, when pressed upon power-on or reset. This allows to access the USB-OTG boot protocol, for convenient access to memory and uploading code. Add a software emulatio

Re: [REGRESSION] Re: [PATCH v2 16/24] clk: imx: Convert clock-osc-* back to osc_*

2025-04-16 Thread Marek Vasut
On 4/17/25 1:35 AM, Adam Ford wrote: [...] if (!parent) @@ -113,6 +114,9 @@ int clk_mux_fetch_parent_index(struct clk *clk, struct clk *parent) for (i = 0; i < mux->num_parents; i++) { if (!strcmp(parent->dev->name, mux->parent_names[i]))

[PATCH v2 1/3] sunxi: fix return_to_fel() prototype

2025-04-16 Thread Andre Przywara
In some sys_proto header file we describe the prototype of the return_to_fel() function, which is implemented in assembly. The order of the arguments listed there is wrong: the stack pointer is expected in r0/w0, and the return address in r1/w1. Fix the order to match the code. This is purely cosm

Re: [REGRESSION] Re: [PATCH v2 16/24] clk: imx: Convert clock-osc-* back to osc_*

2025-04-16 Thread Fabio Estevam
On Wed, Apr 16, 2025 at 8:58 PM Fabio Estevam wrote: > What do you think about registering the osc clocks like this? > > https://paste.debian.net/1369857/ With this patch, "ums 0 mmc 1" works on the imx8mp-evk.

Re: [PATCH 5/5] sunxi: h6/h616: Reuse common DRAM infrastructure

2025-04-16 Thread Andre Przywara
On Wed, 16 Apr 2025 18:30:43 +0200 Jernej Škrabec wrote: > Dne sreda, 16. april 2025 ob 01:40:04 Srednjeevropski poletni čas je Andre > Przywara napisal(a): > > On Fri, 11 Apr 2025 18:14:39 +0200 > > Jernej Skrabec wrote: > > > > Hi Jernej, > > > > > H616 rank and size detection code is sup

[PATCH v2 3/3] sunxi: x96_mate: Add "fake" FEL key definition

2025-04-16 Thread Andre Przywara
The X96 Mate TV box features a hidden button behind the earphone jack, which can be reached with a non-conductive tools like a toothpick. On the vendor firmware, holding this button during reset or power on triggers the BootROM FEL mode, though it's not an hardware FEL button, but a feature of Allw

[PATCH v2 2/3] sunxi: add "fake" FEL pin support

2025-04-16 Thread Andre Przywara
Some boards with Allwinner SoCs feature a "FEL" key, sometimes also labelled "uboot", which triggers the BootROM FEL mode, when pressed upon power-on or reset. This allows to access the SoC's memory via USB OTG, and to upload and execute code. There is a tool to upload our U-Boot image and immediat

Re: [REGRESSION] Re: [PATCH v2 16/24] clk: imx: Convert clock-osc-* back to osc_*

2025-04-16 Thread Fabio Estevam
On Wed, Apr 16, 2025 at 8:47 PM Marek Vasut wrote: > You are not supposed to use "clock-output-names" for clock look up. > You are supposed to use "clocks"/"clock-names" DT properties and then > resolve the remote clock from information in those. What do you think about registering the osc clock

Re: [PATCH] clk: imx: Finish converting clock-osc-24 back to osc_24

2025-04-16 Thread Fabio Estevam
Hi Adam, On Wed, Apr 16, 2025 at 7:12 PM Adam Ford wrote: > > The UART clocks were added around the same time some other clock > updates were happening, so converting clock-osc-24 back to osc_24 > was missed on the UART clocks for imx8mm and imx8mn, so update > them here. > > Fixes: b4734c9c333b

Re: [REGRESSION] Re: [PATCH v2 16/24] clk: imx: Convert clock-osc-* back to osc_*

2025-04-16 Thread Adam Ford
On Wed, Apr 16, 2025 at 9:19 AM Christoph Niedermaier wrote: > > From: Francesco Dolcini > Sent: Wednesday, April 16, 2025 11:27 AM > > On Tue, Apr 15, 2025 at 02:13:30PM -0300, Fabio Estevam wrote: > >> On Tue, Apr 15, 2025 at 1:55 PM Marek Vasut wrote: > >>> Do you have af9cdd1ccd2d ("Revert "

Re: [REGRESSION] Re: [PATCH v2 16/24] clk: imx: Convert clock-osc-* back to osc_*

2025-04-16 Thread Adam Ford
On Wed, Apr 16, 2025 at 5:34 PM Adam Ford wrote: > > On Wed, Apr 16, 2025 at 9:19 AM Christoph Niedermaier > wrote: > > > > From: Francesco Dolcini > > Sent: Wednesday, April 16, 2025 11:27 AM > > > On Tue, Apr 15, 2025 at 02:13:30PM -0300, Fabio Estevam wrote: > > >> On Tue, Apr 15, 2025 at 1:5

[u-boot-test-hooks PATCH 1/2] travis-ci: Add qemu_arm/64_spl board

2025-04-16 Thread Simon Glass
These are similar to the existing qemu_arm/64 targets, except that the 'bios' is image.bin (containing both SPL and U-Boot) rather than in u-boot.bin Signed-off-by: Simon Glass --- bin/travis-ci/conf.qemu_arm64_spl_na | 32 bin/travis-ci/conf.qemu_arm_spl_na | 31

[PATCH v2 0/3] buildman: allow specifying configuration fragments

2025-04-16 Thread Heinrich Schuchardt
Currently we are no able to build with configuration fragments in our CI. With this patch buildman gets a new argument --fragments for passing a comma separated list of configuration fragments to add to the board defconfigs. v2: add documentation and a unit test Heinrich Schuchardt (3):

Re: [PATCH v6 05/12] power-domain: Add refcounting

2025-04-16 Thread Miquel Raynal
On 16/04/2025 at 16:20:06 +03, Wadim Egorov wrote: > Am 16.04.25 um 12:50 schrieb Neha Malcom Francis: >> Hi Miquel >> On 16/04/25 14:36, Miquel Raynal wrote: >>> Hello, >>> >> -int power_domain_on(struct power_domain *power_domain) >> +int power_domain_on_lowlevel(struct power_domain *po

[PATCH] clk: imx: Finish converting clock-osc-24 back to osc_24

2025-04-16 Thread Adam Ford
The UART clocks were added around the same time some other clock updates were happening, so converting clock-osc-24 back to osc_24 was missed on the UART clocks for imx8mm and imx8mn, so update them here. Fixes: b4734c9c333b ("clk: imx: Convert clock-osc-* back to osc_*") Signed-off-by: Adam Ford

Re: [PATCH v1 0/4] k3: migrate SPL_TEXT_BASE to new address

2025-04-16 Thread Nishanth Menon
On 11:38-20250416, Andrew Davis wrote: > > > > How about u-boot documentation? > > > > > > I will update that in the next revision along with any feedback I > > > receive on this patch. > > > > IMHO, This change is too intrusive and

Re: [PATCH 2/3] usb: host: ehci-msm: Register ChipIdea UDC from glue wrapper

2025-04-16 Thread Stephan Gerhold
On Sat, Apr 12, 2025 at 07:40:03PM +, Sam Day wrote: > When CONFIG_DM_USB_GADGET is enabled, the CI UDC driver needs to be > explicitly bound. So we do this from the newly introduced glue driver. > > Signed-off-by: Sam Day > --- > drivers/usb/host/ehci-msm.c | 7 +++ > 1 file changed, 7

Re: [PATCH 3/3] qcom_defconfig: Enable MSM8916 USB PHY + ChipIdea UDC

2025-04-16 Thread Stephan Gerhold
On Sat, Apr 12, 2025 at 07:40:11PM +, Sam Day wrote: > Now that the ChipIdea UDC driver supports USB Gadget driver model, we > can enable it alongside the dwc3 generic driver. > > Signed-off-by: Sam Day > --- > configs/qcom_defconfig | 6 ++ > 1 file changed, 6 insertions(+) > > diff --

Re: [PATCH 1/3] usb: udc: ci: support USB gadget driver model

2025-04-16 Thread Stephan Gerhold
On Sat, Apr 12, 2025 at 07:39:57PM +, Sam Day wrote: > When CONFIG_DM_USB_GADGET is enabled, a UCLASS_USB_GADGET_GENERIC driver > will be defined that wraps the ChipIdea UDC operations. The > (dm_)?usb_gadget_.* symbols will no longer be defined (as these are now > handled by the UDC uclass). >

Re: [PATCH v1 0/4] k3: migrate SPL_TEXT_BASE to new address

2025-04-16 Thread Andrew Davis
On 4/16/25 10:05 AM, Nishanth Menon wrote: On 19:18-20250416, Anshul Dalal wrote: On Wed Apr 16, 2025 at 4:54 PM IST, Nishanth Menon wrote: On 13:00-20250416, Anshul Dalal wrote: The change to ATF's PRELOADED_BL33_BASE[1] requires respective changes to SPL_TEXT_BASE on u-boot side. Th

Re: [PATCH 5/5] sunxi: h6/h616: Reuse common DRAM infrastructure

2025-04-16 Thread Jernej Škrabec
Dne sreda, 16. april 2025 ob 01:40:04 Srednjeevropski poletni čas je Andre Przywara napisal(a): > On Fri, 11 Apr 2025 18:14:39 +0200 > Jernej Skrabec wrote: > > Hi Jernej, > > > H616 rank and size detection code is superior to the H6. Nevertheless, > > they are structurally the same. Split func

[PATCH v2 3/3] riscv: Provide __image_copy_{start_end} symbols in linkerscript

2025-04-16 Thread Yao Zi
Binman looks for __image_copy_start to determine the base address of an entry if elf-base-sym isn't specified, which is missing in RISC-V port. This causes binman skips RISC-V SPL entries without filling addresses into its .binman_sym_table section. This patch defines __image_copy_start in linkers

[PATCH v2 2/3] riscv: dts: starfive: Prevent binman from relocating symbols in SPL

2025-04-16 Thread Yao Zi
SPL and proper U-Boot are split into two images with default binman configuration of StarFive VisionFive 2, thus proper U-Boot symbols cannot be found in the SPL image. This fixes errors like Section '/binman/spl-img': Symbol '_binman_u_boot_any_prop_size' in entry '/binman/spl-img/mkimage/u

[PATCH v2 1/3] riscv: dts: binman.dtsi: Switch to u-boot-nodtb entry for proper U-Boot

2025-04-16 Thread Yao Zi
Switch to u-boot-nodtb entry which precisely represents a proper U-Boot and could be matched with u_boot_any. This allows RISC-V ports that make use of binman to be built without disabling SPL_BINMAN_UBOOT_SYMBOLS explicitly, which is set to y by default. Fixes: 0784510f741 ("riscv: sifive: unleas

[PATCH v2 0/3] Fix binman_sym functionality on RISC-V port

2025-04-16 Thread Yao Zi
It's found that BINMAN_SYMBOLS_OK always evaluates to false on RISC-V, because our linkerscripts don't define symbol __image_copy_start, on which binman depends for determining the base address of an entry. Binman simply bails out in case of missing the symbol. This series contains three main chan

Re: [u-boot-test-hooks][PATCH] Add support for FVP emulator and fiptool

2025-04-16 Thread Harrison Mutai
On 15/04/2025 22:50, Tom Rini wrote: This adds support for the vexpress_fvp platforms. In order to do that we need to add support for calling fiptool to update an existing "fip" file with our U-Boot build. We also need to support launching the FVP emulator itself. This is a little tricky in that

Re: [PATCH v2] tools/make_pip: Use venv when invoking pip

2025-04-16 Thread Quentin Schulz
Hi Mattijs, On 4/16/25 5:06 PM, Mattijs Korpershoek wrote: On mer., avril 16, 2025 at 16:26, Quentin Schulz wrote: Hi Mattijs, On 4/16/25 4:21 PM, Mattijs Korpershoek wrote: Hi Quentin, Thank you for the review. On mer., avril 16, 2025 at 14:47, Quentin Schulz wrote: Hi Mattijs, On

Re: [PATCH v2] tools/make_pip: Use venv when invoking pip

2025-04-16 Thread Mattijs Korpershoek
On mer., avril 16, 2025 at 16:26, Quentin Schulz wrote: > Hi Mattijs, > > On 4/16/25 4:21 PM, Mattijs Korpershoek wrote: >> Hi Quentin, >> >> Thank you for the review. >> >> On mer., avril 16, 2025 at 14:47, Quentin Schulz >> wrote: >> >>> Hi Mattijs, >>> >>> On 4/16/25 2:36 PM, Mattijs Kor

Re: [PATCH v1 0/4] k3: migrate SPL_TEXT_BASE to new address

2025-04-16 Thread Nishanth Menon
On 19:18-20250416, Anshul Dalal wrote: > On Wed Apr 16, 2025 at 4:54 PM IST, Nishanth Menon wrote: > > On 13:00-20250416, Anshul Dalal wrote: > >> The change to ATF's PRELOADED_BL33_BASE[1] requires respective changes to > >> SPL_TEXT_BASE on u-boot side. This is ne

Re: [PATCH v3] mach-k3: common_fdt: Move carveout struct

2025-04-16 Thread Bryan Brattlof
On April 15, 2025 thus sayeth Daniel Schultz: > Labels are not allowed before declarations. Move the carveout struct > at the beginning and only update 'end' at this point. > > This will fix following error: > > arch/arm/mach-k3/common_fdt.c: In function 'fdt_fixup_reserved': > arch/arm/mach-k3/c

Re: [PATCH v2] tools/make_pip: Use venv when invoking pip

2025-04-16 Thread Quentin Schulz
Hi Mattijs, On 4/16/25 4:21 PM, Mattijs Korpershoek wrote: Hi Quentin, Thank you for the review. On mer., avril 16, 2025 at 14:47, Quentin Schulz wrote: Hi Mattijs, On 4/16/25 2:36 PM, Mattijs Korpershoek wrote: Recent Ubuntu versions (24.04+) disallow pip by default when installing pack

Re: [PATCH v2] tools/make_pip: Use venv when invoking pip

2025-04-16 Thread Mattijs Korpershoek
Hi Quentin, Thank you for the review. On mer., avril 16, 2025 at 14:47, Quentin Schulz wrote: > Hi Mattijs, > > On 4/16/25 2:36 PM, Mattijs Korpershoek wrote: >> Recent Ubuntu versions (24.04+) disallow pip by default when >> installing packages. The recommended approach is to use a virtual >>

RE: [REGRESSION] Re: [PATCH v2 16/24] clk: imx: Convert clock-osc-* back to osc_*

2025-04-16 Thread Christoph Niedermaier
From: Francesco Dolcini Sent: Wednesday, April 16, 2025 11:27 AM > On Tue, Apr 15, 2025 at 02:13:30PM -0300, Fabio Estevam wrote: >> On Tue, Apr 15, 2025 at 1:55 PM Marek Vasut wrote: >>> Do you have af9cdd1ccd2d ("Revert "arm64: dts: imx8mn: Include 32kHz >>> oscillator clock in SPL DTs"") in pl

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

2025-04-16 Thread Tom Rini
On Thu, 10 Apr 2025 18:57:46 +0530, Udit Kumar wrote: > J722S has hw rng, which can be used by OPTEE. > So remove option to use SW TRNG by OPTEE. > > Applied to u-boot/master, thanks! [1/1] doc: board: ti: Add optee rng support commit: a8baac546fd9bfbf3f36af3d35b5a284a9664f4c -- Tom

Re: [PATCH] board: phytec: common: Fix phytec_get_product_name()

2025-04-16 Thread Tom Rini
On Tue, 08 Apr 2025 09:17:10 +0200, Primoz Fiser wrote: > Currently, phytec_get_product_name() function only takes care of PCM > SoM type, however in case of PCL, KSM or KSP SoM type it will return > error: > > phytec_get_product_name: Invalid SOM type > > Add support for other SoM types as de

Re: [PATCH] mailmap: update my name and email

2025-04-16 Thread Tom Rini
On Tue, 15 Apr 2025 18:24:08 +0200, Casey Connolly wrote: > Update my name and email address > > Applied to u-boot/master, thanks! [1/1] mailmap: update my name and email commit: 5b4ae0f3f040908602c80908c3023b5454883d4a -- Tom

Re: [PATCH] spin_table: add missing header for ENODEV and ENOSPC symbols

2025-04-16 Thread Tom Rini
On Thu, 10 Apr 2025 11:28:50 +0200, yan wang wrote: > Add the necessary header as is removed > > Applied to u-boot/master, thanks! [1/1] spin_table: add missing header for ENODEV and ENOSPC symbols commit: 3bf5e4411acca17c58b83913c150f00992ecf942 -- Tom

Re: [PATCH] buildman: Update to grabbing gcc-14.2.0 toolchains by default

2025-04-16 Thread Tom Rini
On Fri, 11 Apr 2025 11:04:06 -0600, Tom Rini wrote: > With the switch to using GCC 14.2.0 in commit 001bac5f16ad ("Dockerfile: > Update to gcc-14.2.0 and clang-18") in CI, we should make buildman match > this. > > Applied to u-boot/master, thanks! [1/1] buildman: Update to grabbing gcc-14.2.0

Re: [PATCH RESEND] firmware: scmi: support to manage SCMI protocol drivers with a linker-genetated array

2025-04-16 Thread Tom Rini
On Wed, 09 Apr 2025 15:53:51 +0800, Alice Guo (OSS) wrote: > U_BOOT_SCMI_PROTO_DRIVER macro is used to add a SCMI protocol driver to > scmi_proto_driver list. scmi_proto_driver_get() function can be used to > match a SCMI protocol id and its driver. > > Applied to u-boot/master, thanks! [1/1]

Re: [PATCH v2] common: Add CONFIG_SKIP_RELOCATE

2025-04-16 Thread Tom Rini
On Wed, 09 Apr 2025 14:08:33 -0400, Jesse Taube wrote: > Add a check for CONFIG_SKIP_RELOCATE in reserve_uboot to skip the > relocation of the U-Boot image. > CONFIG_SKIP_RELOCATE skips relocation of U-Boot to the end of RAM > allowing for systems that have extremely limited RAM to run U-Boot. >

Re: [PATCH] arm: mach-k3: am62ax: fix MCU_CLKOUT0 parent clock mux

2025-04-16 Thread Tom Rini
On Wed, 09 Apr 2025 13:25:00 -0500, Bryan Brattlof wrote: > Much like what was fixed on the AM62x and AM62Px platforms[0]. The > CU_CLKOUT0 has two (25mhz and 50mhz) mux options however the clock > structure incorrectly duplicated the first 50mhz option twice. Fix this > for the AM62A platforms so

Re: [PATCH v1 1/1] include: configs: Adds support for AM335x ICE PRUSS mode

2025-04-16 Thread Tom Rini
On Thu, 10 Apr 2025 12:29:55 +0530, Parvathi Pudi wrote: > On the AM3359 ICE we have two modes of operation CPSW mode or PRU-ICSS > mode. > > For PRU-ICSS mode, connect Pin2 and Pin3 of J18 and J19 and for CPSW mode, > connect Pin1 and Pin2 of J18 and J19. > > This patch adds support for PRUSS m

Re: [PATCH] tools/make_pip: Use virtualenv when invoking pip

2025-04-16 Thread Tom Rini
On Wed, Apr 16, 2025 at 02:38:00PM +0200, Mattijs Korpershoek wrote: > On mer., avril 16, 2025 at 10:25, Mattijs Korpershoek > wrote: > > > Hi Tom, > > > > On mar., avril 15, 2025 at 11:59, Tom Rini wrote: > > > >> On Wed, Apr 09, 2025 at 09:46:34AM +0200, Mattijs Korpershoek wrote: > >> > >>>

[PATCH v1 2/2] configs: enable CONFIG_UNIT_TEST for all qemu* generic targets

2025-04-16 Thread Jerome Forissier
The qemu* "generic" targets (i.e. not those emulating a particular board) are typically used for testing as many features as possible, especially in CI so it makes sense to have UNIT_TEST enabled for all of the defconfigs for these targets. Not enabling UNIT_TEST in qemu-x86_defconfig due to:

[PATCH v1 1/2] test: run some test commands only if HUSH_PARSER is enabled

2025-04-16 Thread Jerome Forissier
Some test commands (such as "false", or the empty string) need CONFIG_HUSH_PARSER=y. Fix test/cmd/command.c. Signed-off-by: Jerome Forissier --- test/cmd/command.c | 31 --- 1 file changed, 16 insertions(+), 15 deletions(-) diff --git a/test/cmd/command.c b/test/cmd

[PATCH v1 0/2] Enable UNIT_TEST for all qemu* generic targets

2025-04-16 Thread Jerome Forissier
Enable CONFIG_UNIT_TEST in most of the configs/qemu*_defconfig files to increase test coverage in CI, and fix what needs to be fixed. Jerome Forissier (2): test: run some test commands only if HUSH_PARSER is enabled configs: enable CONFIG_UNIT_TEST for all qemu* generic targets configs/qemu

Re: [PATCH v2 0/2] Change DRAM message and add RAM doc

2025-04-16 Thread Tom Rini
On Wed, Apr 16, 2025 at 09:39:07AM +0200, Alexander Dahl wrote: > Hello Tom, > > Am Wed, Apr 09, 2025 at 07:46:16PM -0600 schrieb Tom Rini: > > On Wed, 19 Mar 2025 19:33:25 +0530, Neha Malcom Francis wrote: > > > > > This short series is an ongoing effort to make RAM utilization clearer for > > >

Re: [PATCH v2] emulation: fdt: Allow using U-Boot's device tree with QEMU

2025-04-16 Thread Tom Rini
On Wed, Apr 16, 2025 at 07:33:51AM +0200, Heinrich Schuchardt wrote: > On 4/5/25 21:07, Simon Glass wrote: > > At present it is impossible to change the qemu_arm64 defconfig to > > obtain a devicetree from the U-Boot build. > > > > This is necessary for FIT validation, for example, where the signa

Re: [PATCH v1 0/4] k3: migrate SPL_TEXT_BASE to new address

2025-04-16 Thread Anshul Dalal
On Wed Apr 16, 2025 at 4:54 PM IST, Nishanth Menon wrote: > On 13:00-20250416, Anshul Dalal wrote: >> The change to ATF's PRELOADED_BL33_BASE[1] requires respective changes to >> SPL_TEXT_BASE on u-boot side. This is necessary to allow the ATF to jump >> directly to li

Please pull u-boot-marvell/master

2025-04-16 Thread Stefan Roese
Hi Tom, please pull this next batch of mostly Marvell related patches: - mvebu_espressobin_ultra-88f3720_defconfig: disable SATA - helios4: enable ddr odt0 on write for both chip-select - clearfog,helios4: disable sdhci sdma - mveb

Re: [PATCH v2] configs: clearfog,helios4: disable sdhci sdma

2025-04-16 Thread Stefan Roese
On 08.02.25 13:22, Josua Mayer wrote: Testing has shown that loading large initramfs causes data corruption where the kernel image had been loaded to. Debian 12 installation using a 17M initramfs boots fine, but the final system with an initramfs of 27M obscurely fails to boot with bootz reportin

Re: [PATCH] cmd: mvebu/bubt: Correct usage of IS_ENABLED() macro

2025-04-16 Thread Stefan Roese
On 26.02.25 21:31, Tom Rini wrote: This file was using IS_ENABLED() to test for CONFIG flags but omitted the CONFIG_ prefix and so did not work as expected. Signed-off-by: Tom Rini Applied to u-boot-marvell/master Thanks, Stefan --- Cc: Tim Harvey Cc: Stefan Roese This does change how s

Re: [PATCH] ARM: mvebu: Correct SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR usage

2025-04-16 Thread Stefan Roese
On 15.03.25 02:29, Tom Rini wrote: As the code is today, we get a warning about "select" statements on "choice" options not doing anything. However, it also works as intended because SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR is the default option within that choice statement. To guard against future r

Re: [PATCH v6 05/12] power-domain: Add refcounting

2025-04-16 Thread Wadim Egorov
Am 16.04.25 um 12:50 schrieb Neha Malcom Francis: Hi Miquel On 16/04/25 14:36, Miquel Raynal wrote: Hello, -int power_domain_on(struct power_domain *power_domain) +int power_domain_on_lowlevel(struct power_domain *power_domain) { + struct power_domain_priv *priv = dev_get_uclass_priv(

Re: [PATCH] arm: mvebu: Fix typos in Kconfig help text

2025-04-16 Thread Stefan Roese
On 27.02.25 00:07, Chris Packham wrote: Fix a couple of typos in mach-mvebu/Kconfig. Signed-off-by: Chris Packham Applied to u-boot-marvell/master Thanks, Stefan --- arch/arm/mach-mvebu/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-mvebu/

Re: [PATCH] configs: mvebu_espressobin_ultra-88f3720_defconfig: disable SATA

2025-04-16 Thread Stefan Roese
On 20.03.25 07:55, Stefan Roese wrote: On 28.02.25 20:22, Benjamin Schneider wrote: This device uses the SCSI subsystem to interface with SATA devices. Trying to use the sata command results in an unhandled exception. This has the side effect of also causing bootflow scan to raise an unhandled e

[PATCH] net: ti: am65-cpsw-nuss: invoke phy_config() in driver's .start callback

2025-04-16 Thread Siddharth Vadapalli
Currently, the phy_config() API is invoked by the driver only once since it has been probed. While this works in general, it doesn't allow the driver to bring the PHY back to its default reset state. As a result, the driver might not be able to recover the PHY from a bad state. To address this, mov

Re: [PATCH v6 05/12] power-domain: Add refcounting

2025-04-16 Thread Miquel Raynal
Hello, >>> -int power_domain_on(struct power_domain *power_domain) >>> +int power_domain_on_lowlevel(struct power_domain *power_domain) >>> { >>> + struct power_domain_priv *priv = dev_get_uclass_priv(power_domain->dev); >>> struct power_domain_ops *ops = power_domain_dev_ops(power_domain->

Re: [PATCH v2] tools/make_pip: Use venv when invoking pip

2025-04-16 Thread Quentin Schulz
Hi Mattijs, On 4/16/25 2:36 PM, Mattijs Korpershoek wrote: Recent Ubuntu versions (24.04+) disallow pip by default when installing packages. The recommended approach is to use a virtual environment (venv) instead. Because of this, "make pip" is failing on such versions. To prepare CI container

Re: [PATCH] tools/make_pip: Use virtualenv when invoking pip

2025-04-16 Thread Mattijs Korpershoek
On mer., avril 16, 2025 at 10:25, Mattijs Korpershoek wrote: > Hi Tom, > > On mar., avril 15, 2025 at 11:59, Tom Rini wrote: > >> On Wed, Apr 09, 2025 at 09:46:34AM +0200, Mattijs Korpershoek wrote: >> >>> Recent Ubuntu versions (24.04+) disallow pip by default when >>> installing packages. The

[PATCH v2] tools/make_pip: Use venv when invoking pip

2025-04-16 Thread Mattijs Korpershoek
Recent Ubuntu versions (24.04+) disallow pip by default when installing packages. The recommended approach is to use a virtual environment (venv) instead. Because of this, "make pip" is failing on such versions. To prepare CI container migration to Ubuntu 24.04, use a venv in the make_pip script.

[PATCH 3/3] configs: am64x_evm_a53_defconfig: Enable configs for PCIe support

2025-04-16 Thread Hrushikesh Salunke
TI's AM64 SoC has single instance of PCIe Controller namely PCIe0 which is Cadence PCIe Controller. To support PCIe functionality with PCIe0 instance in Root-Complex mode enable corresponding configs. Also enable configs to support NVMe over PCIe. Signed-off-by: Hrushikesh Salunke --- configs/am

[PATCH 2/3] pci: pcie_cdns_ti: Enable PCIe root-complex mode in AM64 SoC

2025-04-16 Thread Hrushikesh Salunke
TI's AM64 SoC has single instance of PCIe Controller namely PCIe0 which is Cadence PCIe Controller. Add support to configure PCIe0 in Root- Complex mode of operation. Signed-off-by: Hrushikesh Salunke --- drivers/pci/pcie_cdns_ti.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/

[PATCH 1/3] pci: pcie_cdns_ti: Include linux/sizes.h header

2025-04-16 Thread Hrushikesh Salunke
Driver uses macro SZ_4G to configure inbound base address register. The macro is used without including the header file in which it is defined. Fix this. Fixes: 59ad5480098 ("pci: Add TI K3 Cadence PCIe Controller") Signed-off-by: Hrushikesh Salunke --- drivers/pci/pcie_cdns_ti.c | 1 + 1 file c

[PATCH 0/3] Add PCIe support for TI AM64 SoC

2025-04-16 Thread Hrushikesh Salunke
TI's AM64 SoC has a single instance of Cadence PCIe Controller. This series enables support for PCIe in AM64 SoC and to configure it in Root-Complex mode of operation. This series is based on following commit in U-Boot next: f892a7f397a (origin/next) Revert "Merge patch series "pxe: Precursor seri

Re: [PATCH 0/2] arm64: versal2: Read an eeprom

2025-04-16 Thread Michal Simek
On 4/9/25 18:26, Padmarao Begari wrote: Read an eeprom after relocation if multi dtb's are disabled. Padmarao Begari (2): arm64: versal2: Remove dtb reselect and multi dtb board: amd: Read an eeprom after relocation board/amd/versal2/board.c | 3 +++ configs/amd_versal2_vir

Re: [PATCH] board: xilinx: Store board info data in data section

2025-04-16 Thread Michal Simek
On 4/9/25 18:25, Padmarao Begari wrote: Line 171 in README is describing that before relocation no code should use global variable because global variables are placed to BSS section which is initialized to 0 after relocation. In the case of ZynqMP, where DTB reselection is enabled, the EEPROM

Re: [PATCH] amd: versal2: Add support for saving env based on bootmode

2025-04-16 Thread Michal Simek
On 4/11/25 17:46, Venkatesh Yadav Abbarapu wrote: Enable saving variables to MMC(FAT) and SPI based on primary bootmode. If bootmode is JTAG, dont save env anywhere(NOWHERE). Enable ENV_FAT_DEVICE_AND_PART="0:auto" for Versal Gen2 platform. Signed-off-by: Venkatesh Yadav Abbarapu --- boar

Re: [PATCH] arm64: versal2: Update the number of DRAM banks to 36

2025-04-16 Thread Michal Simek
On 4/10/25 11:25, Venkatesh Yadav Abbarapu wrote: HBM stands for high bandwidth memory and is a type of memory interface used in 3D-stacked DRAM (dynamic random access memory) in some AMD GPUs (aka graphics cards), as well as the server, high-performance computing (HPC) and networking and clie

[PATCH 2/2] net: gmac_rockchip: Add RMII support for rk3288

2025-04-16 Thread Christoph Fritz
Add RMII-specific handling to rk3288_gmac_fix_mac_speed() so that it properly sets the RMII clock (2.5 MHz vs. 25 MHz) and speed bits (10 Mbps vs. 100 Mbps). Also define a new rk3288_gmac_set_to_rmii() function to set the PHY interface field and RMII_MODE bit. Signed-off-by: Christoph Fritz ---

[PATCH 1/2] rockchip: rk3288: grf: Unify speed/flowctrl fields for clarity

2025-04-16 Thread Christoph Fritz
Update GMAC speed and flow control fields in GRF_SOC_CON1 to use RK3288_GMAC_* prefix, ensuring a consistent naming convention. It also shifts each mask/bit definition to match the actual hardware bits, which makes future usage easier. Signed-off-by: Christoph Fritz --- arch/arm/include/asm/arch

Re: [PATCH 0/2] arm64: versal2: Enable boot from UFS and USB

2025-04-16 Thread Michal Simek
On 4/10/25 10:30, Michal Simek wrote: Hi, these two patches are wiring support for USB and UFS. It is still done via distro boot because we didn't switch our platforms to standard boot yet. But investigation is planned already. To bridge the gap between wire it via already available distro bo

Re: [PATCH] xilinx: versal-net: Enable loading bitstreams via fpga

2025-04-16 Thread Michal Simek
On 4/10/25 10:22, Michal Simek wrote: Enable FPGA Xilinx interface and driver for loading bistreams. Signed-off-by: Michal Simek --- configs/xilinx_versal_net_virt_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/xilinx_versal_net_virt_defconfig b/configs/xilinx_v

Re: [PATCH] arm64: zynqmp: Start usb automatically via preboot on Kria

2025-04-16 Thread Michal Simek
On 4/10/25 10:14, Michal Simek wrote: From: Venkatesh Yadav Abbarapu U-Boot configures the USB config object which enables power for the IP, without this the linux usb driver won't work. So add "usb start" as part of preboot command. Fixes: dd4a82201694 ("arm64: zynqmp: Introduce kria SOM defc

Re: [PATCH] xilinx: Free memory when variable is saved in boot_targets_setup()

2025-04-16 Thread Michal Simek
On 4/10/25 09:38, Michal Simek wrote: When boot_targets variable is saved there is no reason to keep string in malloc area that's why free it. This change is already done in ZynqMP code. Signed-off-by: Michal Simek --- board/amd/versal2/board.c | 3 ++- board/xilinx/versal/board.c | 1

Re: [PATCH] xilinx: Remove UARTLITE from defconfigs

2025-04-16 Thread Michal Simek
On 4/10/25 09:38, Michal Simek wrote: Remove uartlite serial driver from defconfigs because is not tested or used on ARM based platform as console. Signed-off-by: Michal Simek --- configs/xilinx_versal_net_virt_defconfig | 1 - configs/xilinx_versal_virt_defconfig | 1 - configs/xil

Re: [PATCH] amd: versal2: Enable NVMEM framework

2025-04-16 Thread Michal Simek
On 4/10/25 09:37, Michal Simek wrote: Enable NVMEM framework to be able to for example read MAC address from eeprom. For more information please look at commit 5db5b7e2a336 ("xilinx: Enable NVMEM framework for all platforms"). Signed-off-by: Michal Simek --- configs/amd_versal2_virt_defco

Re: [PATCH] amd: versal2: Enable SMBIOS command

2025-04-16 Thread Michal Simek
On 4/10/25 09:35, Michal Simek wrote: Enabel SMBIOS command as was done by commit aa815e6c7603 ("xilinx: Enable SMBIOS command") for our other platforms. Signed-off-by: Michal Simek --- configs/amd_versal2_virt_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/amd_ver

Re: [PATCH v2] arm64: zynqmp: Use CONFIG_SPL_FS_LOAD_PAYLOAD_NAME in binman

2025-04-16 Thread Michal Simek
On 4/7/25 17:17, Michal Simek wrote: u-boot.itb name is coming via CONFIG_SPL_FS_LOAD_PAYLOAD_NAME and it's change will affect SD boot mode that's why start to use it. Signed-off-by: Michal Simek --- Changes in v2: - Also support image generation when FS support is disabled based on disc

Re: [PATCH v1 0/4] k3: migrate SPL_TEXT_BASE to new address

2025-04-16 Thread Nishanth Menon
On 13:00-20250416, Anshul Dalal wrote: > The change to ATF's PRELOADED_BL33_BASE[1] requires respective changes to > SPL_TEXT_BASE on u-boot side. This is necessary to allow the ATF to jump > directly to linux kernel (like in falcon mode) which requires a 2MiB aligned > loa

  1   2   >