Re: [PATCH 0/9] exports overhaul

2025-09-26 Thread Tom Rini
On Fri, 19 Sep 2025 12:09:53 +0200, Rasmus Villemoes wrote: > This all started from me wondering "why does this standalone app end > up being so huge"? Oh, it essentially links in its own standard C > library to get strlen() and snprintf(). Which then led to asking "why > don't we export all those

Re: [PATCH v2 1/4] spi: nxp_fspi: Use second last LUT entry for AHB read

2025-09-26 Thread Fabio Estevam
On Tue, Sep 23, 2025 at 11:11 PM Ye Li wrote: > > Use a dedicated LUT (second last) for AHB read command, so we can > directly read from the AHB memory-mapped address and booting M core > for XIP on Flexspi NOR. > > Signed-off-by: Ye Li Series applied to -next, thanks.

Re: [PULL] u-boot-usb/next

2025-09-26 Thread Tom Rini
On Fri, 26 Sep 2025 01:08:33 +0200, Marek Vasut wrote: > The following changes since commit 44c4919e9dd6c162b237633ba689441eca9a149c: > > test: Fix optee unit test (2025-09-24 11:04:11 -0600) > > are available in the Git repository at: > > git://source.denx.de/u-boot-usb.git next > > [...]

Re: [PATCH] board: rockchip: Add support for rk3588 MNT Reform2

2025-09-26 Thread Peter Robinson
Hi Quentin, > On 6/30/25 12:25 PM, Peter Robinson wrote: > > Add support for MNT Reform2, it works as a carrier board > > with a Firefly iCore-3588Q SoM. > > > > Specification: > > - Rockchip RK3588 > > - LPDDR5X 16/32 GB > > - eMMC 128/256 GB > > - HDMI Type A out x 1 > > - USB 3.0 Host x 1 > > -

Re: [PATCH v3] bootstd: make it possible to use tftp for netboot with standardboot

2025-09-26 Thread Simon Glass
Hi Benjamin, On Wed, 24 Sept 2025 at 01:42, Benjamin Hahn wrote: > > Add the option to load the bootscript with the tftp command (static IP) > instead of the dhcp command (dynamic IP). For this a new function > tftpb_run similar to dhcp_run, is needed. The selection of which command > to use can

RE: [PATCH] crypto/rng: double the entropy delay interval for retry

2025-09-26 Thread Gaurav Jain
t; ; Baehring, Olaf ; Heinrich > Schuchardt ; u-boot@lists.denx.de > Subject: Re: [PATCH] crypto/rng: double the entropy delay interval for retry > > Hi Gaurav, > > On Fri, Sep 05, 2025 at 03:03:48PM +0530, Gaurav Jain wrote: > >during entropy evaluation, if the generated

RE: [PATCH 4/4] net: Tighten more driver dependencies

2025-09-26 Thread Ng, Boon Khai
Hi Tom, > config DWC_ETH_XGMAC > -bool "Synopsys DWC Ethernet XGMAC device support" > +bool > select PHYLIB > help >This driver supports the Synopsys Designware Ethernet XGMAC (10G @@ That case we shall remove the DWC_ETH_XGMAC config from our socfpga d

Re: [PATCH] spl: nand: initialize writesize for am335x

2025-09-26 Thread Tom Rini
On Thu, 25 Sep 2025 22:51:50 +0200, yegorsli...@googlemail.com wrote: > Initialize mtd->writesize in nand_init() as otherwise > nand_page_size() returns 0 and this affects NAND read > operations. > > Applied to u-boot/master, thanks! [1/1] spl: nand: initialize writesize for am335x commi

Re: [PATCH] MAINTAINERS: Update MMC/POWER/FREESCALE QORIQ

2025-09-26 Thread Tom Rini
On Fri, 26 Sep 2025 09:57:47 +0800, Peng Fan (OSS) wrote: > - Update MMC entry to match 'mmc' using 'N' > - Add myself as POWER maintainer for regulator and pmic patches. I have > started to handle relevant patches. > - Update QORIQ maintainer. Priyanka has moved to work on other stuff, I > ha

Re: [PATCH] MAINTAINERS: update NETWORK and NETWORK (LWIP)

2025-09-26 Thread Tom Rini
On Thu, 25 Sep 2025 17:38:16 +0200, Jerome Forissier wrote: > Add myself as a maintainer of the NETWORK subsystem since: > - I have effectively been handling net patches in my patchwork queue and > sending pull requests to Tom, > - I do have push access to the u-boot-net custodian tree. > > Also,

Re: [PATCH v2 4/5] usb: host: xhci: Make U_BOOT_DRIVER entries unique

2025-09-26 Thread Peter Robinson
On Fri, 26 Sept 2025 at 16:37, Tom Rini wrote: > > All instances of the U_BOOT_DRIVER must use a unique name or they will > lead to link time failures due to name space conflicts when both are > present. Most of the XHCI drivers follow pattern of xhci_xxx in their > name, but a few used "usb_xhci"

Re: Bootstd for sunxi

2025-09-26 Thread Heinrich Schuchardt
On 9/26/25 16:47, Simon Glass wrote: Hi Tom, On Wed, 24 Sept 2025 at 19:06, Tom Rini wrote: On Wed, Sep 24, 2025 at 06:34:53PM -0600, Simon Glass wrote: Hi Tom, On Wed, 24 Sept 2025 at 10:34, Tom Rini wrote: On Wed, Sep 24, 2025 at 10:28:45AM -0600, Simon Glass wrote: Hi, After the di

Re: [PATCH v2 7/7] doc: binman: Add guidance for determining ELF load addresses

2025-09-26 Thread Simon Glass
On Wed, 24 Sept 2025 at 06:32, Jonas Karlman wrote: > > Hi, > > On 9/14/2025 12:59 PM, Aristo Chen wrote: > > Add documentation to help users understand how to determine where ELF > > files will be loaded when using binman's 'fit,load' property. This > > addresses the common confusion about how lo

Re: [PATCH v7 2/5] bootstd: select BLK rather than depending on it

2025-09-26 Thread Simon Glass
Hi Tom, On Thu, 25 Sept 2025 at 08:18, Tom Rini wrote: > > On Wed, Sep 24, 2025 at 06:23:01PM -0600, Simon Glass wrote: > > > From: Simon Glass > > > > With recent changes to how BLK works, we must use 'select' to enable the > > BLK feature, which is currently required by BOOTSTD. > > > > This f

Re: Bootstd for sunxi

2025-09-26 Thread Simon Glass
Hi Tom, On Wed, 24 Sept 2025 at 19:06, Tom Rini wrote: > > On Wed, Sep 24, 2025 at 06:34:53PM -0600, Simon Glass wrote: > > Hi Tom, > > > > On Wed, 24 Sept 2025 at 10:34, Tom Rini wrote: > > > > > > On Wed, Sep 24, 2025 at 10:28:45AM -0600, Simon Glass wrote: > > > > > > > Hi, > > > > > > > > Af

Re: [PATCH 4/4] net: Tighten more driver dependencies

2025-09-26 Thread Tom Rini
On Fri, Sep 26, 2025 at 05:53:14AM +, Ng, Boon Khai wrote: > Hi Tom, > > > config DWC_ETH_XGMAC > > -bool "Synopsys DWC Ethernet XGMAC device support" > > +bool > > select PHYLIB > > help > >This driver supports the Synopsys Designware Ethernet XGMAC (

Re: [PATCH v2] arm: gpio: Add set_flags callback to the Tegra gpio driver

2025-09-26 Thread Svyatoslav Ryhel
пн, 22 вер. 2025 р. о 17:16 Lukasz Majewski пише: > > This patch adds support for the .set_flags callback. > For now following flags are supported: > - GPIOD_IS_AF (i.e. "alternate function"). > - GPIOD_IS_IN > - GPIOD_IS_OUT > > Currently, the .set_flags in gpio-uclass.c (function dm_gpio_set_val

Re: [PATCH RESEND 4/4] doc: bindings: add Aquantia PHY node's "firmware-name" binding

2025-09-26 Thread Beiyan Yun
> On 23 Sep 2025, at 8:44 PM, Yao Zi wrote: > > On Tue, Sep 23, 2025 at 03:13:01PM +0800, Beiyan Yun wrote: >> With the switch to generic firmware loader, "firmware-name" binding >> was introduced to define the firmware filename. >> Provide the document and usage examples. >> >> Signed-off-by

Re: [PATCH] Revert "riscv: Add a Zalrsc-only alternative for synchronization in start.S"

2025-09-26 Thread Leo Liang
On Thu, Sep 25, 2025 at 04:01:48PM +, Yao Zi wrote: > [EXTERNAL MAIL] > > This reverts commit a681cfecb4346107212f377e2075f6eb1bdc6a2b. > > It has been reported that the commit causes boot regression for SPL on > StarFive VisionFive 2 or compatible boards. Inspecting the code, I did > spot on

Re: [PATCH 3/4] net: Remove BOOTP_VENDOREX support

2025-09-26 Thread Jerome Forissier
On 9/25/25 22:44, Tom Rini wrote: > It has been over a decade since we had a platform that implemented the > bootp vendor extension support hook. Remove this option due to lack of > use. > > Signed-off-by: Tom Rini > --- > Cc: Jerome Forissier > --- > cmd/Kconfig | 4 > net/bootp.c | 1

Re: [PATCH 2/4] net: Add SYS_FAULT_MII_ADDR to Kconfig

2025-09-26 Thread Jerome Forissier
On 9/25/25 22:44, Tom Rini wrote: > The support found under SYS_FAULT_ECHO_LINK_DOWN requires that the > SYS_FAULT_MII_ADDR symbol also be set. This wasn't previously found in > Kconfig, so add it now. > > Signed-off-by: Tom Rini > --- > Cc: Jerome Forissier > > Changes in v2: > - Add missin

Re: [PATCH] phy: marvell: Tighten MVEBU_COMPHY_SUPPORT dependencies

2025-09-25 Thread Stefan Roese
On 9/25/25 22:56, Tom Rini wrote: This driver cannot link without access to functions that are defined in files that are only build on some platforms. Express those requirements in Kconfig as well. Signed-off-by: Tom Rini --- Cc: Stefan Roese Reviewed-by: Stefan Roese Thanks, Stefan ---

Re: am335x: NAND boot problem using the legacy u-boot.img

2025-09-25 Thread Tom Rini
On Wed, Sep 24, 2025 at 11:09:16AM +0200, Yegor Yefremov wrote: > HI all, > > trying to boot using the latest master, I get the following error: > > U-Boot SPL 2025.10-rc4 (Sep 23 2025 - 16:45:07 +0200) > Trying to boot from NAND > Error: -5 > SPL: failed to boot from all boot devices (err=-5) >

Re: [PATCH] crypto: tegra: Tighten TEGRA_AES driver dependency

2025-09-25 Thread Svyatoslav Ryhel
чт, 25 вер. 2025 р. о 23:45 Tom Rini пише: > > This driver relies on tegra-specific headers to compile so make it > depend on ARCH_TEGRA. > > Signed-off-by: Tom Rini > --- > Cc: Thierry Reding > Cc: Svyatoslav Ryhel > Cc: Ion Agorria > --- > drivers/crypto/tegra/Kconfig | 2 +- > 1 file chang

Re: [PATCH 1/4] spi: nxp_fspi: Use second last LUT entry for AHB read

2025-09-25 Thread Fabio Estevam
Hi Ye Li, On Mon, Sep 22, 2025 at 8:12 AM Ye Li wrote: > > Use a dedicated LUT (second last) for AHB read command, so we can > directly read from the AHB memory-mapped address and booting M core > for XIP on Flexspi NOR. > > Signed-off-by: Ye Li As Tom pointed out in other patches you submitted

Re: [PATCH] Revert "riscv: Add a Zalrsc-only alternative for synchronization in start.S"

2025-09-25 Thread Yao Zi
On Thu, Sep 25, 2025 at 09:27:25AM -0700, E Shattow wrote: > > > On 9/25/25 09:01, Yao Zi wrote: > > This reverts commit a681cfecb4346107212f377e2075f6eb1bdc6a2b. > > > > It has been reported that the commit causes boot regression for SPL on > > StarFive VisionFive 2 or compatible boards. Inspec

Re: [PATCH v6 1/2] part: Export part_driver_lookup_type for external use

2025-09-25 Thread Javier Tia
Hi Tom, On Thu, Sep 25, 2025, at 10:35 AM, Tom Rini wrote: > On Thu, Sep 25, 2025 at 09:20:53AM +0300, Ilias Apalodimas wrote: >> Hi Javier, >> >> On Thu, 25 Sept 2025 at 02:31, Javier Tia wrote: >> > >> > Make part_driver_lookup_type non-static so it can be used outside >> > part.c. This allows

Re: [PATCH v6 1/2] part: Export part_driver_lookup_type for external use

2025-09-25 Thread Javier Tia
Hi Ilias, On Thu, Sep 25, 2025, at 12:20 AM, Ilias Apalodimas wrote: > Hi Javier, > > On Thu, 25 Sept 2025 at 02:31, Javier Tia wrote: >> >> Make part_driver_lookup_type non-static so it can be used outside >> part.c. This allows external callers to determine the appropriate >> partition driver f

Re: [PATCH 1/4] usb: musb: Remove reference to drivers/usb/musb

2025-09-25 Thread Tom Rini
On Thu, Sep 25, 2025 at 10:53:51PM +0200, Marek Vasut wrote: > On 9/25/25 10:42 PM, Tom Rini wrote: > > With this directory removed, remove the reference to it in the list of > > directories to traverse. > > > > Signed-off-by: Tom Rini > > --- > > Cc: Peter Robinson > > Cc: Marek Vasut > > > >

Re: [PATCH] usb: dwc3: Remove redundant test

2025-09-25 Thread Marek Vasut
On 9/25/25 3:20 PM, Andrew Goodbody wrote: In dwc3_ep0_complete_data there is a test for 'r' being null and the code will return at that point if so. After that point 'r' is guaranteed to not be null and testing for that is redundant. Remove the test for 'r' being non-null. This issue was found

Re: [PATCH 1/4] usb: musb: Remove reference to drivers/usb/musb

2025-09-25 Thread Marek Vasut
On 9/25/25 10:42 PM, Tom Rini wrote: With this directory removed, remove the reference to it in the list of directories to traverse. Signed-off-by: Tom Rini --- Cc: Peter Robinson Cc: Marek Vasut Marek, can you perhaps please fold this in to Peter's 3/3 on musb removals? Thanks. Which patch

Re: [PATCH v2 0/7] mkimage: Detect FIT image load address overlaps and fix related test/DTS issues

2025-09-25 Thread Bryan Brattlof
On September 25, 2025 thus sayeth Aristo Chen: > Aristo Chen 於 2025年9月24日 週三 下午10:33寫道: > > > > Nishanth Menon 於 2025年9月24日 週三 下午10:05寫道: > > > > > > On 07:51-20250924, Tom Rini wrote: > > > > On Wed, Sep 24, 2025 at 06:31:23AM -0700, E Shattow wrote: > > > > > Hi Aristo, > > > > > > > > > > On 9

Re: [PATCH v7 2/5] bootstd: select BLK rather than depending on it

2025-09-25 Thread Stefan Roese
Hi Simon, glad to "hear" something from you again. ;) ... On 9/25/25 02:23, Simon Glass wrote: From: Simon Glass With recent changes to how BLK works, we must use 'select' to enable the BLK feature, which is currently required by BOOTSTD. This fixes the following error: GEN Makefi

Re: [PATCH v6 1/2] part: Export part_driver_lookup_type for external use

2025-09-25 Thread Tom Rini
On Thu, Sep 25, 2025 at 09:20:53AM +0300, Ilias Apalodimas wrote: > Hi Javier, > > On Thu, 25 Sept 2025 at 02:31, Javier Tia wrote: > > > > Make part_driver_lookup_type non-static so it can be used outside > > part.c. This allows external callers to determine the appropriate > > partition driver

Re: [PATCH] usb: dwc3: Remove redundant test

2025-09-25 Thread Andrew Goodbody
On 25/09/2025 14:56, Marek Vasut wrote: On 9/25/25 3:20 PM, Andrew Goodbody wrote: In dwc3_ep0_complete_data there is a test for 'r' being null and the code will return at that point if so. After that point 'r' is guaranteed to not be null and testing for that is redundant. Remove the test for '

Re: [PATCH] usb: fsl-dt-fixup: Return an error code on error

2025-09-25 Thread Marek Vasut
On 9/25/25 1:56 PM, Andrew Goodbody wrote: fsl_fdt_fixup_usb_erratum uses strcmp to detect an error but then returns 'err' without it being set to an error. Calling code may not detect that an error occurred leading to a silent failure. Instead just return -EINVAL. This issue was found by Smatch

Re: [PATCH] Revert "riscv: Add a Zalrsc-only alternative for synchronization in start.S"

2025-09-25 Thread E Shattow
On 9/25/25 09:01, Yao Zi wrote: > This reverts commit a681cfecb4346107212f377e2075f6eb1bdc6a2b. > > It has been reported that the commit causes boot regression for SPL on > StarFive VisionFive 2 or compatible boards. Inspecting the code, I did > spot one logic error for deciding whether Zaamo o

Re: [PATCH 2/3] am33xx: am3517 evm: Drop old musb AM35X driver

2025-09-25 Thread Tom Rini
On Sun, Jun 29, 2025 at 08:54:47PM +0100, Peter Robinson wrote: > The USB_AM35X is a legacy driver with one remaining user. The rest > of the am33xx devices use the USB_MUSB_TI driver for DM_USB so > move the last user USB_MUSB_TI which is the newer musb driver > So move to the newer driver so we

Re: [PATCH v2 0/7] mkimage: Detect FIT image load address overlaps and fix related test/DTS issues

2025-09-25 Thread E Shattow
On 9/25/25 06:49, Aristo Chen wrote: > Aristo Chen 於 2025年9月24日 週三 下午10:33寫道: >> >> Nishanth Menon 於 2025年9月24日 週三 下午10:05寫道: >>> >>> On 07:51-20250924, Tom Rini wrote: On Wed, Sep 24, 2025 at 06:31:23AM -0700, E Shattow wrote: > Hi Aristo, > > On 9/24/25 04:43, Nishanth Menon

Re: [PATCH 5/6] power: regulator: tps65910: Cannot test unsigned for being negative

2025-09-25 Thread Andrew Goodbody
On 25/09/2025 15:32, Tom Rini wrote: On Thu, Sep 25, 2025 at 12:11:14PM +0100, Andrew Goodbody wrote: On 01/09/2025 17:58, Frieder Schrempf wrote: Hi Andrew, Am 01.09.25 um 18:26 schrieb Andrew Goodbody: On 27/08/2025 08:54, Frieder Schrempf wrote: Am 07.08.25 um 18:35 schrieb Andrew Goodbod

Re: [PATCH 5/6] power: regulator: tps65910: Cannot test unsigned for being negative

2025-09-25 Thread Tom Rini
On Thu, Sep 25, 2025 at 12:11:14PM +0100, Andrew Goodbody wrote: > On 01/09/2025 17:58, Frieder Schrempf wrote: > > Hi Andrew, > > > > Am 01.09.25 um 18:26 schrieb Andrew Goodbody: > > > On 27/08/2025 08:54, Frieder Schrempf wrote: > > > > Am 07.08.25 um 18:35 schrieb Andrew Goodbody: > > > > > Th

Re: am335x: NAND boot problem using the legacy u-boot.img

2025-09-25 Thread Tom Rini
On Thu, Sep 25, 2025 at 08:09:05AM +0200, Yegor Yefremov wrote: > Hi Tom, > > On Wed, Sep 24, 2025 at 4:14 PM Tom Rini wrote: > > > > On Wed, Sep 24, 2025 at 11:09:16AM +0200, Yegor Yefremov wrote: > > > > > HI all, > > > > > > trying to boot using the latest master, I get the following error: >

Re: [PATCH] Revert "tools: mkimage: detect overlapping load regions in FIT configurations"

2025-09-25 Thread Tom Rini
On Thu, Sep 25, 2025 at 04:13:52PM +0200, Marek Vasut wrote: > On 9/25/25 4:08 PM, Tom Rini wrote: > > On Thu, Sep 25, 2025 at 03:41:43PM +0200, Marek Vasut wrote: > > > > > This reverts commit 588094f2c8ec9a4f7d2dcda11ffae8db8462149c. > > > > > > This introduces warnings on valid fitImages which

Re: [PATCH] Revert "tools: mkimage: detect overlapping load regions in FIT configurations"

2025-09-25 Thread Marek Vasut
On 9/25/25 4:08 PM, Tom Rini wrote: On Thu, Sep 25, 2025 at 03:41:43PM +0200, Marek Vasut wrote: This reverts commit 588094f2c8ec9a4f7d2dcda11ffae8db8462149c. This introduces warnings on valid fitImages which do not set load address for fdt-1 DT node. This is valid, because DT can be loaded to

Re: [PATCH] usb: dwc3: Remove redundant test

2025-09-25 Thread Marek Vasut
On 9/25/25 4:07 PM, Andrew Goodbody wrote: On 25/09/2025 14:56, Marek Vasut wrote: On 9/25/25 3:20 PM, Andrew Goodbody wrote: In dwc3_ep0_complete_data there is a test for 'r' being null and the code will return at that point if so. After that point 'r' is guaranteed to not be null and testing

Re: [PATCH v2 0/7] mkimage: Detect FIT image load address overlaps and fix related test/DTS issues

2025-09-25 Thread Aristo Chen
Aristo Chen 於 2025年9月24日 週三 下午10:33寫道: > > Nishanth Menon 於 2025年9月24日 週三 下午10:05寫道: > > > > On 07:51-20250924, Tom Rini wrote: > > > On Wed, Sep 24, 2025 at 06:31:23AM -0700, E Shattow wrote: > > > > Hi Aristo, > > > > > > > > On 9/24/25 04:43, Nishanth Menon wrote: > > > > > On 06:37-20250924,

Re: [PATCH] Revert "tools: mkimage: detect overlapping load regions in FIT configurations"

2025-09-25 Thread Tom Rini
On Thu, Sep 25, 2025 at 03:41:43PM +0200, Marek Vasut wrote: > This reverts commit 588094f2c8ec9a4f7d2dcda11ffae8db8462149c. > > This introduces warnings on valid fitImages which do not set load > address for fdt-1 DT node. This is valid, because DT can be loaded > to suitable location as determi

Re: [PATCH 5/6] power: regulator: tps65910: Cannot test unsigned for being negative

2025-09-25 Thread Andrew Goodbody
On 01/09/2025 17:58, Frieder Schrempf wrote: Hi Andrew, Am 01.09.25 um 18:26 schrieb Andrew Goodbody: On 27/08/2025 08:54, Frieder Schrempf wrote: Am 07.08.25 um 18:35 schrieb Andrew Goodbody: The code in tps65910_regulator.c treats the field supply in struct tps65910_regulator_pdata as an in

RE: [PATCH v4 3/4] configs: Increase USB Hub debounce timeout in Agilex5

2025-09-25 Thread Chee, Tien Fong
> -Original Message- > From: Ravulapalli, Naresh Kumar > Sent: Wednesday, 24 September, 2025 3:49 PM > To: u-boot@lists.denx.de > Cc: Chee, Tien Fong ; Marek Vasut > ; Simon Goldschmidt > ; Tom Rini ; > Ravulapalli, Naresh Kumar > Subject: [PATCH v4 3/4] configs: Increase USB Hub debou

Re: am335x: NAND boot problem using the legacy u-boot.img

2025-09-24 Thread Yegor Yefremov
Hi Tom, On Wed, Sep 24, 2025 at 4:14 PM Tom Rini wrote: > > On Wed, Sep 24, 2025 at 11:09:16AM +0200, Yegor Yefremov wrote: > > > HI all, > > > > trying to boot using the latest master, I get the following error: > > > > U-Boot SPL 2025.10-rc4 (Sep 23 2025 - 16:45:07 +0200) > > Trying to boot fro

Re: [PATCH v6 1/2] part: Export part_driver_lookup_type for external use

2025-09-24 Thread Ilias Apalodimas
Hi Javier, On Thu, 25 Sept 2025 at 02:31, Javier Tia wrote: > > Make part_driver_lookup_type non-static so it can be used outside > part.c. This allows external callers to determine the appropriate > partition driver for a block device, enabling more flexible handling of > partition types. > > Ad

Re: Bootstd for sunxi

2025-09-24 Thread Tom Rini
On Wed, Sep 24, 2025 at 06:34:53PM -0600, Simon Glass wrote: > Hi Tom, > > On Wed, 24 Sept 2025 at 10:34, Tom Rini wrote: > > > > On Wed, Sep 24, 2025 at 10:28:45AM -0600, Simon Glass wrote: > > > > > Hi, > > > > > > After the discussion on the call this week and Andre's suggestion of > > > putti

Re: [PATCH v1] doc: board: ti: am335x_evm: Add documentation

2025-09-24 Thread Sidharth Seela
On Wed, Sep 10, 2025 at 11:44 PM Tom Rini wrote: > I've assigned it to Heinrich in patchwork and he'll review it soon. I was hoping to get an update regarding the patch, if possible. -- Thanks, Sidharth Seela www.realtimedesign.org https://sidharth-458.github.io

Re: [PATCH] android: boot: fix wrong end of header in v3/v4 parsing

2025-09-24 Thread Tom Rini
On Thu, 11 Sep 2025 15:50:26 +0200, Guillaume Ranquet wrote: > The android boot header is page aligned but the current code made the > assumption that the header was always smaller than the current header > format. > > When the page_size is defined as 2048, as this is the case with the > cuttlefi

Re: [GIT,PULL] u-boot-riscv/next

2025-09-24 Thread E Shattow
On 9/24/25 19:07, E Shattow wrote: > Hi Tom, Leo, and Yao, > > On 9/20/25 10:47, Tom Rini wrote: >> On Sat, 20 Sep 2025 18:20:01 +0800, Leo Liang wrote: >> >>> The following changes since commit a209627ed7921f40669f5c0795570d40e77e4cb7: >>> >>> Merge patch series "board: dhelectronics: Check p

RE: [PATCH v4 1/4] arch: arm: dts: Enable USB3.1 for Agilex5

2025-09-24 Thread Chee, Tien Fong
> -Original Message- > From: Ravulapalli, Naresh Kumar > Sent: Wednesday, 24 September, 2025 3:49 PM > To: u-boot@lists.denx.de > Cc: Chee, Tien Fong ; Marek Vasut > ; Simon Goldschmidt > ; Tom Rini ; > Ravulapalli, Naresh Kumar > Subject: [PATCH v4 1/4] arch: arm: dts: Enable USB3.1 f

RE: [PATCH v1] arm: socfpga: mailbox: Remove CONFIG_CADENCE_QSPI guard from QSPI mailbox API declarations

2025-09-24 Thread Chee, Tien Fong
> -Original Message- > From: Yuslaimi, Alif Zakuan > Sent: Tuesday, 23 September, 2025 9:32 AM > To: u-boot@lists.denx.de > Cc: Marek Vasut ; Simon Goldschmidt > ; Chee, Tien Fong > ; Tom Rini ; Ng, Boon Khai > ; Yuslaimi, Alif Zakuan > > Subject: [PATCH v1] arm: socfpga: mailbox: Remo

RE: [PATCH v4 2/4] configs: Enable USB DWC3 host drivers for Agilex5

2025-09-24 Thread Chee, Tien Fong
> -Original Message- > From: Ravulapalli, Naresh Kumar > Sent: Wednesday, 24 September, 2025 3:49 PM > To: u-boot@lists.denx.de > Cc: Chee, Tien Fong ; Marek Vasut > ; Simon Goldschmidt > ; Tom Rini ; > Ravulapalli, Naresh Kumar > Subject: [PATCH v4 2/4] configs: Enable USB DWC3 host d

Re: Bootstd for sunxi

2025-09-24 Thread Simon Glass
Hi Tom, On Wed, 24 Sept 2025 at 10:34, Tom Rini wrote: > > On Wed, Sep 24, 2025 at 10:28:45AM -0600, Simon Glass wrote: > > > Hi, > > > > After the discussion on the call this week and Andre's suggestion of > > putting FEL as the first global boothmeth, I took a look this morning. > > > > I creat

Re: [PATCH] sandbox: use env_get() for time offset instead of getenv()

2025-09-24 Thread Tom Rini
On Sun, 14 Sep 2025 17:27:27 +0200, Osama Abdelkader wrote: > The sandbox time offset is intended to be controlled via the U-Boot > environment, not the host process environment. Update os_get_time_offset() > to use env_get() instead of the libc getenv(). > > Leave other getenv() uses (e.g. U_BOO

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

2025-09-24 Thread Simon Glass
use fiptool to update the contents of a file here? And > > > > > build > > > > > as much as possible in the Dockerfile, like we do for vexpress? > > > > > > > > > Sorry I am not quite clear about how it was done for fvp, maybe I > > >

Re: [PATCH] imls: remove return parentheses

2025-09-24 Thread Tom Rini
On Sun, 14 Sep 2025 17:27:51 +0200, Osama Abdelkader wrote: > return is not a function, parentheses are not required > > Applied to u-boot/next, thanks! [1/1] imls: remove return parentheses commit: 5d0b813d6e4749da2cc8672216ea0f5b9b1b350f -- Tom

Re: Bootstd for sunxi

2025-09-24 Thread Tom Rini
On Wed, Sep 24, 2025 at 10:28:45AM -0600, Simon Glass wrote: > Hi, > > After the discussion on the call this week and Andre's suggestion of > putting FEL as the first global boothmeth, I took a look this morning. > > I created a new v7 series without the 'efi_loader: bootstd: Drop > bootmgr for

Re: [PATCH v2] power: regulator: Fix incorrect use of binary and

2025-09-24 Thread Peng Fan (OSS)
From: Peng Fan On Mon, 01 Sep 2025 16:00:46 +0100, Andrew Goodbody wrote: > In regulator_list_autoset there is a test for ret being non-zero and > error being zero but it uses the binary '&' instead of the logical '&&' > which could well lead to unexpected results. Correct this to use the > logi

Re: [PATCH v2 0/7] mkimage: Detect FIT image load address overlaps and fix related test/DTS issues

2025-09-24 Thread Aristo Chen
Nishanth Menon 於 2025年9月24日 週三 下午10:05寫道: > > On 07:51-20250924, Tom Rini wrote: > > On Wed, Sep 24, 2025 at 06:31:23AM -0700, E Shattow wrote: > > > Hi Aristo, > > > > > > On 9/24/25 04:43, Nishanth Menon wrote: > > > > On 06:37-20250924, Nishanth Menon wrote: > > > >> On 10:59-20250914, Aristo C

Re: [PATCH v2 2/8] spl: Kconfig: allow K3 devices to use falcon mode

2025-09-24 Thread Andrew Davis
On 9/24/25 7:55 AM, Anshul Dalal wrote: On Tue Sep 23, 2025 at 9:48 PM IST, Andrew Davis wrote: On 9/23/25 8:08 AM, Anshul Dalal wrote: Falcon mode was disabled for TI_SECURE_DEVICE at commit e95b9b4437bc ("ti_armv7_common: Disable Falcon Mode on HS devices") for older 32-bit HS devices and but

Re: [PATCH v2 0/7] mkimage: Detect FIT image load address overlaps and fix related test/DTS issues

2025-09-24 Thread Nishanth Menon
On 07:51-20250924, Tom Rini wrote: > On Wed, Sep 24, 2025 at 06:31:23AM -0700, E Shattow wrote: > > Hi Aristo, > > > > On 9/24/25 04:43, Nishanth Menon wrote: > > > On 06:37-20250924, Nishanth Menon wrote: > > >> On 10:59-20250914, Aristo Chen wrote: > > >>> This patch series enhances FIT image ro

Re: [PATCH v2 0/7] mkimage: Detect FIT image load address overlaps and fix related test/DTS issues

2025-09-24 Thread E Shattow
Hi Aristo, On 9/24/25 04:43, Nishanth Menon wrote: > On 06:37-20250924, Nishanth Menon wrote: >> On 10:59-20250914, Aristo Chen wrote: >>> This patch series enhances FIT image robustness by adding **memory >>> region overlap detection** to `mkimage` and fixing existing overlaps >>> in DTS files an

Re: [PATCH v2 2/8] spl: Kconfig: allow K3 devices to use falcon mode

2025-09-24 Thread Anshul Dalal
On Tue Sep 23, 2025 at 9:48 PM IST, Andrew Davis wrote: > On 9/23/25 8:08 AM, Anshul Dalal wrote: >> Falcon mode was disabled for TI_SECURE_DEVICE at commit e95b9b4437bc >> ("ti_armv7_common: Disable Falcon Mode on HS devices") for older 32-bit >> HS devices and but can now be enabled with the addi

Re: [PATCH v2 7/7] doc: binman: Add guidance for determining ELF load addresses

2025-09-24 Thread Jonas Karlman
Hi, On 9/14/2025 12:59 PM, Aristo Chen wrote: > Add documentation to help users understand how to determine where ELF > files will be loaded when using binman's 'fit,load' property. This > addresses the common confusion about how load addresses are determined > from ELF files. > > The documentati

Re: [PATCH v2 0/7] mkimage: Detect FIT image load address overlaps and fix related test/DTS issues

2025-09-24 Thread Nishanth Menon
On 10:59-20250914, Aristo Chen wrote: > This patch series enhances FIT image robustness by adding **memory > region overlap detection** to `mkimage` and fixing existing overlaps > in DTS files and `binman` tests. > > The primary goal is to prevent runtime memory corruption from > conflicting load

Re: [PATCH v2 0/7] mkimage: Detect FIT image load address overlaps and fix related test/DTS issues

2025-09-24 Thread Nishanth Menon
On 06:37-20250924, Nishanth Menon wrote: > On 10:59-20250914, Aristo Chen wrote: > > This patch series enhances FIT image robustness by adding **memory > > region overlap detection** to `mkimage` and fixing existing overlaps > > in DTS files and `binman` tests. [...] > > > > Looks like i see a b

Re: [PATCH v2 0/7] mkimage: Detect FIT image load address overlaps and fix related test/DTS issues

2025-09-23 Thread Neha Malcom Francis
Hi Tom On 24/09/25 05:58, Tom Rini wrote: > On Sun, 14 Sep 2025 10:59:25 +, Aristo Chen wrote: > >> This patch series enhances FIT image robustness by adding **memory >> region overlap detection** to `mkimage` and fixing existing overlaps >> in DTS files and `binman` tests. >> >> The primary

Re: [PATCH] MAINTAINERS: Add myself into the list for MbedTLS

2025-09-23 Thread Tom Rini
On Fri, 19 Sep 2025 14:04:51 -0700, Raymond Mao wrote: > Add myself into the list for MbedTLS. > > Applied to u-boot/master, thanks! [1/1] MAINTAINERS: Add myself into the list for MbedTLS commit: d3074f3d699d188bbeb68feacc473d8bc53ce762 -- Tom

Re: [PATCH] MAINTAINERS: Update Luka Perkov's roles

2025-09-23 Thread Tom Rini
On Mon, 15 Sep 2025 15:01:09 -0600, Tom Rini wrote: > Per a private email, drop Luka Perkov from MAINTAINERS entries. > > Applied to u-boot/master, thanks! [1/1] MAINTAINERS: Update Luka Perkov's roles commit: a6caca94fc77dbe1db9484915241f77909aa43e3 -- Tom

Re: [PATCH v2 0/7] mkimage: Detect FIT image load address overlaps and fix related test/DTS issues

2025-09-23 Thread Tom Rini
On Sun, 14 Sep 2025 10:59:25 +, Aristo Chen wrote: > This patch series enhances FIT image robustness by adding **memory > region overlap detection** to `mkimage` and fixing existing overlaps > in DTS files and `binman` tests. > > The primary goal is to prevent runtime memory corruption from >

Re: [PATCH v2] doc: Update mentions of README.fdt-control

2025-09-23 Thread E Shattow
On 9/23/25 05:14, Quentin Schulz wrote: > Hi E, > > On 9/17/25 3:17 AM, E Shattow wrote: >> Update documents 'README.fdt-control' reference to replacement >> 'control.rst': >>    doc/arch/nios2.rst >>    dts/Makefile >> >> Also convert some adjacent pathname mentions to rST links where >> appli

Re: [PATCH v3] env: spi: Fix gd->env_valid for the first write

2025-09-23 Thread E Shattow
On 9/22/25 11:47, Marek Vasut wrote: > On 9/22/25 6:03 PM, Michal Simek wrote: >> When both SPI environment locations are invalid (gd->env_valid == >> ENV_INVALID), the first call to saveenv writes to the primary location >> and >> sets the active flag. However, the logic for updating gd->env_val

Re: [PATCH v2] env: spi: Fix gd->env_valid for the first write

2025-09-23 Thread E Shattow
On 9/22/25 07:51, Marek Vasut wrote: > On 9/22/25 4:02 PM, Michal Simek wrote: >> >> >> On 9/11/25 07:40, Michal Simek wrote: >>> >>> >>> On 9/11/25 05:28, Marek Vasut wrote: On 9/10/25 9:26 AM, Michal Simek wrote: > In case of ENV_INVALID (uninitialized variables) the first env > l

Re: [PATCH 4/4] test: Deal with the silent menu in grub

2025-09-23 Thread Simon Glass
Hi, Sorry for the noise, please ignore this patch. Regards, SImon On Tue, 23 Sept 2025 at 12:31, Simon Glass wrote: > > From: Simon Glass > > The distro test for EFI in the EFI ARM app is currently flaky. > > If the test does not send an 'escape' character, then the board may boot > straight

Re: [PATCH 1/4] colibri-imx8x: Increase the boot delay

2025-09-23 Thread Simon Glass
Hi, Sorry for the noise, please ignore this patch. Regards, SImon On Tue, 23 Sept 2025 at 12:31, Simon Glass wrote: > > From: Simon Glass > > A delay of one second makes it hard for the lab to interrupt boot, thus > causing test failures. Increase it to 5s > > Signed-off-by: Simon Glass > --

Re: [PATCH v2 2/8] spl: Kconfig: allow K3 devices to use falcon mode

2025-09-23 Thread Andrew Davis
On 9/23/25 8:08 AM, Anshul Dalal wrote: Falcon mode was disabled for TI_SECURE_DEVICE at commit e95b9b4437bc ("ti_armv7_common: Disable Falcon Mode on HS devices") for older 32-bit HS devices and but can now be enabled with the addition of OS_BOOT_SECURE. For secure boot, the kernel with x509 he

Re: [PATCH] crypto/rng: double the entropy delay interval for retry

2025-09-23 Thread Peng Fan
Hi Gaurav, On Fri, Sep 05, 2025 at 03:03:48PM +0530, Gaurav Jain wrote: >during entropy evaluation, if the generated samples fail >any statistical test, then, all of the bits will be discarded, >and a second set of samples will be generated and tested. > >the entropy delay interval should be doubl

Re: [PATCH v2] board: rzg2l: Check the DTB pointer passed by the TF-A.

2025-09-23 Thread Hugo Villeneuve
Hi Mathieu, thanks for the patch, I have been wondering why the latest U-Boot didn't work for the renesas EVK. Note: remove the trailing dot from all your commit messages. On Mon, 22 Sep 2025 18:29:00 +0200 Mathieu Othacehe wrote: > On the RZG2L platform, the advised > TF-A (https://github.com/

Re: [PATCH v2] power: regulator: Fix incorrect use of binary and

2025-09-23 Thread Peng Fan
On Mon, Sep 01, 2025 at 04:00:46PM +0100, Andrew Goodbody wrote: >In regulator_list_autoset there is a test for ret being non-zero and >error being zero but it uses the binary '&' instead of the logical '&&' >which could well lead to unexpected results. Correct this to use the >logical '&&' instead

Re: [PATCH v2] doc: Update mentions of README.fdt-control

2025-09-23 Thread Quentin Schulz
Hi E, On 9/17/25 3:17 AM, E Shattow wrote: Update documents 'README.fdt-control' reference to replacement 'control.rst': doc/arch/nios2.rst dts/Makefile Also convert some adjacent pathname mentions to rST links where applicable Fixes: 3e9fddfc4f14 "doc: Move devicetree control doc to rST

Re: [PATCH] cmd/dma: fix generic naming, spacing, and Dependencies

2025-09-23 Thread Quentin Schulz
Hi Brian, The git commit title doesn't seem related to the actual content of the patch? On 9/13/25 6:39 PM, briansune wrote: [You don't often get email from brians...@gmail.com. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ] This adds a new U-Boot command 'c

Re: [PATCH 1/4] net: phy: aquantia: switch to use phy_get_ofnode()

2025-09-23 Thread Beiyan Yun
Please refer to resent series at https://lists.denx.de/pipermail/u-boot/2025-September/598941.html > On 23 Sep 2025, at 3:20 AM, Beiyan Yun wrote: > > Use PHY API phy_get_ofnode() helper to get PHY DT node. > > Signed-off-by: Beiyan Yun > --- > > drivers/net/phy/aquantia.c | 2 +- > 1 file ch

Re: [PATCH 0/4] net: phy: aquantia: Switch to generic firmware loader

2025-09-23 Thread Beiyan Yun
Please refer to resent series at: https://lists.denx.de/pipermail/u-boot/2025-September/598941.html > On 23 Sep 2025, at 3:20 AM, Beiyan Yun wrote: > > > Hi, > > This patch series refactors the Aquantia PHY firmware loader to use > the generic fsloader framework. > > The existing loader is l

Re: [PATCH] MAINTAINERS: Add myself into the list for MbedTLS

2025-09-22 Thread Ilias Apalodimas
On Sat, 20 Sept 2025 at 00:05, Raymond Mao wrote: > > Add myself into the list for MbedTLS. > > Signed-off-by: Raymond Mao > --- > MAINTAINERS | 5 + > 1 file changed, 5 insertions(+) > > diff --git a/MAINTAINERS b/MAINTAINERS > index 3fb163aa1db..cbb1d9c3e77 100644 > --- a/MAINTAINERS > +++

Re: [PATCH 3/4] spi: nxp_fspi: Support i.MX8DXL flexspi

2025-09-22 Thread Ye Li
On 9/23/2025 10:14 AM, Fabio Estevam wrote: On Mon, Sep 22, 2025 at 8:12 AM Ye Li wrote: Due to a errata on i.MX8DXL flexspi, we can't use AHB read, only can Is this erratum public? If so, please add a reference to it. It is a errata ERR050601 for 8DXL A1 silicon. Latest B0 silicon has it

Re: [PATCH] usb: musb-new: fix typos

2025-09-22 Thread Marek Vasut
On 9/22/25 4:12 PM, yegorsli...@googlemail.com wrote: From: Yegor Yefremov Typos found via codespell utility. Signed-off-by: Yegor Yefremov Reviewed-by: Marek Vasut Thanks !

Re: [PATCH] linux/kernel.h: Update upper_NN_bits() and lower_NN_bits() macros

2025-09-22 Thread Tom Rini
On Mon, Sep 22, 2025 at 02:29:22PM +0200, Marek Vasut wrote: > Synchronize upper_NN_bits() and lower_NN_bits() macros with Linux 6.16.7 > commit 118d777c4cb4 ("wordpart.h: Add REPEAT_BYTE_U32()"). This fixes the > lower_32_bits() macros and assures it works with 64bit systems correctly. > This als

Re: [PATCH] imx8ulp_evk: Fix ELE FW version print bug

2025-09-22 Thread Fabio Estevam
On Fri, Sep 19, 2025 at 3:59 AM Ye Li wrote: > > According to latest ELE Get FW version API, the FW version word is defined > as below. The patch version only has 4 bits and minor version has 12 bits. > However, the codes use 8 bits for patch version and minor version. Add the > patch to fix the i

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

2025-09-22 Thread Tom Rini
t > > > Dokerfile and generate a fip.bin without BL33? But then who will > > > assemble BL1+fip+u-boot? by test hooks? > > > > So for FVP, in the Dockerfile we say BL33=/dev/null and this gets > > packaged correctly. Then in u-boot-test-hooks we have bin/flash.fiptool > > which will update "fip" with the just-built u-boot.bin. The logic: > > # If we have TF-A binaries, we need to use them. > > - if [[ -d /opt/tf-a/"${TEST_PY_BD}" ]]; then > > cp /opt/tf-a/"${TEST_PY_BD}"/fip.bin > > /opt/tf-a/"${TEST_PY_BD}"/bl1.bin /tmp/; > > export fip=/tmp/fip.bin; > > export bl1=/tmp/bl1.bin; > > export PATH=/opt/Base_RevC_AEMvA_pkg/models/Linux64_GCC-9.3:${PATH}; > > fi > > > > Is how we know what bl1.bin and fip.bin to use as the base. > > > > After looking deeper into this, I think we have to pass BL33 when TF-A > is being built, instead of appending the fip via fiptool later, since > in the added pytest we are going to test eventlog handoff that > enabling MEASURED_BOOT is required. > But when MEASURED_BOOT=1 (as well as TRUSTED_BOARD_BOOT=1 and > GENERATE_COT=1), the TF-A build system performs firmware measurement, > signing, and trust chain generation at build time, based on the actual > contents of each firmware image, including BL33. > > If a post-buildman script here is not acceptable we have to find > another way, but first of all we cannot build TF-A in the dockerfile > missing specifying the BL33. Interesting. So TF-A doesn't have tooling for replacing and re-measuring, and instead you have to re-run make? -- Tom signature.asc Description: PGP signature

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

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

Re: [PATCH v3] env: spi: Fix gd->env_valid for the first write

2025-09-22 Thread Marek Vasut
On 9/22/25 6:03 PM, Michal Simek wrote: When both SPI environment locations are invalid (gd->env_valid == ENV_INVALID), the first call to saveenv writes to the primary location and sets the active flag. However, the logic for updating gd->env_valid incorrectly sets it to ENV_REDUND, which does no

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

2025-09-22 Thread Tom Rini
On Mon, 22 Sep 2025 11:13:35 -0300, Fabio Estevam wrote: > Please pull from u-boot-imx/master, thanks. > > The following changes since commit d33b21b7e261691e8d6613a24cc9b0ececba3b01: > > ARM: Remove mistyped GICV3 definition from ARCH_SYNQUACER (2025-09-20 > 12:02:58 -0600) > > are availabl

Re: [PATCH v2] board: rzg2l: Check the DTB pointer passed by the TF-A.

2025-09-22 Thread Marek Vasut
On 9/22/25 6:29 PM, Mathieu Othacehe wrote: On the RZG2L platform, the advised TF-A (https://github.com/renesas-rz/rzg_trusted-firmware-a/tree/v2.5/rzg2l) does not pass any DTB blob to U-Boot. On the other hand, the RZG2L part of U-Boot expects a DTB to be passed. It means that if one flashes t

Re: [PATCH] board: rzg2l: Do not expect a DTB blob from the TF-A.

2025-09-22 Thread Mathieu Othacehe
Hello Marek, > Until then, I think check for params that are passed in being 0 is the right > future-proof fix. OK makes sense, I reworked the proposed patch and sent a v2 that only checks for NULL pointers. Thanks, Mathieu

  1   2   3   4   5   6   7   8   9   10   >