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

2025-03-10 Thread Marek Vasut
On 3/11/25 12:32 AM, Tom Rini wrote: Hey all, Hi, So it's release day and I have tagged and pushed things out. This will be merged to -next shortly. Continuing on with what I started after the -rc1 release, we had a call today and the link was https://calendar.google.com/calendar/event May

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

2025-03-10 Thread Tom Rini
On Tue, Mar 11, 2025 at 01:44:03AM +0100, Marek Vasut wrote: > On 3/11/25 12:32 AM, Tom Rini wrote: > > Hey all, > > Hi, > > > So it's release day and I have tagged and pushed things out. This will > > be merged to -next shortly. > > > > Continuing on with what I started after the -rc1 release,

Fwd: New Defects reported by Coverity Scan for Das U-Boot

2025-03-10 Thread Tom Rini
Here's the latest report. -- Forwarded message - From: Date: Mon, Mar 10, 2025 at 5:43 PM Subject: New Defects reported by Coverity Scan for Das U-Boot To: Hi, Please find the latest report on new defect(s) introduced to Das U-Boot found with Coverity Scan. 1 new defect(s) in

Re: [PATCH v2 4/6] net: lwip: add support for built-in root certificates

2025-03-10 Thread Jerome Forissier
On 3/10/25 13:38, Ilias Apalodimas wrote: > On Mon, 10 Mar 2025 at 14:13, Jerome Forissier > wrote: >> >> >> >> On 3/10/25 12:52, Ilias Apalodimas wrote: >>> Hi Jerome, >>> >>> [...] >>> >>> >> >> +#if CONFIG_IS_ENABLED(WGET_BUILTIN_CACERT) >> + cacert_initialized = true;

Re: [Uboot-stm32] [PATCH 1/5] dm: pwm: Check if duty_ns is lower than period_ns

2025-03-10 Thread Patrice CHOTARD
On 3/10/25 15:12, Cheick TRAORE wrote: > > On 3/10/25 13:35, Patrice CHOTARD wrote: >> >> On 3/10/25 11:00, Patrice CHOTARD wrote: >>> >>> On 3/6/25 15:13, Patrice CHOTARD wrote: On 3/6/25 11:56, Cheick Traore wrote: > It was possible to provide a duty_ns greater than period_ns to

Re: [PATCH v2 1/4] i2c: omap24xx_i2c: Remove unused CONFIG_I2C_REPEATED_START

2025-03-10 Thread Heiko Schocher
Hello Aniket, On 10.03.25 11:36, Aniket Limaye wrote: Remove unused piece of code under CONFIG_I2C_REPEATED_START which does not have any Kconfig entry at all. Signed-off-by: Aniket Limaye --- drivers/i2c/omap24xx_i2c.c | 10 +- 1 file changed, 1 insertion(+), 9 deletions(-) Thank

[PATCH v2 1/4] riscv: dt-binding: k1: Add reset driver binding definition.

2025-03-10 Thread Huan Zhou
Add dt-binding for reset driver. Signed-off-by: Huan Zhou --- include/dt-bindings/reset/spacemit-k1-reset.h | 118 ++ 1 file changed, 118 insertions(+) diff --git a/include/dt-bindings/reset/spacemit-k1-reset.h b/include/dt-bindings/reset/spacemit-k1-reset.h new file mo

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

2025-03-10 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 3/4] riscv: dts: k1: add reset controller node in device tree

2025-03-10 Thread Huan Zhou
Add reset-controller in k1 device tree. Signed-off-by: Huan Zhou --- arch/riscv/dts/k1.dtsi | 15 +++ 1 file changed, 15 insertions(+) diff --git a/arch/riscv/dts/k1.dtsi b/arch/riscv/dts/k1.dtsi index 514be453dbaf6713cdf4ad5a5d653488297ebb83..b3e3f81d4dfa6e64dd4a00625280e43b014a69

[PATCH] imx8m: soc: cope with existing optee node

2025-03-10 Thread Vincent Stehlé
On i.MX8M SoCs, the /firmware/optee Devicetree node is created just before booting the OS when OP-TEE is found running. If the node already exists, this results in an error, which prevents the OS to boot: Could not create optee node. ERROR: system-specific fdt fixup failed: FDT_ERR_EXISTS -

Re: Merge of v2025.04-rc4 in to next

2025-03-10 Thread Tom Rini
On Mon, Mar 10, 2025 at 05:46:51PM -0600, Tom Rini wrote: > Hey, > > Attempting to merge v2025.04-rc4 in to -next fails on two files. One of > which is common/miiphyutil.c and is easily solved (miiphy_init() goes > away) and then lib/efi_loader/efi_net.c. The latter I need help with, > ideally on

Re: [PATCH v2 3/4] i2c: omap24xx_i2c: support CONFIG for repeated start in DM_I2C xfer

2025-03-10 Thread Heiko Schocher
Hello Aniket, On 10.03.25 11:36, Aniket Limaye wrote: Repeated Start Condition (Sr) can be used to transfer multiple i2c msgs without sending a Stop condition (P). So far, the driver default was to always send a Stop condition after every i2c msg. Add support for a config option (CONFIG_SYS_I2C

[PATCH v2 2/4] riscv: reset: k1: Add reset driver

2025-03-10 Thread Huan Zhou
Add spacemit reset driver. Signed-off-by: Huan Zhou --- drivers/reset/Kconfig | 7 + drivers/reset/Makefile| 1 + drivers/reset/reset-spacemit-k1.c | 548 ++ 3 files changed, 556 insertions(+) diff --git a/drivers/reset/Kconfig b/d

[PATCH v2 0/4] Add k1 reset driver for bananapi-bpif3 platform.

2025-03-10 Thread Huan Zhou
Add device tree bindings and basic reset controller driver for the BananaPi F3 board.This initial implementation supports the core reset functionality. Changed in v2: - fixed checkpatch error/warning. - Links to v1: https://lore.kernel.org/u-boot/20250304-reset-k1-v1-0-dc9510ff1...@per1cycle.org

[PATCH v2] spi: cadence_ospi: Add device reset via OSPI controller

2025-03-10 Thread Venkatesh Yadav Abbarapu
Add support for flash device reset via OSPI controller instead of using GPIO, as OSPI IP has device reset feature on Versal Gen2 platform. Also add compatible string for Versal Gen2 platform. Signed-off-by: Venkatesh Yadav Abbarapu --- Changes in v2: - Fixed the compilation issue for phycore_am62

Re: [PATCH] cmd: version: Get information about GCC and LD back

2025-03-10 Thread Michal Simek
On 3/6/25 15:12, Michal Simek wrote: On 3/6/25 15:02, Tom Rini wrote: On Thu, Mar 06, 2025 at 11:12:30AM +0100, Michal Simek wrote: U-Boot version command is no longer showing information about GCC and LD. The reason is that version.h has been removed that's why CC_VERSION_STRING and LD_VE

Re: [PATCH v6 6/6] blkmap: pass information on ISO image to the OS

2025-03-10 Thread Sughosh Ganu
On Sun, 9 Mar 2025 at 14:29, Ilias Apalodimas wrote: > > HI Sughosh, > > [.,.] > > > +static int pmem_node_efi_memmap_setup(void *fdt, ulong addr, u32 size) > > +{ > > + int ret; > > + efi_status_t status; > > + > > + ret = fdt_fixup_pmem_region(fdt, addr, size); > > As we discus

Re: [PATCH 1/2] usb: gadget: Remove final remnants of CONFIG_USB_DEVICE

2025-03-10 Thread Mattijs Korpershoek
Hi, On Thu, 27 Feb 2025 14:51:00 -0600, Tom Rini wrote: > The lone user of the legacy USB device framework have been removed for > some time. Remove the final parts of the code that were missed. > > Thanks, Applied to https://source.denx.de/u-boot/custodians/u-boot-dfu (u-boot-dfu-next) [1/2]

Re: [PATCH v2 1/6] net: lwip: extend wget to support CA (root) certificates

2025-03-10 Thread Jerome Forissier
On 3/9/25 12:00, Ilias Apalodimas wrote: > On Sun, 9 Mar 2025 at 12:58, Ilias Apalodimas > wrote: >> >> Hi Jerome, Heinrich >> >> On Wed, 5 Mar 2025 at 17:13, Jerome Forissier >> wrote: >>> >>> Hi Heinrich, >>> >>> On 3/5/25 16:07, Heinrich Schuchardt wrote: On 05.03.25 15:26, Jerome Fori

Re: [PATCH] xilinx: versal: add firmware access to PMC multi Boot mode register

2025-03-10 Thread Michal Simek
On 3/5/25 14:48, Prasad Kummari wrote: Added extended support for retrieving the PMC muti boot mode register via the firmware interface, which is preferred when U-Boot runs in EL2 and cannot directly access PMC registers via raw reads. Ideally, all secure registers should be accessed via xilin

Re: [PATCH v2 4/6] net: lwip: add support for built-in root certificates

2025-03-10 Thread Jerome Forissier
Hi Ilias, On 3/9/25 12:33, Ilias Apalodimas wrote: > Hi Jerome > > On Wed, 5 Mar 2025 at 16:27, Jerome Forissier > wrote: >> > > [...] > >> @@ -304,28 +304,34 @@ static int set_auth(enum auth_mode auth) >> >> return CMD_RET_SUCCESS; >> } >> +#endif >> >> -static int set_cacert(char *

[RESEND PATCH 2/3] emulation: qemu-sbsa: Select SYS_PCI_64BIT

2025-03-10 Thread Patrick Rudolph
qemu's sbsa-ref is always using a 64bit CPU and the PCI prefetch MMIO window is located above 4GiB, thus always enable SYS_PCI_64BIT. Signed-off-by: Patrick Rudolph --- board/emulation/qemu-sbsa/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/board/emulation/qemu-sbsa/Kconfig b/boar

[PATCH v2 3/4] i2c: omap24xx_i2c: support CONFIG for repeated start in DM_I2C xfer

2025-03-10 Thread Aniket Limaye
Repeated Start Condition (Sr) can be used to transfer multiple i2c msgs without sending a Stop condition (P). So far, the driver default was to always send a Stop condition after every i2c msg. Add support for a config option (CONFIG_SYS_I2C_OMAP24XX_REPEATED_START) to disable sending the Stop con

[PATCH v2 1/4] i2c: omap24xx_i2c: Remove unused CONFIG_I2C_REPEATED_START

2025-03-10 Thread Aniket Limaye
Remove unused piece of code under CONFIG_I2C_REPEATED_START which does not have any Kconfig entry at all. Signed-off-by: Aniket Limaye --- drivers/i2c/omap24xx_i2c.c | 10 +- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/drivers/i2c/omap24xx_i2c.c b/drivers/i2c/omap24xx_i2

[PATCH v7 3/8] fdt: add support for adding pmem nodes

2025-03-10 Thread Sughosh Ganu
From: Masahisa Kojima One of the problems OS installers face, when running in EFI, is that the mounted ISO after calling ExitBootServices goes away. For some distros this is a problem since they rely on finding some core packages before continuing the installation. Distros have works around this

[PATCH v7 0/8] Add pmem node for preserving distro ISO's

2025-03-10 Thread Sughosh Ganu
When installing a distro via EFI HTTP boot some OS installers expect the .iso image to be preserved and treat it as a "CDROM" to install packages. This is problematic in EFI, since U-Boot mounts the image, starts the installer, and eventually calls ExitBootServices. At that point the image U-Boot

[PATCH v7 8/8] blkmap: pass information on ISO image to the OS

2025-03-10 Thread Sughosh Ganu
The EFI HTTP boot puts the ISO installer image at some location in memory. Information about this image has to be passed on to the OS kernel, which is done by adding a persistent memory(pmem) node to the devicetree(DT) that is passed to the OS. The OS kernel then gets information about the presence

[ANN] U-Boot v2025.04-rc4 released

2025-03-10 Thread Tom Rini
Hey all, So it's release day and I have tagged and pushed things out. This will be merged to -next shortly. Continuing on with what I started after the -rc1 release, we had a call today and the link was https://calendar.google.com/calendar/event?action=TEMPLATE&tmeid=N280N2tlcXE3aDVtbjlicnNkcm82Y

Re: [PATCH 12/12] test_fs: Add exfat tests

2025-03-10 Thread Marek Vasut
On 3/10/25 10:37 PM, Tom Rini wrote: On Mon, Mar 10, 2025 at 09:37:36PM +0100, Marek Vasut wrote: On 3/10/25 4:30 PM, Tom Rini wrote: On Sat, Mar 08, 2025 at 09:12:16PM +0100, Marek Vasut wrote: Add tests for the exfat filesystem. These tests are largely an extension of the FS_GENERIC tests wi

Re: [PATCH] ARM: stm32: Fix CONFIG_BOOTCOUNT_ALTBOOTCMD update on DH STM32MP1 DHSOM

2025-03-10 Thread Patrice CHOTARD
On 2/21/25 18:09, Tom Rini wrote: > On Fri, Feb 21, 2025 at 06:08:38PM +0100, Marek Vasut wrote: > >> The environment is missing closing quotes for string variable, but the >> variable is empty on this system, remove the CONFIG_BOOTCOUNT_ALTBOOTCMD >> assignment entirely. >> >> Fixes: 940135eea

Re: [PATCH v2 1/6] net: lwip: extend wget to support CA (root) certificates

2025-03-10 Thread Jerome Forissier
On 3/10/25 12:49, Ilias Apalodimas wrote: > [...] > > FWIW I think this still makes sense for peopke that don't want or can not add the cert in the u-boot binary, but can add a signed script to download it on the fly Reviewed-by: Ilias Apalodimas >>> >>> This

Re: [PATCH v2 4/6] net: lwip: add support for built-in root certificates

2025-03-10 Thread Jerome Forissier
On 3/10/25 12:52, Ilias Apalodimas wrote: > Hi Jerome, > > [...] > > +#if CONFIG_IS_ENABLED(WGET_BUILTIN_CACERT) + cacert_initialized = true; +#endif return CMD_RET_SUCCESS; } + +#if CONFIG_IS_ENABLED(WGET_BUILTIN_CACERT) +static int

Re: [PATCH v2 1/3] ARM: dts: stm32: drop "st,button1" compatible

2025-03-10 Thread Patrice CHOTARD
On 3/10/25 11:03, Patrice CHOTARD wrote: > > > On 2/25/25 10:52, Patrice CHOTARD wrote: >> >> >> On 2/24/25 19:39, Dario Binacchi wrote: >>> It is pointless to use the custom compatible "st,button1" when >>> stm32746g-eval.dts and stm32f769-disco.dts already contain the >>> "gpio-keys" compati

Re: [PATCH] ARM: dts: stm32: Add support for STM32MP13xx DHCOR SoM and DHSBC rev.200 board

2025-03-10 Thread Patrice CHOTARD
On 3/3/25 09:35, Patrice CHOTARD wrote: > > > On 3/2/25 16:43, Marek Vasut wrote: >> LDO2 is expansion connector supply on STM32MP13xx DHCOR DHSBC rev.200. >> LDO5 is carrier board supply on STM32MP13xx DHCOR DHSBC rev.200. Keep >> both regulators always enabled to make sure both the carrier b

Re: [PATCH 1/2] sunxi: h616: dram: Rework size detection

2025-03-10 Thread Icenowy Zheng
在 2025-03-09星期日的 07:31 +0100,Jernej Skrabec写道: > Since there is quite a few possible DRAM configurations in terms of > bus > width, rank and rows and columns count, size detection algorithm must > be > very careful not to test combination which would be bigger than H616 > is > actually capable of h

Re: [PATCH 08/12] fs: exfat: Fix conversion overflow errors

2025-03-10 Thread Quentin Schulz
Hi Marek, On 3/8/25 9:12 PM, Marek Vasut wrote: Fix the following conversion overflow errors. The input field is already limited to 3/2/1 bits using the bitwise and, move the parenthesis around to avoid the bogus warning: " fs/exfat/utf.c: In function ‘utf8_to_wchar’: fs/exfat/utf.c:165:23: war

Re: [PATCH 11/12] pytest: requirements.txt: Include setuptools

2025-03-10 Thread Tom Rini
On Mon, Mar 10, 2025 at 10:07:40PM +0100, Marek Vasut wrote: > On 3/10/25 2:55 PM, Tom Rini wrote: > > On Sat, Mar 08, 2025 at 09:12:15PM +0100, Marek Vasut wrote: > > > > > This seems to be needed for filesystem tests at least on > > > ubuntu 22.04 machines. Add setuptools into requirements.txt .

Re: [PATCH 12/12] test_fs: Add exfat tests

2025-03-10 Thread Tom Rini
On Mon, Mar 10, 2025 at 09:37:36PM +0100, Marek Vasut wrote: > On 3/10/25 4:30 PM, Tom Rini wrote: > > On Sat, Mar 08, 2025 at 09:12:16PM +0100, Marek Vasut wrote: > > > Add tests for the exfat filesystem. These tests are largely an > > > extension of the FS_GENERIC tests with the following notable

[PATCH] board: ti: am62px: rm-cfg: Add support for HC BCDMA

2025-03-10 Thread Vishal Mahaveer
The first 4 block copy channels and rings on AM62P support High Capacity Block Copy. These channels have approximately 3x improvement over the normal Block copy channels when doing DDR-to-DDR copy. Currently, during allocation these channels do not have a separate interface and are allocated with

Re: [PATCH 5/5] ARM: dts: stm32: Add TIMERS inverted PWM channel 3 on STM32MP135F-DK

2025-03-10 Thread Patrice CHOTARD
On 3/6/25 15:15, Patrice CHOTARD wrote: > > > On 3/6/25 11:56, Cheick Traore wrote: >> The pwm source TIM1_CH3N channel (on PE12) in inverted polarity mode >> will be used to manage the brightness of the panel backlight on >> STM32MP135F-DK. >> >> Signed-off-by: Cheick Traore >> --- >> >> ar

Re: [PATCH 2/5] mach-stm32: add multifunction timer driver support

2025-03-10 Thread Patrice CHOTARD
On 3/6/25 15:16, Patrice CHOTARD wrote: > > > On 3/6/25 11:56, Cheick Traore wrote: >> Add support for STM32MP timer multi-function driver. >> These timers can be use as counter, trigger or pwm generator. >> This driver will be used to manage the main resources of the timer to >> provide them

Re: [PATCH] configs: stm32f769-disco: Fix console cmdline

2025-03-10 Thread Patrice CHOTARD
On 2/11/25 17:49, Patrice CHOTARD wrote: > > > On 2/11/25 10:12, Linus Walleij wrote: >> The Linux cmdline encoded in the defconfig is wrong, the >> STM32 USART driver registers as ttySTM0 not ttyS0. >> >> Signed-off-by: Linus Walleij >> --- >> configs/stm32f769-disco_defconfig | 2 +- >> 1

Re: [PATCH] ARM: stm32mp: Fix dram_bank_mmu_setup() for ram_top=0

2025-03-10 Thread Patrice CHOTARD
On 3/10/25 09:24, Patrice CHOTARD wrote: > > > On 3/9/25 03:05, Marek Vasut wrote: >> On STM32MP15xx with 1 GiB of DRAM, the gd->ram_top becomes 0, >> because DRAM base 0xc000 + DRAM size 0x4000 leads to >> gd->ram_top overflow which resets it to 0. Handle this special >> case simply b

Re: [PATCH] ARM: stm32mp: Fix dram_bank_mmu_setup() for ram_top=0

2025-03-10 Thread Patrice CHOTARD
On 3/9/25 03:05, Marek Vasut wrote: > On STM32MP15xx with 1 GiB of DRAM, the gd->ram_top becomes 0, > because DRAM base 0xc000 + DRAM size 0x4000 leads to > gd->ram_top overflow which resets it to 0. Handle this special > case simply by checking for gd->ram_top being zero, and if it > is

Re: [PATCH 11/12] pytest: requirements.txt: Include setuptools

2025-03-10 Thread Marek Vasut
On 3/10/25 2:55 PM, Tom Rini wrote: On Sat, Mar 08, 2025 at 09:12:15PM +0100, Marek Vasut wrote: This seems to be needed for filesystem tests at least on ubuntu 22.04 machines. Add setuptools into requirements.txt . Signed-off-by: Marek Vasut --- Cc: Baruch Siach Cc: Francesco Dolcini Cc: H

Re: [PATCH 08/12] fs: exfat: Fix conversion overflow errors

2025-03-10 Thread Marek Vasut
On 3/10/25 12:17 PM, Quentin Schulz wrote: Hi Marek, Hi, On 3/8/25 9:12 PM, Marek Vasut wrote: Fix the following conversion overflow errors. The input field is already limited to 3/2/1 bits using the bitwise and, move the parenthesis around to avoid the bogus warning: " fs/exfat/utf.c: In f

Re: [PATCH 07/12] fs: exfat: Add U-Boot porting layer

2025-03-10 Thread Marek Vasut
On 3/10/25 4:18 PM, Tom Rini wrote: On Sat, Mar 08, 2025 at 09:12:11PM +0100, Marek Vasut wrote: Add U-Boot adjustments to the libexfat code and integrate the result into U-Boot filesystem layer. This provides full read-write exfat support for U-Boot available via generic filesystem interface.

[PATCH v2 4/4] drivers: i2c: Kconfig: Add CONFIG_SYS_I2C_OMAP24XX_REPEATED_START

2025-03-10 Thread Aniket Limaye
Add a Kconfig option to disable sending Stop conditions between multiple i2c_msgs within a single xfer. Enable this config by default for ARCH_K3 platforms. Signed-off-by: Aniket Limaye --- v2: - CONFIG_I2C_REPEATED_START -> CONFIG_SYS_I2C_OMAP24XX_REPEATED_START - Link to v1: https://lore.kern

Re: [PATCH 1/5] dm: pwm: Check if duty_ns is lower than period_ns

2025-03-10 Thread Patrice CHOTARD
On 3/6/25 15:13, Patrice CHOTARD wrote: > > > On 3/6/25 11:56, Cheick Traore wrote: >> It was possible to provide a duty_ns greater than period_ns to >> "pwm config" command. The framework must check the values before >> providing them to drivers. >> >> Signed-off-by: Cheick Traore >> --- >>

Re: [PATCH v2 1/6] net: lwip: extend wget to support CA (root) certificates

2025-03-10 Thread Ilias Apalodimas
[...] > >>> > >> > >> FWIW I think this still makes sense for peopke that don't want or can > >> not add the cert in the u-boot binary, but can add a signed script to > >> download it on the fly > >> > >> Reviewed-by: Ilias Apalodimas > > > > This still stands, but there are a few warning/errors

[RESEND PATCH 1/3] pci_auto: Downgrade prefetch if necessary

2025-03-10 Thread Patrick Rudolph
Legacy PCI devices, like qemu's Bochs VGA device, are allowed to have prefetchable 32-bit BARs, while PCIe devices are not allowed to have 32-bit prefetchable BARs. Typically prefetchable BARs are 64-bit and typically the prefetch MMIO window is also 64-bit and placed above 4GiB, as it's the case o

[RESEND PATCH 3/3] emulation: qemu-sbsa: Enable PCI enumeration

2025-03-10 Thread Patrick Rudolph
Enable PCI enumeration by default to get the Bochs display driver up and running before the boot medium is scanned. This is just to enhance the user-experience while booting the machine. TEST: U-Boot logo, version, log output and the U-Boot shell is visible on the display device. Signed-off

Re: [Uboot-stm32] [PATCH 1/5] dm: pwm: Check if duty_ns is lower than period_ns

2025-03-10 Thread Patrice CHOTARD
On 3/10/25 11:00, Patrice CHOTARD wrote: > > > On 3/6/25 15:13, Patrice CHOTARD wrote: >> >> >> On 3/6/25 11:56, Cheick Traore wrote: >>> It was possible to provide a duty_ns greater than period_ns to >>> "pwm config" command. The framework must check the values before >>> providing them to dr

Re: [PATCH v2 4/6] net: lwip: add support for built-in root certificates

2025-03-10 Thread Ilias Apalodimas
On Mon, 10 Mar 2025 at 14:13, Jerome Forissier wrote: > > > > On 3/10/25 12:52, Ilias Apalodimas wrote: > > Hi Jerome, > > > > [...] > > > > > > +#if CONFIG_IS_ENABLED(WGET_BUILTIN_CACERT) > + cacert_initialized = true; > +#endif > return CMD_RET_SUCCESS; > >

[PATCH v3 2/8] efi_loader: expose symbols to be used by the EFI network stack

2025-03-10 Thread Adriano Cordova
The following symbols are exposed: - efi_reinstall_protocol_interface This is done so that the device path protocol interface of the network device can be changed internally by u-boot when a new bootfile gets downloaded. - eth_set_dev

Re: [GIT PULL] Please pull u-boot-dfu-next-20250310

2025-03-10 Thread Tom Rini
On Mon, 10 Mar 2025 15:06:08 +0100, Mattijs Korpershoek wrote: > Please find the following developments/cleanups for next: > > Usb gadget: > - Remove legacy CONFIG_USB_DEVICE > - Remove legacy usbtty driver > > CI Job: > - https://source.denx.de/u-boot/custodians/u-boot-dfu/-/pipelines/25060 >

Re: [PATCH v1] config: falcon: move CFG_SYS_SPI_* to Kconfig

2025-03-10 Thread Fabio Estevam
On Mon, Mar 10, 2025 at 10:37 AM Anshul Dalal wrote: > > CFG_SYS_SPI_* are used in falcon boot to specify the offsets and size of > the repsective payloads. This patch moves them to Kconfig keeping the s/repsective/respective > values consistent for each of the effected boards. s/effected/affec

Re: [PATCH] spi: cadence_ospi: Add device reset via OSPI controller

2025-03-10 Thread Michal Simek
On 3/10/25 09:03, Michal Simek wrote: On 2/20/25 15:19, Venkatesh Yadav Abbarapu wrote: Add support for flash device reset via OSPI controller instead of using GPIO, as OSPI IP has device reset feature on Versal Gen2 platform. Also add compatible string for Versal Gen2 platform. Signed-off

[PATCH v3 6/8] efi_loader: efi_net: Add device path cache

2025-03-10 Thread Adriano Cordova
In preparation to support mutiple efi net udevices. Add a device path cache to support device paths from multiple ethernet udevices. The device paths can be added to the cache before EFI gets initialized and the protocols get installed. Signed-off-by: Adriano Cordova --- (no changes since v1)

[PATCH v7 7/8] blkmap: add an attribute to preserve the mem mapping

2025-03-10 Thread Sughosh Ganu
Some blkmap memory mapped devices might have to be be relevant even after U-Boot passes control to the next image as part of the platform boot. An example of such a mapping would be an OS installer ISO image, information for which has to be provided to the OS kernel. Use the 'preserve' attribute fo

[PATCH v3 3/8] efi_loader: efi_setup: Add efi_start_obj_list() to efi_setup.c

2025-03-10 Thread Adriano Cordova
The coomand bootefi calls efi_init_obj_list to do the efi set up before launching an .efi payload, but efi_init_obj_list is called only once. There are some initializations which depend on the environment and should be done each time a payload gets launched and not only once. A motivation for this

[PATCH v3 5/8] efi_loader: efi_device_path: Pass net udevice as argument

2025-03-10 Thread Adriano Cordova
In preparation to support multiple EFI net objects, support constructing device paths using an ethernet device different than the default. Add a udevice argument to the device path generation, and keep the callsites with eth_get_dev() to preserve existing functionality. Signed-off-by: Adriano Cord

[PATCH v3 7/8] efi_loader: efi_net: Add dhcp cache

2025-03-10 Thread Adriano Cordova
Add a dhcp cache to store the DHCP ACKs received by the U-Boot network stack. Signed-off-by: Adriano Cordova --- (no changes since v1) lib/efi_loader/efi_net.c | 55 +++- 1 file changed, 43 insertions(+), 12 deletions(-) diff --git a/lib/efi_loader/efi_net.

Re: [PATCH 11/12] pytest: requirements.txt: Include setuptools

2025-03-10 Thread Marek Vasut
On 3/10/25 10:31 PM, Tom Rini wrote: On Mon, Mar 10, 2025 at 10:07:40PM +0100, Marek Vasut wrote: On 3/10/25 2:55 PM, Tom Rini wrote: On Sat, Mar 08, 2025 at 09:12:15PM +0100, Marek Vasut wrote: This seems to be needed for filesystem tests at least on ubuntu 22.04 machines. Add setuptools int