[resend v4 08/12] i3c: master: dw-i3c-master: Fix OD_TIMING for spike filter

2025-04-17 Thread dinesh . maniyam
From: Dinesh Maniyam Fix the I3C device with spike filter unable to detect issue by setting tHIGH_INIT to 200ns for first broadcast address. This is according to MIPI SPEC 1.1.1 for first broadcast address which is already part of linux upstreamed patch. Signed-off-by: Dinesh Maniyam --- drive

Re: [PATCH 0/4] bloblist: fdt: Clean up the code

2025-04-17 Thread Simon Glass
Hi Tom, On Thu, 17 Apr 2025 at 08:14, Tom Rini wrote: > > On Thu, Apr 17, 2025 at 07:14:35AM -0600, Simon Glass wrote: > > Hi Tom, > > > > On Mon, 14 Apr 2025 at 14:34, Tom Rini wrote: > > > > > > On Mon, Apr 14, 2025 at 01:34:10PM -0600, Simon Glass wrote: > > > > Hi Tom, > > > > > > > > On Mon

[PATCH v4 3/3] doc/buildman: describe using fragments

2025-04-17 Thread Heinrich Schuchardt
Describe the new --fragments parameter Signed-off-by: Heinrich Schuchardt --- v4: Describe the invocation of merge_config.sh v3: no change v2: new patch --- tools/buildman/buildman.rst | 28 1 file changed, 12 insertions(+), 16 deletions(-) d

[PATCH v2 7/8] ARM: dts: sam9x60: Add watchdog DT node.

2025-04-17 Thread Zixun LI
Add the watchdog timer node for the sam9x60 SoC's. Signed-off-by: Zixun LI --- arch/arm/dts/sam9x60.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/dts/sam9x60.dtsi b/arch/arm/dts/sam9x60.dtsi index 60de9140226981003c06747e103966b696b7b700..6a5465cf31d5ab48e1205896884f4

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

2025-04-17 Thread Tom Rini
On Thu, Apr 17, 2025 at 06:30:13AM -0500, Nishanth Menon wrote: > On 14:51-20250417, Anshul Dalal wrote: > > On Thu Apr 17, 2025 at 1:21 AM IST, Nishanth Menon wrote: > > > On 11:38-20250416, Andrew Davis wrote: > > >> > > >How about u-boot documentatio

Re: [PATCH] bloblist: Drop BSD license

2025-04-17 Thread Tom Rini
On Thu, Apr 17, 2025 at 10:26:53AM -0600, Simon Glass wrote: > Hi Tom, > > On Thu, 17 Apr 2025 at 10:04, Tom Rini wrote: > > > > On Thu, Apr 17, 2025 at 09:58:42AM -0600, Simon Glass wrote: > > > On Wed, 1 Jan 2025 at 12:58, Simon Glass wrote: > > > > > > > > Linaro has decided to write their ow

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

2025-04-17 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 v4 2/3] buildman: unit test for configuration fragments

2025-04-17 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

[PATCH v4 0/3] doc/buildman: describe using fragments

2025-04-17 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. v4: Describe the invocation of merge_config.sh v3: Add mi

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

2025-04-17 Thread Simon Glass
Hi Heinrich, On Wed, 16 Apr 2025 at 16:40, Heinrich Schuchardt wrote: > > 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 > defc

Re: [PATCH v2 0/5] More MMC fixes

2025-04-17 Thread Tom Rini
On Thu, Apr 17, 2025 at 03:11:18PM -0500, Judith Mendez wrote: > Hi Tom, > > > On 4/14/25 5:43 PM, Judith Mendez wrote: > > This patch series fixes MMC_HS_52 mode in am654_sdhci > > driver, as well as HIGH_SPEED_ENA and UHS_MODE_SELECT > > for HS modes. > > > > Also Disable eMMC HS400 mode for a

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

2025-04-17 Thread Yao Zi
On Thu, Apr 17, 2025 at 03:35:50PM -0600, Simon Glass wrote: > Hi Yao, > > On Wed, 16 Apr 2025 at 10:25, Yao Zi wrote: > > > > 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

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

2025-04-17 Thread Tom Rini
On Fri, Apr 18, 2025 at 03:23:38AM +0200, Heinrich Schuchardt wrote: > Describe the new --fragments parameter > > Reviewed-by: Simon Glass > Signed-off-by: Heinrich Schuchardt > --- > v3: > no change > v2: > new patch > --- > tools/buildman/buildman.rst | 22 ++

[PATCH 1/1] Dockerfile: use QEMU 9.2.3

2025-04-17 Thread Heinrich Schuchardt
The RISC-V emulation has develop quite a bit since 8.2.0. Let's update the QEMU version. Signed-off-by: Heinrich Schuchardt --- tools/docker/Dockerfile | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/tools/docker/Dockerfile b/tools/docker/Dockerfile index a0fd174ff60..7

Re: [PATCH 1/2] tools: binman: etype: fit: raise ValueError if key-name-hint is a path

2025-04-17 Thread Simon Glass
On Mon, 14 Apr 2025 at 04:51, Quentin Schulz wrote: > > From: Quentin Schulz > > mkimage doesn't fail if it cannot find the public key but it prints to > stderr. Considering that btool.run() discards stderr, it means binman > happily returns an unsigned FIT and doesn't tell you something went > w

Re: 回复: 回复: [EXT] [PATCH] power: regulator: scmi: Move regulator subnode hack to scmi_regulator

2025-04-17 Thread Peng Fan
On Wed, Apr 09, 2025 at 06:42:14AM +, Alice Guo (OSS) wrote: >> -邮件原件- >> 发件人: Marek Vasut >> 发送时间: 2025年4月9日 2:31 >> 收件人: Alice Guo (OSS) ; u-boot@lists.denx.de >> 抄送: Alice Guo ; Ilias Apalodimas >> ; Jaehoon Chung ; >> Tom Rini >> 主题: Re: 回复: [EXT] [PATCH] power: regulator: scmi: M

Re: imx8mp: pci enumeration fails with current HEAD

2025-04-17 Thread Heiko Schocher
Hello Miquel, thanks for the fast response! On 17.04.25 16:54, Miquel Raynal wrote: Hello Heiko, On 17/04/2025 at 16:37:39 +02, Heiko Schocher wrote: Hi Miquel, I have here an imx8mp based board for which I just prepare mainlining. pci enumeration works fine with U-Boot 2025.04 u-boot=>

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

2025-04-17 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

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

2025-04-17 Thread Heinrich Schuchardt
Describe the new --fragments parameter Reviewed-by: Simon Glass Signed-off-by: Heinrich Schuchardt --- v3: no change v2: new patch --- tools/buildman/buildman.rst | 22 ++ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/tools/buildman/buildman

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

2025-04-17 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 v3 0/3] buildman: allow specifying configuration fragments

2025-04-17 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. v3: Add missing argument descriptions Always pass fragmen

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

2025-04-17 Thread Simon Glass
On Wed, 16 Apr 2025 at 16:40, Heinrich Schuchardt wrote: > > 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 com

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

2025-04-17 Thread Simon Glass
On Wed, 16 Apr 2025 at 16:40, Heinrich Schuchardt wrote: > > 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(-) Reviewe

[PATCH v3 22/22] CI: Add tests for gitlab and azure

2025-04-17 Thread Simon Glass
Add tests that Signed-off-by: Simon Glass --- Changes in v3: - Add test for aarch64 - Add tests for azure .azure-pipelines.yml | 6 ++ .gitlab-ci.yml | 12 2 files changed, 18 insertions(+) diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml index cb787d32f14..737

Re: [PATCH v3 00/22] passage: Define a standard for firmware data flow

2025-04-17 Thread Simon Glass
Hi Tom, On Thu, 17 Apr 2025 at 15:24, Tom Rini wrote: > > On Thu, Apr 17, 2025 at 12:15:42PM -0600, Simon Glass wrote: > > > This series adds a standard way of passing information between different > > firmware phases. This already exists in U-Boot at a very basic level, in > > the form of a blob

[PATCH v3 4/4] configs: am62*_evm_a53_defconfig: Add TI_COMMON_CMD_OPTIONS

2025-04-17 Thread Judith Mendez
Add TI_COMMON_CMD_OPTIONS config options to Sitara K3 boards at a53 stage since we rely on most of the commands implied for testing and debugging purposes. Since all commands are now enabled by default, remove the redundant CMD_* options in the a53 defconfigs. Also add MMC_REG & MMC_SPEED_MODE_SET

[PATCH v3 0/4] More MMC fixes

2025-04-17 Thread Judith Mendez
This patch series fixes MMC_HS_52 mode in am654_sdhci driver, as well as HIGH_SPEED_ENA and UHS_MODE_SELECT for HS modes. Also add TI_COMMON_CMD_OPTIONS to K3 Sitara board a53 defconfigs. [0] https://www.ti.com/lit/er/sprz574a/sprz574a.pdf Changes since v2: - drop patch for removing hs400 suppo

[PATCH v3 2/4] mmc: am654_sdhci: Fix HIGH_SPEED_ENA

2025-04-17 Thread Judith Mendez
High Speed enable bit switches data launch from the falling clock edge (half cycle timing) to the rising clock edge (full cycle timing). For all SD UHS modes, data launch must happen at the rising clock edge, so set HIGH_SPEED_ENA for SDR12 and SDR25 modes. For all HS modes, data launch must happen

Re: [PATCH v3 00/22] passage: Define a standard for firmware data flow

2025-04-17 Thread Tom Rini
On Thu, Apr 17, 2025 at 03:38:07PM -0600, Simon Glass wrote: > Hi Tom, > > On Thu, 17 Apr 2025 at 15:24, Tom Rini wrote: > > > > On Thu, Apr 17, 2025 at 12:15:42PM -0600, Simon Glass wrote: > > > > > This series adds a standard way of passing information between different > > > firmware phases. T

Re: [PATCH v3 00/22] passage: Define a standard for firmware data flow

2025-04-17 Thread Simon Glass
Hi Tom, On Thu, 17 Apr 2025 at 15:54, Tom Rini wrote: > > On Thu, Apr 17, 2025 at 03:38:07PM -0600, Simon Glass wrote: > > Hi Tom, > > > > On Thu, 17 Apr 2025 at 15:24, Tom Rini wrote: > > > > > > On Thu, Apr 17, 2025 at 12:15:42PM -0600, Simon Glass wrote: > > > > > > > This series adds a stand

[PATCH] configs: mvebu_espressobin_ultra-88f3720_defconfig: enable hwrng

2025-04-17 Thread Benjamin Schneider
This device has a hardware random number generator. Linux can use this feature to randomize the location of the kernel in memory for better security. However, that functionality is only available if the bootloader firmware provides it. Enable support for it in the default configuration for this dev

Re: [PATCH 0/4] bloblist: fdt: Clean up the code

2025-04-17 Thread Tom Rini
On Thu, Apr 17, 2025 at 04:28:42PM -0600, Simon Glass wrote: > Hi Tom, > > On Thu, 17 Apr 2025 at 16:14, Tom Rini wrote: > > > > On Thu, Apr 17, 2025 at 04:02:20PM -0600, Simon Glass wrote: > > > Hi Tom, > > > > > > On Thu, 17 Apr 2025 at 15:58, Tom Rini wrote: > > > > > > > > On Thu, Apr 17, 20

Re: [PATCH 0/9] board: beagle: beagley-ai: Cleanups and

2025-04-17 Thread Jon Humphreys
Nishanth Menon writes: > Just happened to get a BeagleY-AI at desk and happened to test master > branch (7dd49a9264a6 drivers: scsi: Add 'erase' support), noticed a few > issues which were rather easy to solve.. so, here we go: > > Bootlog: https://gist.github.com/nmenon/a3a18825a783c0c3798cc7250

Re: [PATCH 8/9] configs: am67a_beagley_ai_a53: Enable additional features

2025-04-17 Thread Jon Humphreys
Nishanth Menon writes: > Enable basic efi capsule features, switch over to stdboot, enable > GPIO, LED and PMIC used on this platform. And enable UHS mode support > for SD cards in U-Boot. > Nishanth, I would update the description to be "Enable basic efi debug features, ..." since you are not e

Re: [PATCH 0/4] bloblist: fdt: Clean up the code

2025-04-17 Thread Simon Glass
Hi Tom, On Thu, 17 Apr 2025 at 16:14, Tom Rini wrote: > > On Thu, Apr 17, 2025 at 04:02:20PM -0600, Simon Glass wrote: > > Hi Tom, > > > > On Thu, 17 Apr 2025 at 15:58, Tom Rini wrote: > > > > > > On Thu, Apr 17, 2025 at 03:24:17PM -0600, Simon Glass wrote: > > > > Hi Tom, > > > > > > > > On Thu

Re: [PATCH 0/4] bloblist: fdt: Clean up the code

2025-04-17 Thread Tom Rini
On Thu, Apr 17, 2025 at 04:02:20PM -0600, Simon Glass wrote: > Hi Tom, > > On Thu, 17 Apr 2025 at 15:58, Tom Rini wrote: > > > > On Thu, Apr 17, 2025 at 03:24:17PM -0600, Simon Glass wrote: > > > Hi Tom, > > > > > > On Thu, 17 Apr 2025 at 08:14, Tom Rini wrote: > > > > > > > > On Thu, Apr 17, 20

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

2025-04-17 Thread Tom Rini
On Thu, Apr 17, 2025 at 03:39:57PM -0600, Simon Glass wrote: > Hi Tom, > > On Mon, 14 Apr 2025 at 16:53, Tom Rini wrote: > > > > On Sun, Apr 06, 2025 at 07:07:04AM +1200, Simon Glass wrote: > > > > > At present it is impossible to change the qemu_arm64 defconfig to > > > obtain a devicetree from

Re: [PATCH 0/4] bloblist: fdt: Clean up the code

2025-04-17 Thread Simon Glass
Hi Tom, On Thu, 17 Apr 2025 at 15:58, Tom Rini wrote: > > On Thu, Apr 17, 2025 at 03:24:17PM -0600, Simon Glass wrote: > > Hi Tom, > > > > On Thu, 17 Apr 2025 at 08:14, Tom Rini wrote: > > > > > > On Thu, Apr 17, 2025 at 07:14:35AM -0600, Simon Glass wrote: > > > > Hi Tom, > > > > > > > > On Mon

Re: [PATCH 0/4] bloblist: fdt: Clean up the code

2025-04-17 Thread Tom Rini
On Thu, Apr 17, 2025 at 03:24:17PM -0600, Simon Glass wrote: > Hi Tom, > > On Thu, 17 Apr 2025 at 08:14, Tom Rini wrote: > > > > On Thu, Apr 17, 2025 at 07:14:35AM -0600, Simon Glass wrote: > > > Hi Tom, > > > > > > On Mon, 14 Apr 2025 at 14:34, Tom Rini wrote: > > > > > > > > On Mon, Apr 14, 20

Re: [PATCH v7 1/4] spl: remove usage of CMD_BOOTx from image parsing

2025-04-17 Thread Simon Glass
Hi Anshul, On Thu, 17 Apr 2025 at 14:58, Tom Rini wrote: > > On Tue, Apr 08, 2025 at 07:44:30PM +0530, Anshul Dalal wrote: > > > Using CMD_* configs from spl doesn't make logical sense. Therefore this > > patch replaces the checks for CMD_BOOTx with newly added library symbols > > BOOTI, BOOTM an

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

2025-04-17 Thread Simon Glass
Hi Tom, On Mon, 14 Apr 2025 at 16:53, Tom Rini wrote: > > On Sun, Apr 06, 2025 at 07:07:04AM +1200, 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,

Re: [PATCH v2 1/8] event: signal when livetree has been built

2025-04-17 Thread Simon Glass
Hi Caleb, On Mon, 14 Apr 2025 at 06:33, Caleb Connolly wrote: > > Hi Simon, > > On 4/11/25 20:27, Simon Glass wrote: > > Hi Caleb, > > > > On Fri, 11 Apr 2025 at 06:47, Caleb Connolly > > wrote: > >> > >> OF_LIVE offers a variety of benefits, one of them being that the live > >> tree can be mod

Re: [PATCH v4 08/10] rockchip: binman: Use the skip-at-start prop in simple-bin image

2025-04-17 Thread Simon Glass
Hi Quentin, On Mon, 14 Apr 2025 at 09:10, Quentin Schulz wrote: > > Hi Simon, > > On 4/9/25 4:30 PM, Simon Glass wrote: > > Hi Quentin, > > > > On Wed, 9 Apr 2025 at 07:35, Quentin Schulz > > wrote: > >> > >> Hi Simon, > >> > >> On 4/9/25 3:33 PM, Simon Glass wrote: > >>> Hi Quentin, > >>> > >>

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

2025-04-17 Thread Simon Glass
Hi Yao, On Wed, 16 Apr 2025 at 10:25, Yao Zi wrote: > > 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

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

2025-04-17 Thread Simon Glass
Hi Heinrich, On Tue, 15 Apr 2025 at 23:33, 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 s

Re: [PATCH v7 1/4] spl: remove usage of CMD_BOOTx from image parsing

2025-04-17 Thread Tom Rini
On Tue, Apr 08, 2025 at 07:44:30PM +0530, Anshul Dalal wrote: > Using CMD_* configs from spl doesn't make logical sense. Therefore this > patch replaces the checks for CMD_BOOTx with newly added library symbols > BOOTI, BOOTM and BOOTZ which are enabled by their respective CMD_* or > SPL_* counter

Re: [PATCH v2 0/5] More MMC fixes

2025-04-17 Thread Judith Mendez
Hi Tom, On 4/14/25 5:43 PM, Judith Mendez wrote: This patch series fixes MMC_HS_52 mode in am654_sdhci driver, as well as HIGH_SPEED_ENA and UHS_MODE_SELECT for HS modes. Also Disable eMMC HS400 mode for am62px device according to silicon errata i2458 [0] and add TI_COMMON_CMD_OPTIONS to K3 Si

[PATCH v2 4/8] watchdog: at91sam9_wdt: Rename priv to wdt

2025-04-17 Thread Zixun LI
"wdt" is a better name for watchdog rather than generic "priv". Signed-off-by: Zixun LI --- drivers/watchdog/at91sam9_wdt.c | 24 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/drivers/watchdog/at91sam9_wdt.c b/drivers/watchdog/at91sam9_wdt.c index dab7

[PATCH v3 01/22] RFC: scripts: Add a script for running QEMU

2025-04-17 Thread Simon Glass
This is present in my tree. Provide it as a patch to simplify testing this series with QEMU. Signed-off-by: Simon Glass --- (no changes since v1) scripts/build-qemu.sh | 222 ++ 1 file changed, 222 insertions(+) create mode 100755 scripts/build-qemu.sh

Re: [PATCH] bloblist: Drop BSD license

2025-04-17 Thread Simon Glass
On Wed, 1 Jan 2025 at 12:58, Simon Glass wrote: > > Linaro has decided to write their own version of bloblist from scratch, > so there is no point in having a non-GPL license on this file. Change > it, to better fit with the U-Boot project. > > Signed-off-by: Simon Glass > Link: https://review.tr

[PATCH 0/3] board: dragonboard410c: More fixes for U-Boot v2025.07

2025-04-17 Thread Stephan Gerhold
Fix some more issues in the U-Boot configuration for the DragonBoard 410c that I noticed when testing the current master branch after the recent changes were merged. Ideally these should go as fixes into v2025.07. Signed-off-by: Stephan Gerhold --- Stephan Gerhold (3): board: dragonboard410

[PATCH v3 07/22] fdt: Redo devicetree setup

2025-04-17 Thread Simon Glass
The existing logic for handling receiving a devicetree from a previous phase is quite complicated. Simplify it in preparation for introducing standard passage. Add a Kconfig called OF_PASSAGE which indicates that the devicetree must come from standard passage. Signed-off-by: Simon Glass --- Cha

Re: [PATCH v3 22/22] CI: Add tests for gitlab and azure

2025-04-17 Thread Fabio Estevam
On Thu, Apr 17, 2025 at 3:27 PM Simon Glass wrote: > > Add tests that Incomplete commit log.

[PATCH v3 12/22] passage: spl: Support passing the passage to U-Boot

2025-04-17 Thread Simon Glass
Create a new arch-specific way of creating a standard passage to the next phase. Signed-off-by: Simon Glass --- (no changes since v2) Changes in v2: - Make the stdpass calling standard arch-specific common/spl/spl.c | 26 +- 1 file changed, 21 insertions(+), 5 deletion

[PATCH v3 10/22] passage: arm: Accept a passage from the previous phase

2025-04-17 Thread Simon Glass
Accept a bloblist and control devicetree from a previous phase in registers 0 to 3, as documented in the Firmware Handoff specification[1]. [1] https://firmwarehandoff.github.io/firmware_handoff/main/index.html Signed-off-by: Simon Glass --- Changes in v3: - Add support for aarch64 also - Updat

[PATCH v3 15/22] arm: qemu: Add a 64-bit SPL build

2025-04-17 Thread Simon Glass
Add an 64-bit SPL build for qemu so we can test the standard passage feature. Include a binman definition so that SPL and U-Boot are in the same image. This requires adding a proper devicetree file for qemu_arm. It is only used for the SPL build. Avoid using the QEMU devicetree in U-Boot proper,

[PATCH v3 06/22] passage: Support an incoming passage

2025-04-17 Thread Simon Glass
Plumb in the ability for U-Boot proper to accept an incoming standard passage from a previous phase, such as SPL or TF-A. This allows data to be passed from binary to binary when firmware is booting. Signed-off-by: Simon Glass --- Changes in v3: - Add passage_valid() to decide if stdpass was pro

[PATCH v3 00/22] passage: Define a standard for firmware data flow

2025-04-17 Thread Simon Glass
This series adds a standard way of passing information between different firmware phases. This already exists in U-Boot at a very basic level, in the form of a bloblist containing an spl_handoff structure, but the intent here is to define something useful across projects. The need for this is gr

[PATCH v3 21/22] passage: Add checks for pre-existing blobs

2025-04-17 Thread Simon Glass
Add checks / documentation for blobs which are already in the list. This brings U-Boot up to the standard required by the standard-passage documentation. Signed-off-by: Simon Glass --- (no changes since v1) board/sandbox/stdpass_check.c | 70 - include/stdpass/tpm2_eventlog.h | 42

[PATCH v3 20/22] passage: Add docs for spl_handoff

2025-04-17 Thread Simon Glass
This tag already exists in U-Boot. Add documentation, following the format set out. Signed-off-by: Simon Glass --- (no changes since v1) board/sandbox/stdpass_check.c | 15 --- include/handoff.h | 10 +++--- 2 files changed, 15 insertions(+), 10 deletions(-) diff -

[PATCH v3 19/22] passage: Add documentation

2025-04-17 Thread Simon Glass
Add documentation about standard passage and update the maintainers. Signed-off-by: Simon Glass --- Changes in v3: - Fix 'that' typo - Update docs for the various code changes Changes in v2: - Add comments about how to pass standard passage to EFI - Add comments about passing a bloblist to Linu

[PATCH v3 18/22] sandbox: Add a way of checking structs for standard passage

2025-04-17 Thread Simon Glass
Add a file which can be used to check that structs used in standard passage do compile. No other validation is done at present, but could be considered later. Signed-off-by: Simon Glass --- (no changes since v1) board/sandbox/Makefile| 3 ++- board/sandbox/stdpass_check.c | 34 +++

[PATCH v3 16/22] xferlist: Drop old xferlist code

2025-04-17 Thread Simon Glass
This is not needed now, as the startup protocol is handled in arch-specific code early in boot. Drop BLOBLIST_PASSAGE_MANDATORY as well, as OF_BLOBLIST is enough to cover this. With standard passage the devicetree is accessed before the bloblist is inited. Signed-off-by: Simon Glass --- (no cha

[PATCH v3 17/22] passage: Add a qemu test for ARM

2025-04-17 Thread Simon Glass
Check that the standard passage works on ARM, by setting it up in SPL and making sure that it comes through correctly in U-Boot proper. Signed-off-by: Simon Glass --- Changes in v3: - Add conditions to avoid enaling the test on qemu_arm_sbsa - Add support for a 64-bit test also Changes in v2: -

[PATCH v3 13/22] passage: arm: Add the arch-specific standard passage impl

2025-04-17 Thread Simon Glass
Add implementations for 32- and 64-bit ARM. Signed-off-by: Simon Glass --- Changes in v3: - Update registers to match the Firmware Handoff protocol Changes in v2: - Add new patch with the arm-specific standard passage implementation arch/arm/cpu/armv7/cpu.c | 18 ++ arch/arm/c

[PATCH v3 09/22] bloblist: Adjust how the bloblist is received from passage

2025-04-17 Thread Simon Glass
With standard passage we can read the bloblist from global_data. Update the implementation to handle this, thus simplifying the code somewhat. Shrink the log_msg_ret() string back down to a more normal size. Note that if OF_BLOBLIST is enabled, this code should never be reached unless there is a

[PATCH v3 14/22] arm: qemu: Add an SPL build

2025-04-17 Thread Simon Glass
Add an SPL build for qemu so we can test the standard passage feature. Include a binman definition so that SPL and U-Boot are in the same image. This requires adding a proper devicetree file for qemu_arm. It is only used for the SPL build. Avoid using the QEMU devicetree in U-Boot proper, so we c

[PATCH v3 11/22] passage: spl: Support adding the dtb to the passage bloblist

2025-04-17 Thread Simon Glass
Add an option for SPL to add a devicetree to the passage bloblist, so SPL can provide the devicetree to U-Boot. Fix a few long lines while we are here. Signed-off-by: Simon Glass --- (no changes since v2) Changes in v2: - Rebase on -master - Update the commit message to mention the long lines

[PATCH v3 08/22] fdt: Support reading FDT from standard passage

2025-04-17 Thread Simon Glass
Add an option to receive the FDT using standard passage from a previous phase. Rename the FDT source to 'passage' to match the old terminology, which was only partially added. Signed-off-by: Simon Glass --- (no changes since v1) include/fdtdec.h | 4 ++-- lib/fdtdec.c | 16 ---

[PATCH v3 05/22] spl: Rename jump_to_image_no_args()

2025-04-17 Thread Simon Glass
This is about to become a misnomer since with standard passage we need to pass arguments to U-Boot. Rename the function. Also rename the local variable to 'jumper' to avoid a conflict. Signed-off-by: Simon Glass --- (no changes since v2) Changes in v2: - Split the jump_to_image_no_args() chang

[PATCH v3 04/22] x86: Move Intel GNVS file into the common include directory

2025-04-17 Thread Simon Glass
Move this so we can include it from sandbox, needed since it is in a bloblist and must have a check. Signed-off-by: Simon Glass --- (no changes since v1) arch/x86/cpu/apollolake/acpi.c| 2 +- arch/x86/cpu/intel_common/acpi.c | 2 +- arch/x86/include/asm/arc

[PATCH v3 03/22] spl: Tidy up the header includes

2025-04-17 Thread Simon Glass
These are out of order. Fix them. Signed-off-by: Simon Glass --- (no changes since v1) common/spl/spl.c | 27 +-- 1 file changed, 13 insertions(+), 14 deletions(-) diff --git a/common/spl/spl.c b/common/spl/spl.c index 76fd56dfe4b..abbca9acde0 100644 --- a/common/spl/s

Re: [PATCH] ARM: dts: at91: sama5d2: Pass bootph-all to the PIT timer

2025-04-17 Thread Fabio Estevam
Hi Eugen, On Thu, Apr 3, 2025 at 12:10 PM Fabio Estevam wrote: > > From: Fabio Estevam > > The PIT timer needs to be available early in the SPL phase, > otherwise SPL fails to boot and only prints: > > Could not initialize timer (err -96) > > Fix this problem by passing 'bootph-all' to the sama5

[PATCH v2] clk: fixed-rate: Use "clock-output-names" to name fixed clocks

2025-04-17 Thread Fabio Estevam
From: Fabio Estevam Currently, fixed-rate clocks in U-Boot are named based on their devicetree node names. For example, given the following node: osc_24m: clock-osc-24m { compatible = "fixed-clock"; #clock-cells = <0>; clock-frequency = <2400>; clock-output-na

Re: [GIT PULL] AMD/Xilinx changes

2025-04-17 Thread Tom Rini
On Thu, 17 Apr 2025 12:17:30 +0200, Michal Simek wrote: > please pull these patches to your tree. The biggest LOCs are around BuR Zynq > boards. The rest are just small updates especially in connection to new Versal > Gen 2 SoC and extending it's support. > > Thanks, > Michal > > > [...] Merge

Re: Please pull u-boot-marvell/master

2025-04-17 Thread Tom Rini
On Wed, 16 Apr 2025 15:35:25 +0200, Stefan Roese wrote: > 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

Re: [PATCH 1/1] net: phy: Add the Airoha EN8811H PHY driver

2025-04-17 Thread Tom Rini
On Sun, 06 Apr 2025 21:02:44 +0800, Lucien.Jheng wrote: > Add the driver for the Airoha EN8811H 2.5 Gigabit PHY. The PHY supports > 100/1000/2500 Mbps with auto negotiation only. > > The driver uses two firmware files, for which updated versions are added to > linux-firmware already. > > Based o

Re: [PATCH v2 00/14] airoha: add support spi/mmc/ethernet

2025-04-17 Thread Tom Rini
On Mon, 07 Apr 2025 22:01:44 +0200, Christian Marangi wrote: > This is continuation of the initial patchset for airoha > support. > > Some are trivial fix for spi. > A new concept to setup SPI from detected NAND. > > Sadly DTS node still need to be merged upstream so we > are currently adding th

Re: [PATCH] bloblist: Drop BSD license

2025-04-17 Thread Karen M. Sandler
On 2025-04-17 12:33, Tom Rini wrote: On Thu, Apr 17, 2025 at 10:26:53AM -0600, Simon Glass wrote: Hi Tom, On Thu, 17 Apr 2025 at 10:04, Tom Rini wrote: > > On Thu, Apr 17, 2025 at 09:58:42AM -0600, Simon Glass wrote: > > On Wed, 1 Jan 2025 at 12:58, Simon Glass wrote: > > > > > > Linaro has d

Re: [PATCH 0/4] bloblist: fdt: Clean up the code

2025-04-17 Thread Simon Glass
Hi Raymond, On Mon, 14 Apr 2025 at 18:33, Raymond Mao wrote: > > Hi Simon, > > On Mon, 14 Apr 2025 at 16:47, Simon Glass wrote: > > > > Hi again Raymond, > > > > On Mon, 14 Apr 2025 at 14:41, Simon Glass wrote: > > > > > > Hi Raymond, > > > > > > On Mon, 14 Apr 2025 at 14:16, Raymond Mao wrote

Re: [PATCH] ARM: dts: at91: sama5d2: Pass bootph-all to the PIT timer

2025-04-17 Thread Eugen Hristev
On 4/17/25 16:54, Fabio Estevam wrote: > Hi Eugen, > > On Thu, Apr 3, 2025 at 12:10 PM Fabio Estevam wrote: >> >> From: Fabio Estevam >> >> The PIT timer needs to be available early in the SPL phase, >> otherwise SPL fails to boot and only prints: >> >> Could not initialize timer (err -96) >>

Re: [PATCH] bloblist: Drop BSD license

2025-04-17 Thread Simon Glass
Hi Tom, On Thu, 17 Apr 2025 at 10:04, Tom Rini wrote: > > On Thu, Apr 17, 2025 at 09:58:42AM -0600, Simon Glass wrote: > > On Wed, 1 Jan 2025 at 12:58, Simon Glass wrote: > > > > > > Linaro has decided to write their own version of bloblist from scratch, > > > so there is no point in having a no

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

2025-04-17 Thread Nishanth Menon
On 14:51-20250417, Anshul Dalal wrote: > On Thu Apr 17, 2025 at 1:21 AM IST, Nishanth Menon wrote: > > On 11:38-20250416, Andrew Davis wrote: > >> > > > How about u-boot documentation? > >> > > > >> > > I will update that in the ne

Re: imx8mp: pci enumeration fails with current HEAD

2025-04-17 Thread Heiko Schocher
Hello Miquel, On 17.04.25 16:37, Heiko Schocher wrote: Hi Miquel, I have here an imx8mp based board for which I just prepare mainlining. pci enumeration works fine with U-Boot 2025.04 u-boot=> pci enum PCIE-0: Link up (Gen1-x1, Bus0) u-boot=> and tftp through the ethernet interface works fin

Re: [PATCH] bloblist: Drop BSD license

2025-04-17 Thread Tom Rini
On Thu, Apr 17, 2025 at 09:58:42AM -0600, Simon Glass wrote: > On Wed, 1 Jan 2025 at 12:58, Simon Glass wrote: > > > > Linaro has decided to write their own version of bloblist from scratch, > > so there is no point in having a non-GPL license on this file. Change > > it, to better fit with the U-

[PATCH v5 2/4] net, net-lwip: wget: suppress console output when called by EFI

2025-04-17 Thread Jerome Forissier
Functions called from EFI applications should not do console output. Refactor the wget code to implement this requirement. The wget_http_info struct is used to hold the boolean that signifies whether the output is allowed or not. Signed-off-by: Jerome Forissier Reported-by: Heinrich Schuchardt -

Re: imx8mp: pci enumeration fails with current HEAD

2025-04-17 Thread Miquel Raynal
On 17/04/2025 at 16:46:13 +02, Heiko Schocher wrote: > Hello Miquel, > > On 17.04.25 16:37, Heiko Schocher wrote: >> Hi Miquel, >> I have here an imx8mp based board for which I just prepare mainlining. >> pci enumeration works fine with U-Boot 2025.04 >> u-boot=> pci enum >> PCIE-0: Link up (Gen1

Re: imx8mp: pci enumeration fails with current HEAD

2025-04-17 Thread Miquel Raynal
Hello Heiko, On 17/04/2025 at 16:37:39 +02, Heiko Schocher wrote: > Hi Miquel, > > I have here an imx8mp based board for which I just prepare mainlining. > > pci enumeration works fine with U-Boot 2025.04 > > u-boot=> pci enum > PCIE-0: Link up (Gen1-x1, Bus0) > u-boot=> > > and tftp through the

Re: [PATCH RFT v2 0/3] fastboot: add support for generic block flashing

2025-04-17 Thread Mattijs Korpershoek
Hey Neil, Thank you for the series. On mer., avril 09, 2025 at 09:58, neil.armstr...@linaro.org wrote: > This serie permits using any block device as target > for fastboot by moving the generic block logic into > a common set of helpers and also use them as generic > backend. > > The erase logic

Re: [PATCH 0/4] bloblist: fdt: Clean up the code

2025-04-17 Thread Tom Rini
On Thu, Apr 17, 2025 at 07:14:35AM -0600, Simon Glass wrote: > Hi Tom, > > On Mon, 14 Apr 2025 at 14:34, Tom Rini wrote: > > > > On Mon, Apr 14, 2025 at 01:34:10PM -0600, Simon Glass wrote: > > > Hi Tom, > > > > > > On Mon, 7 Apr 2025 at 08:31, Tom Rini wrote: > > > > > > > > On Mon, Apr 07, 202

Re: [PATCH] cros_ec_sandbox.c: Drop spi.h include

2025-04-17 Thread Simon Glass
On Thu, 17 Apr 2025 at 07:56, Tom Rini wrote: > > As this driver needs to use the special sandbox header > rather than normal malloc, it must be careful of the includes it brings > in. It does not need for anything, so drop it. > > Signed-off-by: Tom Rini > --- > Cc: Simon Glass > --- > drive

[PATCH v5 3/4] net-lwip: wget: add LMB and buffer checks

2025-04-17 Thread Jerome Forissier
Legacy NET wget invokes a store_block() function which performs buffer validation (LMB, address wrapping). Do the same with NET_LWIP. Signed-off-by: Jerome Forissier Suggested-by: Sughosh Ganu Acked-by: Sughosh Ganu --- (no changes since v4) Changes in v4: - The 'silent' boolean in stored in

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

2025-04-17 Thread Tom Rini
On Thu, Apr 17, 2025 at 10:18:28AM +0800, dinesh.mani...@altera.com wrote: > 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.

[PATCH] cros_ec_sandbox.c: Drop spi.h include

2025-04-17 Thread Tom Rini
As this driver needs to use the special sandbox header rather than normal malloc, it must be careful of the includes it brings in. It does not need for anything, so drop it. Signed-off-by: Tom Rini --- Cc: Simon Glass --- drivers/misc/cros_ec_sandbox.c | 1 - 1 file changed, 1 deletion(-) di

[PATCH 2/3] board: dragonboard410c: Drop custom reduced malloc size

2025-04-17 Thread Stephan Gerhold
At the moment, the dragonboard410c_defconfig specifies a custom SYS_MALLOC_LEN, lower than the default for Qualcomm boards defined in arch/arm/mach-snapdragon/Kconfig. It looks like it's too low, since flashing larger sparse partition images using Fastboot fails with: FAILED (remote: 'Malloc fai

[PATCH 1/3] board: dragonboard410c: Fix button cmd name

2025-04-17 Thread Stephan Gerhold
Commit 359e1d4a57e0 ("board: dragonboard410c: Use button_cmd instead of custom code") was made in parallel with commit 8f5685d5d32f ("button: qcom-pmic: prettify and standardise button labels"), which changed the default button label from "vol_down" to "Volume Down". This is causing errors in the c

[PATCH v5 4/4] net-lwip: tftp: add LMB and buffer checks

2025-04-17 Thread Jerome Forissier
Legacy NET tftp invokes a store_block() function which performs buffer validation (LMB, address wrapping). Do the same with NET_LWIP. Signed-off-by: Jerome Forissier Suggested-by: Sughosh Ganu Acked-by: Sughosh Ganu --- (no changes since v3) Changes in v3: - store_block(): add Sphinx-like doc

[PATCH v5 1/4] net-lwip: change static function wget_loop() to be wget_do_request()

2025-04-17 Thread Jerome Forissier
wget_do_request() currently does so little before calling the static function wget_loop() that we may as well rename wget_loop() to wget_do_request() and put everything in one function. Signed-off-by: Jerome Forissier Acked-by: Sughosh Ganu --- (no changes since v4) Changes in v4: - New patch

[PATCH v5 0/4] NET_LWIP LMB fixes

2025-04-17 Thread Jerome Forissier
Two small patches fixing issues with tftp and wget when the network stack is NET_LWIP and LMB is enabled. Plus one prerequisite patch fixing a problem with wget that does printf()/puts()/putc() when called from EFI which is not allowed (messes with the console output) and a small refactoring in net

[PATCH v2 8/8] ARM: dts: at91: sam9x60-curiosity: Enable watchdog node

2025-04-17 Thread Zixun LI
Enable watchdog node on SAM9X60-Curiosity board. Signed-off-by: Zixun LI --- arch/arm/dts/at91-sam9x60_curiosity.dts | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/dts/at91-sam9x60_curiosity.dts b/arch/arm/dts/at91-sam9x60_curiosity.dts index 7f00014f13c97fe58e6ed40491f15e42

  1   2   >