RE: [PATCH v1] arch: arm: dts: agilex5: Enable I2C3

2025-02-18 Thread Chee, Tien Fong
-Original Message- From: Yuslaimi, Alif Zakuan Sent: Thursday, February 6, 2025 4:25 PM To: u-boot@lists.denx.de Cc: Tom Rini ; Lim, Jit Loon ; Chee, Tien Fong ; Marek Vasut ; Simon Goldschmidt ; Yuslaimi, Alif Zakuan ; Alif Zakuan Yuslaimi Subject: [PATCH v1] arch: arm: dts: agil

Re: [PATCH v3 1/8] doc: board/qualcomm: document RDP building/flashing

2025-02-18 Thread Varadarajan Narayanan
On Tue, Feb 18, 2025 at 05:33:19PM +, Caleb Connolly wrote: > Hi Varadarajan, > > On 2/18/25 08:54, Varadarajan Narayanan wrote: > > Introducing basic support for Qualcomm IPQxxx based RDPs. > > Document the build and flashing steps. > > It looks like you forgot to squash this patch into a prev

Re: [PATCH v3 2/8] dts: ipq9574-rdp433-u-boot: add override dtsi

2025-02-18 Thread Varadarajan Narayanan
On Tue, Feb 18, 2025 at 05:38:14PM +, Caleb Connolly wrote: > > > On 2/18/25 08:54, Varadarajan Narayanan wrote: > > Add initial support for the IPQ9574 MMC based RDP platforms. > > Define memory layout statically. > > > > Signed-off-by: Varadarajan Narayanan > > --- > > v3: Fix comments and g

RE: [PATCH v2 01/26] arm: socfpga: agilex5: Add new driver model for system manager in Agilex5

2025-02-18 Thread Chee, Tien Fong
-Original Message- From: Yuslaimi, Alif Zakuan Sent: Tuesday, February 18, 2025 4:35 PM To: u-boot@lists.denx.de Cc: Marek Vasut ; Simon Goldschmidt ; Tien Fong Chee ; Alif Zakuan Yuslaimi ; Tingting Meng ; Boon Khai Ng ; Kok Kiang Hea ; Chee, Tien Fong Subject: [PATCH v2 01/26] a

RE: [PATCH 01/10] dt-bindings: i3c: Add YAML schema for Cadence I3C controller

2025-02-18 Thread Maniyam, Dinesh
> -Original Message- > From: Frank Li > Sent: Wednesday, 19 February 2025 12:24 am > To: Maniyam, Dinesh > Cc: u-boot@lists.denx.de; Marek ; Simon Goldschmidt > ; Simon Glass ; Tom Rini > ; Ilias Apalodimas ; Heinrich > Schuchardt ; Jerome Forissier > ; Mattijs Korpershoek > ; Ibai Erk

Re: [PATCH 0/2] Remove "saveenv" functionality from am57xx evms

2025-02-18 Thread Kumar, Udit
On 2/10/2025 8:13 PM, Tom Rini wrote: On Mon, Feb 10, 2025 at 09:55:22AM +0530, Kumar, Udit wrote: Hi Tom On 2/9/2025 10:50 PM, Tom Rini wrote: On Sat, Feb 08, 2025 at 10:09:36AM +0530, Anurag Dutta wrote: Previously saved environment introduce discrepancies and may lead to incompatibiliti

RE: [PATCH 02/10] drivers: i3c: Add new i3c uclass id

2025-02-18 Thread Maniyam, Dinesh
> -Original Message- > From: Simon Glass > Sent: Tuesday, 18 February 2025 9:29 pm > To: Maniyam, Dinesh > Cc: u-boot@lists.denx.de; Marek ; Simon Goldschmidt > ; Tom Rini ; Ilias > Apalodimas ; Heinrich Schuchardt > ; Jerome Forissier ; Mattijs > Korpershoek ; Ibai Erkiaga elo...@amd.

RE: [PATCH 09/10] cmd: Add i3c command support.

2025-02-18 Thread Maniyam, Dinesh
> -Original Message- > From: Simon Glass > Sent: Tuesday, 18 February 2025 9:29 pm > To: Maniyam, Dinesh > Cc: u-boot@lists.denx.de; Marek ; Simon Goldschmidt > ; Tom Rini ; Ilias > Apalodimas ; Heinrich Schuchardt > ; Jerome Forissier ; Mattijs > Korpershoek ; Ibai Erkiaga elo...@amd.

RE: [PATCH 01/10] dt-bindings: i3c: Add YAML schema for Cadence I3C controller

2025-02-18 Thread Maniyam, Dinesh
> -Original Message- > From: Tom Rini > Sent: Wednesday, 19 February 2025 12:29 am > To: Frank Li > Cc: Maniyam, Dinesh ; u-boot@lists.denx.de; > Marek ; Simon Goldschmidt > ; Simon Glass ; Ilias > Apalodimas ; Heinrich Schuchardt > ; Jerome Forissier ; Mattijs > Korpershoek ; Ibai Erk

RE: [PATCH 01/10] dt-bindings: i3c: Add YAML schema for Cadence I3C controller

2025-02-18 Thread Maniyam, Dinesh
> -Original Message- > From: Michal Simek > Sent: Tuesday, 18 February 2025 3:26 pm > To: Maniyam, Dinesh ; u-boot@lists.denx.de > Cc: Marek ; Simon Goldschmidt > ; Simon Glass ; Tom Rini > ; Ilias Apalodimas ; Heinrich > Schuchardt ; Jerome Forissier > ; Mattijs Korpershoek > ; Ibai Erk

Re: [PATCH v2] fs/erofs: fix an integer overflow in symlink resolution

2025-02-18 Thread Jonathan Bar Or
That's great! Thank you for your work! Any expected fixes on the other issues I raised Tom? I'm asking specifically because GRUB2 maintainers are working on solving very similar issues in their repository for SquashFS (being rolled out right now). It'd be best to solve ASAP as people might realize

Re: [PATCH v1] gpio: pca953x: support pcal6408 and pcal6416

2025-02-18 Thread Tom Rini
On Tue, 11 Feb 2025 22:06:00 +0100, Francesco Dolcini wrote: > Add support to NXP GPIO expanders pcal6408, documented at [1], and > pcal6416, documented at [2]. > > [1] https://www.nxp.com/docs/en/data-sheet/PCAL6408A.pdf > [2] https://www.nxp.com/docs/en/data-sheet/PCAL6416A.pdf > > > [...] A

Re: [PATCH v1] net: designware: Add npcm8xx sgmii pcs support

2025-02-18 Thread Tom Rini
On Tue, 11 Feb 2025 10:02:01 +0800, Jim Liu wrote: > The PCS exists only in GMAC1 and relates to SGMII interface and > is used to control the SGMII PHY. > > Applied to u-boot/next, thanks! -- Tom

Re: [PATCH v1] board: verdin-am62: add dram_init_banksize

2025-02-18 Thread Tom Rini
On Mon, 10 Feb 2025 08:27:47 +0100, Stefan Eichenberger wrote: > Add the dram_init_banksize function to the board file to properly set > DRAM memory sizes during boot. > > The commit bc07851897bd ("board: ti: Pull redundant DDR functions to a > common location and Fixup DDR size when ECC is enabl

Re: [PATCH] tools: Fix potential null-deref with result of strtok_r

2025-02-18 Thread Tom Rini
On Sun, 09 Feb 2025 18:46:21 +0300, Maks Mishin wrote: > Return value of a function 'strtok_r' is dereferenced at kwbimage.c:1655 > without checking for NULL, but it is usually checked for this function. > > Applied to u-boot/next, thanks! -- Tom

Re: [PATCH v3] board: nuvoton: use an event to replace last_stage_init()

2025-02-18 Thread Tom Rini
On Mon, 10 Feb 2025 10:37:10 +0800, Michael Chang wrote: > Add a new event which handles this function refer to commit > ("91caa3bb89b1 event: Use an event to replace last_stage_init()") > > Applied to u-boot/next, thanks! -- Tom

Re: [PATCH] u-boot-initial-env: Add missing dependencies

2025-02-18 Thread Tom Rini
On Sun, 09 Feb 2025 08:34:09 -0600, Tom Rini wrote: > When performing a build consisting of only a defconfig target and then > this tool, we were missing two dependencies. Add them. > > Applied to u-boot/next, thanks! -- Tom

Re: xPL Proposal

2025-02-18 Thread Tom Rini
On Tue, Feb 18, 2025 at 05:03:08PM -0700, Simon Glass wrote: > Hi Tom, > > On Tue, 18 Feb 2025 at 07:46, Tom Rini wrote: > > > > On Tue, Feb 18, 2025 at 05:08:40AM -0700, Simon Glass wrote: > > > Hi Tom, > > > > > > On Mon, 17 Feb 2025 at 17:40, Tom Rini wrote: > > > > > > > > On Mon, Feb 17, 20

Re: [PATCH v2 28/28] test: Add a test for booting Ubuntu 24.04

2025-02-18 Thread Tom Rini
On Tue, Feb 18, 2025 at 05:01:40PM -0700, Simon Glass wrote: > Hi Tom, > > On Tue, 18 Feb 2025 at 08:11, Tom Rini wrote: > > > > On Tue, Feb 18, 2025 at 05:09:23AM -0700, Simon Glass wrote: > > > Hi Tom, > > > > > > On Mon, 17 Feb 2025 at 10:52, Tom Rini wrote: > > > > > > > > On Sun, Feb 16, 20

Re: [PATCH v2 26/28] test/py: Allow tests to be filtered by role

2025-02-18 Thread Tom Rini
On Tue, Feb 18, 2025 at 05:39:53PM -0700, Simon Glass wrote: > Hi Tom, > > On Tue, 18 Feb 2025 at 17:25, Tom Rini wrote: > > > > On Tue, Feb 18, 2025 at 05:04:09PM -0700, Simon Glass wrote: > > > Hi Tom, > > > > > > On Tue, 18 Feb 2025 at 08:12, Tom Rini wrote: > > > > > > > > On Tue, Feb 18, 20

Re: [PATCH v2 26/28] test/py: Allow tests to be filtered by role

2025-02-18 Thread Simon Glass
Hi Tom, On Tue, 18 Feb 2025 at 17:25, Tom Rini wrote: > > On Tue, Feb 18, 2025 at 05:04:09PM -0700, Simon Glass wrote: > > Hi Tom, > > > > On Tue, 18 Feb 2025 at 08:12, Tom Rini wrote: > > > > > > On Tue, Feb 18, 2025 at 05:09:06AM -0700, Simon Glass wrote: > > > > Hi Tom, > > > > > > > > On Mon

Re: [PATCH v2 26/28] test/py: Allow tests to be filtered by role

2025-02-18 Thread Tom Rini
On Tue, Feb 18, 2025 at 05:04:09PM -0700, Simon Glass wrote: > Hi Tom, > > On Tue, 18 Feb 2025 at 08:12, Tom Rini wrote: > > > > On Tue, Feb 18, 2025 at 05:09:06AM -0700, Simon Glass wrote: > > > Hi Tom, > > > > > > On Mon, 17 Feb 2025 at 10:48, Tom Rini wrote: > > > > > > > > On Sun, Feb 16, 20

Re: [PATCH RFC] binman: Handle some newer pylint warnings

2025-02-18 Thread Tom Rini
On Tue, Feb 18, 2025 at 05:04:18PM -0700, Simon Glass wrote: > Hi Tom, > > On Tue, 18 Feb 2025 at 12:25, Tom Rini wrote: > > > > On Wed, Feb 12, 2025 at 04:22:59PM -0600, Tom Rini wrote: > > > > > With a newer pylint we have a few warnings show up now that are harder > > > to handle. The first pr

Re: [PATCH RFC] binman: Handle some newer pylint warnings

2025-02-18 Thread Simon Glass
Hi Tom, On Tue, 18 Feb 2025 at 12:25, Tom Rini wrote: > > On Wed, Feb 12, 2025 at 04:22:59PM -0600, Tom Rini wrote: > > > With a newer pylint we have a few warnings show up now that are harder > > to handle. The first problem is that when we call self.Raise(...) this > > is no longer enough to ha

Re: [PATCH v2 26/28] test/py: Allow tests to be filtered by role

2025-02-18 Thread Simon Glass
Hi Tom, On Tue, 18 Feb 2025 at 08:12, Tom Rini wrote: > > On Tue, Feb 18, 2025 at 05:09:06AM -0700, Simon Glass wrote: > > Hi Tom, > > > > On Mon, 17 Feb 2025 at 10:48, Tom Rini wrote: > > > > > > On Sun, Feb 16, 2025 at 01:44:11PM -0700, Simon Glass wrote: > > > > > > > Some test can only be ru

Re: xPL Proposal

2025-02-18 Thread Simon Glass
Hi Tom, On Tue, 18 Feb 2025 at 07:46, Tom Rini wrote: > > On Tue, Feb 18, 2025 at 05:08:40AM -0700, Simon Glass wrote: > > Hi Tom, > > > > On Mon, 17 Feb 2025 at 17:40, Tom Rini wrote: > > > > > > On Mon, Feb 17, 2025 at 01:39:37PM -0700, Simon Glass wrote: > > > > Hi Tom, > > > > > > > > On Mon

Re: [PATCH RFC 6/6] binman: doc: update Optional entries

2025-02-18 Thread Simon Glass
Hi Yannic, On Tue, 18 Feb 2025 at 06:15, Yannic Moog wrote: > > On Mon, 2025-02-17 at 06:13 -0700, Simon Glass wrote: > > Hi Yannic, > > > > On Mon, 17 Feb 2025 at 00:21, Yannic Moog wrote: > > > > > > Hi Simon, > > > > > > On Fri, 2025-02-14 at 06:48 -0700, Simon Glass wrote: > > > > Hi Yannic,

Re: [PATCH v2 28/28] test: Add a test for booting Ubuntu 24.04

2025-02-18 Thread Simon Glass
Hi Tom, On Tue, 18 Feb 2025 at 08:11, Tom Rini wrote: > > On Tue, Feb 18, 2025 at 05:09:23AM -0700, Simon Glass wrote: > > Hi Tom, > > > > On Mon, 17 Feb 2025 at 10:52, Tom Rini wrote: > > > > > > On Sun, Feb 16, 2025 at 01:44:13PM -0700, Simon Glass wrote: > > > > Now that U-Boot can boot this

Re: [PATCH v2] fs/erofs: fix an integer overflow in symlink resolution

2025-02-18 Thread Tom Rini
On Tue, Feb 18, 2025 at 03:24:08PM -0800, Jonathan Bar Or wrote: > That's great! Thank you for your work! > > Any expected fixes on the other issues I raised Tom? > I'm asking specifically because GRUB2 maintainers are working on > solving very similar issues in their repository for SquashFS (bein

Re: [PATCH v2] env: mmc: Make redundant env in both eMMC boot partitions consider DT properties

2025-02-18 Thread Tom Rini
On Tue, Feb 11, 2025 at 02:31:08PM +0100, Marek Vasut wrote: > Introduce a new function mmc_env_is_redundant_in_both_boot_hwparts() > which replaces IS_ENABLED(ENV_MMC_HWPART_REDUND) and internally does > almost the same check as the macro which assigned ENV_MMC_HWPART_REDUND > did, and call it in

Invitation: U-Boot community meeting @ Every 2 weeks from 10am to 11am on Tuesday (EST) (u-boot@lists.denx.de)

2025-02-18 Thread Jesse T
BEGIN:VCALENDAR PRODID:-//Google Inc//Google Calendar 70.9054//EN VERSION:2.0 CALSCALE:GREGORIAN METHOD:REQUEST BEGIN:VTIMEZONE TZID:America/Bahia_Banderas X-LIC-LOCATION:America/Bahia_Banderas BEGIN:STANDARD TZOFFSETFROM:-0600 TZOFFSETTO:-0600 TZNAME:CST DTSTART:19700101T00 END:STANDARD END:VT

Re: [PATCH] tools: Fix handle leak in mmap_fdt function

2025-02-18 Thread Tom Rini
On Sun, Feb 09, 2025 at 05:56:41PM +0300, Maks Mishin wrote: > The handle 'ptr' is created at fit_common.c:91 by calling > function 'mmap' and lost at fit_common.c:127: > Added call of free for `ptr` if ptr != MAP_FAILED. > > Trigger was found by the Svace static analyzer. > > Signed-off-by: M

Reminder: Next U-Boot community meeting 25 February 2025 (-0600)

2025-02-18 Thread Tom Rini
Hey all, This is a reminder that in one week we'll have the next U-Boot community meeting. The calendar link is: https://calendar.google.com/calendar/u/0/event?eid=N280N2tlcXE3aDVtbjlicnNkcm82YnA1bDBfMjAyNTAyMjVUMTUwMDAwWiA4OWJlN2I4MTMxMzZiZWMwNmE4M2RlNGRhNTk3NDVmMGFiZDExYzFiODM2MDYxYWUwNmMxYzdkYm

Re: [PATCH v2] fs/erofs: fix an integer overflow in symlink resolution

2025-02-18 Thread Tom Rini
On Thu, 13 Feb 2025 19:28:47 +0800, Gao Xiang wrote: > See the original report [1], otherwise len + 1 will be overflowed. > > Note that EROFS archive can record arbitary symlink sizes in principle, > so we don't assume a short number like 4096. > > [1] https://lore.kernel.org/r/20250210164151.GN

Re: [PATCH] power: regulator: tps65941: Fix voltage calculation for ldo

2025-02-18 Thread Tom Rini
On Tue, 11 Feb 2025 23:21:58 +0530, Udit Kumar wrote: > As per TRM[0] Section 8.7.1 "TPS6594-Q1 Registers", LDOx_Vout > bit 6-1, define the NVM voltage settings. > Along side table 8-4 of above TRM, shows voltage to value mapping. > > Driver wrongly using bits 5-1 to calculate voltage, and to con

Re: [PATCH v1] led: fix coverity scan error

2025-02-18 Thread Tom Rini
On Wed, 12 Feb 2025 10:10:55 +0100, Heiko Schocher wrote: > Tom reported the following covervity scan error: > > *** CID 541279:(TAINTED_SCALAR) > /drivers/led/led-uclass.c: 284 in led_get_function_name() > 278 if (!ret) { > 279 snprintf(uc_plat

Re: [PATCH v2 1/1] tools: use cryptographically safe RNG

2025-02-18 Thread Tom Rini
On Tue, 11 Feb 2025 14:55:22 +0100, Heinrich Schuchardt wrote: > The PRNG implementing the random() function only has 2^31 states and > therefore is unsafe to use for cryptography. Use arc4random() instead. > > Applied to u-boot/master, thanks! -- Tom

Re: [PATCH RFC] binman: Handle some newer pylint warnings

2025-02-18 Thread Tom Rini
On Wed, Feb 12, 2025 at 04:22:59PM -0600, Tom Rini wrote: > With a newer pylint we have a few warnings show up now that are harder > to handle. The first problem is that when we call self.Raise(...) this > is no longer enough to have pylint see that we're now bailing out and > won't attempt to ref

Re: [PATCH v3 2/8] dts: ipq9574-rdp433-u-boot: add override dtsi

2025-02-18 Thread Caleb Connolly
On 2/18/25 08:54, Varadarajan Narayanan wrote: Add initial support for the IPQ9574 MMC based RDP platforms. Define memory layout statically. Signed-off-by: Varadarajan Narayanan --- v3: Fix comments and give additional details No code change v2: Use upstream and override DT instead of

Re: [PATCH v3 1/8] doc: board/qualcomm: document RDP building/flashing

2025-02-18 Thread Caleb Connolly
Hi Varadarajan, On 2/18/25 08:54, Varadarajan Narayanan wrote: Introducing basic support for Qualcomm IPQxxx based RDPs. Document the build and flashing steps. It looks like you forgot to squash this patch into a previous one (which isn't part of the series?) Signed-off-by: Varadarajan Na

[PATCH v3 1/2] core: ofnode: add of_graph parsing helpers

2025-02-18 Thread Svyatoslav Ryhel
Add a mostly complete list of ofnode analogs of of_graph parsing helpers. Signed-off-by: Svyatoslav Ryhel --- drivers/core/Makefile | 2 +- drivers/core/ofnode_graph.c | 217 include/dm/ofnode_graph.h | 90 +++ 3 files changed, 308 inse

[PATCH v3 2/2] test: dm: add ofnode_graph tests

2025-02-18 Thread Svyatoslav Ryhel
Test suit for of_graph parsing helpers. Signed-off-by: Svyatoslav Ryhel --- arch/sandbox/dts/test.dts | 55 +++ test/dm/ofnode.c | 54 ++ 2 files changed, 109 insertions(+) diff --git a/arch/sandbox/dts/test.dts b/

[PATCH v3 0/2] core: ofnode: add of_graph parsing helpers

2025-02-18 Thread Svyatoslav Ryhel
Add a mostly complete list of ofnode analogs of of_graph parsing helpers. Commits pass all tests of stage 1 and all but sandbox_spl test of stage 2. I am not able to track how these commits affect spl, log does not provide any references to ofnode_graph testes or functions Here is a link to lates

Re: [PATCH 01/10] dt-bindings: i3c: Add YAML schema for Cadence I3C controller

2025-02-18 Thread Tom Rini
On Tue, Feb 18, 2025 at 11:24:13AM -0500, Frank Li wrote: > On Tue, Feb 18, 2025 at 10:56:56AM +0800, dinesh.mani...@intel.com wrote: > > From: Dinesh Maniyam > > > > Add a YAML device tree binding schema for the Cadence I3C controller, > > Cadence or snps? compatible string said snps. > > > def

Re: [PULL next] u-boot-at91-2025.07-a

2025-02-18 Thread Tom Rini
On Tue, 18 Feb 2025 14:40:03 +0200, Eugen Hristev wrote: > Please pull tag u-boot-at91-2025.07-a , the first set of at91 features > and fixes for the next 2025.07 cycle. > > This feature set includes improvements on the atmel-quadspi driver, a > fix for the nand driver, and improvements on the pi

Re: [PATCH] tpm: unconstify tpm_tis_chip_data

2025-02-18 Thread Tom Rini
On Thu, 06 Feb 2025 11:28:56 +0200, Ilias Apalodimas wrote: > The struct contains an iomem pointer that we later remap and update. > Remove const from the struct definition. > > Applied to u-boot/master, thanks! -- Tom

Re: [PATCH 01/10] dt-bindings: i3c: Add YAML schema for Cadence I3C controller

2025-02-18 Thread Frank Li
On Tue, Feb 18, 2025 at 10:56:56AM +0800, dinesh.mani...@intel.com wrote: > From: Dinesh Maniyam > > Add a YAML device tree binding schema for the Cadence I3C controller, Cadence or snps? compatible string said snps. > defining required and optional properties for proper integration > and valida

[PATCH] common: board_r: Initialize interrupts before watchdog

2025-02-18 Thread J . Neuschäfer via B4 Relay
m_announce, + arch_initr_trap, #if CONFIG_IS_ENABLED(WDT) initr_watchdog, #endif INIT_FUNC_WATCHDOG_RESET - arch_initr_trap, #if defined(CONFIG_BOARD_EARLY_INIT_R) board_early_init_r, #endif --- base-commit: 064556910e61044f1295162ceaad600582b66cda change-id

Re: [PATCH v2 26/28] test/py: Allow tests to be filtered by role

2025-02-18 Thread Tom Rini
On Tue, Feb 18, 2025 at 05:09:06AM -0700, Simon Glass wrote: > Hi Tom, > > On Mon, 17 Feb 2025 at 10:48, Tom Rini wrote: > > > > On Sun, Feb 16, 2025 at 01:44:11PM -0700, Simon Glass wrote: > > > > > Some test can only be run by a particular board in a lab, e.g. because > > > they are loaded with

Re: [PATCH v2 28/28] test: Add a test for booting Ubuntu 24.04

2025-02-18 Thread Tom Rini
On Tue, Feb 18, 2025 at 05:09:23AM -0700, Simon Glass wrote: > Hi Tom, > > On Mon, 17 Feb 2025 at 10:52, Tom Rini wrote: > > > > On Sun, Feb 16, 2025 at 01:44:13PM -0700, Simon Glass wrote: > > > Now that U-Boot can boot this quickly, using kvm, add a test that the > > > installer starts up corre

Re: xPL Proposal

2025-02-18 Thread Tom Rini
On Tue, Feb 18, 2025 at 05:08:40AM -0700, Simon Glass wrote: > Hi Tom, > > On Mon, 17 Feb 2025 at 17:40, Tom Rini wrote: > > > > On Mon, Feb 17, 2025 at 01:39:37PM -0700, Simon Glass wrote: > > > Hi Tom, > > > > > > On Mon, 17 Feb 2025 at 13:17, Tom Rini wrote: > > > > > > > > On Mon, Feb 17, 20

[PATCH] serial: ns16550: Fix pointer type mismatch

2025-02-18 Thread J . Neuschäfer via B4 Relay
- return in_le32(addr); + return in_le32((u32 *)addr); } else { return readl(addr); } --- base-commit: 3b1c055bf9e254ab6395907779af4e2ce14bb7e6 change-id: 20250218-serial-type-86c31980cb25 Best regards, -- J. Neuschäfer

Re: [PATCH 09/10] cmd: Add i3c command support.

2025-02-18 Thread Simon Glass
Hi Dinesh, On Mon, 17 Feb 2025 at 19:58, wrote: > > From: Dinesh Maniyam > > Add i3c command file to support select, get i3c device > target list, read and write operation. > > Signed-off-by: Dinesh Maniyam > --- > cmd/i3c.c | 193 + > drive

Re: [PATCH 2/4] lmb: handle scenario of of encompassing overlap

2025-02-18 Thread Simon Glass
Hi Sughosh, On Tue, 18 Feb 2025 at 04:57, Sughosh Ganu wrote: > > On Tue, 18 Feb 2025 at 17:08, Simon Glass wrote: > > > > Hi Sughosh, > > > > On Thu, 13 Feb 2025 at 06:11, Sughosh Ganu wrote: > > > > > > The lmb_fix_over_lap_regions() function is called if the added region > > > overlaps with

Re: [PATCH v5 15/20] binman: add a new entry type for packing DDR PHY firmware images

2025-02-18 Thread Simon Glass
Hi Alice, On Tue, 18 Feb 2025 at 05:11, Alice Guo (OSS) wrote: > > From: Alice Guo > > i.MX95 needs to combine DDR PHY firmware images and their byte counts > together, so add a new entry type nxp-header-ddrfw for this requirement. > > Signed-off-by: Alice Guo > --- > tools/binman/entries.rst

Re: [PATCH 02/10] drivers: i3c: Add new i3c uclass id

2025-02-18 Thread Simon Glass
Hi Dinesh, On Mon, 17 Feb 2025 at 19:57, wrote: > > From: Dinesh Maniyam > > Add i3c general uclass id. > > Signed-off-by: Dinesh Maniyam > --- > include/dm/uclass-id.h | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/include/dm/uclass-id.h b/include/dm/uclass-id.h > index 270088ad94..

Re: [PATCH RFC 6/6] binman: doc: update Optional entries

2025-02-18 Thread Yannic Moog
On Mon, 2025-02-17 at 06:13 -0700, Simon Glass wrote: > Hi Yannic, > > On Mon, 17 Feb 2025 at 00:21, Yannic Moog wrote: > > > > Hi Simon, > > > > On Fri, 2025-02-14 at 06:48 -0700, Simon Glass wrote: > > > Hi Yannic, > > > > > > On Fri, 14 Feb 2025 at 00:05, Yannic Moog > > > wrote: > > > >

Re: [PATCH] arm64: zynqmp: versal: Consistently use enum tcm_mode

2025-02-18 Thread Love Kumar
Hi Marek, On 07/02/25 2:59 am, Marek Vasut wrote: Turn anonymous enum TCM_LOCK/TCM_SPLIT into enum tcm_mode {}, set TCM_LOCK as 0 and TCM_SPLIT as 1 to match LOCK and SPLIT macros in mach-zynqmp/mp.c, and unify all the functions and their parameters on this one single enum tcm_mode {} instead of

[PATCH] arm64: versal2: Show major and minor silicon version

2025-02-18 Thread Michal Simek
ES1 silicon is 0x10 (16) and production is 0x20 (32) but correct number to see are v1.0 or v2.0 instead of v16 or v32. Signed-off-by: Michal Simek --- arch/arm/mach-versal2/include/mach/hardware.h | 3 ++- drivers/soc/soc_amd_versal2.c | 4 +++- 2 files changed, 5 insertions(+),

[PATCH] versal2: Fix .*get_bootmode function name

2025-02-18 Thread Michal Simek
Function was c&p from Versal NET and should use soc specific name instead. Signed-off-by: Michal Simek --- board/amd/versal2/board.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/board/amd/versal2/board.c b/board/amd/versal2/board.c index 5651d516a9e3..d3e6547eada9 100

[PULL next] u-boot-at91-2025.07-a

2025-02-18 Thread Eugen Hristev
Hello Tom, Please pull tag u-boot-at91-2025.07-a , the first set of at91 features and fixes for the next 2025.07 cycle. This feature set includes improvements on the atmel-quadspi driver, a fix for the nand driver, and improvements on the pinctrl driver to be able to use the Linux DT (also sync o

[PATCH v5 09/20] sandbox: add SCMI clock control permissions to sandbox

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

Re: [PATCH v2 26/28] test/py: Allow tests to be filtered by role

2025-02-18 Thread Simon Glass
Hi Tom, On Mon, 17 Feb 2025 at 10:48, Tom Rini wrote: > > On Sun, Feb 16, 2025 at 01:44:11PM -0700, Simon Glass wrote: > > > Some test can only be run by a particular board in a lab, e.g. because > > they are loaded with an OS image used by the test. Add a way to specify > > this in tests. > > >

[PATCH v5 20/20] Makefile: add some files to CLEAN_FILES

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

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

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

[PATCH v5 17/20] imx: add V2X container support on i.MX95

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

[PATCH v5 18/20] doc: imx: add document for i.MX95 Image Container Format

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

[PATCH v5 15/20] binman: add a new entry type for packing DDR PHY firmware images

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

[PATCH v5 16/20] tools: imx8image: add i.MX95 support

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

[PATCH v5 14/20] imx: Kconfig: IMX8_ROMAPI is not configured for i.MX95

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

[PATCH v5 13/20] imx9: add i.MX95 Kconfig and Makefile

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

[PATCH v5 12/20] spl: imx: use trampoline buffer to load images to secure region

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

[PATCH v5 10/20] scmi_protocols: update struct scmi_base_discover_list_protocols_out

2025-02-18 Thread Alice Guo (OSS)
From: Ye Li @protocols is an array of protocol identifiers that are implemented, excluding the Base protocol. The number of elements of @protocols is specified by callee-side. Currently, set it to 4 is enough for i.MX95. Signed-off-by: Ye Li Signed-off-by: Alice Guo --- include/scmi_protocols

[PATCH v5 11/20] imx9: scmi: add i.MX95 SoC and clock related code

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

Re: [PATCH v2 28/28] test: Add a test for booting Ubuntu 24.04

2025-02-18 Thread Simon Glass
Hi Tom, On Mon, 17 Feb 2025 at 10:52, Tom Rini wrote: > > On Sun, Feb 16, 2025 at 01:44:13PM -0700, Simon Glass wrote: > > Now that U-Boot can boot this quickly, using kvm, add a test that the > > installer starts up correctly. > > > > Use the qemu-x86_64 board in the SJG lab. > > > > Signed-off-

Re: xPL Proposal

2025-02-18 Thread Simon Glass
Hi Tom, On Mon, 17 Feb 2025 at 17:40, Tom Rini wrote: > > On Mon, Feb 17, 2025 at 01:39:37PM -0700, Simon Glass wrote: > > Hi Tom, > > > > On Mon, 17 Feb 2025 at 13:17, Tom Rini wrote: > > > > > > On Mon, Feb 17, 2025 at 01:47:32PM -0600, Tom Rini wrote: > > > > On Mon, Feb 17, 2025 at 12:34:01P

[PATCH v5 08/20] clk: scmi: check the clock state/parent/rate control permissions

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

[PATCH v5 06/20] scmi_protocols: add SCMI Performance domain management protocol message IDs

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

[PATCH v5 07/20] clk: scmi: add the command CLOCK_PARENT_SET

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

[PATCH v5 05/20] scmi_protocols: add SCMI misc protocol protocol_id and message_id for getting the ROM passover data

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

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

2025-02-18 Thread Alice Guo (OSS)
From: Alice Guo This patch adds SCMI pin control protocol support so that the pin controller driver based on SCMI, such as drivers/pinctrl/nxp/pinctrl-scmi.c, can be bound to the SCMI agent device whose protocol id is 0x19. Signed-off-by: Alice Guo --- drivers/firmware/scmi/scmi_agent-uclass.c

[PATCH v5 03/20] pinctrl: nxp: add a pin controller driver based on SCMI pin control protocol

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

[PATCH v5 01/20] mailbox: add i.MX Messaging Unit (MU) driver

2025-02-18 Thread Alice Guo (OSS)
From: Peng Fan This patch provides a driver for i.MX Messaging Unit (MU) using the commom mailbox framework. This is ported from Linux (v6.12.8) driver drivers/mailbox/imx-mailbox.c. Its commit SHA is: 39d7d6177f0c ("mailbox: imx: use device name in interrupt name") Signed-off-by: Viorel Suman

[PATCH v5 02/20] firmware: scmi: smt: Interrupt communication enable

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

[PATCH v5 00/20] imx: add i.MX95 support

2025-02-18 Thread Alice Guo (OSS)
From: Alice Guo Changes in v5: - add support for the mailbox whose type is IMX_MU_V1 - move scmi_smt_enable_intr into drivers/firmware/scmi/smt.c - use the imx95 pinctrl patch from https://source.denx.de/u-boot/custodians/u-boot-usb/-/commit/3191ef0497c629017da4d88bf6a14ff0ad7c0032 - update

Re: [PATCH 2/4] lmb: handle scenario of of encompassing overlap

2025-02-18 Thread Sughosh Ganu
On Tue, 18 Feb 2025 at 17:08, Simon Glass wrote: > > Hi Sughosh, > > On Thu, 13 Feb 2025 at 06:11, Sughosh Ganu wrote: > > > > The lmb_fix_over_lap_regions() function is called if the added region > > overlaps with an existing region. The function then fixes the overlap > > and removes the redund

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

2025-02-18 Thread Alice Guo (OSS)
> -邮件原件- > 发件人: Marek Vasut > 发送时间: 2025年1月24日 21:55 > 收件人: Alice Guo (OSS) ; Tom Rini > ; Stefano Babic ; Fabio Estevam > ; dl-uboot-imx ; Lukasz > Majewski ; Sean Anderson ; Simon > Glass ; Alper Nebi Yasak > 抄送: u-boot@lists.denx.de; thar...@gateworks.com; Alice Guo > > 主题: Re: [PATCH

Re: [PATCH 2/4] lmb: handle scenario of of encompassing overlap

2025-02-18 Thread Simon Glass
Hi Sughosh, On Thu, 13 Feb 2025 at 06:11, Sughosh Ganu wrote: > > The lmb_fix_over_lap_regions() function is called if the added region > overlaps with an existing region. The function then fixes the overlap > and removes the redundant region. However, it makes an assumption that > the overlap wo

[PATCH 2/2] configs: j784s4_evm_a72_defconfig: enable USB DFU boot, DFU flash and UMS

2025-02-18 Thread Siddharth Vadapalli
Enable support for USB DFU boot via USB0 instance of USB on J784S4 SoC which is a Cadence USB Controller. Additionally, enable support for USB DFU flash and USB Mass Storage (UMS) command. While at it, sync with savedefconfig. Signed-off-by: Siddharth Vadapalli --- configs/j784s4_evm_a72_defconf

[PATCH 0/2] J784S4: Enable USB DFU boot, DFU flash and UMS configs

2025-02-18 Thread Siddharth Vadapalli
Hello, This series enables configs for USB DFU boot, USB DFU flash and USB Mass Storage command for J784S4. The device-tree changes required for enabling these features will be posted as patches to Linux device-tree mailing lists and will eventually make it to U-Boot via DT Sync. Series is based

[PATCH 1/2] configs: j784s4_evm_r5_defconfig: enable USB DFU boot

2025-02-18 Thread Siddharth Vadapalli
The USB0 instance of USB on J784S4 SoC is a Cadence USB Controller and supports USB DFU boot. Enable support for it. Signed-off-by: Siddharth Vadapalli --- configs/j784s4_evm_r5_defconfig | 15 +++ 1 file changed, 15 insertions(+) diff --git a/configs/j784s4_evm_r5_defconfig b/confi

Re: [PATCH v1 1/1] board: acer: picasso: add Acer Iconia Tab A500 support

2025-02-18 Thread Svyatoslav Ryhel
вт, 18 лют. 2025 р. о 11:35 Quentin Schulz пише: > > Hi Svyatoslav, > > On 2/18/25 8:12 AM, Svyatoslav Ryhel wrote: > > пн, 17 лют. 2025 р. о 18:51 Quentin Schulz пише: > >> > >> Hi Svyatoslav, > >> > >> On 2/16/25 7:16 PM, Svyatoslav Ryhel wrote: > >>> The Acer Iconia A500 is a tablet computer d

Re: [PATCH v1 1/1] board: acer: picasso: add Acer Iconia Tab A500 support

2025-02-18 Thread Quentin Schulz
Hi Svyatoslav, On 2/18/25 8:12 AM, Svyatoslav Ryhel wrote: пн, 17 лют. 2025 р. о 18:51 Quentin Schulz пише: Hi Svyatoslav, On 2/16/25 7:16 PM, Svyatoslav Ryhel wrote: The Acer Iconia A500 is a tablet computer designed, developed and marketed by Acer Inc. It is powered by 1 GHz Nvidia Tegra

[PATCH] dma: ti: k3-udma: Avoid Memory leak issues during dma memcpy

2025-02-18 Thread Prasanth Babu Mantena
During dma memcpy, bcdma descriptor gets allocated for each transaction and not freed after completion of that transaction. So, avoid the memory allocation for every transaction. Add one descriptor per dma device and allocate it once in resource setup. This descriptor can now be used for all dma m

Re: [PATCH v2 14/35] rockchip: dts: Use the new binman template for the SPI image too

2025-02-18 Thread Jonas Karlman
Hi Simon, On 2025-02-15 13:17, Simon Glass wrote: > Hi Jonas, > > On Mon, 10 Feb 2025 at 15:11, Jonas Karlman wrote: >> >> Hi Simon, >> >> On 2025-02-09 22:14, Simon Glass wrote: >>> At present simple-bin-spi relies on the u-boot.itb file created by the >>> simple-bin image. Use the template to

[PATCH v3 8/8] configs: add qcom_ipq9574_mmc_defconfig

2025-02-18 Thread Varadarajan Narayanan
Introduce a defconfig for the Qualcomm IPQ9574 SoC based RDPs. Presently supports eMMC. Reviewed-by: Caleb Connolly Signed-off-by: Varadarajan Narayanan --- v3: Removed unnecessary comment --- configs/qcom_ipq9574_mmc_defconfig | 110 + 1 file changed, 110 insertions

[PATCH v3 7/8] qcom_defconfig: enable ipq9574 clock & pinctrl driver

2025-02-18 Thread Varadarajan Narayanan
Enable the IPQ9574 clock & pinctrl driver in the Qualcomm defconfig. Reviewed-by: Caleb Connolly Signed-off-by: Varadarajan Narayanan --- configs/qcom_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/qcom_defconfig b/configs/qcom_defconfig index e4abfdf16b..865381f75d 100

[PATCH v3 6/8] mmc: msm_sdhci: Reset clocks before reconfiguration

2025-02-18 Thread Varadarajan Narayanan
U-Boot has to reconfigure the clocks that were set in the boot loaders. However, in IPQ9574, the clocks have to be reset before they can be reconfigured. Hence add code to do the relevant resets. Reviewed-by: Caleb Connolly Signed-off-by: Varadarajan Narayanan --- drivers/mmc/msm_sdhci.c | 10 +

[PATCH v3 5/8] pinctrl: qcom: Add ipq9574 pinctrl driver

2025-02-18 Thread Varadarajan Narayanan
Add pinctrl driver for the TLMM block found in the ipq9574 SoC. Signed-off-by: Varadarajan Narayanan --- drivers/pinctrl/qcom/Kconfig | 7 + drivers/pinctrl/qcom/Makefile | 1 + drivers/pinctrl/qcom/pinctrl-ipq9574.c | 227 + 3 files changed, 235 in

[PATCH v3 4/8] pinctrl: qcom: Handle get_function_mux failure

2025-02-18 Thread Varadarajan Narayanan
Presently, get_function_mux returns an unsigned int and cannot differentiate between failure and correct function value. Change its return type to int and check for failure in the caller. Additionally, updated drivers/pinctrl/qcom/pinctrl-*.c to accommodate the above return type change. Only compi

  1   2   >