[PATCH 2/2] drivers: remove bogus DM_FLAG_PROBE_AFTER_BIND flags

2025-01-16 Thread Caleb Connolly
Some drivers set DM_FLAG_PROBE_AFTER_BIND, this does nothing since it's only every applied on a per-device basis. Remove the flags. Signed-off-by: Caleb Connolly --- drivers/mailbox/zynqmp-ipi.c | 1 - drivers/watchdog/da9063-wdt.c | 1 - 2 files changed, 2 deletions(-) diff --git a/drivers/m

[PATCH 1/2] dm: clarify DM_FLAG_PROBE_AFTER_BIND behaviour

2025-01-16 Thread Caleb Connolly
The DM_FLAG_PROBE_AFTER_BIND flag only makes sense on a per-device basis, however recently added documentation as well as some confused drivers imply that it might be added to a driver definition, this does nothing. Clarify the new documentation and expand on the comment by the definition to point

[PATCH 0/2] Clarify DM_FLAG_PROBE_AFTER_BIND behaviour

2025-01-16 Thread Caleb Connolly
In Simons series reworking autoprobe[1], a discussion came up about DM_FLAG_PROBE_AFTER_BIND, specifically that it wasn't very clear where this flag should be used. This series implements my suggestions made there to clarify the use of this flag, and fixup the two driver which erroneously apply it

Re: [PATCH 3/7] configs: e850-96: Enable more EFI features

2025-01-16 Thread Ilias Apalodimas
Hi Sam On Fri, 17 Jan 2025 at 01:01, Sam Protsenko wrote: > > The basic EFI support is already enabled by EFI_LOADER. Follow > SystemReady IR recommendations [1,2] for U-Boot and enable support for > more EFI features. That includes: > > - CONFIG_CMD_BOOTEFI_SELFTEST: support for "bootefi selft

Re: [PATCH v2] usb: dwc3: core: Fix timeout check

2025-01-16 Thread Caleb Connolly
On 15/01/2025 07:20, Varadarajan Narayanan wrote: > dwc3_core_init loops 'timeout' times to check if the IP block is out > of reset using 'while (timeout--)'. If there is some issue and > the block doesn't come out of reset, the loop will run till > 'timeout' becomes zero and the post decrement

Re: [PATCH v3 1/6] arm: imx8m: add OP-TEE node

2025-01-16 Thread Yannic Moog
Hi Tim, Fabio, On Thu, 2025-01-16 at 14:45 -0800, Tim Harvey wrote: > On Fri, Jan 10, 2025 at 4:35 AM Yannic Moog wrote: > > > > Add tee node in SoC u-boot device trees. Use a kconfig entry to specify > > load and entry addresses for the op-tee image in the respective > > defconfig. > > Default

[PATCH] arm64: versal2: Enable the OPTEE command

2025-01-16 Thread Venkatesh Yadav Abbarapu
Enable the command OPTEE which runs the basic 'hello world ta'. Signed-off-by: Venkatesh Yadav Abbarapu --- configs/amd_versal2_virt_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/amd_versal2_virt_defconfig b/configs/amd_versal2_virt_defconfig index b4aebf3e9fb..22dad1b70

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

2025-01-16 Thread Boon Khai Ng
The Synopsys DWC XGMAC is a configurable Ethernet MAC/DMA IP block which supports multiple options for bus type, clocking and reset structure, and feature list. Signed-off-by: Boon Khai Ng --- .../net/snps,dwc-xgmac-ethernet.txt | 67 +++ 1 file changed, 67 insertions(+

[XGMAC dt bindings v1 0/1] Add Synopsys DWC XGMAC Binding

2025-01-16 Thread Boon Khai Ng
The proposed patch introduces a new binding for the Synopsys DWC 10G Ethernet MAC IP block(XGMAC). This block is configurable and supports a wide range of options, including various bus types, clocking and reset structures, and feature sets. The patch includes the essential properties and optional

RE: [PATCH] ARM: dts: imxrt1050: Migrate to OF_UPSTREAM

2025-01-16 Thread Peng Fan
> Subject: [PATCH] ARM: dts: imxrt1050: Migrate to OF_UPSTREAM > > The device tree for imxrt1050 is now > available in the /dts/upstream directory. > Migrate board to use OF_UPSTREAM. > > Signed-off-by: Jesse Taube > --- > Please note /dts/upstream still needs to be updated > the upstream commit

[PATCH] pinctrl: imx: Fix NULL dereference in imx_pinctrl_probe()

2025-01-16 Thread Jesse Taube
When converting to ofnode `ofnode_read_u32` was accedentally used to replace `fdtdec_get_int` instead of `ofnode_read_u32_default`. Use `ofnode_read_u32_default` to fix this. Fixes: 59382d2 ("pinctrl: imx: Convert to use livetree API for fdt access") Signed-off-by: Jesse Taube --- drivers/pinctr

[PATCH] ARM: dts: imxrt1050: Migrate to OF_UPSTREAM

2025-01-16 Thread Jesse Taube
The device tree for imxrt1050 is now available in the /dts/upstream directory. Migrate board to use OF_UPSTREAM. Signed-off-by: Jesse Taube --- Please note /dts/upstream still needs to be updated the upstream commit is 5f122030061db3e5d2bddd9cf5c583deaa6c54ff --- arch/arm/dts/imxrt1050-evk.dts

RE: [PATCH v2] imx8m: Guard binman nodes with CONFIG_OPTEE

2025-01-16 Thread Peng Fan
> Subject: [PATCH v2] imx8m: Guard binman nodes with CONFIG_OPTEE > > From: Fabio Estevam > > Guard binman nodes with CONFIG_OPTEE to fix the following error > when building without optee support: > > BINMAN .binman_stamp > Image 'image' has faked external blobs and is non-functional: tee.bi

[PATCH v2] imx8m: Guard binman nodes with CONFIG_OPTEE

2025-01-16 Thread Fabio Estevam
From: Fabio Estevam Guard binman nodes with CONFIG_OPTEE to fix the following error when building without optee support: BINMAN .binman_stamp Image 'image' has faked external blobs and is non-functional: tee.bin Image 'image' is missing optional external blobs but is still functional: tee-os

回复: [EXT] Re: [PATCH v4 20/20] imx95_evk: add i.MX95 19x19 EVK board basic support

2025-01-16 Thread Alice Guo (OSS)
> -邮件原件- > 发件人: Tim Harvey > 发送时间: 2025年1月17日 6:48 > 收件人: Alice Guo (OSS) > 抄送: Tom Rini ; Stefano Babic ; Fabio > Estevam ; dl-uboot-imx ; Lukasz > Majewski ; Sean Anderson ; Simon > Glass ; Alper Nebi Yasak ; > ma...@denx.de; u-boot@lists.denx.de; Alice Guo ; Ye Li > ; Peng Fan > 主题: [

[GIT PULL] u-boot-riscv/master

2025-01-16 Thread Leo Liang
Hi Tom, The following changes since commit 178f6ecb21fe12ada74a9a1a08093c812b15eea5: Merge patch series "bootstd: Support recording images" (2025-01-15 19:27:14 -0600) are available in the Git repository at: https://source.denx.de/u-boot/custodians/u-boot-riscv.git for you to fetch chang

Re: [PATCH 1/4] board: phytec: common: k3: Add missing boot source to env

2025-01-16 Thread Wadim Egorov
Am 16.01.25 um 18:29 schrieb Daniel Schultz: We set the boot source as environment variable 'boot'. Also include 'uart' and 'usbdfu' as possible boot sources. Signed-off-by: Daniel Schultz Reviewed-by: Wadim Egorov --- board/phytec/common/k3/board.c | 6 ++ 1 file changed, 6 insertio

[PATCH 8/8] sunxi: add support for the Allwinner A100/A133 SoC

2025-01-16 Thread Andre Przywara
The Allwinner A100 SoC has been around for a while, mostly on cheap tablets, but didn't generate much interest in the community so far. There were some efforts by two Allwinner employees in 2020, which led to basic upstream Linux support for that SoC, although this momentum dried up pretty quickly,

[PATCH 7/8] sunxi: A133: add DRAM init code [WIP!]

2025-01-16 Thread Andre Przywara
From: Cody Eksal This adds preliminary support for the DRAM controller in the Allwinner A100/A133 SoCs. This is work in progress, and has rough edges, but works on at least three different boards. It contains support for DDR4 and LPDDR4. --- .../include/asm/arch-sunxi/cpu_sun50i_h6.h|4 +

[PATCH 6/8] power: pmic: sunxi: add SPL support for the AXP803

2025-01-16 Thread Andre Przywara
The AXP803 has been around for about a decade now, but so far we didn't need SPL support, since the DRAM rail was wired up correctly at reset. Now some boards using the A133 SoC use the (compatible) AXP707 with DDR4 memory, which requires the SPL to set the required 1.1V voltage manually. Add the

[PATCH 5/8] pinctrl: sunxi: add Allwinner A100/A133 pinctrl description

2025-01-16 Thread Andre Przywara
The Allwinner A100 SoC has been around for a while, and has now seemingly been replaced with its close sibling A133. Add the required mapping between the pinmux group strings and their respective mux value, as far as used by U-Boot proper. Linux has some basic (clock and pinctrl) support for a whi

[PATCH 4/8] clk: sunxi: Add support for the A100/A133 CCU

2025-01-16 Thread Andre Przywara
The Allwinner A100 SoC has been around for a while, and has now seemingly been replaced with its close sibling A133. Add support for the CCU, as far as used by U-Boot proper. Linux has some basic (clock and pinctrl) support for a while, so we can already use the existing binding headers. Signed-o

[PATCH 3/8] sunxi: H616: DRAM: rename Kconfig parameters to be more generic

2025-01-16 Thread Andre Przywara
The H616 DRAM controller requires some board specific parameters, which we declare in Kconfig, let each board specify in their defconfig, and then use in the DRAM init code. Other DRAM controllers now require a very similar, if not identical parameter set, with so far the same parameter names used

[PATCH 2/8] sunxi: pmic_bus: support alternative I2C address

2025-01-16 Thread Andre Przywara
Some of the X-Power AXP PMICs can be ordered with an alternative I2C address, for instance an AXP717 could be shipped with address 0x34 or with address 0x35. The datasheets for the AXP717 and AXP803 list two possible addresses, and they are always consecutive. For DM (DT) based drivers this is no p

[PATCH 1/8] sunxi: clock: improve grouping of default clock register values

2025-01-16 Thread Andre Przywara
With each new SoC added to the clock_sun50i_h6.h header file, we add a list of default values for the bus clock registers. This list gets a bit hard to read, as the spacing between the lines looks confusing. Tighten the lines by removing empty lines, to make it more obvious which values belong tog

[PATCH 0/8] sunxi: (early) Allwinner A133 SoC support

2025-01-16 Thread Andre Przywara
The Allwinner A100 SoC has been around for a while, mostly on cheap tablets, but didn't generate much interest in the community so far. There were some efforts by two Allwinner employees in 2020, which led to basic upstream Linux support for that SoC, although this momentum dried up pretty quickly,

Re: [PATCH 4/4] configs: phycore_am64x_a53_defconfig: Fix environment

2025-01-16 Thread Wadim Egorov
Am 16.01.25 um 18:29 schrieb Daniel Schultz: Enable ENV_OVERWRITE to allow environment variables to be overwritten within the board code. This is required to add MAC addresses during SOM detection. Additionally, set ENV_IS_NOWHERE for boot sources other than MMC. Signed-off-by: Daniel Schultz

Re: [PATCH 3/4] configs: phycore_am64x_a53_defconfig: Enable GPIO command

2025-01-16 Thread Wadim Egorov
Am 16.01.25 um 18:29 schrieb Daniel Schultz: Enable the GPIO command to allow access to the GPIO pins. Signed-off-by: Daniel Schultz Reviewed-by: Wadim Egorov --- configs/phycore_am64x_a53_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/phycore_am64x_a53_defconfig

Re: [PATCH 2/4] configs: phycore_am64x_a53_defconfig: Fix GPIO controllers

2025-01-16 Thread Wadim Egorov
Am 16.01.25 um 18:29 schrieb Daniel Schultz: The phyBOARD-Electra does not include a PCA953x I2C GPIO multiplexer. Remove this configuration as it is a remnant from another defconfig, and enable CONFIG_DA8XX_GPIO for the DA8XX DaVinci GPIO controller instead. Signed-off-by: Daniel Schultz Revi

[PATCH 2/3] log: enable filtering on functions

2025-01-16 Thread Heinrich Schuchardt
Up to now we could only use log level, category, and file for filtering. Allow filtering on a list of functions. Signed-off-by: Heinrich Schuchardt --- cmd/log.c | 42 ++ common/log.c | 13 - include/log.h | 5 +++-

[PATCH 1/3] log: make log_has_file() static

2025-01-16 Thread Heinrich Schuchardt
Function log_has_file() is not used externally. Make it static. Rename the function to log_has_member() as we can reuse for filtering other strings. Signed-off-by: Heinrich Schuchardt --- common/log.c | 20 ++-- include/log.h | 12 2 files changed, 14 insertions(+)

[PATCH 3/3] test/log: test function filters

2025-01-16 Thread Heinrich Schuchardt
Add unit tests for function filters. Signed-off-by: Heinrich Schuchardt --- test/log/log_test.c | 68 + 1 file changed, 56 insertions(+), 12 deletions(-) diff --git a/test/log/log_test.c b/test/log/log_test.c index 8686b1cbef3..00b442252f0 100644 ---

[PATCH] efi_loader: correct logging StartImage()

2025-01-16 Thread Heinrich Schuchardt
When logging running an image, e.g. `bootefi hello` the indent is not correctly reset. Signed-off-by: Heinrich Schuchardt --- include/efi_loader.h | 33 ++--- lib/efi_loader/efi_boottime.c | 7 +++ 2 files changed, 25 insertions(+), 15 deletions(-) diff

[PATCH 0/3] log: enable filtering on functions

2025-01-16 Thread Heinrich Schuchardt
Up to now we could only use log level, category, and file for filtering. In the UEFI sub-system event handling functions which are called at a very high frequency are in the same files as other functions of interest. Filtering on file level is too coarse for generating useful debug output. Allow

Re: [PATCH v2 00/22] vbe: Series part F

2025-01-16 Thread Tom Rini
On Wed, Jan 15, 2025 at 06:27:01PM -0700, Simon Glass wrote: > This includes various patches towards implementing the VBE abrec > bootmeth in U-Boot. It mostly focuses on introducing a relocating > SPL-loader so that VBE can run in the limited amount of SRAM available > on many devices. > > Anoth

Re: [PATCH v3 00/46] pxe: Support read_all() for extlinux and PXE

2025-01-16 Thread Tom Rini
On Thu, Dec 05, 2024 at 07:35:39PM -0700, Simon Glass wrote: > This series implements read_all() so that it is possible to read all the > files relating to a bootflow, make adjustments and then boot. > > Unfortunately quite a few things stand in the way, so this series > finishes off several pend

Re: [PATCH] imx8m: Guard binman nodes with CONFIG_OPTEE

2025-01-16 Thread Tom Rini
On Thu, Jan 16, 2025 at 08:10:32PM -0300, Fabio Estevam wrote: > From: Fabio Estevam > > Guard binman nodes with CONFIG_OPTEE to fix the following error > when building without optee support: > > BINMAN .binman_stamp > Image 'image' has faked external blobs and is non-functional: tee.bin >

Re: [PATCH] imx8m: Guard binman nodes with CONFIG_OPTEE

2025-01-16 Thread Tim Harvey
On Thu, Jan 16, 2025 at 3:10 PM Fabio Estevam wrote: > > From: Fabio Estevam > > Guard binman nodes with CONFIG_OPTEE to fix the following error > when building without optee support: > > BINMAN .binman_stamp > Image 'image' has faked external blobs and is non-functional: tee.bin > > Image 'im

Re: [PATCH v3 1/6] arm: imx8m: add OP-TEE node

2025-01-16 Thread Fabio Estevam
On Thu, Jan 16, 2025 at 8:11 PM Tim Harvey wrote: > I'm not sure I agree that they should be considered nasty warnings and > removed. What if you intended tee.bin to be included but forgot to > copy it here and you end up with this? If tee is not used, we should not get warnings about missing te

Re: [PATCH v3 1/6] arm: imx8m: add OP-TEE node

2025-01-16 Thread Tim Harvey
On Thu, Jan 16, 2025 at 2:57 PM Fabio Estevam wrote: > > On Thu, Jan 16, 2025 at 7:45 PM Tim Harvey wrote: > > > Hi Yannic, > > > > As I mentioned before, I still don't see how this builds when tee.bin > > is missing because someone isn't using tee? > > > > It looks like Fabio has merged this alr

[PATCH] imx8m: Guard binman nodes with CONFIG_OPTEE

2025-01-16 Thread Fabio Estevam
From: Fabio Estevam Guard binman nodes with CONFIG_OPTEE to fix the following error when building without optee support: BINMAN .binman_stamp Image 'image' has faked external blobs and is non-functional: tee.bin Image 'image' is missing optional external blobs but is still functional: tee-os

[PATCH 6/7] board: samsung: e850-96: Report LDFW loading failures

2025-01-16 Thread Sam Protsenko
LDFW firmware loading can fail, e.g. in case if user forgot to upload the binary to the appropriate location (/EFI/firmware/ldfw.bin on ESP partition). Report such errors explicitly, so that the user can notice it early and take necessary actions. But don't return error code from board_init() in th

[PATCH 7/7] board: samsung: e850-96: Provide bootstd default env

2025-01-16 Thread Sam Protsenko
Add default environment variables needed for Standard Boot enablement as described in [1]. Also rework the eMMC partition table for Linux boot so it only has two partitions: 1. EFI System Partition (EFI vars, GRUB efi app, firmware files) 2. rootfs partition (Debian rootfs, /boot, extlinux.con

[PATCH 3/7] configs: e850-96: Enable more EFI features

2025-01-16 Thread Sam Protsenko
The basic EFI support is already enabled by EFI_LOADER. Follow SystemReady IR recommendations [1,2] for U-Boot and enable support for more EFI features. That includes: - CONFIG_CMD_BOOTEFI_SELFTEST: support for "bootefi selftest" command - CONFIG_CMD_NVEDIT_EFI: support for "env -e" to explore

[PATCH 2/7] configs: e850-96: Enable U-Boot environment on eMMC

2025-01-16 Thread Sam Protsenko
Store U-Boot environment in BOOT2 HW area of eMMC (/dev/mmcblk0boot1), as it's currently unused. BOOT1 area will be probably used for storing low-level bootloaders further, so let's not touch it. Both primary and redundant environments work fine: => env default -f -a ## Resetting to defau

[PATCH 5/7] board: samsung: e850-96: Load LDFW from EFI partition

2025-01-16 Thread Sam Protsenko
In case when EFI System Partition is present it can be used to store firmware binaries, instead of keeping those on separate dedicated partitions. That simplifies the partition table and makes it more standard. Rework the firmware loader code to look for LDFW binary at /EFI/firmware/ldfw.bin on ESP

[PATCH 4/7] configs: e850-96: Enable Standard Boot

2025-01-16 Thread Sam Protsenko
Enable Standard Boot on E850-96 as documented in [1]. Along with corresponding changes in the default environment and properly prepared eMMC partitions (ESP and rootfs), it makes it possible to boot Debian rootfs automatically. All boot methods were tested: efi_mgr, efi, syslinux and script. The pr

[PATCH 0/7] board: samsung: e850-96: Enable Standard Boot

2025-01-16 Thread Sam Protsenko
Make all necessary configuration and environment changes to enable Standard Boot on E850-96 board. Also rework LDFW firmware loading code to look for LDFW binary on EFI System Partition instead of dedicated 'ldfw' partition. Pending "[RFC PATCH 1/1] efi_loader: Call efi_init_early() even earlier"

[PATCH 1/7] configs: e850-96: Enable options for updated env

2025-01-16 Thread Sam Protsenko
The E850-96 default environment is going to be updated soon, requiring next config options to be enabled: - CONFIG_DEFAULT_FDT_FILE: $fdtfile will use this value - CONFIG_PARTITION_TYPE_GUID: $partitions will rely on "type" feature Signed-off-by: Sam Protsenko --- configs/e850-96_defconfig

Re: [PATCH v3 1/6] arm: imx8m: add OP-TEE node

2025-01-16 Thread Fabio Estevam
On Thu, Jan 16, 2025 at 7:45 PM Tim Harvey wrote: > Hi Yannic, > > As I mentioned before, I still don't see how this builds when tee.bin > is missing because someone isn't using tee? > > It looks like Fabio has merged this already to imx/master which now > fails to build for imx8m*_venice boards

Re: [PATCH v4 20/20] imx95_evk: add i.MX95 19x19 EVK board basic support

2025-01-16 Thread Tim Harvey
On Thu, Jan 16, 2025 at 11:42 AM Tim Harvey wrote: > > On Thu, Jan 16, 2025 at 11:38 AM Tim Harvey wrote: > > > > On Wed, Jan 15, 2025 at 5:30 AM Alice Guo wrote: > > > > > > From: Ye Li > > > > > > This patch adds i.MX95 19x19 EVK board basic support. > > > > > > Messaging unit for EdgeLock Se

Re: [PATCH v3 1/6] arm: imx8m: add OP-TEE node

2025-01-16 Thread Tim Harvey
On Fri, Jan 10, 2025 at 4:35 AM Yannic Moog wrote: > > Add tee node in SoC u-boot device trees. Use a kconfig entry to specify > load and entry addresses for the op-tee image in the respective > defconfig. > Default IMX8M_OPTEE_LOAD_ADDR is supplied. To keep it simple, the same > addresses are use

Re: [PATCH 13/13] net: fsl_enetc: Update enetc driver to support i.MX95

2025-01-16 Thread Tim Harvey
On Wed, Jan 15, 2025 at 8:05 PM Marek Vasut wrote: > > From: Alice Guo > > i.MX95 uses enetc version 4.1 controller. Update the enetc for i.MX95. > Add ARM-specific cache handling and i.MX95 specific register layout > handling. > > Signed-off-by: Alice Guo > Signed-off-by: Marek Vasut # Clean u

Re: [PATCH] dfu: Prevent set_dfu_alt_info() from overwriting a previous value

2025-01-16 Thread Jon Humphreys
Sughosh Ganu writes: > On Thu, 16 Jan 2025 at 14:07, Mattijs Korpershoek > wrote: >> >> Hi Jon, >> >> Sorry for the (very) late reply. I had some long holidays in between and >> since this is a difficult topic for me, I kept pushing this to the end >> of my backlog. >> >> On mer., déc. 18, 2024

Re: [PATCH v3 00/19] bootstd: Support recording images

2025-01-16 Thread Simon Glass
Hi Tom, On Wed, 15 Jan 2025 at 16:32, Tom Rini wrote: > > On Wed, Jan 15, 2025 at 04:14:27PM -0700, Simon Glass wrote: > > Hi Tom, > > > > On Wed, 15 Jan 2025 at 14:24, Tom Rini wrote: > > > > > > On Wed, Jan 15, 2025 at 06:55:45AM -0700, Simon Glass wrote: > > > > Hi, > > > > > > > > On Mon, 4

Re: [PATCH v3 00/19] bootstd: Support recording images

2025-01-16 Thread Tom Rini
On Thu, Jan 16, 2025 at 08:52:38AM -0700, Simon Glass wrote: > Hi Tom, > > On Wed, 15 Jan 2025 at 16:32, Tom Rini wrote: [snip] > > I'm referring to the whole bootmeth/bootflow/etc thing. Is this going to > > be put to use by anyone / anywhere on PowerPC? M68K? MIPS? 32bit ARM is > > a harder que

Re: [PATCH 3/6] tpm: add wrapper and helper APIs for PCR allocate

2025-01-16 Thread Raymond Mao
Hi Ilias, On Thu, 16 Jan 2025 at 08:01, Ilias Apalodimas wrote: > On Wed, 15 Jan 2025 at 22:02, Raymond Mao wrote: > > > > Add PCR allocate wrapper APIs for using in tcg2 protocol. > > The wrapper proceeds a PCR allocate command, followed by a > > shutdown command. > > We have lib/tpm_tcg2.c do

Re: [PATCH v4 20/20] imx95_evk: add i.MX95 19x19 EVK board basic support

2025-01-16 Thread Tom Rini
On Thu, Jan 16, 2025 at 09:03:35PM +0100, Marek Vasut wrote: > On 1/16/25 8:42 PM, Tim Harvey wrote: > > On Thu, Jan 16, 2025 at 11:38 AM Tim Harvey wrote: > > > > > > On Wed, Jan 15, 2025 at 5:30 AM Alice Guo wrote: > > > > > > > > From: Ye Li > > > > > > > > This patch adds i.MX95 19x19 EVK

Re: [PATCH v4 20/20] imx95_evk: add i.MX95 19x19 EVK board basic support

2025-01-16 Thread Marek Vasut
On 1/16/25 8:42 PM, Tim Harvey wrote: On Thu, Jan 16, 2025 at 11:38 AM Tim Harvey wrote: On Wed, Jan 15, 2025 at 5:30 AM Alice Guo wrote: From: Ye Li This patch adds i.MX95 19x19 EVK board basic support. Messaging unit for EdgeLock Secure Enclave, messaging unit for System Manager, uSDHC

Re: [PATCH v4 20/20] imx95_evk: add i.MX95 19x19 EVK board basic support

2025-01-16 Thread Tim Harvey
On Thu, Jan 16, 2025 at 11:38 AM Tim Harvey wrote: > > On Wed, Jan 15, 2025 at 5:30 AM Alice Guo wrote: > > > > From: Ye Li > > > > This patch adds i.MX95 19x19 EVK board basic support. > > > > Messaging unit for EdgeLock Secure Enclave, messaging unit for System > > Manager, uSDHC for SD Card,

Re: [PATCH v4 20/20] imx95_evk: add i.MX95 19x19 EVK board basic support

2025-01-16 Thread Tim Harvey
On Wed, Jan 15, 2025 at 5:30 AM Alice Guo wrote: > > From: Ye Li > > This patch adds i.MX95 19x19 EVK board basic support. > > Messaging unit for EdgeLock Secure Enclave, messaging unit for System > Manager, uSDHC for SD Card, gpio, lpuart are supported now. > > Signed-off-by: Ye Li > Signed-off

[PATCH 1/1] efi_loader: use LOGC_EFI consistently

2025-01-16 Thread Heinrich Schuchardt
The log category should be LOGC_EFI all over the EFI sub-system. Signed-off-by: Heinrich Schuchardt --- lib/efi_driver/efi_block_device.c | 2 ++ lib/efi_driver/efi_uclass.c| 2 ++ lib/efi_loader/efi_acpi.c | 2 ++ lib/efi_loader/efi_boottime.c

Re: [PATCH v1] riscv: dts: starfive: split out visionfive2 target specific configuration

2025-01-16 Thread Anand Moon
Hi E Shattow, On Wed, 1 Jan 2025 at 12:07, E Shattow wrote: > > Split out StarFive VisionFive2 multi-board target specific configuration > into starfive-visionfive2-binman.dtsi in preparation for removal of > jh7110-u-boot and jh7110-common-u-boot in part or whole as sent upstream. > > Signed-off

Re: [PATCH v1] pinctrl: starfive: Correct driver declaration for starfive_gpio

2025-01-16 Thread Anand Moon
Hi Hal Feng, On Thu, 16 Jan 2025 at 18:37, Hal Feng wrote: > > Use the driver macros so that the driver appears in the > linker list. > > Reported-by: Simon Glass > Fixes: 732f01aabf53 ("pinctrl: starfive: Add StarFive JH7110 driver") > Signed-off-by: Hal Feng > --- > drivers/pinctrl/starfive/

Re: [PATCH 3/3] common: fdt: hand over original fdt bootargs into board chosen handler

2025-01-16 Thread Tom Rini
On Thu, Jan 16, 2025 at 04:11:40PM +0300, Dmitry Rokosov wrote: > Hello Quentin, > > On Tue, Jan 14, 2025 at 12:16:35PM +0100, Quentin Schulz wrote: > > Hi Dmitry, > > > > On 12/19/24 10:42 PM, Dmitry Rokosov wrote: > > > Sometimes, it is necessary to provide an additional bootargs string to > >

Re: [PATCH] bloblist: Drop BSD license

2025-01-16 Thread Ilias Apalodimas
On Wed, 15 Jan 2025 at 03:18, Simon Glass wrote: > > Hi Ilias, > > On Tue, 14 Jan 2025 at 12:34, Ilias Apalodimas > wrote: > > > > Hi Simon, > > > > On Tue, 14 Jan 2025 at 15:15, Simon Glass wrote: > > > > > > Hi Ilias, > > > > > > On Tue, 14 Jan 2025 at 01:40, Ilias Apalodimas > > > wrote: > >

Re: [PATCH 2/6] tmp: add TPM2_PCR_Allocate command

2025-01-16 Thread Ilias Apalodimas
On Thu, 16 Jan 2025 at 20:14, Raymond Mao wrote: > > Hi Ilias, > > On Thu, 16 Jan 2025 at 07:37, Ilias Apalodimas > wrote: >> >> Hi Raymond, >> >> On Wed, 15 Jan 2025 at 22:02, Raymond Mao wrote: >> > >> > TPM2_PCR_Allocate command is required to re-configurate >> >> >> reconfigure >> >> > a TP

Re: [PATCH 2/6] tmp: add TPM2_PCR_Allocate command

2025-01-16 Thread Raymond Mao
Hi Ilias, On Thu, 16 Jan 2025 at 07:37, Ilias Apalodimas wrote: > Hi Raymond, > > On Wed, 15 Jan 2025 at 22:02, Raymond Mao wrote: > > > > TPM2_PCR_Allocate command is required to re-configurate > > > reconfigure > > > a TPM device > > to enable or disable algorithms in run-time, thus this patc

Re: [GIT PULL] Please pull u-boot-imx-master-20250116

2025-01-16 Thread Tom Rini
; (2025-01-15 19:27:14 > -0600) > > are available in the Git repository at: > > https://gitlab.denx.de/u-boot/custodians/u-boot-imx.git > tags/u-boot-imx-master-20250116 > > for you to fetch changes up to 985268107d4c0389d154126aa74c1d21706a7ce8: > > imx: fdt

Re: [PATCH v3 13/13] imx8mp_evk: Enable display support

2025-01-16 Thread Miquel Raynal
On 16/01/2025 at 13:13:53 -03, Fabio Estevam wrote: > Hi Miquel, > > On Sat, Jan 11, 2025 at 6:51 AM Miquel Raynal > wrote: > >> I only worked on a custom design based on a i.MX8MP. We do have an EVK, >> but it has no display. I was asked to add a user, but in practice I >> cannot test that. I

Re: [PATCH 1/1] Makefile: let clean remove capsule_in.capsule*.efi-capsule

2025-01-16 Thread Ilias Apalodimas
On Thu, 16 Jan 2025 at 16:06, Heinrich Schuchardt wrote: > > Update the CLEAN_FILES list to remove capsule*.*.efi-capsule. > > Signed-off-by: Heinrich Schuchardt > --- > Makefile | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/Makefile b/Makefile > index 0500eb6e0a7..70d

Re: [PATCH v3 13/13] imx8mp_evk: Enable display support

2025-01-16 Thread Fabio Estevam
Hi Miquel, On Sat, Jan 11, 2025 at 6:51 AM Miquel Raynal wrote: > I only worked on a custom design based on a i.MX8MP. We do have an EVK, > but it has no display. I was asked to add a user, but in practice I > cannot test that. I can enable the ldb in the EVK DTS or drop that > patch. I wanted

Re: [PATCH 00/43] test: Improvements to ut command and test-suite running

2025-01-16 Thread Simon Glass
Hi Mattijs, On Thu, 16 Jan 2025 at 02:47, Mattijs Korpershoek wrote: > > Hi Simon, > > Thank you for the series. > > On mer., janv. 15, 2025 at 06:30, Simon Glass wrote: > > > The current method of running unit tests relies on subcommands of the > > ut command. Only the code in each subcommand k

Re: [PATCH 4/4] efi_loader: print image load address in StartImage

2025-01-16 Thread Heinrich Schuchardt
On 07.01.25 14:32, Ilias Apalodimas wrote: On Thu, 2 Jan 2025 at 20:11, Heinrich Schuchardt wrote: When starting image add the image load address to the debug output. Signed-off-by: Heinrich Schuchardt --- lib/efi_loader/efi_boottime.c | 7 --- 1 file changed, 4 insertions(+), 3 delet

Re: [PATCH] imx: fdt: fix cooling-device property corruption

2025-01-16 Thread Fabio Estevam
On Wed, Jan 15, 2025 at 12:41 PM Sébastien Szymanski wrote: > > The function disable_thermal_cpu_nodes() corrupts the cooling-device > property. > For example, booting an i.MX93 devices with only one A55 core (IMX93x1) > with the cooling-device property set to: > > $ dtc -I dtb foo.dtb | grep cool

Re: [PATCH] configs: capricorn_cxg3: Enable CMD_WDT

2025-01-16 Thread Fabio Estevam
On Mon, Jan 13, 2025 at 6:21 PM A. Sverdlin wrote: > > From: Alexander Sverdlin > > Capricorn boards have WDT (WDT_SIEMENS_PMIC) and U-Boot is not configured > to trigger the WDT. Enable the "wdt" command to be able to stop the WDT > from the command line. > > Signed-off-by: Alexander Sverdlin

Re: [PATCH v3 0/6] imx8(m): add optee node to binman FIT image

2025-01-16 Thread Fabio Estevam
On Fri, Jan 10, 2025 at 9:35 AM Yannic Moog wrote: > > There have been attempts to get op-tee node integrated upstream in the > past [1][2]. The challenge is on how to handle the load and entry > addresses where the op-tee image should be loaded to. > Different SoC families and architectures have

Re: [PATCH v3 00/17] imx9: switch to bootstd for i.MX93/1 EVK/QSB and i.MX8M EVK

2025-01-16 Thread Fabio Estevam
Hi Peng, On Wed, Jan 8, 2025 at 11:23 PM Peng Fan (OSS) wrote: > > Switch to bootstd for NXP i.MX9/8M boards with a bsp_bootcmd as fallback. > > Some cleanups are also included together with this patchset > > CI: > https://dev.azure.com/pengfan/uboot-ci/_build/results?buildId=17&view=results > >

[GIT PULL] Please pull u-boot-imx-master-20250116

2025-01-16 Thread Fabio Estevam
.de/u-boot/custodians/u-boot-imx.git tags/u-boot-imx-master-20250116 for you to fetch changes up to 985268107d4c0389d154126aa74c1d21706a7ce8: imx: fdt: fix cooling-device property corruption (2025-01-16 10:16:47 -0300) u-boot-imx-master-20250116 -- CI: https://source.denx

Re: [PATCH v5 3/3] tpm: get tpm event log from bloblist

2025-01-16 Thread Ilias Apalodimas
On Wed, 15 Jan 2025 at 03:17, Simon Glass wrote: > > Hi Raymond, > > On Tue, 14 Jan 2025 at 08:20, Raymond Mao wrote: > > > > Get tpm event log from bloblist instead of FDT when bloblist is > > enabled and valid from previous boot stage. > > > > As a fallback, when no event log from previous stag

Re: [PATCH 6/6] block: Remove "select BLK" from non-block drivers

2025-01-16 Thread Tom Rini
On Thu, Jan 16, 2025 at 10:21:36AM +0100, Quentin Schulz wrote: > Hi Tom, > > On 1/15/25 9:20 PM, Tom Rini wrote: > > On Wed, Jan 15, 2025 at 06:49:45PM +0100, Quentin Schulz wrote: > > > Hi Tom, > > > > > > On 1/14/25 5:59 PM, Tom Rini wrote: > > > > On Tue, Jan 14, 2025 at 02:53:48PM +0100, Que

Re: [PATCH 1/1] acpi: don't fill FADT, MADT if CONFIG_QFW_ACPI=y

2025-01-16 Thread Heinrich Schuchardt
On 16.01.25 15:16, Patrick Rudolph wrote: On Thu, Jan 16, 2025 at 2:34 PM Heinrich Schuchardt wrote: Anything wrong with the patch series send Nov 14 2024 that addressed this issue as well? Reviewed-by: Patrick Rudolph Could you, please, provide a link? Hi Heinrich, here it is https://li

Re: [PATCH 1/1] acpi: don't fill FADT, MADT if CONFIG_QFW_ACPI=y

2025-01-16 Thread Patrick Rudolph
Hi Heinrich, here it is https://lists.denx.de/pipermail/u-boot/2024-November/571757.html I'm fine with either solution. Regards, Patrick On Thu, Jan 16, 2025 at 2:34 PM Heinrich Schuchardt wrote: > > On 20.12.24 07:30, Patrick Rudolph wrote: > > On Fri, Dec 20, 2024 at 1:38 AM Heinrich Schuchar

[PATCH 1/1] Makefile: let clean remove capsule_in.capsule*.efi-capsule

2025-01-16 Thread Heinrich Schuchardt
Update the CLEAN_FILES list to remove capsule*.*.efi-capsule. Signed-off-by: Heinrich Schuchardt --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 0500eb6e0a7..70d74e2e9a2 100644 --- a/Makefile +++ b/Makefile @@ -2218,7 +2218,7 @@ CLEAN_FI

Re: [PATCH v5 2/3] tcg2: decouple eventlog size from efi

2025-01-16 Thread Ilias Apalodimas
On Tue, 14 Jan 2025 at 17:20, Raymond Mao wrote: > > Move default eventlog size from efi to tpm for using in both > efi and measured boot. > > Signed-off-by: Raymond Mao > --- > Changes in v5 > - Move eventlog size kconfig from EFI to TPM2, so that it can be used by > both EFI and MEASURED_BOOT

Re: [PATCH 1/1] acpi: don't fill FADT, MADT if CONFIG_QFW_ACPI=y

2025-01-16 Thread Heinrich Schuchardt
On 20.12.24 07:30, Patrick Rudolph wrote: On Fri, Dec 20, 2024 at 1:38 AM Heinrich Schuchardt wrote: When using the ACPI tables supplied by QEMU, we don't need to build the FADT and MADT tables in U-Boot. This patch avoids a build failure make qemu-riscv64_smode_defconfig acpi.config

Re: [PATCH 3/3] common: fdt: hand over original fdt bootargs into board chosen handler

2025-01-16 Thread Dmitry Rokosov
Hello Simon, On Tue, Jan 14, 2025 at 06:14:59AM -0700, Simon Glass wrote: > Hi Dmitry, > > On Thu, 19 Dec 2024 at 14:42, Dmitry Rokosov > wrote: > > > > Sometimes, it is necessary to provide an additional bootargs string to > > the kernel command line. > > > > We have a real scenario where one U

[PATCH 08/10] configs: quartz64: Enable vidconsole

2025-01-16 Thread Dang Huynh
Now that we have VOP2 support, we should enable vidconsole. Signed-off-by: Dang Huynh --- include/configs/quartz64_rk3566.h | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/include/configs/quartz64_rk3566.h b/include/configs/quartz64_rk3566.h index dfe0fee94cdb043cbca558

[PATCH v1 1/2] net: phy: Let gmiitorgmii converter create additional PHY

2025-01-16 Thread Tapio Reijonen
Change the order to connect gmiitorgmii before PHY creation. The gmiitorgmii create additional in DTS configured PHY during it's configuration. This ensures, that converter sits between the MAC and the external phy MAC <==> GMII2RGMII <==> RGMII_PHY. Fixes: commit a744a284e354 ("net: phy: Add supp

[PATCH 06/10] video: rockchip: vop2: Add video bridge support

2025-01-16 Thread Dang Huynh
Add support for the MIPI DSI bridge driver that we have. Signed-off-by: Dang Huynh --- drivers/video/rockchip/rk_vop2.c | 89 ++-- 1 file changed, 67 insertions(+), 22 deletions(-) diff --git a/drivers/video/rockchip/rk_vop2.c b/drivers/video/rockchip/rk_vop2

[PATCH 02/10] video: rockchip: dw_mipi_dsi: Improve pixel clock calculations

2025-01-16 Thread Dang Huynh
From: Ondrej Jirman Calculate burst mode overhead in one place for both internal and external PHY use case and exit if out of range, instead of ignoring the wrong value. Signed-off-by: Ondrej Jirman Signed-off-by: Dang Huynh --- drivers/video/rockchip/dw_mipi_dsi_rockchip.c | 24 ++---

Re: [PATCH 3/3] common: fdt: hand over original fdt bootargs into board chosen handler

2025-01-16 Thread Dmitry Rokosov
Hello Quentin, On Tue, Jan 14, 2025 at 12:16:35PM +0100, Quentin Schulz wrote: > Hi Dmitry, > > On 12/19/24 10:42 PM, Dmitry Rokosov wrote: > > Sometimes, it is necessary to provide an additional bootargs string to > > the kernel command line. > > > > We have a real scenario where one U-Boot blo

Re: [PATCH 6/6] board: qemu-arm: select TPM_PCR_ALLOCATE

2025-01-16 Thread Ilias Apalodimas
On Wed, 15 Jan 2025 at 22:02, Raymond Mao wrote: > > Enable PCR allocate and system reboot when algorithms don't match > among the values from TPM device, U-Boot support and evenlog. > > Signed-off-by: Raymond Mao > --- > configs/qemu_arm64_defconfig | 1 + > 1 file changed, 1 insertion(+) > > d

[PATCH v1 2/2] net: phy: gmii2rgmii: Add support for phy ethernet id configuration

2025-01-16 Thread Tapio Reijonen
When Kconfig PHY_ETHERNET_ID is set, create external PHY using via ethernet-phy-id driver to support using starpping resistors of the external PHY. Fixes: commit a744a284e354 ("net: phy: Add support for ethernet-phy-id with gpio reset") Signed-off-by: Tapio Reijonen --- drivers/net/phy/xilinx

[PATCH v1 0/2] Fix bridge gmii2rgmii

2025-01-16 Thread Tapio Reijonen
When taken in use U-Boot v2023.04 one our board's ethernet stop to work in U-Boot, which was working in v2022.01. In v2022.01 the gmii2rgmii was called before PHY was created. This patch change back the order and fix the problem. Also the ethernet-phy-id driver is taken in use in gmii2rgmii dr

[PATCH v1] pinctrl: starfive: Correct driver declaration for starfive_gpio

2025-01-16 Thread Hal Feng
Use the driver macros so that the driver appears in the linker list. Reported-by: Simon Glass Fixes: 732f01aabf53 ("pinctrl: starfive: Add StarFive JH7110 driver") Signed-off-by: Hal Feng --- drivers/pinctrl/starfive/pinctrl-starfive.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)

[PATCH 09/10] video: rockchip: Add HDMI support for RK3568

2025-01-16 Thread Dang Huynh
HDMI on RK3568 is mostly simplified, all this does is enabling DDC for display timings and HPD. Signed-off-by: Dang Huynh --- drivers/video/rockchip/Makefile | 1 + drivers/video/rockchip/rk3568_hdmi.c | 63 2 files changed, 64 insertions(+) diff --git

Re: (subset) [PATCH v4 00/19] bootstd: Support recording images

2025-01-16 Thread Tom Rini
On Fri, 15 Nov 2024 16:19:07 -0700, Simon Glass wrote: > This series provides a way to keep track of the images used in bootstd, > including the type of each image. > > At present this is sort-of handled by struct bootflow but in quite an > ad-hoc way. The structure has become quite large and is

[PATCH 10/10] configs: pinetab2-rk3566: Enable video and USB keyboard

2025-01-16 Thread Dang Huynh
Now that we have VOP2 support, let's enable it and support the built in USB keyboard. Signed-off-by: Dang Huynh --- configs/pinetab2-rk3566_defconfig | 15 +++ 1 file changed, 15 insertions(+) diff --git a/configs/pinetab2-rk3566_defconfig b/configs/pinetab2-rk3566_defconfig index

[PATCH 07/10] dts: rockchip: rk356x: Prerelocate VOP in U-Boot proper

2025-01-16 Thread Dang Huynh
We need to prerelocate VOP2 memory so the driver can work. This will only support U-Boot proper. Signed-off-by: Dang Huynh --- arch/arm/dts/rk356x-u-boot.dtsi | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/dts/rk356x-u-boot.dtsi b/arch/arm/dts/rk356x-u-boot.dtsi index 0a0943b4

  1   2   >