Re: [PATCH v2 02/16] board: am64x: Define capsule update firmware info

2024-04-08 Thread Heinrich Schuchardt
On 4/9/24 00:31, Jonathan Humphreys wrote: Define the firmwares updatable via EFI capsule update. Nits: %s/firmwares/firmware/ (firmware is uncountable). Signed-off-by: Jonathan Humphreys --- board/ti/am64x/evm.c | 33 + 1 file changed, 33 insertions(+)

Re: [PATCH v2 01/16] board: Define GUIDs for firmware images

2024-04-08 Thread Heinrich Schuchardt
On 4/9/24 00:31, Jonathan Humphreys wrote: Define GUIDs for the different firmware images (tiboot3.bin, tispl.bin, u-boot.img, sysfw). > Signed-off-by: Jonathan Humphreys --- include/configs/ti_armv7_common.h | 17 + 1 file changed, 17 insertions(+) diff --git

Re: [PATCH] mtd: spi-nor: Add support for Infineon S25FS-S family

2024-04-08 Thread Takahiro Kuwano
On 4/5/2024 7:10 PM, Pratyush Yadav wrote: > Hi, > > Just a couple small comments. Looks good otherwise. > > On Fri, Apr 05 2024, tkuw584...@gmail.com wrote: > >> From: Takahiro Kuwano >> >> The S25FS064S, S25FS128S, and S25FS256S are the same family of SPI NOR >> Flash devices with S25FS512S.

Re: [PATCH 00/13] EFI: capsule: ti: enable authenticated capsules

2024-04-08 Thread Heinrich Schuchardt
On 4/8/24 23:33, Jonathan Humphreys wrote: Create an EFI signature list (.esl) file based on the TI dummy key. Enable capsule authentication for several TI SoC based platforms: AM64, AM62, AM62p, BeaglePlay, J7, and BeagleboneAI. Hello Jonathan, with the patch a capsule update will not be

Re: [PATCH 01/13] ti:keys Add EFI signature list

2024-04-08 Thread Heinrich Schuchardt
On 4/8/24 23:33, Jonathan Humphreys wrote: EFI signature list using TI dummy keys. Adding vendor public keys into the code base to lock down generated binaries to the vendors unpublished private key does not match well with the intent of the GNU public license. Best regards Heinrich

Re: [PATCH v3 0/2] Introduce spl_soc_init() for SoC specific initialization

2024-04-08 Thread Michal Simek
On 3/27/24 13:11, lukas.funke-...@weidmueller.com wrote: From: Lukas Funke Currently some vendors use spl_board_init() for their SoC specific initialization. This prohibits board developers from adding board init code using said function. This series introduces a new function in order to

[PATCH 0/4] qcom: clock drivers for qcm2290/sm6115/sm8250

2024-04-08 Thread Caleb Connolly
++ drivers/clk/qcom/clock-qcom.h| 4 + drivers/clk/qcom/clock-sm6115.c | 199 +++ drivers/clk/qcom/clock-sm8250.c | 282 +++ 7 files changed, 707 insertions(+) --- change-id: 20240408-b4-qcom-rbx-soc-ddd6603e31e1 base

[PATCH 3/4] clk/qcom: add driver for sm8250 GCC

2024-04-08 Thread Caleb Connolly
Add a clock driver for the SM8250 SoC. This driver can enable necessary clocks for UART, UFS, USB, and MMC. Signed-off-by: Caleb Connolly --- drivers/clk/qcom/Kconfig| 8 ++ drivers/clk/qcom/Makefile | 1 + drivers/clk/qcom/clock-qcom.h | 1 +

[PATCH 1/4] clk/qcom: add driver for qcm2290 GCC

2024-04-08 Thread Caleb Connolly
Add a clock driver for the QCM2290 SoC which is used in the QRB2210 RB1 board. Signed-off-by: Caleb Connolly --- drivers/clk/qcom/Kconfig | 8 ++ drivers/clk/qcom/Makefile| 1 + drivers/clk/qcom/clock-qcm2290.c | 192 +++

[PATCH 2/4] clk/qcom: add driver for sm6115 GCC

2024-04-08 Thread Caleb Connolly
Add a driver for the clock controller in the SM6115 SoC, this is used in the QRB4210 RB2 board. Signed-off-by: Caleb Connolly --- drivers/clk/qcom/Kconfig| 8 ++ drivers/clk/qcom/Makefile | 1 + drivers/clk/qcom/clock-sm6115.c | 199 3

[PATCH 1/4] pinctrl: qcom: add qcm2290 pinctrl driver

2024-04-08 Thread Caleb Connolly
This SoC has a basic pinctrl block with no tiles. Signed-off-by: Caleb Connolly --- drivers/pinctrl/qcom/Kconfig | 7 drivers/pinctrl/qcom/Makefile | 1 + drivers/pinctrl/qcom/pinctrl-qcm2290.c | 67 ++ 3 files changed, 75 insertions(+)

[PATCH 4/4] qcom_defconfig: enable clocks for qcm2290/sm6115/sm8250

2024-04-08 Thread Caleb Connolly
Enable three new clock drivers. Signed-off-by: Caleb Connolly --- configs/qcom_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/qcom_defconfig b/configs/qcom_defconfig index bf3638be1b40..ae9c5b2461d4 100644 --- a/configs/qcom_defconfig +++ b/configs/qcom_defconfig @@

[PATCH 0/4] qcom: pinctrl drivers for qcm2290/sm6115/sm8250

2024-04-08 Thread Caleb Connolly
+ drivers/pinctrl/qcom/pinctrl-sm8250.c | 96 6 files changed, 387 insertions(+) --- change-id: 20240408-b4-qcom-rbx-soc-44ee99c8b799 base-commit: 072eacb0c7a2d7a621b581d238422f0254c78cb2 Caleb Connolly

[PATCH 3/4] pinctrl: qcom: add sm8250 pinctrl driver

2024-04-08 Thread Caleb Connolly
This SoC features a pinctrl block with north, south, and west tiles accessible to the AP. Signed-off-by: Caleb Connolly --- drivers/pinctrl/qcom/Kconfig | 7 +++ drivers/pinctrl/qcom/Makefile | 1 + drivers/pinctrl/qcom/pinctrl-sm8250.c | 96

[PATCH 2/4] pinctrl: qcom: add sm6115 pinctrl driver

2024-04-08 Thread Caleb Connolly
This SoC features a pinctrl block with west, east, and south tiles. Signed-off-by: Caleb Connolly --- drivers/pinctrl/qcom/Kconfig | 7 ++ drivers/pinctrl/qcom/Makefile | 1 + drivers/pinctrl/qcom/pinctrl-sm6115.c | 197 ++ 3 files changed,

[PATCH 4/4] qcom_defconfig: enable pinctrl for new qcm2290/sm6115/sm8250

2024-04-08 Thread Caleb Connolly
Enable the clock and pinctrl drivers for qcm2290, sm6115, and sm8250. Signed-off-by: Caleb Connolly --- configs/qcom_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/qcom_defconfig b/configs/qcom_defconfig index ae9c5b2461d4..592ffceb2077 100644 ---

Re: [PATCH v10 1/2] dt-bindings: mtd: fixed-partitions: Add alignment properties

2024-04-08 Thread Miquel Raynal
Hi Simon, s...@chromium.org wrote on Tue, 26 Mar 2024 14:06:44 -0600: > Add three properties for controlling alignment of partitions, aka > 'entries' in fixed-partition. > > For now there is no explicit mention of hierarchy, so a 'section' is > just the 'fixed-partitions' node. > > These new

Re: [PATCH 3/4] pinctrl: qcom: add sm8250 pinctrl driver

2024-04-08 Thread Caleb Connolly
On 08/04/2024 15:07, Caleb Connolly wrote: This SoC features a pinctrl block with north, south, and west tiles accessible to the AP. Signed-off-by: Caleb Connolly --- drivers/pinctrl/qcom/Kconfig | 7 +++ drivers/pinctrl/qcom/Makefile | 1 +

Re: [PATCH 3/4] pinctrl: qcom: add sm8250 pinctrl driver

2024-04-08 Thread Neil Armstrong
On 08/04/2024 15:07, Caleb Connolly wrote: This SoC features a pinctrl block with north, south, and west tiles accessible to the AP. Signed-off-by: Caleb Connolly --- drivers/pinctrl/qcom/Kconfig | 7 +++ drivers/pinctrl/qcom/Makefile | 1 +

Re: [PATCH v3 2/6] apq8016: Add support for UART1 clocks and pinmux

2024-04-08 Thread Caleb Connolly
On 05/04/2024 11:07, Sumit Garg wrote: SE HMIBSC board uses UART1 as the main debug console, so add corresponding clocks and pinmux support. Along with that update instructions to enable clocks for debug UART support. Signed-off-by: Sumit Garg Reviewed-by: Caleb Connolly ---

[PATCH v2 01/14] board: rockchip: rk3308: Add device tree files and myself to MAINTAINERS

2024-04-08 Thread Jonas Karlman
Update MAINTAINERS files for RK3308 boards to include related device tree files. Also add myself as a reviewer for the ROCK Pi S board. Signed-off-by: Jonas Karlman --- v2: No change --- board/firefly/firefly-rk3308/MAINTAINERS | 1 + board/rockchip/evb_rk3308/MAINTAINERS| 5 +++-- 2 files

[PATCH v2 04/14] rockchip: rk3308: Generate ethaddr based on cpu id

2024-04-08 Thread Jonas Karlman
Like other Rockchip SoCs the RK3308 has cpu id programmed into OTP memory. The rockchip_otp driver already support the RK3308 variant. However, the device tree is missing a node to enable use of OTP. Add the missing otp node to soc u-boot.dtsi, enable the rockchip_otp driver and enable use of

[PATCH v2 07/14] clk: rockchip: rk3308: Add support for SCLK_RTC32K clock

2024-04-08 Thread Jonas Karlman
From: Finley Xiao Add support to get and set the SCLK_RTC32K clock rate. Signed-off-by: Finley Xiao [jo...@kwiboo.se: Update commit message] Signed-off-by: Jonas Karlman --- v2: No change --- arch/arm/include/asm/arch-rk3308/cru_rk3308.h | 14 +++ drivers/clk/rockchip/clk_rk3308.c

[PATCH v2 06/14] rockchip: rk3308: Fix loading FIT from SD-card when booting from eMMC

2024-04-08 Thread Jonas Karlman
When RK3308 boards run SPL from eMMC and fail to load FIT from eMMC due to it being missing or checksum validation fails there can be a fallback to read FIT from SD-card. However, without proper pinctrl configuration reading FIT from SD-card may fail: U-Boot SPL 2024.04-rc4 (Mar 16 2024 -

[PATCH v2 08/14] clk: rockchip: rk3308: Add dummy support for USB480M clock

2024-04-08 Thread Jonas Karlman
Add dummy support for setting parent of USB480M clock. Signed-off-by: Jonas Karlman --- v2: No change --- drivers/clk/rockchip/clk_rk3308.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/clk/rockchip/clk_rk3308.c b/drivers/clk/rockchip/clk_rk3308.c index

[PATCH v2 03/14] rockchip: rk3308: Enable ARMv8 crypto and FIT checksum validation

2024-04-08 Thread Jonas Karlman
The RK3308 SoC support ARMv8 Cryptography Extensions and use of the ARMv8 crypto extensions help speed up FIT checksum validation in SPL. Imply ARMV8_SET_SMPEN and ARMV8_CRYPTO to take advantage of the crypto extensions for SHA256 when validating checksum of FIT images. Imply SPL_FIT_SIGNATURE

[PATCH v2 05/14] rockchip: rk3308: Enable random generator

2024-04-08 Thread Jonas Karlman
The RK3308 SoC contain a crypto engine block that can generate random numbers. Add rng node to soc u-boot.dtsi and enable Kconfig options to take advantage of the random generator. Signed-off-by: Jonas Karlman --- v2: No change --- arch/arm/dts/rk3308-u-boot.dtsi | 5 +

Re: [PATCH v2 01/11] net: dwc_eth_qos: Split STM32 glue into separate file

2024-04-08 Thread Christophe ROULLIER
-Original Message- From: Marek Vasut Sent: Tuesday, March 26, 2024 1:07 PM To:u-boot@lists.denx.de Cc: Marek Vasut; Patrice CHOTARD - foss; Christophe ROULLIER; Joe Hershberger; Patrick DELAUNAY - foss; Ramon Fried;u-b...@dh-electronics.com;uboot-st...@st-md-mailman.stormreply.com

Re: [PATCH v2 02/11] net: dwc_eth_qos: Rename eqos_stm32_config to eqos_stm32mp15_config

2024-04-08 Thread Christophe ROULLIER
-Original Message- From: Marek Vasut Sent: Tuesday, March 26, 2024 1:07 PM To:u-boot@lists.denx.de Cc: Marek Vasut; Patrice CHOTARD - foss; Christophe ROULLIER; Joe Hershberger; Patrick DELAUNAY - foss; Ramon Fried;u-b...@dh-electronics.com;uboot-st...@st-md-mailman.stormreply.com

[PATCH v2 02/14] rockchip: rk3308: Sort imply statements alphabetically

2024-04-08 Thread Jonas Karlman
Sort imply statements under ROCKCHIP_RK3308 alphabetically and remove the config SPL_SERIAL statement from soc Kconfig file, it is already implyed in arch Kconfig. Signed-off-by: Jonas Karlman --- v2: No change --- arch/arm/mach-rockchip/Kconfig| 8

[PATCH v2 00/14] rockchip: rk3308: Sync DT with linux v6.8 and update defconfigs

2024-04-08 Thread Jonas Karlman
This series adds support for new clocks used in linux v6.8 device trees, enables use of FIT signature check for checksum validation and fixes loading FIT from SD-card when loading FIT from eMMC fails. It should be possible to move RK3308 boards to use OF_UPSTREAM in a future series after this has

[PATCH v3 0/1] Introduce fastboot oem board command

2024-04-08 Thread Alexey Romanov
Changes V1 -> V2 [1]: - Added an example of using the command as requested by Sean Anderson [2]. Changes V2 -> V3 [3]: - Rebase over uboot/master. - Add documentation. - Remove example added in V2 [1]. Links: [1]

[PATCH v3 1/1] fastboot: introduce 'oem board' subcommand

2024-04-08 Thread Alexey Romanov
Currently, fastboot protocol in U-Boot has no opportunity to execute vendor custom code with verifed boot. This patch introduce new fastboot subcommand fastboot oem board:, which allow to run custom oem_board function. Default implementation is __weak. Vendor must redefine it in board/ folder

Re: [PATCH v2 09/11] net: dwc_eth_qos: Add DT parsing for STM32MP13xx platform

2024-04-08 Thread Christophe ROULLIER
-Original Message- From: Marek Vasut Sent: Tuesday, March 26, 2024 1:08 PM To:u-boot@lists.denx.de Cc: Christophe ROULLIER; Marek Vasut; Joe Hershberger; Patrice CHOTARD - foss; Patrick DELAUNAY - foss; Ramon Fried;u-b...@dh-electronics.com;uboot-st...@st-md-mailman.stormreply.com

Re: [PATCH v2 04/11] net: dwc_eth_qos: Scrub ifdeffery

2024-04-08 Thread Christophe ROULLIER
-Original Message- From: Marek Vasut Sent: Tuesday, March 26, 2024 1:07 PM To: u-boot@lists.denx.de Cc: Marek Vasut ; Patrice CHOTARD - foss ; Christophe ROULLIER ; Joe Hershberger ; Patrick DELAUNAY - foss ; Ramon Fried ; u-b...@dh-electronics.com;

Re: [PATCH v2 10/11] net: dwc_eth_qos: Add support of STM32MP13xx platform

2024-04-08 Thread Christophe ROULLIER
-Original Message- From: Marek Vasut Sent: Tuesday, March 26, 2024 1:08 PM To:u-boot@lists.denx.de Cc: Christophe ROULLIER; Patrice CHOTARD - foss; Marek Vasut; Joe Hershberger; Patrick DELAUNAY - foss; Ramon Fried;u-b...@dh-electronics.com;uboot-st...@st-md-mailman.stormreply.com

Re: [PATCH v2 11/11] net: dwc_eth_qos: Add support for st, ext-phyclk property

2024-04-08 Thread Christophe ROULLIER
-Original Message- From: Marek Vasut Sent: Tuesday, March 26, 2024 1:08 PM To:u-boot@lists.denx.de Cc: Marek Vasut; Christophe ROULLIER; Joe Hershberger; Patrice CHOTARD - foss; Patrick DELAUNAY - foss; Ramon Fried;u-b...@dh-electronics.com;uboot-st...@st-md-mailman.stormreply.com

Can't get U-Boot working on Geniatech XPI-3566-ZERO

2024-04-08 Thread Mizsei Zoltán
Hi, I'm trying to get a mainline U-Boot running on the Geniatech XPI-3566-ZERO RK3566 based SBC [1], but all my attempts have failed so far. The SBC doesn't have any SD-Card slot, please keep this in mind! I can build U-Boot, but when I write the resulting binary to the eMMC using

U-Boot/UKI Relationship Regarding Multiple DTBs

2024-04-08 Thread vindicator
Is u-boot capable of selecting the correct DTB in a UKI during boot? I saw "doc/README.multi-dtb-fit", which at least somewhat addresses what I'm looking for I think, but I'm not sure if that will relate directly with executing a UKI that has multiple DTBs... For my one board, I was working on

[PATCH v2 10/14] rockchip: rk3308: Sync device tree from linux v6.8

2024-04-08 Thread Jonas Karlman
Sync device tree from linux v6.8 and rename the rockchip,rk3308-mac compatible in gmac_rockchip driver to match upstream linux. Also move rk3308-roc-cc gmac node to u-boot.dtsi to not break features not enabled in upstream device tree. Signed-off-by: Jonas Karlman --- v2: Sort bootph-all prop

[PATCH v2 11/14] rockchip: rk3308-evb: Update defconfig

2024-04-08 Thread Jonas Karlman
Update defconfig for rk3308-evb with new defaults. Add OF_LIBFDT_OVERLAY=y to support device tree overlays. Remove the SPL_DRIVERS_MISC=y option, no misc driver is used in SPL. Use DEBUG_UART_BASE=0xFF0E and disable DEBUG_UART_BOARD_INIT to make debug uart use uart4, same as stdout-path

[PATCH v2 09/14] phy: rockchip-inno-usb2: Add support for RK3308

2024-04-08 Thread Jonas Karlman
Add clkout_ctl and phy_sus regs to support USB2PHY for RK3308. Based on linux commit 31f840e7ff3e ("phy: phy-rockchip-inno-usb2: add support for RK3308 USB phy"). Signed-off-by: Jonas Karlman --- v2: No change --- drivers/phy/rockchip/phy-rockchip-inno-usb2.c | 20 +++ 1 file

[PATCH v2 12/14] rockchip: rk3308-roc-cc: Update defconfig

2024-04-08 Thread Jonas Karlman
Update defconfig for rk3308-roc-cc with new defaults. Add OF_LIBFDT_OVERLAY=y to support device tree overlays. Remove the SPL_DRIVERS_MISC=y option, no misc driver is used in SPL. Remove BOOTDELAY=0, SYS_CONSOLE_INFO_QUIET=y and enable more CMD to allow use of U-Boot cmdline. Add DM_ETH_PHY=y

[PATCH v2 13/14] rockchip: rk3308-rock-pi-s: Update defconfig

2024-04-08 Thread Jonas Karlman
Update defconfig for rk3308-rock-pi-s with new defaults. Add OF_LIBFDT_OVERLAY=y to support device tree overlays. Remove the SPL_DRIVERS_MISC=y option, no misc driver is used in SPL. Remove BOOTDELAY=0, SYS_CONSOLE_INFO_QUIET=y and enable more CMD to allow use of U-Boot cmdline. Add

[PATCH v2 14/14] rockchip: rk3308: Move cru and grf include files to arch-rockchip

2024-04-08 Thread Jonas Karlman
Move cru_rk3308.h and grf_rk3308.h to arch-rockchip to match path used for all other Rockchip SoCs. Signed-off-by: Jonas Karlman --- v2: New patch --- .../arm/include/asm/{arch-rk3308 => arch-rockchip}/cru_rk3308.h | 0 .../arm/include/asm/{arch-rk3308 => arch-rockchip}/grf_rk3308.h | 0

Issues reading large files from nand ubifs ARM64

2024-04-08 Thread Matthew Rainey
Hello U-Boot community, I am having issues reading large files (~20 MiB and larger) from nand flash on an arm64 development board. Smaller files load and work as intended. I have tested this in linux, which also works as intended. However, in U-Boot, it gives the following error: ubifsload

[PATCH] configs: am335x_guardian: store boot count in AM3352 RTC block

2024-04-08 Thread Gireesh.Hiremath
From: Gireesh Hiremath store bootcount in RTC block scratch register Signed-off-by: Gireesh Hiremath --- configs/am335x_guardian_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/am335x_guardian_defconfig b/configs/am335x_guardian_defconfig index 75138542431..a03d33d

Re: [PATCH v1 2/4] efi_loader: Add OS notifications for SetVariableRT in RAM

2024-04-08 Thread Heinrich Schuchardt
On 4/6/24 16:01, Ilias Apalodimas wrote: Previous patches enable SetVariableRT using a volatile storage backend using EFI_RUNTIME_SERVICES_DATA allocared memory. Since there's no recommendation from the spec on how to notify the OS, add a volatile EFI variable that contains the filename relative

Re: [PATCH v1 3/4] efi_loader: add an EFI variable with the variable file contents

2024-04-08 Thread Heinrich Schuchardt
On 4/6/24 16:01, Ilias Apalodimas wrote: Previous patches enabled SetVariableRT using a RAM backend. Although EBBR [0] defines a variable format we can teach userspace tools and write the altered variables, it's better if we skip the ABI requirements completely. So let's add a new variable, in

Re: [PATCH v2] tpm: display warning if using gpio reset with TPM

2024-04-08 Thread Miquel Raynal
Hello, ilias.apalodi...@linaro.org wrote on Thu, 28 Mar 2024 09:08:37 +0200: > Thanks Tim > > On Thu, 28 Mar 2024 at 00:12, Tim Harvey wrote: > > > > Instead of displaying what looks like an error message if a > > gpio-reset dt prop is missing for a TPM display a warning that > > having a gpio

Re: [PATCH v4 0/6] USB keyboard improvements for asahi / desktop systems

2024-04-08 Thread Janne Grunau
On Sun, Apr 07, 2024 at 03:05:59AM +0200, Marek Vasut wrote: > On 4/6/24 10:04 PM, Janne Grunau wrote: > > On Sat, Apr 06, 2024 at 08:52:17PM +0200, Marek Vasut wrote: > >> On 4/5/24 9:05 PM, Janne Grunau wrote: > >>> On Fri, Apr 05, 2024 at 04:52:32PM +0200, Marek Vasut wrote: > On 4/4/24

Re: [PATCH v1 1/4] efi_loader: conditionally enable SetvariableRT

2024-04-08 Thread Heinrich Schuchardt
On 4/6/24 16:01, Ilias Apalodimas wrote: When EFI variables are stored on file we don't allow SetVariableRT, Neither in the UEFI standard nor in U-Boot we have a function SetVariableRT. %s/SetVariableRT/SetVariable at runtime/ since the OS doesn't know how to access or write that file. At

Re: [PATCH v2] ARM: stm32: Jump to ep on successful resume in PSCI suspend code

2024-04-08 Thread Patrice CHOTARD
On 4/7/24 22:21, Marek Vasut wrote: > In case the system has resumed successfully, the PSCI suspend resume > code has to jump to the 'ep' successful resume entry point code path, > otherwise the code has to jump to content of the LR register, which > points to failed resume code path. > > To

Re: [PATCH v1 2/4] efi_loader: Add OS notifications for SetVariableRT in RAM

2024-04-08 Thread Ilias Apalodimas
Hi Heinrich, > > + > > > > /* Use internal device tree when starting UEFI application */ > > #define EFI_FDT_USE_INTERNAL NULL > > diff --git a/lib/efi_loader/efi_runtime.c b/lib/efi_loader/efi_runtime.c > > index 8ebbea7e5c69..d898ba6c268f 100644 > > --- a/lib/efi_loader/efi_runtime.c > >

Re: [PATCH v1 3/4] efi_loader: add an EFI variable with the variable file contents

2024-04-08 Thread Ilias Apalodimas
Hi Heinrich On Mon, 8 Apr 2024 at 09:41, Heinrich Schuchardt wrote: > > On 4/6/24 16:01, Ilias Apalodimas wrote: > > Previous patches enabled SetVariableRT using a RAM backend. > > Although EBBR [0] defines a variable format we can teach userspace tools > > and write the altered variables, it's

Re: [PATCH v3 6/6] board: add support for Schneider HMIBSC board

2024-04-08 Thread Sumit Garg
On Fri, 5 Apr 2024 at 20:16, Stephan Gerhold wrote: > > On Fri, Apr 05, 2024 at 02:37:42PM +0530, Sumit Garg wrote: > > Support for Schneider Electric HMIBSC. Features: > > - Qualcomm Snapdragon 410C SoC - APQ8016 (4xCortex A53, Adreno 306) > > - 2GiB RAM > > - 64GiB eMMC, SD slot > > - WiFi and

Re: [PATCH v1 3/4] efi_loader: add an EFI variable with the variable file contents

2024-04-08 Thread Heinrich Schuchardt
On 4/8/24 10:12, Ilias Apalodimas wrote: Hi Heinrich On Mon, 8 Apr 2024 at 09:41, Heinrich Schuchardt wrote: On 4/6/24 16:01, Ilias Apalodimas wrote: Previous patches enabled SetVariableRT using a RAM backend. Although EBBR [0] defines a variable format we can teach userspace tools and

[PATCH v1] net: designware: Pass all multicast frames in designware driver

2024-04-08 Thread Jim Liu
Allowing multicast packets is required for IPv6 neighbor discovery protocol. Signed-off-by: Parvathi Bhogaraju Signed-off-by: Jim Liu --- drivers/net/designware.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/net/designware.c b/drivers/net/designware.c index

[PATCH v1] net: designware: Invalidate RX buffer cache before freeing the DMA descriptor

2024-04-08 Thread Jim Liu
In IPv6 context, the ICMP and UDP checksum byte in the RX packet is initially set to 0, recaclculated, and then re-inserted. This process can result in a dirty cache line. To prevent issues, it is essential to invalidate cache for the RX buffer before freeing the descriptor for next DMA transfer.

Re: [PATCH v1 3/4] efi_loader: add an EFI variable with the variable file contents

2024-04-08 Thread Ilias Apalodimas
On Mon, 8 Apr 2024 at 11:29, Heinrich Schuchardt wrote: > > On 4/8/24 10:12, Ilias Apalodimas wrote: > > Hi Heinrich > > > > On Mon, 8 Apr 2024 at 09:41, Heinrich Schuchardt wrote: > >> > >> On 4/6/24 16:01, Ilias Apalodimas wrote: > >>> Previous patches enabled SetVariableRT using a RAM

Re: Can't get U-Boot working on Geniatech XPI-3566-ZERO

2024-04-08 Thread Jonas Karlman
Hi Z, On 2024-04-08 09:40, Mizsei Zoltán wrote: > Hi, > > I'm trying to get a mainline U-Boot running on the Geniatech XPI-3566-ZERO > RK3566 based SBC [1], but all my attempts have failed so far. > > The SBC doesn't have any SD-Card slot, please keep this in mind! > > I can build U-Boot, but

Re: [PATCH v2 00/14] rockchip: rk3308: Sync DT with linux v6.8 and update defconfigs

2024-04-08 Thread Jonas Karlman
Hi Tom, On 2024-04-08 21:38, Tom Rini wrote: > On Mon, Apr 08, 2024 at 06:13:57PM +, Jonas Karlman wrote: >> This series adds support for new clocks used in linux v6.8 device trees, >> enables use of FIT signature check for checksum validation and fixes >> loading FIT from SD-card when

[PATCH 0/2] arch: zynqmp: Make zynqmp command more accessible.

2024-04-08 Thread Charlie Johnston
While working on a third-party board using a ZynqMP, I was unable to use the zynqmp command even with the proper config definitions. While that command appears tied to the architecture, it was being included based on the board selection instead. This patch series moves the command to be

[PATCH 1/2] mmc: Imply HS200 cap with mmc-hs400 prop to match linux

2024-04-08 Thread Jonas Karlman
eMMC nodes in linux device tree files typically only contain a mmc-hs400 prop to signal support for both HS400 and HS200. However, U-Boot require an explicit mmc-hs200 prop to signal support for the HS200 mode. Fix this by follow linux and imply HS200 cap when HS400 cap is signaled using a

[PATCH 2/2] mmc: Add support for the no-mmc-hs400 prop

2024-04-08 Thread Jonas Karlman
The linux commit f722e650d965 ("mmc: core: add support for disabling HS400 mode via DT") added support for a no-mmc-hs400 prop. Add support for the no-mmc-hs400 prop to disable HS400 host caps. Signed-off-by: Jonas Karlman --- drivers/mmc/mmc-uclass.c | 3 +++ 1 file changed, 3 insertions(+)

Re: [PATCH 1/2] mmc: Imply HS200 cap with mmc-hs400 prop to match linux

2024-04-08 Thread Dragan Simic
Hello Jonas, On 2024-04-08 23:06, Jonas Karlman wrote: eMMC nodes in linux device tree files typically only contain a mmc-hs400 prop to signal support for both HS400 and HS200. However, U-Boot require an explicit mmc-hs200 prop to signal support for the HS200 mode. Fix this by follow linux

Re: [PATCH 2/2] mmc: Add support for the no-mmc-hs400 prop

2024-04-08 Thread Dragan Simic
On 2024-04-08 23:06, Jonas Karlman wrote: The linux commit f722e650d965 ("mmc: core: add support for disabling HS400 mode via DT") added support for a no-mmc-hs400 prop. Add support for the no-mmc-hs400 prop to disable HS400 host caps. Signed-off-by: Jonas Karlman The description above

Re: [PATCH v2 00/14] rockchip: rk3308: Sync DT with linux v6.8 and update defconfigs

2024-04-08 Thread Tom Rini
On Mon, Apr 08, 2024 at 09:55:59PM +0200, Jonas Karlman wrote: > Hi Tom, > > On 2024-04-08 21:38, Tom Rini wrote: > > On Mon, Apr 08, 2024 at 06:13:57PM +, Jonas Karlman wrote: > >> This series adds support for new clocks used in linux v6.8 device trees, > >> enables use of FIT signature

[PATCH 2/2] arch: zynqmp: Move CMD_ZYNQMP Kconfig from board to arch

2024-04-08 Thread Charlie Johnston
Since the previous commit moved the zynqmp command to cmds and the command depends on the arch rather than the board, this commit moves the Kconfig entry into the arch/arm/mach-zynqmp/Kconfig Signed-off-by: Charlie Johnston --- arch/arm/mach-zynqmp/Kconfig | 13 -

[PATCH 1/2] board: zynqmp: Move zynqmp commands from board/ to cmd/

2024-04-08 Thread Charlie Johnston
The zynqmp cmds.c is currently tied to the board but the commands contained within are more closely tied to the architecture. To allow usage of those commands when the architecture is ZynqMP but the board is not, this change moves the cmds into the cmd/ tree instead of the board tree that would

Re: [PATCH v2 00/14] rockchip: rk3308: Sync DT with linux v6.8 and update defconfigs

2024-04-08 Thread Tom Rini
On Mon, Apr 08, 2024 at 06:13:57PM +, Jonas Karlman wrote: > This series adds support for new clocks used in linux v6.8 device trees, > enables use of FIT signature check for checksum validation and fixes > loading FIT from SD-card when loading FIT from eMMC fails. > > It should be possible

Re: [PATCH] doc: build: update docker image to latest

2024-04-08 Thread Tom Rini
On Fri, Apr 05, 2024 at 08:16:19AM +0200, Mattijs Korpershoek wrote: > commit cacc0b2678c0 ("CI: Move to latest container image") updated the > docker container image. > > Reflect the change in the documentation. > > Signed-off-by: Mattijs Korpershoek I'm fine with updating this for now, so:

Pull request efi-2024-07-rc1

2024-04-08 Thread Heinrich Schuchardt
Dear Tom, The following changes since commit 9cba29b19f43f9450117e8bc89e7dda691ed5ab5: Merge tag 'u-boot-imx-master-20240405' of https://gitlab.denx.de/u-boot/custodians/u-boot-imx (2024-04-05 17:23:58 -0400) are available in the Git repository at:

Re: [PATCH v3 6/6] board: add support for Schneider HMIBSC board

2024-04-08 Thread Caleb Connolly
Hi Sumit, On 08/04/2024 11:13, Sumit Garg wrote: On Fri, 5 Apr 2024 at 20:16, Stephan Gerhold wrote: On Fri, Apr 05, 2024 at 02:37:42PM +0530, Sumit Garg wrote: Support for Schneider Electric HMIBSC. Features: - Qualcomm Snapdragon 410C SoC - APQ8016 (4xCortex A53, Adreno 306) - 2GiB RAM -

[PATCH 00/15] configs: ti: Enable basic settings for SystemReady ACS

2024-04-08 Thread Jonathan Humphreys
Set basic settings needed for System Ready IR ACS testing, for several TI SoC based platforms: AM64, AM62, AM62p, BeaglePlay, J7, and BeagleboneAI. For AM64, AM62, and AM62p, also includes some config cleanup. Should be no functional change. Jonathan Humphreys (15): configs: am64x: cosmetic

[PATCH 14/15] configs: beagleboneai64: Enable basic EFI CMD support

2024-04-08 Thread Jonathan Humphreys
Signed-off-by: Jonathan Humphreys --- configs/j721e_beagleboneai64_a72_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/j721e_beagleboneai64_a72_defconfig b/configs/j721e_beagleboneai64_a72_defconfig index c100ec48582..31923d70d94 100644 ---

[PATCH 05/15] configs: j721e: Enable RTC emulation

2024-04-08 Thread Jonathan Humphreys
Signed-off-by: Jonathan Humphreys --- configs/j721e_evm_a72_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/j721e_evm_a72_defconfig b/configs/j721e_evm_a72_defconfig index 5028caa1782..077bf508328 100644 --- a/configs/j721e_evm_a72_defconfig +++

[PATCH 15/15] configs: beagleboneai64: Enable RTC emulation

2024-04-08 Thread Jonathan Humphreys
Signed-off-by: Jonathan Humphreys --- configs/j721e_beagleboneai64_a72_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/j721e_beagleboneai64_a72_defconfig b/configs/j721e_beagleboneai64_a72_defconfig index 31923d70d94..3d234bc1a8f 100644 ---

[PATCH 04/15] configs: j721e: Enable basic EFI CMD support

2024-04-08 Thread Jonathan Humphreys
Signed-off-by: Jonathan Humphreys --- configs/j721e_evm_a72_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/j721e_evm_a72_defconfig b/configs/j721e_evm_a72_defconfig index 019ddcca7e8..5028caa1782 100644 --- a/configs/j721e_evm_a72_defconfig +++

[PATCH 11/15] configs: am62x: cosmetic config cleanup

2024-04-08 Thread Jonathan Humphreys
Signed-off-by: Jonathan Humphreys --- configs/am62x_evm_a53_defconfig | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/configs/am62x_evm_a53_defconfig b/configs/am62x_evm_a53_defconfig index 4c1e4d7cc42..3e174ec37aa 100644 --- a/configs/am62x_evm_a53_defconfig +++

[PATCH 10/15] configs: am62px: Enable RTC emulation

2024-04-08 Thread Jonathan Humphreys
This is required to pass SystemReadyIR tests. Signed-off-by: Jonathan Humphreys --- configs/am62px_evm_a53_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/am62px_evm_a53_defconfig b/configs/am62px_evm_a53_defconfig index a8b8ee76ca7..65dfda19f18 100644 ---

[PATCH 13/15] configs: am62x: Enable RTC emulation

2024-04-08 Thread Jonathan Humphreys
This is required to pass SystemReadyIR tests. Signed-off-by: Jonathan Humphreys --- configs/am62x_evm_a53_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/am62x_evm_a53_defconfig b/configs/am62x_evm_a53_defconfig index ee585b3bc84..d650b8575b6 100644 ---

[PATCH 07/15] configs: beagleplay: Enable RTC emulation

2024-04-08 Thread Jonathan Humphreys
Signed-off-by: Jonathan Humphreys --- configs/am62x_beagleplay_a53_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/am62x_beagleplay_a53_defconfig b/configs/am62x_beagleplay_a53_defconfig index 5592328af76..147967d3c11 100644 --- a/configs/am62x_beagleplay_a53_defconfig

[PATCH 15/16] board: beagleboneai64: Define capsule update firmware info

2024-04-08 Thread Jonathan Humphreys
Signed-off-by: Jonathan Humphreys --- board/beagle/beagleboneai64/beagleboneai64.c | 33 1 file changed, 33 insertions(+) diff --git a/board/beagle/beagleboneai64/beagleboneai64.c b/board/beagle/beagleboneai64/beagleboneai64.c index c5b4ff7df47..9caf63b9834 100644 ---

[PATCH 16/16] configs: beagleboneai64: Enable EFI capsule update

2024-04-08 Thread Jonathan Humphreys
Signed-off-by: Jonathan Humphreys --- configs/j721e_beagleboneai64_a72_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/j721e_beagleboneai64_a72_defconfig b/configs/j721e_beagleboneai64_a72_defconfig index 3d234bc1a8f..e74ee68e23e 100644 ---

[PATCH 06/16] board: beagleplay: Define capsule update firmware info

2024-04-08 Thread Jonathan Humphreys
Signed-off-by: Jonathan Humphreys --- board/beagle/beagleplay/beagleplay.c | 33 1 file changed, 33 insertions(+) diff --git a/board/beagle/beagleplay/beagleplay.c b/board/beagle/beagleplay/beagleplay.c index af36439e2e2..1d19a78305b 100644 ---

[PATCH 09/16] board: am62px: Define capsule update firmware info

2024-04-08 Thread Jonathan Humphreys
Define the firmwares updatable via EFI capsule update. Signed-off-by: Jonathan Humphreys --- board/ti/am62px/evm.c | 32 1 file changed, 32 insertions(+) diff --git a/board/ti/am62px/evm.c b/board/ti/am62px/evm.c index 97a95ce8cc2..980cc172b2f 100644 ---

[PATCH 10/16] configs: am62px: Enable EFI capsule update

2024-04-08 Thread Jonathan Humphreys
Signed-off-by: Jonathan Humphreys --- configs/am62px_evm_a53_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/am62px_evm_a53_defconfig b/configs/am62px_evm_a53_defconfig index 65dfda19f18..15ba1079760 100644 --- a/configs/am62px_evm_a53_defconfig +++

[PATCH 14/16] configs: am62x: Enable EFI capsule update

2024-04-08 Thread Jonathan Humphreys
Signed-off-by: Jonathan Humphreys --- configs/am62x_evm_a53_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/am62x_evm_a53_defconfig b/configs/am62x_evm_a53_defconfig index 0e6c94de538..11af7b517d1 100644 --- a/configs/am62x_evm_a53_defconfig +++

[PATCH 03/16] configs: am64x: Enable EFI capsule update

2024-04-08 Thread Jonathan Humphreys
Signed-off-by: Jonathan Humphreys --- configs/am64x_evm_a53_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/am64x_evm_a53_defconfig b/configs/am64x_evm_a53_defconfig index 61b498b49a6..8ba17ea89f9 100644 --- a/configs/am64x_evm_a53_defconfig +++

[PATCH 02/16] board: am64x: Define capsule update firmware info

2024-04-08 Thread Jonathan Humphreys
Define the firmwares updatable via EFI capsule update. Signed-off-by: Jonathan Humphreys --- board/ti/am64x/evm.c | 33 + 1 file changed, 33 insertions(+) diff --git a/board/ti/am64x/evm.c b/board/ti/am64x/evm.c index b8de69da06c..a151023bb7e 100644 ---

[PATCH 05/16] configs: j721e: Enable EFI capsule update

2024-04-08 Thread Jonathan Humphreys
Signed-off-by: Jonathan Humphreys --- configs/j721e_evm_a72_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/j721e_evm_a72_defconfig b/configs/j721e_evm_a72_defconfig index 077bf508328..b8840a556e1 100644 --- a/configs/j721e_evm_a72_defconfig +++

[PATCH 02/13] configs: am64x: Set capsule update signature list file

2024-04-08 Thread Jonathan Humphreys
Signed-off-by: Jonathan Humphreys --- configs/am64x_evm_a53_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/am64x_evm_a53_defconfig b/configs/am64x_evm_a53_defconfig index 8ba17ea89f9..5594d26844e 100644 --- a/configs/am64x_evm_a53_defconfig +++

[PATCH 01/13] ti:keys Add EFI signature list

2024-04-08 Thread Jonathan Humphreys
EFI signature list using TI dummy keys. Signed-off-by: Jonathan Humphreys --- arch/arm/mach-k3/keys/custMpk.esl | Bin 0 -> 1523 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 arch/arm/mach-k3/keys/custMpk.esl diff --git a/arch/arm/mach-k3/keys/custMpk.esl

[PATCH 04/13] configs: j721e: Set capsule update signature list file

2024-04-08 Thread Jonathan Humphreys
Signed-off-by: Jonathan Humphreys --- configs/j721e_evm_a72_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/j721e_evm_a72_defconfig b/configs/j721e_evm_a72_defconfig index b8840a556e1..83bc0576821 100644 --- a/configs/j721e_evm_a72_defconfig +++

[PATCH] Makefile.lib: find capsule ESL dtsi file with CONFIG_OF_UPSTREAM

2024-04-08 Thread Jonathan Humphreys
When CONFIG_OF_UPSTREAM is enabled, DTS files are in SOC subdirectories (vs the top level dts directory), but when CONFIG_EFI_CAPSULE_AUTHENTICATE is enabled, the dynamically created dtsi file containing the capsule ESL DT node is in the parent directory. This results in a build failure because

[PATCH 00/13] EFI: capsule: ti: enable authenticated capsules

2024-04-08 Thread Jonathan Humphreys
Create an EFI signature list (.esl) file based on the TI dummy key. Enable capsule authentication for several TI SoC based platforms: AM64, AM62, AM62p, BeaglePlay, J7, and BeagleboneAI. Jonathan Humphreys (13): ti:keys Add EFI signature list configs: am64x: Set capsule update signature list

[PATCH 07/16] configs: beagleplay: Enable DFU for MMC

2024-04-08 Thread Jonathan Humphreys
Signed-off-by: Jonathan Humphreys --- configs/am62x_beagleplay_a53_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/am62x_beagleplay_a53_defconfig b/configs/am62x_beagleplay_a53_defconfig index 147967d3c11..68e103f58dc 100644 --- a/configs/am62x_beagleplay_a53_defconfig

[PATCH 07/13] configs: beagleplay: Enable capsule authentication

2024-04-08 Thread Jonathan Humphreys
Signed-off-by: Jonathan Humphreys --- configs/am62x_beagleplay_a53_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/am62x_beagleplay_a53_defconfig b/configs/am62x_beagleplay_a53_defconfig index 4e0dcf70b25..99258804f92 100644 --- a/configs/am62x_beagleplay_a53_defconfig +++

[PATCH 06/13] configs: beagleplay: Set capsule update signature list file

2024-04-08 Thread Jonathan Humphreys
Signed-off-by: Jonathan Humphreys --- configs/am62x_beagleplay_a53_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/am62x_beagleplay_a53_defconfig b/configs/am62x_beagleplay_a53_defconfig index 23b9c466248..4e0dcf70b25 100644 --- a/configs/am62x_beagleplay_a53_defconfig +++

  1   2   >