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

2025-04-01 Thread Dhruva Gole
Nishanth, On Apr 01, 2025 at 15:55:15 -0500, Nishanth Menon wrote: > When FIT image with multiple dtbs are involved for R5 boot process, > R5 SPL starts off with the first instance of dtb to probe the > eeprom, then once we have identified the type of board, invocation > of setup_multi_dtb_fit wil

[2nd RESEND PATCH 1/2] mtd: spi-nor-ids: Add support for S28HL256T

2025-04-01 Thread tkuw584924
From: Takahiro Kuwano Infineon S28HL256T is 3.0V, 256Mb Flash device with Octal interface. It has the same functionalities with S28HS256T. Link:https://www.infineon.com/dgdl/Infineon-S28HS256T_S28HL256T_256Mb_SEMPER_Flash_Octal_interface_1_8V_3-DataSheet-v02_00-EN.pdf?fileId=8ac78c8c8fc2dd9c018f

[2nd RESEND PATCH 0/2] Add support for Infineon S28HL256T and S28HL02GT

2025-04-01 Thread tkuw584924
From: Takahiro Kuwano Those are 3.0V, 256Mb/2Gb NOR Flash devices with Octal interface. Same fanctionalities with 1.8V version that are already supported. Takahiro Kuwano (2): mtd: spi-nor-ids: Add support for S28HL256T mtd: spi-nor-ids: Add support for S28HL02GT drivers/mtd/spi/spi-nor-id

[PATCH v3 3/4] board/BuR/common: split br_resetc_bmode function

2025-04-01 Thread Bernhard Messerklinger
Split br_resetc_bmode function to add support for reading of reset reason in board code with br_resetc_bmode_get. Signed-off-by: Bernhard Messerklinger --- (no changes since v1) board/BuR/common/br_resetc.c | 129 --- board/BuR/common/br_resetc.h | 1 + 2 file

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

2025-04-01 Thread Bernhard Messerklinger
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 including u-boot.dtsi files - Remove empty MAC addresses nodes from the device tree - Seperate B&R Zynq devi

[PATCH v3 2/4] board/BuR/common: add parameter for reset controller I2C bus selection

2025-04-01 Thread Bernhard Messerklinger
Normally B&R reset controllers are located at I2C bus 0. This patch adds the possibility to change this bus number with the kconfig option BR_RESETC_I2CBUS. Signed-off-by: Bernhard Messerklinger --- (no changes since v2) Changes in v2: - Move BR_RESETC_I2CBUS to Kconfig board/BuR/common/Kconf

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

2025-04-01 Thread Alice Guo (OSS)
+ Marek Vasut > -邮件原件- > 发件人: Alice Guo (OSS) > 发送时间: 2025年4月2日 12:36 > 收件人: tr...@konsulko.com; feste...@gmail.com > 抄送: u-boot@lists.denx.de > 主题: [PATCH] firmware: scmi: support to manage SCMI protocol drivers with a > linker-genetated array > > From: Alice Guo > > U_BOOT_SCMI_PROTO_

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

2025-04-01 Thread Alice Guo (OSS)
From: Alice Guo U_BOOT_SCMI_PROTO_DRIVER macro is used to add a SCMI protocol driver to scmi_proto_driver list. scmi_proto_driver_get() function can be used to match a SCMI protocol id and its driver. Signed-off-by: Alice Guo --- drivers/firmware/scmi/scmi_agent-uclass.c | 16

[PATCH 05/14] mmc: mediatek: permit to also build for Airoha arch

2025-04-01 Thread Christian Marangi
Airoha new SoC implement the same Mediatek driver for MMC. Permit to also build for Airoha arch. Signed-off-by: Christian Marangi --- drivers/mmc/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/Kconfig b/drivers/mmc/Kconfig index 4827834b4aa..2e33dbd3fb7 1

[PATCH v3 3/3] doc/develop/codingstyle.rst: Expand to include CONFIG_IS_ENABLED and PHASE_

2025-04-01 Thread Tom Rini
Expand the conditional compilation section to explain when to use CONFIG_IS_ENABLED rather than IS_ENABLED and provide an example. Next, note what the PHASE_ macro is supposed to be used for as well. Signed-off-by: Tom Rini --- Changes in v3: - Reword the start of the new content a bit after talk

[PATCH 06/14] arch: arm: dts: an7581: Add eMMC nodes

2025-04-01 Thread Christian Marangi
Add eMMC nodes with the fixed regulator and fixed clock. It's also needed to assign the clock and set it to 200MHz as it's set to 150Mhz by default. Signed-off-by: Christian Marangi --- arch/arm/dts/an7581-u-boot.dtsi | 33 + 1 file changed, 33 insertions(+) diff

Re: [PATCH v1 1/1] sysreset: add PHASE_ to GPIO reset and poweroff configs

2025-04-01 Thread Quentin Schulz
On 3/31/25 12:27 PM, Svyatoslav Ryhel wrote: пн, 31 бер. 2025 р. о 13:16 Quentin Schulz пише: Hi Svyatoslav, On 3/30/25 11:28 AM, Svyatoslav Ryhel wrote: GPIO reset and power-off functionality depends on device tree data, which is often absent in SPL or TPL. To address this, incorporate PHAS

[PATCH] common: Add CONFIG_SKIP_RELOCATE

2025-04-01 Thread Jesse Taube
Add a check for CONFIG_SKIP_RELOCATE in reserve_uboot to skip the relocation of the U-Boot image. CONFIG_SKIP_RELOCATE skips relocation of U-Boot to the end of RAM allowing for systems that have extremely limited ram to run U-Boot. Signed-off-by: Jesse Taube --- Kconfig | 7 +++ com

Re: [PATCH 00/13] video: Enhancements related to truetype and console

2025-04-01 Thread Simon Glass
Hi Tom, On Wed, 2 Apr 2025 at 10:41, Tom Rini wrote: > > On Wed, Apr 02, 2025 at 06:29:31AM +1300, Simon Glass wrote: > > > This series includes some precursor patches needed for forthcoming expo > > enhancements. > > > > - truetype support for multiple lines > > - make white-on-black a runtime o

[PATCH 01/14] arch: arm: dts: an7581: add Chip SCU node

2025-04-01 Thread Christian Marangi
Add pending Chip SCU node for clock node. Signed-off-by: Christian Marangi --- arch/arm/dts/an7581-u-boot.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/dts/an7581-u-boot.dtsi b/arch/arm/dts/an7581-u-boot.dtsi index 0316b73f3a5..9f8abfc3bcf 100644 --- a/arch/arm/dts/an7

[PATCH 03/14] airoha: Add Ethernet config to defconfig

2025-04-01 Thread Christian Marangi
Add Ethrnet config to defconfig to enable Ethernet support. Signed-off-by: Christian Marangi --- configs/an7581_evb_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/an7581_evb_defconfig b/configs/an7581_evb_defconfig index f09b5b603a2..f5bd647cb6e 100644 --- a/configs/an7581

[PATCH 09/14] spi: drop unneeded spi.h header include from spinand.h

2025-04-01 Thread Christian Marangi
Drop unneeded spi.h header include from spinand.h, nothing included by spi.h is actually used in this header and .c should correctly included spi.h if actually needed. Replace spi.h with linux/bitops.h as this is what is actually required for spinand.h Signed-off-by: Christian Marangi --- inclu

[PATCH 08/14] regmap: Add regmap_set/clear_bits shorthands

2025-04-01 Thread Christian Marangi
Port Linux kernel regmap_set/clear_bits shorthands to set and clear bits in a regmap. These are handy if only specific bits needs to be applied or cleared and makes it easier to port regmap based driver from kernel upstream. Signed-off-by: Christian Marangi --- include/regmap.h | 28

[PATCH v3 2/3] doc/develop/codingstyle.rst: Add a section on conditional compilation

2025-04-01 Thread Tom Rini
In order to make a start on explaining how and when to use certain macros, we need to document their usage somewhere. As a first step, take section 21 of the v6.13 Linux Kernel coding-style document on conditional compilation, verbatim, and add it to our documentation. Further rewording to be clear

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

2025-04-01 Thread Tom Rini
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 expand on explaining things a bit. -- Tom

[PATCH 13/14] arm: dts: an7581: Add SNAND node

2025-04-01 Thread Christian Marangi
Add SNAND node to Airoha AN7581 EVB DTS to enable support for attached SNAND flash. Signed-off-by: Christian Marangi --- arch/arm/dts/an7581-u-boot.dtsi | 20 1 file changed, 20 insertions(+) diff --git a/arch/arm/dts/an7581-u-boot.dtsi b/arch/arm/dts/an7581-u-boot.dtsi ind

[PATCH 11/14] spinand: call SPI setup_for_spinand if supported

2025-04-01 Thread Christian Marangi
Call SPI setup_for_spinand() if supported and defined to configure the SPI slave for the attached NAND. This is needed to configure the SPI with the NAND page size and spare size for correct configuration of the device. Call it as soon as the NAND is detected to correctly handle SPI controller wit

[PATCH 10/14] spi: Introduce setup_for_spinand()

2025-04-01 Thread Christian Marangi
A common device attached to SPI are SPI NAND and some device might require to have info on the attached NAND to know the flash page size and spare size. To support this, introduce setup_for_spinand() that pass the attached spinand info from manufacturer. Signed-off-by: Christian Marangi --- inc

[PATCH 07/14] airoha: Add eMMC config to defconfig

2025-04-01 Thread Christian Marangi
Enable Mediatek MMC driver in Airoha AN7581 EVB defconfig to add support for it in default images. Signed-off-by: Christian Marangi --- configs/an7581_evb_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/an7581_evb_defconfig b/configs/an7581_evb_defconfig index f5bd647cb6e..

[PATCH 04/14] arch: arm: dts: an7581: Add Ethernet nodes

2025-04-01 Thread Christian Marangi
Add Ethrnet nodes for Airoha AN7581 EVB board. Signed-off-by: Christian Marangi --- arch/arm/dts/an7581-u-boot.dtsi | 30 ++ 1 file changed, 30 insertions(+) diff --git a/arch/arm/dts/an7581-u-boot.dtsi b/arch/arm/dts/an7581-u-boot.dtsi index 9f8abfc3bcf..a569044195d

[PATCH 00/14] airoha: add support spi/mmc/ethernet

2025-04-01 Thread Christian Marangi
This is continuation of the initial patchset for airoha support. Some are trivial fix for spi. A new concept to setup SPI from detected NAND. Sadly DTS node still need to be merged upstream so we are currently adding them to u-boot dtsi and it's planned to be dropped once they are accepted in ups

[RFC] Upstreaming Orange Pi RV2 vendor patches - Seeking guidance

2025-04-01 Thread Sungjoon Moon
I'm working on upstreaming vendor patches for the Orange Pi RV2 board, currently available at: https://github.com/OctopusET/u-boot-orangepi/pull/1/commits I'm rebasing these patches onto the latest U-Boot branch (v2025.04-rc5). To ensure the patches meet upstream standards, I have a few question

[PATCH 00/13] video: Enhancements related to truetype and console

2025-04-01 Thread Simon Glass
This series includes some precursor patches needed for forthcoming expo enhancements. - truetype support for multiple lines - make white-on-black a runtime option - support drawing a rectangle This series was split out from schd2 Simon Glass (13): console: Support a format string for stderr o

Re: [PATCH 00/13] video: Enhancements related to truetype and console

2025-04-01 Thread Tom Rini
On Wed, Apr 02, 2025 at 06:29:31AM +1300, Simon Glass wrote: > This series includes some precursor patches needed for forthcoming expo > enhancements. > > - truetype support for multiple lines > - make white-on-black a runtime option > - support drawing a rectangle > > This series was split out

Re: [PATCH v2] u_boot_pylib: Clean up pylint warnings in gitutil.py

2025-04-01 Thread Tom Rini
On Sun, 16 Mar 2025 08:00:18 +, Simon Glass wrote: > This file has about 40 pylint warnings, but no errors. > > Quite a few of these warnings have been there for a while, but most are > coming from newer versions of pylint, where people come up with new > warnings. > > The f-string warning i

[PATCH 01/13] console: Support a format string for stderr output

2025-04-01 Thread Simon Glass
Add a console_printf_select_stderr() function so that it is not necessary for the caller to process the format string. Signed-off-by: Simon Glass --- common/console.c | 18 ++ include/console.h | 15 +++ 2 files changed, 33 insertions(+) diff --git a/common/console

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

2025-04-01 Thread Nishanth Menon
When FIT image with multiple dtbs are involved for R5 boot process, R5 SPL starts off with the first instance of dtb to probe the eeprom, then once we have identified the type of board, invocation of setup_multi_dtb_fit will replace the gd->fdt_blob with the proper board dtb match. However, when we

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

2025-04-01 Thread Raymond Mao
Hi Ilias, On Tue, 1 Apr 2025 at 07: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 was usually doing -- usin

Re: [PATCH] Kconfig: Fix "warning: style: quotes recommended" warnings

2025-04-01 Thread Tom Rini
On Fri, 14 Mar 2025 19:29:33 -0600, Tom Rini wrote: > We have three warnings about needing to use quotes around some strings > in Kconfig files today. In two of these cases we can just add the > missing strings. In the case of INTEL_PINCTRL_PADCFG_PADTOL the symbol > is never referenced and should

[PATCH] configs: rockchip: sync ENV_MEM_LAYOUT_SETTINGS for px30 to rk3308/etc

2025-04-01 Thread Heiko Stuebner
From: Heiko Stuebner Loading a FIT image for kernel, initrd and rootfs on px30 can result in an memory overlap, resulting in the not 100% helpful message of "This will not be a case any time" from lmb_fix_over_lap_regions(). Adding a bit of debug info to lmb_fix_over_lap_regions() brings: lmb_fi

Re: [PATCH] Kconfig: Do not "select OF_SEPARATE"

2025-04-01 Thread Tom Rini
On Fri, 14 Mar 2025 19:28:49 -0600, Tom Rini wrote: > As the code is today, we get a warning about "select" statements on > "choice" options not doing anything. In the case of OF_SEPARATE this is > the default so we do not need to do anything here normally to enforce > this. > > Applied to u-bo

Re: [PATCH v2 0/6] airoha: Add initial support AN7581

2025-04-01 Thread Tom Rini
On Fri, 14 Mar 2025 19:59:20 +0100, Christian Marangi wrote: > This little series adds initial support for Airoha AN7581 SoC. > > With the help of some backport patch, this use OF_UPSTREAM > directly. > > Posting this to have the targer and the very basic driver. > > [...] Applied to u-boot/ne

[PATCH 06/13] video: truetype: Fill in the measured line

2025-04-01 Thread Simon Glass
Create a measured line for the (single) line of text. Signed-off-by: Simon Glass --- drivers/video/console_truetype.c | 36 +++- test/dm/video.c | 13 +++- 2 files changed, 38 insertions(+), 11 deletions(-) diff --git a/drivers/video/console

Re: Rate of innovation in the project (Was: Re: Rate of change in the project)

2025-04-01 Thread Tom Rini
On Wed, Apr 02, 2025 at 04:45:37AM +1300, Simon Glass wrote: > Hi Tom, > > On Tue, 1 Apr 2025 at 04:51, Tom Rini wrote: > > > > On Fri, Mar 28, 2025 at 11:42:20PM +, Simon Glass wrote: > > > Hi Tom, > > > > > > On Mon, 10 Mar 2025 at 09:53, Tom Rini wrote: > > > > > > > > On Fri, Mar 07, 202

Re: [PATCH v2 2/3] tegra: respect CONFIG_TEGRA_ENABLE_UART* options on Transformer T20

2025-04-01 Thread Artur Kowalski
W dniu 31.03.2025 o 07:48, Svyatoslav Ryhel pisze: нд, 30 бер. 2025 р. о 22:27 Artur Kowalski пише: If debug UART is set to anything other than UARTD, U-Boot's SPL hangs trying to communicate with UARTD which clock won't be ungated. With this patch it is possible to boot with UARTA enabled.

[PATCH 2/6] configs: stm32f746-disco_spl: Fix console cmdline

2025-04-01 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/stm32f746-disco_spl_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/stm32f746-disco_spl_defconfig b/confi

Re: [PATCH 2/2] CI: Build missing binman tools before binman tests

2025-04-01 Thread Tom Rini
On Tue, Apr 01, 2025 at 11:42:35AM +, Leonard Anderweit wrote: > Hi Fabio, > > Am Dienstag, dem 01.04.2025 um 08:12 -0300 schrieb Fabio Estevam: > > Hi Leonard, > > > > On Tue, Apr 1, 2025 at 5:46 AM Leonard Anderweit > > wrote: > > > > > > The CI image does not ship with all tools required

[PATCH v2 2/2] doc: build: docker: Use code-block for syntax highlighting

2025-04-01 Thread Leonard Anderweit
Use ..code-block:: syntax highlighting instead of :: so all bash commands use the same syntax highlighting. Signed-off-by: Leonard Anderweit --- doc/build/docker.rst | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/doc/build/docker.rst b/doc/build/docker.rst index fe08

Re: [PATCH v2 5/6] dt-bindings: clock: drop NUM_CLOCKS define for EN7581

2025-04-01 Thread Tom Rini
On Tue, Apr 01, 2025 at 07:28:36PM +0200, Krzysztof Kozlowski wrote: > On 01/04/2025 18:40, Tom Rini wrote: > > On Tue, Apr 01, 2025 at 05:27:30PM +0200, Krzysztof Kozlowski wrote: > >> On 01/04/2025 16:44, Tom Rini wrote: > >>> On Thu, Mar 27, 2025 at 03:58:52PM +0100, Krzysztof Kozlowski wrote: >

Re: [PATCH v2 2/3] ARM: dts: sam9x60: Add USB gadget DT node.

2025-04-01 Thread Mattijs Korpershoek
On mar., avril 01, 2025 at 13:40, Eugen Hristev wrote: > On 4/1/25 13:10, Mattijs Korpershoek wrote: >> Hi Zixun, >> >> Thank you for the patch. >> >> On lun., mars 31, 2025 at 18:26, Zixun LI wrote: >> >>> Add the USB gadget DT node for the sam9x60 SoC's. >>> >>> Signed-off-by: Zixun LI >>

Re: [PATCH 00/12] lwIP sandbox tests

2025-04-01 Thread Simon Glass
Hi Ilias, On Wed, 2 Apr 2025 at 05:33, Ilias Apalodimas wrote: > > Hi Simon > > On Tue, 1 Apr 2025 at 18:42, Simon Glass wrote: > > > > Hi Jerome, > > > > On Tue, 1 Apr 2025 at 03:14, Jerome Forissier > > wrote: > > > > > > Hi Simon, > > > > > > Any feedback on this series? > > > > > > https://

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

2025-04-01 Thread Simon Glass
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, 2025 at 03:41:33AM +, Simon Glass wrote: > > > > Hi Tom, > > > > > > > > On Wed,

Re: [PATCH v2 5/6] dt-bindings: clock: drop NUM_CLOCKS define for EN7581

2025-04-01 Thread Krzysztof Kozlowski
On 01/04/2025 18:40, Tom Rini wrote: > On Tue, Apr 01, 2025 at 05:27:30PM +0200, Krzysztof Kozlowski wrote: >> On 01/04/2025 16:44, Tom Rini wrote: >>> On Thu, Mar 27, 2025 at 03:58:52PM +0100, Krzysztof Kozlowski wrote: On 27/03/2025 15:50, Christian Marangi wrote: > On Thu, Mar 27, 2025

[PATCH 12/13] video: Add a function to draw a rectangle

2025-04-01 Thread Simon Glass
Provide a way to draw an unfilled box of a certain width. This is useful for grouping menu items together. Add a comment showing how to see the copy-framebuffer, for testing. Signed-off-by: Simon Glass --- drivers/video/video-uclass.c | 36 include/video.h

[PATCH 10/13] test: video: Export the video-checking functions

2025-04-01 Thread Simon Glass
We want to check the display contents in expo tests, so move the two needed functions to a new header file. Rename them to have a video_ prefix. Signed-off-by: Simon Glass --- include/test/video.h | 45 +++ test/dm/video.c | 179 ++- 2 file

[PATCH 09/13] video: Add a way to write a partial string to the console

2025-04-01 Thread Simon Glass
When writing multiple lines of text we need to be able to control which text goes on each line. Add a new vidconsole_put_stringn() function to help with this. Signed-off-by: Simon Glass --- drivers/video/vidconsole-uclass.c | 13 ++--- include/video_console.h | 17

[PATCH 07/13] video: truetype: Support newlines in the measured string

2025-04-01 Thread Simon Glass
It is useful to be able to embed newline characters in the string and have the text measured into multiple lines. Add support for this. Signed-off-by: Simon Glass --- drivers/video/console_truetype.c | 25 - include/video_console.h | 4 test/dm/video.c

[PATCH 05/13] video: Begin support for measuring multiple lines of text

2025-04-01 Thread Simon Glass
Update the vidconsole API so that measure() can measure multiple lines of text. This will make it easier to implement multi-line fields in expo. Tidy up the function comments while we are here. Signed-off-by: Simon Glass --- boot/scene.c | 2 +- drivers/video/console_true

[PATCH 02/13] video: Make white-on-black a video-device property

2025-04-01 Thread Simon Glass
The CONFIG_WHITE_ON_BLACK setting is hard-coded at build-time. It is useful to be able to control this when showing menus. Create a property to hold this information, using the CONFIG as the initial value. Signed-off-by: Simon Glass --- boot/expo.c | 2 +- boot/scene.c

Re: [PATCH 00/17] bootstd: Useability improvements

2025-04-01 Thread Tom Rini
On Wed, Mar 19, 2025 at 03:37:54PM +0100, Simon Glass wrote: > This series collects together some bootstd improvements: > > - Improve iteration when there are a lot of devices > - Add a test image for Ubuntu (to compliment Fedora) > - Improve the naming of USB devices and bootdevs > - Add a new c

Re: [PATCH v3 19/31] rockchip: Provide a VPL phase on rk3399

2025-04-01 Thread Jonas Karlman
Hi Simon, On 2025-04-01 17:42, Simon Glass wrote: > Hi Jonas, > > On Sun, 30 Mar 2025 at 05:46, Jonas Karlman wrote: >> >> Hi Simon, >> >> On 2025-03-29 00:40, Simon Glass wrote: >>> Hi Tom, >>> >>> On Fri, 28 Mar 2025 at 10:16, Jonas Karlman wrote: Hi Simon, On 2025-03-28 1

Re: [PATCH v2 3/3] rockchip: rock64-rk3328_defconfig: enable HDMI output and USB keyboard

2025-04-01 Thread Jonas Karlman
Hi Vasily, On 2025-04-01 00:16, Vasily Khoruzhick wrote: > On Sun, Mar 30, 2025 at 4:45 AM Jonas Karlman wrote: >> >> Hi Vasily, >> >> On 2025-03-23 23:50, Vasily Khoruzhick wrote: >>> Enable HDMI output and USB keyboard on Rock64 board >>> >>> Signed-off-by: Vasily Khoruzhick >>> --- >>> v2: no

Re: [RFC PATCH] pinctrl: tegra: detect unknown/invalid pin/func configurations

2025-04-01 Thread Svyatoslav Ryhel
нд, 30 бер. 2025 р. о 22:12 Artur Kowalski пише: > > Tegra20 driver doesn't know about some pin configurations and even about > some pins. In case when pin configuration is unknown the pin would be > muxed to whatever is under function 0, in case when pin itself is > unknown, it could cause out-of

Re: [PATCH] log: Add helpers for calling log_msg_ret() et al

2025-04-01 Thread Tom Rini
On Wed, Apr 02, 2025 at 04:48:35AM +1300, Simon Glass wrote: > Hi Tom, > > On Mon, 31 Mar 2025 at 03:45, Tom Rini wrote: > > > > On Fri, Mar 28, 2025 at 04:44:53AM -0600, Simon Glass wrote: > > > Hi Tom, > > > > > > On Thu, 27 Mar 2025 at 17:50, Tom Rini wrote: > > > > > > > > On Wed, Mar 26, 20

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

2025-04-01 Thread Simon Glass
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 free memory afterwards. Update the API and callers. > > > > Signed-off-by: Simo

Re: [PATCH v2 00/56] expo: Various features and improvements

2025-04-01 Thread Tom Rini
On Wed, Apr 02, 2025 at 04:43:22AM +1300, Simon Glass wrote: > Hi Tom, > > On Tue, 1 Apr 2025 at 02:42, Tom Rini wrote: > > > > On Mon, Mar 31, 2025 at 01:18:25AM +, Simon Glass wrote: > > > Hi Tom, > > > > > > On Mon, 31 Mar 2025 at 03:47, Tom Rini wrote: > > > > > > > > On Fri, Mar 28, 202

Re: [PATCH v3 1/2] CI: Move default image under global defaults

2025-04-01 Thread Tom Rini
On Wed, Apr 02, 2025 at 04:51:37AM +1300, Simon Glass wrote: > Hi Tom, > > On Sat, 29 Mar 2025 at 13:25, Tom Rini wrote: > > > > On Fri, Mar 28, 2025 at 11:47:12PM +, Simon Glass wrote: > > > Hi Tom, > > > > > > On Thu, 6 Mar 2025 at 10:13, Tom Rini wrote: > > > > > > > > On Thu, Mar 06, 202

Re: [PATCH 00/17] bootstd: Useability improvements

2025-04-01 Thread Tom Rini
On Wed, Apr 02, 2025 at 04:53:32AM +1300, Simon Glass wrote: > Hi Tom, > > On Tue, 1 Apr 2025 at 06:40, Tom Rini wrote: > > > > On Wed, Mar 19, 2025 at 03:37:54PM +0100, Simon Glass wrote: > > > > > This series collects together some bootstd improvements: > > > > > > - Improve iteration when ther

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

2025-04-01 Thread Tom Rini
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, 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, 20

Re: [PATCH v2 5/6] dt-bindings: clock: drop NUM_CLOCKS define for EN7581

2025-04-01 Thread Tom Rini
On Tue, Apr 01, 2025 at 05:27:30PM +0200, Krzysztof Kozlowski wrote: > On 01/04/2025 16:44, Tom Rini wrote: > > On Thu, Mar 27, 2025 at 03:58:52PM +0100, Krzysztof Kozlowski wrote: > >> On 27/03/2025 15:50, Christian Marangi wrote: > >>> On Thu, Mar 27, 2025 at 03:43:47PM +0100, Krzysztof Kozlowski

Re: [PATCH 00/12] lwIP sandbox tests

2025-04-01 Thread Ilias Apalodimas
Hi Simon On Tue, 1 Apr 2025 at 18:42, Simon Glass wrote: > > Hi Jerome, > > On Tue, 1 Apr 2025 at 03:14, Jerome Forissier > wrote: > > > > Hi Simon, > > > > Any feedback on this series? > > > > https://patchwork.ozlabs.org/project/uboot/list/?series=448553 > > No, not from me, but thanks for doi

Re: Suggestions for Custom U-Boot Project

2025-04-01 Thread Simon Glass
Hi Suraj, On Fri, 1 Nov 2024 at 12:21, Suraj Sonawane wrote: > > Hi everyone! > > I'm planning to work on a U-Boot project for learning and would love some > input. My idea is to create a customized U-Boot bootloader with features > like dual boot, A/B System Updates, secure boot, and OTA updates

Re: [PATCH 2/4] fastboot: blk: add block device flashing configuration

2025-04-01 Thread neil . armstrong
On 01/04/2025 15:18, Dmitrii Merkurev wrote: Hey Neil! > Ping, did you find time to resubmit a new version of this patchset ? Apologies, but it looks like I won’t have the capacity to complete this patch stack after all. Please feel free to take it over if you think it’s useful! Ack, I'll t

Re: [PATCH v1 1/3] scsi: Implement get_blk() function

2025-04-01 Thread Heinrich Schuchardt
On 01.04.25 10:00, Varadarajan Narayanan wrote: Add a function to obtain the block device for SCSI. Signed-off-by: Varadarajan Narayanan --- drivers/scsi/scsi-uclass.c | 30 ++ include/scsi.h | 12 2 files changed, 42 insertions(+) diff

[PATCH] env: mmc: Fix test for ENV_IS_EMBEDDED

2025-04-01 Thread Tom Rini
The symbol "ENV_IS_EMBEDDED" is an environment internal define and not a real CONFIG symbol. The IS_ENABLED() macro is still valid to use here, so update the check. Signed-off-by: Tom Rini --- env/mmc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/env/mmc.c b/env/mmc.c ind

Re: [PATCH 04/18] use proper fallthrough annotations

2025-04-01 Thread Tom Rini
On Thu, Mar 27, 2025 at 03:32:59PM +, Andre Przywara wrote: > In some cases in the generic code, we were already using switch/case > fallthrough annotations comments, though in a way which might not be > understood by most compilers. > > Replace two non-standard /* no break */ comments with o

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

2025-04-01 Thread Neil Armstrong
On 26/03/2025 18:40, Caleb Connolly wrote: 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, ot

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

2025-04-01 Thread Heinrich Schuchardt
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 run DHCP") aims to reduce EFI boot times by disabling the dhcp_run when checking ethe

[PATCH v1 2/3] ARM: tegra: convert CFG_TEGRA_BOARD_STRING into Kconfig option

2025-04-01 Thread Svyatoslav Ryhel
Convert CFG_TEGRA_BOARD_STRING into Kconfig option and move it into device board Kconfig. Signed-off-by: Svyatoslav Ryhel --- arch/arm/mach-tegra/board2.c | 2 +- board/acer/picasso/Kconfig | 4 board/asus/grouper/Kconfig | 4 board/asus/trans

[PATCH v1 3/3] ARM: tegra: replace per-device config headers with generic Tegra

2025-04-01 Thread Svyatoslav Ryhel
Most device headers contain SoC specific part and common Tegra post part. Add a generic header which can be used by any Tegra device of one of the supported SoC generations (T20, T30, T114, T124 or T210) without need in device specific configuration. Signed-off-by: Svyatoslav Ryhel --- board/ace

[PATCH v1 1/3] ARM: tegra: board: set CFG_SYS_NS16550_COM1 according to TEGRA_ENABLE_UART

2025-04-01 Thread Svyatoslav Ryhel
Link CFG_SYS_NS16550_COM1 value to chosen CONFIG_TEGRA_ENABLE_UART Tegra wide. Remove all CFG_SYS_NS16550_COM1 from device headers. Signed-off-by: Svyatoslav Ryhel --- arch/arm/mach-tegra/board.c | 5 + include/configs/apalis-tk1.h | 3 --- include/configs/apalis_t30.h | 1 -

Re: [PATCH v3 19/31] rockchip: Provide a VPL phase on rk3399

2025-04-01 Thread Simon Glass
Hi Jonas, On Sun, 30 Mar 2025 at 05:46, Jonas Karlman wrote: > > Hi Simon, > > On 2025-03-29 00:40, Simon Glass wrote: > > Hi Tom, > > > > On Fri, 28 Mar 2025 at 10:16, Jonas Karlman wrote: > >> > >> Hi Simon, > >> > >> On 2025-03-28 16:34, Simon Glass wrote: > >>> Add support for this new phase

[PATCH v1 0/3] ARM: tegra: replace per-device config headers with generic

2025-04-01 Thread Svyatoslav Ryhel
- link CFG_SYS_NS16550_COM1 to TEGRA_ENABLE_UART* (instead of setting it in every board header) - convert CFG_TEGRA_BOARD_STRING into kconfig (instead of setting it in every board header) - replace per-device config headers with generic Tegra (per-board device header is still possible if boar

[PATCH 02/13] ARM: dts: stm32: convert stm23h7 boards to OF_UPSTREAM

2025-04-01 Thread Patrice Chotard
Enable OF_UPSTREAM flag for STM32H7 platforms. Signed-off-by: Patrice Chotard --- arch/arm/dts/Makefile | 3 - arch/arm/dts/stm32h7-pinctrl.dtsi | 274 arch/arm/dts/stm32h7-u-boot.dtsi | 1 - arch/arm/dts/stm32h743.dtsi| 695 -

Re: [PATCH 00/17] bootstd: Useability improvements

2025-04-01 Thread Simon Glass
Hi Tom, On Tue, 1 Apr 2025 at 06:40, Tom Rini wrote: > > On Wed, Mar 19, 2025 at 03:37:54PM +0100, Simon Glass wrote: > > > This series collects together some bootstd improvements: > > > > - Improve iteration when there are a lot of devices > > - Add a test image for Ubuntu (to compliment Fedora)

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

2025-04-01 Thread Simon Glass
On Tue, 1 Apr 2025 at 21:38, Heiko Stuebner wrote: > > This reverts commit 1f68057e03206e6597ca8b2be8bb1c49d4bd47d0. > > Commit 1f68057e0320 ("net: eth_bootdev_hunt() should not run DHCP") > aims to reduce EFI boot times by disabling the dhcp_run when > checking ethernet bootdevices, by preventing

Re: [PATCH v3 1/2] CI: Move default image under global defaults

2025-04-01 Thread Simon Glass
Hi Tom, On Sat, 29 Mar 2025 at 13:25, Tom Rini wrote: > > On Fri, Mar 28, 2025 at 11:47:12PM +, Simon Glass wrote: > > Hi Tom, > > > > On Thu, 6 Mar 2025 at 10:13, Tom Rini wrote: > > > > > > On Thu, Mar 06, 2025 at 09:13:52AM -0700, Simon Glass wrote: > > > > Hi Tom, > > > > > > > > On Thu,

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

2025-04-01 Thread Simon Glass
Hi Michael, On Tue, 1 Apr 2025 at 23:22, Michael Brown wrote: > > 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 fr

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

2025-04-01 Thread Simon Glass
Hi Tom, On Mon, 31 Mar 2025 at 03:45, Tom Rini wrote: > > 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

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

2025-04-01 Thread Simon Glass
Hi Caleb, On Mon, 31 Mar 2025 at 03:38, 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, Caleb Connolly

Re: [PATCH] log: Add helpers for calling log_msg_ret() et al

2025-04-01 Thread Simon Glass
Hi Tom, On Mon, 31 Mar 2025 at 03:45, Tom Rini wrote: > > On Fri, Mar 28, 2025 at 04:44:53AM -0600, Simon Glass wrote: > > Hi Tom, > > > > On Thu, 27 Mar 2025 at 17:50, Tom Rini wrote: > > > > > > On Wed, Mar 26, 2025 at 10:46:57AM -0600, Simon Glass wrote: > > > > Hi Quentin, > > > > > > > > On

Re: [PATCH v2 1/1] sysreset: diverge GPIO reset and poweroff configs per-phase

2025-04-01 Thread Svyatoslav Ryhel
вт, 1 квіт. 2025 р. о 18:38 Svyatoslav Ryhel пише: > > GPIO reset and power-off functionality depends on device tree data, which > is often absent in SPL or TPL. To address this, incorporate PHASE_ into the > config and add Kconfig option for each phase. > > Adjust SYSRESET_GPIO and POWEROFF_GPIO

Re: [PATCH v2 00/56] expo: Various features and improvements

2025-04-01 Thread Simon Glass
Hi Tom, On Tue, 1 Apr 2025 at 02:42, Tom Rini wrote: > > On Mon, Mar 31, 2025 at 01:18:25AM +, Simon Glass wrote: > > Hi Tom, > > > > On Mon, 31 Mar 2025 at 03:47, Tom Rini wrote: > > > > > > On Fri, Mar 28, 2025 at 07:05:47AM -0600, Simon Glass wrote: > > > > > > > This series collects toge

Re: [RFC PATCH 1/2 v2] tools: binman: control.py: Propagate bootph-* properties to supernodes

2025-04-01 Thread Simon Glass
Hi Manorit, On Tue, 1 Apr 2025 at 18:04, Manorit Chawdhry wrote: > > Hi Quentin, > > On 15:46-20250328, Quentin Schulz wrote: > > Hi Moteen, > > > > On 3/27/25 9:06 AM, Moteen Shah wrote: > > > Add a function to scan through all the nodes in the device-tree > > > recusively for bootph-* property.

Re: [PATCH 00/12] lwIP sandbox tests

2025-04-01 Thread Simon Glass
Hi Jerome, On Tue, 1 Apr 2025 at 03:14, Jerome Forissier wrote: > > Hi Simon, > > Any feedback on this series? > > https://patchwork.ozlabs.org/project/uboot/list/?series=448553 No, not from me, but thanks for doing it! Regards, SImon > > Thanks, > > -- > Jerome > > On 3/14/25 22:55, Jerome F

[PATCH v2 1/1] sysreset: diverge GPIO reset and poweroff configs per-phase

2025-04-01 Thread Svyatoslav Ryhel
GPIO reset and power-off functionality depends on device tree data, which is often absent in SPL or TPL. To address this, incorporate PHASE_ into the config and add Kconfig option for each phase. Adjust SYSRESET_GPIO and POWEROFF_GPIO uses to address possible regressions. Signed-off-by: Svyatosla

[PATCH v2 0/1] sysreset: add PHASE_ to GPIO reset and poweroff configs

2025-04-01 Thread Svyatoslav Ryhel
GPIO reset and power-off functionality depends on device tree data, which is often absent in SPL or TPL. --- Changes in v2: - added Kconfig option of GPIO reset and poweroff for each phase - adjust uses of SYSRESET_GPIO and POWEROFF_GPIO in different stages --- Svyatoslav Ryhel (1): sysreset: d

[PATCH 2/2] doc: Update authenticated capsules documentation

2025-04-01 Thread Ilias Apalodimas
Now that we moved out the capsule signature from the DTB, remove the relevant documentation. Signed-off-by: Ilias Apalodimas --- doc/develop/uefi/uefi.rst | 15 --- 1 file changed, 15 deletions(-) diff --git a/doc/develop/uefi/uefi.rst b/doc/develop/uefi/uefi.rst index 48d6110b2ad1.

Re: [PATCH v2 5/6] dt-bindings: clock: drop NUM_CLOCKS define for EN7581

2025-04-01 Thread Krzysztof Kozlowski
On 01/04/2025 16:44, Tom Rini wrote: > On Thu, Mar 27, 2025 at 03:58:52PM +0100, Krzysztof Kozlowski wrote: >> On 27/03/2025 15:50, Christian Marangi wrote: >>> On Thu, Mar 27, 2025 at 03:43:47PM +0100, Krzysztof Kozlowski wrote: On 14/03/2025 19:59, Christian Marangi wrote: > Drop NUM_CLO

[PATCH v2 1/6] ARM: dts: stm32: add DSI support on stm32f769

2025-04-01 Thread Dario Binacchi
[backport from Linux commit a995fd2e8b3c6defd1dcdd3fb350c224e41ea1d0] Add support for MIPI DSI Host controller. Since MIPI DSI is not available on stm32f746, the patch adds the "stm32f769.dtsi" file containing the dsi node inside. Signed-off-by: Dario Binacchi Reviewed-by: Patrice Chotard ---

[PATCH 0/6] configs: stm32: Fix console cmdline for stm32 MCU's board

2025-04-01 Thread Patrice Chotard
This series fixes console command line for some STM32 MCU's board. Patrice Chotard (6): configs: stm32f769-disco_spl: Fix console cmdline configs: stm32f746-disco_spl: Fix console cmdline configs: stm32f769-disco: Fix console cmdline configs: stm32f729-discovery: Fix console cmdline conf

Re: [PATCH v2 5/6] dt-bindings: clock: drop NUM_CLOCKS define for EN7581

2025-04-01 Thread Conor Dooley
On Tue, Apr 01, 2025 at 08:44:20AM -0600, Tom Rini wrote: > On Thu, Mar 27, 2025 at 03:58:52PM +0100, Krzysztof Kozlowski wrote: > > On 27/03/2025 15:50, Christian Marangi wrote: > > > On Thu, Mar 27, 2025 at 03:43:47PM +0100, Krzysztof Kozlowski wrote: > > >> On 14/03/2025 19:59, Christian Marangi

Re: [PATCH v2 5/6] dt-bindings: clock: drop NUM_CLOCKS define for EN7581

2025-04-01 Thread Tom Rini
On Thu, Mar 27, 2025 at 03:58:52PM +0100, Krzysztof Kozlowski wrote: > On 27/03/2025 15:50, Christian Marangi wrote: > > On Thu, Mar 27, 2025 at 03:43:47PM +0100, Krzysztof Kozlowski wrote: > >> On 14/03/2025 19:59, Christian Marangi wrote: > >>> Drop NUM_CLOCKS define for EN7581 dts/upstream/src/i

Re: [PATCH v1 0/3] Enable env in UFS

2025-04-01 Thread neil . armstrong
On 01/04/2025 16:10, Tom Rini wrote: On Tue, Apr 01, 2025 at 01:30:12PM +0530, Varadarajan Narayanan wrote: The qcs9100 based Ride platforms have UFS as their primary storage. Hence add support to U-Boot env framework to be able to save and retrieve the environment from UFS. The environment wil

[PATCH 04/13] ARM: dts: stm32: convert stm23f4 boards to OF_UPSTREAM

2025-04-01 Thread Patrice Chotard
Enable OF_UPSTREAM flag for STM32MPF4 platforms. Signed-off-by: Patrice Chotard --- arch/arm/dts/Makefile | 4 - arch/arm/dts/stm32429i-eval.dts| 284 - arch/arm/dts/stm32f4-pinctrl.dtsi | 447 --- arch/arm/dts/stm32f429-disco.dts | 190

  1   2   >