Re: [PATCH v3 2/3] efi_firmware: set EFI capsule dfu_alt_info env explicitly

2025-02-17 Thread Ilias Apalodimas
Hi Jonathan, The patch looks correct but there's a few more things to address. On Thu, Feb 13, 2025 at 01:53:50PM -0600, Jonathan Humphreys wrote: > The current implementation of EFI capsule update uses set_dfu_alt_info() to > set the dfu_alt_info environment variable with the settings it requir

Re: [PATCH v3 1/3] xilinx: dfu: Fill directly update_info.dfu_string

2025-02-17 Thread Ilias Apalodimas
On Thu, Feb 13, 2025 at 01:53:49PM -0600, Jonathan Humphreys wrote: > From: Michal Simek > > Directly fill update_info.dfu_string to prepare platforms to switch > from using dfu_alt_info variable to dfu_string which contains description > for capsule update when switch is done. > > Signed-off-by:

Re: [PATCH 1/1] tpm: fixed the nv_define_space command in TPMv2

2025-02-17 Thread Ilias Apalodimas
Hi Michel On Thu, Feb 13, 2025 at 12:43:34PM +, Michel Alex wrote: > Added 2 HMAC bytes to the command message Please cc the TPM maintainers, otherwise I might miss this patch. What the patch does is obvious, can you add a better explanation of - what it fixes / what was broken? - pointers t

Re: [PATCH 01/10] dt-bindings: i3c: Add YAML schema for Cadence I3C controller

2025-02-17 Thread Michal Simek
On 2/18/25 03:56, dinesh.mani...@intel.com wrote: From: Dinesh Maniyam Add a YAML device tree binding schema for the Cadence I3C controller, defining required and optional properties for proper integration and validation with dt-schema. Signed-off-by: Dinesh Maniyam --- .../i3c/cdns,i3c-

Re: [PATCH 3/4] lmb: check for a region's coalescing with all existing regions

2025-02-17 Thread Sughosh Ganu
On Mon, 17 Feb 2025 at 20:59, Quentin Schulz wrote: > > Hi Sughosh, > > On 2/13/25 2:11 PM, Sughosh Ganu wrote: > > The lmb_add_region_flags() first checks if the new region to be added > > can be coalesced with existing regions. The check stops if the two > > regions are adjecent but their flags

Re: [PATCH v1 1/1] board: acer: picasso: add Acer Iconia Tab A500 support

2025-02-17 Thread Svyatoslav Ryhel
пн, 17 лют. 2025 р. о 18:51 Quentin Schulz пише: > > Hi Svyatoslav, > > On 2/16/25 7:16 PM, Svyatoslav Ryhel wrote: > > The Acer Iconia A500 is a tablet computer designed, developed and > > marketed by Acer Inc. It is powered by 1 GHz Nvidia Tegra 2 processor > > and 1GB DDR2 RAM. The A500 is sold

Re: [PATCH 2/4] lmb: handle scenario of of encompassing overlap

2025-02-17 Thread Sughosh Ganu
On Mon, 17 Feb 2025 at 20:51, Quentin Schulz wrote: > > Hi Sughosh, > > On 2/13/25 2:11 PM, Sughosh Ganu wrote: > > The lmb_fix_over_lap_regions() function is called if the added region > > overlaps with an existing region. The function then fixes the overlap > > and removes the redundant region.

Re: [PATCH 3/3] efi_loader: make efi_add_memory_map_pg() static

2025-02-17 Thread Ilias Apalodimas
On Sun, 16 Feb 2025 at 13:13, Heinrich Schuchardt wrote: > > The function is only used in the efi_memory.c module. > > Signed-off-by: Heinrich Schuchardt > --- > include/efi_loader.h| 15 --- > lib/efi_loader/efi_memory.c | 1 + > 2 files changed, 1 insertion(+), 15 deletion

Re: [BUG report] spl: image size check fails in spl_load()

2025-02-17 Thread Anshul Dalal
On Sat Feb 15, 2025 at 11:18 PM IST, Sean Anderson wrote: > On 2/14/25 06:12, Anshul Dalal wrote: > > Hi all! > > > > I was trying to implement falcon boot on TI AM62x EVM with the kernel image > > on > > SD card's filesystem but the following check in `_spl_load` at > > `include/spl_load.h:95` f

RE: [PATCH v2 0/4] riscv: dts: starfive: simplify binman config

2025-02-17 Thread Hal Feng
> On 10.02.25 19:18, Heinrich Schuchardt wrote: > All StarFive JH7110 are supported via starfive_visionfive2_defconfig. > Up to now we have explicitly specified the multi-device-tree FIT > configuration. > This more complicated than needed. > > Binman can use the information from CONFIG_OF_LIST t

[PATCH v2 6/6] efi_loader: support file rename in SetInfo()

2025-02-17 Thread Gabriel Dalimonte
Following the UEFI specification. The specification did not seem to delineate if file_name was explicitly a file name only, or could include paths to move the file to a different directory. The more generous interpretation of supporting paths was selected. Signed-off-by: Gabriel Dalimonte --- C

[PATCH v2 4/6] fs: fat: update parent dirs metadata on dentry create/delete

2025-02-17 Thread Gabriel Dalimonte
POSIX filesystem functions that create or remove directory entries contain text along the lines of "[function] shall mark for update the last data modification and last file status change timestamps of the parent directory of each file." [1][2][3] The common theme is these timestamp updates occur w

[PATCH v2 5/6] efi_loader: move path out of file_handle

2025-02-17 Thread Gabriel Dalimonte
In order to support renaming via SetInfo(), path must allow for longer values than what was originally present when file_handle was allocated. Signed-off-by: Gabriel Dalimonte --- (no changes since v1) lib/efi_loader/efi_file.c | 13 + 1 file changed, 9 insertions(+), 4 deletions(-

[PATCH v2 3/6] fs: fat: add rename

2025-02-17 Thread Gabriel Dalimonte
The implementation roughly follows the POSIX specification for rename() [1]. The ordering of operations attempting to minimize the chance for data loss in unexpected circumstances. The 'mv' command was implemented as a front end for the rename operation as that is what most users are likely famili

[PATCH v2 2/6] fs: add rename infrastructure

2025-02-17 Thread Gabriel Dalimonte
The selection for *rename as the name for the rename/move operation derives from the POSIX specification where they name the function rename/renameat. [1] This aligns with Linux where the syscalls for renaming/moving also use the rename/renameat naming. [1] https://pubs.opengroup.org/onlinepubs/97

[PATCH v2 1/6] fs: fat: factor out dentry link create/delete

2025-02-17 Thread Gabriel Dalimonte
The create_link() code was previously duplicated in two existing functions. The two functions will be used in a future commit to achieve renaming. Signed-off-by: Gabriel Dalimonte --- Changes in v2: - update create_link() docstring - remove ATTR_ARCH being implicitly set in create_link() --

[PATCH v2 0/6] This series adds support for file renaming to EFI_FILE_PROTOCOL.SetInfo().

2025-02-17 Thread Gabriel Dalimonte
This series adds support for file renaming to EFI_FILE_PROTOCOL.SetInfo(). One of the use cases for renaming in EFI is to facilitate boot loader boot counting. No existing filesystems in U-Boot currently include file renaming, resulting in support for renaming at the filesystem level and a concret

[PATCH v4 5/5] board: siemens: iot2050: Use sysinfo for board initialization

2025-02-17 Thread Baocheng Su
Drop the info structure parsing of the board in favor of our new sysinfo driver to avoid code duplication. Signed-off-by: Baocheng Su Signed-off-by: Li Hua Qian [Jan: rebasing, split-up, cleanup] Signed-off-by: Jan Kiszka --- (no changes since v3) Changes in v3: - reworked to align with the

[PATCH v4 4/5] sysinfo: Add driver for IOT2050 boards

2025-02-17 Thread Baocheng Su
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 fill the SMBIOS table when booting via EFI. Signed-off-by: Baocheng Su Signed-off-b

[PATCH v4 2/5] sysinfo: Add API for accessing data elements

2025-02-17 Thread Baocheng Su
This commit introduces a new API to the sysinfo module, allowing access to data elements. This is particularly useful for handling data with multiple instances, such as MAC addresses. Signed-off-by: Baocheng Su --- (no changes since v3) Changes in v3: - New drivers/sysinfo/sysinfo-uclass.c |

[PATCH v4 3/5] sysinfo: Add SYSID_BOARD_RAM_SIZE_MB

2025-02-17 Thread Baocheng Su
Add a new field SYSID_BOARD_RAM_SIZE_MB to sysinfo structure to store the size of RAM in MB. dram_init can use this field to get the RAM size via sysinfo driver. Signed-off-by: Baocheng Su --- (no changes since v3) Changes in v3: - New include/sysinfo.h | 1 + 1 file changed, 1 insertion(+)

[PATCH v4 1/5] smbios: Fill UUID from sysinfo when available

2025-02-17 Thread Baocheng Su
Allow for the sysinfo drivers to provide a system UUID to SMBIOS. Will be first used by the IOT2050 boards. Signed-off-by: Li Hua Qian Signed-off-by: Jan Kiszka Signed-off-by: Baocheng Su --- (no changes since v3) Changes in v3: - use sysinfo_get_data to get the SMBios UUID bin - s/strncpy/

[PATCH v4 0/5] boards: siemens: iot2050: SM variant, sysinfo support, fixes & cleanups

2025-02-17 Thread Baocheng Su
This introduces a sysinfo driver which also permits SMBIOS support. The first 10 patches of v2 have already been applied. The remaining is solely the sysinfo driver. To maintain consistency and ease of searching through the history, the series title remains unchanged. Baocheng Changes in v4: - r

Re: [PATCH v3 5/5] board: siemens: iot2050: Use sysinfo for board initialization

2025-02-17 Thread Su, Bao Cheng
On Thu, 2025-02-13 at 20:00 +0100, Jan Kiszka wrote: > On 10.02.25 14:05, Baocheng Su wrote: > > Drop the info structure parsing of the board in favor of our new > > sysinfo > > driver to avoid code duplication. > > > > Signed-off-by: Baocheng Su > > Signed-off-by: Li Hua Qian > > [Jan: rebasing

[PATCH] clk: versal: Store driver data in data section

2025-02-17 Thread Padmarao Begari
Line 171 in README is describing that before relocation no code should use global variable because global variables are placed to BSS section which is initialized to 0 after relocation. On Versal platforms clock driver is initialized before relocation (via using dm,bootph-all flag in DT) and globa

[PATCH 07/10] drivers: i3c: master: Enable probe i3c without slave device

2025-02-17 Thread dinesh . maniyam
From: Dinesh Maniyam Picked linux i3c driver upstraming patch to fix the issue to probe for i3c controller without slave device attached. With this fix, the ret check will be on command error and will success without slave device attached. Signed-off-by: Dinesh Maniyam --- drivers/i3c/master.c

[PATCH 10/10] cmd: Enabled Kconfig and Makefile for DWI3C cmd support

2025-02-17 Thread dinesh . maniyam
From: Dinesh Maniyam Enable the Kconfig and Makefile for the DWI3C driver cmd support. Signed-off-by: Dinesh Maniyam --- cmd/Kconfig | 6 ++ cmd/Makefile | 1 + 2 files changed, 7 insertions(+) diff --git a/cmd/Kconfig b/cmd/Kconfig index a04fcaa0e0..5236e7ea76 100644 --- a/cmd/Kconfig +

[PATCH 09/10] cmd: Add i3c command support.

2025-02-17 Thread dinesh . maniyam
From: Dinesh Maniyam Add i3c command file to support select, get i3c device target list, read and write operation. Signed-off-by: Dinesh Maniyam --- cmd/i3c.c | 193 + drivers/i3c/master/dw-i3c-master.c | 35 +- include/dw-i3c.h

[PATCH 08/10] i3c: master: dw-i3c-master: Fix OD_TIMING for spike filter

2025-02-17 Thread dinesh . maniyam
From: Dinesh Maniyam Fix the I3C device with spike filter unable to detect issue by setting tHIGH_INIT to 200ns for first broadcast address. This is according to MIPI SPEC 1.1.1 for first broadcast address which is already part of linux upstreamed patch. Signed-off-by: Dinesh Maniyam --- drive

[PATCH 04/10] drivers: Enabled Kconfig and Makefile for I3C support

2025-02-17 Thread dinesh . maniyam
From: Dinesh Maniyam Enable I3C driver support. Signed-off-by: Dinesh Maniyam --- drivers/i3c/Kconfig | 21 + drivers/i3c/Makefile | 3 +++ 2 files changed, 24 insertions(+) create mode 100644 drivers/i3c/Kconfig create mode 100644 drivers/i3c/Makefile diff --git a/dri

[PATCH 06/10] drivers: i3c: Add i3c uclass driver.

2025-02-17 Thread dinesh . maniyam
From: Dinesh Maniyam Enable i3c general uclass driver. This uclass driver will have genaral read and write api to call the specific i3c driver. Signed-off-by: Dinesh Maniyam --- drivers/i3c/Makefile | 1 + drivers/i3c/i3c-uclass.c | 38 include/dw-i3c.h |

[PATCH 05/10] drivers: i3c: Enabled Kconfig and Makefile for DWI3C

2025-02-17 Thread dinesh . maniyam
From: Dinesh Maniyam Enable the Kconfig and Makefile for the MIPI DWI3C driver. Signed-off-by: Dinesh Maniyam --- drivers/i3c/master/Kconfig | 11 +++ drivers/i3c/master/Makefile | 3 +++ 2 files changed, 14 insertions(+) create mode 100644 drivers/i3c/master/Kconfig create mode 10

[PATCH 02/10] drivers: i3c: Add new i3c uclass id

2025-02-17 Thread dinesh . maniyam
From: Dinesh Maniyam Add i3c general uclass id. Signed-off-by: Dinesh Maniyam --- include/dm/uclass-id.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/dm/uclass-id.h b/include/dm/uclass-id.h index 270088ad94..1d259b439f 100644 --- a/include/dm/uclass-id.h +++ b/include/dm/uclass-

[PATCH 01/10] dt-bindings: i3c: Add YAML schema for Cadence I3C controller

2025-02-17 Thread dinesh . maniyam
From: Dinesh Maniyam Add a YAML device tree binding schema for the Cadence I3C controller, defining required and optional properties for proper integration and validation with dt-schema. Signed-off-by: Dinesh Maniyam --- .../i3c/cdns,i3c-master.yaml | 51 + doc/device-tre

[PATCH 00/10] Add Synopsys MIPI I3C Driver support

2025-02-17 Thread dinesh . maniyam
From: Dinesh Maniyam This patchset add Synopsys MIPI I3C Driver support for Intel Agilex5 devices. The i3c driver is leveraged from the master/dw-i3c-master.c, i3c/device.c and i3c/master.c Linux version 6.6.37 LTS And few header files included to be part of the migration; i3c/internals.h, inclu

Re: [XGMAC dt bindings v1 1/1] dt: net: add DWC XGMAC binding

2025-02-17 Thread Tom Rini
On Tue, Feb 18, 2025 at 01:43:15AM +, Ng, Boon Khai wrote: > > To be clear, it means you should use the same bindings at the linux kernel, > > which we have in dts/upstream/ > > Hi Tom, okay got it. From Linux perspective we are using both below: > 1) dts/upstream/Bindings/net/snp,dwmac.yaml >

RE: [XGMAC dt bindings v1 1/1] dt: net: add DWC XGMAC binding

2025-02-17 Thread Ng, Boon Khai
> To be clear, it means you should use the same bindings at the linux kernel, > which we have in dts/upstream/ Hi Tom, okay got it. From Linux perspective we are using both below: 1) dts/upstream/Bindings/net/snp,dwmac.yaml 2) dts/upstream/Bindings/net/socfpga-dwmac.txt In the case of U-Boot driv

Re: xPL Proposal

2025-02-17 Thread Tom Rini
On Mon, Feb 17, 2025 at 01:39:37PM -0700, Simon Glass wrote: > Hi Tom, > > On Mon, 17 Feb 2025 at 13:17, Tom Rini wrote: > > > > On Mon, Feb 17, 2025 at 01:47:32PM -0600, Tom Rini wrote: > > > On Mon, Feb 17, 2025 at 12:34:01PM -0700, Simon Glass wrote: > > > > Hi Tom, > > > > > > > > On Mon, 17

Re: [PATCH v2 30/35] rockchip: Set the skip-at-start property correctly

2025-02-17 Thread Jonas Karlman
Hi Simon, On 2025-02-09 22:14, Simon Glass wrote: > The rockchip image is written to the media at block 64, which is a 32K > offset, so set the skip-at-start property to 0x8000 > > Update CONFIG_SPL_PAD_TO to point to the offset in the image, since > Binman is dealing with the 'missing' 32K now.

Re: [PATCH v2 19/35] rockchip: Add a template for SPL

2025-02-17 Thread Jonas Karlman
Hi Simon, On 2025-02-09 22:14, Simon Glass wrote: > The SPL phase has a single SPL binary plus a devicetree for each board > we need to support. > > The devicetree is run through fdtgrep to remove unwanted nodes and > properties and reduce its size. > > While it would be nicer to just have a sin

Re: [PATCH v2 04/35] arm: Support a separate stack for VPL

2025-02-17 Thread Jonas Karlman
Hi Simon, On 2025-02-09 22:14, Simon Glass wrote: > VPL has the same needs as TPL in situations where the stack is at the > top of SRAM. Add an option for this and implement it for arm > > Signed-off-by: Simon Glass > --- > > Changes in v2: > - Reply on existing CONFIG_VAL() to select the VPL s

Re: [PATCH v2 03/35] spl: Use CONFIG_VAL() to obtain the SPL stack

2025-02-17 Thread Jonas Karlman
Hi Simon, On 2025-02-09 22:14, Simon Glass wrote: > Now that we have the same option for SPL and VPL, simplify the logic for I suspect you mean TPL here? > determining the initial stack. > > Signed-off-by: Simon Glass > Suggested-by: Tom Rini > --- > > Changes in v2: > - Add new patch to use

Re: [PATCH v2 18/35] rockchip: Include a compatible string in each configuration

2025-02-17 Thread Jonas Karlman
Hi Simon, On 2025-02-09 22:14, Simon Glass wrote: > Provide a compatible string so that U-Boot can decide which > configuration to use. > > Signed-off-by: Simon Glass This will be useful for more than VBE so this is: Reviewed-by: Jonas Karlman Regards, Jonas > --- > > (no changes since v1)

Re: [PATCH v2 16/35] rockchip: Provide a bootstd configuration

2025-02-17 Thread Jonas Karlman
Hi Simon, On 2025-02-09 22:14, Simon Glass wrote: > Add bootstd information for VBE. Put it in a separate file to avoid > cluttering the main one. > > Signed-off-by: Simon Glass > --- > > Changes in v2: > - Move VPL things into a separate file > > arch/arm/dts/rockchip-u-boot.dtsi | 4 ++

Re: [PATCH v2 02/35] spl: Add an SPL_HAVE_INIT_STACK option

2025-02-17 Thread Jonas Karlman
Hi Simon, On 2025-02-09 22:14, Simon Glass wrote: > At present there is a hex value SPL_STACK which both determines whether > SPL has its own initial stack and the hex value of that stack. > > Split off the former into SPL_HAVE_INIT_STACK with SPL_STACK depending > on that and only providing the

Re: xPL Proposal

2025-02-17 Thread Simon Glass
Hi Tom, On Mon, 17 Feb 2025 at 13:17, Tom Rini wrote: > > On Mon, Feb 17, 2025 at 01:47:32PM -0600, Tom Rini wrote: > > On Mon, Feb 17, 2025 at 12:34:01PM -0700, Simon Glass wrote: > > > Hi Tom, > > > > > > On Mon, 17 Feb 2025 at 12:22, Tom Rini wrote: > > > > > > > > On Mon, Feb 17, 2025 at 12:

Re: [PATCH v2 01/35] tpl: Rename TPL_NEEDS_SEPARATE_STACK to TPL_HAVE_INIT_STACK

2025-02-17 Thread Jonas Karlman
Hi Simon, On 2025-02-09 22:14, Simon Glass wrote: > The most common word for features that make a platform work is to use > 'HAVE_xxx'. Rename this option to match. We already have HAS_CUSTOM_SYS_INIT_SP_ADDR related to the init stack pointer address, maybe the new symbol should be named somethin

Re: xPL Proposal

2025-02-17 Thread Tom Rini
On Mon, Feb 17, 2025 at 01:47:32PM -0600, Tom Rini wrote: > On Mon, Feb 17, 2025 at 12:34:01PM -0700, Simon Glass wrote: > > Hi Tom, > > > > On Mon, 17 Feb 2025 at 12:22, Tom Rini wrote: > > > > > > On Mon, Feb 17, 2025 at 12:11:12PM -0700, Simon Glass wrote: > > > > Hi Tom, > > > > > > > > On Mo

[PATCH u-boot-test-hooks] py/konsulko-labgrid: Add sample rpi_arm64 / rpi_4 boardenv file

2025-02-17 Thread Tom Rini
To match up with the sample conf file under bin/konsulko-labgrid, add a boardenv file for the rpi_4 and rpi_arm64 variants (cannot be shared with rpi_4_32b as we have aarch64 specific example test files). This shows how to enable network based tests, including OS boot on the platform. Signed-off-b

Re: xPL Proposal

2025-02-17 Thread Tom Rini
On Mon, Feb 17, 2025 at 12:34:01PM -0700, Simon Glass wrote: > Hi Tom, > > On Mon, 17 Feb 2025 at 12:22, Tom Rini wrote: > > > > On Mon, Feb 17, 2025 at 12:11:12PM -0700, Simon Glass wrote: > > > Hi Tom, > > > > > > On Mon, 17 Feb 2025 at 11:50, Tom Rini wrote: > > > > > > > > On Tue, Feb 11, 20

Re: xPL Proposal

2025-02-17 Thread Simon Glass
Hi Tom, On Mon, 17 Feb 2025 at 11:50, Tom Rini wrote: > > On Tue, Feb 11, 2025 at 03:22:22PM -0600, Tom Rini wrote: > > On Tue, Feb 11, 2025 at 08:03:20AM -0700, Simon Glass wrote: > > > Hi, > > > > > > I just wanted to send a note to (re-)introduce my ideas[1] for the > > > next iteration of xPL

Re: xPL Proposal

2025-02-17 Thread Simon Glass
Hi Tom, On Mon, 17 Feb 2025 at 12:22, Tom Rini wrote: > > On Mon, Feb 17, 2025 at 12:11:12PM -0700, Simon Glass wrote: > > Hi Tom, > > > > On Mon, 17 Feb 2025 at 11:50, Tom Rini wrote: > > > > > > On Tue, Feb 11, 2025 at 03:22:22PM -0600, Tom Rini wrote: > > > > On Tue, Feb 11, 2025 at 08:03:20A

Re: (subset) [PATCH 1/2] u_boot_pylib: Move gitutil into the library

2025-02-17 Thread Tom Rini
On Sun, 09 Feb 2025 14:26:00 -0700, Simon Glass wrote: > Move this file into U-Boot's Python library, so that it is no-longer > part of patman. > > This makes a start on: > > https://source.denx.de/u-boot/custodians/u-boot-dm/-/issues/35 > > [...] Applied to u-boot/next, thanks! -- Tom

Re: [PATCH v4 01/29] Makefile: Avoid using TEXT_BASE with the EFI APP

2025-02-17 Thread Tom Rini
On Fri, Feb 14, 2025 at 08:22:22PM -0700, Simon Glass wrote: > This value is not available with the EFI app. Add a condition to avoid > introducing errors when linking. > > Signed-off-by: Simon Glass Reviewed-by: Tom Rini -- Tom signature.asc Description: PGP signature

Re: [PATCH] Gitlab: Add missing symlink for qemu_arm64_lwip boardenv file

2025-02-17 Thread Tom Rini
On Sun, 16 Feb 2025 10:29:03 -0600, Tom Rini wrote: > When adding the symlink for the conf file so qemu_arm64_lwip uses > qemu_arm64 configuration information, the symlink for the boardenv file > was missed in Gitlab (but not Azure). Add that in now. > > Applied to u-boot/master, thanks! -- T

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

2025-02-17 Thread Tom Rini
On Sun, Feb 09, 2025 at 02:26:01PM -0700, Simon Glass wrote: > Reduce the number of warnings in this file. > > Signed-off-by: Simon Glass > --- > > tools/buildman/func_test.py | 4 +- > tools/u_boot_pylib/gitutil.py | 240 ++ > 2 files changed, 128 insertion

Re: xPL Proposal

2025-02-17 Thread Tom Rini
On Mon, Feb 17, 2025 at 12:11:12PM -0700, Simon Glass wrote: > Hi Tom, > > On Mon, 17 Feb 2025 at 11:50, Tom Rini wrote: > > > > On Tue, Feb 11, 2025 at 03:22:22PM -0600, Tom Rini wrote: > > > On Tue, Feb 11, 2025 at 08:03:20AM -0700, Simon Glass wrote: > > > > Hi, > > > > > > > > I just wanted t

Re: xPL Proposal

2025-02-17 Thread Tom Rini
On Mon, Feb 17, 2025 at 11:03:28AM -0700, Simon Glass wrote: > Hi Tom, > > On Mon, 17 Feb 2025 at 08:59, Tom Rini wrote: > > > > On Mon, Feb 17, 2025 at 08:08:58AM -0700, Simon Glass wrote: > > > Hi Tom, > > > > > > On Mon, 17 Feb 2025 at 07:20, Tom Rini wrote: > > > > > > > > On Fri, Feb 14, 20

Re: xPL Proposal

2025-02-17 Thread Tom Rini
On Tue, Feb 11, 2025 at 03:22:22PM -0600, Tom Rini wrote: > On Tue, Feb 11, 2025 at 08:03:20AM -0700, Simon Glass wrote: > > Hi, > > > > I just wanted to send a note to (re-)introduce my ideas[1] for the > > next iteration of xPL. > > > > A recent series introduced 'xPL' as the name for the vario

[PATCH 2/3] ARM: dts: stm32: drop "st,led1" compatible

2025-02-17 Thread Dario Binacchi
It is pointless to use the custom compatible "st,led1" when stm32746g-eval.dts and stm32f769-disco.dts already contain the "gpio-leds" compatible, which is specifically used for GPIO LEDs management. In the case of stm32f746-disco.dts, since it lacks the "gpio-leds" compatible, it was decided to tr

[PATCH 3/3] board: stm32f746-disco: drop board_late_init()

2025-02-17 Thread Dario Binacchi
The removal of the "st,button1" and "st,led1" compatibles has emptied the board_late_init(), so let's remove it along with the configuration that allows its invocation. Signed-off-by: Dario Binacchi --- board/st/stm32f746-disco/stm32f746-disco.c | 5 - configs/stm32746g-eval_defconfig

[PATCH 1/3] ARM: dts: stm32: drop "st,button1" compatible

2025-02-17 Thread Dario Binacchi
It is pointless to use the custom compatible "st,button1" when stm32746g-eval.dts and stm32f769-disco.dts already contain the "gpio-keys" compatible, which is specifically used for button management. In the case of stm32f746-disco.dts, since it lacks the "gpio-keys" compatible, it was decided to tr

Re: xPL Proposal

2025-02-17 Thread Simon Glass
Hi Tom, On Mon, 17 Feb 2025 at 08:59, Tom Rini wrote: > > On Mon, Feb 17, 2025 at 08:08:58AM -0700, Simon Glass wrote: > > Hi Tom, > > > > On Mon, 17 Feb 2025 at 07:20, Tom Rini wrote: > > > > > > On Fri, Feb 14, 2025 at 06:43:30PM -0700, Simon Glass wrote: > > > > Hi Tom, > > > > > > > > On Fri

Re: [PATCH v2 5/6] test/py: Show info about module-loading

2025-02-17 Thread Tom Rini
On Sat, Feb 15, 2025 at 10:21:43AM -0700, Simon Glass wrote: > Hi Tom, > > On Sat, 15 Feb 2025 at 07:49, Tom Rini wrote: > > > > On Sat, Feb 15, 2025 at 05:17:48AM -0700, Simon Glass wrote: > > > Hi Tom, > > > > > > On Mon, 10 Feb 2025 at 08:52, Tom Rini wrote: > > > > > > > > On Sun, Feb 09, 20

Re: [PATCH v2 28/28] test: Add a test for booting Ubuntu 24.04

2025-02-17 Thread Tom Rini
On Sun, Feb 16, 2025 at 01:44:13PM -0700, Simon Glass wrote: > Now that U-Boot can boot this quickly, using kvm, add a test that the > installer starts up correctly. > > Use the qemu-x86_64 board in the SJG lab. > > Signed-off-by: Simon Glass > --- > > Changes in v2: > - Add more patches to sup

Re: [PATCH v2 26/28] test/py: Allow tests to be filtered by role

2025-02-17 Thread Tom Rini
On Sun, Feb 16, 2025 at 01:44:11PM -0700, Simon Glass wrote: > Some test can only be run by a particular board in a lab, e.g. because > they are loaded with an OS image used by the test. Add a way to specify > this in tests. > > Signed-off-by: Simon Glass > --- > > Changes in v2: > - Add new pa

Re: [PATCH v2 27/28] RFC: test/py: Deal with timeouts

2025-02-17 Thread Tom Rini
On Sun, Feb 16, 2025 at 01:44:12PM -0700, Simon Glass wrote: > The distro test takes a little longer to shut down and restart, so > add more time to this operation. > > Disable the sleep command for now, as it seems to be unreliable on > QEMU with '-cpu host'. > > More thought will be needed for

Re: [PATCH v2 0/6] test: A few quality-of-life improvements

2025-02-17 Thread Tom Rini
On Sun, Feb 09, 2025 at 09:07:13AM -0700, Simon Glass wrote: > This little series includes a few patches to make it easier to work with > the Python tests, by shortening identifiers and renaming the 'console' > fixture to reflect its role as the top-level fixture. > > It also adds a command to fi

Re: [PATCH v1 1/1] board: acer: picasso: add Acer Iconia Tab A500 support

2025-02-17 Thread Quentin Schulz
Hi Svyatoslav, On 2/16/25 7:16 PM, Svyatoslav Ryhel wrote: The Acer Iconia A500 is a tablet computer designed, developed and marketed by Acer Inc. It is powered by 1 GHz Nvidia Tegra 2 processor and 1GB DDR2 RAM. The A500 is sold with 64 GB, although both 16 GB and 32 GB models are available. S

[PATCH 0/2] PowerPC MPC8xxx compile-time checks

2025-02-17 Thread J . Neuschäfer via B4 Relay
| 3 +++ 4 files changed, 43 insertions(+) --- base-commit: 52ae6d8588ac8d96b7866ecb29029eff375c7171 change-id: 20250217-immap-size-cf9f6f06139e Best regards, -- J. Neuschäfer

Re: xPL Proposal

2025-02-17 Thread Tom Rini
On Tue, Feb 11, 2025 at 08:03:20AM -0700, Simon Glass wrote: > Hi, > > I just wanted to send a note to (re-)introduce my ideas[1] for the > next iteration of xPL. > > A recent series introduced 'xPL' as the name for the various > pre-U-Boot phases, so now CONFIG_XPL_BUILD means that this is any

Re: [XGMAC dt bindings v1 1/1] dt: net: add DWC XGMAC binding

2025-02-17 Thread Tom Rini
On Mon, Feb 17, 2025 at 02:34:24AM +, Ng, Boon Khai wrote: > > -Original Message- > > From: Tom Rini > > Sent: Saturday, 18 January, 2025 1:57 AM > > To: Ng, Boon Khai > > Cc: Uboot Open List ; Chee, Tien Fong > > ; Hea, Kok Kiang ; > > Maniyam, Dinesh ; Yuslaimi, Alif Zakuan > > ; Za

[PATCH 2/2] powerpc: mpc8xxx_spi: Catch bad chip variants earlier

2025-02-17 Thread J . Neuschäfer via B4 Relay
From: "J. Neuschäfer" Currently, enabling the MPC8xxx SPI driver on an unexpected SoC results in a wall of errors because spi8xxx_t isn't defined. This is quite a bad experience, so let's catch this kind of issue in mpc8xxx_spi.h. Signed-off-by: J. Neuschäfer --- arch/powerpc/include/asm/mpc8x

Re: xPL Proposal

2025-02-17 Thread Tom Rini
On Mon, Feb 17, 2025 at 08:08:58AM -0700, Simon Glass wrote: > Hi Tom, > > On Mon, 17 Feb 2025 at 07:20, Tom Rini wrote: > > > > On Fri, Feb 14, 2025 at 06:43:30PM -0700, Simon Glass wrote: > > > Hi Tom, > > > > > > On Fri, 14 Feb 2025 at 18:14, Tom Rini wrote: > > > > > > > > On Fri, Feb 14, 20

[PATCH 1/2] powerpc: mpc83xx: Check the size of peripheral structs

2025-02-17 Thread J . Neuschäfer via B4 Relay
From: "J. Neuschäfer" Peripheral registers on MPC83xx-series chips are declared in immap_83xx.h as a set of structs that ultimately fill the entire MMIO space of 1 MiB. This patch introduces a compile-time check of the size of each peripheral struct. The purpose of these checks is two-fold: 1. T

[PATCH] board: freescale: fix LS1021a build

2025-02-17 Thread blemouzy . ml
From: Benjamin Lemouzy Fix build error "undefined reference to `is_warm_boot'" when ls1021atsn and ls1021atwr boards are built with CONFIG_SPL=y and CONFIG_DEEP_SLEEP=n. Signed-off-by: Benjamin Lemouzy --- board/freescale/ls1021atsn/ls1021atsn.c | 4 board/freescale/ls1021atwr/ls1021atwr.

Re: [PATCH 0/3] rockchip: remove u-boot.rom generation and use binaries from simple-bin in simple-bin-image

2025-02-17 Thread Simon Glass
Hi Quentin, On Mon, 17 Feb 2025 at 08:37, Quentin Schulz wrote: > > Hi Simon, > > On 2/15/25 2:17 PM, Simon Glass wrote: > > Hi Quentin, > > > > On Thu, 13 Feb 2025 at 06:54, Simon Glass wrote: > >> > >> Hi Quentin, > >> > >> On Tue, 11 Feb 2025 at 03:29, Quentin Schulz wrote: > >>> > >>> This

Re: [PATCH 0/3] rockchip: remove u-boot.rom generation and use binaries from simple-bin in simple-bin-image

2025-02-17 Thread Quentin Schulz
Hi Simon, On 2/15/25 2:17 PM, Simon Glass wrote: Hi Quentin, On Thu, 13 Feb 2025 at 06:54, Simon Glass wrote: Hi Quentin, On Tue, 11 Feb 2025 at 03:29, Quentin Schulz wrote: This gets rid of u-boot.rom generation as that was used only on Rockchip Chromebooks and their maintainer (Simon)

Re: [PATCH 3/4] lmb: check for a region's coalescing with all existing regions

2025-02-17 Thread Quentin Schulz
Hi Sughosh, On 2/13/25 2:11 PM, Sughosh Ganu wrote: The lmb_add_region_flags() first checks if the new region to be added can be coalesced with existing regions. The check stops if the two regions are adjecent but their flags do not match. However, it is possible that the newly added region migh

Re: [PATCH 2/4] lmb: handle scenario of of encompassing overlap

2025-02-17 Thread Quentin Schulz
Hi Sughosh, On 2/13/25 2:11 PM, Sughosh Ganu wrote: The lmb_fix_over_lap_regions() function is called if the added region overlaps with an existing region. The function then fixes the overlap and removes the redundant region. However, it makes an assumption that the overlap would not encompass t

Re: xPL Proposal

2025-02-17 Thread Simon Glass
Hi Tom, On Mon, 17 Feb 2025 at 07:20, Tom Rini wrote: > > On Fri, Feb 14, 2025 at 06:43:30PM -0700, Simon Glass wrote: > > Hi Tom, > > > > On Fri, 14 Feb 2025 at 18:14, Tom Rini wrote: > > > > > > On Fri, Feb 14, 2025 at 04:52:04PM -0700, Simon Glass wrote: > > > > Hi Tom, > > > > > > > > On Fri

Re: [RFC PATCH 0/2 v1] Propagate bootph* property to all parent nodes

2025-02-17 Thread Quentin Schulz
Hi Moteen, On 2/12/25 10:18 AM, Moteen Shah wrote: [You don't often get email from m-s...@ti.com. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ] In the U-Boot pre-relocation stage, if the parent node lacks bootph* property and the driver lacks a pre-reloc flag,

Re: [PATCH v2 04/24] net: ravb: Reorder bb_miiphy functions

2025-02-17 Thread Paul Barker
On 09/02/2025 12:01, Marek Vasut wrote: > Move the bb_miiphy functions before MDIO registration. This is a > preparatory patch, the functions will be referenced around the MDIO > registration in the follow up patches. No functional change. > > Signed-off-by: Marek Vasut Reviewed-by: Paul Barker

Re: [PATCH] xilinx: Enable mkfwumdata tool for a/b update for Kria

2025-02-17 Thread Michal Simek
On 2/7/25 07:43, Michal Simek wrote: Build mkfwumdata tool by default for building ab mdata structure. Signed-off-by: Michal Simek --- configs/xilinx_zynqmp_kria_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/xilinx_zynqmp_kria_defconfig b/configs/xilinx_zynqmp_kr

Re: [PATCH] xilinx: zynq: Guard code around SPL_FS_LOAD_PAYLOAD_NAME

2025-02-17 Thread Michal Simek
On 2/7/25 07:43, Michal Simek wrote: Guard code around CONFIG_SPL_FS_LOAD_PAYLOAD_NAME usage to avoid compilation failure. Signed-off-by: Michal Simek --- board/xilinx/zynq/board.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/board/xilinx/zynq/board.c b/board/xilinx/zynq/board.c

Re: [PATCH] amd: versal2: Enable reset and power domain drivers

2025-02-17 Thread Michal Simek
On 2/6/25 12:01, Venkatesh Yadav Abbarapu wrote: Enable power domain driver to request node for all the IP's that are enabled in DT. Add CONFIG_RESET_ZYNQMP config in versal2 default configuration to enable support for reset driver for versal2 platform. Signed-off-by: Venkatesh Yadav Abbarapu

Re: [PATCH] clk: versal: Update the reference clocks as per bindings

2025-02-17 Thread Michal Simek
On 2/6/25 10:15, Venkatesh Yadav Abbarapu wrote: As per the bindings the reference clocks naming has changed from "pl_alt_ref_clk" to "pl_alt_ref" and "ref_clk" to "ref". Update the same in the clock driver. Also add the fallback option for older DT bindings. Signed-off-by: Venkatesh Yadav Ab

Re: [PATCH RFC 6/6] binman: doc: update Optional entries

2025-02-17 Thread Simon Glass
Hi Yannic, On Mon, 17 Feb 2025 at 00:21, Yannic Moog wrote: > > Hi Simon, > > On Fri, 2025-02-14 at 06:48 -0700, Simon Glass wrote: > > Hi Yannic, > > > > On Fri, 14 Feb 2025 at 00:05, Yannic Moog wrote: > > > > > > On Thu, 2025-02-13 at 07:01 -0700, Simon Glass wrote: > > > > Hi Yannic, > > > >

Re: [PATCH v2 33/35] RFC: Revert "bloblist: Load the bloblist from the previous loader"

2025-02-17 Thread Tom Rini
On Mon, Feb 17, 2025 at 06:16:12AM -0700, Simon Glass wrote: > Hi Tom, > > On Sun, 16 Feb 2025 at 08:01, Tom Rini wrote: > > > > On Sun, Feb 16, 2025 at 07:10:31AM -0700, Simon Glass wrote: > > > Hi Tom, > > > > > > On Sat, 15 Feb 2025 at 11:28, Tom Rini wrote: > > > > > > > > On Sat, Feb 15, 20

Re: xPL Proposal

2025-02-17 Thread Tom Rini
On Fri, Feb 14, 2025 at 06:43:30PM -0700, Simon Glass wrote: > Hi Tom, > > On Fri, 14 Feb 2025 at 18:14, Tom Rini wrote: > > > > On Fri, Feb 14, 2025 at 04:52:04PM -0700, Simon Glass wrote: > > > Hi Tom, > > > > > > On Fri, 14 Feb 2025 at 16:43, Tom Rini wrote: > > > > > > > > On Fri, Feb 14, 20

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

2025-02-17 Thread Tom Rini
On Mon, Feb 17, 2025 at 06:14:06AM -0700, Simon Glass wrote: > Hi Tom, > > On Sun, 16 Feb 2025 at 14:52, Tom Rini wrote: > > > > On Sun, Feb 16, 2025 at 12:39:34PM -0700, Simon Glass wrote: > > > Hi Tom, > > > > > > On Sun, 16 Feb 2025 at 09:07, Tom Rini wrote: > > > > > > > > On Sun, Feb 16, 20

Re: [PATCH v2 33/35] RFC: Revert "bloblist: Load the bloblist from the previous loader"

2025-02-17 Thread Tom Rini
On Mon, Feb 17, 2025 at 06:15:19AM -0700, Simon Glass wrote: > Hi Tom, > > On Sun, 16 Feb 2025 at 08:48, Tom Rini wrote: > > > > On Sun, Feb 16, 2025 at 09:01:23AM -0600, Tom Rini wrote: > > > On Sun, Feb 16, 2025 at 07:10:31AM -0700, Simon Glass wrote: > > > > Hi Tom, > > > > > > > > On Sat, 15

Re: [PATCH v2 00/28] x86: Improve operation under QEMU

2025-02-17 Thread Tom Rini
On Mon, Feb 17, 2025 at 06:14:12AM -0700, Simon Glass wrote: > Hi Tom, > > On Sun, 16 Feb 2025 at 14:57, Tom Rini wrote: > > > > On Sun, Feb 16, 2025 at 01:43:45PM -0700, Simon Glass wrote: > > > > > U-Boot can start and boot an OS in both qemu-x86 and qemu-x86_64 but it > > > is not perfect. > >

Re: [PATCH v2 2/3] common: board: make initcalls static

2025-02-17 Thread Jerome Forissier
Gentle ping. Can we keep the macro? Thanks, -- Jerome On 1/27/25 11:32, Jerome Forissier wrote: > > > On 1/25/25 00:58, Marek Vasut wrote: >> On 1/24/25 6:23 PM, Jerome Forissier wrote: >>> >>> >>> On 1/24/25 17:23, Marek Vasut wrote: On 1/24/25 4:57 PM, Jerome Forissier wrote: >

Re: [PATCH v2 24/24] net: miiphybb: Drop bb_miiphy_buses and bb_miiphy_buses_num

2025-02-17 Thread Paul Barker
On 09/02/2025 12:01, Marek Vasut wrote: > Neither bb_miiphy_buses nor bb_miiphy_buses_num are used anymore. > Drop both of them. > > Signed-off-by: Marek Vasut Reviewed-by: Paul Barker -- Paul Barker OpenPGP_0x27F4B3459F002257.asc Description: OpenPGP public key OpenPGP_signature.asc Desc

[PATCH 1/2] arm: mach-k3: j722s: Initialize MCU & MAIN Domain ESMs

2025-02-17 Thread Keerthy
Initialize MCU & MAIN Domain ESMs as a prerequisite to enable watchdog reset functionality. The ESM aka error signalling module is primarily responsible for sensing the watchdog reset event. Signed-off-by: Keerthy --- arch/arm/mach-k3/j722s/j722s_init.c | 32 + 1 file

[PATCH 2/2] configs: j722s_evm_r5_defconfig: Enable the ESM Configs to support watchdog

2025-02-17 Thread Keerthy
Enable ESM configs. ESMs are a prerequisite to enable watchdog reset functionality. The ESM aka error signalling module is primarily responsible for sensing the watchdog reset event. Signed-off-by: Keerthy --- configs/j722s_evm_r5_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/

Re: [RFC PATCH v1 00/20] Introduce support for Raspberry PI 5.

2025-02-17 Thread Oleksii Moisieiev
Hi Tom, On 06/02/2025 18:54, Tom Rini wrote: > On Thu, Feb 06, 2025 at 04:07:53PM +, Oleksii Moisieiev wrote: >> Hi Simon, >> >> Please see below. >> >> On 06/02/2025 17:58, Simon Glass wrote: >>> Hi Oleksii, >>> >>> On Thu, 6 Feb 2025 at 05:46, Oleksii Moisieiev >>> wrote: Hi Simon. >>

Re: [PATCH 0/2] Qualcomm: fix sdcard support on SM8250

2025-02-17 Thread Amit Pundir
On Mon, 10 Feb 2025 at 22:00, Caleb Connolly wrote: > > Enable the missing regulators and fix pinctrl so that the sdcard works > on the RB5 board and presumably other devices. > > This depends on the clk-stub patches since the MMC block itself > references the rpmh vote-clock which we intend to st

[PATCH 0/2] arm: mach-k3: j722s: Enable ESM to support watchdogs

2025-02-17 Thread Keerthy
The series enables watchdog support on J722S. It adds ESM initialization to enable routing the watchdog events to trigger a SOC reset. Tested on J722S-EVM. Keerthy (2): arm: mach-k3: j722s: Initialize MCU & MAIN Domain ESMs configs: j722s_evm_r5_defconfig: Enable the ESM Configs to support

  1   2   >