[PATCH] memory: ti-gpmc: Alloc per driver private struct

2025-03-05 Thread Vignesh Raghavendra
Driver uses dev_get_priv() but never allocates it in its declaration leading to various crashes. Fix this by explicitly allocating the storage. Fixes: 9b0b5648d6e4 ("memory: Add TI GPMC driver") Signed-off-by: Vignesh Raghavendra --- drivers/memory/ti-gpmc.c | 1 + 1 file changed, 1 insertion(+)

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

2025-03-05 Thread Michael Nazzareno Trimarchi
Hi I have pushed a rebase of your patches on nand-next on my tree I have dropped one patch for SPL_FRAMEWORK, drop the same in config of the board. Move the config on the board as last patch, adjust one patch for a code style kisses and push here https://source.denx.de/u-boot/custodians/u-boot-

Re: [PATCH 1/5] net: lwip: extend wget to support CA (root) certificates

2025-03-05 Thread Jerome Forissier
Hi Ilias, On 2/28/25 22:24, Ilias Apalodimas wrote: > Hi Jerome > >> >> +config WGET_CACERT >> + bool "wget cacert" >> + depends on CMD_WGET >> + depends on WGET_HTTPS >> + help >> + Adds the "cacert" sub-command to wget to provide root certificates >> + to

Re: boottime->efi_allocate_pages() returning EFI_NOT_FOUND

2025-03-05 Thread Heinrich Schuchardt
On 3/5/25 09:13, Sughosh Ganu wrote: On Tue, 4 Mar 2025 at 23:34, Ben Schneider wrote: Hi, I'm trying to boot a compressed (via zboot) Linux kernel image for aarch64 and running into an error I didn't expect. To decompress itself, the kernel will run efi_zboot_entry() (found in drivers/firmwa

Re: [PATCH 2/5] lwip: tls: enforce checking of server certificates based on CA availability

2025-03-05 Thread Jerome Forissier
Hi Ilias, On 2/28/25 22:26, Ilias Apalodimas wrote: > Hi Jerome > > ++CC Simon for lwIP > > On Thu, 27 Feb 2025 at 18:09, Jerome Forissier > wrote: >> >> Instead of relying on some build time configuration to determine if >> server certificates need to be checked against CA certificates, do it

[PATCH v2] spi: Introduce initial EEPROM driver mode support

2025-03-05 Thread Loureiro, Joao
This patch introduces the initial SPI EEPROM driver mode support analogous to the I2C EEPROM driver mode support. The SPI EEPROM driver mode support is enabled by default in the sandbox_defconfig. Signed-off-by: João Loureiro --- Changes in v2: - Fix checkpatch.pl issues --- configs/sandbox_defc

Re: [PATCH 1/5] reset: rzg2l-usbphy-ctrl: Add new driver

2025-03-05 Thread Paul Barker
On 04/03/2025 17:07, Biju Das wrote: > Hi Paul, > >> -Original Message- >> From: U-Boot On Behalf Of Paul Barker >> Subject: [PATCH 1/5] reset: rzg2l-usbphy-ctrl: Add new driver >> diff --git a/include/renesas/rzg2l-usbphy.h b/include/renesas/rzg2l-usbphy.h >> new file mode 100644 >> in

[PATCH v1 1/2] ARM: tegra: clock: fix PLLD/PLLD2 related clock calculations

2025-03-05 Thread Svyatoslav Ryhel
From: Jonas Schwöbel While PLLD/D2 is the nominal parent clock, all derived clocks are generated from its single output, plld_out0, which is PLLD/D2 divided by two. Direct use of PLLD/D2 is absent in peripheral clock configurations. Therefore, clock derivation formulas must take in account this d

RE: [PATCH 1/5] reset: rzg2l-usbphy-ctrl: Add new driver

2025-03-05 Thread Biju Das
Hi Paul, > -Original Message- > From: Paul Barker > Sent: 05 March 2025 11:37 > Subject: Re: [PATCH 1/5] reset: rzg2l-usbphy-ctrl: Add new driver > > On 04/03/2025 17:07, Biju Das wrote: > > Hi Paul, > > > >> -Original Message- > >> From: U-Boot On Behalf Of Paul Barker > >> Sub

Re: [PATCH v2] xilinx: Remove tftp block size 4096

2025-03-05 Thread Michal Simek
On 3/4/25 05:30, Padmarao Begari wrote: The zynqmp gem driver support max MTU size 1536, so remove tftp block size 4096 from defconfig and use default tftp block size. Fixes: a33b4b96b3cf ("xilinx: Enable MBEDTLS/LWIP/WGET and WGET_HTTPS") Signed-off-by: Padmarao Begari --- Changes in v2: -

[PATCH v1 0/1] common: edid: update timing selection logic

2025-03-05 Thread Svyatoslav Ryhel
Older EDID timing algorithms relied solely on detailed timings, typically optimized for a display's native resolution. This caused issues with newer 4K panels on older hardware, which couldn't handle those high resolutions. To address this, the algorithm now also considers standard timings, offerin

[PATCH v1 2/2] ARM: tegra20: mark second DC with bootph-all

2025-03-05 Thread Svyatoslav Ryhel
For the Tegra 2, similar to other Tegra SoC generations, 'bootph-all' must be applied to both display controllers. Signed-off-by: Svyatoslav Ryhel --- arch/arm/dts/tegra20-u-boot.dtsi | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/dts/tegra20-u-boot.dtsi b/arch/arm/dts/tegra20-

[PATCH v1 1/1] common: edid: update timing selection logic

2025-03-05 Thread Svyatoslav Ryhel
From: Jonas Schwöbel Older EDID timing algorithms relied solely on detailed timings, typically optimized for a display's native resolution. This caused issues with newer 4K panels on older hardware, which couldn't handle those high resolutions. To address this, the algorithm now also considers st

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

2025-03-05 Thread Maniyam, Dinesh
> -Original Message- > From: Maniyam, Dinesh > Sent: Thursday, 27 February 2025 3:20 pm > To: Michael Nazzareno Trimarchi > Cc: u-boot@lists.denx.de; Marek ; Simon > ; Tom Rini ; Dario > Binacchi ; Johan Jonker > ; Michal Simek ; Arseniy > Krasnov ; Alexander Dahl ; > William Zhang ; Igo

[PATCH v1 0/2] Tegra: general improvements

2025-03-05 Thread Svyatoslav Ryhel
Fix PLLD/PLLD2 related clock calculations to better fit existing needs. Mark second DC on Tegra 2 with bootph-all as it is done for other generations. Jonas Schwöbel (1): ARM: tegra: clock: fix PLLD/PLLD2 related clock calculations Svyatoslav Ryhel (1): ARM: tegra20: mark second DC with bootp

[GIT PULL] amd/xilinx patches for v2025.04-rc4

2025-03-05 Thread Michal Simek
Hi Tom, please pull these fixes to your tree. Especially patches from Padmarao are must have. One is fixing issue around using BSS section before relocation and second is fix connected to switching to LWIP. 4k MTU size never really worked with our MACB driver but old ethernet stack fallback to

Re: xPL Proposal

2025-03-05 Thread Simon Glass
Hi Tom, On Wed, 5 Mar 2025 at 08:49, Tom Rini wrote: > > On Wed, Mar 05, 2025 at 07:17:51AM -0700, Simon Glass wrote: > > Hi Tom, > > > > On Tue, 4 Mar 2025 at 09:25, Tom Rini wrote: > > > > > > On Tue, Mar 04, 2025 at 08:35:29AM -0700, Simon Glass wrote: > > > > Hi Tom, > > > > > > > > On Thu,

Re: [PATCH] Add cross compile dependecy info for ARMv7

2025-03-05 Thread Peter Polgar
Hi Heinrich, Sorry for the late reply, other things were going on so I dropped my U-boot project for a while. What you have written totally makes sense. I wasn't aware what the "hf" stands for in the package name. Just saw that my architecture was "armhf", so I assumed I needed the build essentia

Re: [PATCH v4 00/12] Add imx8mp video support

2025-03-05 Thread Tom Rini
On Wed, Mar 05, 2025 at 03:12:09PM -0300, Fabio Estevam wrote: > On Mon, Mar 3, 2025 at 2:06 PM Tom Rini wrote: > > > It's a tangential failure. Svyatoslav reported this with a series he's > > working on and Simon wonders if bloblist support got broken but hasn't > > had time to look at it. > >

Re: [PATCH v4 00/12] Add imx8mp video support

2025-03-05 Thread Fabio Estevam
On Mon, Mar 3, 2025 at 2:06 PM Tom Rini wrote: > It's a tangential failure. Svyatoslav reported this with a series he's > working on and Simon wonders if bloblist support got broken but hasn't > had time to look at it. Please let me know how to proceed with this error. Because of this error, I

[PATCH 0/2] Build fixes for CONFIG_XPL_BUILD in dts files

2025-03-05 Thread Hendrik Donner
Just 2 fixes related to CONFIG_XPL_BUILD usage in dts files with binman. The second patch works for me, not sure if it is exactly the correct approach. Hendrik Donner (2): imx8qm: Fix build when using SPL Makefile.lib: Set xPL build related defines for DTB build arch/arm/dts/imx8qm-u-boot.dt

[PATCH 1/2] imx8qm: Fix build when using SPL

2025-03-05 Thread Hendrik Donner
Analog to 645a42d7ee88dc8c3848c15d178b0f111c636933, imx8qm based boards which use SPL currently fail during make all: Image 'imx-boot' is missing external blobs and is non-functional: spl /binman/imx-boot/spl (spl.bin): Missing blob Image 'imx-boot' has faked external blobs and is non-functiona

[PATCH 2/2] Makefile.lib: Set xPL build related defines for DTB build

2025-03-05 Thread Hendrik Donner
The CONFIG_*PL_BUILD defines are currently not defined when preprocessing the dts files, leading to build problems with binman. Set the defines based on the related CONFIG_*PL values. Tested-by: Oliver Graute Signed-off-by: Hendrik Donner --- scripts/Makefile.lib | 10 ++ 1 file changed

[PATCH v7 07/19] clk: scmi: check the clock state/parent/rate control permissions

2025-03-05 Thread Alice Guo (OSS)
From: Alice Guo Clock driver based on SCMI clock management protocol in Linux checks clock state, parent and rate control permissions. To be consistent with the kernel driver, add this check here. When using common clock framework (CCF), use the clock signal ID to get the clock registered by clk

[PATCH v7 05/19] scmi_protocols: add SCMI Performance domain management protocol message IDs

2025-03-05 Thread Alice Guo (OSS)
From: Peng Fan SCMI Performance domain management protocol is intended for performance management of groups of devices or APs that run in the same performance domain. The functionality provided by the callee-side can be used by passing the corresponding message_id. Signed-off-by: Peng Fan Signe

[PATCH v7 06/19] clk: scmi: add the command CLOCK_PARENT_SET

2025-03-05 Thread Alice Guo (OSS)
From: Peng Fan This patch adds the command CLOCK_PARENT_SET that can be used to set the parent of a clock. ARM SCMI Version 3.2 supports to change the parent of a clock device. Signed-off-by: Peng Fan Signed-off-by: Alice Guo Reviewed-by: Ye Li --- drivers/clk/clk_scmi.c | 20 +

[PATCH v7 04/19] scmi_protocols: add SCMI misc protocol protocol_id and message_id for getting the ROM passover data

2025-03-05 Thread Alice Guo (OSS)
From: Peng Fan SCMI misc protocol is intended for miscellaneous functions which are device specific and are usually defined to access bit fields. It is i.MX specific. This patch adds SCMI misc protocol protocol_id and message_id for getting the ROM passover data. Signed-off-by: Peng Fan Signed-

[PATCH v7 03/19] firmware: scmi_agent: add SCMI pin control protocol support

2025-03-05 Thread Alice Guo (OSS)
From: Alice Guo This patch adds SCMI pin control protocol support to make the pin controller driver based on SCMI, such as drivers/pinctrl/nxp/pinctrl-imx-scmi.c, can be bound to the SCMI agent device whose protocol id is 0x19. Add U_BOOT_SCMI_PROTO_DRIVER() so that the SCMI agent device can cho

[PATCH v7 08/19] sandbox: add SCMI clock control permissions to sandbox

2025-03-05 Thread Alice Guo
This patch is used to add SCMI clock control permissions to sandbox for testing. Signed-off-by: Alice Guo --- arch/sandbox/include/asm/scmi_test.h | 2 ++ drivers/firmware/scmi/sandbox-scmi_agent.c | 56 -- 2 files changed, 55 insertions(+), 3 deletions(-) dif

Re: [PATCH v1 1/2] ARM: tegra: clock: fix PLLD/PLLD2 related clock calculations

2025-03-05 Thread Thierry Reding
On Wed, Mar 05, 2025 at 03:52:36PM +0200, Svyatoslav Ryhel wrote: > ср, 5 бер. 2025 р. о 15:47 Thierry Reding пише: > > > > On Wed, Mar 05, 2025 at 01:12:12PM +0200, Svyatoslav Ryhel wrote: > > > From: Jonas Schwöbel > > > > > > While PLLD/D2 is the nominal parent clock, all derived clocks are >

Re: [PATCH 4/5] net: lwip: add support for built-in root certificates

2025-03-05 Thread Jerome Forissier
Hi Ilias, On 3/1/25 07:59, Ilias Apalodimas wrote: > Hi Jerome, > > On Thu, 27 Feb 2025 at 18:38, Jerome Forissier > wrote: >> >> Sorry for replying to myself, I spotted a small mistake. >> >> On 2/27/25 17:09, Jerome Forissier wrote: >>> Introduce Kconfig symbols WGET_BUILTIN_CACERT and >>> WGE

Re: [PATCH v2 1/6] net: lwip: extend wget to support CA (root) certificates

2025-03-05 Thread Heinrich Schuchardt
On 05.03.25 15:26, Jerome Forissier wrote: Add the "cacert" (Certification Authority certificates) subcommand to wget to pass root certificates to the code handling the HTTPS protocol. The subcommand is enabled by the WGET_CACERT Kconfig symbol. Usage example: => dhcp # Download some root c

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

2025-03-05 Thread Maniyam, Dinesh
From: Michael Nazzareno Trimarchi Sent: Wednesday, 5 March 2025 5:27 pm To: Maniyam, Dinesh Cc: u-boot@lists.denx.de; Marek ; Simon ; Tom Rini ; Dario Binacchi ; Johan Jonker ; Michal Simek ; Arseniy Krasnov ; Alexander Dahl ; William Zhang ; Igor Prusov ; Meng, Tingting ; Chee, Tien Fong

Re: Rate of innovation in the project (Was: Re: Rate of change in the project)

2025-03-05 Thread Tom Rini
On Wed, Mar 05, 2025 at 07:19:25AM -0700, Simon Glass wrote: > Hi Tom, > > On Tue, 4 Mar 2025 at 08:29, Tom Rini wrote: > > > > On Tue, Mar 04, 2025 at 06:13:36AM -0700, Simon Glass wrote: > > > Hi Tom, > > > > > > (I changed the subject as 'change' sounds like change for change's sake) > > > > F

[PATCH v2 3/6] lwip: tls: warn when no CA exists amd log certificate validation errors

2025-03-05 Thread Jerome Forissier
Using HTTPS without root (CA) certificates is a security issue. Print a warning in this case. Also, when certificate verification fail, print an additional message because "HTTP client error 4" is not very informative (4 is HTTPC_RESULT_ERR_CLOSED). Signed-off-by: Jerome Forissier Reviewed-by: Il

Problems with test_net_pxe_get test

2025-03-05 Thread Tom Rini
Hi Love, I've been trying to setup and use the test_net_pxe_get test now and I've found a few problems. - An easy one is that we call test_net_setup_static after verifying the network is up, which I believe is a legacy of when reviewing the test initially and not removing the line. - A harder

Re: [PATCH v3 08/14] lib: time: hook uthread_schedule() into udelay()

2025-03-05 Thread Jerome Forissier
On 3/4/25 16:24, Jerome Forissier wrote: > Introduce a uthread scheduling loop into udelay() when CONFIG_UTHREAD > is enabled. This means that any uthread calling into udelay() may yield > to uthread and be scheduled again later. The granunlarity of the > scheduling loop is defined by CONFIG_UTH

[PATCH] xilinx: versal: add firmware access to PMC multi Boot mode register

2025-03-05 Thread Prasad Kummari
Added extended support for retrieving the PMC muti boot mode register via the firmware interface, which is preferred when U-Boot runs in EL2 and cannot directly access PMC registers via raw reads. Ideally, all secure registers should be accessed via xilinx_pm_request(). Introduced the secure zynqmp

[PATCH v7 01/19] firmware: scmi: smt: Interrupt communication enable

2025-03-05 Thread Alice Guo (OSS)
From: Viorel Suman i.MX95 System Manager uses interrupt driven communication which requires the caller to set Bit[0] of channel flags to 1. When transmission completes and the previous general purpose interrupt has been processed by the other core, i.MX95 System Manager will set General Purpose I

[PATCH v7 02/19] pinctrl: nxp: add a pin controller driver based on SCMI pin control protocol

2025-03-05 Thread Alice Guo (OSS)
From: Alice Guo This patch provides a pinctrl driver based on SCMI pin control protocol. Currently, only the PINCTRL_CONFIG_SET command is implemented. Signed-off-by: Ranjani Vaidyanathan Signed-off-by: Peng Fan Signed-off-by: Alice Guo Reviewed-by: Ye Li --- drivers/pinctrl/nxp/Kconfig

[PATCH v7 00/19] imx: add i.MX95 support

2025-03-05 Thread Alice Guo (OSS)
(+), 73 deletions(-) --- base-commit: 986ab810fa2cb095f5617349baa5c88d83cffc46 change-id: 20250305-imx95-085eabfda6bc Best regards, -- Alice Guo

[PATCH v7 15/19] tools: imx8image: add i.MX95 support

2025-03-05 Thread Alice Guo (OSS)
From: Alice Guo i.MX95 uses binman to invoke mkimage to create image container. 2 image containers are needed currently. The first one is composed of ahab-container.img, LPDDR firmware images, OEI images, System Manager image and u-boot-spl.bin. The second one is consisted of ARM Trusted firmware

[PATCH v2 0/6] net: lwip: root certificates

2025-03-05 Thread Jerome Forissier
This series adds support for HTTP server authentication using root (CA) certificates. As a first step, the wget command is extended to support a sub-command: cacert . The memory region shall contain the CA certificates. With this, it is possible to load the certificates from storage or get them f

Re: (subset) [u-boot-test-hooks PATCH 1/3] labgrid: Deal with strange Python error

2025-03-05 Thread Simon Glass
Hi Tom, On Mon, 3 Mar 2025 at 13:19, Tom Rini wrote: > > On Fri, 21 Feb 2025 13:32:40 -0700, Simon Glass wrote: > > > Add a way to work around an unexplained Python message which appears > > sometimes with Python 3.12.3 > > > > Make the file executable while we are here. > > > > > > Applied to u-

[PATCH v2 2/6] lwip: tls: enforce checking of server certificates based on CA availability

2025-03-05 Thread Jerome Forissier
Instead of relying on some build time configuration to determine if server certificates need to be checked against CA certificates, do it based on the availability of such certificates. If no CA is configured then no check can succeed; on the other hand if we have CA certs then we should not ignore

[PATCH v2 1/6] net: lwip: extend wget to support CA (root) certificates

2025-03-05 Thread Jerome Forissier
Add the "cacert" (Certification Authority certificates) subcommand to wget to pass root certificates to the code handling the HTTPS protocol. The subcommand is enabled by the WGET_CACERT Kconfig symbol. Usage example: => dhcp # Download some root certificates (note: not authenticated!) => wget

[PATCH v2 6/6] configs: qemu_arm64_lwip_defconfig: enable WGET_CACERT

2025-03-05 Thread Jerome Forissier
Enable the "wget cacert" command. Signed-off-by: Jerome Forissier Reviewed-by: Ilias Apalodimas --- configs/qemu_arm64_lwip_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/qemu_arm64_lwip_defconfig b/configs/qemu_arm64_lwip_defconfig index 754c770c33f..814e98729a3 100644

[PATCH v2 5/6] doc: cmd: wget: document cacert subcommand

2025-03-05 Thread Jerome Forissier
Document the 'wget cacert' subcommand which allows to configure root (CA) certificates for HTTPS. Signed-off-by: Jerome Forissier --- doc/usage/cmd/wget.rst | 82 -- 1 file changed, 80 insertions(+), 2 deletions(-) diff --git a/doc/usage/cmd/wget.rst b/do

Re: xPL Proposal

2025-03-05 Thread Tom Rini
On Wed, Mar 05, 2025 at 07:17:51AM -0700, Simon Glass wrote: > Hi Tom, > > On Tue, 4 Mar 2025 at 09:25, Tom Rini wrote: > > > > On Tue, Mar 04, 2025 at 08:35:29AM -0700, Simon Glass wrote: > > > Hi Tom, > > > > > > On Thu, 27 Feb 2025 at 13:30, Tom Rini wrote: > > > > > > > > On Thu, Feb 27, 202

Re: [PATCH RFC/RFT 0/3] omap24xx_i2c: Enable Repeated Start functionality

2025-03-05 Thread Tom Rini
On Wed, Mar 05, 2025 at 03:34:08AM +0530, Aniket Limaye wrote: > This series implements Repeated Start functionality for the DM_I2C xfer > API (omap_i2c_xfer()) > > First, split out the actual implementation for each individual i2c msg > transfer into a new function __omap24_i2c_xfer_msg() and use

Re: [RFC PATCH] Kbuild: Always use $(PHASE_)

2025-03-05 Thread Tom Rini
On Wed, Mar 05, 2025 at 07:15:50AM -0700, Simon Glass wrote: > Hi Tom, > > On Tue, 4 Mar 2025 at 13:41, Tom Rini wrote: > > > > It is confusing to have both "$(PHASE_)" and "$(XPL_)" be used in our > > Makefiles as part of the macros to determine when to do something in our > > Makefiles based on

Re: [PATCH v3 1/2] CI: Move default image under global defaults

2025-03-05 Thread Tom Rini
On Wed, Mar 05, 2025 at 07:18:40AM -0700, Simon Glass wrote: > Hi Tom, > > On Tue, 4 Mar 2025 at 09:12, Tom Rini wrote: > > > > On Tue, Mar 04, 2025 at 08:35:56AM -0700, Simon Glass wrote: > > > Hi Tom, > > > > > > On Thu, 27 Feb 2025 at 10:03, Tom Rini wrote: > > > > > > > > On Thu, Feb 27, 202

[PATCH v7 10/19] imx9: scmi: add i.MX95 SoC and clock related code

2025-03-05 Thread Alice Guo (OSS)
From: Peng Fan This patch adds i.MX95 SoC and clock related code. Because they are based on SCMI, put them in the scmi subfolder. Signed-off-by: Ye Li Signed-off-by: Peng Fan Signed-off-by: Alice Guo Reviewed-by: Peng Fan --- arch/arm/include/asm/arch-imx/cpu.h| 2 + arch/arm/incl

[PATCH v7 11/19] spl: imx: use trampoline buffer to load images to secure region

2025-03-05 Thread Alice Guo (OSS)
From: Ye Li When SPL loading image to secure region, for example, ATF and tee to DDR secure region. Because the USDHC controller is non-secure master, it can't access this region and will cause loading issue. So use a trampoline buffer in non-secure region, then use CPU to copy the image from tr

[PATCH v7 09/19] scmi_protocols: update struct scmi_base_discover_list_protocols_out

2025-03-05 Thread Alice Guo (OSS)
From: Ye Li @protocols is an array of protocol identifiers that are implemented, excluding the Base protocol. The number of elements of @protocols is specified by callee-side. Signed-off-by: Ye Li Signed-off-by: Alice Guo --- drivers/firmware/scmi/base.c | 24 +--- include

回复: 回复: 回复: 回复: [PATCH v4 04/20] firmware: scmi: add pin control protocol support to SCMI agent

2025-03-05 Thread Alice Guo (OSS)
-Boot and have them decide > at bind time which driver should bind and which not, look at > drivers/mtd/renesas_rpc_hf.c rpc_hf_probe() and drivers/spi/renesas_rpc_spi.c > rpc_spi_bind() for example of doing this. > > I hope this helps untangle the SCMI implementation. Thank you for providing the example. Please review my patch set. https://patchwork.ozlabs.org/project/uboot/patch/20250305-imx95-v1-2-286d15acb...@oss.nxp.com/ https://patchwork.ozlabs.org/project/uboot/patch/20250305-imx95-v1-3-286d15acb...@oss.nxp.com/

Re: [PATCH 0/8] membuff: Add tests and update to support a flag for empty/full

2025-03-05 Thread Simon Glass
Hi Rasmus, On Tue, 4 Mar 2025 at 11:55, Rasmus Villemoes wrote: > > On Tue, Mar 04 2025, Simon Glass wrote: > > > Hi Rasmus, > > > > On Fri, 18 Oct 2024 at 08:55, Simon Glass wrote: > >> > >> Hi Rasmus, > >> > >> On Fri, 18 Oct 2024 at 01:05, Rasmus Villemoes wrote: > >> > > >> > On tor, okt 1

Re: [PATCH v1 1/2] ARM: tegra: clock: fix PLLD/PLLD2 related clock calculations

2025-03-05 Thread Svyatoslav Ryhel
ср, 5 бер. 2025 р. о 15:47 Thierry Reding пише: > > On Wed, Mar 05, 2025 at 01:12:12PM +0200, Svyatoslav Ryhel wrote: > > From: Jonas Schwöbel > > > > While PLLD/D2 is the nominal parent clock, all derived clocks are generated > > from its single output, plld_out0, which is PLLD/D2 divided by two

Re: [RFC PATCH] Kbuild: Always use $(PHASE_)

2025-03-05 Thread Simon Glass
Hi Tom, On Tue, 4 Mar 2025 at 13:41, Tom Rini wrote: > > It is confusing to have both "$(PHASE_)" and "$(XPL_)" be used in our > Makefiles as part of the macros to determine when to do something in our > Makefiles based on what phase of the build we are in. For consistency, > bring this down to a

Re: [PATCH v2 6/6] binman: Authenticate the image when testing the preload signature

2025-03-05 Thread Simon Glass
Hi Paul, On Mon, 24 Feb 2025 at 14:21, Paul HENRYS wrote: > > Use preload_check_sign to authenticate the generated image when testing the > preload signature in testPreLoad(). > > Signed-off-by: Paul HENRYS > --- > tools/binman/ftest.py | 15 +++ > 1 file changed, 15 insertions(+) >

Re: [PATCH v2 3/3] binman: cst: Build from source

2025-03-05 Thread Simon Glass
On Wed, 26 Feb 2025 at 14:05, Leonard Anderweit wrote: > > Build the imx code singing tool from source instead of relying on the > distro to provide the tool. > Use the debian/unstable branch because the default branch is outdated. > The binary is supposed to be build with docker, work around that

Re: xPL Proposal

2025-03-05 Thread Simon Glass
Hi Tom, On Tue, 4 Mar 2025 at 09:25, Tom Rini wrote: > > On Tue, Mar 04, 2025 at 08:35:29AM -0700, Simon Glass wrote: > > Hi Tom, > > > > On Thu, 27 Feb 2025 at 13:30, Tom Rini wrote: > > > > > > On Thu, Feb 27, 2025 at 12:32:42PM -0700, Simon Glass wrote: > > > > Hi Tom, > > > > > > > > On Thu,

Re: [PATCH v3 1/2] CI: Move default image under global defaults

2025-03-05 Thread Simon Glass
Hi Tom, On Tue, 4 Mar 2025 at 09:12, Tom Rini wrote: > > On Tue, Mar 04, 2025 at 08:35:56AM -0700, Simon Glass wrote: > > Hi Tom, > > > > On Thu, 27 Feb 2025 at 10:03, Tom Rini wrote: > > > > > > On Thu, Feb 27, 2025 at 09:26:10AM -0700, Simon Glass wrote: > > > > Hi Tom, > > > > > > > > On Mon,

Re: Rate of innovation in the project (Was: Re: Rate of change in the project)

2025-03-05 Thread Simon Glass
Hi Tom, On Tue, 4 Mar 2025 at 08:29, Tom Rini wrote: > > On Tue, Mar 04, 2025 at 06:13:36AM -0700, Simon Glass wrote: > > Hi Tom, > > > > (I changed the subject as 'change' sounds like change for change's sake) > > Frankly, you have a lot of "tidy up" patches where nothing was > functionally wron

Re: (subset) [u-boot-test-hooks PATCH 1/3] labgrid: Deal with strange Python error

2025-03-05 Thread Tom Rini
On Wed, Mar 05, 2025 at 07:19:05AM -0700, Simon Glass wrote: > Hi Tom, > > On Mon, 3 Mar 2025 at 13:19, Tom Rini wrote: > > > > On Fri, 21 Feb 2025 13:32:40 -0700, Simon Glass wrote: > > > > > Add a way to work around an unexplained Python message which appears > > > sometimes with Python 3.12.3

Re: [PATCH v2 1/6] net: lwip: extend wget to support CA (root) certificates

2025-03-05 Thread Jerome Forissier
Hi Heinrich, On 3/5/25 16:07, Heinrich Schuchardt wrote: > On 05.03.25 15:26, Jerome Forissier wrote: >> Add the "cacert" (Certification Authority certificates) subcommand to >> wget to pass root certificates to the code handling the HTTPS protocol. >> The subcommand is enabled by the WGET_CACERT

Re: [PATCH 2/2] tools: amlimage: Add support for GXBB eMMC header

2025-03-05 Thread Ferass El Hafidi
Hi, On Fri Jan 3, 2025 at 9:58 PM UTC, Jonas Karlman via groups.io wrote: > GXBB BL1 only tries to read boot image from sector 0 on eMMC and sector > 1 on SD-card. GXL and newer read boot image from sector 1 on both eMMC > and SD-card. > > Vendor BL2 have solved the issue with different offsets by

Re: boottime->efi_allocate_pages() returning EFI_NOT_FOUND

2025-03-05 Thread Sughosh Ganu
On Tue, 4 Mar 2025 at 23:34, Ben Schneider wrote: > > Hi, I'm trying to boot a compressed (via zboot) Linux kernel image > for aarch64 and running into an error I didn't expect. > > To decompress itself, the kernel will run efi_zboot_entry() (found > in drivers/firmware/efi/libstub/zboot.c) which

[PATCH v7 18/19] imx95_evk: add i.MX95 19x19 EVK board basic support

2025-03-05 Thread Alice Guo (OSS)
From: Ye Li This patch adds i.MX95 19x19 EVK board basic support. Messaging unit for EdgeLock Secure Enclave, messaging unit for System Manager, uSDHC for SD Card, gpio, lpuart are supported now. Signed-off-by: Ye Li Signed-off-by: Alice Guo Reviewed-by: Peng Fan --- arch/arm/dts/imx95-19x1

[PATCH v7 19/19] Makefile: add some files to CLEAN_FILES

2025-03-05 Thread Alice Guo
When building the flash.bin of i.MX95 with binman, mkimage.imx-boot.spl, mkimage.imx-boot.u-boot, mkimage-out.imx-boot.spl and mkimage-out.imx-boot.u-boot are created. Add these files to CLEAN_FILES so that they can be removed when running "make clean". Signed-off-by: Alice Guo --- Makefile | 3

[PATCH v7 16/19] imx: add V2X container support on i.MX95

2025-03-05 Thread Alice Guo (OSS)
From: Teo Hall This patch adds V2X container support on i.MX95. Signed-off-by: Ye Li Signed-off-by: Teo Hall Signed-off-by: Alice Guo --- arch/arm/mach-imx/image-container.c | 63 +++-- 1 file changed, 40 insertions(+), 23 deletions(-) diff --git a/arch/arm/m

[PATCH v7 12/19] imx9: add i.MX95 Kconfig and Makefile

2025-03-05 Thread Alice Guo (OSS)
From: Ye Li This patch adds i.MX95 Kconfig and Makefile. i.MX95 uses SCMI. Signed-off-by: Ye Li Signed-off-by: Alice Guo Reviewed-by: Peng Fan --- arch/arm/mach-imx/imx9/Kconfig | 8 arch/arm/mach-imx/imx9/Makefile | 9 +++-- 2 files changed, 15 insertions(+), 2 deletions(-) d

[PATCH v7 13/19] imx: Kconfig: IMX8_ROMAPI is not configured for i.MX95

2025-03-05 Thread Alice Guo (OSS)
From: Alice Guo i.MX95 only supports low power boot, which means A55 is kicked by M33. There is no ROM runs on A55 in such case so that deselect IMX8_ROMAPI for i.MX95. Signed-off-by: Alice Guo --- arch/arm/mach-imx/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ar

[PATCH v7 17/19] doc: imx: add document for i.MX95 Image Container Format

2025-03-05 Thread Alice Guo (OSS)
From: Alice Guo This patch add a document for i.MX95 Image Container Format. Signed-off-by: Alice Guo --- doc/imx/imx95_container.txt | 136 1 file changed, 136 insertions(+) diff --git a/doc/imx/imx95_container.txt b/doc/imx/imx95_container.txt ne

[PATCH v7 14/19] binman: add a new entry type for packing DDR PHY firmware images

2025-03-05 Thread Alice Guo (OSS)
From: Alice Guo i.MX95 needs to combine DDR PHY firmware images and their byte counts together, so add a new entry type nxp-header-ddrfw for this requirement. Signed-off-by: Alice Guo --- tools/binman/entries.rst | 10 ++ tools/binman/etype/nxp_header_ddrfw.py| 29

Re: [PATCH v1 1/2] ARM: tegra: clock: fix PLLD/PLLD2 related clock calculations

2025-03-05 Thread Thierry Reding
On Wed, Mar 05, 2025 at 01:12:12PM +0200, Svyatoslav Ryhel wrote: > From: Jonas Schwöbel > > While PLLD/D2 is the nominal parent clock, all derived clocks are generated > from its single output, plld_out0, which is PLLD/D2 divided by two. Direct > use of PLLD/D2 is absent in peripheral clock conf

Re: [RFC PATCH 0/2 v1] Propagate bootph* property to all parent nodes

2025-03-05 Thread Simon Glass
Hi Quentin, On Fri, 28 Feb 2025 at 04:04, Quentin Schulz wrote: > > Hi Simon, > > On 2/27/25 5:24 PM, Simon Glass wrote: > > Hi Quentin, > > > > On Wed, 26 Feb 2025 at 03:53, Quentin Schulz > > wrote: > >> > >> Hi Moteen, > >> > >> On 2/26/25 6:57 AM, Moteen Shah wrote: > >>> > >>> On 17/02/25

Re: [PATCH v2 2/3] binman: build_from_git: Add optional make path inside git repo

2025-03-05 Thread Simon Glass
On Wed, 26 Feb 2025 at 14:05, Leonard Anderweit wrote: > > Add optional argument make_path to build_from git. The new argument > allows specifying the path to a Makefile in case it is not in the root > of the git repo. > Also adjust the corresponding test. > > Signed-off-by: Leonard Anderweit > -

Re: [PATCH v2 1/3] binman: build_from_git: Add argument specifying branch

2025-03-05 Thread Simon Glass
On Wed, 26 Feb 2025 at 14:05, Leonard Anderweit wrote: > > Add optional argument git_branch to build_from_git. The new argument > allows specifying which branch of the repo to use. > > Signed-off-by: Leonard Anderweit > --- > tools/binman/bintool.py | 10 -- > 1 file changed, 8 insertion

Re: [PATCH v1 1/2] ARM: tegra: clock: fix PLLD/PLLD2 related clock calculations

2025-03-05 Thread Svyatoslav Ryhel
ср, 5 бер. 2025 р. о 16:02 Thierry Reding пише: > > On Wed, Mar 05, 2025 at 03:52:36PM +0200, Svyatoslav Ryhel wrote: > > ср, 5 бер. 2025 р. о 15:47 Thierry Reding пише: > > > > > > On Wed, Mar 05, 2025 at 01:12:12PM +0200, Svyatoslav Ryhel wrote: > > > > From: Jonas Schwöbel > > > > > > > > Whi

[PATCH v2 4/6] net: lwip: add support for built-in root certificates

2025-03-05 Thread Jerome Forissier
Introduce Kconfig symbols WGET_BUILTIN_CACERT and WGET_BUILTIN_CACERT_PATH to provide root certificates at build time. Usage example: wget -O cacert.crt https://cacerts.digicert.com/DigiCertTLSECCP384RootG5.crt make qemu_arm64_lwip_defconfig echo CONFIG_WGET_BUILTIN_CACERT=y >>.config echo CO

Re: [PATCH v4 00/29] arm: Support building as an EFI app

2025-03-05 Thread Simon Glass
Hi Igor, On Tue, 4 Mar 2025 at 07:50, Igor Opaniuk wrote: > > Hello Simon, > > On Sat, Feb 15, 2025 at 2:08 PM Simon Glass wrote: > > > > The original x86 EFI-app was written back in 2015, about a year before > > the EFI-loader was introduced. At that point, ARM mostly used U-Boot and > > FIT (F

[PATCH 2/2] vepxress64: add guide for running FVP with TF-A

2025-03-05 Thread Harrison Mutai
Add documentation on how to run FVP with U-Boot and TF-A. This helps users configure and run U-Boot correctly on Arm models. Signed-off-by: Harrison Mutai --- doc/board/armltd/vexpress64.rst | 54 +++-- 1 file changed, 52 insertions(+), 2 deletions(-) diff --git a/do

Re: [PATCH] clk: rzg2l: Ignore disable for core clocks

2025-03-05 Thread Marek Vasut
On 3/4/25 8:44 PM, Paul Barker wrote: Following on from commit 9a699a0a0d62 ("clk: rzg2l: Ignore enable for core clocks"), we also need to ignore attempts to disable core clocks to avoid the need for conditionals around clk_disable_bulk() calls in drivers which support both RZ/G2L and other Renes

Re: [PATCH 2/3] net: ravb: Fix RX frame size limit

2025-03-05 Thread Marek Vasut
On 3/4/25 9:07 PM, Paul Barker wrote: The value written to the RFLR register includes the length of the CRC data at the end of each Ethernet frame. So we need to increase the value written to this register to ensure that we can receive full size frames. While we're here we can also copy the impr

Re: [PATCH 1/3] net: ravb: Add dependency on CONFIG_BITBANGMII

2025-03-05 Thread Marek Vasut
On 3/4/25 9:07 PM, Paul Barker wrote: The Renesas RAVB driver always requires bitbang MDIO bus support. Fixes: 8ae51b6f324e ("net: ravb: Add Renesas Ethernet RAVB driver") Signed-off-by: Paul Barker Reviewed-by: Marek Vasut

Re: [PATCH v3] arm64: renesas: Add TFA BL31 handoff support on Renesas R-Car Gen4

2025-03-05 Thread Marek Vasut
On 3/3/25 10:44 AM, Quentin Schulz wrote: Hi Marek, Hi, [...]   board/renesas/common/gen4-common.c | 126 +   1 file changed, 126 insertions(+) diff --git a/board/renesas/common/gen4-common.c b/board/renesas/ common/gen4-common.c index 52a0639073b..f7d129be4c8 1

Re: [PATCH 2/3] net: ravb: Fix RX frame size limit

2025-03-05 Thread Marek Vasut
On 3/5/25 9:40 PM, Paul Barker wrote: Hi Marek, On 05/03/2025 19:53, Marek Vasut wrote: On 3/4/25 9:07 PM, Paul Barker wrote: The value written to the RFLR register includes the length of the CRC data at the end of each Ethernet frame. So we need to increase the value written to this register

Re: [PATCH 3/3] net: ravb: Fix error handling in ravb_probe

2025-03-05 Thread Marek Vasut
On 3/4/25 9:07 PM, Paul Barker wrote: In ravb_probe(), we were missing a couple of things in the error handling path: * We must unregister the MDIO bus before freeing the corresponding struct mii_dev instance to avoid the potential for use-after-free bugs. * We must free the res

Re: [PATCH 1/5] reset: rzg2l-usbphy-ctrl: Add new driver

2025-03-05 Thread Marek Vasut
On 3/4/25 5:37 PM, Paul Barker wrote: [...] +static int rzg2l_usbphy_ctrl_assert(struct reset_ctl *reset_ctl) +{ + struct rzg2l_usbphy_ctrl_priv *priv = dev_get_priv(reset_ctl->dev); + u32 val; + + val = readl(priv->regs + RESET); + val |= reset_ctl->id ? PHY_RESET_PORT2

Re: [PATCH 2/5] regulator: rzg2l-usbphy: Add new driver

2025-03-05 Thread Marek Vasut
On 3/4/25 5:37 PM, Paul Barker wrote: Add a new regulator driver to control the USB VBUS supply on the Renesas RZ/G2L and related SoCs. Signed-off-by: Paul Barker Reviewed-by: Marek Vasut

Re: [PATCH 4/5] phy: rcar: Support RZ/G2L USB PHY

2025-03-05 Thread Marek Vasut
On 3/4/25 5:37 PM, Paul Barker wrote: Extend the existing Renesas R-Car gen3 Gen3 (uppercase G) USB 2.0 PHY driver to support the RZ/G2L and related SoCs. Also enable this driver by default for the RZ/G2L SoC family. Signed-off-by: Paul Barker Reviewed-by: Marek Vasut

Re: [PATCH 3/3] net: ravb: Fix error handling in ravb_probe

2025-03-05 Thread Paul Barker
Hi Marek, On 05/03/2025 19:55, Marek Vasut wrote: > On 3/4/25 9:07 PM, Paul Barker wrote: >> In ravb_probe(), we were missing a couple of things in the error >> handling path: >> >>* We must unregister the MDIO bus before freeing the corresponding >> struct mii_dev instance to avoid the p

Re: [PATCH 2/3] net: ravb: Fix RX frame size limit

2025-03-05 Thread Paul Barker
Hi Marek, On 05/03/2025 19:53, Marek Vasut wrote: > On 3/4/25 9:07 PM, Paul Barker wrote: >> The value written to the RFLR register includes the length of the CRC >> data at the end of each Ethernet frame. So we need to increase the value >> written to this register to ensure that we can receive f

Re: [PATCH 3/5] reset: rzg2l-usbphy-ctrl: Connect up vbus regulator

2025-03-05 Thread Marek Vasut
On 3/4/25 5:37 PM, Paul Barker wrote: Bind the USB VBUS regulator driver under the USB PHY reset driver for the Renesas RZ/G2L and related SoCs. This additional bind is needed as the corresponding device tree node does not contain a compatible string. Signed-off-by: Paul Barker Reviewed-by: Ma

[PATCH v5 04/29] x86: Move x86 zboot state into struct bootm_info

2025-03-05 Thread Simon Glass
This structure is supposed to handle any type of booting programmatically, i.e. without needing a command to be executed. Move the x86-specific members into it and use it instead of struct zboot_state. Provide a macro so access is possible without adding lots of #ifdefs to the code. This will allo

[PATCH v5 05/29] x86: Rename state to bmi

2025-03-05 Thread Simon Glass
Use the common name for the struct, in preparation for passing it around between functions. Signed-off-by: Simon Glass --- (no changes since v1) arch/x86/include/asm/zimage.h | 2 +- arch/x86/lib/zimage.c | 48 +-- cmd/x86/zboot.c | 4 +--

[PATCH v5 00/29] pxe: Precursor series for supporting read_all() in extlinux / PXE

2025-03-05 Thread Simon Glass
This series includes some patches related to allowing read_all() to be used with the extlinux / PXE bootmeths. These patches were split out from the stb4 series, since it will need to have additional patches for LWIP, to avoid breaking PXE booting when LWIP is used. Changes in v5: - Use ramdisk a

[PATCH v5 03/29] x86: Drop duplicate definition of zimage_dump()

2025-03-05 Thread Simon Glass
This is now defined in bootm.h so drop the duplicate in the x86 code. Signed-off-by: Simon Glass --- (no changes since v1) arch/x86/include/asm/zimage.h | 8 cmd/x86/zboot.c | 1 + 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/arch/x86/include/asm/zimage.

[PATCH v5 08/29] x86: Drop the unnecessary base_ptr argument to zboot_dump()

2025-03-05 Thread Simon Glass
This value is include the bootm_info, so drop the unnecessary parameter. Signed-off-by: Simon Glass --- (no changes since v1) arch/x86/lib/zimage.c | 5 +++-- cmd/bootflow.c| 3 ++- cmd/x86/zboot.c | 8 +++- include/bootm.h | 7 ++- 4 files changed, 10 insertions(+)

  1   2   >