[PATCH 5/9] beagle: beagley-ai: env: Enable DFU env options

2025-04-11 Thread Nishanth Menon
We just have sd/mmc, so set things up for the same Signed-off-by: Nishanth Menon --- board/beagle/beagley-ai/beagley-ai.env | 2 ++ 1 file changed, 2 insertions(+) diff --git a/board/beagle/beagley-ai/beagley-ai.env b/board/beagle/beagley-ai/beagley-ai.env index 16a03acfca3c..26f12c8814cc 1006

Re: [PATCH 2/9] arch: arm: dts: k3-am67a-beagley-ai-u-boot: Mark main_gpio1 as bootph-all

2025-04-11 Thread Nishanth Menon
On 17:57-20250411, Nishanth Menon wrote: > main_gpio1 controls the voltage for the SDcard from 3.3v to 1.8v. > This is required for proper operation of SDcard through various boot > stages. > > Fixes the following seen in the boot log: > failed to set vqmmc-voltage to 3.3V

[PATCH 6/9] configs: am67a_beagley_ai*: Use saveddefconfig

2025-04-11 Thread Nishanth Menon
Drop using j722s_evm defconfig since the evm has numerous features that we do not need on BeagleY-AI platform. As new peripherals get added to EVM support, we end up having to cleanup after in beagle configurations. Instead of doing that, just split up BeagleY's configuration independently out. N

[PATCH 8/9] configs: am67a_beagley_ai_a53: Enable additional features

2025-04-11 Thread Nishanth Menon
Enable basic efi capsule features, switch over to stdboot, enable GPIO, LED and PMIC used on this platform. And enable UHS mode support for SD cards in U-Boot. Capsule support is still pending. Signed-off-by: Nishanth Menon --- configs/am67a_beagley_ai_a53_defconfig | 12 +++- 1 file ch

[PATCH 7/9] configs:am67a_beagley_ai*: Drop un-necessary config options

2025-04-11 Thread Nishanth Menon
Drop SPI, EMMC, GPIO expanders that come with EVM etc. Signed-off-by: Nishanth Menon --- configs/am67a_beagley_ai_a53_defconfig | 8 configs/am67a_beagley_ai_r5_defconfig | 23 --- 2 files changed, 31 deletions(-) diff --git a/configs/am67a_beagley_ai_a53_defconfi

[PATCH 1/9] board: beagle: beagley-ai: Add pattern match for MAINTAINERS

2025-04-11 Thread Nishanth Menon
just use beagley_ai as pattern match for the files and folders involved. Signed-off-by: Nishanth Menon --- board/beagle/beagley-ai/MAINTAINERS | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/board/beagle/beagley-ai/MAINTAINERS b/board/beagle/beagley-ai/MAINTAINERS index 1

[PATCH 9/9] doc: beagle: Add BeagleY-AI documentation

2025-04-11 Thread Nishanth Menon
Document the BeagleY-AI usage, build and basic debug hints Signed-off-by: Nishanth Menon --- doc/board/beagle/am67a_beagley_ai.rst | 228 ++ doc/board/beagle/index.rst| 1 + doc/board/ti/k3.rst | 1 + 3 files changed, 230 insertions(+) c

[PATCH 0/9] board: beagle: beagley-ai: Cleanups and

2025-04-11 Thread Nishanth Menon
Just happened to get a BeagleY-AI at desk and happened to test master branch (7dd49a9264a6 drivers: scsi: Add 'erase' support), noticed a few issues which were rather easy to solve.. so, here we go: Bootlog: https://gist.github.com/nmenon/a3a18825a783c0c3798cc72506cfead2 I tried to enable efi cap

[PATCH 2/9] arch: arm: dts: k3-am67a-beagley-ai-u-boot: Mark main_gpio1 as bootph-all

2025-04-11 Thread Nishanth Menon
main_gpio1 controls the voltage for the SDcard from 3.3v to 1.8v. This is required for proper operation of SDcard through various boot stages. Fixes the following seen in the boot log: failed to set vqmmc-voltage to 3.3V Signed-off-by: Nishanth Menon --- arch/arm/dts/k3-am67a-beagley-ai-u-boot.

[PATCH 3/9] beagle: beagley-ai: env: Set up the boot devices and boot methods

2025-04-11 Thread Nishanth Menon
We just have a single MMC on BeagleY-AI. So drop all other boot options, In the meanwhile, we also will use efiboot and standard boot methods consistent with other K3 Beagle products. Signed-off-by: Nishanth Menon --- board/beagle/beagley-ai/beagley-ai.env | 3 ++- 1 file changed, 2 insertions(

[PATCH 4/9] beagle: beagley-ai: env: Setup scripts for LED control

2025-04-11 Thread Nishanth Menon
Most of the users of BeagleY-AI are headless OR do not use serial port. In such cases, it is very useful for the device to provide some level of indication to know what state their board is at. Unfortunately, with a single LED, the options are limited. This is a precursor patch to actually enablin

[PATCH] configs: am65x_evm_a53: convert to a standard boot flow

2025-04-11 Thread Bryan Brattlof
get_fit_${boot}; run get_overlaystring; run run_fit; else; run get_kern_${boot}; run get_fdt_${boot}; run get_overlay_${boot}; run run_kern; fi;" CONFIG_LOGLEVEL=7 CONFIG_SPL_MAX_SIZE=0x58000 CONFIG_SPL_SYS_MALLOC_SIMPLE=y --- base-commit: 7dd49a9264a6de349343a873e465e1a5fcd459e3 change-id

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

2025-04-11 Thread Jonas Karlman
Hi, On 2025-04-05 22:46, K900 wrote: > The 5 Max is another board in the Orange Pi 5 family. > > It's overall similar to the 5 Plus, but in a smaller form factor, > which leads to some I/O being reshuffled, but nothing relevant > to u-boot. > > So, just reuse the config for the 5 Plus and adjust

Re: [PATCH v5 00/16] Uthreads

2025-04-11 Thread Tom Rini
On Mon, Mar 31, 2025 at 02:30:54PM +0200, Jerome Forissier wrote: > This series introduces threads and uses them for two things: > - Improve the performance of the USB bus scanning code (scan multiple > busses simultaneously), > - Implement background jobs in the shell via two new commands: 'spawn

Re: [PATCH] tools/make_pip: Use virtualenv when invoking pip

2025-04-11 Thread Tom Rini
On Wed, Apr 09, 2025 at 09:46:34AM +0200, Mattijs Korpershoek wrote: > Recent Ubuntu versions (24.04+) disallow pip by default when > installing packages. The recommended approach is to use a virtualenv > instead. > Because of this, "make pip" is failing on such versions. > > To prepare CI contai

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

2025-04-11 Thread Tom Rini
On Wed, Apr 02, 2025 at 06:55:02AM +1300, Simon Glass wrote: > Hi Tom, > > On Wed, 2 Apr 2025 at 05:49, Tom Rini wrote: > > > > On Wed, Apr 02, 2025 at 04:49:18AM +1300, Simon Glass wrote: > > > Hi Tom, > > > > > > On Mon, 31 Mar 2025 at 03:45, Tom Rini wrote: > > > > > > > > On Thu, Mar 20, 202

Pull request efi-2025-07-rc1

2025-04-11 Thread Heinrich Schuchardt
Dear Tom, The following changes since commit cb7555e93075114fe4af0adb806877ac4d4ef80d: Merge patch series "*** Add Ethernet boot support for AM62Ax + phyCORE-AM62 SoMs ***" (2025-04-10 15:04:09 -0600) are available in the Git repository at: https://source.denx.de/u-boot/custodians/u-boot-e

Re: [PATCH v3 0/0] Switch to using $(PHASE_) in Makefiles

2025-04-11 Thread Tom Rini
On Tue, 01 Apr 2025 16:55:22 -0600, Tom Rini wrote: > Hey all, > > This series switches to always using $(PHASE_) in Makefiles when > building rather than $(PHASE_) or $(XPL_). It also starts on documenting > this part of the build, but as a follow-up we need to rename > doc/develop/spl.rst and e

Re: [PATCH] cmd: optee: fix hello subcommand argument check

2025-04-11 Thread Tom Rini
On Fri, 04 Apr 2025 14:53:58 +0200, Vincent Stehlé wrote: > When the `optee hello' subcommand is called, the do_optee_hello_world_ta() > function passes a NULL pointer to the strcmp() function while verifying its > input argument, which results in the following crash: > > => optee hello > "Sy

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

2025-04-11 Thread Tom Rini
On Thu, 03 Apr 2025 16:47:53 +0200, Heinrich Schuchardt wrote: > The number of memory banks in QEMU is not bounded by 1. > > In this example we have two banks: > > qemu-system-aarch64 \ > -machine virt \ > -nographic \ > -cpu cortex-a72 \ > -m 8G \ > -smp 8,sockets=2,core

Re: [PATCH 1/3] configs: phycore_am64x_a53_defconfig: Enable remoteproc cmd

2025-04-11 Thread Tom Rini
On Thu, 27 Mar 2025 22:58:22 -0700, Daniel Schultz wrote: > This enables the 'rproc' command, allowing users to > start, stop, and manage co-processors as well as load firmware > images. > > Useful for systems with auxiliary cores, such as M4 or R5 cores > in the AM64x soc. > > [...] Applied to

Re: (subset) [PATCH 1/2] Dockerfile: install byacc

2025-04-11 Thread Tom Rini
On Tue, 01 Apr 2025 10:46:41 +0200, Leonard Anderweit wrote: > Install byacc required to build cst from source. > > Applied to u-boot/master, thanks! [2/2] CI: Build missing binman tools before binman tests commit: 1e5e45983d80776426d4b4e467531b29f52cbc4b -- Tom

Re: [RFC PATCH v1 1/7] efi_loader: make efi_exit_boot_services() call bootstage_report()

2025-04-11 Thread Tom Rini
On Fri, Apr 11, 2025 at 12:32:12PM -0600, Simon Glass wrote: > Hi Jerome, > > On Fri, 11 Apr 2025 at 09:31, Jerome Forissier > wrote: > > > > CONFIG_BOOTSTAGE_REPORT is currently supported in the bootm command > > only. Add support to the EFI boot. > > > > Signed-off-by: Jerome Forissier > > ---

[PATCH 4/5] sunxi: h6: dram: split dram_para struct

2025-04-11 Thread Jernej Skrabec
This change is same as in 78aa00c38e86 ("sunxi: H616: dram: split struct dram_para"), but for H6. This is needed in order to extract common code between H6 and H616 later. Signed-off-by: Jernej Skrabec --- .../include/asm/arch-sunxi/dram_sun50i_h6.h | 7 +- arch/arm/mach-sunxi/dram_sun50i_h6

Re: [RFC PATCH v1 1/7] efi_loader: make efi_exit_boot_services() call bootstage_report()

2025-04-11 Thread Simon Glass
Hi Jerome, On Fri, 11 Apr 2025 at 09:31, Jerome Forissier wrote: > > CONFIG_BOOTSTAGE_REPORT is currently supported in the bootm command > only. Add support to the EFI boot. > > Signed-off-by: Jerome Forissier > --- > > lib/efi_loader/efi_boottime.c | 7 +++ > 1 file changed, 7 insertions(+

Re: [PATCH 1/6] event: signal when livetree has been built

2025-04-11 Thread Simon Glass
Hi Caleb, On Fri, 11 Apr 2025 at 05:52, Caleb Connolly wrote: > > > > On 4/10/25 23:25, Simon Glass wrote: > > Hi Caleb, > > > > On Thu, 10 Apr 2025 at 09:41, Caleb Connolly > > wrote: > >> > >> Hi Simon, > >> > >> On 4/10/25 16:15, Simon Glass wrote: > >>> Hi Caleb, > >>> > >>> On Thu, 10 Apr

Re: [PATCH v2 1/8] event: signal when livetree has been built

2025-04-11 Thread Simon Glass
Hi Caleb, On Fri, 11 Apr 2025 at 06:47, Caleb Connolly wrote: > > OF_LIVE offers a variety of benefits, one of them being that the live > tree can be modified without caring about the underlying FDT. This is > particularly valuable for working around U-Boot limitations like lacking > USB superspe

Re: [PULL] Please pull qcom-for-2025.07

2025-04-11 Thread Tom Rini
On Fri, 11 Apr 2025 16:30:41 +0200, Caleb Connolly wrote: > There's been a surprising amount of activity lately on the Qualcomm > side with the two oldest boards getting some fresh attention and a lot > of cleanup and polish going on across the board. > > * SDM660 gets USB phy fixes and a pinctrl

Re: Pull request efi-2025-07-rc1

2025-04-11 Thread Tom Rini
On Fri, 11 Apr 2025 14:57:55 +0200, Heinrich Schuchardt wrote: > The following changes since commit cb7555e93075114fe4af0adb806877ac4d4ef80d: > >Merge patch series "*** Add Ethernet boot support for AM62Ax + > phyCORE-AM62 SoMs ***" (2025-04-10 15:04:09 -0600) > > are available in the Git re

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

2025-04-11 Thread Tom Rini
On Fri, 11 Apr 2025 11:09:06 -0300, Fabio Estevam wrote: > Please pull from u-boot-imx/master, thanks. > > The following changes since commit cb7555e93075114fe4af0adb806877ac4d4ef80d: > > Merge patch series "*** Add Ethernet boot support for AM62Ax + phyCORE-AM62 > SoMs ***" (2025-04-10 15:04

Re: [GIT PULL] Please pull mmc-2025-04-11

2025-04-11 Thread Tom Rini
On Fri, 11 Apr 2025 15:39:23 +0800, Peng Fan wrote: > Please pull mmc-2025-04-11 > > - > Support Sandisk and Micron eMMC BOOT/RPMB hardware partition resizing > Optimize eMMC erasing time > Simplify poll CD logic > Fix possib

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

2025-04-11 Thread Simon Glass
Hi Ilias, On Fri, 11 Apr 2025 at 04:04, Ilias Apalodimas wrote: > > Hi Simon > > On Sat, 5 Apr 2025 at 23:46, Simon Glass wrote: > > > > The EFI-loader code has not been fully converted to use bloblist, so > > relies on the SMBIOS-table address being set in global_data. > > Can you explain a bit

Re: [RFC PATCH v1 0/7] Bootstage reports for CI

2025-04-11 Thread Tom Rini
On Fri, Apr 11, 2025 at 05:29:26PM +0200, Jerome Forissier wrote: > The BOOTSTAGE Kconfig symbol allows to record boot time information > which can be consumed in several ways: > > 1) Printed to the console just before the OS is booted (when >BOOTSTAGE_REPORT=y) > 2) Printed to the console by

[PATCH] buildman: Update to grabbing gcc-14.2.0 toolchains by default

2025-04-11 Thread Tom Rini
With the switch to using GCC 14.2.0 in commit 001bac5f16ad ("Dockerfile: Update to gcc-14.2.0 and clang-18") in CI, we should make buildman match this. Signed-off-by: Tom Rini --- tools/buildman/toolchain.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/buildman/toolc

Re: Gitlab runner timeout on evb-ast2600 ?

2025-04-11 Thread Tom Rini
On Fri, Apr 11, 2025 at 10:42:48AM -0600, Tom Rini wrote: > On Fri, Apr 11, 2025 at 05:26:55PM +0200, Cédric Le Goater wrote: > > On 4/11/25 17:01, Tom Rini wrote: > > > On Fri, Apr 11, 2025 at 09:23:59AM +0200, Cédric Le Goater wrote: > > > > Hi, > > > > > > > > On 4/11/25 01:14, Tom Rini wrote:

Issues with AMD Genoa/Bergamo PCIe Bridge

2025-04-11 Thread Jonas Licht
Hi, I do have the issue that my u-boot is not finding my sata hard disk. I'm using a supermicro H13SSW server with an efi payload64, with the defconfig + CONFIG_DM_PCI_COMPAT=y CONFIG_PCI_REGION_MULTI_ENTRY=y CONFIG_PCI_ARID=y CONFIG_PCIE_ECAM_GENERIC=y It looks like while probing the pci bus, u-

Re: Gitlab runner timeout on evb-ast2600 ?

2025-04-11 Thread Cédric Le Goater
On 4/11/25 17:01, Tom Rini wrote: On Fri, Apr 11, 2025 at 09:23:59AM +0200, Cédric Le Goater wrote: Hi, On 4/11/25 01:14, Tom Rini wrote: On Fri, Apr 11, 2025 at 08:07:15AM +0930, Joel Stanley wrote: On Mon, 7 Apr 2025 at 23:25, Eugen Hristev wrote: Hi everyone, I keep getting an error on

Re: [PATCH] firmware: scmi: smt: Interrupt communication enable

2025-04-11 Thread Fabio Estevam
On Tue, Apr 1, 2025 at 4:57 AM Alice Guo (OSS) wrote: > > From: Viorel Suman > > i.MX95 System Manager uses interrupt driven communication which requires > the caller to set Bit[0] of channel flags to 1. When transmission > completes and the previous general purpose interrupt has been processed >

Re: Gitlab runner timeout on evb-ast2600 ?

2025-04-11 Thread Tom Rini
On Fri, Apr 11, 2025 at 05:26:55PM +0200, Cédric Le Goater wrote: > On 4/11/25 17:01, Tom Rini wrote: > > On Fri, Apr 11, 2025 at 09:23:59AM +0200, Cédric Le Goater wrote: > > > Hi, > > > > > > On 4/11/25 01:14, Tom Rini wrote: > > > > On Fri, Apr 11, 2025 at 08:07:15AM +0930, Joel Stanley wrote:

[PATCH RFC] fit: allow to specify RSAPSS padding salt length magic value

2025-04-11 Thread Quentin Schulz
saltlen_name = fdt_getprop(fit, noffset, "padding-saltlen", NULL); memset(info, '\0', sizeof(*info)); info->keydir = keydir; @@ -198,6 +200,7 @@ static int fit_image_setup_sig(struct image_sign_info *info, info->checksum = image_get_checksum_algo(algo_name); info->crypto = image_get_crypto_algo(algo_name); info->padding = image_get_padding_algo(padding_name); + info->saltlen_name = saltlen_name; info->require_keys = require_keys; info->engine_id = engine_id; if (!info->checksum || !info->crypto) { --- base-commit: cb7555e93075114fe4af0adb806877ac4d4ef80d change-id: 20250411-rsapss-saltlen-b8d7a676565a Best regards, -- Quentin Schulz

[PATCH 1/5] sunxi: h616: Panic if DRAM size is not detected

2025-04-11 Thread Jernej Skrabec
If colum or row size is not detected, panic instead of continuing. It won't work anyway and it's better to inform user directly what's wrong instead of failing later down the road for random reason. Signed-off-by: Jernej Skrabec --- arch/arm/mach-sunxi/dram_sun50i_h616.c | 16 +--- 1

Re: [PATCH] common: console: move break; statement

2025-04-11 Thread Tom Rini
On Tue, 25 Mar 2025 17:47:44 +, Andre Przywara wrote: > In console_setfile(), there is some #ifdef'ed code, updating monitor > functions for a U-Boot proper build. This is called inside a switch/case > statement, but the closing "break;" is inside the #ifdef section. > This doesn't look right:

[PATCH 5/5] sunxi: h6/h616: Reuse common DRAM infrastructure

2025-04-11 Thread Jernej Skrabec
H616 rank and size detection code is superior to the H6. Nevertheless, they are structurally the same. Split functions from H616 into new file and reuse them in H6 DRAM driver too. This should also fix some bugs for H6 too, like incorrect DRAM size detection. Signed-off-by: Jernej Skrabec --- ..

[PATCH 2/5] sunxi: H6: Remove useless DRAM timings parameter

2025-04-11 Thread Jernej Skrabec
This is just cosmetic fix for later easier rework. Signed-off-by: Jernej Skrabec --- arch/arm/include/asm/arch-sunxi/dram_sun50i_h6.h | 2 +- arch/arm/mach-sunxi/dram_sun50i_h6.c | 2 +- arch/arm/mach-sunxi/dram_timings/h6_ddr3_1333.c | 2 +- arch/arm/mach-sunxi/dram_timings/h6_lpdd

[PATCH 3/5] sunxi: H6: DRAM: Constify function parameters

2025-04-11 Thread Jernej Skrabec
Constify parameters for two reasons: - Allow more compile time optimizations - It will allow later sharing of common code with H616 (when it will be rearranged some more) Commit does same kind of changes as 457e2cd665bd ("sunxi: H616: dram: const-ify DRAM function parameters") Signed-off-by: Je

[PATCH 0/5] sunxi: h6/h616: consolidate DRAM code

2025-04-11 Thread Jernej Skrabec
While working on A523 support, it became obvious that newer sunxi DRAM drivers are similar in many ways, so it makes sense to share some code between them. Let's start with DRAM size and ranks detection. There were many fixes for it in H616 driver, so make sense to unify code interface and split ou

[PATCH 2/2] ARM: mach-meson: use livetree by default

2025-04-11 Thread Neil Armstrong
Finally enable OF_LIVE by default on the Amlogic support, this add some cost to build the live tree, but makes DT parsing from driver much faster. Signed-off-by: Neil Armstrong --- arch/arm/mach-meson/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-meson/Kconfig b/arch/

[RFC PATCH v1 6/7] sandbox64_defconfig: enable bootstage report in JSON and InfluxDB formats

2025-04-11 Thread Jerome Forissier
Enable the bootstage report in JSON and InfluxDB formats. This also enables the unit tests (test_bootstage_report_json() and test_bootstage_report_influxdb() in test/py/tests/test_bootstage.py). Signed-off-by: Jerome Forissier --- configs/sandbox64_defconfig | 2 ++ 1 file changed, 2 insertions

[PATCH] stm32mp: Add nvram driver

2025-04-11 Thread Patrice Chotard
From: Simeon Marijon TAMP backup registers will be exposed as nvmem cells. Each registers ([0..127] for STM32MP2, [0..31] for STM32MP1) could be exposed as nvmem cells under the nvram node in device tree Signed-off-by: Simeon Marijon Signed-off-by: Patrice Chotard --- arch/arm/mach-stm32mp/

[PATCH 1/2] pinctrl: meson: convert to livetree

2025-04-11 Thread neil . armstrong
From: Beniamino Galvani Update the Meson pinctrl/gpio driver to support a live device tree. Signed-off-by: Beniamino Galvani Link: https://lore.kernel.org/r/20170709223006.3998-5-b.galv...@gmail.com Signed-off-by: Neil Armstrong --- drivers/pinctrl/meson/pinctrl-meson.c | 73 +

[PATCH] amd: versal2: Add support for saving env based on bootmode

2025-04-11 Thread Venkatesh Yadav Abbarapu
Enable saving variables to MMC(FAT) and SPI based on primary bootmode. If bootmode is JTAG, dont save env anywhere(NOWHERE). Enable ENV_FAT_DEVICE_AND_PART="0:auto" for Versal Gen2 platform. Signed-off-by: Venkatesh Yadav Abbarapu --- board/amd/versal2/board.c | 32

Re: Gitlab runner timeout on evb-ast2600 ?

2025-04-11 Thread Tom Rini
On Fri, Apr 11, 2025 at 05:26:49PM +0930, Joel Stanley wrote: > On Fri, 11 Apr 2025 at 16:54, Cédric Le Goater wrote: > > > > Hi, > > > > On 4/11/25 01:14, Tom Rini wrote: > > > On Fri, Apr 11, 2025 at 08:07:15AM +0930, Joel Stanley wrote: > > >> On Mon, 7 Apr 2025 at 23:25, Eugen Hristev > > >>

[RFC PATCH v1 3/7] test/py/tests/test_bootstage.py: add test for JSON report

2025-04-11 Thread Jerome Forissier
Add test for CONFIG_BOOTSTAGE_REPORT_JSON. Signed-off-by: Jerome Forissier --- test/py/tests/test_bootstage.py | 9 + 1 file changed, 9 insertions(+) diff --git a/test/py/tests/test_bootstage.py b/test/py/tests/test_bootstage.py index 379c1cae6dd..8d0afe2611b 100644 --- a/test/py/tests

[RFC PATCH v1 7/7] test/py/tests/test_bootstage.py: upload bootstage data to InfluxDB cloud

2025-04-11 Thread Jerome Forissier
If the BOOTSTAGE_INFLUXDB_URI and BOOTSTAGE_INFLUXDB_TOKEN environment variables are set, the bootstage test will upload the timing information to the specified InfluxDB instance. This is meant to be used in CI to publish results for a particular board/build for later analysis. Note: use "precision

[RFC PATCH v1 5/7] test/py/tests/test_bootstage.py: add test for InfluxDB report

2025-04-11 Thread Jerome Forissier
Add test for CONFIG_BOOTSTAGE_REPORT_INFLUXDB. Signed-off-by: Jerome Forissier --- test/py/tests/test_bootstage.py | 11 +++ 1 file changed, 11 insertions(+) diff --git a/test/py/tests/test_bootstage.py b/test/py/tests/test_bootstage.py index 8d0afe2611b..5619eaf4676 100644 --- a/test/

[RFC PATCH v1 4/7] bootstage: add support for reporting in InfluxDB v2 line format

2025-04-11 Thread Jerome Forissier
Add a new Kconfig symbol: BOOTSTAGE_REPORT_INFLUXDB to report the bootstage timing information in InfluxDB v2 line protocol format in addition to the human-readable text format. InfluxDB provides an easy way to record boot statistics during CI in order to detect performance regressions. [1] https:

[RFC PATCH v1 2/7] bootstage: add support for reporting in JSON format

2025-04-11 Thread Jerome Forissier
Add a new Kconfig symbol: BOOTSTAGE_REPORT_JSON to report the bootstage timing information in JSON format in addition to the human-readable text format. JSON is easier to parse by machines and represent graphically. The main goal is to be able to record boot statistics during CI in order to detect

[RFC PATCH v1 1/7] efi_loader: make efi_exit_boot_services() call bootstage_report()

2025-04-11 Thread Jerome Forissier
CONFIG_BOOTSTAGE_REPORT is currently supported in the bootm command only. Add support to the EFI boot. Signed-off-by: Jerome Forissier --- lib/efi_loader/efi_boottime.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/lib/efi_loader/efi_boottime.c b/lib/efi_loader/efi_boottime.c index

[RFC PATCH v1 0/7] Bootstage reports for CI

2025-04-11 Thread Jerome Forissier
The BOOTSTAGE Kconfig symbol allows to record boot time information which can be consumed in several ways: 1) Printed to the console just before the OS is booted (when BOOTSTAGE_REPORT=y) 2) Printed to the console by the "bootstage report" command (when CMD_BOOTSTAGE=y) 3) Passed to the OS i

Re: [PATCH v2 4/8] mach-snapdragon: of_fixup: remove confusing log message

2025-04-11 Thread Neil Armstrong
On 11/04/2025 14:47, Caleb Connolly wrote: The debug log here had the logic completely backwards, even though the code is actually correct. Remove it since it's extraneous anyway. Signed-off-by: Caleb Connolly --- arch/arm/mach-snapdragon/of_fixup.c | 9 + 1 file changed, 5 insertion

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

2025-04-11 Thread Paweł Kochanowski
Hi Horia, > From: Horia Geanta > Sent: Wednesday, April 9, 2025 6:47 PM > > On 4/9/2025 9:19 AM, Gaurav Jain wrote: > > Hi Pawel > > > >> From: Paweł Kochanowski > >> > >> Hi Gaurav, > >> > >> What we see is that the jr_enqueue() called by run_descriptor_jr() > >> swaps the endianness of the de

Re: [PATCH] bootm: Add support for passing arguments to elf app

2025-04-11 Thread Tom Rini
On Mon, Mar 24, 2025 at 03:05:56AM +, ţ ־�� wrote: > This extends the bootm command to allow passing arguments to standalone > ELF applications. > > Signed-off-by: Niu Zhihong Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

[PATCH v2 1/4] mach-snapdragon: track boot source

2025-04-11 Thread Caleb Connolly
Keep track of whether we were loaded via ABL or if U-Boot is running as a first-stage bootloader. For now we set this based on if we have a valid external FDT or not, since it isn't possible to chainload U-Boot from ABL without there being an external FDT. This will be used to inform the capsule

[PATCH v2 3/4] dfu: scsi: don't call scsi_scan()

2025-04-11 Thread Caleb Connolly
Calling scsi_scan() results in all the block devices (and EFI block devices) being destroyed and re-created. This breaks the EFI filesystem drivers during capsule update. Remove the call, since boards really should be calling scsi_scan() themselves during board_init(). Reviewed-by: Ilias Apalodim

[PATCH v2 2/4] mach-snapdragon: CapsuleUpdate: support all boot methods

2025-04-11 Thread Caleb Connolly
Expand capsule update support to correctly identify which partition U-Boot is flashed to (between xbl, uefi, and boot including A/B variants). Use qcom_boot_source to determine if we were chainloaded from ABL, meaning U-Boot is on the boot partition, otherwise we assume uefi if it's available, fin

[PATCH v2 4/4] qcom_defconfig: enable capsule update support

2025-04-11 Thread Caleb Connolly
We can now correctly identify which partition U-Boot is flashed to between uefi, xbl, and boot (including A/B support) so enable capsule update support for all boards. Reviewed-by: Ilias Apalodimas Signed-off-by: Caleb Connolly --- configs/qcm6490_defconfig | 6 -- configs/qcom_defconfig

[PATCH v2 0/4] Qualcomm: expand capsule update support

2025-04-11 Thread Caleb Connolly
The initial capsule update support only worked on the RB3 Gen 2 and made a lot of assumptions specific to that board. Implement the logic necessary to update U-Boot no matter where it was flashed to, independent of any particular board. First, we keep track of how U-Boot was loaded, specifically

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

2025-04-11 Thread Heinrich Schuchardt
On 11.04.25 12:04, Ilias Apalodimas wrote: Hi Simon On Sat, 5 Apr 2025 at 23:46, Simon Glass wrote: The EFI-loader code has not been fully converted to use bloblist, so relies on the SMBIOS-table address being set in global_data. Can you explain a bit more what this means? The SMBIOS tables

Re: Gitlab runner timeout on evb-ast2600 ?

2025-04-11 Thread Tom Rini
On Fri, Apr 11, 2025 at 09:23:59AM +0200, Cédric Le Goater wrote: > Hi, > > On 4/11/25 01:14, Tom Rini wrote: > > On Fri, Apr 11, 2025 at 08:07:15AM +0930, Joel Stanley wrote: > > > On Mon, 7 Apr 2025 at 23:25, Eugen Hristev > > > wrote: > > > > > > > > Hi everyone, > > > > > > > > I keep gett

Re: [PATCH] Dockerfile: Update to gcc-14.2.0 and clang-18

2025-04-11 Thread Tom Rini
On Fri, Apr 11, 2025 at 09:36:16AM +0200, Heinrich Schuchardt wrote: > On 1/29/25 00:02, Tom Rini wrote: > > Outside of changing versions here the other visible change is that we > > tell grub that riscv64 does not have "large model" support. Without this > > change the resulting mkimage is non-fun

[PATCH 0/2] ARM: meson: finally switch to livetree

2025-04-11 Thread neil . armstrong
mach-meson: use livetree by default arch/arm/mach-meson/Kconfig | 1 + drivers/pinctrl/meson/pinctrl-meson.c | 73 +++ 2 files changed, 40 insertions(+), 34 deletions(-) --- base-commit: f892a7f397a66d8d09f418d1e0e06dfb48bac27d change-id: 20250411-u-boot

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

2025-04-11 Thread Tom Rini
On Fri, Apr 11, 2025 at 07:00:16AM +, Maniyam, Dinesh wrote: > > > > -Original Message- > > From: Tom Rini > > Sent: Tuesday, 8 April 2025 10:27 pm > > To: Maniyam, Dinesh > > Cc: u-boot@lists.denx.de; Marek ; Simon > > ; Simon Glass ; Dario > > Binacchi ; Ilias Apalodimas > > ; Hei

Re: [PATCH] bootm: Support load images when os is elf

2025-04-11 Thread Tom Rini
On Tue, Apr 01, 2025 at 07:44:34AM +, ţ ־�� wrote: > This extends the bootm command to allow find images when os type is elf. > > Signed-off-by: Niu Zhihong Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH] armv8: start.S: Subordinate CPUs psci setup vector

2025-04-11 Thread Tom Rini
On Wed, 26 Mar 2025 09:44:12 +0800, Xu Zhang wrote: > As current design, only Manager CPU called armv8_setup_psci() before > jump to next stage(such as Linux Kernel), Subordinate CPUs also need > setup psci vector to handle trap request which comes from higher EL > level. > > Applied to u-boot/

Re: [PATCH v2] configs: set SPL_TEXT_BASE by default for k3 platforms

2025-04-11 Thread Tom Rini
On Thu, Apr 10, 2025 at 07:23:59PM +0530, Anshul Dalal wrote: > SPL_TEXT_BASE is used as the load address for the main domain SPL on k3 > platforms. > > Since the config value is the same for every board, this patch sets the > value 0x8008 as default for all 64-bit ARCH_K3, 0x43c0 as > de

Re: [PATCH v2 1/2] dm: blk: Add 'erase' generic block device commands

2025-04-11 Thread Tom Rini
On Tue, 01 Apr 2025 15:39:58 +0530, Varadarajan Narayanan wrote: > Add support for doing 'erase' using the generic block commands > framework. > > Applied to u-boot/master, thanks! [1/2] dm: blk: Add 'erase' generic block device commands commit: 6a5177a58cd481792a652bc7b5c34ed5e76381e0 [

Re: [PATCH V2] firmware: ti_sci: Scan all device instances when releasing exclusive devices

2025-04-11 Thread Kumar, Udit
On 4/11/2025 4:53 PM, Nishanth Menon wrote: On 11:04-20250411, Kumar, Udit wrote: Hi Nishanth, Sorry for basic question On 4/7/2025 5:45 PM, Nishanth Menon wrote: [..] This creates a problem when Device Manager(DM) firmware starts up later on in the boot process and identifies that this

Re: [PATCH v2 1/2] image-fit-sig: skip in tools build if key is missing

2025-04-11 Thread Tom Rini
On Sat, 29 Mar 2025 23:23:51 +, Daniel Golle wrote: > Skip signature verification in case no public key was given in order to > allow using fit_check_sign also to validate uImage.FIT images without > signatures. Guarded by USE_HOSTCC macro the behavior on target is > unchanged. > > Applied

Re: [PATCH 2/4] mach-snapdragon: CapsuleUpdate: support all boot methods

2025-04-11 Thread Caleb Connolly
Hi Neil, The logic is complex but looks to be good. What would happen if we plug an eMMC with conflicting partitions names ? That would cause issues... Probably the more correct way to do things here would be to use part UUIDs, but it's not clear how consistent those are. Is there a way

[PULL] Please pull qcom-for-2025.07

2025-04-11 Thread Caleb Connolly
Hi Tom, There's been a surprising amount of activity lately on the Qualcomm side with the two oldest boards getting some fresh attention and a lot of cleanup and polish going on across the board. * SDM660 gets USB phy fixes and a pinctrl driver * The recently added SA8775P/QCS9100 SoC gets a pinc

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

2025-04-11 Thread Francesco Dolcini
On Tue, Apr 08, 2025 at 04:51:22PM +0200, Marek Vasut wrote: > On 4/8/25 11:06 AM, Francesco Dolcini wrote: > > On Mon, Mar 24, 2025 at 03:36:52PM +0100, Marek Vasut wrote: > > > On 3/24/25 3:16 PM, Francesco Dolcini wrote: > > > > On Mon, Mar 24, 2025 at 02:53:23PM +0100, Marek Vasut wrote: > > >

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

2025-04-11 Thread Bryan Brattlof
On April 8, 2025 thus sayeth Parth Pancholi: > From: Parth Pancholi > > CU_CLKOUT0 can be driven by two input clocks: a 25 MHz and a 50 MHz source. > Currently, the 25 MHz option is not selectable due to an incorrect mux > configuration where the 50 MHz clock is duplicated in the parent list. >

Re: [PATCH 0/6] Update phyCORE-i.MX93 environment

2025-04-11 Thread Fabio Estevam
On Thu, Apr 10, 2025 at 5:52 AM Primoz Fiser wrote: > > Update PHYTEC phyCORE-i.MX93 environment in mainline U-Boot with changes > from the downstream fork to get back in sync. > > Leonard Anderweit (1): > board: phycore-imx93: env: Move bootcmd from defconfig to env > > Martin Schwan (1): > b

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

2025-04-11 Thread Fabio Estevam
On Fri, Mar 28, 2025 at 9:43 AM 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-by: Rafael Beims Applie

Re: [PATCH v6 00/12] Add imx8mp video support

2025-04-11 Thread Fabio Estevam
On Thu, Apr 3, 2025 at 4:39 AM Miquel Raynal wrote: > Changes in v6: > - Another rebase on next. > - Fixed the clock 24M oscillator clock name due to recent changes. > - Fixed a subject prefix. > - Collected tags. > - Fixed the CI by adding two missing configuration items to secondary > sandbox

Re: [PATCH v1 3/3] board: toradex: add Toradex SMARC iMX8MP

2025-04-11 Thread Fabio Estevam
On Mon, Apr 7, 2025 at 10:04 AM Vitor Soares wrote: > +Output:: > + > +U-Boot SPL 2025.04-rc5-00023-g34c31be81211 (Apr 04 2025 - 15:36:23 +0100) CI reported an error because of the lack of indentation. I fixed it and applied the series; thanks.

Re: [PATCH v2 5/8] mach-snapdragon: of_fixup: update comment

2025-04-11 Thread Neil Armstrong
On 11/04/2025 14:47, Caleb Connolly wrote: we don't rewrite the volume buttons any more. Signed-off-by: Caleb Connolly --- arch/arm/mach-snapdragon/of_fixup.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/arm/mach-snapdragon/of_fixup.c b/arch/arm/mach-snapdragon

Re: [PATCH v2 1/8] event: signal when livetree has been built

2025-04-11 Thread Neil Armstrong
On 11/04/2025 14:47, Caleb Connolly wrote: OF_LIVE offers a variety of benefits, one of them being that the live tree can be modified without caring about the underlying FDT. This is particularly valuable for working around U-Boot limitations like lacking USB superspeed support on Qualcomm platfo

Re: [PATCH v2 2/8] mach-snapdragon: use EVT_OF_LIVE_INIT to apply DT fixups

2025-04-11 Thread Neil Armstrong
Hi, On 11/04/2025 14:47, Caleb Connolly wrote: This will now apply fixups prior to devices being bound, which makes it possible to enable/disable devices and adjust more properties that might be read before devices probe. Subject should be EVT_OF_LIVE_BUILT Neil Signed-off-by: Caleb Connol

[GIT PULL] Please pull u-boot-imx-master-20250411

2025-04-11 Thread Fabio Estevam
: https://gitlab.denx.de/u-boot/custodians/u-boot-imx.git tags/u-boot-imx-master-20250411 for you to fetch changes up to ba71e4ef4d3d3edc05c29e14f0ed84ecce4bb051: board: phycore-imx93: env: Add common RAUC boot logic (2025-04-11 10:00:59 -0300) u-boot-imx-maste

Re: [PATCH RESEND] firmware: scmi: support to manage SCMI protocol drivers with a linker-genetated array

2025-04-11 Thread Fabio Estevam
On Wed, Apr 9, 2025 at 4:54 AM Alice Guo (OSS) wrote: > +static struct driver *scmi_proto_driver_get(unsigned int proto_id) > +{ > + struct scmi_proto_driver *start, *entry; > + int n_ents; > + > + start = ll_entry_start(struct scmi_proto_driver, scmi_proto_driver); > + n_

Re: [PATCH v4 0/6] Better smartphone support (Qualcomm)

2025-04-11 Thread Caleb Connolly
On Mon, 31 Mar 2025 14:23:17 +0200, Caleb Connolly wrote: > Improve support for running U-Boot on [Qualcomm] smartphones, with: > > * A boot menu which can be entered by holding volume down during boot > * Hang on panic (so errors can be read on the display) > * Serial gadget which can be enable

Re: [PATCH v2] drivers: pinctrl: Add Qualcomm SDM630/660 TLMM driver

2025-04-11 Thread Caleb Connolly
On 3/31/25 17:55, Alexey Minnekhanov via groups.io wrote: Add support for TLMM pin controller block (Top Level Mode Multiplexer) on SDM630/660 SoCs, with support for special pins. Correct pin configuration is required for working debug UART and eMMC/SD cards. SDM630 and SDM660 TLMM blocks ar

Re: [PATCH v2 0/2] RB1 fixes

2025-04-11 Thread Caleb Connolly
On Thu, 10 Apr 2025 13:30:25 +0530, Sumit Garg wrote: > The eMMC on RB1 boards supports HS200 mode but currently the msm_shdci > driver in U-Boot is missing DLL configuration required for HS200 mode to > work. Hence disable HS200 for now until proper support is in place. > > Apart from that, add

Re: [PATCH] mach-snapdragon: of_fixup: fix condition check in ft_board_setup()

2025-04-11 Thread Caleb Connolly
On Mon, 31 Mar 2025 12:43:18 +0200, Caleb Connolly wrote: > The fdt_node_check_compatible() function returns 0 on success which is > pretty confusing, and we were using it wrong! > > Invert the condition check and refactor things to be more readable. > > Additionally, add the check for the RB1

Re: [PATCH 0/2] gpio: msm: fix special pins handling

2025-04-11 Thread Caleb Connolly
On Tue, 01 Apr 2025 09:45:18 +0200, Neil Armstrong wrote: > Fix special pins handling of get_value and get_function > to show correct state in gpio cmd. > > Applied, thanks! [1/2] gpio: msm: fix get_function return for special pins https://source.denx.de/u-boot/custodians/u-boot-snapdr

回复: [PATCH RESEND] firmware: scmi: support to manage SCMI protocol drivers with a linker-genetated array

2025-04-11 Thread Alice Guo (OSS)
> -邮件原件- > 发件人: Fabio Estevam > 发送时间: 2025年4月11日 20:46 > 收件人: Alice Guo (OSS) > 抄送: ma...@denx.de; tr...@konsulko.com; u-boot@lists.denx.de > 主题: Re: [PATCH RESEND] firmware: scmi: support to manage SCMI protocol > drivers with a linker-genetated array > > On Wed, Apr 9, 2025 at 4:54 AM

回复: [PATCH RESEND] firmware: scmi: support to manage SCMI protocol drivers with a linker-genetated array

2025-04-11 Thread Alice Guo (OSS)
> -邮件原件- > 发件人: Fabio Estevam > 发送时间: 2025年4月11日 21:02 > 收件人: Alice Guo (OSS) > 抄送: ma...@denx.de; tr...@konsulko.com; u-boot@lists.denx.de > 主题: Re: [PATCH RESEND] firmware: scmi: support to manage SCMI protocol > drivers with a linker-genetated array > > On Fri, Apr 11, 2025 at 9:59 AM

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

2025-04-11 Thread Maniyam, Dinesh
> -Original Message- > From: Tom Rini > Sent: Tuesday, 8 April 2025 10:27 pm > To: Maniyam, Dinesh > Cc: u-boot@lists.denx.de; Marek ; Simon > ; Simon Glass ; Dario > Binacchi ; Ilias Apalodimas > ; Heinrich Schuchardt ; > Jerome Forissier ; Mattijs Korpershoek > ; Ibai Erkiaga ; > Mic

Re: Gitlab runner timeout on evb-ast2600 ?

2025-04-11 Thread Cédric Le Goater
Hi, On 4/11/25 01:14, Tom Rini wrote: On Fri, Apr 11, 2025 at 08:07:15AM +0930, Joel Stanley wrote: On Mon, 7 Apr 2025 at 23:25, Eugen Hristev wrote: Hi everyone, I keep getting an error on running the CI loop on -next on my tree : https://source.denx.de/u-boot/custodians/u-boot-at91/-/job

  1   2   >