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 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

[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

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 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

[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 v1 0/3] Enable env in UFS

2025-04-01 Thread Varadarajan Narayanan
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 will be saved/retrieved from the partition specified in the config option CONFIG_SYS_UFS_ENV_PART. Also add an API

[PATCH v2 2/2] drivers: scsi: Add 'erase' support

2025-04-01 Thread Varadarajan Narayanan
UFS devices uses the block and scsi frameworks. Enable UFS erase support by adding erase support to SCSI. Signed-off-by: Varadarajan Narayanan --- v2: Remove the scsi_get_blk() function prototype in include/scsi.h. That is not related to this series. --- cmd/scsi.c | 3 +- drivers/

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

2025-04-01 Thread Alice Guo (OSS)
> -邮件原件- > 发件人: Marek Vasut > 发送时间: 2025年3月27日 21:19 > 收件人: Peng Fan ; Peng Fan (OSS) > > 抄送: 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@list

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

2025-04-01 Thread Christian Marangi
On Tue, Apr 01, 2025 at 12:45:21PM +0200, Andreas Gnau wrote: > On 2025-03-14 19:59, Christian Marangi wrote: > > This little series adds initial support for Airoha AN7581 SoC. > > Very nice. Will you (or someone else) upstream or at least open-source ATF > parts as well, similar to how Mediatek d

Re: [PATCH] doc: build: docker: Fix code-block formatting

2025-04-01 Thread Leonard Anderweit
Hi Quentin, Am Dienstag, dem 01.04.2025 um 12:07 +0200 schrieb Quentin Schulz: > Hi Leonard, > > On 4/1/25 11:49 AM, Leonard Anderweit wrote: > > Remove double : before code-block. While at it, use code-block for > > all > > Why? I just found it odd that the two styles are mixed here. > > http

Re: [PATCH v2 3/3] tegra: allow to expose UART on microSD slot

2025-04-01 Thread Svyatoslav Ryhel
вт, 1 квіт. 2025 р. о 16:34 Artur Kowalski пише: > > > W dniu 31.03.2025 o 07:51, Svyatoslav Ryhel pisze: > > нд, 30 бер. 2025 р. о 22:27 Artur Kowalski пише: > >> Tegra20 has mux allowing to repurpose microSD as UART on boards which > >> use sdmmc3 controller for microSD. Add TEGRA_UARTA_MICROSD

[PATCH 4/6] configs: stm32f729-discovery: 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/stm32f429-discovery_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/stm32f429-discovery_defconfig b/confi

[PATCH 3/6] configs: stm32f769-disco: 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_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/stm32f746-disco_defconfig b/configs/stm32

[PATCH 07/13] configs: stm32: introduce stm32mp15-odyssey_defconfig

2025-04-01 Thread Patrice Chotard
U-Boot DT for stm32mp157c-odyssey is richer than the kernel DT one. None of the stm32mp157c-odyssey's contributors answered to my request to update kernel DT and i didn't have this board to test. The simpler is to add a dedicated stm32mp15-odyssey_defconfig with OF_UPSTREAM flag unset. Signed-off-

Re: [PATCH] doc: build: docker: Fix code-block formatting

2025-04-01 Thread Tom Rini
On Tue, Apr 01, 2025 at 11:18:45AM +, Leonard Anderweit wrote: > Hi Quentin, > > Am Dienstag, dem 01.04.2025 um 12:07 +0200 schrieb Quentin Schulz: > > Hi Leonard, > > > > On 4/1/25 11:49 AM, Leonard Anderweit wrote: > > > Remove double : before code-block. While at it, use code-block for > >

[PATCH 1/6] configs: stm32f769-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/stm32f769-disco_spl_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/stm32f769-disco_spl_defconfig b/confi

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

2025-04-01 Thread 牛 志宏
This extends the bootm command to allow find images when os type is elf. Signed-off-by: Niu Zhihong --- boot/bootm.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/boot/bootm.c b/boot/bootm.c index 854ac7ec738..a51aa68aa9d 100644 --- a/boot/bootm.c +++ b/boot/bootm.c @@ -

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

2025-04-01 Thread Anand Moon
Hi Kever, On Tue, 1 Apr 2025 at 09:11, Anand Moon wrote: > > Hi Kever, > > On Tue, 1 Apr 2025 at 08:30, Kever Yang wrote: > > > > Hi Anand, > > > > On 2025/3/30 21:33, Anand Moon wrote: > > > Hi Chen-Yu > > > > > > On Wed, 5 Feb 2025 at 07:39, Chen-Yu Tsai wrote: > > >> From: Chen-Yu Tsai > >

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

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

Re: [PATCH v2 1/2] doc: build: docker: Fix code highlighting syntax

2025-04-01 Thread Quentin Schulz
Hi Leonard, On 4/1/25 2:28 PM, Leonard Anderweit wrote: Remove double :: before .. code-block:: bash to correctly highlight the following commands. Signed-off-by: Leonard Anderweit Reviewed-by: Quentin Schulz Thanks! Quentin

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

2025-04-01 Thread Quentin Schulz
Hi Leonard, On 4/1/25 2:28 PM, Leonard Anderweit wrote: Use ..code-block:: syntax highlighting instead of :: so all bash commands use the same syntax highlighting. Signed-off-by: Leonard Anderweit Reviewed-by: Quentin Schulz Thanks! Quentin

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

2025-04-01 Thread Ilias Apalodimas
Hi Caleb On Wed, 26 Mar 2025 at 19:41, 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-Bo

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

2025-04-01 Thread Marek Vasut
On 4/1/25 12:57 PM, Alice Guo (OSS) wrote: Hello Alice, Both use same ID 0x19. It is fine to use below, if it is fine to you. SCMI_PROTOCOL_ID_PINCTRL_IMX = 0x19. How does the kernel discern which driver it should use to communicate with the SCMI provider if both drivers are compiled into the

[PATCH v1 3/3] configs: qcs9100: Enable env in UFS

2025-04-01 Thread Varadarajan Narayanan
Enable CONFIG_ENV_IS_IN_UFS to store environment variables in UFS. Set env variables partition name as 'ubootenv'. Signed-off-by: Varadarajan Narayanan --- configs/qcs9100_defconfig | 4 1 file changed, 4 insertions(+) diff --git a/configs/qcs9100_defconfig b/configs/qcs9100_defconfig inde

[PATCH RFC/RFT 0/2] gpio: qcom: rewritte SPMI gpio driver from Linux driver

2025-04-01 Thread Neil Armstrong
/gpio/qcom_pmic_gpio.c | 20 +- drivers/gpio/qcom_spmi_gpio.c | 1035 + 3 files changed, 1037 insertions(+), 20 deletions(-) --- base-commit: 5ca70325b64f760bf4190f206a0e88dda495e3d2 change-id: 20250401-topic-sm8x50-pmic-gpio-pinctrl-new-2588c35a461c Best regards, --

[PATCH RFC/RFT 2/2] gpio: qcom: move pm8550 gpio to new driver

2025-04-01 Thread Neil Armstrong
Move support of the pm8550 gpios to the newly introduced driver and drop the compatible entry and the read-only quirk at the same time from the old driver. Signed-off-by: Neil Armstrong --- drivers/gpio/qcom_pmic_gpio.c | 20 +--- drivers/gpio/qcom_spmi_gpio.c | 1 + 2 files cha

[PATCH] doc: build: docker: Fix code-block formatting

2025-04-01 Thread Leonard Anderweit
Remove double : before code-block. While at it, use code-block for all bash commands. Signed-off-by: Leonard Anderweit --- doc/build/docker.rst | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/doc/build/docker.rst b/doc/build/docker.rst index 01ed35050908..4974a98d4

[PATCH v2 4/6] ARM: dts: add stm32f769-disco-mb1166-reva09

2025-04-01 Thread Dario Binacchi
[backport from Linux commit db4fc2c79c533986795a7750e9a12caf9d620b48] As reported in the section 8.3 (i. e. Board revision history) of document UM2033 (i. e. Discovery kit with STM32F769NI MCU) these are the changes related to the board revision addressed by the patch: - Board MB1166 revision A-09

[PATCH v2 2/6] ARM: dts: stm32: rename mmc_vcard to vcc-3v3 on stm32f769-disco

2025-04-01 Thread Dario Binacchi
[backport from Linux commit f1317928fa03203929665af61e6d9ac0e29ea84d] In the schematics of document UM2033, the power supply for the micro SD card is the same 3v3 voltage that is used to power other devices on the board. By generalizing the name of the voltage regulator, it can be referenced by ot

[PATCH v2 6/6] configs: stm32f769-disco: support FRD400B25025-A-CTK display

2025-04-01 Thread Dario Binacchi
Support FRIDA FRD400B25025-A-CTK display on stm32f769-disco board. As reported in the section 8.3 (i. e. Board revision history) of document UM2033 (i. e. Discovery kit with STM32F769NI MCU) these are the changes related to the board revision addressed by the patch: - Board MB1166 revision A-09: -

[PATCH v2 3/6] ARM: dts: stm32: add display support on stm32f769-disco

2025-04-01 Thread Dario Binacchi
[backport from Linux commit 598e5adfeb6062f5d4d352c0ef888b2b29d7e215] The patch adds display support on the stm32f769-disco board. Signed-off-by: Dario Binacchi Reviewed-by: Patrice Chotard --- Changes in v2: - Add Reviewed-by tag of Patrice Chotard arch/arm/dts/stm32f769-disco-u-boot.dtsi

[PATCH v2 5/6] video: support FRIDA FRD400B25025-A-CTK

2025-04-01 Thread Dario Binacchi
[backport from Linux commits 9b26d5c044d6a29ebfb1845408e0f2a7c5f89818 and 219a1f49094f50bf9c382830d06149e677f76bed] The patch adds the FRIDA FRD400B25025-A-CTK panel, which belongs to the Novatek NT35510-based panel family. Signed-off-by: Dario Binacchi --- (no changes since v1) drivers/vide

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

2025-04-01 Thread Chen-Yu Tsai
On Tue, Apr 1, 2025 at 3:22 PM Anand Moon wrote: > > Hi Kever, > > On Tue, 1 Apr 2025 at 09:11, Anand Moon wrote: > > > > Hi Kever, > > > > On Tue, 1 Apr 2025 at 08:30, Kever Yang wrote: > > > > > > Hi Anand, > > > > > > On 2025/3/30 21:33, Anand Moon wrote: > > > > Hi Chen-Yu > > > > > > > > On

Re: [PATCH v1 2/2] drivers: scsi: Add 'erase' support

2025-04-01 Thread Varadarajan Narayanan
On Fri, Mar 28, 2025 at 04:44:48AM -0600, Simon Glass wrote: [ . . . ] > > diff --git a/include/scsi.h b/include/scsi.h > > index b18ae37b861..d6b6e6b665f 100644 > > --- a/include/scsi.h > > +++ b/include/scsi.h > > @@ -9,6 +9,7 @@ > > #include > > #include > > #include > > +#include > > >

[PATCH 13/13] ARM: stm32mp: add RIFSC system bus driver for STM32MP25

2025-04-01 Thread Patrice Chotard
From: Patrick Delaunay This driver is checking the access rights of the different peripherals connected to the RIFSC bus. If access is denied, the associated device is not binded. Signed-off-by: Gatien Chevallier Signed-off-by: Patrick Delaunay Signed-off-by: Patrice Chotard --- arch/arm/m

[PATCH 11/13] stm32mp: fdt: remove ETZPC peripheral cleanup

2025-04-01 Thread Patrice Chotard
From: Lionel Debieve Due to feature domains management, there is no more need to maintain the fdt cleanup. Signed-off-by: Lionel Debieve Signed-off-by: Patrice Chotard --- arch/arm/mach-stm32mp/Kconfig| 8 - arch/arm/mach-stm32mp/stm32mp1/fdt.c | 258 --- 2

[PATCH 10/13] ARM: dts: stm32: add ETZPC as a system bus for STM32MP1x boards

2025-04-01 Thread Patrice Chotard
From: Lionel Debieve The STM32 System Bus is an internal bus on which devices are connected. ETZPC is a peripheral overseeing the firewall bus that configures and control access to the peripherals connected on it. For more information on which peripheral is securable, please read the STM32MP13 o

[PATCH 09/13] ARM: stm32mp: add ETZPC system bus driver for STM32MP1

2025-04-01 Thread Patrice Chotard
From: Lionel Debieve This driver is checking the access rights of the different peripherals connected to the ETZPC bus. If access is denied, the associated device is not bound. Signed-off-by: Lionel Debieve Signed-off-by: Gatien Chevallier Signed-off-by: Patrick Delaunay Signed-off-by: Patric

[PATCH 08/13] stm32mp1: clk: Update index for DSI gate

2025-04-01 Thread Patrice Chotard
Since upstream kernel commit bda732fda193 ("ARM: dts: stm32: fix DSI peripheral clock on stm32mp15 boards"), DSI clock can't be enabled as shown on following U-Boot log: MMC: STM32 SD/MMC: 0 Loading Environment from MMC... Reading from MMC(0)... OK clk id 57 not found stm32-display-dsi dsi@5a000

[PATCH 01/13] ARM: dts: sti: convert stih410-b2260 board to OF_UPSTREAM

2025-04-01 Thread Patrice Chotard
Enable OF_UPSTREAM flag for stih410-b2260 board. Signed-off-by: Patrice Chotard --- arch/arm/dts/Makefile |2 - arch/arm/dts/st-pincfg.h | 72 -- arch/arm/dts/stih407-clock.dtsi| 323 - arch/arm/dts/stih407-family.dtsi | 10

[PATCH 12/13] ARM: dts: stm32: convert stm32mp2 board to OF_UPSTREAM

2025-04-01 Thread Patrice Chotard
Enable OF_UPSTREAM flag for STM32MP2 platforms. Add fixed-clock ck_flexgen_08 and ck_icn_ls_mcu until STM32MP25 clock driver will be available. Signed-off-by: Patrice Chotard --- arch/arm/dts/Makefile| 3 - arch/arm/dts/stm32mp25-pinctrl.dtsi | 38 --- arch/arm/dts/s

[PATCH 03/13] ARM: dts: stm32: convert stm23f7 boards to OF_UPSTREAM

2025-04-01 Thread Patrice Chotard
Enable OF_UPSTREAM flag for STM32F7 platforms. Use upstream device tree for DSI and LTDC nodes, As now in upstream DT, in panel@0 node, power-supply property is present, which is a fixed-regulator, add DM_REGULATOR_FIXED flag for stm32f769-disco boards. Set also DEFAULT_FDT_FILE in defconfigs and

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

2025-04-01 Thread Dmitrii Merkurev
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!

[PATCH 05/13] ARM: dts: stm32: convert stm32mp13 board to OF_UPSTREAM

2025-04-01 Thread Patrice Chotard
Enable OF_UPSTREAM flag for STM32MP13 platforms. Signed-off-by: Patrice Chotard --- arch/arm/dts/Makefile |3 - arch/arm/dts/stm32mp13-pinctrl.dtsi | 888 --- arch/arm/dts/stm32mp131.dtsi| 1567 --- arch/arm/dts/stm32mp133.dtsi

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

2025-04-01 Thread Alice Guo (OSS)
> -邮件原件- > 发件人: Marek Vasut > 发送时间: 2025年4月1日 20:53 > 收件人: Alice Guo (OSS) ; Fabio Estevam > ; Tom Rini > 抄送: Lukasz Majewski ; Sean Anderson > ; Simon Glass ; Peng Fan > ; dl-uboot-imx ; Alper Nebi Yasak > ; Alice Guo ; Lothar > Waßmann ; u-boot@lists.denx.de; Ranjani > Vaidyanathan ; Ye

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

2025-04-01 Thread 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 for the binman tests. > Have binman build the missing tools. > > Signed-off-by: Leonard Anderweit I applied this series with Marek's patch on top. I get the following CI e

Re: [PATCH v2 2/3] video: rockchip: rk3328: filter unsupported modes

2025-04-01 Thread Vasily Khoruzhick
On Sun, Mar 30, 2025 at 4:57 AM Jonas Karlman wrote: > > Hi Vasily, > > + /* Limit pixel clock to 297MHz. While RK3328 support higher rates and > > it > > + * works in Linux, it doesn't seem to work in u-boot. That limits max > > + * resolution to 1440p > > + */ > > + retu

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

2025-04-01 Thread Ilias Apalodimas
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 -- using the DT to store configuration and data. Some of the discussions can be found

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

2025-04-01 Thread Fabio Estevam
On Tue, Apr 1, 2025 at 9:53 AM Marek Vasut wrote: > > When will this patch "[PATCH] power: regulator: scmi: Move regulator > > subnode hack to scmi_regulator" be applied to the uboot next branch? I have > > already made the next version patch set based on this patch. > Fabio/Tom ? This is assi

[PATCH 00/13] Enable OF_UPSTREAM for STM32 and STi platforms

2025-04-01 Thread Patrice Chotard
This series is enabling OF_UPSTREAM flag for STM32 MCU's, MPU's and STi platforms. For some boards, some defconfig and DT update are needed to keep the same functional level. The major impact concerns MPU's platform with introduction of STM32 System Bus. Dependency with dtc patch which introduc

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

2025-04-01 Thread Svyatoslav Ryhel
вт, 1 квіт. 2025 р. о 16:30 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 unga

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 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.

[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

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: [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

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.

[PATCH v2 0/6] Support NT35510 panel controller on stm32f769i-disco board

2025-04-01 Thread Dario Binacchi
The series, inspired by some of my patches already merged into Linux, adds support for the Novatek NT35510 panel on the stm32f769i-disco board. Indeed, the MB1166 board comes in different hardware revisions. The MB1166-A09 is utilizing a NT35510 panel controller while prior versions are utilizing a

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

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

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

[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

[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

[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

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.

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 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 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 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 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 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] 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 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

[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 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 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 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 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

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 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 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 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

[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 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 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 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

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 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

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

[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] 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

  1   2   >