Re: [PATCH 1/2] spi: sunxi: drop max_hz handling

2024-07-15 Thread Michael Walle
Hi, > > The driver is trying to read the "spi-max-frequency" property of the > > *controller* driver node. There is no such property. The > > "spi-max-frequency" property belongs to the SPI devices on the bus. > > Ah, indeed, good catch! Many thanks for sending this! > > > Right now, the driver

Re: [RFC PATCH v2 46/48] lmb: mark the EFI runtime memory regions as reserved

2024-07-15 Thread Sughosh Ganu
hi Simon, On Mon, 15 Jul 2024 at 17:09, Simon Glass wrote: > > Hi Sughosh, > > On Mon, 15 Jul 2024 at 10:42, Sughosh Ganu wrote: > > > > hi Simon, > > > > On Sat, 13 Jul 2024 at 20:46, Simon Glass wrote: > > > > > > Hi Sughosh, > > > > > > On Thu, 4 Jul 2024 at 08:38, Sughosh Ganu wrote: > > >

Re: [RFC PATCH v2 09/48] lmb: remove call to lmb_init()

2024-07-15 Thread Sughosh Ganu
hi Simon, On Mon, 15 Jul 2024 at 17:09, Simon Glass wrote: > > Hi Sughosh, > > On Mon, 15 Jul 2024 at 10:31, Sughosh Ganu wrote: > > > > hi Simon, > > > > On Sat, 13 Jul 2024 at 20:45, Simon Glass wrote: > > > > > > kHi Sughosh, > > > > > > On Thu, 4 Jul 2024 at 08:36, Sughosh Ganu wrote: > >

Re: [RFC PATCH v2 12/48] lmb: allow for resizing lmb regions

2024-07-15 Thread Sughosh Ganu
hi Simon, On Mon, 15 Jul 2024 at 17:09, Simon Glass wrote: > > Hi Sughosh, > > On Mon, 15 Jul 2024 at 10:27, Sughosh Ganu wrote: > > > > hi Simon, > > > > On Sat, 13 Jul 2024 at 20:45, Simon Glass wrote: > > > > > > Hi Sughosh, > > > > > > On Thu, 4 Jul 2024 at 08:36, Sughosh Ganu wrote: > > >

Re: [RFC PATCH v2 41/48] efi_memory: add an event handler to update memory map

2024-07-15 Thread Sughosh Ganu
On Tue, 16 Jul 2024 at 00:35, Tom Rini wrote: > > On Mon, Jul 15, 2024 at 12:39:32PM +0100, Simon Glass wrote: > > Hi Sughosh, > > > > On Mon, 15 Jul 2024 at 10:39, Sughosh Ganu wrote: > > > > > > hi Simon, > > > > > > On Sat, 13 Jul 2024 at 20:46, Simon Glass wrote: > > > > > > > > Hi Sughosh,

Re: [PATCH RFC v2 01/23] rockchip: RK3328: Read the reset cause from clock reset unit for RK3328 SoC

2024-07-15 Thread Anand Moon
Hi Kever, On Tue, 16 Jul 2024 at 07:58, Kever Yang wrote: > > Hi Anand, > > On 2024/5/31 22:18, Anand Moon wrote: > > From: Anand Moon > > Read the reset cause from clock reset unit for RK3328 SoC. > > Cc: Jagan Teki > Signed-off-by: Anand Moon > Signed-off-by: Anand Moon > > I thing one sign

Re: [PATCH 09/10] fdtgrep: Allow propagating properties up to supernodes

2024-07-15 Thread Manorit Chawdhry
Hi Simon, On 10:39-20240711, Simon Glass wrote: > Hi Manorit, > > On Wed, 10 Jul 2024 at 07:15, Manorit Chawdhry wrote: > > > > Hi Simon, > > > > On 09:36-20231217, Simon Glass wrote: > > > The existing bootph binding is defined such that properties in a > > > subnode are also implied in the sup

[PATCH v2 5/5] arm: exynos: Enable TRNG on E850-96 board

2024-07-15 Thread Sam Protsenko
Enable True Random Number Generator (TRNG) on E850-96 board. To do so: 1. Enable DM_RNG and RNG_EXYNOS for TARGET_E850_96 2. Add TRNG node to E850-96 device tree 3. Enable 'rng' command support for easy TRNG testing TRNG node is already applied in Linux kernel device tree, but it hasn't appe

[PATCH v2 4/5] rng: Add Exynos TRNG driver

2024-07-15 Thread Sam Protsenko
Add True Random Number Generator (TRNG) driver for Exynos chips. This implementation is heavily based on Linux kernel's counterpart [1]. It also follows upstream dt-bindings [2]. TRNG block is usually a part of SSS (Security Sub System) IP-core on Exynos chips. Because SSS access on Exynos850 is p

[PATCH v2 3/5] clk: exynos: Add SSS clocks for Exynos850

2024-07-15 Thread Sam Protsenko
Add ACLK (operating clock) and PCLK (bus clock) for Security Sub System (SSS) in Exynos850. Those clocks are needed for RNG enablement. Signed-off-by: Sam Protsenko --- Changes in v2: - (none) drivers/clk/exynos/clk-exynos850.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/d

[PATCH v2 2/5] board: samsung: e850-96: Load LDFW firmware on board init

2024-07-15 Thread Sam Protsenko
LDFW is a Loadable Firmware which provides additional security capabilities in EL3 monitor. For example, True Random Number Generator (TRNG) block registers can't be accessed from EL1 (where U-Boot and Linux kernel are running), but it's possible to access TRNG capabilities via corresponding SMC ca

[PATCH v2 1/5] board: samsung: e850-96: Add default partitions

2024-07-15 Thread Sam Protsenko
Add an environment file for E850-96 board with default eMMC partition list. It follows the Samsung's partition list used for Android-Q on Exynos850 devices. It was verified on E850-96 board with: => gpt verify mmc 0 "$partitions" Verify GPT: success! Signed-off-by: Sam Protsenko --- Chang

[PATCH v2 0/5] arm: exynos: Enable TRNG for E850-96 board

2024-07-15 Thread Sam Protsenko
This series enables True Random Number Generator (TRNG) for E850-96 board. Here is a short breakdown of features implemented in this series: 1. Load LDFW (Loadable Firmware) on E850-96 board. It's needed to make TRNG SMC commands functional. To do so, add the default eMMC partition tab

Re: [PATCH] rockchip: add support for Radxa ROCK Pi E v3.0

2024-07-15 Thread Kever Yang
On 2024/6/25 04:45, FUKAUMI Naoki wrote: ROCK Pi E v3.0 uses DDR4 SDRAM instead of DDR3 SDRAM used in v1.2x. prepare new rk3328-rock-pi-e-v3.dts in u-boot which just includes upstream rk3328-rock-pi-e.dts. defconfig still uses CONFIG_DEFAULT_FDT_FILE="rockchip/rk3328-rock-pi-e.dtb" because

Re: [PATCH] doc: fit: add ELF image to list of image formats

2024-07-15 Thread Heinrich Schuchardt
On 7/15/24 21:33, Maxim Moskalets wrote: Signed-off-by: Maxim Moskalets Please, always provide a commit message. Otherwise looks good to me. This series suggested to eliminate source_file_format.rst: https://patchwork.ozlabs.org/project/uboot/list/?series=414308 Best regards Heinrich ---

[PATCH 1/1] boot: provide CONFIG_BOOTMETH_QFW Kconfig parameter

2024-07-15 Thread Heinrich Schuchardt
U-Boot is often used conjunction with QEMU to boot via EFI or syslinux. Here the QFW boot method is not needed. At least for qemu-riscv64_smode_defconfig the kernel parameter is used to specify the U-Boot binary. Trying to run U-Boot as a kernel makes no sense. Provide Kconfig parameter CONFIG_BO

Re: [PATCH RFC v2 01/23] rockchip: RK3328: Read the reset cause from clock reset unit for RK3328 SoC

2024-07-15 Thread Kever Yang
Hi Anand, On 2024/5/31 22:18, Anand Moon wrote: From: Anand Moon Read the reset cause from clock reset unit for RK3328 SoC. Cc: Jagan Teki Signed-off-by: Anand Moon Signed-off-by: Anand Moon I thing one signature is enough for you, right? --- arch/arm/include/asm/arch-rockchip/cru.h | 2 ++

Re: [PATCH] rockchip: include cru_rk3588.h and define rockchip_cru for RK3588

2024-07-15 Thread FUKAUMI Naoki
hi On 6/19/24 05:39, FUKAUMI Naoki wrote: > sorry, > > On 6/19/24 05:29, FUKAUMI Naoki wrote: >> Hello, >> >> this happens only if HOSTCC=clang. I can see several other errors on >> several other targets with HOSTCC=clang. > > ^this happens only if clang is used at make foo-bar_defconfig stage. >

Re: [PATCH] phy: rockchip: inno-hdmi: Fix missing readl base addr

2024-07-15 Thread Kever Yang
On 2024/6/23 02:21, Jagan Teki wrote: inno_poll passes the reg offset that is used by readl_poll_sleep_timeout without any base addr. Fix it. Bug: inno_hdmi_phy phy@ff43: Pre-PLL locking failed inno_hdmi_phy phy@ff43: PHY: Failed to power on phy@ff43: -110. failed to power on phy

Re: [PATCH next 2/2] rockchip: remove support for Theobroma Systems RK3368 Lion

2024-07-15 Thread Kever Yang
On 2024/6/20 18:24, Quentin Schulz wrote: From: Quentin Schulz No meaningful changes were made to this SoM since February 2021. Nobody from Theobroma has booted anything recent on that product since July 2021 at the latest. The product isn't available to buy anymore and disappeared from our w

Re: [PATCH next 1/2] rockchip: theobroma-systems: migrate git URLs to HTTPS

2024-07-15 Thread Kever Yang
On 2024/6/20 18:24, Quentin Schulz wrote: From: Quentin Schulz It turns out only Puma had a working git:// URL. Though that is now fixed, having HTTPS URLs make it easier to directly reach our cgit webserver to check what's up without having to change the URL manually. Depending on your term

Re: [PATCH next v2] rockchip: puma-rk3399: increase Ethernet PHY timeout to 30s

2024-07-15 Thread Kever Yang
On 2024/6/19 23:44, Quentin Schulz wrote: From: Quentin Schulz On Puma v2.1 with a KSZ9031, the Ethernet PHY often doesn't detect the link in the 4-second default timeout. After some boot-loop test for about a thousand boots, 70% were below 10s, 90% below 15s and 100% below 30s. Let's play i

Re: [PATCH v2 2/3] configs: rockchip: sync ENV_MEM_LAYOUT_SETTINGS for rk3308, rk3328, and rk3399

2024-07-15 Thread Kever Yang
On 2024/6/18 17:53, FUKAUMI Naoki wrote: - add support for compressed kernel for rk3308 - prepare support for fdtoverlay for rk3328 tested on ROCK Pi S 256MB, ROCK Pi E 2GB, and ROCK Pi 4A 4GB with linux-next-20240613 defconfig kernel. Signed-off-by: FUKAUMI Naoki Reviewed-by: Kever Yang

Re: [PATCH v2 1/3] configs: rockchip: reduce diff for rk3308, rk3328, rk3399, rk3568, and rk3588

2024-07-15 Thread Kever Yang
On 2024/6/18 17:53, FUKAUMI Naoki wrote: this is cosmetic change. no functional change is intended. - remove redundant white spaces - replace white spaces with tab - align position of last letter/word - sort lines in CFG_EXTRA_ENV_SETTINGS - add comment after #endif Signed-off-by: FUKAUMI Nao

Re: [PATCH] rockchip: include cru_rk3588.h and define rockchip_cru for RK3588

2024-07-15 Thread Kever Yang
On 2024/6/19 03:30, FUKAUMI Naoki wrote: fix following error found by clang: CC arch/arm/mach-rockchip/cpu-info.o arch/arm/mach-rockchip/cpu-info.c:23:13: error: incomplete definition of type 'struct rockchip_cru' 23 | switch (cru->glb_rst_st) { | ~~

Re: [PATCH next 1/4] rockchip: ringneck-px30: disable broken USB gadget

2024-07-15 Thread Kever Yang
Hi Quentin, On 2024/6/14 19:04, Quentin Schulz wrote: From: Quentin Schulz USB gadget simply doesn't work right now on PX30. Tested on PX30 EVB and PX30 Ringneck with Linux mainline and Rockchip 5.10 Linux as well as U-Boot. Do you mean for both U-Boot and kernel, including mainline version an

Re: [PATCH next 3/3] rockchip: ringneck-px30: enable IO domain

2024-07-15 Thread Kever Yang
On 2024/6/15 00:54, Quentin Schulz wrote: From: Quentin Schulz Enable the IO domain on Ringneck. Based on the current HW design, this should do nothing else than making sure vccio6 iodomain is controlled by the GRF and not GPIO0B6. Signed-off-by: Quentin Schulz Reviewed-by: Kever Yang T

Re: [PATCH next 2/3] rockchip: io-domain: add support for PX30

2024-07-15 Thread Kever Yang
On 2024/6/15 00:54, Quentin Schulz wrote: From: Quentin Schulz Port the PX30 part of the Rockchip IO Domain driver from Linux. This differs from linux version in that the io iodomain bit is enabled in the write ops instead of in an init ops as in linux, this way we can avoid keeping a full s

Re: [PATCH next 1/3] rockchip: px30: bind sub-nodes for GRF (syscon)

2024-07-15 Thread Kever Yang
On 2024/6/15 00:54, Quentin Schulz wrote: From: Quentin Schulz There are some sub-nodes under the grf DT nodes, so add bind callback function in syscon_px30 driver to scan them recursively. Fixes: e9ccb2f526ed ("rockchip: add px30 architecture core") Signed-off-by: Quentin Schulz Reviewed

Re: [PATCH next 3/4] rockchip: px30: imply ARMV8_CRYPTO

2024-07-15 Thread Kever Yang
On 2024/6/14 19:04, Quentin Schulz wrote: From: Quentin Schulz PX30 supports ARMv8 Cryptography Extensions so let's enable it by default for all PX30 to make FIT verification when enabled much faster. While A35 shouldn't be impacted by ARMV8_SET_SMPEN cache coherency according to the Kconfig

Re: [PATCH next 4/4] rockchip: puma-rk3399: add button support

2024-07-15 Thread Kever Yang
On 2024/6/14 19:04, Quentin Schulz wrote: From: Quentin Schulz The Haikou Devkit exposes 4 buttons over GPIO so let's enable their support so their status can be queried from the `button` command from the CLI. Signed-off-by: Quentin Schulz Reviewed-by: Kever Yang Thanks, - Kever ---

Re: [PATCH next 2/4] rockchip: ringneck-px30: enable FIT verification in SPL

2024-07-15 Thread Kever Yang
On 2024/6/14 19:04, Quentin Schulz wrote: From: Quentin Schulz This enables FIT verification in SPL for its payload (bl31, u-boot.itb, ...). This makes PX30 Ringneck match what happens on other Theobroma boards. Signed-off-by: Quentin Schulz Reviewed-by: Kever Yang Thanks, - Kever ---

Re: [PATCH 2/2] spi: sunxi: fix clock divider calculation for max frequency setting

2024-07-15 Thread Andre Przywara
On Fri, 12 Jul 2024 19:14:57 +0200 Michael Walle wrote: Hi, > If the maximum frequency is requested, we still fall into the CDR2 > handling. But there the minimal divider is 2. For the sun6i and sun8i we > can do better with the CDR1 setting where the minimal divider is 1: > SPI_CLK = MOD_CLK

Re: [PATCH 0/2] spi: sunxi: Improve the loading speed

2024-07-15 Thread Andre Przywara
On Fri, 12 Jul 2024 18:28:15 +0100 Peter Robinson wrote: > On Fri, 12 Jul 2024 at 18:25, Michael Walle wrote: > > > > Right now, the maximal transfer speed from an SPI flash on a V3s is > > about 240kb/s. That is pretty slow. It turns out, that due to an > > error u-boot is setting the maximum f

Re: [PATCH 1/2] spi: sunxi: drop max_hz handling

2024-07-15 Thread Andre Przywara
On Fri, 12 Jul 2024 19:14:56 +0200 Michael Walle wrote: Hi Michael, > The driver is trying to read the "spi-max-frequency" property of the > *controller* driver node. There is no such property. The > "spi-max-frequency" property belongs to the SPI devices on the bus. Ah, indeed, good catch! Man

Re: [PATCH 4/5] rng: Add Exynos TRNG driver

2024-07-15 Thread Sam Protsenko
On Sat, Jul 13, 2024 at 10:13 AM Simon Glass wrote: > > Hi Sam, > Hi Simon, Thank you for the review! > On Sat, 13 Jul 2024 at 00:44, Sam Protsenko > wrote: > > +config RNG_EXYNOS > > + bool "Samsung Exynos True Random Number Generator support" > > + depends on DM_RNG > > +

Re: [PATCH 01/45] api: Remove duplicate newlines

2024-07-15 Thread Tom Rini
On Sat, 13 Jul 2024 15:18:52 +0200, Marek Vasut wrote: > Drop all duplicate newlines. No functional change. > > Applied to u-boot/master, thanks! -- Tom

Re: [PATCH 08/13] bootstd: Tidy up comments on the boothmeth drivers

2024-07-15 Thread Heinrich Schuchardt
On 7/15/24 12:13, Simon Glass wrote: Fix a typo in the comment and add one to the EFI driver too. Signed-off-by: Simon Glass Reviewed-by: Heinrich Schuchardt --- boot/bootmeth_efi.c | 1 + boot/bootmeth_extlinux.c | 2 +- boot/bootmeth_script.c | 2 +- 3 files changed, 3 inser

Re: [PATCH 11/13] doc: Add a link to VBE from the bootstd docs

2024-07-15 Thread Heinrich Schuchardt
On 7/15/24 12:13, Simon Glass wrote: Link to this page to make it easier to find the VBE docs. Signed-off-by: Simon Glass --- doc/develop/bootstd/overview.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/develop/bootstd/overview.rst b/doc/develop/bootstd/overview.

Re: [PATCH 12/13] boot: Correct indentation in efi bootmeth

2024-07-15 Thread Heinrich Schuchardt
On 7/15/24 12:13, Simon Glass wrote: Fix a minor indentation / whitespace problem in a comment. Signed-off-by: Simon Glass Reviewed-by: Heinrich Schuchardt --- boot/bootmeth_efi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boot/bootmeth_efi.c b/boot/bootmeth_ef

Re: [PATCH 06/13] doc: Add a description for bootmeth_cros

2024-07-15 Thread Heinrich Schuchardt
On 7/15/24 12:13, Simon Glass wrote: Add documentation for the cros bootmeth. %s/bootmeth/boot method/ throughout the patch. Signed-off-by: Simon Glass --- doc/develop/bootstd/cros.rst | 33 doc/develop/bootstd/index.rst| 1 + doc/develop/boot

Re: [PATCH 05/13] doc: Add a description for bootmeth_qfw

2024-07-15 Thread Heinrich Schuchardt
On 7/15/24 12:13, Simon Glass wrote: Add documentation for the qfw bootmeth. %s/bootmeth/boot method/ Fix up the compatible string to drop the 'extlinux' part, which is not relevant to this bootmeth. Signed-off-by: Simon Glass --- boot/bootmeth_qfw.c | 2 +- doc/develop/

Re: [PATCH 04/13] doc: Add a description for bootmeth_pxe

2024-07-15 Thread Heinrich Schuchardt
On 7/15/24 12:13, Simon Glass wrote: Add documentation for the pxe bootmeth. Signed-off-by: Simon Glass --- doc/develop/bootstd/index.rst| 1 + doc/develop/bootstd/overview.rst | 2 +- doc/develop/bootstd/pxelinux.rst | 27 +++ 3 files changed, 29 insertions(

Re: [PATCH 03/13] doc: Add a description for bootmeth_extlinux

2024-07-15 Thread Heinrich Schuchardt
On 7/15/24 12:13, Simon Glass wrote: Add documentation for the extlinux bootmeth. Signed-off-by: Simon Glass --- doc/develop/bootstd/extlinux.rst | 27 +++ doc/develop/bootstd/index.rst| 1 + doc/develop/bootstd/overview.rst | 2 +- 3 files changed, 29 insert

Re: [PATCH 02/13] doc: Move bootstd into its own directory

2024-07-15 Thread Heinrich Schuchardt
On 7/15/24 12:13, Simon Glass wrote: Before adding more files, move the bootstd docs into a new directory, with an index. Signed-off-by: Simon Glass --- MAINTAINERS | 2 +- doc/board/starfive/milk-v_mars_cm.rst | 2 +- doc/develop/board_b

Re: [PATCH v6 06/24] soc: qcom: cmd-db: adjust probe for U-Boot

2024-07-15 Thread Caleb Connolly
On 15/07/2024 13:39, Simon Glass wrote: On Mon, 15 Jul 2024 at 11:08, Caleb Connolly wrote: Integrate cmd-db into the U-Boot driver model. This is just a wrapper around an in-memory database, so we just need to get the address and validate that cmd-db is there. Since cmd_db_header will be

Re: [PATCH v3 08/19] test: Introduce the concept of a role

2024-07-15 Thread Tom Rini
On Mon, Jul 15, 2024 at 08:11:28AM +0100, Simon Glass wrote: > Hi Tom, > > On Sat, 13 Jul 2024 at 17:57, Tom Rini wrote: > > > > On Sat, Jul 13, 2024 at 04:13:55PM +0100, Simon Glass wrote: > > > Hi Tom, > > > > > > On Wed, 3 Jul 2024 at 00:12, Tom Rini wrote: > > > > > > > > On Thu, Jun 27, 202

Aw: Re: avoid syscon fallback class for getting regmap

2024-07-15 Thread Frank Wunderlich
> Gesendet: Samstag, 13. Juli 2024 um 17:13 Uhr > Von: "Simon Glass" > Betreff: Re: avoid syscon fallback class for getting regmap > > Hi Frank, > > On Wed, 10 Jul 2024 at 14:43, Frank Wunderlich > wrote: > > > > Hi, > > > > i'm working on OF_UPSTREAM for mediatek boards and noticed missing > >

[PATCH] cmd: correct ELF-related commands dependencies

2024-07-15 Thread Maxim Moskalets
Enable BOOTM_ELF by default for all configs with LIB_ELF selected. Use OF_LIBFDT as dependency for CMD_ELF_FDT_SETUP. Signed-off-by: Maxim Moskalets --- cmd/Kconfig | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/cmd/Kconfig b/cmd/Kconfig index 0cf0d8ad8ab..5d34282c196 1

[PATCH 3/5] arm: ti: Remove omap4 platform support

2024-07-15 Thread Tom Rini
There are no longer any OMAP4 platforms in U-Boot, remove the related functionality. Signed-off-by: Tom Rini --- arch/arm/include/asm/arch-omap4/clock.h | 250 -- arch/arm/include/asm/arch-omap4/cpu.h | 109 - arch/arm/include/asm/arch-omap4/ehci.h| 38 -- arch

[PATCH 5/5] arm: Remove omap3_beagle board

2024-07-15 Thread Tom Rini
This board has not been converted to CONFIG_DM_I2C by the deadline. Remove it. Signed-off-by: Tom Rini --- Cc: Robert Nelson --- arch/arm/dts/Makefile | 5 - arch/arm/dts/omap3-beagle-u-boot.dtsi | 14 - arch/arm/dts/omap3-beagle-xm-ab-u-boot.dtsi | 14 - arch/ar

[PATCH 4/5] arm: Remove devkit3250 board

2024-07-15 Thread Tom Rini
This board has not been converted to CONFIG_DM_I2C by the deadline. Remove it. Signed-off-by: Tom Rini --- Cc: Vladimir Zapolskiy --- arch/arm/mach-lpc32xx/Kconfig | 4 -- board/timll/devkit3250/Kconfig | 12 board/timll/devkit3250/MAINTAINERS | 6 -- board/timll/

[PATCH 1/5] arm: Remove omap4_panda board

2024-07-15 Thread Tom Rini
This board has not been converted to CONFIG_DM_I2C by the deadline. Remove it. Signed-off-by: Tom Rini --- arch/arm/dts/Makefile| 4 - arch/arm/dts/omap4-panda-common.dtsi | 573 --- arch/arm/dts/omap4-panda-es.dts | 82 arch/arm/dts/omap4-pan

[PATCH] doc: fit: add ELF image to list of image formats

2024-07-15 Thread Maxim Moskalets
Signed-off-by: Maxim Moskalets --- doc/usage/fit/source_file_format.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/usage/fit/source_file_format.rst b/doc/usage/fit/source_file_format.rst index 15990e3ff54..cb5da5af2dd 100644 --- a/doc/usage/fit/source_file_format.rst +++ b/doc/usage

Re: [PATCH v5 2/2] led: Add dts property to specify blinking of the led

2024-07-15 Thread Simon Glass
On Mon, 15 Jul 2024 at 14:23, Mikhail Kshevetskiy wrote: > > > On 7/15/24 11:11, Simon Glass wrote: > > Hi Mikhail, > > > > On Sat, 13 Jul 2024 at 17:32, Mikhail Kshevetskiy > > wrote: > >> > >> On 13.07.2024 18:13, Simon Glass wrote: > >>> Hi Mikhail, > >>> > >>> On Fri, 12 Jul 2024 at 06:25, Mi

Re: [RFC PATCH v2 13/48] lmb: make LMB memory map persistent and global

2024-07-15 Thread Simon Glass
Hi, On Mon, 15 Jul 2024 at 18:58, Tom Rini wrote: > > On Mon, Jul 15, 2024 at 12:39:35PM +0100, Simon Glass wrote: > > Hi Sughosh, > > > > On Mon, 15 Jul 2024 at 10:48, Sughosh Ganu wrote: > > > > > > hi Simon, > > > > > > On Sat, 13 Jul 2024 at 20:46, Simon Glass wrote: > > > > > > > > Hi Sugh

Re: [RFC PATCH v2 41/48] efi_memory: add an event handler to update memory map

2024-07-15 Thread Tom Rini
On Mon, Jul 15, 2024 at 12:39:32PM +0100, Simon Glass wrote: > Hi Sughosh, > > On Mon, 15 Jul 2024 at 10:39, Sughosh Ganu wrote: > > > > hi Simon, > > > > On Sat, 13 Jul 2024 at 20:46, Simon Glass wrote: > > > > > > Hi Sughosh, > > > > > > On Thu, 4 Jul 2024 at 08:38, Sughosh Ganu wrote: > > >

[PATCH] test/py/requirements.txt: Bump setuptools to 70.0.0

2024-07-15 Thread Tom Rini
There is some potential security issue resolved by upgrading to the latest here. Reported-by: GitHub dependabot Signed-off-by: Tom Rini --- test/py/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/py/requirements.txt b/test/py/requirements.txt index c1dd6

Re: [PATCH v5 2/2] led: Add dts property to specify blinking of the led

2024-07-15 Thread Mikhail Kshevetskiy
On 7/15/24 11:11, Simon Glass wrote: > Hi Mikhail, > > On Sat, 13 Jul 2024 at 17:32, Mikhail Kshevetskiy > wrote: >> >> On 13.07.2024 18:13, Simon Glass wrote: >>> Hi Mikhail, >>> >>> On Fri, 12 Jul 2024 at 06:25, Mikhail Kshevetskiy >>> wrote: From: Michael Polyntsov The standa

[PATCH] configs: j784s4_evm : Increase Dynamic memory allocation size

2024-07-15 Thread Udit Kumar
Increase malloc size to 32 MB to align with other J7 family devices. Signed-off-by: Udit Kumar --- configs/j784s4_evm_a72_defconfig | 1 + configs/j784s4_evm_r5_defconfig | 1 + 2 files changed, 2 insertions(+) diff --git a/configs/j784s4_evm_a72_defconfig b/configs/j784s4_evm_a72_defconfig in

[PATCH 3/3] tpm_tcg2: hash algo optimization

2024-07-15 Thread Benjamin BARATTE
To properly enable code optimization with hash algorithm, all the reference of the hash algo should condition to hash enablement. It is possible to fine tune the list of hash algorithms based on dTPM configuration. Therefore if dTPM supports only one bank, on one hash algorithm could be selected (T

[PATCH 2/3] tpm: remove check on pcr bank count

2024-07-15 Thread Benjamin BARATTE
The number of PCR banks return by the tpm2_get_pcr_info() is related to TPM supported list of hash algorithm that could be greater than thus supported by U-Boot. This is not an issue as long as the PCR active bank hash an hash algorithm supported by U-Boot. Therefore, checking the number of PCR ban

[PATCH 0/3] TPM PCR Management update proposal

2024-07-15 Thread Benjamin BARATTE
By testing U-Boot EFI Measured boot with ST33KTPM2X32DKG9, the EFI_TCG2_PROTOCOL is not able to register due to TPM PCR management. This version of dTPM support SHA1, SHA256, SHA384, SHA3_256, SHA3_384 which make 5 possibles PCR banks avaiables but only 2 at a time are supported. The tpm2_get_pcr_

[PATCH 1/3] tpm: update tpm hash algorithm according to tpm2.0 spec 1.59

2024-07-15 Thread Benjamin BARATTE
The hash algorithm structure shall reflect the TCG specification for TPM2.0 With vesion 1.59, the SHA3 algorithm has been added and shall be reflected in this structure. The fact that U-Boot does or does not support SHA3 algo yet is not relevant for this structure. It's up to the end user to config

Re: [PATCH] dm: button: support remapping phone keys

2024-07-15 Thread Dragan Simic
Hello Shattow, On 2024-07-15 20:02, E Shattow wrote: Adding my casual opinion to this naming decision: On Sun, Jul 14, 2024 at 11:24 PM Caleb Connolly wrote: On 14/07/2024 22:47, Dragan Simic wrote: > On 2024-07-14 21:49, Caleb Connolly wrote: >> We don't have audio support in U-Boot, but we

Re: [PATCH] dm: button: support remapping phone keys

2024-07-15 Thread E Shattow
Adding my casual opinion to this naming decision: On Sun, Jul 14, 2024 at 11:24 PM Caleb Connolly wrote: > > Hi Dragan, > > On 14/07/2024 22:47, Dragan Simic wrote: > > Hello Caleb, > > > > On 2024-07-14 21:49, Caleb Connolly wrote: > >> We don't have audio support in U-Boot, but we do have boot

Re: [RFC PATCH v2 13/48] lmb: make LMB memory map persistent and global

2024-07-15 Thread Tom Rini
On Mon, Jul 15, 2024 at 12:39:35PM +0100, Simon Glass wrote: > Hi Sughosh, > > On Mon, 15 Jul 2024 at 10:48, Sughosh Ganu wrote: > > > > hi Simon, > > > > On Sat, 13 Jul 2024 at 20:46, Simon Glass wrote: > > > > > > Hi Sughosh, > > > > > > On Thu, 4 Jul 2024 at 08:36, Sughosh Ganu wrote: > > >

Re: Please pull u-boot-marvell/master

2024-07-15 Thread Tom Rini
On Mon, Jul 15, 2024 at 12:59:03PM +0200, Stefan Roese wrote: > Hi Tom, > > please pull this small batch of Marvell related patches: > Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: Pull request efi-2024-10-rc1-2

2024-07-15 Thread Tom Rini
On Sun, Jul 14, 2024 at 12:53:43PM +0200, Heinrich Schuchardt wrote: > Dear Tom, > > The following changes since commit b182816c1fb436916661949213c543bf4d42250b: > > turris_1x: Normalize Kconfig usage (2024-07-13 10:42:15 -0600) > > are available in the Git repository at: > > https://sourc

Re: [PATCH v3] bootstash: Do not provide a default address for all

2024-07-15 Thread Tom Rini
On Mon, Jul 15, 2024 at 12:42:00PM +0100, Simon Glass wrote: > From: Tom Rini > > A valid memory location to stash bootstage information at will be > architecture dependent. Move the existing defaults to the main Kconfig > file for this option and set 0x0 as the default only for sandbox. > > Si

[PATCH] arm64: versal: Remove undocumented cadence,qspi compatible

2024-07-15 Thread Michal Simek
Compatible string is not the part of dt-schema and also not used by U-Boot or Linux that's why remove it completely. Signed-off-by: Michal Simek --- arch/arm/dts/versal-mini-ospi.dtsi | 2 +- arch/arm/dts/versal-net-mini-ospi.dtsi | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) di

[PATCH] arm64: versal-net: Align node names with dt-schema

2024-07-15 Thread Michal Simek
dt-schema is forcing some rules for node names that's why align them with it. Labels are not changing that's why this change is not breaking any other board specific DTSes. Signed-off-by: Michal Simek --- arch/arm/dts/versal-net-mini-emmc.dts | 4 ++-- arch/arm/dts/versal-net-mini-ospi.dtsi |

Re: [PATCH v2 2/6] power: pmic: sunxi: only build AXP drivers for SPL

2024-07-15 Thread Andre Przywara
On Fri, 12 Jul 2024 17:53:48 +0100 Andre Przywara wrote: > The axp.c drivers are only used for the SPL, for U-Boot proper we > have a separate, DM compliant driver. > Mask the build instructions with CONFIG_SPL_BUILD, to avoid them being > build for U-Boot proper as well. For the records: this b

Re: [PATCH v2 0/2] a little RPi watchdog cleanup

2024-07-15 Thread Tom Rini
On Mon, Jul 15, 2024 at 02:24:48PM +0100, Peter Robinson wrote: > > > I can't find these patches (and v1) in patchworks. Do you have an > > > idea, why this is the case? > > > > > > > Perhaps because they (v2) have already been merged to master via a PR from > > Peter? commit 1ca216522d4. > > The

[PATCH] arm64: zynqmp: Add resets property for UART nodes

2024-07-15 Thread Michal Simek
From: Manikanta Guntupalli Add resets property for UART0 and UART1 nodes Signed-off-by: Manikanta Guntupalli Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/dts/zynqmp.dtsi b/arch/arm/dts/zynqmp.dtsi index 34f592c1a85f..

Re: [PATCH 13/13] doc: Describe the bootstd settings

2024-07-15 Thread Quentin Schulz
Hi Simon, On 7/15/24 12:13 PM, Simon Glass wrote: The bootstd node provides some configuration properties. Add these to the documentation. Signed-off-by: Simon Glass Reviewed-by: Quentin Schulz Thanks! Quentin

Re: [PATCH 12/13] boot: Correct indentation in efi bootmeth

2024-07-15 Thread Quentin Schulz
Hi Simon, On 7/15/24 12:13 PM, Simon Glass wrote: Fix a minor indentation / whitespace problem in a comment. Signed-off-by: Simon Glass Reviewed-by: Quentin Schulz Thanks! Quentin

Re: [PATCH 11/13] doc: Add a link to VBE from the bootstd docs

2024-07-15 Thread Quentin Schulz
Hi Simon, On 7/15/24 12:13 PM, Simon Glass wrote: Link to this page to make it easier to find the VBE docs. Signed-off-by: Simon Glass Reviewed-by: Quentin Schulz Thanks! Quentin

Re: [PATCH 10/13] doc: Add a description for bootmeth_script

2024-07-15 Thread Quentin Schulz
Hi Simon, On 7/15/24 12:13 PM, Simon Glass wrote: Add documentation for the script bootmeth. Signed-off-by: Simon Glass Reviewed-by: Quentin Schulz Thanks! Quentin

Re: [PATCH 08/13] bootstd: Tidy up comments on the boothmeth drivers

2024-07-15 Thread Quentin Schulz
Hi Simon, On 7/15/24 12:13 PM, Simon Glass wrote: Fix a typo in the comment and add one to the EFI driver too. Signed-off-by: Simon Glass Reviewed-by: Quentin Schulz Thanks! Quentin

Re: [PATCH 07/13] doc: Add a description for bootmeth_sandbox

2024-07-15 Thread Quentin Schulz
Hi Simon, On 7/15/24 12:13 PM, Simon Glass wrote: Add documentation for the sandbox bootmeth. Fix up the compatible string to drop the 'extlinux' part, which is not relevant to this bootmeth. Signed-off-by: Simon Glass Reviewed-by: Quentin Schulz Thanks! Quentin

Re: [PATCH 06/13] doc: Add a description for bootmeth_cros

2024-07-15 Thread Quentin Schulz
Hi Simon, On 7/15/24 12:13 PM, Simon Glass wrote: Add documentation for the cros bootmeth. Signed-off-by: Simon Glass Reviewed-by: Quentin Schulz Thanks! Quentin

Re: [PATCH 05/13] doc: Add a description for bootmeth_qfw

2024-07-15 Thread Quentin Schulz
Hi Simon, On 7/15/24 12:13 PM, Simon Glass wrote: Add documentation for the qfw bootmeth. Fix up the compatible string to drop the 'extlinux' part, which is not relevant to this bootmeth. Signed-off-by: Simon Glass Reviewed-by: Quentin Schulz Thanks! Quentin

Re: [PULL] u-boot-sh/master

2024-07-15 Thread Tom Rini
On Sat, Jul 13, 2024 at 09:35:07PM +0200, Marek Vasut wrote: > The following changes since commit b182816c1fb436916661949213c543bf4d42250b: > > turris_1x: Normalize Kconfig usage (2024-07-13 10:42:15 -0600) > > are available in the Git repository at: > > https://source.denx.de/u-boot/custod

Re: [PATCH 04/13] doc: Add a description for bootmeth_pxe

2024-07-15 Thread Quentin Schulz
Hi Simon, On 7/15/24 12:13 PM, Simon Glass wrote: Add documentation for the pxe bootmeth. Signed-off-by: Simon Glass Reviewed-by: Quentin Schulz Thanks! Quentin

Re: [PULL] u-boot-usb/master

2024-07-15 Thread Tom Rini
On Sat, Jul 13, 2024 at 09:33:49PM +0200, Marek Vasut wrote: > The following changes since commit b182816c1fb436916661949213c543bf4d42250b: > > turris_1x: Normalize Kconfig usage (2024-07-13 10:42:15 -0600) > > are available in the Git repository at: > > git://source.denx.de/u-boot-usb.git

Re: [PATCH 03/13] doc: Add a description for bootmeth_extlinux

2024-07-15 Thread Quentin Schulz
Hi Simon, On 7/15/24 12:13 PM, Simon Glass wrote: Add documentation for the extlinux bootmeth. Signed-off-by: Simon Glass Reviewed-by: Quentin Schulz Thanks! Quentin

Re: [PATCH 02/13] doc: Move bootstd into its own directory

2024-07-15 Thread Quentin Schulz
Hi Simon, On 7/15/24 12:13 PM, Simon Glass wrote: Before adding more files, move the bootstd docs into a new directory, with an index. Signed-off-by: Simon Glass Reviewed-by: Quentin Schulz Thanks! Quentin

[PATCH 2/2] nvmem: layouts: add U-Boot env layout

2024-07-15 Thread Rafał Miłecki
From: Rafał Miłecki U-Boot environment variables are stored in a specific format. Actual data can be placed in various storage sources (MTD, UBI volume, EEPROM, NVRAM, etc.). Move all generic (NVMEM device independent) code from NVMEM device driver to an NVMEM layout driver. Then add a simple NV

[PATCH 1/2] dt-bindings: nvmem: convert U-Boot env to a layout

2024-07-15 Thread Rafał Miłecki
From: Rafał Miłecki U-Boot environment variables can be stored in various data sources. MTD is just one of available options. Refactor DT binding into a layout so it can be used with UBI volumes and other NVMEM devices. Link: https://lore.kernel.org/all/20231221173421.13737-1-zaj...@gmail.com/ S

Re: [PATCH 01/13] MAINTAINERS: Rename BOOTDEVICE

2024-07-15 Thread Quentin Schulz
Hi Simon, On 7/15/24 12:13 PM, Simon Glass wrote: Rename this to BOOTSTD which is the normal name for the feature. Signed-off-by: Simon Glass Reviewed-by: Quentin Schulz Thanks! Quentin

Re: [PATCH 2/3] patman: Add Commit-cc as an alias for Patch-cc

2024-07-15 Thread Simon Glass
On Fri, 19 Apr 2024 at 03:36, Sean Anderson wrote: > > Most tags referring to commits (or patches) are named Commit-something. The > exception is Patch-cc. Add a Commit-cc alias so we can use whichever one is > convenient. > > Signed-off-by: Sean Anderson > --- > > tools/patman/func_test.py

Re: [PATCH 3/3] patman: Add a tag for when a patch gets added to a series

2024-07-15 Thread Simon Glass
On Mon, 29 Apr 2024 at 17:49, Doug Anderson wrote: > > Hi, > > On Thu, Apr 18, 2024 at 7:36 PM Sean Anderson wrote: > > > > When a patch is added to a series after the initial version, there are no > > changes to note except that it is new. This is typically done to suppress > > the "(no changes

Re: [PATCH] sandbox: enable support for the unlz4 command

2024-07-15 Thread Simon Glass
On Sat, 25 May 2024 at 02:11, Jonathan Liu wrote: > > This does not work with sandbox at present. Fix it up to use map_sysmem() > to convert an address to a pointer. > > Signed-off-by: Jonathan Liu > --- > cmd/unlz4.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > Reviewed-by: Simo

Re: [PATCH 1/3] patman: Fix tests if add_maintainers is set to False

2024-07-15 Thread Simon Glass
On Fri, 19 Apr 2024 at 03:36, Sean Anderson wrote: > > If add_maintainers is set to False in the user's ~/.patman config, it will > cause the custom_get_maintainer_script to fail since that test expects > maintainers to be added. Set add_maintainer to True in the .patman config > to prevent this.

Re: [PATCH] global_data.h: drop write-only field dm_root_f

2024-07-15 Thread Simon Glass
On Mon, 27 May 2024 at 14:04, Rasmus Villemoes wrote: > > The dm_root_f field seems to be entirely write-only and hence > redundant, unless 'git grep' fails to find some access generated via > preprocessor token concatenation or similar. > > Signed-off-by: Rasmus Villemoes > --- > common/board_r

Re: [PATCH 1/3] tools: binman: fix deprecated Python unittest methods

2024-07-15 Thread Simon Glass
On Tue, 4 Jun 2024 at 10:16, Brandon Maier wrote: > > The methods `unittest.assertEquals()` and > `unittest.assertRegexpMatches()` are marked deprecated[1]. > > In Python 3.12 these aliases have been removed, so do a sed to replace > them with their new names. > > [1] https://docs.python.org/3.11/

Re: RE: [External] Re: [PATCH 2/3] tools: binman: fix deprecated Python ConfigParser methods

2024-07-15 Thread Simon Glass
Hi Simon, > -Original Message- > From: Simon Glass > Sent: Tuesday, June 4, 2024 9:14 PM > To: Maier, Brandon L Collins > Cc: u-boot@lists.denx.de > Subject: [External] Re: [PATCH 2/3] tools: binman: fix deprecated Python > ConfigParser methods > > Hi Brandon, > > On Tue, 4 Jun 2024 at 1

Re: [PATCH 3/3] tools: patman: fix deprecated Python ConfigParser methods

2024-07-15 Thread Simon Glass
On Tue, 4 Jun 2024 at 10:16, Brandon Maier wrote: > > The method `ConfigParser.readfp()` is marked deprecated[1]. > > In Python 3.12 this method have been removed, so replace it with > `ConfigParser.read_file()`. > > [1] > https://docs.python.org/3.11/library/configparser.html#configparser.Config

Re: [PATCH v2] sandbox: cleanup linker scripts and sections

2024-07-15 Thread Simon Glass
commit 6e2228fb052b ("Merge patch series "Clean up arm linker scripts"") was cleaning up linker scripts for armv7 and v8 in a similar fashion. Several commits in the past -- e.g commit d0b5d9da5de2 ("arm: make _end compiler-generated") was moving symbols to be compiler generated. They were defined

  1   2   3   >