[PATCH 5/8] clk: clk-uclass: Fix clk_set_default_rates issue

2025-09-17 Thread Ye Li
clk_set_rate returns the actual clock rate, When assigned clock rate is higher than 0x7FFF, the return value will be recognized as error. Change to IS_ERR_VALUE to check the return value. Signed-off-by: Ye Li --- drivers/clk/clk-uclass.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[PATCH] arm: armv8: Fix spl recover data section broken

2025-09-17 Thread Ye Li
SPL recover data section is broken which causes reboot failure on some i.MX platforms (iMX8QM/iMX95). The global variable cold_reboot_flag is assigned to weak reset_flag function which always return 1, so restore never been executed in warm reboot. Fixes: 1c37e59bfbba ("arm: armv8: Improve SPL dat

[PATCH v5 2/3] doc: phytec: update imx8m docs for optee builds

2025-09-17 Thread Yannic Moog
OP-TEE configs are enabled by default, change the doc to no longer declare OP-TEE as optional. Also remove CFG_TEE_BENCHMARK as it is no longer present in optee_os. Further, phycore-imx8mm and imx8mm-phygate-tauri-l use different build instructions, so dissolve the common file for building OP-TEE.

[PATCH v5 3/3] doc: phytec: imx8m: Style and firmware update

2025-09-17 Thread Yannic Moog
Use single make command for compiling blobs and U-Boot. Update the imx firmware version. Signed-off-by: Yannic Moog --- doc/board/phytec/imx8mm-phygate-tauri-l.rst | 27 ++- doc/board/phytec/phycore-imx8mm.rst | 28 +++- doc/board/phytec/phycore-im

[PATCH v5 0/3] PHYTEC imx8m boards: enable OP-TEE as default

2025-09-17 Thread Yannic Moog
OPTEE config was unset by default and the doc for the boards was not quite accurate as TEE configs must be enabled first in order to be able to build with OP-TEE support. This series enables the config by default, i.e. when wanting to build without OP-TEE now, configs need to be modified. Update an

[PATCH v5 1/3] phytec-imx8m boards: enable OP-TEE for KASLR

2025-09-17 Thread Yannic Moog
Enable OP-TEE config and RNG by default. Set OP-TEE load address to end of 1GiB RAM for phycore-imx8mp and phycore-imx8mm as the boards support a 1GiB RAM variant (although not yet upstreamed for phycore-imx8mm). The imx8mm-phygate-tauri-l board only supports 2GiB, so the default at the end of 2GiB

Re: [PATCH v4 3/3] doc: phytec: imx8m: Style and firmware update

2025-09-17 Thread Yannic Moog
Hi Jerome, Am Mittwoch, dem 17.09.2025 um 17:12 +0200 schrieb Jerome Forissier: > Hi Yannic, > > On 9/9/25 16:05, Yannic Moog wrote: > > Use single make command for compiling blobs and U-Boot. > > Update the imx firmware version. > > > > Signed-off-by: Yannic Moog > > --- > >  doc/board/phytec/

[PATCH v2] board: ti: am57xx: Remove "ti/omap/" from name_fit_config

2025-09-17 Thread Anurag Dutta
Commit 649f4a7d3ca7 ("board: ti: am57xx: Set fdtfile from C code instead of findfdt script") prepends "ti/omap/" to the actual name of the fdtfile whereas fit image boot needs exact dtb name. So, remove "ti/omap" from name_fit_config by substituting it with an empty string. Fixes: 649f4a7d3ca7 ("b

Re: [PATCH 0/5] stm32mp2: Add SPI flashes support

2025-09-17 Thread Patrice CHOTARD
On 9/15/25 02:07, Marek Vasut wrote: > On 8/20/25 3:11 PM, Patrice CHOTARD wrote: > > Hi, > > sorry for the late reply. > >> If you refer to my previous e-mail with the stm32mp257f-ev1 boot log, >> with the following upstream components: >> >> TF-A: v2.13.0-304-g000fe221b8 > > It seems this

Re: [PATCH] Fix detection of odd memory configurations on sunxi

2025-09-17 Thread Jernej Škrabec
Dne sobota, 16. avgust 2025 ob 14:18:44 Srednjeevropski poletni čas je Rudi Horn napisal(a): > Hi Jernej, > > thanks for the comments on the patch. > > > I don't see a benefit for public function here, since it's unlikely > to be > used anywhere else. Just mark it static. Compiler can optimize

[PATCH v4 4/4] arm: dts: k3-j721e-r5-common-proc-board: Enable HBMC in R5 SPL stage

2025-09-17 Thread Anurag Dutta
Enable HBMC in the R5 SPL stage Fixes: c9df79ee64d0 ("arm: dts: k3-j721e-r5-common: Add HBMC overrides for R5 SPL") Signed-off-by: Anurag Dutta --- arch/arm/dts/k3-j721e-r5-common-proc-board.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/dts/k3-j721e-r5-common-proc-board.dts

Re: [PATCH v2 1/3] include: dt-bindings: clk: agilex: Add Agilex clock definitions header file

2025-09-17 Thread Tom Rini
On Thu, Sep 11, 2025 at 07:17:32AM +, Yuslaimi, Alif Zakuan wrote: > Hi, > > > -Original Message- > > From: Peng Fan > > Sent: Thursday, September 11, 2025 2:23 PM > > To: Yuslaimi, Alif Zakuan ; u- > > b...@lists.denx.de > > Cc: Tom Rini ; Lukasz Majewski ; Sean > > Anderson ; Jaehoo

Re: [PATCH] mtd: spi-nor: winbond: Make sure w25q{01,02}jv behave correctly

2025-09-17 Thread Miquel Raynal
Hello, On 09/09/2025 at 17:37:24 +0530, Jagan Teki wrote: > On Tue, Sep 9, 2025 at 3:43 PM Miquel Raynal > wrote: >> >> Hello, >> >> On 02/07/2025 at 11:23:13 +02, Miquel Raynal >> wrote: >> >> > These chips are internally made of two/four dies with linear addressing >> > capabilities to mak

Re: [PATCH 1/1] board: ti: am335x: Do not call disabled PMIC functions

2025-09-17 Thread Maarten Brock
> From: Tom Rini > > On Tue, Sep 09, 2025 at 04:23:56PM +0200, Kory Maincent wrote: > > On Tue, 9 Sep 2025 12:45:10 + > > Maarten Brock wrote: > > > > > > From: Kory Maincent > > > > > > > > On Mon, 8 Sep 2025 16:05:04 + > > > > Maarten Brock wrote: > > > > > > > > > When PMIC drivers a

Re: [PATCH 3/5] pytest: add test script to validate Firmware Handoff

2025-09-17 Thread Tom Rini
On Tue, Sep 16, 2025 at 09:14:19AM -0700, Raymond Mao wrote: > Add test cases to validate FDT and TPM eventlog handoff from TF-A > and OP-TEE via bloblist. > > For FDT, the nodes 'reserved-memory' and 'firmware' appended by > OP-TEE indicates a successful handoff. > > For TPM eventlog, the events

Re: [PATCH v2] usb: onboard-hub: Make i2c-bus option

2025-09-17 Thread Marek Vasut
On 9/16/25 11:26 AM, Michal Simek wrote: DT binding doesn't mandate i2c-bus as required property because hub itself doesn't need to have i2c connected. It can be in standalone mode that only power regulator and reset should be handled. Or hub should be configured via spi interface. Signed-off-by

[PATCH v2 2/5] memory: Add STM32 Octo Memory Manager driver

2025-09-17 Thread Patrice Chotard
Octo Memory Manager driver (OMM) manages: - the muxing between 2 OSPI busses and 2 output ports. There are 4 possible muxing configurations: - direct mode (no multiplexing): OSPI1 output is on port 1 and OSPI2 output is on port 2 - OSPI1 and OSPI2 are multiplexed over the

Re: [PATCH v2] sunxi: extend R528/T113-s3/D1(s) DRAM initialisation

2025-09-17 Thread Andre Przywara
On Mon, 15 Sep 2025 21:20:35 +0200 Lukas Schmid wrote: Hi Lukas, John, so looking at the code again, table 0 is special in that it's all 0's, which apparently means no remapping, according to some comments. We already bail out earlier of this function for configurations that do not require remap

[PATCH RESEND v5 1/2] cmd: mtd: fix speed measurement in the speed benchmark

2025-09-17 Thread Mikhail Kshevetskiy
The shown speed is inversely proportional to the data size. See the output: spi-nand: spi_nand nand@0: Micron SPI NAND was found. spi-nand: spi_nand nand@0: 256 MiB, block size: 128 KiB, page size: 2048, OOB size: 128 ... => mtd read.benchmark spi-nand0 $loadaddr 0 0x4 Reading 26214

[PATCH RESEND v5 2/2] cmd: mtd: add benchmark option to the help

2025-09-17 Thread Mikhail Kshevetskiy
The patch adds benchmark option to the help of mtd command. For the 'mtd write' case the help line exceed 80 characters. Ignore this issue as modern terminals are capable to handle more characters. The patch also formats other command to make sure all device names starts on the same collumn. Fixe

[PATCH RESEND v5 0/2] cmd: mtd: fix benchmarking

2025-09-17 Thread Mikhail Kshevetskiy
The patch series fixes speed calculation for nand device case and updates help to refer benchmark option presence. Changes v2: * update commit message * 'Fixes:' tag was added * calculate speed a bit more precisely using a 64-bit math Changes v3: * split on 2 patches * update help for 'mtd w

Re: [PATCH RFC 3/9] mmc: meson_gx_mmc: don't bail if there is no clock driver

2025-09-17 Thread Neil Armstrong
On 07/09/2025 16:36, Ferass El Hafidi wrote: The clock driver is too big for U-Boot SPL at the moment. In the meantime, continue mmc init even if it is not present. Signed-off-by: Ferass El Hafidi --- drivers/mmc/meson_gx_mmc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff

Re: [PATCH] arm: mach-k3: am625: Unlock MMR registers again

2025-09-17 Thread b...@ti.com
On September 10, 2025 thus sayeth Daniel Schultz: > Hi Alexander, > > On 8/21/25 18:21, Sverdlin, Alexander wrote: > > Dear Daniel, TI team, > > > > On Fri, 2025-08-15 at 09:02 -0700, Daniel Schultz wrote: > > > The watchdog requires to have the MCU ESM error source enabled to > > > trigger a sys

Re: [PATCH] phy: Reset init count on phy exit failure

2025-09-17 Thread Siddharth Vadapalli
On Sun, Sep 07, 2025 at 06:13:33PM +0200, Marek Vasut wrote: > On 9/7/25 9:18 AM, Siddharth Vadapalli wrote: > > Hi, > > > > diff --git a/drivers/phy/phy-uclass.c b/drivers/phy/phy-uclass.c > > > index 714be123856..f8d4fb3b41b 100644 > > > --- a/drivers/phy/phy-uclass.c > > > +++ b/drivers/phy/ph

[RFC PATCH v2 2/5] board: ti: am62dx: Add board configs for am62d

2025-09-17 Thread Paresh Bhagat
Add YAML configs for AM62D2-EVM. Signed-off-by: Paresh Bhagat --- board/ti/am62dx/board-cfg.yaml | 36 + board/ti/am62dx/pm-cfg.yaml | 12 + board/ti/am62dx/rm-cfg.yaml | 1047 ++ board/ti/am62dx/sec-cfg.yaml | 379 +++ board/ti/am62dx/tif

Re: [PATCH u-boot-test-hooks 2/2] travis-ci: add config file for testing firmware handoff on qemu_arm64

2025-09-17 Thread Tom Rini
On Tue, Sep 16, 2025 at 09:12:25AM -0700, Raymond Mao wrote: > The existing 'conf.qemu_arm64_na' uses 'u-boot.bin' as bios, but for > the case of TF-A, 'u-boot.bin' is BL33 and the assembled 'flash.bin' > is the bios instead, which will be built and assembled at run-time > via a post-buildman scri

Re: [PATCH] riscv: qemu: Remove fdt_high default

2025-09-17 Thread Auer, Lukas
On Mon, 2025-09-15 at 07:45 +0800, Vivian Wang wrote: > Setting fdt_high to all ones is discouraged and does not appear to be > useful for RISC-V QEMU. Moreover, it causes a boot failure when the FDT > generated internally by QEMU is used while booting. Remove it to allow > U-Boot to pick a suitabl

Re: [PATCH v1] configs: starfive: Add visionfive2 CONFIG_DNS enabled

2025-09-17 Thread Tom Rini
On Mon, 01 Sep 2025 04:27:40 -0700, E Shattow wrote: > Enable CONFIG_DNS for visionfive2 board target. With CONFIG_PROT_DNS_LWIP > enabled and CONFIG_CMD_DNS disabled this restores DNS functionality > displaced by LwIP DNS refactoring during the merge window. > > Applied to u-boot/master, thank

Re: [PATCH 1/4] arm: mach-k3: Fix MMC macros

2025-09-17 Thread Andrew Davis
On 9/11/25 9:59 AM, Judith Mendez wrote: Hi Anshul, On 9/11/25 12:11 AM, Anshul Dalal wrote: On Thu Sep 11, 2025 at 3:15 AM IST, Judith Mendez wrote: For all K3 SoC's eMMC boot and MMCSD boot modes are supported. The macros however, mix MMC device with the two bootmodes. Decouple the two types

[PATCH 2/8] pci: pcie_dw_imx: Add iMX9 support to the driver

2025-09-17 Thread Ye Li
Adding iMX95/iMX94 support to the dw driver. Follow kernel driver stype to use flags to distinguish the characteristic of different platforms. Signed-off-by: Ye Li --- drivers/pci/Kconfig | 2 +- drivers/pci/pcie_dw_imx.c | 420 +- 2 files chan

Re: [PATCH 4/5] configs: stm32mp25: Enable configs flags related to SPI flashes.

2025-09-17 Thread Patrick DELAUNAY
Hi, On 8/8/25 17:11, Patrice Chotard wrote: Enable configs flags related to SPI flashes. Signed-off-by: Patrice Chotard --- configs/stm32mp25_defconfig | 15 ++- 1 file changed, 14 insertions(+), 1 deletion(-) Reviewed-by: Patrick Delaunay Thanks Patrick

[PATCH -master v1] spl: spi: fix falcon mode for spi boot

2025-09-17 Thread Anshul Dalal
spl_start_uboot is a board overridable function that switches to falcon boot mode on return value of 0. Though for SPI, the falcon boot mode was being enabled on return value of 1 which is not the correct behaviour. Therefore this patch fixes it to the expected boot flow. Fixes: 14509a28aa20 ("sp

Re: 回复: 回复: [PATCH v4 1/2] binman: add a new entry type to support .bin file generation for the i.MX95 platform

2025-09-17 Thread Tom Rini
On Tue, Sep 09, 2025 at 03:26:18AM +, Alice Guo (OSS) wrote: > > -邮件原件- > > 发件人: Tom Rini > > 发送时间: 2025年9月8日 22:35 > > 收件人: Alice Guo (OSS) > > 抄送: Fabio Estevam ; Simon Glass > > ; Alper Nebi Yasak ; Stefano > > Babic ; dl-uboot-imx ; Alice > > Guo ; Marek Vasut ; > > thar...@gatewo

[PATCH] doc: environment: clarify env precedence

2025-09-17 Thread mark.jonas
From: Ricardo Simoes Since commit 5cf6a06a it is possible to have both text-based and old-style C environment files. But so far the environment documentation has not reflected this change. This commit fixes that. Signed-off-by: Ricardo Simoes Signed-off-by: Mark Jonas --- doc/usage/environmen

RE: [PATCH] power: pfuze100: Ensure loop index is incremented

2025-09-17 Thread Peng Fan
> Subject: Re: [PATCH] power: pfuze100: Ensure loop index is > incremented > > Sorry for being unclear. The original patch isn't right I think, the size > change leads me to believe that we're changing the loop behavior. > Looking harder at the code in question, it seems like it's an odd way to >

[PATCH RFT v1 02/17] arm: Kconfig: add per device symbols for TI_SECURE

2025-09-17 Thread Anshul Dalal
The TI_SECURE_DEVICE config symbols enables support for HS devices. When enabled some insecure options are disabled such as falcon mode. Even though falcon mode can be enabled for k3 devices securely. Thus to allow for more granular disablement of options, this patch introduces two new hidden symb

Re: [PATCH v1 4/8] spl: ubi: refactor spl_ubi_load_image for falcon mode

2025-09-17 Thread Anshul Dalal
On Wed Sep 17, 2025 at 12:04 AM IST, Tom Rini wrote: > On Tue, Sep 16, 2025 at 04:28:52PM +0530, Anshul Dalal wrote: > >> This patch moves the falcon mode handling logic out of >> spl_ubi_load_image to spl_ubi_load_image_os, this allows for cleaner >> handling for fallback to U-Boot in case falcon

Re: [PATCH] ARM: stm32: Perform node compatible check for KS8851 early

2025-09-17 Thread Patrice CHOTARD
On 9/15/25 02:49, Marek Vasut wrote: > Check the compatible string of ethernet1 node for KS8851 very early on, > before calling uclass_get_device_by_of_path() which might initialize > the device and possibly attempt to configure MAC address into device > which is not KS8851. Doing the compatibil

Re: [PATCH v1 3/8] spl: mmc: split spl_mmc_do_fs_boot into regular/os_boot

2025-09-17 Thread Anshul Dalal
Hello Tom, On Wed Sep 17, 2025 at 12:02 AM IST, Tom Rini wrote: > On Tue, Sep 16, 2025 at 04:28:51PM +0530, Anshul Dalal wrote: > >> Currently the logic to handle falcon mode as well as the regular boot is >> inside spl_mmc_do_fs_boot, this prevents us from cleanly extending >> falcon mode functio

[PATCH v1 5/8] spl: spi: refactor spl_spi_load_image for falcon mode

2025-09-17 Thread Anshul Dalal
This patch moves the falcon mode handling logic out of spl_spi_load_image to spl_spi_load_image_os, this allows for cleaner handling for fallback to U-Boot in case falcon mode fails. Signed-off-by: Anshul Dalal --- common/spl/spl_spi.c | 31 --- 1 file changed, 24 ins

Re: [PATCH -next v6 10/10] mach-k3: add carveouts for TFA and optee

2025-09-17 Thread Anshul Dalal
On Wed Sep 10, 2025 at 4:44 PM IST, Bryan Brattlof wrote: > On September 5, 2025 thus sayeth Anshul Dalal: >> K3 platforms have reserved memory regions for TFA and OPTEE which should >> be unmapped for U-Boot. >> >> Therefore this patch adds the necessary fdt fixups to properly set the >> load ad

[PATCH v4 0/2] xilinx: Update guid with fwu metadata

2025-09-17 Thread Padmarao Begari
Introducing the fwu platform hook function from fwu initialization to process fwu metadata information with platform specific operation, and use image uuid(GUID) from fwu metadata structure for fwu multi bank update. Change in v4: -Include fwu.h in board.c -Rename fwu_mtd_platform_hook() to fwu_pl

Re: [PATCH 1/1] gpio: adp5588: Add ADP5587 as compatible

2025-09-17 Thread Tom Rini
On Fri, 05 Sep 2025 11:25:13 +, Philip Molloy wrote: > The ADP5587 is a simpler version of the ADP5588. The ADP5588 can > configure two pins, C8 and C9, as GPIOs or light sensors. The ADP5587 > does not include the light sensors. > > Applied to u-boot/next, thanks! [1/1] gpio: adp5588: Add

Re: [PATCH 3/5] pytest: add test script to validate Firmware Handoff

2025-09-17 Thread Tom Rini
On Wed, Sep 17, 2025 at 11:54:08AM -0400, Raymond Mao wrote: > Hi Tom, > > On Tue, 16 Sept 2025 at 14:27, Tom Rini wrote: > > > > On Tue, Sep 16, 2025 at 09:14:19AM -0700, Raymond Mao wrote: > > > Add test cases to validate FDT and TPM eventlog handoff from TF-A > > > and OP-TEE via bloblist. > >

Re: [PATCH v3 4/7] video: stm32: ltdc: support new hardware version for STM32MP25 SoC

2025-09-17 Thread Patrice CHOTARD
On 9/15/25 15:05, Raphael Gallais-Pou wrote: > > > On 9/12/25 18:41, Patrice CHOTARD wrote: >> >> On 9/4/25 14:53, Raphael Gallais-Pou wrote: >>> ... > >>> static const struct udevice_id stm32_ltdc_ids[] = { >>> { .compatible = "st,stm32-ltdc" }, >>> + { .compatible = "st,stm32mp251-lt

Re: [PATCH 1/4] arm: mach-k3: Fix MMC macros

2025-09-17 Thread Andrew Davis
On 9/17/25 11:06 AM, Judith Mendez wrote: On 9/16/25 10:41 PM, Anshul Dalal wrote: Hi Judith, On Wed Sep 17, 2025 at 4:05 AM IST, Judith Mendez wrote: Hi Andrew, Anshul, On 9/16/25 11:22 AM, Andrew Davis wrote: On 9/11/25 9:59 AM, Judith Mendez wrote: Hi Anshul, On 9/11/25 12:11 AM, Anshul

[PATCH] Revert "board: st: stm32mp1: Clean env_get_location()"

2025-09-17 Thread Kory Maincent
This reverts commit d37641c61ba212241c38e3fd22f0335fc0bebc96. Restore support for environment storage in EXT4 filesystem on eMMC boot. The previous cleanup incorrectly removed this fallback option which is needed for boards that store their environment in an EXT4 partition. This configuration is

Re: [PATCH v5 0/2] Restore support for i.MX95 A0 silicon

2025-09-17 Thread Fabio Estevam
On Mon, Sep 15, 2025 at 4:27 AM Alice Guo (OSS) wrote: > > Changes for v3: > - update the binman etype to generate a configuration file and a .bin >file > - update Get ahab-container.img in imx95_evk.rst > - rename configs/imx95.config to configs/imx95_evk.config > > Changes for v4: > - up

Re: [PATCH 2/5] ci: add post-buildman script to build TF-A

2025-09-17 Thread Raymond Mao
Hi Tom, On Wed, 17 Sept 2025 at 11:49, Tom Rini wrote: > > On Wed, Sep 17, 2025 at 11:44:07AM -0400, Raymond Mao wrote: > > Hi Tom, > > > > On Tue, 16 Sept 2025 at 14:27, Tom Rini wrote: > > > > > > On Tue, Sep 16, 2025 at 09:14:18AM -0700, Raymond Mao wrote: > > > > Add a script which is runnin

Re: [PATCH] thermal: Sort the Makefile

2025-09-17 Thread Tom Rini
On Sat, 06 Sep 2025 02:01:18 +0200, Marek Vasut wrote: > Sort the Makefile alphabetically. No functional change. > > Applied to u-boot/next, thanks! [1/1] thermal: Sort the Makefile commit: 7be74f63f7ebeec1665a4f0f1cf3e41c5444518d -- Tom

Re: [PATCH 2/2] watchdog: Add implementation of NVIDIA's Tegra 30 watchdog driver

2025-09-17 Thread Svyatoslav Ryhel
вт, 26 серп. 2025 р. о 12:39 Lukasz Majewski пише: > > This commit provides support for Tegra's 30 watchdog functionality. > The WATCHDOG index 0 in conjunction with TIMER 5 has been used. as the > same setup is used in Linux kernel driver. > > Signed-off-by: Lukasz Majewski > --- > drivers/watc

Re: [PATCH] xilinx: Disable SPL_OS_BOOT for Zynq and ZynqMP

2025-09-17 Thread Tom Rini
On Wed, 17 Sep 2025 09:22:18 +0200, Michal Simek wrote: > The commit 210702ae6ce8 ("spl: spi: fix falcon mode for spi boot") fixed > the logic of spl_start_uboot() where 0 means OS boot and 1 means u-boot. > Zynq/ZynqMP enable OS_BOOT by default but it was never really be used > that's why disable

[PATCH v2 2/2] arm: vexpress64: Enable SYSRESET and SYSRESET_PSCI

2025-09-17 Thread Debbie Horsfall
Select SYSRESET on Vexpress64 to enable system reset to support other features, such as capsule-on-disk. Select SYSRESET_PSCI if PSCI is inferred from the firmware (via ARM_PSCI_FW). Select ARM_SMCCC for Vexpress64 boards which in turn selects ARM_PSCI_FW. The sysreset uclass unconditionally imple

[PATCH v2 1/2] vexpress63: Set the DM_RNG property

2025-09-17 Thread Debbie Horsfall
Enable the DM_RNG virtio random number generator driver in order to consume entropy within U-Boot. This allows U-Boot to inject entropy to the kernel via UEFI, so the kernel can use that early, for instance for address layout randomisation, or when the kernel does not provide an entropy driver itse

[PATCH] gpio: qcom: Support GPIOs on PM7325 PMIC

2025-09-17 Thread Luca Weiss
"qcom,pm8550ve-gpio" }, --- base-commit: 18973d4b0801ec6d7fddc0084601036b5c3b08ad change-id: 20250917-spmi-gpio-pm7325-4551f3999f1c prerequisite-change-id: 20250618-sm6350-bringup-08e24e0f8bb2:v2 prerequisite-patch-id: f0b44882a110259dd421dc3fd223cf3569e32f2d prerequisite-patch-id: 8aeea48ec719

[PATCH v2 9/9] board/qualcomm: add debug config fragment for SM6350

2025-09-17 Thread Luca Weiss
Add a fragment similar to others to enable earlycon. Reviewed-by: Neil Armstrong Signed-off-by: Luca Weiss --- board/qualcomm/debug-sm6350.config | 5 + 1 file changed, 5 insertions(+) diff --git a/board/qualcomm/debug-sm6350.config b/board/qualcomm/debug-sm6350.config new file mode 10064

[PATCH v2 8/9] qcom_defconfig: Enable SM6350 clock and pinctrl drivers

2025-09-17 Thread Luca Weiss
Enable the drivers so that SM6350 devices can boot with qcom_defconfig. Reviewed-by: Neil Armstrong Signed-off-by: Luca Weiss --- configs/qcom_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/qcom_defconfig b/configs/qcom_defconfig index 86d7de89e7746e33f4385ca78c839b433

[PATCH v2 7/9] gpio: qcom: Support GPIOs on PM6350 PMIC

2025-09-17 Thread Luca Weiss
The GPIOs on PM6350 work fine using the qcom_spmi_gpio driver and enables the use of the Volume Up button Fairphone 4 smartphone. Signed-off-by: Luca Weiss --- drivers/gpio/qcom_spmi_gpio.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpio/qcom_spmi_gpio.c b/drivers/gpio/qcom_spmi

[PATCH v2 2/9] clk/stub: add sm6350-rpmh clock

2025-09-17 Thread Luca Weiss
Stub the RPMh clock controller on SM6350. Reviewed-by: Neil Armstrong Signed-off-by: Luca Weiss --- drivers/clk/clk-stub.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/clk-stub.c b/drivers/clk/clk-stub.c index 5f5aca41d5b322537f070a740bf1f80531006036..5863ec72abefefb3c621528

[PATCH v2 6/9] regulator: qcom-rpmh-regulator: add support for pm6150l regulators

2025-09-17 Thread Luca Weiss
Add the pm6150l regulator data found on the Qualcomm SM6350 platform. The tables are imported from the Linux driver. The SMPS regulators were not added now. Reviewed-by: Neil Armstrong Signed-off-by: Luca Weiss --- drivers/power/regulator/qcom-rpmh-regulator.c | 31 +++

[PATCH v2 5/9] phy: qcom: Add SM6350 to QMP UFS PHY driver

2025-09-17 Thread Luca Weiss
The UFS on SM6350 can reuse the SDM845 configuration, just like in Linux. Reviewed-by: Neil Armstrong Signed-off-by: Luca Weiss --- drivers/phy/qcom/phy-qcom-qmp-ufs.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/phy/qcom/phy-qcom-qmp-ufs.c b/drivers/phy/qcom/phy-qcom-qmp-ufs.c

[PATCH v2 3/9] drivers: pinctrl: Add Qualcomm SM6350 TLMM driver

2025-09-17 Thread Luca Weiss
Add support for TLMM pin controller block (Top Level Mode Multiplexer) on SM6350 SoC, with support for special pins. Correct pin configuration is required for working debug UART and eMMC/SD cards. Reviewed-by: Neil Armstrong Signed-off-by: Luca Weiss --- drivers/pinctrl/qcom/Kconfig |

[PATCH v2 4/9] iommu: qcom-smmu: Add qcom,sm6350-smmu-500 compatible

2025-09-17 Thread Luca Weiss
This SoC doesn't have the generic compatible. Reviewed-by: Neil Armstrong Signed-off-by: Luca Weiss --- drivers/iommu/qcom-hyp-smmu.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/iommu/qcom-hyp-smmu.c b/drivers/iommu/qcom-hyp-smmu.c index 2e51ce4f242e44e670c9ba

[PATCH v2 1/9] clk/qcom: Add SM6350 clock driver

2025-09-17 Thread Luca Weiss
Add Clock driver for the GCC block found in the SM6350 SoC. Reviewed-by: Casey Connolly Reviewed-by: Neil Armstrong Signed-off-by: Luca Weiss --- drivers/clk/qcom/Kconfig| 8 ++ drivers/clk/qcom/Makefile | 1 + drivers/clk/qcom/clock-sm6350.c | 193 +++

[PATCH v2 0/9] U-Boot Bringup of SM6350 SoC

2025-09-17 Thread Luca Weiss
Add a clock driver, pinctrl driver for SM6350, and enable support for this SoC in the SMMU and UFS driver. Add a debug kconfig fragment which configures the debug UART address. Finally add support for the PM6150L regulators which is used to get power on for the SD card. Signed-off-by: Luca Weiss

Re: [PATCH] cmd/dma: implement dmareset command

2025-09-17 Thread Tom Rini
On Mon, Sep 01, 2025 at 06:25:01AM +0800, briansune wrote: > Add dmareset command to release PL330 DMA channel resets. > > Signed-off-by: briansune > --- > cmd/Kconfig | 7 +++ > cmd/Makefile | 1 + > cmd/dma.c| 52 > 3 files chang

Re: [PATCH] arm: mach-k3: am625: Unlock MMR registers again

2025-09-17 Thread Sverdlin, Alexander
Hi Bryan! On Wed, 2025-09-10 at 07:53 -0500, b...@ti.com wrote: > > > > > > The watchdog requires to have the MCU ESM error source enabled to > > > > > > trigger a system reboot. When booting HS-SE (security enforced) > > > > > > devices, the MMR registers are locked again and all write commands >

Re: [PATCH 1/4] arm: mach-k3: Fix MMC macros

2025-09-17 Thread Judith Mendez
On 9/16/25 10:41 PM, Anshul Dalal wrote: Hi Judith, On Wed Sep 17, 2025 at 4:05 AM IST, Judith Mendez wrote: Hi Andrew, Anshul, On 9/16/25 11:22 AM, Andrew Davis wrote: On 9/11/25 9:59 AM, Judith Mendez wrote: Hi Anshul, On 9/11/25 12:11 AM, Anshul Dalal wrote: On Thu Sep 11, 2025 at 3:15

[PATCH] clk: imx6q: Add definition for missing PWM clocks

2025-09-17 Thread mark.jonas
From: Ricardo Simoes Following the work done in commit 7f39ad5a, this commit adds definitions for PWM2, PWM3, and PWM4 clocks. Allowing one to use these PWM modules together with DM_CLK. Note that the solution was verified only against PWM3. Signed-off-by: Ricardo Simoes Signed-off-by: Mark Jo

Re: [PATCH 3/5] pytest: add test script to validate Firmware Handoff

2025-09-17 Thread Raymond Mao
Hi Tom, On Tue, 16 Sept 2025 at 14:27, Tom Rini wrote: > > On Tue, Sep 16, 2025 at 09:14:19AM -0700, Raymond Mao wrote: > > Add test cases to validate FDT and TPM eventlog handoff from TF-A > > and OP-TEE via bloblist. > > > > For FDT, the nodes 'reserved-memory' and 'firmware' appended by > > OP

Re: [PATCH 2/5] ci: add post-buildman script to build TF-A

2025-09-17 Thread Tom Rini
On Wed, Sep 17, 2025 at 11:44:07AM -0400, Raymond Mao wrote: > Hi Tom, > > On Tue, 16 Sept 2025 at 14:27, Tom Rini wrote: > > > > On Tue, Sep 16, 2025 at 09:14:18AM -0700, Raymond Mao wrote: > > > Add a script which is running after buildman to fetch TF-A (v2.13.0) > > > with MbedTLS (v3.6) and b

Re: [PATCH u-boot-test-hooks 2/2] travis-ci: add config file for testing firmware handoff on qemu_arm64

2025-09-17 Thread Tom Rini
On Wed, Sep 17, 2025 at 10:42:52AM -0400, Raymond Mao wrote: > Hi Tom, > > On Tue, 16 Sept 2025 at 14:27, Tom Rini wrote: > > > > On Tue, Sep 16, 2025 at 09:12:25AM -0700, Raymond Mao wrote: > > > > > The existing 'conf.qemu_arm64_na' uses 'u-boot.bin' as bios, but for > > > the case of TF-A, 'u-

Re: [PATCH 2/5] ci: add post-buildman script to build TF-A

2025-09-17 Thread Raymond Mao
Hi Tom, On Tue, 16 Sept 2025 at 14:27, Tom Rini wrote: > > On Tue, Sep 16, 2025 at 09:14:18AM -0700, Raymond Mao wrote: > > Add a script which is running after buildman to fetch TF-A (v2.13.0) > > with MbedTLS (v3.6) and build 'flash.bin', linking built U-Boot as > > BL33 and OP-TEE as BL32, with

Re: [PATCH v4 3/3] doc: phytec: imx8m: Style and firmware update

2025-09-17 Thread Jerome Forissier
Hi Yannic, On 9/9/25 16:05, Yannic Moog wrote: > Use single make command for compiling blobs and U-Boot. > Update the imx firmware version. > > Signed-off-by: Yannic Moog > --- > doc/board/phytec/imx8mm-phygate-tauri-l.rst | 27 ++- > doc/board/phytec/phycore-imx8mm.rst

Re: [GIT PULL] Please pull u-boot-imx-master-20250917

2025-09-17 Thread Tom Rini
On Wed, 17 Sep 2025 10:33:36 -0300, Fabio Estevam wrote: > Please pull from u-boot-imx/master, thanks. > > The following changes since commit b82fa9d752b025d3b5305b5b07debe6808a5d027: > > board: starfive: visionfive2: deprecate mixed-case product ids VF7110a > VF7110b (2025-09-16 10:16:54 -06

Re: [PULL] Pull request for u-boot master / v2025.10 = u-boot-stm32-20250917

2025-09-17 Thread Tom Rini
On Wed, 17 Sep 2025 09:07:14 +0200, Patrice CHOTARD wrote: > Some last fixes for v2025.10 release. > Please pull the STM32 related patches for u-boot/master, v2025.10 = > u-boot-stm32-20250917 > > CI status: > https://source.denx.de/u-boot/custodians/u-boot-stm/-/pipelines

Re: [PATCH 1/2] board: dhelectronics: Check pointer before access in dh_get_value_from_eeprom_buffer()

2025-09-17 Thread Tom Rini
On Wed, Sep 17, 2025 at 03:54:24PM +0200, Marek Vasut wrote: > On 9/17/25 3:47 PM, Tom Rini wrote: > > On Sun, 07 Sep 2025 03:00:46 +0200, Marek Vasut wrote: > > > > > The eip pointer in dh_get_value_from_eeprom_buffer() might be NULL. > > > The current NULL pointer check happens too late, after t

Re: [PATCH 1/2] board: dhelectronics: Check pointer before access in dh_get_value_from_eeprom_buffer()

2025-09-17 Thread Tom Rini
On Sun, 07 Sep 2025 03:00:46 +0200, Marek Vasut wrote: > The eip pointer in dh_get_value_from_eeprom_buffer() might be NULL. > The current NULL pointer check happens too late, after the eip was > accessed in variable assignment. Reorder the two, so the NULL pointer > check happens first, and any a

Re: [PATCH v4 0/4] Hyperflash boot fixes for j721e/j7200

2025-09-17 Thread Tom Rini
On Wed, 17 Sep 2025 15:16:55 +0530, Anurag Dutta wrote: > This series introdues a couple of small fixes that involves > enabling hyperflash at R5 SPL and u-boot proper stage and > Kconfig changes that are required for HBMC boot on j721e/j7200 > > Test logs: > https://gist.github.com/anuragdutta73

Re: [PATCH v2] board: ti: am57xx: Remove "ti/omap/" from name_fit_config

2025-09-17 Thread Tom Rini
On Wed, 17 Sep 2025 09:47:29 +0530, Anurag Dutta wrote: > Commit 649f4a7d3ca7 ("board: ti: am57xx: Set fdtfile from C code > instead of findfdt script") prepends "ti/omap/" to the actual name > of the fdtfile whereas fit image boot needs exact dtb name. So, remove > "ti/omap" from name_fit_config

Re: [PATCH u-boot-test-hooks 2/2] travis-ci: add config file for testing firmware handoff on qemu_arm64

2025-09-17 Thread Raymond Mao
Hi Tom, On Tue, 16 Sept 2025 at 14:27, Tom Rini wrote: > > On Tue, Sep 16, 2025 at 09:12:25AM -0700, Raymond Mao wrote: > > > The existing 'conf.qemu_arm64_na' uses 'u-boot.bin' as bios, but for > > the case of TF-A, 'u-boot.bin' is BL33 and the assembled 'flash.bin' > > is the bios instead, whic

Re: [PATCH] Revert "board: st: stm32mp1: Clean env_get_location()"

2025-09-17 Thread Quentin Schulz
Hi Köry, On 9/17/25 4:17 PM, Kory Maincent wrote: This reverts commit d37641c61ba212241c38e3fd22f0335fc0bebc96. Restore support for environment storage in EXT4 filesystem on eMMC boot. The previous cleanup incorrectly removed this fallback option which is needed for boards that store their envi

Re: [PATCH 1/2] board: dhelectronics: Check pointer before access in dh_get_value_from_eeprom_buffer()

2025-09-17 Thread Marek Vasut
On 9/17/25 3:47 PM, Tom Rini wrote: On Sun, 07 Sep 2025 03:00:46 +0200, Marek Vasut wrote: The eip pointer in dh_get_value_from_eeprom_buffer() might be NULL. The current NULL pointer check happens too late, after the eip was accessed in variable assignment. Reorder the two, so the NULL pointer

Re: [PATCH 1/2] board: dhelectronics: Check pointer before access in dh_get_value_from_eeprom_buffer()

2025-09-17 Thread Tom Rini
On Sun, 07 Sep 2025 03:00:46 +0200, Marek Vasut wrote: > The eip pointer in dh_get_value_from_eeprom_buffer() might be NULL. > The current NULL pointer check happens too late, after the eip was > accessed in variable assignment. Reorder the two, so the NULL pointer > check happens first, and any a

Re: [PATCH] phy: Reset init count on phy exit failure

2025-09-17 Thread Tom Rini
On Sun, 07 Sep 2025 01:00:44 +0200, Marek Vasut wrote: > In case the PHY exit callback reports failure, reset init_count to 0 anyway, > so the next attempt at PHY initialization might try to reinitialize the PHY > and restore it to normal operation. > > Applied to u-boot/next, thanks! [1/1] ph

Re: [PATCH] thermal: sandbox: Staticize sandbox_thermal_get_temp()

2025-09-17 Thread Tom Rini
On Sat, 06 Sep 2025 02:00:53 +0200, Marek Vasut wrote: > Make sandbox_thermal_get_temp() static, since this is not called > outside of the driver. No functional change. > > Applied to u-boot/next, thanks! [1/1] thermal: sandbox: Staticize sandbox_thermal_get_temp() commit: 27fc6a67a4ca0a

Re: [PATCH 1/2] timer: tegra: Bind watchdog driver when timer node is processed

2025-09-17 Thread Svyatoslav Ryhel
ср, 17 вер. 2025 р. о 15:46 Łukasz Majewski пише: > > Dear Community, > > > The Tegra30 SoC is a bit special, as it doesn't have the separate IP > > block to provide watchdog functionality. > > > > Instead, timer IP block allows such functionality when properly > > configured. > > > > As in the te

[GIT PULL] Please pull u-boot-imx-master-20250917

2025-09-17 Thread Fabio Estevam
://gitlab.denx.de/u-boot/custodians/u-boot-imx.git tags/u-boot-imx-master-20250917 for you to fetch changes up to b3bbbf5fee21c7e4535cf24676609cfe64ff17fc: imx95_evk: Restore support for i.MX95 A0 silicon (2025-09-17 08:16:05 -0300) u-boot-imx-master-20250917 -- CI: https

Re: [PATCH] doc: memory: Restore missing diagram

2025-09-17 Thread Anshul Dalal
On Wed Sep 10, 2025 at 9:10 PM IST, Tom Rini wrote: > From: Neha Malcom Francis > > When applying the patch that became commit a2d881f5bcd3 ("doc: memory: > Add documentation for system RAM") one of the diagrams was missed. > Re-add this missing file. > > Reported-by: Adriano Carvalho > Fixes: a2

Re: [PATCH -next v1] arm: armv8: remove redundant definition of mmu_status

2025-09-17 Thread Dhruva Gole
On Sep 16, 2025 at 16:52:05 +0530, Anshul Dalal wrote: > mmu_status is used in io memcpy functions to prevent accesses to non > 8-byte aligned addresses when the mmu is disabled. Though there is a > redundant definition enabled when icaches is turned off by setting > SYS_ICACHE_OFF. > > This patch

Re: [PATCH 1/2] timer: tegra: Bind watchdog driver when timer node is processed

2025-09-17 Thread Łukasz Majewski
Dear Community, > The Tegra30 SoC is a bit special, as it doesn't have the separate IP > block to provide watchdog functionality. > > Instead, timer IP block allows such functionality when properly > configured. > > As in the tegra30.dtsi there is a timer node, which "covers" all > timers, with

[PATCH] stm32mp2: update register used by BL31 for boot parameter

2025-09-17 Thread Patrick Delaunay
Use the ARM64 kernel booting register settings, defined in Linux documentation Documentation/arch/arm64/booting.rst: x0 = physical address of device tree blob (dtb) in system RAM. so kernel can replace U-Boot in FIP without modification of BL31. Use x0 for future TF-A version and keep x2 as fal

Re: Gitlab CI slowdown

2025-09-17 Thread Simon Glass
Hi Tom, On Tue, 16 Sept 2025 at 12:57, Tom Rini wrote: > > On Tue, Sep 16, 2025 at 12:56:04PM -0600, Simon Glass wrote: > > Hi Tom, > > > > On Tue, 16 Sept 2025 at 11:44, Tom Rini wrote: > > > > > > Hey all, > > > > > > Currently, Gitlab CI runs are going to be extremely slow on the final > > >

[PULL] Pull request for u-boot master / v2025.10 = u-boot-stm32-20250917

2025-09-17 Thread Patrice CHOTARD
Hi Tom Some last fixes for v2025.10 release. Please pull the STM32 related patches for u-boot/master, v2025.10 = u-boot-stm32-20250917 CI status: https://source.denx.de/u-boot/custodians/u-boot-stm/-/pipelines/27648 Thanks Patrice The following changes since commit

Re: [PATCH 2/4] pinctrl: qcom: add SM7150 pinctrl driver

2025-09-17 Thread Casey Connolly
On 09/09/2025 01:32, Jens Reidel wrote: > On 9/4/25 3:53 PM, Casey Connolly wrote: >> >> >> On 31/08/2025 02:46, Jens Reidel wrote: >>> From: Danila Tikhonov >>> >>> This SoC features a pinctrl block with north, south, and west tiles >>> accessible to the AP. >>> >>> Signed-off-by: Danila Tikho

[PATCH v4 2/4] configs: j721e_evm_r5: Enable HBMC and MUX_MMIO at SPL

2025-09-17 Thread Anurag Dutta
Add the HBMC and MUX_MMIO configs in the R5 SPL stage for successful HBMC boot. Signed-off-by: Anurag Dutta --- configs/j721e_evm_r5_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/j721e_evm_r5_defconfig b/configs/j721e_evm_r5_defconfig index ceb2e273b54..52290722686 1006

[PATCH v4 3/4] configs: j7200_evm_*_defconfig: Enable HBMC and MUX_MMIO at SPL

2025-09-17 Thread Anurag Dutta
Add the HBMC and MUX_MMIO configs in the SPL and u-boot proper stage for successful HBMC boot. Signed-off-by: Anurag Dutta --- configs/j7200_evm_a72_defconfig | 1 + configs/j7200_evm_r5_defconfig | 2 ++ 2 files changed, 3 insertions(+) diff --git a/configs/j7200_evm_a72_defconfig b/configs/j

[PATCH v4 0/4] Hyperflash boot fixes for j721e/j7200

2025-09-17 Thread Anurag Dutta
Hi all, This series introdues a couple of small fixes that involves enabling hyperflash at R5 SPL and u-boot proper stage and Kconfig changes that are required for HBMC boot on j721e/j7200 Test logs: https://gist.github.com/anuragdutta731/0f56e8d9bdf0cfe3d221c69d09a58704 Changelog: v4: 1. Removed

[PATCH v4 1/4] mtd: Kconfig: Add SPL_MUX_MMIO dependency to HBMC driver

2025-09-17 Thread Anurag Dutta
MUX_MMIO is needed by HBMC in SPL stage. Enable it at SPL as well as u-boot proper stage. Signed-off-by: Anurag Dutta --- drivers/mtd/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mtd/Kconfig b/drivers/mtd/Kconfig index 2b7f5e5ed7b..e76601a5545 100644 --- a/

[RESEND PATCH] drivers/mtd/ubispl/ubispl.c: limit copy size

2025-09-17 Thread Benedikt Spranger
The fastmap VID header is embedded in struct ubi_scan_info. During fastmap scan, the header is copied into struct ubi_scan_info, if valid. The former code mixed up the amount of copied bytes and copied more bytes than nessesary. This had no side effect, since the affected struct members are uniniti

  1   2   >