Re: [PATCH 1/1] efi_loader: stop network in EXIT_BOOT_SERVICES

2025-04-05 Thread Heinrich Schuchardt
Simon Glass schrieb am Sa., 5. Apr. 2025, 22:46: > Hi, > > On Sat, 5 Apr 2025 at 19:58, Heinrich Schuchardt > wrote: > > > > It has been reported that memory corruption can occurred because network > > packages where received after EXIT_BOOT_SERVICES. See the thread > > starting at [1]. > > > >

[PATCH] board: rockchip: add Xunlong Orange Pi 5 Max

2025-04-05 Thread K900
B_XHCI_HCD=y +CONFIG_USB_EHCI_HCD=y +CONFIG_USB_EHCI_GENERIC=y +CONFIG_USB_OHCI_HCD=y +CONFIG_USB_OHCI_GENERIC=y +CONFIG_USB_DWC3=y +CONFIG_USB_DWC3_GENERIC=y +CONFIG_ERRNO_STR=y --- base-commit: e458e103d4f5fb7aaf13e744c65916ab3ba4a18d change-id: 20250405-add-opi5-max-569b1e7a53b1 Best regards, -- K900

[PATCH 11/11] rockchip: Enable meminfo and rng commands for Generic RK3588

2025-04-05 Thread Jonas Karlman
The meminfo and rng commands are helpful for testing, enable them. Signed-off-by: Jonas Karlman --- configs/generic-rk3588_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/generic-rk3588_defconfig b/configs/generic-rk3588_defconfig index 51e31dce3a96..2075584cf564 100644

[PATCH 10/11] rockchip: Enable meminfo and rng commands for Generic RK3566/RK3568

2025-04-05 Thread Jonas Karlman
The meminfo and rng commands are helpful for testing, enable them. Signed-off-by: Jonas Karlman --- configs/generic-rk3568_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/generic-rk3568_defconfig b/configs/generic-rk3568_defconfig index f79f0e84400b..76418ba7032c 100644

[PATCH 09/11] rockchip: rk3588: Drop BOARD_LATE_INIT from target config

2025-04-05 Thread Jonas Karlman
BOARD_LATE_INIT is already selected by ROCKCHIP_RK3588 so there is no need to select it under any board target config. Signed-off-by: Jonas Karlman --- arch/arm/mach-rockchip/rk3588/Kconfig | 20 1 file changed, 20 deletions(-) diff --git a/arch/arm/mach-rockchip/rk3588/Kco

[PATCH 07/11] rockchip: Use rk3588_common.h by default for RK3588 boards

2025-04-05 Thread Jonas Karlman
Ensure rk3588_common.h can be used by boards directly by defining a blank ROCKCHIP_DEVICE_SETTINGS unless it already is defined. Add a default SYS_CONFIG_NAME to include rk3588_common.h unless a board target overrides it in its board Kconfig. Signed-off-by: Jonas Karlman --- arch/arm/mach-rockc

[PATCH 08/11] rockchip: rk3568: Drop BOARD_LATE_INIT from target config

2025-04-05 Thread Jonas Karlman
BOARD_LATE_INIT is already selected by ROCKCHIP_RK3568 so there is no need to select it under any board target config. Signed-off-by: Jonas Karlman --- arch/arm/mach-rockchip/rk3568/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/mach-rockchip/rk3568/Kconfig b/arch/arm/mach-

[PATCH 06/11] rockchip: Use rk3568_common.h by default for RK356x boards

2025-04-05 Thread Jonas Karlman
Ensure rk3568_common.h can be used by boards directly by defining a blank ROCKCHIP_DEVICE_SETTINGS unless it already is defined. Add a default SYS_CONFIG_NAME to include rk3568_common.h unless a board target overrides it in its board Kconfig. Signed-off-by: Jonas Karlman --- arch/arm/mach-rockc

[PATCH 05/11] rockchip: Ensure device settings is defined before rk3588_common.h

2025-04-05 Thread Jonas Karlman
Ensure ROCKCHIP_DEVICE_SETTINGS is defined before including rk3588_common.h in board include/configs files. Signed-off-by: Jonas Karlman --- include/configs/evb_rk3588.h | 4 ++-- include/configs/khadas-edge2-rk3588s.h | 4 ++-- include/configs/toybrick_rk3588.h | 4 ++-- 3 files

[PATCH 04/11] rockchip: Ensure device settings is defined before rk3568_common.h

2025-04-05 Thread Jonas Karlman
Ensure ROCKCHIP_DEVICE_SETTINGS is defined before including rk3568_common.h in board include/configs files. Signed-off-by: Jonas Karlman --- include/configs/anbernic-rgxx3-rk3566.h | 4 ++-- include/configs/evb_rk3568.h| 4 ++-- include/configs/powkiddy-x55-rk3566.h | 4 ++-- 3 fil

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

2025-04-05 Thread Jonas Karlman
The partitions env variable is using an outdated partition layout that is typically expected to be used with older vendor miniloader blobs. Rockchip devices will run fine using any partition layout if the first 16 MiB of MMC storage is ignored/skipped. Remove the partitions env variable to stop e

[PATCH 02/11] rockchip: Remove partitions env variable for RK356x

2025-04-05 Thread Jonas Karlman
The partitions env variable is using an outdated partition layout that is typically expected to be used with older vendor miniloader blobs. Rockchip devices will run fine using any partition layout if the first 16 MiB of MMC storage is ignored/skipped. Remove the partitions env variable to stop e

[PATCH 01/11] rockchip: rk3588: Use hptimer reg names in rockchip_stimer_init

2025-04-05 Thread Jonas Karlman
Define constants for hptimer reg names and use them instead of magic numbers in rockchip_stimer_init(). Signed-off-by: Jonas Karlman --- arch/arm/mach-rockchip/rk3588/rk3588.c | 19 +-- 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/arch/arm/mach-rockchip/rk3588/r

[PATCH 00/11] rockchip: Small cleanups for RK356x and RK3588

2025-04-05 Thread Jonas Karlman
This series add small cleanups for RK356x and RK3588. These are small changes that was implemented while working on RK3528 [1] and future RK3506 [2] support. Similar changes has also been recommended for a v2 of the RK3576 series. This also add the meminfo and rng commands to the generic-rk3568/r

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

2025-04-05 Thread Tom Rini
On Sun, Apr 06, 2025 at 08:46:31AM +1200, Simon Glass wrote: > (question for Heinrich below) > > Hi Tom, > > On Sun, 6 Apr 2025 at 02:48, Tom Rini wrote: > > > > On Sat, Apr 05, 2025 at 08:40:08AM -0600, Tom Rini wrote: > > > On Fri, Apr 04, 2025 at 04:48:01PM -0600, Tom Rini wrote: > > > > On F

[PATCH v4 0/4] Add support for BR Xilinx Zynq boards in mainline U-Boot.

2025-04-05 Thread Bernhard Messerklinger
Changes in v4: - Fix device tree Makefile to only build B&R Zynq device trees if the target is from B&R. Changes in v3: - Split spi_flash and qspi controller node in device tree for the usage of bootph-all - Merge binman descriptions into one zynq-binman-brcp1 - Add links instead of manually in

Re: [PATCH 1/3] net: designware: Disable DMA on removal

2025-04-05 Thread Heinrich Schuchardt
Am 6. April 2025 00:12:45 MESZ schrieb Simon Glass : >At present, removing the device frees struct dw_eth_dev but does not >disable DMA. When DMA is active, packets can be received even if the >driver is not active. > >While it is possible that the memory used by the struct may remain >untouched af

Re: [PATCH 3/3] efi_loader: Move device-removal later in exit-boot-services

2025-04-05 Thread Heinrich Schuchardt
Am 6. April 2025 00:12:47 MESZ schrieb Simon Glass : >This removal should be the last thing done, so that U-Boot does no more >memory allocations afterwards. Move it and add a comment. > >Note that the TCG2 log is updated after this call, but I cannot see any >allocations there. > >Reported-by: Chr

[PATCH 3/3] efi_loader: Move device-removal later in exit-boot-services

2025-04-05 Thread Simon Glass
This removal should be the last thing done, so that U-Boot does no more memory allocations afterwards. Move it and add a comment. Note that the TCG2 log is updated after this call, but I cannot see any allocations there. Reported-by: Christian Kohlschütter Signed-off-by: Simon Glass --- lib/

[PATCH 2/3] designware: Use the remove() method with related drivers

2025-04-05 Thread Simon Glass
Several drivers make use of the designware Ethernet driver but do not implement the remove() method. Add this so that DMA is stopped when the OS is booted to avoid memory corruption, etc. Signed-off-by: Simon Glass Reported-by: Christian Kohlschütter --- drivers/net/designware.c| 2 +- dr

[PATCH 1/3] net: designware: Disable DMA on removal

2025-04-05 Thread Simon Glass
At present, removing the device frees struct dw_eth_dev but does not disable DMA. When DMA is active, packets can be received even if the driver is not active. While it is possible that the memory used by the struct may remain untouched after removal, any other allocation may reuse that memory and

Re: U-Boot interferes with initrd binary — Revert "efi: Correct smbios-table installation" ?

2025-04-05 Thread Simon Glass
Hi, On Sun, 6 Apr 2025 at 08:51, Christian Kohlschütter wrote: > > On 4. Apr 2025, at 18:21, neil.armstr...@linaro.org wrote: > > > > Hi Christian > > > ... > > > > could you test: > > > > ==><== > > diff --git a/drivers/net/dwmac_meson8b.c b/drivers/net/dwmac_meso

Re: [PATCH 30/34] sunxi: A523: add DRAM initialisation routine

2025-04-05 Thread Yixun Lan
Hi Andre: On 11:35 Sun 23 Mar , Andre Przywara wrote: > From: Jernej Skrabec > > DRAM init code, as per reverse engineering and matching against > previous SoCs. > Supports LPDDR4 for now only. > --- > arch/arm/include/asm/arch-sunxi/dram.h|2 + > .../include/asm/arch-sunxi/dram

Re: U-Boot interferes with initrd binary — Revert "efi: Correct smbios-table installation" ?

2025-04-05 Thread Christian Kohlschütter
On 4. Apr 2025, at 18:21, neil.armstr...@linaro.org wrote: > > Hi Christian > ... > > could you test: > > ==><== > diff --git a/drivers/net/dwmac_meson8b.c b/drivers/net/dwmac_meson8b.c > index fde4aabbace..bf9c5e8f349 100644 > --- a/drivers/net/dwmac_meson8b.c >

Re: [PATCH v2 6/8] [RFC] CI: add U-Boot testing on real HW with tbot

2025-04-05 Thread Simon Glass
Hi Heiko, On Sun, 6 Apr 2025 at 07:06, Heiko Schocher wrote: > > From: Heiko Schocher > > add U-Boot tests on real hardware with tbot, which is started > from gitlab CI (no idea where it runs). > > Currently one board is implemented (imx8qxp based cxg3 board). > > This is a good example, as we n

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

2025-04-05 Thread Simon Glass
(question for Heinrich below) Hi Tom, On Sun, 6 Apr 2025 at 02:48, Tom Rini wrote: > > On Sat, Apr 05, 2025 at 08:40:08AM -0600, Tom Rini wrote: > > On Fri, Apr 04, 2025 at 04:48:01PM -0600, Tom Rini wrote: > > > On Fri, Apr 04, 2025 at 11:32:12PM +0200, Jonas Karlman wrote: > > > > Hi Simon, >

[PATCH] x86: efi_loader: Ensure the SMBIOS tables are sent via EFI

2025-04-05 Thread Simon Glass
The EFI-loader code has not been fully converted to use bloblist, so relies on the SMBIOS-table address being set in global_data. Set this up in write_tables() so that the SMBIOS tables are actually available. Enable the command for x86 QEMU so that the SMBIOS tests actually run. Signed-off-by:

Re: [PATCH 1/1] efi_loader: stop network in EXIT_BOOT_SERVICES

2025-04-05 Thread Simon Glass
Hi, On Sat, 5 Apr 2025 at 19:58, Heinrich Schuchardt wrote: > > It has been reported that memory corruption can occurred because network > packages where received after EXIT_BOOT_SERVICES. See the thread > starting at [1]. > > We try to remove all drivers when EXIT_BOOT_SERVICES is called. But >

Re: SMBIOS tables missing on 2025.04-rc5 on qemu-x86

2025-04-05 Thread Simon Glass
+Heinrich Schuchardt Hi, On Sat, 5 Apr 2025 at 05:33, Tom Rini wrote: > > On Fri, Apr 04, 2025 at 03:10:29PM +0200, Niklas Sombert wrote: > > > Hi all, > > > > I've written a small EFI bootloader and I'm testing it on QEMU with OVMF and > > with u-boot (with the qemu-x86_defconfig as -bios in QE

Re: [PATCH 1/1] efi_loader: stop network in EXIT_BOOT_SERVICES

2025-04-05 Thread Christian Kohlschütter
On 5. Apr 2025, at 13:00, Ilias Apalodimas wrote: > > On Sat, Apr 5, 2025, 08:58 Heinrich Schuchardt > wrote: > It has been reported that memory corruption can occurred because network > packages where received after EXIT_BOOT_SERVICES. See the thread > starting at [1]. > > We try to remove al

[PATCH v3] hw/arm/virt: Allow additions to the generated device tree

2025-04-05 Thread Simon Glass
At present qemu creates a device tree automatically with the 'virt' generic virtual platform. This is very convenient in most cases but there is not much control over what is generated. Add a way to provide a device tree binary file with additional properties to add before booting. This provides f

[PATCH v2] emulation: fdt: Allow using U-Boot's device tree with QEMU

2025-04-05 Thread Simon Glass
At present it is impossible to change the qemu_arm64 defconfig to obtain a devicetree from the U-Boot build. This is necessary for FIT validation, for example, where the signature node must be compiled into U-Boot. A proposed change to QEMU to allow device tree additions has been blocked for seve

[PATCH v2 8/8] scripts: add helper for getting infos from your patchwork ToDo list

2025-04-05 Thread Heiko Schocher
From: Heiko Schocher The new script scripts/getpatchlist.py list for all patches in your Patchworks ToDo list the PATCH ID and MESSAGE ID. With that script you can eaysy do in your current U-Boot tree: MIL=$(scripts/getpatchlist.py | cut -d " " -f 2) for m in $MIL;do rm -rf m

[PATCH v2 7/8] .gitlab-ci.yml: add tbot-lab

2025-04-05 Thread Heiko Schocher
From: Heiko Schocher add testing real hardware with tbot. Signed-off-by: Heiko Schocher --- (no changes since v1) .gitlab-ci.yml | 74 ++ 1 file changed, 74 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 46226eb2fc..f5c24ca30

[PATCH v2 6/8] [RFC] CI: add U-Boot testing on real HW with tbot

2025-04-05 Thread Heiko Schocher
From: Heiko Schocher add U-Boot tests on real hardware with tbot, which is started from gitlab CI (no idea where it runs). Currently one board is implemented (imx8qxp based cxg3 board). This is a good example, as we need to get some binary blobs for the build to get a working bootloader binary.

[PATCH v2 5/8] test: increase timeouts

2025-04-05 Thread Heiko Schocher
From: Heiko Schocher running tests on github/gitlab while board is somewhere in the wide world, needs bigger command and standard timeouts. Increase them to: TIMEOUT_MS = 6 # Standard timeout TIMEOUT_CMD_MS = 45000 # Command-echo timeout Signed-off-by: Heiko S

[PATCH v2 4/8] test/py/requirements.txt: remove unittest2 and testtools

2025-04-05 Thread Heiko Schocher
From: Heiko Schocher unittest2 and testtools leads in: Collecting argparse (from unittest2>=1.0.0->testtools==2.3.0->-r /builds/u-boot/custodians/u-boot-i2c/tbottesting/../test/py/requirements.txt (line 26)) Downloading argparse-1.4.0-py2.py3-none-any.whl.metadata (2.8 kB) which breaks pyte

[PATCH v2 3/8] test/py/requirements.txt: increase filelock version

2025-04-05 Thread Heiko Schocher
From: Heiko Schocher building on gitlab with image: ${MIRROR_DOCKER}/trini/u-boot-gitlab-ci-runner:jammy-20240911.1-08Dec2024 drops error: ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following

[PATCH v2 2/8] tools/buildman/requirements.txt: update coverage

2025-04-05 Thread Heiko Schocher
From: Heiko Schocher -coverage==6.2 +coverage==7.6.2 Signed-off-by: Heiko Schocher --- (no changes since v1) tools/buildman/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/buildman/requirements.txt b/tools/buildman/requirements.txt index 052d0ed5c6.

[PATCH v2 0/8] This series introduces U-Boot tests with tbot on real hardware.

2025-04-05 Thread Heiko Schocher
add U-Boot tests on real hardware with tbot, which is started from gitlab CI (or other CI implementations like jenkins, github,...) Currently only one board in my lab@hungary is implemented, if series gets accepted more will follow. May others are interested too, and prepare also such setups ...

[PATCH v2 1/8] test/py/requirements.txt: update coverage

2025-04-05 Thread Heiko Schocher
From: Heiko Schocher -coverage==6.2 +coverage==7.6.2 Signed-off-by: Heiko Schocher --- (no changes since v1) test/py/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/py/requirements.txt b/test/py/requirements.txt index 75760f96e5..9b15e97f51 100644 --

[PATCH v2 10/10] Dockerfile: Update to drop virt-make-fs packages

2025-04-05 Thread Tom Rini
Now that we do not need nor want people to use virt-make-fs for filesystem tests, remove the related packages from the installation list. Signed-off-by: Tom Rini --- Changes in v2: - None --- tools/docker/Dockerfile | 5 - 1 file changed, 5 deletions(-) diff --git a/tools/docker/Dockerfile

[PATCH v1 8/8] scripts: add helper for getting infos from your patchwork ToDo list

2025-04-05 Thread Heiko Schocher
From: Heiko Schocher The new script scripts/getpatchlist.py list for all patches in your Patchworks ToDo list the PATCH ID and MESSAGE ID. With that script you can eaysy do in your current U-Boot tree: MIL=$(scripts/getpatchlist.py | cut -d " " -f 2) for m in $MIL;do rm -rf m

[PATCH v1 6/8] [RFC] CI: add U-Boot testing on real HW with tbot

2025-04-05 Thread Heiko Schocher
From: Heiko Schocher add U-Boot tests on real hardware with tbot, which is started from gitlab CI (no idea where it runs). Currently one board is implemented (imx8qxp based cxg3 board). This is a good example, as we need to get some binary blobs for the build to get a working bootloader binary.

[PATCH v1 7/8] .gitlab-ci.yml: add tbot-lab

2025-04-05 Thread Heiko Schocher
From: Heiko Schocher add testing real hardware with tbot. Signed-off-by: Heiko Schocher Signed-off-by: Heiko Schocher --- .gitlab-ci.yml | 74 ++ 1 file changed, 74 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 46226eb2fc..f

[PATCH v1 5/8] test: increase timeouts

2025-04-05 Thread Heiko Schocher
From: Heiko Schocher running tests on github/gitlab while board is somewhere in the wide world, needs bigger command and standard timeouts. Increase them to: TIMEOUT_MS = 6 # Standard timeout TIMEOUT_CMD_MS = 45000 # Command-echo timeout Signed-off-by: Heiko S

[PATCH v1 05/11] mtd: rawnand: meson: move some defines to dedicated header

2025-04-05 Thread Arseniy Krasnov
We need these values and macro to correctly write "bootloader" partition in Optimus protocol, so let's export them to arch-meson header and also provide more detailed information about each macro. Signed-off-by: Arseniy Krasnov --- arch/arm/include/asm/arch-meson/rawnand.h | 38 +

[PATCH v1 4/8] test/py/requirements.txt: remove unittest2 and testtools

2025-04-05 Thread Heiko Schocher
From: Heiko Schocher unittest2 and testtools leads in: Collecting argparse (from unittest2>=1.0.0->testtools==2.3.0->-r /builds/u-boot/custodians/u-boot-i2c/tbottesting/../test/py/requirements.txt (line 26)) Downloading argparse-1.4.0-py2.py3-none-any.whl.metadata (2.8 kB) which breaks pyte

[PATCH v1 3/8] test/py/requirements.txt: increase filelock version

2025-04-05 Thread Heiko Schocher
From: Heiko Schocher building on gitlab with image: ${MIRROR_DOCKER}/trini/u-boot-gitlab-ci-runner:jammy-20240911.1-08Dec2024 drops error: ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following

[PATCH v1 2/8] tools/buildman/requirements.txt: update coverage

2025-04-05 Thread Heiko Schocher
From: Heiko Schocher -coverage==6.2 +coverage==7.6.2 Signed-off-by: Heiko Schocher Signed-off-by: Heiko Schocher --- tools/buildman/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/buildman/requirements.txt b/tools/buildman/requirements.txt index 052

[PATCH v1 0/8] This series introduces U-Boot tests with tbot on real hardware.

2025-04-05 Thread Heiko Schocher
add U-Boot tests on real hardware with tbot, which is started from gitlab CI (or other CI implementations like jenkins, github,...) Currently only one board in my lab@hungary is implemented, if series gets accepted more will follow. May others are interested too, and prepare also such setups ...

[PATCH v1 1/8] test/py/requirements.txt: update coverage

2025-04-05 Thread Heiko Schocher
From: Heiko Schocher -coverage==6.2 +coverage==7.6.2 Signed-off-by: Heiko Schocher Signed-off-by: Heiko Schocher --- test/py/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/py/requirements.txt b/test/py/requirements.txt index 75760f96e5..9b15e97f51 1

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

2025-04-05 Thread Tom Rini
On Fri, 21 Mar 2025 14:16:48 +0100, Mattijs Korpershoek wrote: > Please find the following fix for master: > > Usb gadget: > - Fix NXP UUU tool compatibility regression with dwc3 gadget > > CI Job: > - https://source.denx.de/u-boot/custodians/u-boot-dfu/-/pipelines/25275 > > [...] Merged into

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

2025-04-05 Thread Raymond Mao
Hi Simon, On Fri, 28 Mar 2025 at 11:44, Simon Glass wrote: > > The bloblist code took what I consider to be a wrong turn a year or so > ago. As discussed with Tom, this series proposes a way to arrange things > so that it is simpler to understand and manage. > > - Unwind some of the nesting in bl

[PATCH 7/7] ARM: dts: at91: sam9x60-curiosity: Enable watchdog node

2025-04-05 Thread Zixun LI
Enable watchdog node on SAM9X60-Curiosity board. Signed-off-by: Zixun LI --- arch/arm/dts/at91-sam9x60_curiosity.dts | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/dts/at91-sam9x60_curiosity.dts b/arch/arm/dts/at91-sam9x60_curiosity.dts index 99867d2bf8e..cdb782e28ff 100644 -

[PATCH 2/8] env: Rename SYS_REDUNDAND_ENVIRONMENT to ENV_REDUNDAND_ENVIRONMENT

2025-04-05 Thread Marek Vasut
Rename the variable and add ENV_ prefix, so that all configuration options which are related to environment would have an CONFIG_ENV_ prefix. No functional change. Signed-off-by: Marek Vasut --- Cc: Paul Barker Cc: Quentin Schulz Cc: Simon Glass Cc: Tom Rini --- configs/am335x_guardian_defco

Re: [PATCH] Revert "net: eth_bootdev_hunt() should not run DHCP"

2025-04-05 Thread Simon Glass
Hi, On Wed, 2 Apr 2025 at 05:13, Heinrich Schuchardt wrote: > > On 01.04.25 17:51, Simon Glass wrote: > > On Tue, 1 Apr 2025 at 21:38, Heiko Stuebner wrote: > >> > >> This reverts commit 1f68057e03206e6597ca8b2be8bb1c49d4bd47d0. > >> > >> Commit 1f68057e0320 ("net: eth_bootdev_hunt() should not

Re: [PATCH 01/17] fs: boot: Update fs_read_alloc() to use abuf

2025-04-05 Thread Tom Rini
On Wed, Apr 02, 2025 at 04:46:23AM +1300, Simon Glass wrote: > Hi Tom, > > On Tue, 1 Apr 2025 at 06:42, Tom Rini wrote: > > > > On Wed, Mar 19, 2025 at 03:37:55PM +0100, Simon Glass wrote: > > > > > Using an abuf for this function simplifies returning the size and also > > > makes it easier to fr

[PATCH v5 12/16] dm: usb: move bus initialization into new static function usb_init_bus()

2025-04-05 Thread Jerome Forissier
To prepare for the introduction of threads in the USB initialization sequence, move code out of usb_init() into a new helper function: usb_init_bus() and count the number of USB controllers initialized successfully by using the DM device_active() function. Signed-off-by: Jerome Forissier --- dri

[PATCH v2 2/2] env: point fdt address to the fdt in a bloblist

2025-04-05 Thread Raymond Mao
Point fdt_addr to the fdt embedded in the bloblist since fdt_addr is a default address for bootefi, bootm and booti to look for the device tree when launching the kernel. Signed-off-by: Raymond Mao --- Changes in v2: - Update the fdt from bloblist when importing the env. env/common.c | 21 +

Re: [PATCH v5 38/46] boot: Consider non-bootable partitions

2025-04-05 Thread Simon Glass
Hi Tom, On Tue, 18 Mar 2025 at 15:04, Tom Rini wrote: > > On Sat, Mar 15, 2025 at 02:25:58PM +, Simon Glass wrote: > > > Any 'bootable' flag in a DOS partition causes boostd to only scan > > bootable partitions for that media. This can mean that extlinux.conf > > files on the root disk are mi

[PATCH 5/6] configs: stm32746-eval_spl: Fix console cmdline

2025-04-05 Thread Patrice Chotard
The Linux cmdline encoded in the defconfig is wrong, the STM32 USART driver registers as ttySTM0 not ttyS0. Signed-off-by: Patrice Chotard --- configs/stm32746g-eval_spl_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/stm32746g-eval_spl_defconfig b/configs

[PATCH v8 02/19] pinctrl: nxp: add a pin controller driver based on SCMI pin control protocol

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

Re: [PATCH v5] spl: remove usage of CMD_BOOT[IZ] from image parsing

2025-04-05 Thread Tom Rini
On Fri, Mar 14, 2025 at 09:25:04AM +0530, Anshul Dalal wrote: > Using CMD_* configs from spl doesn't make logical sense. Therefore this > patch replaces the checks for CMD_BOOT[IZ] with newly added configs > SPL_HAS_BOOT[IZ]. > > SPL_HAS_BOOTZ is enabled by default for 32-bit ARM systems and > SP

Re: [PATCH] toradex: apalis-imx6: Fix build failure when CONFIG_VIDEO_IPUV3 is enabled

2025-04-05 Thread Tom Rini
On Fri, Mar 28, 2025 at 11:20:40AM +0100, raf...@beims.me wrote: > From: Rafael Beims > > If CONFIG_VIDEO_IPUV3 is enabled without also having CONFIG_IMX_HDMI > enabled, the build fails for the Apalis iMX6 board. > > Fixes: 592f4aed6db7 ("arm: imx: initial support for apalis imx6") > Signed-off

[PATCH 03/13] sandbox: Select white-on-black

2025-04-05 Thread Simon Glass
Use white on black for the expo menu as it is easier on the eyes. Signed-off-by: Simon Glass --- arch/sandbox/dts/test.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/sandbox/dts/test.dts b/arch/sandbox/dts/test.dts index 6cd87b74a64..ed573ef1570 100644 --- a/arch/sandbox/dts/test.

Re: [PATCH] MAINTAINERS: Update email of Mattijs Korpershoek

2025-04-05 Thread Tom Rini
On Fri, 28 Mar 2025 17:29:27 +0100, Mattijs Korpershoek wrote: > My preferred email address is mkorpersh...@kernel.org now. > > This updates the MAINTAINERS files and adds an entry in the > .mailmap file. > > Applied to u-boot/master, thanks! [1/1] MAINTAINERS: Update email of Mattijs Korpers

[PATCH v5 05/16] test: lib: add initjmp() test

2025-04-05 Thread Jerome Forissier
Test the initjmp() function when HAVE_INITJMP is set. Use the test as an example in the API documentation. Signed-off-by: Jerome Forissier Reviewed-by: Ilias Apalodimas --- doc/api/setjmp.rst | 10 +++ test/lib/Makefile | 1 + test/lib/initjmp.c | 73 ++

Re: U-Boot interferes with initrd binary — Revert "efi: Correct smbios-table installation" ?

2025-04-05 Thread Michael Brown
On 31/03/2025 18:31, Christian Kohlschütter wrote: Whoa! Good eyes, Michael! What is my Fritzbox doing to my initrd, and why does reverting the commit fix it? FWIW, I also have a capture with an ethernet frame from another device on my network (ARP, ethertype 0x0806), so this is probably the

[PATCH v2 00/24] clk: Add clk_resolve_parent_clk() and fix up iMX clock drivers

2025-04-05 Thread Marek Vasut
Add clk_resolve_parent_clk() to resolve parent clock udevice name based on clock-names DT property. This is used in SoC clock drivers to look up the clock name in clock tables, which matches a clock name in DT clock-names property, and convert it into udevice name which is used by U-Boot clock fram

Re: [PATCH v2 00/24] clk: Add clk_resolve_parent_clk() and fix up iMX clock drivers

2025-04-05 Thread Adam Ford
On Sun, Mar 23, 2025 at 11:01 AM Marek Vasut wrote: > > Add clk_resolve_parent_clk() to resolve parent clock udevice name > based on clock-names DT property. This is used in SoC clock drivers > to look up the clock name in clock tables, which matches a clock > name in DT clock-names property, and

Re: [PATCH 09/17] test/py: Add a test image for Ubuntu

2025-04-05 Thread Tom Rini
On Thu, Mar 20, 2025 at 03:41:33AM +, Simon Glass wrote: > Hi Tom, > > On Wed, 19 Mar 2025 at 16:35, Tom Rini wrote: > > > > On Wed, Mar 19, 2025 at 03:04:28PM +, Simon Glass wrote: > > > Hi Tom, > > > > > > On Wed, 19 Mar 2025 at 15:52, Tom Rini wrote: > > > > > > > > On Wed, Mar 19, 20

Re: [PATCH] cmd: Correct dependency for CMD_LINK_LOCAL

2025-04-05 Thread Tom Rini
On Fri, 14 Mar 2025 19:28:56 -0600, Tom Rini wrote: > Given how LIB_RAND is handled now, we should be depending on one of the > implementations and not selecting one of them. > > Applied to u-boot/next, thanks! [1/1] cmd: Correct dependency for CMD_LINK_LOCAL commit: be7693386d7f2e46e490

[PATCH 03/52] video: Add a test for font measurement

2025-04-05 Thread Simon Glass
Add a simple test which measures a line of text using a Truetype font. Signed-off-by: Simon Glass --- test/dm/video.c | 29 + 1 file changed, 29 insertions(+) diff --git a/test/dm/video.c b/test/dm/video.c index 929fc16d0ef..6ce1a756e25 100644 --- a/test/dm/video.c

Re: [PATCH 2/2] env: point fdt address to the fdt in a bloblist

2025-04-05 Thread Raymond Mao
Hi Tom and Simon, On Fri, 28 Mar 2025 at 20:03, Tom Rini wrote: > > On Fri, Mar 28, 2025 at 11:39:13PM +, Simon Glass wrote: > > Hi Raymond, > > > > On Fri, 28 Mar 2025 at 09:06, Raymond Mao wrote: > > > > > > Hi Simon, > > > > > > On Fri, 28 Mar 2025 at 07:35, Simon Glass wrote: > > > > >

Re: [PATCH 2/3] efi_loader: binary_run: register an initrd

2025-04-05 Thread Ilias Apalodimas
On Wed, 19 Mar 2025 at 14:07, Adriano Córdova wrote: > > Hi Ilias, > > El mié, 19 mar 2025 a las 6:32, Ilias Apalodimas > () escribió: >> >> Hi Adriano, >> >> [...] >> >> > */ >> > static efi_status_t efi_binary_run_dp(void *image, size_t size, void *fdt, >> > +

Re: [PATCH] rockchip: io-domain: Enable by default for all supported SoCs

2025-04-05 Thread Jonas Karlman
Hi, On 2025-02-04 18:23, Chen-Yu Tsai wrote: > From: Chen-Yu Tsai > > The IO domain driver controls the I/O voltage for various pins, > MMC included. > > Enable it by default for all supported Rockchip SoCs. This will also enable the IO domain driver for evb-rk3399_defconfig, something we want

[PATCH 43/52] expo: Add forward declarations to scene_internal.h

2025-04-05 Thread Simon Glass
Provide some forward declarations for types used in this file, to keep the LSP happy and avoid errors if the caller happens not to include the required header. Signed-off-by: Simon Glass --- boot/scene_internal.h | 13 + 1 file changed, 13 insertions(+) diff --git a/boot/scene_inte

[PATCH v2 24/24] clk: imx: Pass struct udevice into imx_clk_fixed_factor*()

2025-04-05 Thread Marek Vasut
Pass struct udevice * into imx_clk_fixed_factor*() functions, so the clock core would have access to parent struct udevice *. Signed-off-by: Marek Vasut --- Cc: Adam Ford Cc: Christoph Niedermaier Cc: Dong Aisheng Cc: Fabio Estevam Cc: Hou Zhiqiang Cc: Michael Trimarchi Cc: Peng Fan Cc: Ti

Re: [PATCH] toradex: apalis-imx6: Fix build failure when CONFIG_VIDEO_IPUV3 is enabled

2025-04-05 Thread Tom Rini
On Sun, Mar 30, 2025 at 08:56:32PM +0200, Francesco Dolcini wrote: > On Fri, Mar 28, 2025 at 10:05:57AM -0600, Tom Rini wrote: > > On Fri, Mar 28, 2025 at 11:20:40AM +0100, raf...@beims.me wrote: > > > > > From: Rafael Beims > > > > > > If CONFIG_VIDEO_IPUV3 is enabled without also having CONFIG

[PATCH] mtd: spi-nor: Use CONFIG_IS_ENABLED for CONFIG_SPI_FLASH_BAR defines

2025-04-05 Thread Bernhard Messerklinger
At the moment a mixture of ifdef(CONFIG_IS_ENABLED) and CONFIG_IS_ENABLED(SPI_FLASH_BAR) is used in the spi-nor framework. This leads to misbehaviour in the SPL as there is no Kconfig option CONFIG_SPL_SPI_FLASH_BAR. This commit standardizes the use of CONFIG_SPI_FLASH to get SPLs that load U-Boot

回复: [PATCH v8 01/19] firmware: scmi: smt: Interrupt communication enable

2025-04-05 Thread Alice Guo (OSS)
> -邮件原件- > 发件人: Marek Vasut > 发送时间: 2025年3月22日 8:38 > 收件人: Alice Guo (OSS) ; Tom Rini > ; Lukasz Majewski ; Sean Anderson > ; Simon Glass ; Stefano Babic > ; Fabio Estevam ; dl-uboot-imx > ; Alper Nebi Yasak ; Alice > Guo ; Lothar Waßmann > 抄送: u-boot@lists.denx.de; Viorel Suman ; Ye Li >

Re: [PATCH v4 1/1] efi_loader: expose the device-tree file name

2025-04-05 Thread Tom Rini
On Sun, Mar 30, 2025 at 04:38:12PM +0200, Caleb Connolly wrote: > Hi Heinrich, > > On 3/28/25 15:18, Heinrich Schuchardt wrote: > > On 28.03.25 14:00, Caleb Connolly wrote: > > > > > > > > > On 3/28/25 13:01, Simon Glass wrote: > > > > Hi Caleb, > > > > > > > > On Sun, 23 Mar 2025 at 12:39, Cal

Re: [PATCH v4 1/6] board/qualcomm: introduce phone config

2025-04-05 Thread Sam Day
G'day Caleb, On Mon Mar 31, 2025 at 2:23 PM CEST, Caleb Connolly wrote: > Phones don't have keyboards! Introduce a phone-specific config fragment > and associated environment file to make U-Boot more useful on these > devices. This allows for navigating via the buttons and enabling > various USB g

Re: [PATCH 1/2] efi_loader: Move public cert for capsules to .rodata

2025-04-05 Thread Neil Armstrong
On 03/04/2025 16:53, neil.armstr...@linaro.org wrote: On 01/04/2025 13:27, Ilias Apalodimas wrote: commit ddf67daac39d ("efi_capsule: Move signature from DTB to .rodata") was reverted in commit 47a25e81d35c ("Revert "efi_capsule: Move signature from DTB to .rodata"") because that's what U-Boot w

回复: [PATCH v7 10/19] imx9: scmi: add i.MX95 SoC and clock related code

2025-04-05 Thread Alice Guo (OSS)
> -邮件原件- > 发件人: Lothar Waßmann > 发送时间: 2025年3月6日 13:42 > 收件人: Alice Guo (OSS) > 抄送: Tom Rini ; Lukasz Majewski ; > Sean Anderson ; Simon Glass ; > Stefano Babic ; Fabio Estevam ; > dl-uboot-imx ; Alper Nebi Yasak > ; Alice Guo ; > ma...@denx.de; u-boot@lists.denx.de; Peng Fan ; Ye Li > >

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

2025-04-05 Thread Tom Rini
On Mon, Mar 24, 2025 at 08:01:30PM -0600, Tom Rini wrote: > Hey all, > > So it's release day and I have tagged and pushed things out. This will > be merged to -next shortly. > > One thing to note is that just today a bug was reported due to a missing > 'fallthrough;' line and in turn we need to

Re: [PATCH v4 4/5] rpi: Update environment to support booti and large initrd

2025-04-05 Thread Christopher Obbard
Hi Simon, On Thu, 2024-12-19 at 17:34 -0700, Simon Glass wrote: > The existing values don't provide for decompressing an arm64 boot- > image. > Add those values and move things apart a bit so that a 50MB kernel > can be > accommodated. > > Signed-off-by: Simon Glass Reviewed-by: Christopher Obb

[RFC PATCH v3 0/5] cmd: fuse: Introduce fuse writebuff sub-system and clean up

2025-04-05 Thread Harsha Vardhan V M
This patch series introduces the fuse writebuff sub-system command and makes improvements to the existing fuse implementation by removing the custom string functions. The patches are required to be applied in sequence. The series consists of the following changes: Patch 1 removes custom string fun

[PATCH RFC/RFT 1/2] gpio: qcom: add new driver for SPMI gpios

2025-04-05 Thread Neil Armstrong
The current qcom_pmic_gpio driver is too limited and doesn't support state tracking for all pins like the Linux driver. Adding full pinconf support would require adding the state and it's much simpler to restart from scratch with a new driver based on the Linux one adapted to the U-Boot GPIO and P

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

2025-04-05 Thread Tom Rini
On Thu, 20 Mar 2025 00:48:00 +0100, Marek Vasut wrote: > Renesas RZ/G2L USB support, remaining RAVB ethernet fix and > KSZ9031 LED errata fix for next. > > The following changes since commit 8bc3542384e3a1219e5ffb62b79d16dddc1b1fb9: > > Merge patch series "pxe: Precursor series for supporting

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

2025-04-05 Thread Tom Rini
On Tue, Mar 25, 2025 at 10:17:19AM +0100, Mattijs Korpershoek wrote: > Hi Tom, > > On lun., mars 24, 2025 at 20:01, Tom Rini wrote: > > > Hey all, > > > > So it's release day and I have tagged and pushed things out. This will > > be merged to -next shortly. > > > > One thing to note is that just

[PATCH v2 3/3] ata: ahci: implement SCSI_SYNC_CACHE

2025-04-05 Thread Caleb Connolly
The SCSI layer now issues a SYNC_CACHE command after every write to ensure there is no data loss due to a board reset after write. Implement support for this command and remove the same logic from the ATA write path to be consistent with other SCSI backends. Ranges are not supported and the whole

Re: [PATCH] acpi: Fix table length for QEMU

2025-04-05 Thread Björn Töpel
On Thu, 3 Apr 2025 at 09:02, Ilias Apalodimas wrote: > > On Thu, 3 Apr 2025 at 09:57, Heinrich Schuchardt wrote: > > > > On 4/3/25 07:53, Ilias Apalodimas wrote: > > > On Thu, 3 Apr 2025 at 08:34, Ilias Apalodimas > > > wrote: > > >> > > >> The end of the ACPI table is set to 'addr' instead of '

Re: [PATCH] toradex: apalis-imx6: Fix build failure when CONFIG_VIDEO_IPUV3 is enabled

2025-04-05 Thread Francesco Dolcini
On Fri, Mar 28, 2025 at 11:20:40AM +0100, raf...@beims.me wrote: > From: Rafael Beims > > If CONFIG_VIDEO_IPUV3 is enabled without also having CONFIG_IMX_HDMI > enabled, the build fails for the Apalis iMX6 board. > > Fixes: 592f4aed6db7 ("arm: imx: initial support for apalis imx6") > Signed-off-

Re: RISC-V UEFI/ACPI on QEMU regression?

2025-04-05 Thread Simon Glass
Hi, On Thu, 3 Apr 2025 at 03:36, Ilias Apalodimas wrote: > > On Wed, 2 Apr 2025 at 17:26, Ilias Apalodimas > wrote: > > > > Hey Bjorn > > > > Long time, hope all is well! > > > > On Wed, 2 Apr 2025 at 16:22, Björn Töpel wrote: > > > > > > Hi, > > > > > > I think I got a regression from commit 5

[PATCH v5 08/16] cyclic: invoke uthread_schedule() from schedule()

2025-04-05 Thread Jerome Forissier
Make the schedule() call from the CYCLIC framework a uthread scheduling point too. This makes sense since schedule() is called from a lot of places where uthread_schedule() needs to be called. Signed-off-by: Jerome Forissier Reviewed-by: Ilias Apalodimas Reviewed-by: Stefan Roese --- common/cy

Re: [PATCH 3/6] mach-snapdragon: qcom SCM call support

2025-04-05 Thread Caleb Connolly
On 1/27/25 23:03, Sam Day wrote: These calls are a little more complex than a standard SMCCC instruction. There's 32bit/64bit calling conventions, support for passing more arguments than can fit in the usual registers (by placing a pointer to the additional args in x7), and the use of a qcom-s

[PATCH v2 4/7] membuf: Include stdbool

2025-04-05 Thread Simon Glass
This uses a bool type so include the required header. Signed-off-by: Simon Glass --- (no changes since v1) include/membuf.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/membuf.h b/include/membuf.h index 17616d5577e..636ed703ee7 100644 --- a/include/membuf.h +++ b/include/membu

Re: [PATCH v8 05/19] scmi_protocols: add SCMI Performance domain management protocol message IDs

2025-04-05 Thread Marek Vasut
On 3/21/25 8:15 AM, Alice Guo (OSS) wrote: 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 correspondin

  1   2   3   >