Re: [PATCH 1/6] arm: dts: k3-j7200-r5-common: Add msmc clk to a72 node

2024-10-22 Thread Neha Malcom Francis
Hi Aniket On 23/10/24 11:42, Aniket Limaye wrote: On 17/10/24 16:00, Neha Malcom Francis wrote: Hi Aniket On 17/10/24 11:59, Aniket Limaye wrote: From: Reid Tonking Define the MSMC clk in the a72 node The usage of MSMC and A72SS interchangeably in this series is confusing. Could you exp

[PATCH] arm64: zynqmp: Configure SoC RTC on SOM

2024-10-22 Thread Michal Simek
Use RTC available in HW on Kria SOM without using emulation that's why configure it properly and disable emulated one. Power on reset value of RTC Calibration register without battery backup is not matching with crystal frequency which leads to RTC time drift. That's why write CALIB_WRITE register

[PATCH] riscv: mbv: Align DT with QEMU

2024-10-22 Thread Michal Simek
Align U-Boot with QEMU amd-microblaze-v-virt platform to be able to wire it with CI. Signed-off-by: Michal Simek --- I am sending it to be in queue. Qemu patch hasn't been merged to qemu yet but here is the latest version. https://lore.kernel.org/r/20241017072507.4033413-1-sai.pavan.bo...@amd.co

Re: [PATCH 1/6] arm: dts: k3-j7200-r5-common: Add msmc clk to a72 node

2024-10-22 Thread Aniket Limaye
On 17/10/24 16:00, Neha Malcom Francis wrote: Hi Aniket On 17/10/24 11:59, Aniket Limaye wrote: From: Reid Tonking Define the MSMC clk in the a72 node The usage of MSMC and A72SS interchangeably in this series is confusing. Could you expand on it in the cover letter why in J7200 this clo

Re: [PATCH v2] amd: Disable LMB, BOOTM, MTD and EFI loader for mini configurations

2024-10-22 Thread Michal Simek
On 10/7/24 09:30, Michal Simek wrote: Mini configurations don't need these features that's why disable them. Signed-off-by: Michal Simek --- Changes in v2: - Get back MTD for amd_versal2_mini_ospi_defconfig because of missing spi_mem_dtr_supports_op and spi_mem_default_supports_op con

[PATCH] board_r: Remove duplicate headers

2024-10-22 Thread Ilias Apalodimas
efi_loader.h is included twice. Remove one and move the other in alphabetical order Signed-off-by: Ilias Apalodimas --- common/board_r.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/common/board_r.c b/common/board_r.c index e5f33f40643b..61b15d01c25f 100644 --- a/common/

Re: [PATCH v4 2/8] ram: k3-ddrss: Add k3_ddrss_ddr_bank_base_size_calc() to solve 'calculations restricted to 32 bits' issue

2024-10-22 Thread Manorit Chawdhry
Hi Santhosh, On 10:10-20241021, Santhosh Kumar K wrote: > As R5 is a 32 bit processor, the RAM banks' base and size calculation > is restricted to 32 bits, which results in wrong values if bank's base > is greater than 32 bits or bank's size is greater than or equal to 4GB. > > So, add k3_ddrss_d

Re: [PATCH v2 12/13] sysinfo: Add driver for IOT2050 boards

2024-10-22 Thread Jan Kiszka
On 23.10.24 05:39, Simon Glass wrote: > Hi Jan, > > On Tue, 22 Oct 2024 at 21:59, Jan Kiszka wrote: >> >> On 22.10.24 19:00, Simon Glass wrote: >>> On Tue, 22 Oct 2024 at 08:06, Jan Kiszka wrote: From: Li Hua Qian This brings a sysinfo driver and DT entry for the IOT2050 boa

Re: [PATCH v2 11/13] smbios: Fill UUID from sysinfo when available

2024-10-22 Thread Jan Kiszka
On 23.10.24 05:39, Simon Glass wrote: > Hi Jan, > > On Tue, 22 Oct 2024 at 21:41, Jan Kiszka wrote: >> >> On 22.10.24 19:00, Simon Glass wrote: >>> On Tue, 22 Oct 2024 at 08:06, Jan Kiszka wrote: From: Jan Kiszka Allow for the sysinfo drivers to provide a system UUID to SMBI

Re: [PATCH v2 12/13] sysinfo: Add driver for IOT2050 boards

2024-10-22 Thread Simon Glass
Hi Jan, On Tue, 22 Oct 2024 at 21:59, Jan Kiszka wrote: > > On 22.10.24 19:00, Simon Glass wrote: > > On Tue, 22 Oct 2024 at 08:06, Jan Kiszka wrote: > >> > >> From: Li Hua Qian > >> > >> This brings a sysinfo driver and DT entry for the IOT2050 board series. > >> It translates the board inform

Re: [PATCH v2 11/13] smbios: Fill UUID from sysinfo when available

2024-10-22 Thread Simon Glass
Hi Jan, On Tue, 22 Oct 2024 at 21:41, Jan Kiszka wrote: > > On 22.10.24 19:00, Simon Glass wrote: > > On Tue, 22 Oct 2024 at 08:06, Jan Kiszka wrote: > >> > >> From: Jan Kiszka > >> > >> Allow for the sysinfo drivers to provide a system UUID to SMBIOS. Will > >> be first used by the IOT2050 boa

Re: [PATCH v7 6/7] test: efi: boot: Set up an image suitable for EFI testing

2024-10-22 Thread Simon Glass
Hi Tom, On Tue, 22 Oct 2024 at 19:54, Tom Rini wrote: > > On Tue, Oct 22, 2024 at 07:00:35PM +0200, Simon Glass wrote: > > Hi Tom, > > > > On Tue, 22 Oct 2024 at 16:02, Tom Rini wrote: > > > > > > On Tue, Oct 22, 2024 at 02:15:46PM +0200, Simon Glass wrote: > > > > Hi Tom, > > > > > > > > On Mon

RE: [PATCH 1/6] Revert "spi: zynq_qspi: Add parallel memories support in QSPI driver"

2024-10-22 Thread Abbarapu, Venkatesh
Hi Marek, There was some issue and fix is sent https://lore.kernel.org/u-boot/20241018082644.22495-1-venkatesh.abbar...@amd.com/T/#u Not sure we need to revert whole parallel/stacked support? Thanks Venkatesh > -Original Message- > From: Marek Vasut > Sent: Wednesday, October 23, 2024

[PATCH v2 2/2] imx: Support i.MX93 9X9 QSB board

2024-10-22 Thread Peng Fan (OSS)
From: Peng Fan Add i.MX93 9x9 Quick Start Board support. - Two ddr scripts included w/o inline ecc feature. - SDHC/NETWORK/I2C/UART supported - PCA9450 supported, default over drive mode - Documentation added. Signed-off-by: Peng Fan --- arch/arm/dts/imx93-9x9-qsb-u-boot.dtsi| 162

[PATCH v2 1/2] imx9: clock: Add 800MHz fracpll entry

2024-10-22 Thread Peng Fan (OSS)
From: Peng Fan Add 800MHz fracpll entry to support DDR 3200MTS. Signed-off-by: Peng Fan --- arch/arm/mach-imx/imx9/clock.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-imx/imx9/clock.c b/arch/arm/mach-imx/imx9/clock.c index dda57ed7f55170e34cad73d93aa3be654f5f071e..c00be1

[PATCH v2 0/2] imx: Add i.MX93 9x9 QSB board

2024-10-22 Thread Peng Fan (OSS)
The i.MX 93 quick start evaluation kit provides a low-cost platform to evaluate the i.MX 93 applications processors in a 9x9mm package. Patch 1 is to add a new pll entry for 3200MTS Patch 2 is to add the board support. Patchset is based on imx/next tag:u-boot-imx-next-20241005 Signed-off-by: Pen

Re: [PATCH] mmc: renesas-sdhi: Add compatible string for rzg2l-sdhi

2024-10-22 Thread Marek Vasut
On 10/18/24 9:51 AM, Paul Barker wrote: After the recent dts/upstream subtree merge, the sdhi compatible string used in the device tree for RZ/G2L family SoCs is "renesas,rzg2l-sdhi" not "renesas,rcar-gen3-sdhi". This broke the ability to access the eMMC and SD card devices on RZ/G2L boards. Fix

Re: [GIT PULL] u-boot-video/video-20241022

2024-10-22 Thread Tom Rini
following changes since commit 6606a6adfaf8517cff7e5fe0fb206beed80087d5: > > envtools: make them build again (2024-10-21 20:51:23 -0600) > > are available in the Git repository at: > > https://source.denx.de/u-boot/custodians/u-boot-video.git > tags/video-20241022 > > for you to fetch changes up

RE: [PATCH v5 1/7] power: pmic: tps65941: Add DM_PMIC dependency

2024-10-22 Thread Jaehoon Chung
> -Original Message- > From: Manorit Chawdhry > Sent: Tuesday, October 15, 2024 7:52 PM > To: Jaehoon Chung > Cc: u-boot@lists.denx.de; Neha Malcom Francis ; Keerthy J > ; Udit > Kumar ; Aniket Limaye ; Tom Rini > ; Vignesh > Raghavendra ; Andrew Davis ; Nishanth Menon > ; Simon Gla

RE: [PATCH 2/2] power/domain: meson-ee-pwrc: make sure to not enable a domain twice

2024-10-22 Thread Jaehoon Chung
> -Original Message- > From: Neil Armstrong > Sent: Wednesday, October 9, 2024 6:15 PM > To: Lukasz Majewski ; Sean Anderson ; Tom > Rini ; > Jaehoon Chung > Cc: u-boot-amlo...@groups.io; u-boot@lists.denx.de; Neil Armstrong > > Subject: [PATCH 2/2] power/domain: meson-ee-pwrc: make

RE: [PATCH v2 11/11] mmc: Add support for ADI SC5XX-family processor SDHCI peripherals

2024-10-22 Thread Jaehoon Chung
> -Original Message- > From: Vasileios Bimpikas via B4 Relay > > Sent: Monday, October 21, 2024 10:55 PM > To: Tom Rini ; Nathan Barrett-Morrison > ; Greg Malysa > ; Ian Roberts ; Vasileios > Bimpikas > ; Utsav Agarwal ; > Arturs Artamonovs > ; Marek Vasut ; Heiko Schocher > ; Joe

RE: [PATCH] mmc: renesas-sdhi: Add compatible string for rzg2l-sdhi

2024-10-22 Thread Jaehoon Chung
> -Original Message- > From: Paul Barker > Sent: Friday, October 18, 2024 4:52 PM > To: Nobuhiro Iwamatsu ; Marek Vasut > ; Peng Fan > ; Jaehoon Chung > Cc: Paul Barker ; u-boot@lists.denx.de > Subject: [PATCH] mmc: renesas-sdhi: Add compatible string for rzg2l-sdhi > > After the rece

RE: [PATCH] mmc: msm_sdhci: enable vqmmc at probe if available

2024-10-22 Thread Jaehoon Chung
Hi > -Original Message- > From: Neil Armstrong > Sent: Wednesday, October 16, 2024 6:17 PM > To: Caleb Connolly ; Sumit Garg > ; Peng Fan > ; Jaehoon Chung ; Tom Rini > > Cc: u-boot-q...@groups.io; u-boot@lists.denx.de; Neil Armstrong > > Subject: [PATCH] mmc: msm_sdhci: enable vqmmc

[PATCH 1/6] Revert "spi: zynq_qspi: Add parallel memories support in QSPI driver"

2024-10-22 Thread Marek Vasut
This reverts commit 1e36d34b52e7a1ebe5a2a5339d6905540f4253aa. This parallel/stacked support breaks basic SPI NOR support, e.g. this no longer works: => sf probe && sf update 0x5000 0 0x16 SF: Detected s25fs512s with page size 256 Bytes, erase size 256 KiB, total 64 MiB device 0 offset 0x

[PATCH 6/6] Revert "mtd: spi-nor: Add parallel and stacked memories support"

2024-10-22 Thread Marek Vasut
This reverts commit 5d40b3d384dc536ec26ce9b76b20b0b84749d2d1. Signed-off-by: Marek Vasut --- Cc: Andre Przywara Cc: Ashok Reddy Soma Cc: Jagan Teki Cc: Michael Walle Cc: Michal Simek Cc: Patrice Chotard Cc: Patrick Delaunay Cc: Pratyush Yadav Cc: Quentin Schulz Cc: Sean Anderson Cc: Sim

[PATCH 3/6] Revert "spi: spi-uclass: Read chipselect and restrict capabilities"

2024-10-22 Thread Marek Vasut
This reverts commit 34da258bb0465de4bf44dc8949a9536cc06bf725. Signed-off-by: Marek Vasut --- Cc: Andre Przywara Cc: Ashok Reddy Soma Cc: Jagan Teki Cc: Michael Walle Cc: Michal Simek Cc: Patrice Chotard Cc: Patrick Delaunay Cc: Pratyush Yadav Cc: Quentin Schulz Cc: Sean Anderson Cc: Sim

[PATCH 5/6] Revert "mtd: spi-nor: Add parallel memories support for read_sr and read_fsr"

2024-10-22 Thread Marek Vasut
This reverts commit 92e0ae42b47c13028da7e31ad835fcc659391ae7. Signed-off-by: Marek Vasut --- Cc: Andre Przywara Cc: Ashok Reddy Soma Cc: Jagan Teki Cc: Michael Walle Cc: Michal Simek Cc: Patrice Chotard Cc: Patrick Delaunay Cc: Pratyush Yadav Cc: Quentin Schulz Cc: Sean Anderson Cc: Sim

[PATCH 4/6] Revert "mtd: spi-nor: Add parallel and stacked memories support in read_bar and write_bar"

2024-10-22 Thread Marek Vasut
This reverts commit c480ec2c45b221b2044c6268c9773e78fa47f305. Signed-off-by: Marek Vasut --- Cc: Andre Przywara Cc: Ashok Reddy Soma Cc: Jagan Teki Cc: Michael Walle Cc: Michal Simek Cc: Patrice Chotard Cc: Patrick Delaunay Cc: Pratyush Yadav Cc: Quentin Schulz Cc: Sean Anderson Cc: Sim

[PATCH 2/6] Revert "spi: zynqmp_gqspi: Add parallel memories support in GQSPI driver"

2024-10-22 Thread Marek Vasut
This reverts commit 217b0a28b6db3d664300f82df8e4cf342de3b8a0. Signed-off-by: Marek Vasut --- Cc: Andre Przywara Cc: Ashok Reddy Soma Cc: Jagan Teki Cc: Michael Walle Cc: Michal Simek Cc: Patrice Chotard Cc: Patrick Delaunay Cc: Pratyush Yadav Cc: Quentin Schulz Cc: Sean Anderson Cc: Sim

Re: [PATCH v2 1/1] video: simplefb: Fix build warn with CONFIG_FDT_64BIT=n

2024-10-22 Thread Anatolij Gustschin
On Wed, 9 Oct 2024 16:48:28 +0800 Leo Yu-Chi Liang ycli...@andestech.com wrote: > From: LekKit <50500857+lek...@users.noreply.github.com> > > Fix compile warning with !CONFIG_FDT_64BIT by > casting the variable in the debug print. > > Signed-off-by: Eva Kurchatova > Reported-by: Leo Yu-Chi Lian

Re: [PATCH] video: Fix VNBYTES() macro comment

2024-10-22 Thread Anatolij Gustschin
On Tue, 10 Sep 2024 11:11:59 +0200 Miquel Raynal miquel.ray...@bootlin.com wrote: > The VNBYTES() macro has been updated to silence possible warnings > regarding authorized (but unusual) uses of this macro, but the comment > was kept unchanged. A year has passed so let's fix the comment now to > a

Re: [PATCH 0/3] Simple-framebuffer node related updates

2024-10-22 Thread Anatolij Gustschin
On Mon, 21 Oct 2024 14:20:56 -0600 Tom Rini tr...@konsulko.com wrote: > On Mon, Oct 21, 2024 at 08:47:55PM +0530, Devarsh Thakkar wrote: > > Gentle reminder. > > > > Hi Tom, Bryan, > > > > On 25/09/24 20:43, Devarsh Thakkar wrote: > > > This series fixes some compilation issues related to FDT_

[PATCH v2 8/8] configs: Enable sysinfo for QEMU Arm64

2024-10-22 Thread Raymond Mao
Enable sysinfo smbios by default for arm64. When SYSINFO_SMBIOS is enabled, disable QFW_SMBIOS. Signed-off-by: Raymond Mao --- Changes in v2 - None. configs/qemu_arm64_defconfig | 2 ++ drivers/misc/Kconfig | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/configs/qe

[PATCH v2 7/8] cmd: update smbios cmd

2024-10-22 Thread Raymond Mao
Update the cmd according to the changes of the smbios library: 1. Refactor smbios cmd print functions to match the content defined by the specification. 2. Add new print functions for Type 0, 3, 4 and 7. 3. Update the expected pytest result to align with the smbios library changes. Signed-of

[PATCH v2 6/8] armv8: Add generic smbios information into the device tree

2024-10-22 Thread Raymond Mao
Add common smbios information that can be used by all armv8 platforms and set it as default for qemu-arm64. >From now smbios library can load values from here for those fields doesn't exist in the sysinfo driver. To run this with QEMU arm64, please dump the generated DTB from QEMU first, merge it

[PATCH v2 5/8] armv8: Add arch-specific sysinfo platform driver

2024-10-22 Thread Raymond Mao
Add sysinfo platform driver for all armv8 platforms to retrieve hardware information on processor and cache. Signed-off-by: Raymond Mao --- Changes in v2 - Combine with #8(v1) patch. - Remove the handling of the common strings and values. arch/arm/cpu/armv8/Makefile | 2 + arch/arm/cpu/armv8

[PATCH v2 4/8] smbios: Refactor smbios library

2024-10-22 Thread Raymond Mao
Current smbios library does not fully match to the specification. It hardcodes values instead of exposing values from the device. It does not support dynamic length for contained object handles or elements and misses the handling of a few of fields. The refactoring of this patch includes: 1. Expos

[PATCH v2 3/8] sysinfo: Add sysinfo driver and data structure for smbios

2024-10-22 Thread Raymond Mao
Add sysinfo driver to retrieve smbios information (Type 4 and 7). So that the smbios library can use it for getting values from the hardware platform instead of device tree. Signed-off-by: Raymond Mao --- Changes in v2 - Move the changes to smbios.c instead of creating new file. - Move the headfi

[PATCH v2 2/8] sysinfo: Add sysinfo API for accessing data area

2024-10-22 Thread Raymond Mao
Add interface for sysinfo to access a data area from the platform. This is useful to save/read a memory region of platform-specific data. Signed-off-by: Raymond Mao --- Changes in v2 - None. drivers/sysinfo/sysinfo-uclass.c | 20 include/sysinfo.h| 30 ++

[PATCH v2 1/8] smbios: Refactor the smbios headfile

2024-10-22 Thread Raymond Mao
Move the smbios field definitions to a separated simple headfile, which is a prerequisite to be included by dts files. Add new definitions for cache information. This patch also includes a few of code optimizations in smbios. Signed-off-by: Raymond Mao --- Changes in v2 - Initial patch. cmd/smb

[PATCH v2 0/8] SMBIOS improvements

2024-10-22 Thread Raymond Mao
Motivations for changes: Current SMBIOS library and command-line tool is not fully matching with the requirements: 1. Missing support for other mandatory types (#7, #9, #16, #17, #19). 2. Only a few platforms support SMBIOS node from the device tree. 3. Values of some fields are hardcoded in the li

Re: [PATCH v2 12/13] sysinfo: Add driver for IOT2050 boards

2024-10-22 Thread Jan Kiszka
On 22.10.24 19:00, Simon Glass wrote: > On Tue, 22 Oct 2024 at 08:06, Jan Kiszka wrote: >> >> From: Li Hua Qian >> >> This brings a sysinfo driver and DT entry for the IOT2050 board series. >> It translates the board information passed from SE-Boot to SPL into >> values that can be retrieved via

Re: [PATCH 1/3] rockchip: block: simplify rkmtd driver

2024-10-22 Thread Johan Jonker
On 10/21/24 15:35, Heinrich Schuchardt wrote: > On 10/19/24 13:50, Simon Glass wrote: >> Hi Johan, >> >> On Fri, 18 Oct 2024 at 07:33, Johan Jonker wrote: >>> >>> >>> >>> On 10/18/24 03:30, Heinrich Schuchardt wrote: By using blk_create_devicef() instead of blk_create_devicef() the driver

Re: [PATCH v2 00/25] led: Remove old status-LED code

2024-10-22 Thread Simon Glass
Hi Tom, On Tue, 22 Oct 2024 at 16:02, Tom Rini wrote: > > On Tue, Oct 22, 2024 at 02:15:34PM +0200, Simon Glass wrote: > > Hi Tom, > > > > On Mon, 21 Oct 2024 at 19:26, Tom Rini wrote: > > > > > > On Mon, Oct 21, 2024 at 01:38:08PM +0200, Simon Glass wrote: > > > > There has been an LED framewor

Re: [PATCH v2 11/13] smbios: Fill UUID from sysinfo when available

2024-10-22 Thread Jan Kiszka
On 22.10.24 19:00, Simon Glass wrote: > On Tue, 22 Oct 2024 at 08:06, Jan Kiszka wrote: >> >> From: Jan Kiszka >> >> Allow for the sysinfo drivers to provide a system UUID to SMBIOS. Will >> be first used by the IOT2050 boards. >> >> Based on original patch by Li Hua Qian. >> >> Signed-off-by: Ja

Re: [PATCH v2 00/25] led: Remove old status-LED code

2024-10-22 Thread Tom Rini
On Tue, Oct 22, 2024 at 07:00:46PM +0200, Simon Glass wrote: > Hi Tom, > > On Tue, 22 Oct 2024 at 16:02, Tom Rini wrote: > > > > On Tue, Oct 22, 2024 at 02:15:34PM +0200, Simon Glass wrote: > > > Hi Tom, > > > > > > On Mon, 21 Oct 2024 at 19:26, Tom Rini wrote: > > > > > > > > On Mon, Oct 21, 20

Re: [PATCH v2 00/25] led: Remove old status-LED code

2024-10-22 Thread Tom Rini
On Tue, Oct 22, 2024 at 02:15:34PM +0200, Simon Glass wrote: > Hi Tom, > > On Mon, 21 Oct 2024 at 19:26, Tom Rini wrote: > > > > On Mon, Oct 21, 2024 at 01:38:08PM +0200, Simon Glass wrote: > > > There has been an LED framework in U-Boot which uses driver model for > > > about 9 years now. Recent

Re: enabling W=1 by default

2024-10-22 Thread Simon Glass
Hi Andy, On Tue, 22 Oct 2024 at 15:23, Andy Shevchenko wrote: > > On Mon, Oct 21, 2024 at 06:32:21PM +0200, Simon Glass wrote: > > On Mon, 21 Oct 2024 at 16:27, Andy Shevchenko > > wrote: > > > > > > looking at the redness of the output of `make W=1` here is the question: > > > isn't it a good t

Re: [PATCH 1/1] doc: update Python requirements

2024-10-22 Thread Simon Glass
On Mon, 21 Oct 2024 at 20:08, Heinrich Schuchardt wrote: > > Update Sphinx, sphinx-rtd-theme, and their dependencies. > > Signed-off-by: Heinrich Schuchardt > --- > doc/sphinx/requirements.txt | 33 + > 1 file changed, 17 insertions(+), 16 deletions(-) > Reviewed

Re: [PATCH] CI: Add a test for building without CMDLINE

2024-10-22 Thread Tom Rini
On Tue, Oct 22, 2024 at 07:00:39PM +0200, Simon Glass wrote: > Hi Tom, > > On Tue, 22 Oct 2024 at 16:02, Tom Rini wrote: > > > > On Tue, Oct 22, 2024 at 02:16:16PM +0200, Simon Glass wrote: > > > Hi Tom, > > > > > > On Mon, 21 Oct 2024 at 18:50, Tom Rini wrote: > > > > > > > > On Mon, Oct 21, 20

Re: [PATCH v7 6/7] test: efi: boot: Set up an image suitable for EFI testing

2024-10-22 Thread Tom Rini
On Tue, Oct 22, 2024 at 07:00:35PM +0200, Simon Glass wrote: > Hi Tom, > > On Tue, 22 Oct 2024 at 16:02, Tom Rini wrote: > > > > On Tue, Oct 22, 2024 at 02:15:46PM +0200, Simon Glass wrote: > > > Hi Tom, > > > > > > On Mon, 21 Oct 2024 at 19:32, Tom Rini wrote: > > > > > > > > On Mon, Oct 21, 20

Re: [PATCH v7 00/11] labgrid: Provide an integration with Labgrid

2024-10-22 Thread Simon Glass
Hi Tom, On Tue, 22 Oct 2024 at 16:43, Tom Rini wrote: > > On Tue, Oct 22, 2024 at 02:15:40PM +0200, Simon Glass wrote: > > Hi Tom, > > > > On Mon, 21 Oct 2024 at 20:07, Tom Rini wrote: > > > > > > On Mon, Oct 21, 2024 at 01:12:49PM +0200, Simon Glass wrote: > > > > Hi Tom, > > > > > > > > On Thu

Re: [PATCH v9 24/37] common: Enable BLOBLIST_TABLES on arm

2024-10-22 Thread Simon Glass
Hi Patrick, On Tue, 22 Oct 2024 at 18:18, Patrick Rudolph wrote: > > Hi Simon, > On Tue, Oct 22, 2024 at 2:16 PM Simon Glass wrote: > > > > Hi Peter, > > > > On Mon, 21 Oct 2024 at 19:57, Peter Robinson wrote: > > > > > > > > > > Allow to use BLOBLIST_TABLES on arm to store ACPI or other tables

Re: [PATCH v2 12/13] sysinfo: Add driver for IOT2050 boards

2024-10-22 Thread Simon Glass
On Tue, 22 Oct 2024 at 08:06, Jan Kiszka wrote: > > From: Li Hua Qian > > This brings a sysinfo driver and DT entry for the IOT2050 board series. > It translates the board information passed from SE-Boot to SPL into > values that can be retrieved via the sysinfo API. Will is already used > to fil

Re: [PATCH] CI: Add a test for building without CMDLINE

2024-10-22 Thread Simon Glass
Hi Tom, On Tue, 22 Oct 2024 at 16:02, Tom Rini wrote: > > On Tue, Oct 22, 2024 at 02:16:16PM +0200, Simon Glass wrote: > > Hi Tom, > > > > On Mon, 21 Oct 2024 at 18:50, Tom Rini wrote: > > > > > > On Mon, Oct 21, 2024 at 06:32:18PM +0200, Simon Glass wrote: > > > > Hi Tom, > > > > > > > > On Mon

Re: [PATCH 23/34] bootstd: Maintain a list of images

2024-10-22 Thread Simon Glass
Hi Tom, On Tue, 22 Oct 2024 at 17:01, Tom Rini wrote: > > On Tue, Oct 22, 2024 at 02:16:52PM +0200, Simon Glass wrote: > > Hi Tom, > > > > On Sat, 19 Oct 2024 at 18:30, Tom Rini wrote: > > > > > > On Sat, Oct 19, 2024 at 05:49:40AM -0600, Simon Glass wrote: > > > > Hi Tom, > > > > > > > > On Fri

Re: [PATCH v7 6/7] test: efi: boot: Set up an image suitable for EFI testing

2024-10-22 Thread Simon Glass
Hi Tom, On Tue, 22 Oct 2024 at 16:02, Tom Rini wrote: > > On Tue, Oct 22, 2024 at 02:15:46PM +0200, Simon Glass wrote: > > Hi Tom, > > > > On Mon, 21 Oct 2024 at 19:32, Tom Rini wrote: > > > > > > On Mon, Oct 21, 2024 at 08:31:10AM +0200, Simon Glass wrote: > > > > Hi Tom, > > > > > > > > On Sat

Re: [PATCH v2 11/13] smbios: Fill UUID from sysinfo when available

2024-10-22 Thread Simon Glass
On Tue, 22 Oct 2024 at 08:06, Jan Kiszka wrote: > > From: Jan Kiszka > > Allow for the sysinfo drivers to provide a system UUID to SMBIOS. Will > be first used by the IOT2050 boards. > > Based on original patch by Li Hua Qian. > > Signed-off-by: Jan Kiszka > --- > include/sysinfo.h | 1 + > lib

Re: [PATCH v2 10/11] spi: Add support for ADI SC5XX-family processor SPI peripherals

2024-10-22 Thread Greg Malysa
Hi Vas, Last time this series was submitted we received some good feedback from Christophe (https://patchwork.ozlabs.org/project/uboot/patch/20240515215837.14028-11-greg.mal...@timesys.com/), but I don't see the changes applied (or justifications for why they should not be applied). Let's get

[PATCHv2 2/2] cpu_func.h: provide noncached_set_region prototype to fix build

2024-10-22 Thread Tom Rini
From: Jonas Jelonek Due to the removal of weak functions in 7d6cee2cd0 ("cmd: cache: Remove weak function"), U-Boot fails to compile after updating to v2024.10 for mediatek target in OpenWrt with GCC-14 with error: cmd/cache.c: In function 'do_dcache': cmd/cache.c:57:25: error: implicit declarati

[PATCHv2 1/2] CONFIG_SYS_NONCACHED_MEMORY: Move prototypes to include/cpu_func.h for consistency

2024-10-22 Thread Tom Rini
Currently, a number of generic cache related functions have their common prototype declared in include/cpu_func.h. Move the current set of noncached functions there as well to match. Signed-off-by: Tom Rini --- Changes in v2: - New patch because of build failures noticed on v1. --- arch/arm/incl

Re: [PATCH] envtools: make them build again

2024-10-22 Thread Tom Rini
On Wed, 16 Oct 2024 17:10:35 +0200, Rasmus Villemoes wrote: > In v2024.10, "make envtools" is broken for at least these defconfigs: > >am335x_evm_defconfig >rpi_3_defconfig >rpi_4_defconfig >mx7dsabresd_defconfig >wandboard_defconfig >imx8mp_evk_defconfig > > [...] Appli

Re: [PATCH v3 0/3] aspeed: ast2700: Add Caliptra ECDSA driver

2024-10-22 Thread Tom Rini
On Mon, 14 Oct 2024 17:56:17 +0800, Chia-Wei Wang wrote: > Aspeed AST2700 SoCs integrates the Caliptra secure IP, where an ECDSA384 > signature verification HW interface is exported for SoC crypto needs. > > This patch series firstly extends the FIT image signing/verify common > code to support t

Re: [PATCH v5 0/7] Add AVS support for J721S2

2024-10-22 Thread Tom Rini
On Tue, 15 Oct 2024 16:22:16 +0530, Manorit Chawdhry wrote: > This series adds support for Adaptive voltage scaling on J721S2 device [0]. > > [0]: https://www.ti.com/lit/pdf/spruj28 (Section 5.2.4.1 AVS Support) > > AVS Test for J721S2: > https://gist.github.com/manorit2001/b2fd9f6764a863294d4a

Re: [PATCH v3 0/2] Add TI K3 PCIe Controller support for J7200

2024-10-22 Thread Tom Rini
On Mon, 14 Oct 2024 11:09:22 +0530, Siddharth Vadapalli wrote: > This series adds support for the Cadence PCIe controller on TI's K3 > family of SoCs to which the J7200 SoC belongs. The driver is an adaptation > of the Linux driver (drivers/pci/controller/cadence/pci-j721e.c) and has > been implem

Re: [PATCH v9 24/37] common: Enable BLOBLIST_TABLES on arm

2024-10-22 Thread Patrick Rudolph
Hi Simon, On Tue, Oct 22, 2024 at 2:16 PM Simon Glass wrote: > > Hi Peter, > > On Mon, 21 Oct 2024 at 19:57, Peter Robinson wrote: > > > > > > > > Allow to use BLOBLIST_TABLES on arm to store ACPI or other tables. > > > > > > > > > > > > Signed-off-by: Patrick Rudolph > > > > > > Cc: Tom Rini >

Re: [PATCH 23/34] bootstd: Maintain a list of images

2024-10-22 Thread Tom Rini
On Tue, Oct 22, 2024 at 02:16:52PM +0200, Simon Glass wrote: > Hi Tom, > > On Sat, 19 Oct 2024 at 18:30, Tom Rini wrote: > > > > On Sat, Oct 19, 2024 at 05:49:40AM -0600, Simon Glass wrote: > > > Hi Tom, > > > > > > On Fri, 18 Oct 2024 at 15:30, Tom Rini wrote: > > > > > > > > On Fri, Oct 18, 20

Re: [PATCH v7 00/11] labgrid: Provide an integration with Labgrid

2024-10-22 Thread Tom Rini
On Tue, Oct 22, 2024 at 02:15:40PM +0200, Simon Glass wrote: > Hi Tom, > > On Mon, 21 Oct 2024 at 20:07, Tom Rini wrote: > > > > On Mon, Oct 21, 2024 at 01:12:49PM +0200, Simon Glass wrote: > > > Hi Tom, > > > > > > On Thu, 10 Oct 2024 at 03:51, Simon Glass wrote: > > > > > > > > Labgrid provide

Re: [PATCH v4 0/3] dwc3: gadget: properly fix cache operations

2024-10-22 Thread Tom Rini
On Tue, Oct 22, 2024 at 11:10:27AM +0200, Mattijs Korpershoek wrote: > Hi Tom, > > On lun., oct. 21, 2024 at 17:31, Tom Rini wrote: > > > On Fri, 11 Oct 2024 16:38:23 +0200, Neil Armstrong wrote: > > > >> We experience huge problems with cache handling on Qualcomm > >> systems, and it appears th

Re: [PATCH] CI: Add a test for building without CMDLINE

2024-10-22 Thread Tom Rini
On Tue, Oct 22, 2024 at 02:16:16PM +0200, Simon Glass wrote: > Hi Tom, > > On Mon, 21 Oct 2024 at 18:50, Tom Rini wrote: > > > > On Mon, Oct 21, 2024 at 06:32:18PM +0200, Simon Glass wrote: > > > Hi Tom, > > > > > > On Mon, Oct 21, 2024, 16:33 Tom Rini wrote: > > > > > > > > On Mon, Oct 21, 2024

Re: [PATCH v7 6/7] test: efi: boot: Set up an image suitable for EFI testing

2024-10-22 Thread Tom Rini
On Tue, Oct 22, 2024 at 02:15:46PM +0200, Simon Glass wrote: > Hi Tom, > > On Mon, 21 Oct 2024 at 19:32, Tom Rini wrote: > > > > On Mon, Oct 21, 2024 at 08:31:10AM +0200, Simon Glass wrote: > > > Hi Tom, > > > > > > On Sat, 19 Oct 2024 at 11:51, Tom Rini wrote: > > > > > > > > On Sat, Oct 19, 20

Re: [PATCH 2/6] memory: ti-aemif: Make AEMIF driver architecture agnostic

2024-10-22 Thread Tom Rini
On Mon, Oct 21, 2024 at 05:13:26PM +0200, Bastien Curutchet wrote: > AEMIF controller is present on other SoCs than the Keystone ones. > > Remove Keystone specificities from the driver to be able to use it from > other architectures. > Adapt the ks2_evm/board.c to fit the new driver. > > Signed-

Re: [PATCH 3/6] memory: ti-aemif: Add ARCH_DAVINCI to architectures that uses TI_AEMIF

2024-10-22 Thread Tom Rini
On Mon, Oct 21, 2024 at 05:13:27PM +0200, Bastien Curutchet wrote: > TI_AEMIF configuration doesn't depend on ARCH_DAVINCI while the AEMIF > controller is present in the DaVinci SoCs. > > Add ARCH_DAVINCI to the potential users of the TI_AEMIF driver > Add to driver's includes to fix build issue

Re: [PATCH 1/6] memory: ti-aemif: Correct macro to ensure avoiding precedence issues

2024-10-22 Thread Tom Rini
On Mon, Oct 21, 2024 at 05:13:25PM +0200, Bastien Curutchet wrote: > Fix following CHECK pointed out by checkpatch: > >CHECK: Macro argument 'cs' may be better as '(cs)' to avoid precedence > issues >#62: FILE: drivers/memory/ti-aemif.c:15: >+#define AEMIF_CONFIG(cs) (0

Re: [PATCH v2 24/31] bootmeth: Update the read_file() method to include a type

2024-10-22 Thread Mattijs Korpershoek
Hi Simon, Thank you for the patch. On sam., oct. 19, 2024 at 09:22, Simon Glass wrote: > We want to record the type of each file which is loaded. Add an new > parameter for this, to the read_file() method. Update all users. > > Make bootmeth_common_read_file() store information about the image

Re: [PATCH v2 10/31] test: boot: Use a consistent name for the script bootmeth

2024-10-22 Thread Mattijs Korpershoek
Hi Simon, Thank you for the patch. On sam., oct. 19, 2024 at 09:21, Simon Glass wrote: > In the bootflow tests the script bootmeth is bound with the name > bootmeth_script whereas the others have a name without the bootmeth_ > prefix. Adjust it to be the same. > > Signed-off-by: Simon Glass R

Re: [PATCH 2/6] bootstd: android: add non-A/B image support

2024-10-22 Thread Mattijs Korpershoek
Hi Guillaume, Thank you for the patch. On jeu., oct. 17, 2024 at 18:10, Guillaume La Roque wrote: > Update android bootmeth to support non-A/B image. > Enable AB support only when ANDROID_AB is enabled. > > Signed-off-by: Guillaume La Roque > --- > boot/Kconfig | 1 - >

Re: [PATCH 1/6] bootstd: android: add support of bootimage v2

2024-10-22 Thread Mattijs Korpershoek
Hi Guillaume, Thank you for the patch. On jeu., oct. 17, 2024 at 18:10, Guillaume La Roque wrote: > Android bootmeth only support boot image v3/4. > > Add support of Android Boot Image version 2 [1]. > Vendor boot image is only supported in version 3 and 4 so don't try to > read it when header

Re: enabling W=1 by default

2024-10-22 Thread Andy Shevchenko
On Mon, Oct 21, 2024 at 06:32:21PM +0200, Simon Glass wrote: > On Mon, 21 Oct 2024 at 16:27, Andy Shevchenko > wrote: > > > > looking at the redness of the output of `make W=1` here is the question: > > isn't it a good time to enable `make W=1` by default. Yes, I understand > > the impact, but at

Re: [PATCH v1 1/1] efi_loader: Mark a function static

2024-10-22 Thread Andy Shevchenko
On Tue, Oct 22, 2024 at 08:02:46AM +0200, Heinrich Schuchardt wrote: > On 10/21/24 16:40, Ilias Apalodimas wrote: > > On Mon, 21 Oct 2024 at 17:06, Andy Shevchenko > > wrote: > > > > > > efi_bootmgr_release_uridp_resource() is not used anywhere except > > > the same file where it is defined. Mark

Re: [PATCH v2 00/25] led: Remove old status-LED code

2024-10-22 Thread Simon Glass
Hi Tom, On Mon, 21 Oct 2024 at 19:26, Tom Rini wrote: > > On Mon, Oct 21, 2024 at 01:38:08PM +0200, Simon Glass wrote: > > There has been an LED framework in U-Boot which uses driver model for > > about 9 years now. Recent work is underway to improve it and provide > > more features. It is probab

Re: [PATCH v2 00/25] led: Remove old status-LED code

2024-10-22 Thread Peter Robinson
> On Mon, Oct 21, 2024 at 01:38:08PM +0200, Simon Glass wrote: > > There has been an LED framework in U-Boot which uses driver model for > > about 9 years now. Recent work is underway to improve it and provide > > more features. It is probably a good time to drop the old code, which > > is only use

RE: [PATCH 1/1] Fixed sama5d3 dts file so PIO sections are inside pinctrl as in kernel dts

2024-10-22 Thread Alexey Tsirlin
No problem! Thanks! Alexey. -Original Message- From: manikanda...@microchip.com Sent: Tuesday, 22 October 2024 11:47 To: ale...@all4bambi.com; eugen.hris...@linaro.org; u-boot@lists.denx.de Cc: varshini.rajend...@microchip.com; hari.prasat...@microchip.com Subject: Re: [PATCH 1/1] Fixed

u-boot

2024-10-22 Thread Dharshini V
Good Afternoon,   I want to learn U-Boot and create u-boot for Xilinx Zynq 7000 series. Are there any training courses or resources available? I’m particularly interested in hands-on projects to deepen my understanding. Any recommendations for tutorials or guides would be helpful too. Rega

Re: [PATCH 5/6] configs: Enable htts for wget on qemu arm64

2024-10-22 Thread Jérôme Forissier
Le ven. 18 oct. 2024, 16:23, Ilias Apalodimas a écrit : > QEMU already has an lwip variant of a defconfig. That defconfig > is also configured with mbedTLS by default. So let's enable the > remaining config options to enable wget for https:// as well > and test that codepath in the CI > > Signed-

Re: [PATCH 4/6] arm: mach-k3: j721e-init.c: J7200: Add support for CONFIG_K3_OPP_LOW

2024-10-22 Thread Limaye, Aniket
On 10/17/2024 4:10 PM, Neha Malcom Francis wrote: Hi Aniket On 17/10/24 11:59, Aniket Limaye wrote: From: Reid Tonking The default j7200 devicetree and k3_avs driver set 2GHz/1GHz frequency for A72/MSMC clks and the OPP_NOM voltage. J7200 SOCs may support OPP_LOW Operating Performance Poi

Re: [PATCH 6/6] bootstd: Add test for Android boot image v2

2024-10-22 Thread Mattijs Korpershoek
Hi Guillaume, Thank you for the patch. On jeu., oct. 17, 2024 at 18:10, Guillaume La Roque wrote: > Rename actual android bootmethod test to specify it's for boot image > version 4. > Add a unit test for testing the Android bootmethod with boot image > version 2. > > This requires another mmc

Re: [PATCH 3/6] misc: k3_avs: Add k3_check_opp function

2024-10-22 Thread Limaye, Aniket
On 10/17/2024 4:06 PM, Neha Malcom Francis wrote: Hi Aniket On 17/10/24 11:59, Aniket Limaye wrote: From: Reid Tonking Useful when trying to check if an opp efuse is burned in or not. k3_avs driver checks opp_ids when probing and overwrites the voltage values in vd_data for the respective

Re: [PATCH 2/2] arm64: imx8mp: Read item and serial number from EEPROM ID page on DH i.MX8MP DHCOM

2024-10-22 Thread Marek Vasut
On 10/22/24 11:31 AM, Christoph Niedermaier wrote: From: Marek Vasut Sent: Tuesday, October 22, 2024 1:01 AM On 10/21/24 5:38 PM, Christoph Niedermaier wrote: [...] If yes, then there is no need for any static variable: board_init() { u8 eeprom[32]; dh_read_eeprom_wlp(eeprom); // re

Re: [PATCH 5/6] configs: khadas-vim3_android{_ab}: move on bootmeth android

2024-10-22 Thread Mattijs Korpershoek
Hi Guillaume, Thank you for the patch. On jeu., oct. 17, 2024 at 18:10, Guillaume La Roque wrote: > Actually khadas vim3 use distro command to boot android image. > Move on new bootmeth android for A/B and non-A/B vim3 android. > > Signed-off-by: Guillaume La Roque > --- > configs/khadas-vim

Re: [PATCH 4/6] configs: khadas-vim3l_android{_ab}: move on bootmeth android

2024-10-22 Thread Mattijs Korpershoek
Hi Guillaume, Thank you for the patch. On jeu., oct. 17, 2024 at 18:10, Guillaume La Roque wrote: > Actually khadas vim3l use distro command to boot android image. > Move on new bootmeth android for A/B and non-A/B vim3l android. > > Signed-off-by: Guillaume La Roque > --- > configs/khadas-v

Re: [PATCH 3/6] configs: khadas-vim3{l}: fix userdata size

2024-10-22 Thread Mattijs Korpershoek
Hi Guillaume, Thank you for the patch. On jeu., oct. 17, 2024 at 18:10, Guillaume La Roque wrote: > After increase boot and recovery partition userdata was not resize. > so on VIM3 16GB and VIM3L `fastboot oem format` or `gpt write mmc 2 > $partitions` fail because end of last partition is out

RE: [PATCH] imx9: Improve boot device auto-selection

2024-10-22 Thread Peng Fan
> Subject: Re: [PATCH] imx9: Improve boot device auto-selection > > On Wed, Oct 16, 2024 at 4:42 PM Szőke Benjamin > wrote: > > > You can use only one of config from CONFIG_ENV_IS_IN_MMC=y and > > CONFIG_ENV_IS_NOWHERE=y in U-boot config in same time. > > imx93_11x11_evk_defconfig selects both

Re: [PATCH 23/34] bootstd: Maintain a list of images

2024-10-22 Thread Simon Glass
Hi Tom, On Sat, 19 Oct 2024 at 18:30, Tom Rini wrote: > > On Sat, Oct 19, 2024 at 05:49:40AM -0600, Simon Glass wrote: > > Hi Tom, > > > > On Fri, 18 Oct 2024 at 15:30, Tom Rini wrote: > > > > > > On Fri, Oct 18, 2024 at 12:48:31PM -0600, Simon Glass wrote: > > > > Hi Tom, > > > > > > > > On Fri

Re: [PATCH] CI: Add a test for building without CMDLINE

2024-10-22 Thread Simon Glass
Hi Tom, On Mon, 21 Oct 2024 at 18:50, Tom Rini wrote: > > On Mon, Oct 21, 2024 at 06:32:18PM +0200, Simon Glass wrote: > > Hi Tom, > > > > On Mon, Oct 21, 2024, 16:33 Tom Rini wrote: > > > > > > On Mon, Oct 21, 2024 at 03:44:49PM +0200, Simon Glass wrote: > > > > > > > Something this breaks, so

Re: [PATCH v9 24/37] common: Enable BLOBLIST_TABLES on arm

2024-10-22 Thread Simon Glass
Hi Peter, On Mon, 21 Oct 2024 at 19:57, Peter Robinson wrote: > > > > > > Allow to use BLOBLIST_TABLES on arm to store ACPI or other tables. > > > > > > > > > > Signed-off-by: Patrick Rudolph > > > > > Cc: Tom Rini > > > > > --- > > > > > Changelog v9: > > > > > - default to BLOBLIST_ALLOC on a

Re: [PATCH v7 6/7] test: efi: boot: Set up an image suitable for EFI testing

2024-10-22 Thread Simon Glass
Hi Tom, On Mon, 21 Oct 2024 at 19:32, Tom Rini wrote: > > On Mon, Oct 21, 2024 at 08:31:10AM +0200, Simon Glass wrote: > > Hi Tom, > > > > On Sat, 19 Oct 2024 at 11:51, Tom Rini wrote: > > > > > > On Sat, Oct 19, 2024 at 09:24:33AM -0600, Simon Glass wrote: > > > > > > > Create a new disk for us

Re: [PATCH v7 00/11] labgrid: Provide an integration with Labgrid

2024-10-22 Thread Simon Glass
Hi Tom, On Mon, 21 Oct 2024 at 20:07, Tom Rini wrote: > > On Mon, Oct 21, 2024 at 01:12:49PM +0200, Simon Glass wrote: > > Hi Tom, > > > > On Thu, 10 Oct 2024 at 03:51, Simon Glass wrote: > > > > > > Labgrid provides access to a hardware lab in an automated way. It is > > > possible to boot U-Bo

[PATCH v8 8/8] test: efi: boot: Add a test for the efi bootmeth

2024-10-22 Thread Simon Glass
Add a simple test of booting with the EFI bootmeth, which runs the app and checks that it can call 'exit boot-services' (to check that all the device-removal code doesn't break anything) and then exit back to U-Boot. This uses a disk image containing the testapp, ready for execution by sandbox whe

[PATCH v8 7/8] test: efi: boot: Set up an image suitable for EFI testing

2024-10-22 Thread Simon Glass
Create a new disk for use with tests, which contains the new 'testapp' EFI app specifically intended for testing the EFI loader. Attach it to the USB device, since most testing is currently done with mmc. Initially this image will be used to test the EFI bootmeth. Fix a stale comment in prep_mmc

  1   2   >