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

2025-04-10 Thread Kumar, Udit
On 4/10/2025 1:25 PM, Daniel Schultz wrote: Labels are not allowed before declarations. Move the carveout struct at the beginning and only update 'end' at this point. This will fix following error: arch/arm/mach-k3/common_fdt.c: In function 'fdt_fixup_reserved': arch/arm/mach-k3/common_fdt.c:

[PATCH 1/1] efi_selftest: check executing in EL2

2025-04-10 Thread Heinrich Schuchardt
UEFI binaries should be executed in EL2 or EL1 even if U-Boot is started in EL3. Provide a unit test. Signed-off-by: Heinrich Schuchardt --- lib/efi_selftest/Makefile | 1 + lib/efi_selftest/efi_selftest_el.c | 46 ++ 2 files changed, 47 insertions(+) creat

Re: [PATCH V2] firmware: ti_sci: Scan all device instances when releasing exclusive devices

2025-04-10 Thread Kumar, Udit
Hi Nishanth, Sorry for basic question On 4/7/2025 5:45 PM, Nishanth Menon wrote: [..] This creates a problem when Device Manager(DM) firmware starts up later on in the boot process and identifies that this instance of i2c is Do we need to do clean up, where DM is loaded as different binary .

[PATCH] efi_selftest: use do_bootefi_exec()

2025-04-10 Thread Heinrich Schuchardt
The EFI selftest should match executing a real EFI binary as closely as possible. Use do_bootefi_exec() to enter the EFI selftest. Signed-off-by: Heinrich Schuchardt --- cmd/bootefi.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/cmd/bootefi.c b/cmd/bootefi.c index

[PATCH v2] usb: onboard-hub: Fix return type for regulator APIs

2025-04-10 Thread Michal Simek
From: Padmarao Begari Apart from ENOENT observing return value as ENOSYS when !DM_REGULATOR that's why cover both configurations. Changed code is not working as operation should be "&&" not "||" (ret != -ENOENT && ret != -ENOSYS). Also fix the remove function where the regulator_set_enable_if_al

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

2025-04-10 Thread Tom Rini
On Mon, Apr 07, 2025 at 09:24:16AM -0600, Simon Glass wrote: > Hi Tom, > > On Mon, 7 Apr 2025 at 08:31, Tom Rini wrote: > > > > On Mon, Apr 07, 2025 at 12:35:15PM +1200, Simon Glass wrote: > > > Hi Tom, > > > > > > On Mon, 7 Apr 2025 at 10:38, Tom Rini wrote: > > > > > > > > On Mon, Apr 07, 2025

Re: [PATCH 2/2] smbios: select CONFIG_BLOBLIST

2025-04-10 Thread Ilias Apalodimas
On Mon, 7 Apr 2025 at 09:44, Heinrich Schuchardt wrote: > > Since commit 53d5a221632e ("emulation: Use bloblist to hold tables") > `make qemu-riscv64_smode_defconfig acpi.config && make` fails with > > drivers/misc/qfw_smbios.c:93:(.text.qfw_evt_write_smbios_tables+0xe): > undefined refere

[PATCH v5 0/7] rockchip: binman: Use a template for FIT and other improvements

2025-04-10 Thread Jonas Karlman
This series split out generic Rockchip binman image related commits from Simons "VBE serial part H: Implement VBE on Rockchip RK3399" [1] series. These are generic binman image patches fixing an existing issue [2][3] and that other series [4] already depends on. They are being split out to ease c

Re: [PATCH 08/13] board: dragonboard410c: Fix counter frequency

2025-04-10 Thread Neil Armstrong
On 07/04/2025 18:59, Stephan Gerhold wrote: The actual counter frequency is 19.2 MHz, not 19.0 MHz. This isn't really used so far though, since probably no one (except me) ever tried using U-Boot in EL3 where we need to program the counter frequency. Signed-off-by: Stephan Gerhold --- configs

[PATCH 1/2] arm64: versal2: Add ufs distro boot command

2025-04-10 Thread Michal Simek
From: Venkatesh Yadav Abbarapu Adding support for the ufs distro boot command. Signed-off-by: Venkatesh Yadav Abbarapu Signed-off-by: Michal Simek --- include/configs/amd_versal2.h | 9 + 1 file changed, 9 insertions(+) diff --git a/include/configs/amd_versal2.h b/include/configs/am

[PATCH 1/1] doc: update Python requirements

2025-04-10 Thread Heinrich Schuchardt
Update the Python dependencies to the newest releases. This addresses CVE-2024-56326, CVE-2024-56201, CVE-2025-27516 for jinja2. Signed-off-by: Heinrich Schuchardt --- doc/sphinx/requirements.txt | 22 +++--- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/doc/sph

[PATCH v5 6/7] rockchip: binman: Include a compatible string in each configuration

2025-04-10 Thread Jonas Karlman
From: Simon Glass Provide a compatible string in the config nodes that U-Boot can use to help decide which configuration to use with SPL_LOAD_FIT_FULL=y and FIT_BEST_MATCH=y. Signed-off-by: Simon Glass Signed-off-by: Jonas Karlman Reviewed-by: Kever Yang Reviewed-by: Quentin Schulz --- Chang

[PATCH v2 3/3] block: use part_get_info_cached() API when scanning partitions

2025-04-10 Thread Neil Armstrong
Let's make use of the newly introduced part_get_info_cached() API and the part_get_info_cached_free() when scanning all partitions of a disk. With this, a lot of unnecessary computation is saved, leading to a faster boot time when partitions are scanned, especially with storage medias with potentia

Re: [PATCH v2 08/30] arm64: dts: rockchip: Add SDHCI controller for RK3528

2025-04-10 Thread Kever Yang
On 2025/4/8 06:46, Jonas Karlman wrote: The SDHCI controller in Rockchip RK3528 is similar to the one included in RK3588. Add device tree node for the SDHCI controller in RK3528. Signed-off-by: Jonas Karlman Link: https://lore.kernel.org/r/20250305214108.1327208-3-jo...@kwiboo.se Signed-off-

[PATCH v1 0/3] Add support for Toradex SMARC i.MX8MP

2025-04-10 Thread Vitor Soares
From: Vitor Soares This series adds support for the new Toradex SMARC i.MX8MP System-on-Module (SoM), along with necessary updates to Toradex config block and device tree synchronization. 1. Syncs imx8mp.dtsi with Linux v6.15-rc1; 2. Introduces Toradex SMARC iMX95 8GB WB IT (PID 0096) in the

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

2025-04-10 Thread Simon Glass
Hi Tom, On Mon, 7 Apr 2025 at 07:53, Tom Rini wrote: > > On Mon, Apr 07, 2025 at 01:07:34PM +1200, Simon Glass wrote: > > Hi Tom, > > > > On Mon, 7 Apr 2025 at 10:48, Tom Rini wrote: > > > > > > On Mon, Apr 07, 2025 at 09:12:32AM +1200, Simon Glass wrote: > > > > Hi Tom, > > > > > > > > On Sun,

Re: Gitlab runner timeout on evb-ast2600 ?

2025-04-10 Thread Joel Stanley
On Mon, 7 Apr 2025 at 23:25, Eugen Hristev wrote: > > Hi everyone, > > I keep getting an error on running the CI loop on -next on my tree : > > https://source.denx.de/u-boot/custodians/u-boot-at91/-/jobs/1090517 Thanks for the report. > > ! _pytest.outcomes.Exit: Lab timeout: Marking connection

[PATCH v1 2/3] toradex: tdx-cfg-block: add 0096 Toradex SMARC iMX95

2025-04-10 Thread Vitor Soares
From: Vitor Soares Add PID4 0096 Toradex SMARC iMX95 Hexa 8GB WB IT to config block handling. Signed-off-by: Vitor Soares --- board/toradex/common/tdx-cfg-block.c | 1 + board/toradex/common/tdx-cfg-block.h | 1 + 2 files changed, 2 insertions(+) diff --git a/board/toradex/common/tdx-cfg-bloc

[PATCH v2 4/4] rng: rockchip_rng: Update compatible for RK3588

2025-04-10 Thread Jonas Karlman
Linux commit 6ee0b9ad3995 ("arm64: dts: rockchip: Add rng node to RK3588") merged for v6.15-rc1 add a proper rng node to the device tree. The compatible used differs compared to what U-Boot is currently using. Replace the old trngv1 compatible with the dts/upstream compatible in the rng driver and

[PATCH v2 29/30] board: rockchip: Add minimal generic RK3528 board

2025-04-10 Thread Jonas Karlman
Add a minimal generic RK3528 board that only have eMMC and SD-card enabled. This defconfig can be used to boot from eMMC or SD-card on most RK3528 boards that follow reference board design. Signed-off-by: Jonas Karlman --- Changes in v2: - Move sdhci node to main .dts-file - Enable meminfo cmd T

Re: [PATCH v2 4/4] dm: core: Rename dm_remove_devices_active()

2025-04-10 Thread Simon Glass
Hi Tom, On Mon, 7 Apr 2025 at 07:30, Tom Rini wrote: > > On Mon, Apr 07, 2025 at 10:49:11PM +1200, Simon Glass wrote: > > Hi Heinrich, > > > > On Mon, 7 Apr 2025 at 19:57, Heinrich Schuchardt wrote: > > > > > > On 07.04.25 03:35, Simon Glass wrote: > > > > This function doesn't have a great name

[PATCH v2 10/30] arm64: dts: rockchip: Add leds node to Radxa E20C

2025-04-10 Thread Jonas Karlman
Radxa E20C has three gpio controlled leds (sys, wan and lan). Add led nodes and set default trigger to heartbeat for the sys led and netdev for the lan and wan leds. Signed-off-by: Jonas Karlman Link: https://lore.kernel.org/r/20250304201642.831218-2-jo...@kwiboo.se Signed-off-by: Heiko Stuebner

Re: [PATCH v2 0/3] scsi: ensure writes are flushed to disk

2025-04-10 Thread Tom Rini
On Wed, 26 Mar 2025 13:24:07 +0100, Caleb Connolly wrote: > SCSI devices like UFS may maintain their own cache to speed up writes, > however this is lost on board reset (and may be lost on device removal > or reset by OS drivers). > > Currently this can be worked around by "waiting for a while" a

Re: [PATCH 0/8] *** Add Ethernet boot support for AM62Ax + phyCORE-AM62 SoMs ***

2025-04-10 Thread Tom Rini
On Tue, 25 Mar 2025 04:58:16 +0100, Wadim Egorov wrote: > Add general ethernet boot support for AM62Ax SoC. > Some of the work is based on TI's downstream u-boot patches found in > [1], patches touching code in mach-k3 and *.yaml board config files. > > Also, provide defconfigs and device tree ch

Re: [PATCH 0/3] Add UBIFS Support

2025-04-10 Thread Tom Rini
On Wed, 26 Mar 2025 17:42:17 +0530, Santhosh Kumar K wrote: > This series adds support for UBIFS in AM64x, AM62x, AM62Px. > > Test logs: https://gist.github.com/santhosh21/be687f10086fe3b02d76cf5126a99861 > > Signed-off-by: Santhosh Kumar K > > Santhosh Kumar K (3): > configs: am64x: Add UBI

[PATCH v2 05/14] mmc: mediatek: permit to also build for Airoha arch

2025-04-10 Thread Christian Marangi
Airoha new SoC implement the same Mediatek driver for MMC. Permit to also build for Airoha arch. Signed-off-by: Christian Marangi --- drivers/mmc/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/Kconfig b/drivers/mmc/Kconfig index 4827834b4aa..2e33dbd3fb7 1

[PATCH 4/5] patman: Pass aliases to Series.MakeCcFile()

2025-04-10 Thread Simon Glass
Rather than accessing settings directly, pass the aliases in, so that we can do the same from tests. With further work this will allow the tests to work without using settings.alias Signed-off-by: Simon Glass --- tools/patman/control.py | 3 ++- tools/patman/func_test.py | 2 +- tools/patma

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

2025-04-10 Thread Venkatesh Yadav Abbarapu
HBM stands for high bandwidth memory and is a type of memory interface used in 3D-stacked DRAM (dynamic random access memory) in some AMD GPUs (aka graphics cards), as well as the server, high-performance computing (HPC) and networking and client space. High Bandwidth Memory(HBM) has total 16 chann

[PATCH v5 7/7] rockchip: binman: Support use of crc32 hash for FIT images

2025-04-10 Thread Jonas Karlman
Use of SHA256 checksum validation on ARMv7 SoCs can be very time consuming compared to when used on a ARMv8 SoC with Crypto Extensions. Add support for use of the much faster CRC32 hash algo when SHA256 is not supported in SPL. Also use a HAS_FIT_HASH to simplify the ifdefs when no known hash algo

[PATCH v5 4/7] rockchip: binman: Un-indent the FIT template

2025-04-10 Thread Jonas Karlman
From: Simon Glass Fix the indentation on the template. This is done in a separate patch so that it is easier to review. Signed-off-by: Simon Glass Signed-off-by: Jonas Karlman Reviewed-by: Kever Yang Reviewed-by: Quentin Schulz --- Changes in v5: - Collect r-b tags Changes in v4: - Split fr

[PATCH v5 2/7] rockchip: binman: Factor out arch and compression

2025-04-10 Thread Jonas Karlman
From: Simon Glass Declare arch and compression at the top of the file to avoid needing ifdefs in every usage. Add a few comments to help with the remaining #ifdefs. Signed-off-by: Simon Glass Signed-off-by: Jonas Karlman Reviewed-by: Kever Yang --- Changes in v5: - Rename ARCH to FIT_ARCH -

[PATCH v5 3/7] rockchip: binman: Create a template for the FIT

2025-04-10 Thread Jonas Karlman
From: Simon Glass Move the FIT description into a template so that it can be used in both the simple-bin and the simple-bin-spi images. Signed-off-by: Simon Glass Signed-off-by: Jonas Karlman Reviewed-by: Kever Yang Reviewed-by: Quentin Schulz --- Changes in v5: - Merge patch to use template

[PATCH v5 5/7] rockchip: Add SPL_PAD_TO Kconfig default value

2025-04-10 Thread Jonas Karlman
Almost all Rockchip boards use the same Kconfig value for SPL_PAD_TO, 0x7f8000. u-boot-rockchip.bin is typically written to offset 64S (32KiB) of MMC media. u-boot.itb (or u-boot.img) is typically expected at offset 16384S (8MiB) of MMC media (SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x4000). SPL_PAD_TO

Re: [PATCH 08/14] pinctrl: rockchip: constify rockchip_pin_ctrl for RK3228

2025-04-10 Thread Kever Yang
On 2025/1/29 20:42, Quentin Schulz wrote: From: Quentin Schulz There's no need to modify private data from the controller, so let's make that struct const. Signed-off-by: Quentin Schulz Reviewed-by: Kever Yang Thanks, - Kever --- drivers/pinctrl/rockchip/pinctrl-rk322x.c | 2 +- 1 fi

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

2025-04-10 Thread Simon Glass
Hi Quentin, On Wed, 9 Apr 2025 at 04:57, Quentin Schulz wrote: > > Hi Jonas, Simon, > > On 3/29/25 4:06 PM, Jonas Karlman wrote: > > From: Simon Glass > > > > The simple-bin image is normally written to MMC media at block 64, which > > is a 32K offset from start of storage media. > > > > Set the

[PATCH 4/5] xilinx: zynq: fix dfu alt buffer clearing

2025-04-10 Thread Vincent Stehlé
The set_dfu_alt_info() function calls the ALLOC_CACHE_ALIGN_BUFFER() macro to declare a `buf' variable pointer into an array allocated on the stack. It then calls the memset() function to clear the useable portion of the array using the idiomatic expression `sizeof(buf)'. While this would indeed w

[PATCH v2 27/30] phy: rockchip-inno-usb2: Add support for RK3528

2025-04-10 Thread Jonas Karlman
Add support for the two USB2.0 PHYs use in the RK3528 SoC. Signed-off-by: Jonas Karlman --- v2: New patch --- drivers/phy/rockchip/phy-rockchip-inno-usb2.c | 20 +++ 1 file changed, 20 insertions(+) diff --git a/drivers/phy/rockchip/phy-rockchip-inno-usb2.c b/drivers/phy/rockch

Re: [PATCH v2 1/8] power: regulator: Add a driver for the AXP PMIC drivevbus

2025-04-10 Thread Andre Przywara
On Thu, 10 Apr 2025 09:04:35 +0200 Jernej Škrabec wrote: > Dne sreda, 9. april 2025 ob 02:20:29 Srednjeevropski poletni čas je Andre > Przywara napisal(a): > > From: Samuel Holland > > > > AXP PMICs have a pin which can either report the USB VBUS state, or > > driving a regulator that supplies

[PATCH] doc: release_cycle: Use variable substitution for next version

2025-04-10 Thread Tom Rini
To avoid the problem fixed in commit 57a95d522ca8 ("doc: release_cycle: fix next release version") moving forward, make use of the variable substitution feature of rST. This adds a next_ver variable and references it in all of the places where I had been listing the version being worked on. Sugges

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

2025-04-10 Thread Simon Glass
Hi Caleb, On Thu, 10 Apr 2025 at 09:41, Caleb Connolly wrote: > > Hi Simon, > > On 4/10/25 16:15, Simon Glass wrote: > > Hi Caleb, > > > > On Thu, 10 Apr 2025 at 08:04, Caleb Connolly > > wrote: > >> > >> > >> > >> On 4/10/25 15:07, Simon Glass wrote: > >>> Hi Caleb, > >>> > >>> On Thu, 10 Apr

Re: bootcount support for AM62 RTCSS

2025-04-10 Thread Thom Nichols
Hi Bryan - I realized what I think you were trying to say - the bootcount_davinci driver uses the davinci_rtc​ struct which is a completely different register layout between the AM33 and AM62 RTCSS. I imagine I could make an alternate davinci_rtc struct in my new header file just to remap the

Re: Gitlab runner timeout on evb-ast2600 ?

2025-04-10 Thread Tom Rini
On Fri, Apr 11, 2025 at 08:07:15AM +0930, Joel Stanley wrote: > On Mon, 7 Apr 2025 at 23:25, Eugen Hristev wrote: > > > > Hi everyone, > > > > I keep getting an error on running the CI loop on -next on my tree : > > > > https://source.denx.de/u-boot/custodians/u-boot-at91/-/jobs/1090517 > > Thank

<    1   2   3