[PULL] u-boot-riscv/next

2025-06-02 Thread Leo Liang
Hi Tom, The following changes since commit d45b1d4ac94710f88902adc2173d7930700e2869: Merge tag 'u-boot-dfu-next-20250602' of https://source.denx.de/u-boot/custodians/u-boot-dfu into next (2025-06-02 08:43:10 -0600) are available in the Git repository at: https://source.denx

Re: [PATCH v3 2/6] lmb: replace the lmb_alloc() and lmb_alloc_base() API's

2025-06-02 Thread Sughosh Ganu
On Fri, 30 May 2025 at 15:41, Sughosh Ganu wrote: > > On Fri, 30 May 2025 at 13:17, Ilias Apalodimas > wrote: > > > > > +static phys_addr_t lmb_alloc(phys_size_t size) > > > +{ > > > + int ret; > > > + phys_addr_t addr; > > > + > > > + /* All memory regions allocated with a 2MiB

[PATCH v6 4/9] clk: at91: clk-main: drop parent_name check when registering main_rc oscillator

2025-06-02 Thread Manikandan Muralidharan
The clk_register function logs an error if parent_name is missing from the Device Tree.On the SAM9X7, the main_rc node is omitted to stay aligned with the Linux Device Tree.Remove the parent_name check in at91_clk_main_rc() to allow it to pass NULL when the parent is not specified. Signed-off-by:

[PATCH v6 0/9] Add support for sam9x7 SoC and SAM9X75 Curiosity board

2025-06-02 Thread Manikandan Muralidharan
This patch series adds support for the new SoC family - sam9x7. - sam9x7 SoC is added - Clock driver for sam9x7 is added - Target board SAM9X75 Curiosity is added with its differences in DT and MMC config support changes in v6: - 1/4 - New addition to this series - 5/8 - Parse NULL in at

Re: aarch64 u-boot reset loop with qemu USB and KVM

2025-06-02 Thread Ilias Apalodimas
Hi Mikko On Mon, 2 Jun 2025 at 14:24, Mikko Rapeli wrote: > > Hi, > > On Mon, Jun 02, 2025 at 01:28:38PM +0300, Mikko Rapeli wrote: > > As was discussed over yocto/OE-Core mailing list > > https://lists.openembedded.org/g/openembedded-core/topic/113306017#msg217258 > > qemu machine with USB and K

Re: [PATCH 6/6] arm: mach-k3: Print version of DM firmware during boot process

2025-06-02 Thread Neha Malcom Francis
On 28/05/25 13:35, Moteen Shah wrote: > Print DM firmware's version in the boot up process of K3 devices. > > Signed-off-by: Moteen Shah This patch does not apply cleanly on the latest master, you may have to rebase. > --- > arch/arm/mach-k3/am62ax/am62a7_init.c | 4 > arch/arm/mach-k3/am

RE: [PATCH] atmel: Remove local

2025-06-02 Thread Mihai.Sain
> >>> We have this binding file in both include/dt-bindings/ and > >>> dts/upstream/include/dt-bindings. These files are identical save for the > >>> fact that we do not have commit adb2424d0d05 ("dt-bindings: clock: add > >>> clock definitions for Ralink SoCs") from the kernel applied. However, >

Re: [PATCH 3/6] firmware: ti_sci.c: Add a function to query DM firmware's capability

2025-06-02 Thread Neha Malcom Francis
On 28/05/25 13:35, Moteen Shah wrote: > Add a new function to query the capabilities of the DM firmware, using > TI SCI protocol to retrieve a 64-bit firmware capability, where each bit > represents a specific capability supported by the firmware. > > Signed-off-by: Moteen Shah > --- > drivers/f

Re: [PATCH 2/6] ti_sci_* : Add capability to access DM firmware's metadata

2025-06-02 Thread Neha Malcom Francis
On 28/05/25 13:35, Moteen Shah wrote: > Introduce response and request structs to receive and request > information regarding DM version, etc from TI SCI. > > Signed-off-by: Moteen Shah > --- > drivers/firmware/ti_sci.h | 29 ++ > include/linux/soc/ti/ti_sci_

Re: [PATCH 1/6] ti_sci_*: Add utility to access tisci firmware and SOC capability

2025-06-02 Thread Neha Malcom Francis
Hi Moteen On 28/05/25 13:35, Moteen Shah wrote: > Introduce response and request structs for receiving information > regarding FW/SOC capability from DM. The received capability can > further be used to call API's based on the feature supported by > the DM firmware. > > Signed-off-by: Moteen Shah

[PATCH v6 7/9] ARM: dts: at91: sam9x75_curiosity: add tweaks for sam9x75 curiosity board

2025-06-02 Thread Manikandan Muralidharan
Since the SoC and board DT are already available in dts/upstream, add the difference from upstream DTS to at91-sam9x75_curiosity-u-boot.dtsi Signed-off-by: Manikandan Muralidharan --- .../dts/at91-sam9x75_curiosity-u-boot.dtsi| 95 +++ 1 file changed, 95 insertions(+) create

Re: [PATCH 2/3] net: lwip: add sntp command

2025-06-02 Thread Heinrich Schuchardt
Am 2. Juni 2025 23:23:08 MESZ schrieb Heinrich Schuchardt : >Am 21. Mai 2025 17:14:42 MESZ schrieb Jerome Forissier >: >>Implement the sntp command when NET_LWIP=y. https://datatracker.ietf.org/doc/rfc5905/ describes that on Feb 7th, 2036 the 32 bit seconds field wraps around and era 1 starts.

[PATCH 0/1] fs: ext4fs: Fix: Data abort in ext4fs_log_gdt()

2025-06-02 Thread Tony Dinh
Currently, the number of EXT4 journal entries is defined as a constant, MAX_JOURNAL_ENTRIES = 100. When the HDD is greater than 2TB in capacity, the number of blocks per gdt (no_blk_pergdt) is a lot larger than 100. So the function ext4fs_log_gdt causes an array index out-of-bound in the journal

[PATCH v6 8/9] board: sam9x75_curiosity: Add support for sam9x75 curiosity

2025-06-02 Thread Manikandan Muralidharan
Add board specific functions for sam9x75 curiosity Signed-off-by: Manikandan Muralidharan --- arch/arm/mach-at91/Kconfig| 8 +++ board/atmel/sam9x75_curiosity/Kconfig | 15 + board/atmel/sam9x75_curiosity/MAINTAINERS | 6 ++ board/atmel/sam9x75_curiosity/Mak

[PATCH v6 9/9] configs: sam9x75_curiosity: Add initial mmc default config

2025-06-02 Thread Manikandan Muralidharan
Add default configuration for sd-card to boot the linux kernel. Signed-off-by: Manikandan Muralidharan --- board/atmel/sam9x75_curiosity/MAINTAINERS | 1 + configs/sam9x75_curiosity_mmc_defconfig | 73 +++ 2 files changed, 74 insertions(+) create mode 100644 configs/sam9x

[PATCH v6 6/9] ARM: at91: Add sam9x7 soc

2025-06-02 Thread Manikandan Muralidharan
From: Varshini Rajendran Add new Microchip sam9x7 SoC based on an ARM926. Signed-off-by: Varshini Rajendran Signed-off-by: Balamanikandan Gunasundar Signed-off-by: Manikandan Muralidharan --- arch/arm/mach-at91/Kconfig| 4 + arch/arm/mach-at91/arm926ejs/Makefile

[PATCH v6 3/9] clk: at91: sam9x60-pll: add support for HW PLL freq dividers

2025-06-02 Thread Manikandan Muralidharan
From: Varshini Rajendran Add support for hardware dividers for PLL IDs.In sam9x7 SoC, PLL_ID_PLLA and PLL_ID_PLLA_DIV2 has /2 hardware dividers each. fcorepllack -> HW Div = 2 -+--> fpllack | +--> HW Div = 2 ---> fplladiv2ck Sign

[PATCH v6 2/9] clk: at91: sam9x60-pll: add support for core clock frequency inputs

2025-06-02 Thread Manikandan Muralidharan
From: Varshini Rajendran Add support for different core clock frequency input ranges for different PLL IDs in the PLL driver and align sam9x60, sama7g5 SOC platforms. Signed-off-by: Varshini Rajendran --- drivers/clk/at91/clk-sam9x60-pll.c | 17 - drivers/clk/at91/pmc.h

[PATCH v6 1/9] dt-bindings: drop at91.h from clock includes

2025-06-02 Thread Manikandan Muralidharan
Remove clock/at91.h file as it is subset of dts/upstream/include/dt-bindings/clock/at91.h. The constants defined in this header are being used only in dts Signed-off-by: Manikandan Muralidharan --- MAINTAINERS | 1 - include/dt-bindings/clock/at91.h | 23 ---

Re: [PATCH 5/5] doc: thead: lpi4a: Update for S-Mode proper U-Boot support

2025-06-02 Thread Leo Liang
On Fri, May 30, 2025 at 09:48:51AM +, Yao Zi wrote: > [EXTERNAL MAIL] > > Proper U-Boot for Lichee Pi 4A now runs in S mode instead of M mode, > which means the extra firmware, OpenSBI, must be built and integrated > in the image, and the vendor U-Boot cannot chainload the result image > anymo

[PATCH v3 0/2] renesas: Renesas R-Car Gen4 watchdog driver

2025-06-02 Thread Shmuel Leib Melamud via B4 Relay
These series add support of Renesas R-Car Gen4 watchdog timer. Timeouts up to 8184.0s are supported (CKS1 register is not involved). The watchdog uses the clock type CLK_TYPE_GEN4_MDSEL, so a separate patch adds handling of this constant to gen3_clk_get_rate64() function. The series were tested on

Re: [PATCH 4/5] board: thead: licheepi4a: Run proper U-Boot in S-Mode

2025-06-02 Thread Leo Liang
On Fri, May 30, 2025 at 09:48:50AM +, Yao Zi wrote: > [EXTERNAL MAIL] > > RISC-V software usually expects S mode when leaving the firmware, e.g. > UEFI applications could only run in S mode. Let's convert proper U-Boot > of Lichee Pi 4A port to run in S mode. > > Signed-off-by: Yao Zi > ---

Re: [PATCH 3/5] riscv: dts: th1520: Prepare binman configuration for loading OpenSBI

2025-06-02 Thread Leo Liang
On Fri, May 30, 2025 at 09:48:49AM +, Yao Zi wrote: > [EXTERNAL MAIL] > > Add an OpenSBI entry to the FIT image. As it expects an FDT to be > passed, corresponding FDT entry is generated with of-list as well. > > As SPL now passes a full FDT for following stages, proper U-Boot image > is pack

[PATCH v3 2/2] renesas: Renesas R-Car Gen4 watchdog driver

2025-06-02 Thread Shmuel Leib Melamud via B4 Relay
From: Shmuel Leib Melamud Add support of Renesas R-Car Gen4 watchdog timer. Timeouts up to 8184.0s are supported (CKS1 register is not involved). The watchdog uses the clock of type CLK_TYPE_GEN4_MDSEL. The timeout is set in dts/upstream/src/arm64/renesas/r8a779f0-spider-cpu.dtsi section &rwdt.

[PATCH v3 1/2] renesas: Handle CLK_TYPE_GEN4_MDSEL in gen3_clk_get_rate64()

2025-06-02 Thread Shmuel Leib Melamud via B4 Relay
From: Shmuel Leib Melamud Add support of CLK_TYPE_GEN4_MDSEL clock type to gen3_clk_get_rate64() function. In particular, this type of clock is used by Renesas R-Car Gen4 watchdog. It operates similarly to CLK_TYPE_GEN3_MDSEL clock. Signed-off-by: Shmuel Leib Melamud --- drivers/clk/renesas/cl

[RFH] Future direction of the U-Boot project

2025-06-02 Thread Tom Rini
Hey all, Something I've talked about in release emails earlier this year, and promised a follow-up on but hadn't gotten to yet, was how to manage the project moving forward. The email I made last week about Simon also I believe highlighted some of the problems that we as a project and community fa

Re: [PATCH] dtc: Add Kconfig option to pad device tree blob

2025-06-02 Thread Tom Rini
On Tue, May 20, 2025 at 01:23:05PM -0500, Eric Schikschneit wrote: > This will allow arch(s) that use device tree blobs to pad the end of the > device tree so they can be modified by board files at run time. This will > help prevent errors such as FDT_ERR_NOSPACE from occuring. > > Signed-off-by:

Re: [PATCH] arm/dts/qemu-sbsa: Fix interrupt

2025-06-02 Thread Tom Rini
On Tue, 27 May 2025 11:33:31 +0200, Patrick Rudolph wrote: > Change the vcpumntirq in the GICv3 node from SPI to PPI. > > Prevents Linux from complaining: > '[Firmware Bug]: CPU interface incapable of MMIO access' > > Fixes: 6d722894fd48 "board: emulation: Add QEMU sbsa support" > > [...] Appl

[PATCH 05/10] board: adi: Add support for SC573-ezkit

2025-06-02 Thread Greg Malysa
This adds support for the Analog Devices SC573 EZKIT. Signed-off-by: Vasileios Bimpikas Signed-off-by: Utsav Agarwal Signed-off-by: Arturs Artamonovs Signed-off-by: Nathan Barrett-Morrison Signed-off-by: Greg Malysa --- arch/arm/dts/sc573-ezkit.dts | 227 ++

[PATCH v2 7/7] doc: board/qualcomm: update docs for new u-boot.mbn target

2025-06-02 Thread Casey Connolly
Update the build docs to describe building the u-boot.mbn target explicitly for some boards. Additionally add a new "signing" page to describe the purpose of mkmbn and the MBN format. Signed-off-by: Casey Connolly --- doc/board/qualcomm/index.rst | 1 + doc/board/qualcomm/rb3gen2.rst | 27 +++

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

2025-06-02 Thread Tom Rini
On Mon, 02 Jun 2025 16:36:51 +0200, Mattijs Korpershoek wrote: > Please find the following developments for next: > > Usb gadget: > - dwc2: Fix incorrect ULPI_UTMI_SEL bit setting > - dwc2: Fix HBstLen setting for external DMA mode > - dwc2: Various refactors to get the code closer to Linux > - d

Re: Please pull u-boot-i2c master

2025-06-02 Thread Tom Rini
On Mon, 02 Jun 2025 14:40:39 +0200, Heiko Schocher wrote: > The following changes since commit b22a276f039f818d5564bec6637071cfc8a7e432: > >image: android: fix ramdisk default address (2025-05-30 13:44:05 -0600) > > are available in the Git repository at: > >https://source.denx.de/u-boo

Re: [PATCH] scripts/spelling.txt: Sync script with kernel v6.15

2025-06-02 Thread Tom Rini
On Fri, 30 May 2025 08:05:48 -0600, Tom Rini wrote: > Keep spelling.txt in sync with the version from kernel v6.15. > > Applied to u-boot/master, thanks! [1/1] scripts/spelling.txt: Sync script with kernel v6.15 commit: afb3ab64cb7df90a2c6fd54f1639ff3f807f1e86 -- Tom

Re: [PULL] u-boot-riscv/master

2025-06-02 Thread Tom Rini
On Mon, 02 Jun 2025 16:31:44 +0800, Leo Liang wrote: > The following changes since commit b22a276f039f818d5564bec6637071cfc8a7e432: > > image: android: fix ramdisk default address (2025-05-30 13:44:05 -0600) > > are available in the Git repository at: > > https://source.denx.de/u-boot/custo

[PATCH] doc: build: fix typo in gcc.rst

2025-06-02 Thread Behrad Elmi
>From babe445ec1e08a9bd6d313980371c4b64494ac89 Mon Sep 17 00:00:00 2001 From: BehradElmi Date: Mon, 2 Jun 2025 20:54:16 +0330 Subject: [PATCH] doc: build: fix typo in gcc.rst Fix a typo error in gcc.rst, changing "out-out-tree" to "out-of-tree" in the Out-of-tree section. Signed-off-by: BehradEl

[PATCH v2] binman: openssl: disable JTAG access by default

2025-06-02 Thread Bryan Brattlof
r the x509 certificate - dropped encryption extension patch as it's completely independent - Link to v1: https://lore.kernel.org/r/20250602-am62xsip-v1-0-ae8aa62b4...@ti.com --- tools/binman/btool/openssl.py | 16 tools/binman/etype/ti_secure.py | 1 + tools/binman/etype/t

Re: [PATCH tiU2025.01 2/2] binman: openssl: disable JTAG access by default

2025-06-02 Thread Bryan Brattlof
On June 2, 2025 thus sayeth Andrew Davis: > On 6/2/25 12:28 PM, Andrew Davis wrote: > > On 6/2/25 11:56 AM, Bryan Brattlof wrote: > > > Typically for boards operating in production environments will not be > > > monitored and so will not need JTAG access unlocked. Disable the debug > > > extension

Re: [PATCH 2/3] net: lwip: add sntp command

2025-06-02 Thread Heinrich Schuchardt
Am 21. Mai 2025 17:14:42 MESZ schrieb Jerome Forissier : >Implement the sntp command when NET_LWIP=y. > >Signed-off-by: Jerome Forissier >--- > > cmd/Kconfig| 13 ++-- > cmd/net-lwip.c | 5 ++ > include/net-common.h | 11 > lib/lwip/Makefile | 1

Re: [PATCH tiU2025.01 2/2] binman: openssl: disable JTAG access by default

2025-06-02 Thread Andrew Davis
On 6/2/25 12:28 PM, Andrew Davis wrote: On 6/2/25 11:56 AM, Bryan Brattlof wrote: Typically for boards operating in production environments will not be monitored and so will not need JTAG access unlocked. Disable the debug extension unless asked for in the binman configs. Signed-off-by: Bryan B

Re: [PATCH 1/3] net: extract function net_sntp_set_rtc() from sntp_handler()

2025-06-02 Thread Heinrich Schuchardt
Am 21. Mai 2025 17:14:41 MESZ schrieb Jerome Forissier : >Extract the code that sets the RTC clock from sntp_handler() in >net/sntp.c and make it a new function net_sntp_set_rtc() in >net/net-common.c. This will allow re-use with NET_LWIP. > >Signed-off-by: Jerome Forissier >--- > > include/net-c

Re: [PATCH tiU2025.01 2/2] binman: openssl: disable JTAG access by default

2025-06-02 Thread Andrew Davis
On 6/2/25 11:56 AM, Bryan Brattlof wrote: Typically for boards operating in production environments will not be monitored and so will not need JTAG access unlocked. Disable the debug extension unless asked for in the binman configs. Signed-off-by: Bryan Brattlof --- tools/binman/btool/openssl

Re: [PATCH 0/3] sntp for NET_LWIP

2025-06-02 Thread Tom Rini
On Mon, Jun 02, 2025 at 08:35:31PM +0200, Heinrich Schuchardt wrote: > Am 2. Juni 2025 20:06:08 MESZ schrieb E Shattow : > > > > > >On 6/2/25 01:11, Jerome Forissier wrote: > >> Hi Tim, > >> > >> On 5/30/25 17:46, Tim Harvey wrote: > >>> On Wed, May 21, 2025 at 8:15 AM Jerome Forissier > >>> wrot

Re: [PATCH] cmd: smbios: Fix header for type 3 entries

2025-06-02 Thread Heinrich Schuchardt
Am 2. Juni 2025 22:10:08 MESZ schrieb Mark Kettenis : >Change from "Baseboard Information" to "Chassis information". > >Signed-off-by: Mark Kettenis Shouldn't we replace all terms in the output with what we find in the SMBIOS specification? E.g. the type 1 output should refer to "firmware" and

[PATCH] cmd: smbios: Fix header for type 3 entries

2025-06-02 Thread Mark Kettenis
Change from "Baseboard Information" to "Chassis information". Signed-off-by: Mark Kettenis --- cmd/smbios.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/smbios.c b/cmd/smbios.c index 562dd7959be..ed419f19028 100644 --- a/cmd/smbios.c +++ b/cmd/smbios.c @@ -280,7 +280,7

Re: [PATCH 03/10] docker: add ADI build-related tools to docker image

2025-06-02 Thread Heinrich Schuchardt
Am 2. Juni 2025 21:44:41 MESZ schrieb Greg Malysa : >ADI processors require packaging with the ldr utility for bootrom "ADI processors" is not self explanatory. Can we add a sentence like "LDR files are the executable format for the Analog Devices ADSP-SCxxx on-chip Boot ROM. Provide the ldr com

Re: [PATCH] atmel: Remove local

2025-06-02 Thread Eugen Hristev
On 6/2/25 17:57, Tom Rini wrote: > On Mon, Jun 02, 2025 at 03:04:54PM +0300, Eugen Hristev wrote: >> >> >> On 5/28/25 03:01, Tom Rini wrote: >>> We have this binding file in both include/dt-bindings/ and >>> dts/upstream/include/dt-bindings. These files are identical save for the >>> fact that w

[PATCH 06/10] board: adi: Add support for SC589 boards

2025-06-02 Thread Greg Malysa
This adds support for the Analog Devices SC589-EZKIT and SC589-mini. Signed-off-by: Vasileios Bimpikas Signed-off-by: Utsav Agarwal Signed-off-by: Arturs Artamonovs Signed-off-by: Nathan Barrett-Morrison Signed-off-by: Greg Malysa --- arch/arm/dts/sc589-ezkit.dts | 198

[PATCH 0/2] Binman: fix signing an encrypted FIT with a

2025-06-02 Thread yan wang
When running the test case testPreLoadEncryptedFit, mkimage has been called multiple times. Each call to Entry_fit's GetData falls into Entry_fit's BuildSectionData then mkimage is called. The last mkimage is called after the image has been signed with the preload key. As mkimage uses a random IV

[PATCH 10/10] MAINTAINERS: Update ADI entries for new boards

2025-06-02 Thread Greg Malysa
This adds missing maintainers entries for the ADI SC5xx defconfigs. Signed-off-by: Vasileios Bimpikas Signed-off-by: Utsav Agarwal Signed-off-by: Arturs Artamonovs Signed-off-by: Nathan Barrett-Morrison Signed-off-by: Greg Malysa --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff -

[PATCH 09/10] board: adi: Add support for SC594

2025-06-02 Thread Greg Malysa
This adds support for the Analog Devices SC594 SOM and configurations for using it with both the SOMCRR-EZKIT and SOMCRR-EZLITE. Signed-off-by: Vasileios Bimpikas Signed-off-by: Utsav Agarwal Signed-off-by: Arturs Artamonovs Signed-off-by: Nathan Barrett-Morrison Signed-off-by: Greg Malysa --

[PATCH 08/10] board: adi: Add support for SC598

2025-06-02 Thread Greg Malysa
This adds support for the Analog Devices SC598-SOM and configurations for using it with both the SOMCRR-EZKIT and SOMCRR-EZLITE. Signed-off-by: Vasileios Bimpikas Signed-off-by: Utsav Agarwal Signed-off-by: Arturs Artamonovs Signed-off-by: Nathan Barrett-Morrison Signed-off-by: Greg Malysa --

[PATCH 07/10] board: adi: Add support for SC584

2025-06-02 Thread Greg Malysa
This adds support for the Analog Devices SC584-EZKIT. Signed-off-by: Vasileios Bimpikas Signed-off-by: Utsav Agarwal Signed-off-by: Arturs Artamonovs Signed-off-by: Nathan Barrett-Morrison Signed-off-by: Greg Malysa --- arch/arm/dts/sc584-ezkit.dts | 230 ++

[PATCH 02/10] mach-sc5xx: Add binman support

2025-06-02 Thread Greg Malysa
From: Utsav Agarwal Binman is optionally supported for Analog Devices sc5xx if Yocto is not being used to create and assemble system images. The spl LDR is generated locally but other artifacts such as kernel FIT image, stage 2 bootloader LDR, and root file system are built externally and must be

[PATCH 03/10] docker: add ADI build-related tools to docker image

2025-06-02 Thread Greg Malysa
ADI processors require packaging with the ldr utility for bootrom compatibility. Normally this is available as part of our yocto-derived toolchain but it is not a part of any other premade toolchain, so it is otherwise unavailable in the docker image for CI. This patch adds a source build from the

[PATCH 04/10] board: adi: Add SOMCRR infrastructure

2025-06-02 Thread Greg Malysa
This adds infrastructure and shared library code for building targets that use the ADI SOMCRR-EZKIT and SOMCRR-EZLITE carrier boards. These are not used directly as board targets in their own right. Co-developed-by: Nathan Barrett-Morrison Signed-off-by: Nathan Barrett-Morrison Signed-off-by: Va

[PATCH 01/10] mach-sc5xx: Introduce Kconfig symbols for image addresses

2025-06-02 Thread Greg Malysa
From: Utsav Agarwal Add Kconfig symbols to parameterize the SPI flash layout used in a default-ish configuration. This adds more flexibility to the default ADI environment, enabling customers with boards based on but not identical to an ezkit to reuse more of the infrastructure. Furthermore it al

[PATCH 00/10] sc5xx: Add complete board support for all ADI SC5xx boards

2025-06-02 Thread Greg Malysa
This series adds the final pieces to enable mainline U-Boot to build and boot all Analog Devices SC5xx SoCs and supports the associated carrier board options. At this point it should be viable for new users for these platforms to start with the latest version of U-Boot rather than our vendor fork,

Re: [PATCH] doc: build: fix typo in gcc.rst

2025-06-02 Thread Heinrich Schuchardt
Am 2. Juni 2025 20:57:17 MESZ schrieb Behrad Elmi : >From babe445ec1e08a9bd6d313980371c4b64494ac89 Mon Sep 17 00:00:00 2001 >From: BehradElmi >Date: Mon, 2 Jun 2025 20:54:16 +0330 >Subject: [PATCH] doc: build: fix typo in gcc.rst > >Fix a typo error in gcc.rst, changing "out-out-tree" to >"out-of-

Re: [PATCH 0/3] sntp for NET_LWIP

2025-06-02 Thread Heinrich Schuchardt
Am 2. Juni 2025 20:06:08 MESZ schrieb E Shattow : > > >On 6/2/25 01:11, Jerome Forissier wrote: >> Hi Tim, >> >> On 5/30/25 17:46, Tim Harvey wrote: >>> On Wed, May 21, 2025 at 8:15 AM Jerome Forissier >>> wrote: Implement the sntp command with lwIP (CONFIG_NET_LWIP=y). SNTP is sup

Re: [PATCH tiU2025.01 1/2] binman: openssl: remove unused encryption extension

2025-06-02 Thread Bryan Brattlof
On June 2, 2025 thus sayeth Andrew Davis: > On 6/2/25 11:56 AM, Bryan Brattlof wrote: > > We currently do not have a way for binman to encrypt any component it > > packages. Remove this to avoid any confusion. > > > > From the subject tag, was this meant to be sent to our internal list for > inc

Re: [PATCH 0/3] sntp for NET_LWIP

2025-06-02 Thread E Shattow
On 6/2/25 01:11, Jerome Forissier wrote: > Hi Tim, > > On 5/30/25 17:46, Tim Harvey wrote: >> On Wed, May 21, 2025 at 8:15 AM Jerome Forissier >> wrote: >>> >>> Implement the sntp command with lwIP (CONFIG_NET_LWIP=y). SNTP is >>> supported as an app in lib/lwip/lwip/src/apps/sntp/sntp.c so th

[PATCH] usb: gadget: atmel: reliably generate disconnect by disabling controller instead of toggling PULLD_DIS

2025-06-02 Thread Zixun LI
TACH; + usba_writel(udc, CTRL, USBA_ENABLE_MASK); else - ctrl |= USBA_DETACH; - - usba_writel(udc, CTRL, ctrl); + usba_writel(udc, CTRL, USBA_DISABLE_MASK); return 0; } --- base-commit: 4d3b5c679bc9d5c6cbbeedcc1e4a186f1cc35541 change-id: 2025

[PATCH v2 1/2] bootstd: Add implementation for bootmeth rauc

2025-06-02 Thread Martin Schwan
Add a bootmeth driver which supports booting A/B system with RAUC as their update client. Signed-off-by: Martin Schwan --- boot/Kconfig | 51 ++ boot/Makefile| 1 + boot/bootmeth_rauc.c | 432 +++ 3 files changed, 484 inserti

[PATCH v2 4/7] binman: add support for building Qualcomm signed MBN ELF images

2025-06-02 Thread Casey Connolly
Implement support for building u-boot.mbn files using the new mkmbn tool. Signed-off-by: Casey Connolly --- tools/binman/btool/mkmbn.py | 29 +++ tools/binman/etype/u_boot_mbn.py | 51 2 files changed, 80 insertions(+) diff --git

[PATCH v2 1/7] binman: add $(srctree)/tools to toolpath

2025-06-02 Thread Casey Connolly
Not all tools need building, look in the srctree toolpath as well as the objtree. Signed-off-by: Casey Connolly --- Makefile | 5 + 1 file changed, 5 insertions(+) diff --git a/Makefile b/Makefile index f88684947ee55fbc28768eeae159432649cc9ec6..719f7f6ba5161f9ae08fcfeec21b45629ef4bb3e 100

Re: [PATCH tiU2025.01 1/2] binman: openssl: remove unused encryption extension

2025-06-02 Thread Andrew Davis
On 6/2/25 11:56 AM, Bryan Brattlof wrote: We currently do not have a way for binman to encrypt any component it packages. Remove this to avoid any confusion. From the subject tag, was this meant to be sent to our internal list for inclusion in our evil vendor tree only? I think these patches w

[PATCH v2 2/7] binman: support building binman dtb when OF_UPSTREAM is enabled

2025-06-02 Thread Casey Connolly
Since binman DTB files are not upstream they are kept in the U-Boot dts dirs, this means they will not be built when building with OF_UPSTREAM enabled. Resolve this by adding a rule to build the binman DTB if both conditions are met. Signed-off-by: Casey Connolly --- dts/Makefile | 19 ++

[PATCH tiU2025.01 1/2] binman: openssl: remove unused encryption extension

2025-06-02 Thread Bryan Brattlof
We currently do not have a way for binman to encrypt any component it packages. Remove this to avoid any confusion. Signed-off-by: Bryan Brattlof --- tools/binman/btool/openssl.py | 7 --- 1 file changed, 7 deletions(-) diff --git a/tools/binman/btool/openssl.py b/tools/binman/btool/openssl

[PATCH tiU2025.01 2/2] binman: openssl: disable JTAG access by default

2025-06-02 Thread Bryan Brattlof
Typically for boards operating in production environments will not be monitored and so will not need JTAG access unlocked. Disable the debug extension unless asked for in the binman configs. Signed-off-by: Bryan Brattlof --- tools/binman/btool/openssl.py | 16 tools/binman

[PATCH tiU2025.01 0/2] binman: openssl: x509 entry cleanups

2025-06-02 Thread Bryan Brattlof
Hello everyone, While digging through binman a little I noticed a few x509 extensions that should probably need a little adjusting before the release. Happy Hacking ~Bryan Signed-off-by: Bryan Brattlof --- Bryan Brattlof (2): binman: openssl: remove unused encryption extension binm

[PATCH] rtc: add ds1672 driver

2025-06-02 Thread Tim Harvey
Add support for Dallas/Maxim ds1672 32bit counter RTC. Signed-off-by: Tim Harvey --- drivers/rtc/Kconfig | 7 +++ drivers/rtc/Makefile | 1 + drivers/rtc/ds1672.c | 117 +++ 3 files changed, 125 insertions(+) create mode 100644 drivers/rtc/ds1672.c

[PATCH v2 6/7] configs: qualcomm: use mkmbn and stop creating ELF files

2025-06-02 Thread Casey Connolly
Remove qcs9100_defconfig since it is now identical to qcom_defconfig. Additionally remove the load address and REMAKE_ELF from other Qualcomm defconfigs. For these platforms you should explicitly build the u-boot.mbn target which will have the correct load address and Qualcomm MBN signatures. Sig

[PATCH v2 3/7] tools: add mkmbn tool for Qualcomm

2025-06-02 Thread Casey Connolly
This is a fork of qtestsign[1] with modifications to integrate with the U-Boot build system. New Qualcomm dev boards flash U-Boot to the "uefi" partition, the format is a standard ELF file with custom program headers containing Qualcomm signatures, hashes and other metadata. Since different board

Re: [PATCH v2 1/2] spl: Add size check for u-boot-with-spl.bin

2025-06-02 Thread Tom Rini
On Mon, Jun 02, 2025 at 01:01:18PM +0200, Philip Oberfichtner wrote: > Hi Tom, > > On Tue, May 27, 2025 at 07:49:06AM -0600, Tom Rini wrote: > > On Tue, May 27, 2025 at 02:10:48PM +0200, Philip Oberfichtner wrote: > > > > > Introduce another SIZE_CHECK macro for u-boot-with-spl.bin. > > > > > >

[PATCH v2 5/7] configs: qualcomm: use fragments for debug UART

2025-06-02 Thread Casey Connolly
The QCM6490 and QCS9100 targets always enable debug UART, but this is not really optimal for typical users. Move these debug UART options to config fragments so that they aren't enabled by default. Signed-off-by: Casey Connolly --- board/qualcomm/debug-qcm6490.config | 5 + board/qualcomm/d

[PATCH v2 0/7] Qualcomm: teach the build system to emit signed ELF images

2025-06-02 Thread Casey Connolly
With several new Qualcomm platforms appearing on the mailing list, all of which build U-Boot as an ELF, sign it, and then flash it to some partition on the board, we're getting a lot of defconfigs which just contain a debug UART and a TEXT_BASE address. This leads to needless rebuilds in CI of effe

[PATCH 2/2] binman: Fix signing an encryted FIT with a preload key

2025-06-02 Thread yan wang
At the end of several passes of packing entries, a FIT is already generated. This is the FIT with which preload header has signed. Don't rerun the mkimage to generate a new FIT after the preload header has already signed the FIT. Because when encrypting the image with a random IV or if the timestam

[PATCH 1/2] tools: binman: Test signing an encrypted FIT with a preload header

2025-06-02 Thread yan wang
From: Paul HENRYS This test is added to work on issue currently faced with binman. Binman calls multiple times mkimage and thus generates the FIT multiple times and the last call happens after the preload header has been generated. When encrypting the image with a random IV or if the timestamp in

Re: [PATCH] ram: Move Kconfig options into their own menu entry

2025-06-02 Thread Tom Rini
On Mon, Jun 02, 2025 at 10:15:15AM +, Yao Zi wrote: > RAM drivers using Device Model currently lack of their own Kconfig menu > entry, which makes Kconfig put all options of the class in the top-level > menu of device drivers. These options are also incorrectly grouped with > pinctrl options i

Re: [PATCH] atmel: Remove local

2025-06-02 Thread Tom Rini
On Mon, Jun 02, 2025 at 03:04:54PM +0300, Eugen Hristev wrote: > > > On 5/28/25 03:01, Tom Rini wrote: > > We have this binding file in both include/dt-bindings/ and > > dts/upstream/include/dt-bindings. These files are identical save for the > > fact that we do not have commit adb2424d0d05 ("dt-

[PATCH v2 3/4] remoteproc: k3-r5: Acquire processor control before reset ops

2025-06-02 Thread Beleswar Padhi
Acquire processor control before doing core reset operations in probe routine. Release the control afterwards, so that it can be acquired during core loading operations. Signed-off-by: Beleswar Padhi --- drivers/remoteproc/ti_k3_r5f_rproc.c | 6 ++ 1 file changed, 6 insertions(+) diff --git

[PATCH v2 4/4] board: ti: j7*: Add firmware for MCU R5 core1

2025-06-02 Thread Beleswar Padhi
Link the default firmware in the environment variable for MCU R5 core1 for all J7 platforms. Signed-off-by: Beleswar Padhi --- board/ti/j7200/j7200.env | 2 +- board/ti/j721e/j721e.env | 2 +- board/ti/j721s2/j721s2.env | 2 +- board/ti/j784s4/j784s4.env | 4 ++-- 4 files changed, 5 insertio

[PATCH v2 1/4] arm: mach-k3: {am6/j7}*_hardware.h: Expose MCU R5 proc and device ids

2025-06-02 Thread Beleswar Padhi
Currently the MCU R5 processor ids and device ids are only defined for R5 SPL Stage. Expose these ids always so that A72 SPL can utilize this information to shutdown MCU R5 Core 1 when booted in Split mode. Signed-off-by: Beleswar Padhi --- arch/arm/mach-k3/include/mach/am62_hardware.h | 4 ++-

[PATCH v2 2/4] arch: mach-k3: common: Add support to shutdown MCU R5 Core 1

2025-06-02 Thread Beleswar Padhi
During boot, ROM can bring up the MCU R5F cores in either lockstep or split mode based on X509 certificate flags. If booted in split mode, core 0 will run DM firmware and second core sits in WFI. Add support to shut down core 1 so that other firmwares can later be loaded on them. The shutdown of M

[PATCH v2 0/4] Add IPC support on MCU R5F cluster in Split Mode

2025-06-02 Thread Beleswar Padhi
This series adds remoteproc support on MCU R5F in Split mode. During boot, ROM can bring up the boot R5F cores in either lockstep or split mode based on X509 certificate flags. If booted in lockstep mode, the MCU R5F cores will run first the R5 SPL, and then once A72 comes up, will run the Device

Re: [PATCH] ARM: imx: mxs: Add support for imx287 based BTT devices

2025-06-02 Thread Tom Rini
On Sat, May 31, 2025 at 09:37:09AM +0200, Lukasz Majewski wrote: > The btt[c3] devices are based on imx287 SoC. > > U-Boot SPL 2025.04-01081-g07e086681d26 (Apr 16 2025 - 12:24:36 +0200) > Trying to boot from MMC1 > > U-Boot 2025.04-01081-g07e086681d26 (Apr 16 2025 - 12:24:36 +0200) > > CPU: F

[PATCH v3 1/3] lib/uuid.c: restore support of system partition type for ESP

2025-06-02 Thread Patrick Delaunay
Add support of optional shortname for parameter 'type' of gpt command (limited by UUID_STR_LEN) and a separate 'description' for UID format "%pUs" used in 'part list' output. When 'description' is absent in list_guid[], the optional shortname is used as fallback. Many partition types for EFI have

Re: [GIT PULL] Please pull u-boot-imx-next-20250601

2025-06-02 Thread Tom Rini
On Sun, 01 Jun 2025 10:30:22 -0300, Fabio Estevam wrote: > Please pull from u-boot-imx/next, thanks. > > The following changes since commit 5eb1b7843811e3e87b0e677212a9145f07552a60: > > Merge patch series "test/py: enable HTTP testing" (2025-05-30 11:19:45 > -0600) > > are available in the G

[GIT PULL] Please pull u-boot-dfu-next-20250602 into next

2025-06-02 Thread Mattijs Korpershoek
: https://source.denx.de/u-boot/custodians/u-boot-dfu.git tags/u-boot-dfu-next-20250602 for you to fetch changes up to 42911f61b776cda40ba2b8c9e57988a84ad359a5: usb: dwc2: Refactor register operations with clrsetbits macros (2025-06-02 10:0

[PATCH v3 0/3] Restore support of short name for type UUID parameter

2025-06-02 Thread Patrick Delaunay
V3 version solve issue for "ESP" support when CONFIG_CMD_EFIDEBUG and CONFIG_EFI is not activated for example for test with qemu-arm-sbsa defconfig Fix and add documentation/tests for selection by string for known partition type GUID introduced by bcb41dcaefac ("uuid: add selection by string for

[PATCH v3 3/3] test/py: tests: gpt: add test_gpt_write_part_type

2025-06-02 Thread Patrick Delaunay
Add sandbox test on gpt command with partition type for known type. Signed-off-by: Patrick Delaunay Reviewed-by: Patrice Chotard --- (no changes since v1) test/py/tests/test_gpt.py | 27 +++ 1 file changed, 27 insertions(+) diff --git a/test/py/tests/test_gpt.py b/tes

[PATCH v3 2/3] doc: cmd: gpt: add information on type partition

2025-06-02 Thread Patrick Delaunay
Add information on type partition, copied from README.gpt. I also correct issue for gpt_parts variable and add example of "gpt read" usage. Signed-off-by: Patrick Delaunay Reviewed-by: Patrice Chotard --- (no changes since v1) doc/usage/cmd/gpt.rst | 93 ++

Re: [PATCH v2 0/3] Restore support of short name for type UUID parameter

2025-06-02 Thread Patrick DELAUNAY
Hi, On 5/30/25 22:27, Tom Rini wrote: On Fri, May 23, 2025 at 11:11:37AM +0200, Patrick Delaunay wrote: Fix and add documentation/tests for selection by string for known partition type GUID introduced by bcb41dcaefac ("uuid: add selection by string for known partition type GUID"): - split lis

Re: [PATCH v2 0/5] Create FPGA Partial Reconfiguration (fpga pr) command

2025-06-02 Thread Alexander Dahl
Hello Simon, Am Sun, May 25, 2025 at 07:05:46PM +0100 schrieb Simon Glass: > Hi Naresh, > > On Sat, 24 May 2025 at 21:37, Naresh Kumar Ravulapalli > wrote: > > […] > How about creating a uclass for FPGA, with an API? I think it would > help to make things more uniform. FWIW: that uclass is na

Please pull u-boot-i2c master

2025-06-02 Thread Heiko Schocher
Hello Tom, The following changes since commit b22a276f039f818d5564bec6637071cfc8a7e432: image: android: fix ramdisk default address (2025-05-30 13:44:05 -0600) are available in the Git repository at: https://source.denx.de/u-boot/custodians/u-boot-i2c.git tags/i2cfixes-for-2025.07-rc4 fo

Re: [PATCH] ram: Move Kconfig options into their own menu entry

2025-06-02 Thread Quentin Schulz
Hi Yao Zi, On 6/2/25 12:15 PM, Yao Zi wrote: RAM drivers using Device Model currently lack of their own Kconfig menu entry, which makes Kconfig put all options of the class in the top-level menu of device drivers. These options are also incorrectly grouped with pinctrl options in the generated .

Re: [PATCH] Revert "booti/bootm: riscv: Verify image arch type"

2025-06-02 Thread Quentin Schulz
Hi Mayuresh, On 5/29/25 5:30 AM, Mayuresh Chitale wrote: This reverts commit 37b0b22d8b7bbed6aa95b6daed06dcbf4a66f211 as discussed in [1]. [1] https://lists.denx.de/pipermail/u-boot/2025-May/590841.html I would recommend to add a little bit of context instead of simply pointing at some mail

Re: [PATCH] atmel: Remove local

2025-06-02 Thread Eugen Hristev
On 5/28/25 03:01, Tom Rini wrote: > We have this binding file in both include/dt-bindings/ and > dts/upstream/include/dt-bindings. These files are identical save for the > fact that we do not have commit adb2424d0d05 ("dt-bindings: clock: add > clock definitions for Ralink SoCs") from the kernel

[RFC PATCH v1] mach-k3: mmu: add dynamic carveouts for MMU table

2025-06-02 Thread Anshul Dalal
Currently in upstream u-boot we only provide a single MMU table for all k3 platforms, this does not scale for devices with reserved memory outside the range 0x9e78 - 0xa000 (eg j722s[1]) or for devices with < 2GiB of memory (eg am62sip). To properly configure the MMU on various k3 platform

[PATCH v2 2/2] doc: Add description for bootmeth rauc

2025-06-02 Thread Martin Schwan
Add documentation for the bootmeth "rauc", which boots an A/B system with RAUC from MMC. Signed-off-by: Martin Schwan --- doc/develop/bootstd/index.rst| 1 + doc/develop/bootstd/overview.rst | 1 + doc/develop/bootstd/rauc.rst | 56 3 files chan

  1   2   >