Re: [PATCH] configs: am62x_evm_*: Set DFU buffer size to 256k

2025-01-16 Thread Mattijs Korpershoek
Hi John, Thank you for the patch. On ven., déc. 20, 2024 at 15:53, Jonathan Humphreys wrote: > OSPI flash writing was broken on am62x SKs as the OSPI flash device has a > 256k sector size but was set to 20k. This breaks OSPI flash writes because > the current implementation of the SF DFU backen

Re: [PATCH v2 2/4] board: vexpress64: default to hardware device tree

2025-01-16 Thread Harrison Mutai
Hi Simon, On 16/01/2025 01:26, Simon Glass wrote: Hi Harrison, On Wed, 15 Jan 2025 at 06:52, Harrison Mutai wrote: When booting into the Linux kernel with semi-hosting, use the device tree provided by hardware unless one is provided in the current directory. Signed-off-by: Harrison Mutai -

Re: [PATCH v4 6/8] usb: dwc2: Extract macro definitions to common header

2025-01-16 Thread Mattijs Korpershoek
Hi Junhui, Thank you for the patch. On ven., janv. 10, 2025 at 21:55, Junhui Liu wrote: > From: Kongyang Liu > > Some macros are shared between host and gadget code, causing duplicated > definitions. Move DWC2 macro definitions from host and gadget code into a > common header to reduce duplica

Re: [PATCH v4 7/8] usb: dwc2: Unify flush and reset logic with v4.20a support

2025-01-16 Thread Mattijs Korpershoek
Hi Junhui, Thank you for the patch. On ven., janv. 10, 2025 at 21:55, Junhui Liu wrote: > From: Kongyang Liu > > This patch merges flush and reset logic for both host and gadget code > into a common set of functions, reducing duplication. It also adds support > for the updated reset logic to c

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

2025-01-16 Thread Quentin Schulz
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, Quentin Schulz wrote: Hi Tom, On 12/20/24 11:22 PM, Tom Rini wrote: Now that block drivers are a

Re: [PATCH v4 8/8] usb: dwc2: Replace uint_t types with u

2025-01-16 Thread Mattijs Korpershoek
Hi Junhui, Thank you for the patch. On ven., janv. 10, 2025 at 21:55, Junhui Liu wrote: > From: Kongyang Liu > > Updates all instances of uint8_t, uint16_t, and uint32_t to u8, u16, and > u32 respectively, ensuring consistent use of kernel-preferred types and > resolving checkpatch.pl warnings

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

2025-01-16 Thread Mattijs Korpershoek
Hi Varadarajan, Thank you for the patch. On mer., janv. 15, 2025 at 11:50, 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 r

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

2025-01-16 Thread Ilias Apalodimas
Hi Mattijs, On Thu, 16 Jan 2025 at 10:37, 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 at 17:09, Jon Humphrey

Re: [PATCH] usb: xhci-dwc3: Bail out if "dr_mode" is "peripheral"

2025-01-16 Thread Mattijs Korpershoek
Hi Siddharth, On lun., déc. 09, 2024 at 15:20, Roger Quadros wrote: > Hi Siddharth, > > On 06/12/2024 13:04, Siddharth Vadapalli wrote: >> Since the compatible "snps,dwc3" can be specified in the device-tree for >> the Designware USB Controller configured for not only Host and OTG modes >> of op

Re: 回复: [PATCH] linker_lists: Update the alignment using CONFIG_LINKER_LIST_ALIGN

2025-01-16 Thread Quentin Schulz
Hi, On 1/16/25 1:24 AM, 黄利亚 wrote: Sorry for the confusion and disruption.  I haven't submitted patches this way before,  and my English is not very good.  I was conducted according to the steps  in the https://docs.u-boot.org/en/latest/develop/patman.html operation. The patch is fine, it is

Re: [PATCH v2 8/9] board: stih410-b2260: Remove board_usb_init/cleanup()

2025-01-16 Thread Mattijs Korpershoek
Hi Patrice, Thank you for the patch. On jeu., janv. 16, 2025 at 09:17, Patrice Chotard wrote: > Since DM_USB_GADGET is enable for this board, board_usb_init() > and board_usb_cleanup() can be removed. > > Signed-off-by: Patrice Chotard Yay, glad to see some more board_usb_{init,cleanup}() ge

Re: [PATCH v2 3/9] usb: dwc3-generic: Reorder include

2025-01-16 Thread Mattijs Korpershoek
Hi Patrice, Thank you for the patch. On jeu., janv. 16, 2025 at 09:17, Patrice Chotard wrote: > Reorder include following rules available here : > https://docs.u-boot.org/en/latest/develop/codingstyle.html#include-files Nitpick: we don't state in the commit message that we also removed the un

Re: [PATCH] usb: xhci-dwc3: Bail out if "dr_mode" is "peripheral"

2025-01-16 Thread Siddharth Vadapalli
On Thu, Jan 16, 2025 at 10:36:45AM +0100, Mattijs Korpershoek wrote: > Hi Siddharth, Hello Mattijs, > > On lun., déc. 09, 2024 at 15:20, Roger Quadros wrote: > > > Hi Siddharth, > > > > On 06/12/2024 13:04, Siddharth Vadapalli wrote: [...] > >> diff --git a/drivers/usb/host/xhci-dwc3.c b/dri

Re: [PATCH v2 4/9] usb: dwc3-generic: Add STih407 support

2025-01-16 Thread Mattijs Korpershoek
Hi Patrice, Thank you for the patch. On jeu., janv. 16, 2025 at 09:17, Patrice Chotard wrote: > Add STi glue logic to manage the DWC3 HC on STiH407 > SoC family. It configures the internal glue logic and > syscfg registers. > > Signed-off-by: Patrice Chotard > Cc: Marek Vasut > > --- > > Cha

Re: [PATCH v2 6/9] usb: dwc3: Remove dwc3 glue driver support for STi

2025-01-16 Thread Mattijs Korpershoek
Hi Patrice, Thank you for the patch. On jeu., janv. 16, 2025 at 09:17, Patrice Chotard wrote: > STi is now using the dwc3-generic driver, dwc3-sti-glue driver > can be removed. > > Signed-off-by: Patrice Chotard > Cc: Marek Vasut Reviewed-by: Mattijs Korpershoek > --- > > (no changes sinc

Re: [PATCH] usb: xhci-dwc3: Bail out if "dr_mode" is "peripheral"

2025-01-16 Thread Mattijs Korpershoek
On jeu., janv. 16, 2025 at 15:48, Siddharth Vadapalli wrote: > On Thu, Jan 16, 2025 at 10:36:45AM +0100, Mattijs Korpershoek wrote: >> Hi Siddharth, > > Hello Mattijs, > >> >> On lun., déc. 09, 2024 at 15:20, Roger Quadros wrote: >> >> > Hi Siddharth, >> > >> > On 06/12/2024 13:04, Siddharth

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

2025-01-16 Thread 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 --- configs/phycore_am64x_a53_defconfig | 2 ++

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

2025-01-16 Thread Daniel Schultz
Enable the GPIO command to allow access to the GPIO pins. Signed-off-by: Daniel Schultz --- configs/phycore_am64x_a53_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/phycore_am64x_a53_defconfig b/configs/phycore_am64x_a53_defconfig index 4b9dcceda45..4a91b72e700 100644 ---

[PATCH v2 1/5] efi_loader: Fix section alignment on EFI binaries

2025-01-16 Thread Heinrich Schuchardt
From: Ilias Apalodimas When creating EFI binaries, the alignment of the text section isn't correctly factored in. As a result trying to load signed EFI binaries throws an error with: efi_image_region_add() efi_image_region_add: new region already part of another Image not authenticated Running

[PATCH v2 0/5] efi_loader: Fix section alignment on EFI binaries

2025-01-16 Thread Heinrich Schuchardt
When creating EFI binaries, the alignment of the text section isn't correctly factored in. As a result trying to load signed EFI binaries throws an error with: efi_image_region_add() efi_image_region_add: new region already part of another Image not authenticated Except for the fixing

[PATCH v2 2/5] scripts/Makefile.lib: add -L option to LD command for EFI binaries

2025-01-16 Thread Heinrich Schuchardt
The linker uses the path specified with -L to search for linker scripts and for linker script includes. For out-of-tree builds specify the build directory with -L instead of the absolute path of the linker script. This allows using an INCLUDE statement. Signed-off-by: Heinrich Schuchardt Reviewe

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

2025-01-16 Thread 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 --- board/phytec/common/k3/board.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/board/phytec/common/k3/board.c b/board/phytec/common/k3/boa

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

2025-01-16 Thread 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 --- configs/phycore_am64x_a53_defconfig | 4 +--- 1

Re: [PATCH v2 2/4] board: vexpress64: default to hardware device tree

2025-01-16 Thread Harrison Mutai
On 16/01/2025 11:20, Harrison Mutai wrote: Hi Simon, On 16/01/2025 01:26, Simon Glass wrote: Hi Harrison, On Wed, 15 Jan 2025 at 06:52, Harrison Mutai wrote: When booting into the Linux kernel with semi-hosting, use the device tree provided by hardware unless one is provided in the current

[PATCH v2 3/5] efi_loader: use INCLUDE in EFI linker scripts

2025-01-16 Thread Heinrich Schuchardt
Except for the architecture specific lines ARM and RISC-V can use the same linker script. Move the common lines to an include. Signed-off-by: Heinrich Schuchardt Reviewed-by: Ilias Apalodimas --- v2: no change --- arch/arm/lib/elf_aarch64_efi.lds | 68 +-- arch

[PATCH v2 5/5] efi_loader: use include in ARM EFI linker script

2025-01-16 Thread Heinrich Schuchardt
Use the same include as arm64 for the linker script. Adjust the 32-bit ARM PE-COFF header accordingly and harmonize it with the 64-bit ARM header. Signed-off-by: Heinrich Schuchardt --- v2: Do not rename field image_base to ImageBase. Move SizeOfCode change to separate patch. ---

[PATCH v2 4/5] efi_loader: correct SizeOfCode, SizeOfInitializedData

2025-01-16 Thread Heinrich Schuchardt
The fields SizeOfCode, SizeOfInitializedData, and SizeOfUninitializedData are define in the PE-COFF specification [1]. * SizeOfCode must match the size of all .text sections. * SizeOfInitializedData must match the size of all .data sections. * SizeOfUninitializedData must match the size of all .bs

[PATCH RFC v2] image: apply FDTOs on FDT image node without a load property

2025-01-16 Thread Quentin Schulz
From: Quentin Schulz A FIT image which is NOT using -E when created by mkimage - that is with image data within the FIT - will fail to apply FDTO if the base FDT image node does not specify a load property (which points to an address in DRAM). This is because we check that the FDT address we want

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

2025-01-16 Thread Ilias Apalodimas
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 patch introduces > the implementation of PCR allocate APIs and adds related cmd functions

Re: [PATCH 4/6] tpm: add PCR allocate into the eventlog handling

2025-01-16 Thread Ilias Apalodimas
On Wed, 15 Jan 2025 at 22:02, Raymond Mao wrote: > > Get eventlog bank mask when parsing the eventlog from previous > boot stage and invoke PCR allocate function based on it. > PCR allocate will be proceeded if any dismatches observed among > the active, supportted and eventlog bank masks to re-co

[PATCH 01/10] video: rockchip: dw-mipi-dsi: Depend on CONFIG_VIDEO_BRIDGE

2025-01-16 Thread Dang Huynh
The driver is in video bridge class, so we must depend on it or the driver will fail to init. Signed-off-by: Dang Huynh --- drivers/video/rockchip/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/rockchip/Kconfig b/drivers/video/rockchip/Kconfig index 01

[PATCH 00/10] Rockchip VOP2 support

2025-01-16 Thread Dang Huynh
This series adds VOP2 support to U-Boot and enable it for PineTab2. HDMI should work flawlessly but there's still some timings issue with DW MIPI DSI, perhaps that's something to look into later. Signed-off-by: Dang Huynh --- Dang Huynh (8): video: rockchip: dw-mipi-dsi: Depend on CONFIG_V

[PATCH 05/10] video: rockchip: Add VOP2 support

2025-01-16 Thread Dang Huynh
VOP2 (Video Output Processor v2) is a display controller on Rockchip SoCs. It can be found on RK3566/8 and RK3588. This commit currently only supports RK3566/8. Signed-off-by: Dang Huynh --- arch/arm/include/asm/arch-rockchip/vop_rk3568.h | 249 + drivers/video/rockchip/Makefile

[PATCH 03/10] video: rockchip: dw_mipi_dsi: Proceed when external PHY is not defined

2025-01-16 Thread Dang Huynh
From: Ondrej Jirman In this case the DM returns ENOENT, not ENODATA. Signed-off-by: Ondrej Jirman Signed-off-by: Dang Huynh --- drivers/video/rockchip/dw_mipi_dsi_rockchip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/rockchip/dw_mipi_dsi_rockchip.c b/dr

[PATCH 04/10] video: Add BOE TH101MB31IG002-28A MIPI-DSI panel

2025-01-16 Thread Dang Huynh
BOE TH101MB31IG002-28A is a MIPI-DSI panel used in the Pine64 PineTab2. Signed-off-by: Dang Huynh --- drivers/video/Kconfig | 10 ++ drivers/video/Makefile | 1 + drivers/video/boe-th101mb31ig002-28a.c | 231 + 3 files changed,

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

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

[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

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

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

2025-01-16 Thread Ilias Apalodimas
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 does any of the functions belong to that file? Unless we expect the non-TCG versio

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

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

[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

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

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

Re: [Upstream] [PATCH v2 1/2] board: phytec: common: Add product information to FTD

2025-01-16 Thread Yannic Moog
Hello Daniel, On Wed, 2025-01-15 at 02:35 -0800, Daniel Schultz wrote: > ft_board_setup inside the board code allows to alter > device-tree during the boot process. > > Introduce a new function for the PHYTEC SOM detection > to read the product name and part number from the EEPROM > content and i

[PATCH v2 7/9] configs: stih410-b2260: Enable DM_USB_GADGET flag

2025-01-16 Thread Patrice Chotard
Enable DM_USB_GADGET flag. Signed-off-by: Patrice Chotard Cc: Marek Vasut --- (no changes since v1) configs/stih410-b2260_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/stih410-b2260_defconfig b/configs/stih410-b2260_defconfig index 4fcbf75548b..5641fd1d8d7 100644 --- a

[PATCH v2 2/9] configs: stih410-b2260: Enable DM_REGULATOR flag

2025-01-16 Thread Patrice Chotard
Since commit 6aa8bde8786d ("usb: host: ehci-generic: Remove DM_REGULATOR flag") device_get_supply_regulator() returns -ENOSYS which is not handle by ehci_enable_vbus_supply() and thus, ehci_usb_probe() return an error. By enabling DM_REGULATOR flag, device_get_supply_regulator() return -ENOENT whi

[PATCH v2 1/9] ARM: dts: sti: Add fixed clock for ehci and ohci nodes in stih410-b2260.dtsi

2025-01-16 Thread Patrice Chotard
On STi platforms, all clocks are enabled by BOOTROM, so CONFIG_CLK is not set as no clock driver for STI exists. As ehci-generic and ohci-generic drivers are used on platforms where CONFIG_CLK is set, clk_get_bulk() returns-ENOSYS in case of stih410-b2260. To avoid this error, add fixed clocks for

[PATCH v2 5/9] configs: stih410-b2260: Enable USB_DWC3_GENERIC and USB_DWC3_STI flags

2025-01-16 Thread Patrice Chotard
Enable USB_DWC3_GENERIC and USB_DWC3_STI flags. Signed-off-by: Patrice Chotard Cc: Marek Vasut --- Changes in v2: - enable new flag USB_DWC3_STI configs/stih410-b2260_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/stih410-b2260_defconfig b/configs/stih410-b2260_def

[PATCH v2 9/9] configs: stih410-b2260: Enable CMD_USB_MASS_STORAGE flag

2025-01-16 Thread Patrice Chotard
Enable CMD_USB_MASS_STORAGE flag. Signed-off-by: Patrice Chotard Cc: Marek Vasut --- (no changes since v1) configs/stih410-b2260_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/stih410-b2260_defconfig b/configs/stih410-b2260_defconfig index 5641fd1d8d7..1e5190dc828 100

[PATCH v2 3/9] usb: dwc3-generic: Reorder include

2025-01-16 Thread Patrice Chotard
Reorder include following rules available here : https://docs.u-boot.org/en/latest/develop/codingstyle.html#include-files Signed-off-by: Patrice Chotard Cc: Marek Vasut --- Changes in v2: - remove useless include files drivers/usb/dwc3/dwc3-generic.c | 20 1 file chang

[PATCH v2 4/9] usb: dwc3-generic: Add STih407 support

2025-01-16 Thread Patrice Chotard
Add STi glue logic to manage the DWC3 HC on STiH407 SoC family. It configures the internal glue logic and syscfg registers. Signed-off-by: Patrice Chotard Cc: Marek Vasut --- Changes in v2: - add dwc3-sti.c DWC3 wrapper as done for dwc3-am62.c MAINTAINERS | 1 + d

[PATCH v2 6/9] usb: dwc3: Remove dwc3 glue driver support for STi

2025-01-16 Thread Patrice Chotard
STi is now using the dwc3-generic driver, dwc3-sti-glue driver can be removed. Signed-off-by: Patrice Chotard Cc: Marek Vasut --- (no changes since v1) MAINTAINERS | 2 - board/st/stih410-b2260/board.c | 1 - drivers/usb/host/Kconfig | 9 -- drivers/usb/ho

[PATCH v2 0/9] Restore USB and add UMS support for STiH407-B2260

2025-01-16 Thread Patrice Chotard
This series is : _ restoring USB on STiH410-B2260 which hasn't been tested since a while. _ migrating STi DWC3 glue from proprietary driver to dwc3-generic driver. _ adding UMS support for STiH410-B2260. Changes in v2: - remove useless include files - add dwc3-sti.c DWC3 wrapper as

[PATCH v2 8/9] board: stih410-b2260: Remove board_usb_init/cleanup()

2025-01-16 Thread Patrice Chotard
Since DM_USB_GADGET is enable for this board, board_usb_init() and board_usb_cleanup() can be removed. Signed-off-by: Patrice Chotard --- (no changes since v1) board/st/stih410-b2260/board.c | 29 - 1 file changed, 29 deletions(-) diff --git a/board/st/stih410-b226

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

2025-01-16 Thread Mattijs Korpershoek
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 at 17:09, Jon Humphreys wrote: > Mattijs Korpershoek writes: > >> Hi Jonathan, >> >> Thank you for the p

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

2025-01-16 Thread Sughosh Ganu
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 at 17:09, Jon Humphreys wrote: > >

Re: [PATCH] vexpress64: Fix bootargs when building without NET

2025-01-16 Thread Linus Walleij
On Wed, Jan 15, 2025 at 4:23 PM Chanho Park wrote: > When building without DHCP/PXE configurations (NET disabled), > compilation errors may occur due to mismatched bootargs. > Ensure bootargs related to DHCP/PXE are not enabled if the > corresponding commands are disabled. > > include/config_dist

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

2025-01-16 Thread Mattijs Korpershoek
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 knows how to find the tests > related to that subcomand. > > This is not ideal and we n

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

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

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] 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 1/6] tpm: add TPM2_Shutdown command

2025-01-16 Thread Ilias Apalodimas
On Wed, 15 Jan 2025 at 22:02, Raymond Mao wrote: > TPM2_shutdown command is sharing same structure and logics with > TPM2_startup, thus this patch extends the existing startup APIs and > cmd functions to support shutdown instead of created new ones. > > Signed-off-by: Raymond Mao > --- > cmd/tp

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

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

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

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

[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

[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

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

[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

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

[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

  1   2   >