Re: [PATCH] usb: dwc3: gadget: Fix match_ep callback for NXP UUU tool

2025-04-08 Thread Francesco Dolcini
On Mon, Mar 24, 2025 at 03:36:52PM +0100, Marek Vasut wrote: > On 3/24/25 3:16 PM, Francesco Dolcini wrote: > > On Mon, Mar 24, 2025 at 02:53:23PM +0100, Marek Vasut wrote: > > > On 3/24/25 1:30 PM, Francesco Dolcini wrote: > > > > On Mon, Mar 24, 2025 at 09:26:03AM +0100, Mattijs Korpershoek wrote

Re: [PATCH v2] mtd: mtdpart: Support MTDPART_SIZ_FULL in fixed-partitions

2025-04-08 Thread Michael Nazzareno Trimarchi
Hi On Tue, Apr 8, 2025 at 7:46 AM Mike Looijmans wrote: > Flash partitions may specify MTDPART_SIZ_FULL (=0) as the size of the > partition to indicate "the remainder of the flash". Make this work with > device-tree "fixed-partitions" as well. > > This makes MTD partitioning compatible with the

[PATCH v2 1/3] part: add part_get_info_cached() API

2025-04-08 Thread Neil Armstrong
Introduce a new part_get_info_cached() API that's used to get the part_info of a blk_desc allowing to use an eventual partition scanning cache to avoid rescanning the entire disk partition scheme for each partition number. The part_get_info_cached_free() is also added to hint the partition code to

Re: [PATCH v2] ubi: fix bug creating partitions for non-existent volumes

2025-04-08 Thread Heiko Schocher
Hello Oskar, On 26.03.25 10:22, Oskar Nilsson wrote: The part_get_info_ubi() function was incorrectly returning 0 (success) when a UBI volume was not found for a given partition index. This caused the part_create_block_devices() function in blk-uclass.c to continue creating devices for non-exist

RE: [PATCH v1 2/2] arm: socfpga: soc64: Enable F2S bridge reset support

2025-04-08 Thread Chee, Tien Fong
> -Original Message- > From: Yuslaimi, Alif Zakuan > Sent: Friday, April 4, 2025 10:07 AM > To: u-boot@lists.denx.de > Cc: Marek Vasut ; Simon Goldschmidt > ; Chee, Tien Fong > ; Meng, Tingting ; > Tom Rini ; Maniyam, Dinesh > ; Yuslaimi, Alif Zakuan > > Subject: [PATCH v1 2/2] arm: so

Please pull u-boot-ubi master

2025-04-08 Thread Heiko Schocher
Hello Tom, please pull from u-boot-ubi master The following changes since commit 34820924edbc4ec7803eb89d9852f4b870fa760a: Prepare v2025.04 (2025-04-07 15:57:55 -0600) are available in the Git repository at: https://source.denx.de/u-boot/custodians/u-boot-ubi.git tags/ubifixes-for-2025.0

[PATCH v2 0/3] part_efi: cache last scanned GPT for next partition

2025-04-08 Thread Neil Armstrong
5e3d2 change-id: 20250408-topic-gpt-cache-11f770f42f1e Best regards, -- Neil Armstrong

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

2025-04-08 Thread Neil Armstrong
Implement a simple cache for part_efi to be used by the newly introduced part_get_info_cached() API. The cache simply stores a successfully scanned GPT PTE if called from the part_get_info_cached() ops, and will return the cached data if the blk_desc and lba offset matches, invalidating the cache

Re: [PATCH v2 1/3] part: add part_get_info_cached() API

2025-04-08 Thread Heinrich Schuchardt
On 08.04.25 11:13, Neil Armstrong wrote: Introduce a new part_get_info_cached() API that's used to get the part_info of a blk_desc allowing to use an eventual partition scanning cache to avoid rescanning the entire disk partition scheme for each partition number. The part_get_info_cached_free()

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

2025-04-08 Thread Alice Guo (OSS)
> -邮件原件- > 发件人: Gres, Anton > 发送时间: 2025年4月8日 15:29 > 收件人: Alice Guo (OSS) > 抄送: l...@karo-electronics.de; Alice Guo ; > alpernebiya...@gmail.com; feste...@gmail.com; lu...@denx.de; > ma...@denx.de; sba...@denx.de; sean...@gmail.com; s...@chromium.org; > tr...@konsulko.com; u-boot@lists.d

Re: [PATCH 0/3] loadpdi related code changes.

2025-04-08 Thread Michal Simek
On 3/27/25 11:51, Prasad Kummari wrote: Prasad Kummari (3): arm64: versal-net: Add PL bit stream load support arm64: versal2: Add PL bit stream load support xilinx: versal: remove versal loadpdi command arch/arm/mach-versal-net/Kconfig | 1 - arch/arm/mach-versal/Kconfig

Re: [PATCH] configs: versal: Fix initial stack pointer

2025-04-08 Thread Michal Simek
On 4/7/25 15:45, Padmarao Begari wrote: The mini u-boot is getting exception because of an initial stack pointer address is used at near the top of memory, and while executing u-boot is assigned pre-malloc and global_data memory after initial stack pointer and updated the stack pointer. Serial

Re: [PATCH v2] cmd: fwu: Dump custom fields from mdata structure

2025-04-08 Thread Michal Simek
On 3/21/25 11:25, Michal Simek wrote: The commit cb9ae40a16f0 ("tools: mkfwumdata: add logic to append vendor data to the FWU metadata") added support for adding vendor data to mdata structure but it is not visible anywhere that's why extend fwu command to dump it. Tested-by: Sughosh Ganu Re

Re: [PATCH 11/13] board: dragonboard410c: Enable support for Android boot images

2025-04-08 Thread Stephan Gerhold
On Mon, Apr 07, 2025 at 08:10:24PM +0200, Neil Armstrong wrote: > On 07/04/2025 18:59, Stephan Gerhold wrote: > > The U-Boot port for DB410c still has plenty of extra space available at > > this point, so avoid disabling features that would be normally enabled by > > default. In particular, this in

RE: [PATCH v1 1/2] arm: socfpga: soc64: Update reset manager registers for F2S bridge

2025-04-08 Thread Chee, Tien Fong
> -Original Message- > From: Yuslaimi, Alif Zakuan > Sent: Friday, April 4, 2025 10:07 AM > To: u-boot@lists.denx.de > Cc: Marek Vasut ; Simon Goldschmidt > ; Chee, Tien Fong > ; Meng, Tingting ; > Tom Rini ; Maniyam, Dinesh > ; Yuslaimi, Alif Zakuan > > Subject: [PATCH v1 1/2] arm: so

RE: [PATCH] reset: socfpga: release more A10 peripherals out of reset

2025-04-08 Thread Chee, Tien Fong
> -Original Message- > From: Ravulapalli, Naresh Kumar > Sent: Saturday, March 15, 2025 1:42 AM > To: u-boot@lists.denx.de > Cc: Marek Vasut ; Simon Goldschmidt > ; Chee, Tien Fong > ; Tom Rini ; Ravulapalli, > Naresh Kumar > Subject: [PATCH] reset: socfpga: release more A10 peripheral

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

2025-04-08 Thread Primoz Fiser
Currently, phytec_get_product_name() function only takes care of PCM SoM type, however in case of PCL, KSM or KSP SoM type it will return error: phytec_get_product_name: Invalid SOM type Add support for other SoM types as defined in phytec_som_type_str enum (see phytec_som_detection.h) to get r

Re: [PATCH 2/6] rockchip: Add DFU to boot from USB for Radxa ROCK 3A

2025-04-08 Thread Kever Yang
On 2025/2/11 14:13, FUKAUMI Naoki wrote: Boot the Radxa ROCK 3A from the USB OTG port using rkflashtool[1] or rkusbboot[2] and dfu-util. 1a. Download the TPL and SPL using rkflashtool $ rkflashtool l < mkimage-in-simple-bin.mkimage-rockchip-tpl $ rkflashtool L < mkimage-in-simple-bin.mkimage-

Re: [PATCH 4/6] rockchip: Add DFU to boot from USB for Radxa ZERO 3E/3W

2025-04-08 Thread Kever Yang
On 2025/2/11 14:13, FUKAUMI Naoki wrote: Boot the Radxa ZERO 3E/3W from the USB OTG port using rkflashtool[1] or rkusbboot[2] and dfu-util. 1a. Download the TPL and SPL using rkflashtool $ rkflashtool l < mkimage-in-simple-bin.mkimage-rockchip-tpl $ rkflashtool L < mkimage-in-simple-bin.mkima

Re: [PATCH 1/2] riscv: dts: k1: add pinctrl property in dts.

2025-04-08 Thread Leo Liang
On Sat, Mar 29, 2025 at 08:47:59PM +0800, Huan Zhou wrote: > Add pinctrl node in device tree and update > in bananapi f3 dts. > > Signed-off-by: Huan Zhou > --- > arch/riscv/dts/k1-bananapi-f3.dts | 3 +++ > arch/riscv/dts/k1-pinctrl.dtsi| 19 +++ > arch/riscv/dts/k1.dtsi

Re: [PATCH 2/2] qcom_defconfig: Disable MMC HS200 mode support

2025-04-08 Thread Caleb Connolly
On 4/8/25 06:29, Sumit Garg wrote: On Mon, Apr 07, 2025 at 04:30:44PM +0200, Caleb Connolly wrote: On 4/7/25 15:28, Sumit Garg wrote: From: Sumit Garg Currently the msm_sdhci doesn't yet support DLL configurations which are required to enable bus speeds greater that 100MHz. So disable HS

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

2025-04-08 Thread Heinrich Schuchardt
On 08.04.25 11:13, Neil Armstrong wrote: Implement a simple cache for part_efi to be used by the newly introduced part_get_info_cached() API. The cache simply stores a successfully scanned GPT PTE if called from the part_get_info_cached() ops, and will return the cached data if the blk_desc and

Re: [PATCH 1/2] riscv: dts: k1: add pinctrl property in dts.

2025-04-08 Thread pericycle
> On Apr 8, 2025, at 6:44 PM, Leo Liang wrote: > > On Sat, Mar 29, 2025 at 08:47:59PM +0800, Huan Zhou wrote: >> Add pinctrl node in device tree and update >> in bananapi f3 dts. >> >> Signed-off-by: Huan Zhou >> --- >> arch/riscv/dts/k1-bananapi-f3.dts | 3 +++ >> arch/riscv/dts/k1-pinctrl.

Re: [PATCH] configs: sama5d27_wlsom1_ek: Select CONFIG_NET_RANDOM_ETHADDR

2025-04-08 Thread Fabio Estevam
On Tue, Apr 8, 2025 at 4:16 AM Eugen Hristev wrote: > At91 boards have a eeprom memory that has an unique MAC address. Some > boards have a QSPI memory that keeps it. > The fact that no MAC is available makes me think some of these drivers > are not working. I suggest you debug that, and do not e

Re: [PATCH 04/13] board: dragonboard410c: Drop UNSTUFF_BITS() macro

2025-04-08 Thread Neil Armstrong
On 07/04/2025 18:59, Stephan Gerhold wrote: This was originally taken from Linux, but at this point it's an inline function upstream and no longer a macro. Given that we just want to extract the serial number from the MMC CID, let's just inline that specifically. This is also the style used in th

RE: [PATCH] configs: Enable partial reconfiguration support for Stratix10

2025-04-08 Thread Chee, Tien Fong
> -Original Message- > From: Ravulapalli, Naresh Kumar > Sent: Friday, March 14, 2025 7:59 PM > To: u-boot@lists.denx.de > Cc: Marek Vasut ; Simon Goldschmidt > ; Chee, Tien Fong > ; Chin-Liang See ; > Dinh Nguyen ; Tom Rini ; > Ravulapalli, Naresh Kumar > Subject: [PATCH] configs: Ena

Re: [PATCH] common: Add CONFIG_SKIP_RELOCATE

2025-04-08 Thread Fabio Estevam
On Tue, Apr 1, 2025 at 9:37 PM Jesse Taube wrote: > > Add a check for CONFIG_SKIP_RELOCATE in reserve_uboot to skip the > relocation of the U-Boot image. > CONFIG_SKIP_RELOCATE skips relocation of U-Boot to the end of RAM > allowing for systems that have extremely limited ram to run U-Boot. Nit:

RE: [PATCH v1] configs: agilex5: Enable Marvell PHY driver

2025-04-08 Thread Chee, Tien Fong
> -Original Message- > From: Yuslaimi, Alif Zakuan > Sent: Tuesday, March 18, 2025 10:58 AM > To: u-boot@lists.denx.de > Cc: Marek Vasut ; Simon Goldschmidt > ; Chee, Tien Fong > ; Tom Rini ; Maniyam, > Dinesh ; Yuslaimi, Alif Zakuan > > Subject: [PATCH v1] configs: agilex5: Enable Mar

Re: [PATCH 03/11] rockchip: Remove partitions env variable for RK3588

2025-04-08 Thread Kever Yang
On 2025/4/6 08:24, Jonas Karlman wrote: The partitions env variable is using an outdated partition layout that is typically expected to be used with older vendor miniloader blobs. Rockchip devices will run fine using any partition layout if the first 16 MiB of MMC storage is ignored/skipped.

Re: [PATCH] configs: sama5d27_wlsom1_ek: Select CONFIG_NET_RANDOM_ETHADDR

2025-04-08 Thread Eugen Hristev
On 4/8/25 03:16, Fabio Estevam wrote: > From: Fabio Estevam > > Currently, Ethernet fails to probe due to the lack of a valid MAC address: > > ``` > Net: > Error: ethernet@f8008000 No valid MAC address found. > No ethernet found. > ``` > Select CONFIG_NET_RANDOM_ETHADDR so that a random MA

[PATCH v7 3/4] configs: migrate falcon configs to SPL_BOOTx

2025-04-08 Thread Anshul Dalal
Replace usage of CMD_BOOTx in falcon mode configs with the newly added SPL_BOOTx. Signed-off-by: Anshul Dalal --- configs/display5_defconfig | 2 +- configs/display5_factory_defconfig | 2 +- configs/gwventana_emmc_defconfig | 2 +- configs/gwventana_nand_defconfig | 2 +- 4 files ch

RE: [EXT] [PATCH] crypto: fsl - Fix RNG generation for lengths greater than 16 bytes

2025-04-08 Thread Paweł Kochanowski
Hi Gaurav, What we see is that the jr_enqueue() called by run_descriptor_jr() swaps the endianness of the descriptor in place (by modifying the data pointed by desc_add): /* The descriptor must be submitted to SEC block as per endianness * of the SEC Block. * So, if th

Re: [PATCH v2] MAINTAINERS: visionfive2: Add match N: starfive pattern

2025-04-08 Thread Leo Liang
On Thu, Apr 03, 2025 at 06:28:37PM +0800, Minda Chen wrote: > Add match N:starfive pattern to visionfive2 board. Now > starfive pattern just related to JH7110 IC. > > Signed-off-by: Minda Chen > --- > board/starfive/visionfive2/MAINTAINERS | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-)

Re: [PATCH v2 06/30] arm64: dts: rockchip: enable SCMI clk for RK3528 SoC

2025-04-08 Thread Kever Yang
On 2025/4/8 06:46, Jonas Karlman wrote: From: Chukun Pan Same as RK3568, RK3528 uses SCMI clk instead of ARMCLK. Add SCMI clk for CPU, GPU and RNG will also use it. Signed-off-by: Chukun Pan Link: https://lore.kernel.org/r/2025030718.789129-2-amad...@jmu.edu.cn Signed-off-by: Heiko Stue

Re: [PATCH 3/3] rockchip: avoid rebuilding most binaries for u-boot-rockchip-spi.bin

2025-04-08 Thread Jonas Karlman
Hi Quentin, On 2025-02-11 12:43, Quentin Schulz wrote: > Hi Jonas, > > On 2/11/25 12:35 PM, Jonas Karlman wrote: >> Hi Quentin, >> >> On 2025-02-11 11:29, Quentin Schulz wrote: >>> From: Quentin Schulz >>> >>> Essentially the only differences between u-boot-rockchip.bin and >>> u-boot-rockchip-s

[PATCH v2 01/30] dt-bindings: clock: Document clock and reset unit of RK3528

2025-04-08 Thread Jonas Karlman
From: Yao Zi There are two types of clocks in RK3528 SoC, CRU-managed and SCMI-managed. Independent IDs are assigned to them. For the reset part, differing from previous Rockchip SoCs and downstream bindings which embeds register offsets into the IDs, gapless numbers starting from zero are used.

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

2025-04-08 Thread Anshul Dalal
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_* counterparts. SPL_BOOTZ is enabled by default for 32-bit ARM systems and SPL_

Re: [PATCH v2 1/2] board: atmel: sama5d2_wlsom1_ek: Fix spurious serial output

2025-04-08 Thread Eugen Hristev
On 4/8/25 02:52, Fabio Estevam wrote: > On Mon, Apr 7, 2025 at 3:39 AM Eugen Hristev wrote: > >> I am not convinced. >> The purpose of this early UART would be to get output *before* the DM >> code would enable clocks, pins, etc, for exactly that purpose, early >> debug output. >> So to remove

Re: [PATCH 1/1] configs: qemu-riscv raise CONFIG_NR_DRAM_BANKS

2025-04-08 Thread Leo Liang
On Thu, Apr 03, 2025 at 04:28:16PM +0200, Heinrich Schuchardt wrote: > The number of memory banks in QEMU is not bounded by 1. > > In this example we have two banks: > > qemu-system-riscv64 \ > -machine virt \ > -nographic \ > -m 8192 \ > -smp 8,sockets=2,cores=4,threads=1 \ >

Re: [PATCH] common: Add CONFIG_SKIP_RELOCATE

2025-04-08 Thread Caleb Connolly
On 4/2/25 02:37, Jesse Taube wrote: Add a check for CONFIG_SKIP_RELOCATE in reserve_uboot to skip the relocation of the U-Boot image. CONFIG_SKIP_RELOCATE skips relocation of U-Boot to the end of RAM allowing for systems that have extremely limited ram to run U-Boot. Signed-off-by: Jesse Taub

u-boot@lists.denx.de

2025-04-08 Thread Leo Liang
On Sun, Mar 30, 2025 at 06:24:21PM +0200, Heinrich Schuchardt wrote: > Since commit f98cd471f06b ("clk: clk-composite: Resolve parent clock by > name") the StarFive VisionFive 2 board fails to boot. > > Before that patch the SPL debug UART showed warnings like: > > clk_register: failed to get

Re: [PATCH 1/2] arm: dts: Add override for RB1

2025-04-08 Thread Caleb Connolly
On 4/7/25 15:28, Sumit Garg wrote: From: Sumit Garg Add U-Boot override for RB1 to for USB in host mode as OTG mode isn't supported. Also, disable sdhc_2 as it's currently not supported, sdhc_1 works fine though. Signed-off-by: Sumit Garg --- arch/arm/dts/qrb2210-rb1-u-boot.dtsi | 11 +++

[PATCH v2 15/30] ram: rockchip: Add basic support for RK3528

2025-04-08 Thread Jonas Karlman
Add support for reading DRAM size information from PMUGRF os_reg18 reg. Compared to most Rockchip SoCs the RK3528 use os_reg18 for DRAM info, instead of os_reg2. Signed-off-by: Jonas Karlman --- v2: No change --- arch/arm/mach-rockchip/sdram.c | 3 ++- drivers/ram/rockchip/Makefile

[PATCH 1/5] fwu: developerbox: fix dfu alt buffer clearing

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

Re: [PATCH] configs: sama5d27_wlsom1_ek: Select CONFIG_NET_RANDOM_ETHADDR

2025-04-08 Thread Fabio Estevam
On Tue, Apr 8, 2025 at 8:29 AM Fabio Estevam wrote: > Yes, it seems this is the case, as the following SPI NOR error is seen: > > jedec_spi_nor spi_flash@0: unrecognized JEDEC id bytes: ff, ff, ff After opening jumper J8: SF: Detected sst26vf064b with page size 256 Bytes, erase size 4 KiB, tota

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

2025-04-08 Thread Marek Vasut
On 4/3/25 12:56 PM, Alice Guo (OSS) wrote: -邮件原件- 发件人: Marek Vasut 发送时间: 2025年3月22日 9:45 收件人: u-boot@lists.denx.de 抄送: Marek Vasut ; Alice Guo ; Ilias Apalodimas ; Jaehoon Chung ; Tom Rini 主题: [EXT] [PATCH] power: regulator: scmi: Move regulator subnode hack to scmi_regulator Caution:

Re: [PATCH] doc: release_cycle: fix next release version

2025-04-08 Thread Tom Rini
On Tue, Apr 08, 2025 at 08:28:28AM +0200, Dario Binacchi wrote: > The release commit for version v2025.04 forgot to update the next > version (i. e. v2025.07) in the section where information about the > merge window is provided. > > Fixes: 34820924edbc ("Prepare v2025.04") > Signed-off-by: Dario

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

2025-04-08 Thread Francesco Dolcini
On Mon, Apr 07, 2025 at 02:04:33PM +0100, Vitor Soares wrote: > 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. ... > Vitor Soares (3): > arm: dt

[PATCH 2/2] Dockerfile: Download the Arm FVP and extract it

2025-04-08 Thread Tom Rini
There are some reference platforms from Arm which are not found in QEMU but instead in the FVP tool. As we can make use of this in CI later on, download and extract it in our Dockerfile today. Signed-off-by: Tom Rini --- tools/docker/Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --gi

Re: [PATCH 1/1] doc: update Python requirements

2025-04-08 Thread Tom Rini
On Tue, Apr 08, 2025 at 05:36:06PM +0200, Heinrich Schuchardt wrote: > 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 +++--

[PATCH] env: Introduce support for MTD

2025-04-08 Thread Christian Marangi
Introduce support for env in generic MTD. Currently we only support SPI flash based on the lagacy sf cmd that assume SPI flash are always NOR. This is not the case as to SPI controller also NAND can be attached. To support also these flash scenario, add support for storing and reading ENV from gen

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

2025-04-08 Thread Tom Rini
On Mon, Apr 07, 2025 at 08:44:24AM +0200, 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): > unde

[PATCH v2 22/30] mmc: rockchip_sdhci: Gate clock for glitch free phase switching

2025-04-08 Thread Jonas Karlman
Enable clock stopping to gate clock during phase code change to ensure glitch free phase switching in auto-tuning circuit. Fixes HS200 mode on RK3528. POST_CHANGE_DLY Time taken for phase switching and stable clock output. - Less than 4-cycle latency PRE_CHANGE_DLY Maximum Latency specification b

Re: [PATCH 2/2] config: Enable pinctrl in bananapi-f3

2025-04-08 Thread Leo Liang
On Sat, Mar 29, 2025 at 08:48:00PM +0800, Huan Zhou wrote: > Add pinctrl support in bananapi-f3 platform > > Signed-off-by: Huan Zhou > --- > configs/bananapi-f3_defconfig | 2 ++ > 1 file changed, 2 insertions(+) Reviewed-by: Leo Yu-Chi Liang

Re: [PATCH v2 2/4] i2c: omap24xx_i2c: Use new function __omap24_i2c_xfer_msg()

2025-04-08 Thread Heiko Schocher
Hello Aniket, On 10.03.25 11:36, Aniket Limaye wrote: Remove __omap24_i2c_read/write() usage from omap_i2c_xfer() in favour of the more flexible __omap24_i2c_xfer_msg(). Consequently, these are also no longer needed when DM_I2C is enabled. New function __omap24_i2c_xfer_msg() will take care of

[PATCH v2 14/30] rockchip: mkimage: Add support for RK3528

2025-04-08 Thread Jonas Karlman
From: Yifeng Zhao Add support for generating Rockchip Boot Image for RK3528. Similar to RK3568, the RK3528 has 64 KiB SRAM and 4 KiB of it is reserved for BootROM. Signed-off-by: Yifeng Zhao Signed-off-by: Jonas Karlman --- v2: No change --- tools/rkcommon.c | 1 + 1 file changed, 1 insertio

Re: [PATCH 1/2] arm: dts: Add override for RB1

2025-04-08 Thread Sumit Garg
On Tue, Apr 08, 2025 at 02:17:29PM +0200, Caleb Connolly wrote: > > > On 4/7/25 15:28, Sumit Garg wrote: > > From: Sumit Garg > > > > Add U-Boot override for RB1 to for USB in host mode as OTG mode isn't > > supported. Also, disable sdhc_2 as it's currently not supported, sdhc_1 > > works fine

Re: [PATCH] configs: sama5d27_wlsom1_ek: Select CONFIG_NET_RANDOM_ETHADDR

2025-04-08 Thread Eugen Hristev
On 4/8/25 15:12, Fabio Estevam wrote: > On Tue, Apr 8, 2025 at 8:29 AM Fabio Estevam wrote: > >> Yes, it seems this is the case, as the following SPI NOR error is seen: >> >> jedec_spi_nor spi_flash@0: unrecognized JEDEC id bytes: ff, ff, ff > > After opening jumper J8: > > SF: Detected sst2

Re: [PATCH 1/2] spl: riscv: Disable SPL_BINMAN_UBOOT_SYMBOLS by default

2025-04-08 Thread Yao Zi
On Mon, Apr 07, 2025 at 10:50:07PM +1200, Simon Glass wrote: > Hi Yao, > > On Mon, 7 Apr 2025 at 15:38, Yao Zi wrote: > > > > The default binman configuration of RISC-V wraps proper U-Boot into a > > FIT image instead of shipping a plain image, thus there's no > > "u_boot_any" entry by default. L

[PATCH] net: dhcpv6: remove excluded middle expression

2025-04-08 Thread Bryan Brattlof
if (sm_params.server_uid.uid_ptr) free(sm_params.server_uid.uid_ptr); --- base-commit: 9d9fbdab0e9664bff147109cc89ad2786f6ecd83 change-id: 20250408-excluded-middle-fixes-d8747a60f708 Best regards, -- Bryan Brattlof

[PATCH v2 1/4] rng: rockchip_rng: Add compatible for RK3568

2025-04-08 Thread Jonas Karlman
Linux commit afeccc408496 ("arm64: dts: rockchip: add DT entry for RNG to RK356x") merged for v6.12-rc1 add a proper rng node to the SoC DT. The compatible used differs compared to what U-Boot is currently using. Add support for the rk3568-rng used in upstream Linux. Support for the cryptov2-rng c

[PATCH v2 2/4] rockchip: rk356x: Remove rng node from u-boot.dtsi

2025-04-08 Thread Jonas Karlman
Linux commit afeccc408496 ("arm64: dts: rockchip: add DT entry for RNG to RK356x") merged for v6.12-rc1 add a proper rng node to the SoC DT. Remove the rng node from SoC u-boot.dtsi now that the rng driver support the compatible used in dts/upstream DT. Ensure the rng node is enabled to support rn

Re: Please pull u-boot-ubi master

2025-04-08 Thread Tom Rini
On Tue, 08 Apr 2025 10:53:15 +0200, Heiko Schocher wrote: > please pull from u-boot-ubi master > > The following changes since commit 34820924edbc4ec7803eb89d9852f4b870fa760a: > >Prepare v2025.04 (2025-04-07 15:57:55 -0600) > > are available in the Git repository at: > > [...] Merged into

Re: [PATCH 0/5] patman: Separate gitutil fully

2025-04-08 Thread Tom Rini
On Mon, Apr 07, 2025 at 10:51:42PM +1200, Simon Glass wrote: > > The gitutil module uses Patman's settings module, which is not allowed > as it is supposed to be a separate package. This series ties up this > dependency. > > This series depends on these two patches being applied: > > https://pa

Re: [PATCH 05/18] net/net: fix switch/case fallthrough annotations

2025-04-08 Thread Tom Rini
On Thu, Mar 27, 2025 at 03:33:00PM +, Andre Przywara wrote: > The net_check_prereq() routine in the generic network handling code > mixes case: labels with #ifdef's, which makes predicting fallthrough > situations tricky. We had two "fall through" comments in the code, but > at the wrong place

Re: [PATCH 05/14] pinctrl: rockchip: constify rockchip_pin_ctrl for RK3066

2025-04-08 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-rk3066.c | 2 +- 1 fi

Re: [PATCH 05/18] net/net: fix switch/case fallthrough annotations

2025-04-08 Thread Tom Rini
On Wed, Apr 09, 2025 at 12:53:47AM +0100, Andre Przywara wrote: > On Tue, 8 Apr 2025 16:29:18 -0600 > Tom Rini wrote: > > Hi Tom, > > thanks for staying on this! > > > On Thu, Mar 27, 2025 at 03:33:00PM +, Andre Przywara wrote: > > > > > The net_check_prereq() routine in the generic networ

Re: [ANN] U-Boot v2025.04 released

2025-04-08 Thread Tom Rini
On Mon, Apr 07, 2025 at 04:00:11PM -0600, Tom Rini wrote: > Hey all, > > It's release day and here's v2025.04. We had some last minute issues > reported, but then also resolved. I want to thank everyone that's > contributed to this release, not just in terms of code, but > documentation, testing

[PATCH v2 5/8] gpio: axp: Remove virtual VBUS enable GPIO

2025-04-08 Thread Andre Przywara
From: Samuel Holland Now that this functionality is modeled using the device tree and regulator uclass, the named GPIO is not referenced anywhere. Remove it, along with the rest of the support for AXP virtual GPIOs. Signed-off-by: Samuel Holland Signed-off-by: Andre Przywara --- drivers/gpio/

[PATCH v2 8/8] sunxi: Kconfig: Remove obsolete USBx_* pin symbols

2025-04-08 Thread Andre Przywara
Now that the USB PHY driver uses the device tree to get the VBUS detect and USB ID GPIOs, these Kconfig symbols are unused. Remove them from their Kconfig definition, and also from all defconfig files. Signed-off-by: Andre Przywara --- arch/arm/mach-sunxi/Kconfig | 14 --

[PATCH v2 3/8] phy: sun4i-usb: Control supplies via the regulator uclass

2025-04-08 Thread Andre Przywara
From: Samuel Holland The device tree binding for the PHY provides VBUS supplies as regulator references. Now that all boards have the appropriate regulator uclass drivers enabled, the PHY driver can switch to using them. This replaces direct GPIO usage, which in some cases needed a special DM-inc

[PATCH v2 28/30] net: dwc_eth_qos_rockchip: Add support for RK3528

2025-04-08 Thread Jonas Karlman
Rockchip RK3528 has two Ethernet controllers based on Synopsys DWC Ethernet QoS IP. Add initial support for the RK3528 GMAC variant. Signed-off-by: Jonas Karlman --- v2: New patch --- drivers/net/dwc_eth_qos.c | 4 + drivers/net/dwc_eth_qos_rockchip.c | 138 ++

Re: [PATCH 05/18] net/net: fix switch/case fallthrough annotations

2025-04-08 Thread Andre Przywara
On Tue, 8 Apr 2025 16:29:18 -0600 Tom Rini wrote: Hi Tom, thanks for staying on this! > On Thu, Mar 27, 2025 at 03:33:00PM +, Andre Przywara wrote: > > > The net_check_prereq() routine in the generic network handling code > > mixes case: labels with #ifdef's, which makes predicting fallthr

Re: [PATCH 1/2] spl: riscv: Disable SPL_BINMAN_UBOOT_SYMBOLS by default

2025-04-08 Thread Yao Zi
On Mon, Apr 07, 2025 at 01:22:37PM +0200, Jonas Karlman wrote: > Hi, > > On 2025-04-07 05:37, Yao Zi wrote: > > The default binman configuration of RISC-V wraps proper U-Boot into a > > FIT image instead of shipping a plain image, thus there's no > > "u_boot_any" entry by default. Let's disable th

[PATCH 0/5] More MMC fixes

2025-04-08 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 Disable eMMC HS400 mode for am62px device according to silicon errata i2458 [0] and add TI_COMMON_CMD_OPTIONS to K3 Sitara board a53 defconfigs. [0] https://www.ti.com/l

[PATCH 3/5] mmc: am654_sdhci: Add am654_sdhci_set_control_reg

2025-04-08 Thread Judith Mendez
This patch adds am654_sdhci_set_control_reg to am654_sdhci. This is required to fix UHS_MODE_SELECT for TI K3 boards. If any of HIGH_SPEED_ENA, V1P8_SIGNAL_ENA, UHS_MODE_SELECT are set, then data will be launched on the pos-edge of the clock. Since K3 SoCs did not meet timing requirements for Hi

[PATCH 5/5] configs: am62*_evm_a53_defconfig: Add TI_COMMON_CMD_OPTIONS

2025-04-08 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 1/5] mmc: am654_sdhci: Add MMC_HS_52 to timing data

2025-04-08 Thread Judith Mendez
This patch adds MMC_HS_52 to the timing data structure. Previously, this bus mode tap settings were not populated and were instead populated for MMC_HS which is a different bus mode up to 26MHz. Since we intended these settings according to the device data sheet[0] for MMC_HS_52 up to 52MHz, popul

[PATCH 2/5] mmc: am654_sdhci: Fix HIGH_SPEED_ENA

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

[PATCH 4/5] configs: am62px_evm_r5/a53_defconfig: Disable eMMC HS400

2025-04-08 Thread Judith Mendez
This patch addresses silicon errata i2458 [0] "MMCHS: eMMC HS400 tDCD timing marginal to JEDEC spec". Where, in some corner cases, MMC0 interface may marginally exceed the tdCD JEDEC spec requirement of 300 ps. As per workaround, switch to HS200 mode instead of HS400. [0] https://www.ti.com/lit/er

Re: [PATCH v2] cmd: fwu: Dump custom fields from mdata structure

2025-04-08 Thread Heinrich Schuchardt
On 21.03.25 11:25, Michal Simek wrote: The commit cb9ae40a16f0 ("tools: mkfwumdata: add logic to append vendor data to the FWU metadata") added support for adding vendor data to mdata structure but it is not visible anywhere that's why extend fwu command to dump it. Tested-by: Sughosh Ganu Revi

Re: [PATCH 11/13] board: dragonboard410c: Enable support for Android boot images

2025-04-08 Thread Neil Armstrong
On 08/04/2025 09:01, Stephan Gerhold wrote: On Mon, Apr 07, 2025 at 08:10:24PM +0200, Neil Armstrong wrote: On 07/04/2025 18:59, Stephan Gerhold wrote: The U-Boot port for DB410c still has plenty of extra space available at this point, so avoid disabling features that would be normally enabled

[PATCH v1] arm: mach-k3: am62px: Fix MCU_CLKOUT0 parent clock mux

2025-04-08 Thread Parth Pancholi
From: Parth Pancholi CU_CLKOUT0 can be driven by two input clocks: a 25 MHz and a 50 MHz source. Currently, the 25 MHz option is not selectable due to an incorrect mux configuration where the 50 MHz clock is duplicated in the parent list. This patch fixes the mux setup, allowing proper selection

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

2025-04-08 Thread Maniyam, Dinesh
Hi Tom Rini, > -Original Message- > From: Maniyam, Dinesh > Sent: Monday, 24 March 2025 4:40 pm > To: u-boot@lists.denx.de > Cc: Marek ; Simon ; > Simon Glass ; Tom Rini ; Dario > Binacchi ; Ilias Apalodimas > ; Heinrich Schuchardt ; > Jerome Forissier ; Mattijs Korpershoek > ; Ibai Erkiag

bootcount support for AM62 RTCSS

2025-04-08 Thread Thom Nichols
I’d like to get bootcount support for the AM62 RTCSS. The RTCSS on the AM62 is very similar to the AM33. In fact, I’m pretty sure the bootcount_davinci driver would work for AM62, with just the register address/ offset and KICK_WE constants redefined for the correct AM62 values. A while back

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

2025-04-08 Thread Gres, Anton
[...] > +Figure 1: > +--- > +--+--+--+--+ > + ^ |Tag |Length|Length|Version >| > + | > +--+--+--+--+ > + |

RE: [EXT] [PATCH] crypto: fsl - Fix RNG generation for lengths greater than 16 bytes

2025-04-08 Thread Gaurav Jain
Can you explain more details about this issue. Where it is being modified in run_descriptor_jr() ? Regards Gaurav > -Original Message- > From: Pawel Kochanowski > Sent: Monday, April 7, 2025 6:17 PM > To: u-boot@lists.denx.de > Cc: Priyanka Jain ; Gaurav Jain ; > Gabriel Nesteruk ; Paweł

RE: [CAD QSPI v1] spi: cadence-qspi: Add disable STIG mode quikrs.

2025-04-08 Thread Ng, Boon Khai
Hi Tom, Jagan I hope you're doing well. I just wanted to follow up on the patch I submitted for review some time ago. I understand you're likely busy, but I would really appreciate it if you could take a look when you get a chance. If there's anything you need from my side to facilitate the r

Issue with booting FIT image using Yocto with raspberry pi cm4

2025-04-08 Thread Andreas Enbacka
Hello everyone, I am working on building a custom image targeting the raspberry pi cm4 using Yocto / meta-raspberrypi (scarthgap release) and u-boot. The kernel and rootfs booted without issues before switching to using fit image. I build the yocto image with kernel type / class set to fitImage.

Re: [PATCH v2] MAINTAINERS: visionfive2: Add match N: starfive pattern

2025-04-08 Thread Marek Vasut
On 4/3/25 12:28 PM, Minda Chen wrote: Add match N:starfive pattern to visionfive2 board. Now starfive pattern just related to JH7110 IC. Signed-off-by: Minda Chen Reviewed-by: Marek Vasut Thanks

Re: [PATCH v1] MAINTAINERS: Add USB driver file to visionfive2 maintain files.

2025-04-08 Thread Marek Vasut
On 4/1/25 12:39 PM, Minda Chen wrote: On 3/18/25 2:02 AM, Minda Chen wrote: On 3/17/25 12:36 PM, Minda Chen wrote: Add USB related file to Starfive visionfive2 MAINTAINERS. The N: pattern can override this. Signed-off-by: Minda Chen --- board/starfive/visionfive2/MAINTAINERS | 1 +

[PATCH v2 11/30] arm64: dts: rockchip: Add user button to Radxa E20C

2025-04-08 Thread Jonas Karlman
Radxa E20C has two buttons, one SARADC maskrom button and one GPIO user button. Add support for the user button using a gpio-keys node. Signed-off-by: Jonas Karlman Link: https://lore.kernel.org/r/20250304201642.831218-3-jo...@kwiboo.se Signed-off-by: Heiko Stuebner [ upstream commit: ad8afc88

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

2025-04-08 Thread Tom Rini
On Tue, Apr 08, 2025 at 08:14:46AM +, Maniyam, Dinesh wrote: > Hi Tom Rini, > > > -Original Message- > > From: Maniyam, Dinesh > > Sent: Monday, 24 March 2025 4:40 pm > > To: u-boot@lists.denx.de > > Cc: Marek ; Simon ; > > Simon Glass ; Tom Rini ; Dario > > Binacchi ; Ilias Apalodima

Re: [PATCH 1/2] arm: dts: Add override for RB1

2025-04-08 Thread Caleb Connolly
On 4/8/25 15:46, Sumit Garg wrote: On Tue, Apr 08, 2025 at 02:17:29PM +0200, Caleb Connolly wrote: On 4/7/25 15:28, Sumit Garg wrote: From: Sumit Garg Add U-Boot override for RB1 to for USB in host mode as OTG mode isn't supported. Also, disable sdhc_2 as it's currently not supported, sd

Re: [PATCH v2 1/3] part: add part_get_info_cached() API

2025-04-08 Thread Neil Armstrong
On 08/04/2025 11:55, Heinrich Schuchardt wrote: On 08.04.25 11:13, Neil Armstrong wrote: Introduce a new part_get_info_cached() API that's used to get the part_info of a blk_desc allowing to use an eventual partition scanning cache to avoid rescanning the entire disk partition scheme for each pa

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

2025-04-08 Thread Neil Armstrong
On 08/04/2025 12:57, Heinrich Schuchardt wrote: On 08.04.25 11:13, Neil Armstrong wrote: Implement a simple cache for part_efi to be used by the newly introduced part_get_info_cached() API. The cache simply stores a successfully scanned GPT PTE if called from the part_get_info_cached() ops, and

Re: [PATCH] usb: dwc3: gadget: Fix match_ep callback for NXP UUU tool

2025-04-08 Thread Marek Vasut
On 4/8/25 11:06 AM, Francesco Dolcini wrote: On Mon, Mar 24, 2025 at 03:36:52PM +0100, Marek Vasut wrote: On 3/24/25 3:16 PM, Francesco Dolcini wrote: On Mon, Mar 24, 2025 at 02:53:23PM +0100, Marek Vasut wrote: On 3/24/25 1:30 PM, Francesco Dolcini wrote: On Mon, Mar 24, 2025 at 09:26:03AM +

[PATCH] doc: release_cycle: fix next release version

2025-04-08 Thread Dario Binacchi
The release commit for version v2025.04 forgot to update the next version (i. e. v2025.07) in the section where information about the merge window is provided. Fixes: 34820924edbc ("Prepare v2025.04") Signed-off-by: Dario Binacchi --- doc/develop/release_cycle.rst | 2 +- 1 file changed, 1 ins

[PATCH 1/2] Dockerfile: Update to a more current TF-A release tag

2025-04-08 Thread Tom Rini
In preparation for using TF-A more in our CI loops, switch to the current release tag for TF-A. Signed-off-by: Tom Rini --- tools/docker/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/docker/Dockerfile b/tools/docker/Dockerfile index e14d1640f9cd..3b0c403618

Re: [PATCH] tiny-printf: Handle formatting of %p with an extra Kconfig

2025-04-08 Thread Tom Rini
On Mon, Apr 07, 2025 at 10:56:14AM +0200, Christoph Niedermaier wrote: > The formatting with %pa / %pap behaves like %x, which results in an > incorrect value being output. To improve this, a new fine-tuning > Kconfig XPL_USE_TINY_PRINTF_POINTER_SUPPORT for pointer formatting > has been added. If

  1   2   >