Pull request doc-2024-04-rc2

2024-02-12 Thread Heinrich Schuchardt
Dear Tom, The following changes since commit 91c37c4a20db24a4fc1d565c70035072d355cce0: Merge tag 'u-boot-imx-master-20240212' of https://gitlab.denx.de/u-boot/custodians/u-boot-imx (2024-02-12 09:26:20 -0500) are available in the Git repository at: https://source.denx.de/u-boot/custodians

Re: [PATCH v2] net: designware: Support high memory nodes

2024-02-12 Thread Andre Przywara
On Mon, 12 Feb 2024 13:40:31 -0500 Tom Rini wrote: > On Sat, Feb 10, 2024 at 05:37:03PM +, Andre Przywara wrote: > > > On Mon, 4 Dec 2023 01:09:30 + > > Andre Przywara wrote: > > > > Hi Joe, Ramon, Tom, > > > > for some reason patchwork put this on my plate, but it looks like > >

Re: [PATCH v2] net: designware: Support high memory nodes

2024-02-12 Thread Tom Rini
On Mon, Feb 12, 2024 at 07:56:40PM +, Andre Przywara wrote: > On Mon, 12 Feb 2024 13:40:31 -0500 > Tom Rini wrote: > > > On Sat, Feb 10, 2024 at 05:37:03PM +, Andre Przywara wrote: > > > > > On Mon, 4 Dec 2023 01:09:30 + > > > Andre Przywara wrote: > > > > > > Hi Joe, Ramon, Tom,

Re: [PATCH v2] net: designware: Support high memory nodes

2024-02-12 Thread Tom Rini
On Sat, 02 Dec 2023 10:39:49 +0100, Nils Le Roux wrote: > Some platforms (such as the Lichee Pi 4A) have their dwmac device > addressable only in high memory space. Storing the node's base address > on 32 bits is not possible in such case. > > Use platform's physical address type to store the

[PATCH 01/11] board: ti: Add missing common/Kconfig references

2024-02-12 Thread Nishanth Menon
Add missing board/ti/common/Kconfig references for the platforms that missed it. The intent is for the common Kconfig to be usable across TI reference boards as required. Reported-by: Tom Rini Signed-off-by: Nishanth Menon --- Changes since V3: * No change V3:

[PATCH 11/11] include: env: ti: Drop default_findfdt

2024-02-12 Thread Nishanth Menon
We shouldn't need finfdt anymore. Drop the env script. Reviewed-by: Jonathan Humphreys Reviewed-by: Roger Quadros Signed-off-by: Nishanth Menon --- Changes since V3: * No change V3: https://lore.kernel.org/r/20240130130615.670783-12...@ti.com include/env/ti/default_findfdt.env | 12

[PATCH 09/11] board: beagle: beagleboneai64: Set fdtfile from C code instead of findfdt script

2024-02-12 Thread Nishanth Menon
Stop using the findfdt script and switch to setting the fdtfile from C code. Reviewed-by: Jonathan Humphreys Reviewed-by: Roger Quadros Signed-off-by: Nishanth Menon --- Changes since V3: * No change V3: https://lore.kernel.org/r/20240130130615.670783-10...@ti.com

[PATCH 04/11] board: ti: am62x: Set fdtfile from C code instead of findfdt script

2024-02-12 Thread Nishanth Menon
Stop using the findfdt script and switch to setting the fdtfile from C code. While at this, replace findfdt in environment with a warning as it is no longer needed Reviewed-by: Jonathan Humphreys Reviewed-by: Roger Quadros Signed-off-by: Nishanth Menon --- Changes since V3: * Add missing

[PATCH v2] cmd: add FDT setup for bootelf by flag

2024-02-12 Thread Maxim Moskalets
Added the ability to use FDT for ELF applications, required to run some OS. To make FDT setup, you need to set the -d fdt_addr_r cmd option for bootelf command Signed-off-by: Maxim Moskalets Cc: Tom Rini --- cmd/elf.c | 24 ++-- 1 file changed, 22 insertions(+), 2

Re: Pull request doc-2024-04-rc2

2024-02-12 Thread Tom Rini
On Mon, Feb 12, 2024 at 09:18:09PM +0100, Heinrich Schuchardt wrote: > Dear Tom, > > The following changes since commit 91c37c4a20db24a4fc1d565c70035072d355cce0: > > Merge tag 'u-boot-imx-master-20240212' of > https://gitlab.denx.de/u-boot/custodians/u-boot-imx (2024-02-1

[PATCH] cmd: add FDT setup for bootelf by flag

2024-02-12 Thread Maxim Moskalets
Added the ability to use FDT for ELF applications, required to run some OS. To make FDT setup, you need to set the elf_needed_fdt environment variable to a value like y or yes. Signed-off-by: Maxim Moskalets Cc: Tom Rini --- cmd/elf.c | 14 ++ env/common.c | 5 +

[PATCH 03/11] board: ti: am62ax: Set fdtfile from C code instead of findfdt script

2024-02-12 Thread Nishanth Menon
Stop using the findfdt script and switch to setting the fdtfile from C code. While at this, replace findfdt in environment with a warning as it is no longer needed Reviewed-by: Jonathan Humphreys Reviewed-by: Roger Quadros Signed-off-by: Nishanth Menon --- Changes since V3: * No change V3:

Re: [PATCH v2] net: designware: Support high memory nodes

2024-02-12 Thread Tom Rini
On Sat, Feb 10, 2024 at 05:37:03PM +, Andre Przywara wrote: > On Mon, 4 Dec 2023 01:09:30 + > Andre Przywara wrote: > > Hi Joe, Ramon, Tom, > > for some reason patchwork put this on my plate, but it looks like > genuine network code to me, and the problem definitely doesn't affect >

[PATCH 02/11] board: ti: common: Introduce a common fdt ops library

2024-02-12 Thread Nishanth Menon
Introduce a common fdt operations library for basic device tree operations that are common between various boards. The first library to introduce here is the capability to set up fdtfile as a standard variable as part of board identification rather than depend on scripted ifdeffery. Reviewed-by:

[PATCH 05/11] board: ti: am64x: Set fdtfile from C code instead of findfdt script

2024-02-12 Thread Nishanth Menon
We now can provide a map and have the standard fdtfile variable set from code itself. This allows for bootstd to "just work". While at this, replace findfdt in environment with a warning as it is no longer needed. Reviewed-by: Jonathan Humphreys Reviewed-by: Roger Quadros Signed-off-by:

[PATCH 10/11] board: beagle: beagleplay: Set fdtfile from C code instead of findfdt script

2024-02-12 Thread Nishanth Menon
Stop using the findfdt script and switch to setting the fdtfile from C code. Reviewed-by: Jonathan Humphreys Reviewed-by: Roger Quadros Signed-off-by: Nishanth Menon --- Changes since V3: * No change V3: https://lore.kernel.org/r/20240130130615.670783-11...@ti.com

Re: [PATCH 1/4] board: beagle: beagleplay: Enable 32k crystal

2024-02-12 Thread Robert Nelson
On Mon, Feb 12, 2024 at 9:53 AM Nishanth Menon wrote: > > Enable the external 32k crystal similar to that found on other > production AM62X board. The trim settings for the crystal is board > dependent, so the sequences tend to be board specific. Since this is > a configuration that needs to be

Re: [FIX PATCH v1] Fix: common: usb_hub: Reset only USB3.0 hub

2024-02-12 Thread Dragan Simic
Hello Marek, Andre and Shantur, On 2024-02-12 21:19, Marek Vasut wrote: On 2/12/24 14:41, Shantur Rathore wrote: On Mon, Feb 12, 2024 at 1:40 PM Shantur Rathore wrote: On Sat, Feb 10, 2024 at 7:13 AM Dragan Simic wrote: On 2024-02-08 15:17, Dragan Simic wrote: On 2024-02-08 15:10, Shantur

[PATCH 07/11] board: ti: j721e: Set fdtfile from C code instead of findfdt script

2024-02-12 Thread Nishanth Menon
We now can provide a map and have the standard fdtfile variable set from code itself. This allows for bootstd to "just work". While at this, replace findfdt in environment with a warning as it is no longer needed. Reviewed-by: Jonathan Humphreys Reviewed-by: Roger Quadros Signed-off-by:

Re: [PATCH] doc: fix mistyped "env flags" command

2024-02-12 Thread Heinrich Schuchardt
On 2/11/24 21:18, Thomas Weißschuh wrote: Signed-off-by: Thomas Weißschuh Reviewed-by: Heinrich Schuchardt --- doc/usage/cmd/env.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/usage/cmd/env.rst b/doc/usage/cmd/env.rst index a859e32798cb..a7e21693a672 100644

Re: [PATCH 3/4] arm: mach-k3: am62: Add Debounce configuration register definitions

2024-02-12 Thread Nishanth Menon
On 09:53-20240212, Nishanth Menon wrote: > Add the Debounce configuration registers that need to be configured one > time for the platform for the entire SoC. > > Signed-off-by: Nishanth Menon > --- > arch/arm/mach-k3/include/mach/am62_hardware.h | 3 +++ > 1 file

[PATCH 00/11] board/ti: k3 boards: Stop using findfdt

2024-02-12 Thread Nishanth Menon
Hi, Hopefully the last time. Apologies on the screw ups. Ran CI loop[1] to be doubly sure that I have'nt yet again fat fingered something. This is a wide cleanup to switch to setting fdtfile using env_set instead of scripted magic. 'fdtfile' is expected to be set by default. This allows the

[PATCH 08/11] board: ti: j721s2: Set fdtfile from C code instead of findfdt script

2024-02-12 Thread Nishanth Menon
We now can provide a map and have the standard fdtfile variable set from code itself. This allows for bootstd to "just work". While at this, replace findfdt in environment with a warning as it is no longer needed. Reviewed-by: Jonathan Humphreys Reviewed-by: Roger Quadros Signed-off-by:

[PATCH 06/11] board: ti: am65x: Set fdtfile from C code instead of findfdt script

2024-02-12 Thread Nishanth Menon
We now can provide a map and have the standard fdtfile variable set from code itself. This allows for bootstd to "just work". While at this, replace findfdt in environment with a warning as it is no longer needed. Reviewed-by: Jonathan Humphreys Reviewed-by: Roger Quadros Signed-off-by:

Re: [PATCH RFC] pinctrl: add support for HiSilicon HiSTB SoCs

2024-02-12 Thread Yang Xiwen
On 2/13/2024 1:08 AM, Tom Rini wrote: On Tue, Feb 13, 2024 at 01:02:50AM +0800, Yang Xiwen wrote: On 2/13/2024 12:58 AM, Tom Rini wrote: On Tue, Feb 13, 2024 at 12:30:15AM +0800, Yang Xiwen via B4 Relay wrote: From: Yang Xiwen The first supported SoC is Hi3798MV200. Signed-off-by: Yang

Re: [PATCH v2 2/3] arm: mvebu: helios4_defconfig: enable setexpr command

2024-02-12 Thread Dennis Gilmore
I am curious about your use cases for this. as ideally all systems use the generic distro boot paths and it is not needed for them. Dennis On Fri, Feb 2, 2024 at 9:13 AM Josua Mayer wrote: > Update the helios4 defconfig to enable the 'setexpr' command, which is a > default and useful for

Re: [PATCH 2/2] rockchip: rk3399: Update stack and bss addresses

2024-02-12 Thread Jonas Karlman
Hi Quentin, On 2024-02-12 12:51, Quentin Schulz wrote: > Hi Jonas, > > On 2/12/24 12:08, Jonas Karlman wrote: >> Hi Quentin, >> >> On 2024-02-12 11:37, Quentin Schulz wrote: >>> Hi Jonas, >>> >>> On 2/12/24 01:59, Jonas Karlman wrote: With the stack and text base used by U-Boot SPL and

Re: [PATCH] cmd: add FDT setup for bootelf by flag

2024-02-12 Thread Tom Rini
On Mon, Feb 12, 2024 at 09:41:17PM +0300, Maxim Moskalets wrote: > Added the ability to use FDT for ELF applications, required to run some OS. > To make FDT setup, you need to set the elf_needed_fdt environment variable to > a value like y or yes. > > Signed-off-by: Maxim Moskalets > > Cc:

Re: [FIX PATCH v1] Fix: common: usb_hub: Reset only USB3.0 hub

2024-02-12 Thread Marek Vasut
On 2/12/24 14:41, Shantur Rathore wrote: On Mon, Feb 12, 2024 at 1:40 PM Shantur Rathore wrote: Thanks Dragan, On Sat, Feb 10, 2024 at 7:13 AM Dragan Simic wrote: Hello Shantur, On 2024-02-08 15:17, Dragan Simic wrote: On 2024-02-08 15:10, Shantur Rathore wrote: On Thu, Feb 8, 2024 at

Re: [PATCH 2/2] rockchip: rk3399: Update stack and bss addresses

2024-02-12 Thread Jonas Karlman
On 2024-02-12 14:15, Jerome Forissier wrote: > On 2/12/24 12:51, Quentin Schulz wrote: >> Hi Jonas, >> >> On 2/12/24 12:08, Jonas Karlman wrote: >>> Hi Quentin, >>> >>> On 2024-02-12 11:37, Quentin Schulz wrote: Hi Jonas, On 2/12/24 01:59, Jonas Karlman wrote: > With the stack

[RESEND PATCH v1] MAINTAINERS: add custodian tree info for AVB/AB

2024-02-12 Thread Igor Opaniuk
From: Igor Opaniuk Add information about a custodian tree [1] for AVB/AB, which is maintained by Mattijs Korpershoek. [1] https://source.denx.de/u-boot/custodians/u-boot-dfu Signed-off-by: Igor Opaniuk --- MAINTAINERS | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MAINTAINERS

[PATCH v1] MAINTAINERS: add custodian tree info for AV/AVB

2024-02-12 Thread Igor Opaniuk
From: Igor Opaniuk Add information about a custodian tree [1] for AVB/AB, which is maintained by Mattijs Korpershoek. [1] https://source.denx.de/u-boot/custodians/u-boot-dfu Signed-off-by: Igor Opaniuk --- MAINTAINERS | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MAINTAINERS

Re: [FIX PATCH v1] Fix: common: usb_hub: Reset only USB3.0 hub

2024-02-12 Thread Marek Vasut
On 2/12/24 22:10, Dragan Simic wrote: Hello Marek, Andre and Shantur, On 2024-02-12 21:19, Marek Vasut wrote: On 2/12/24 14:41, Shantur Rathore wrote: On Mon, Feb 12, 2024 at 1:40 PM Shantur Rathore wrote: On Sat, Feb 10, 2024 at 7:13 AM Dragan Simic wrote: On 2024-02-08 15:17, Dragan

Re: [FIX PATCH v1] Fix: common: usb_hub: Reset only USB3.0 hub

2024-02-12 Thread Dragan Simic
On 2024-02-13 00:33, Marek Vasut wrote: On 2/12/24 22:10, Dragan Simic wrote: On 2024-02-12 21:19, Marek Vasut wrote: On 2/12/24 14:41, Shantur Rathore wrote: On Mon, Feb 12, 2024 at 1:40 PM Shantur Rathore wrote: On Sat, Feb 10, 2024 at 7:13 AM Dragan Simic wrote: On 2024-02-08 15:17,

Re: [PATCH] command: add FDT setup for bootelf by flag

2024-02-12 Thread Dan Carpenter
On Sun, Feb 11, 2024 at 11:42:48PM +0300, Maxim Moskalets wrote: > diff --git a/cmd/elf.c b/cmd/elf.c > index b7b9f506a5..4d365771eb 100644 > --- a/cmd/elf.c > +++ b/cmd/elf.c > @@ -38,6 +38,8 @@ static unsigned long do_bootelf_exec(ulong (*entry)(int, > char * const[]), > /* Interpreter command

[PATCH 1/1] rng: eliminate common.h include from RNG drivers

2024-02-12 Thread Heinrich Schuchardt
Usage of common.h is deprecated. * Remove common.h from RNG drivers. * Sort includes. * Add time.h to sandbox driver. * Add linux/types.h to rng.h to provide size_t. Signed-off-by: Heinrich Schuchardt --- drivers/rng/arm_rndr.c | 3 +-- drivers/rng/iproc_rng200.c | 3 +--

Re: [PATCH v2] arm: mach-k3: Refactor QoS settings

2024-02-12 Thread Aradhya Bhatia
Hey Bryan! On 12/02/24 20:51, Bryan Brattlof wrote: > Hey Aradhya! > > On February 12, 2024 thus sayeth Aradhya Bhatia: >> Refactor common QoS code into a new common header file, and the soc >> specific setup_qos functions into a common API. >> >> Rename $(soc)_qos_count and $(soc)_qos_data

[PATCH RFC] pinctrl: add support for HiSilicon HiSTB SoCs

2024-02-12 Thread Yang Xiwen via B4 Relay
From: Yang Xiwen The first supported SoC is Hi3798MV200. Signed-off-by: Yang Xiwen --- This patchset adds support for HiSTB ioconfig module. The module is used to set pins config(e.g. pull-up, pull-down, drive-strength etc..) and pinmux. The first supported chip is Hi3798MV200. Adding support

Re: [PATCH] doc/develop/codingstyle.rst: Clarify include section

2024-02-12 Thread Heinrich Schuchardt
On 12.02.24 17:19, Tom Rini wrote: On Sun, Feb 11, 2024 at 06:53:47PM +0100, Igor Opaniuk wrote: Hi Tom, On Fri, Feb 9, 2024 at 3:52 PM Tom Rini wrote: Rework the section about includes slightly. We should not be using common.h anywhere, so remove that from examples and ask people to send

[PATCH] cmd: remove common.h from exception command implementations

2024-02-12 Thread Heinrich Schuchardt
The common.h should not be used anymore. Signed-off-by: Heinrich Schuchardt --- cmd/arm/exception.c | 1 - cmd/riscv/exception.c | 1 - cmd/sandbox/exception.c | 1 - cmd/x86/exception.c | 1 - 4 files changed, 4 deletions(-) diff --git a/cmd/arm/exception.c b/cmd/arm/exception.c

Re: [PATCH] doc/develop/codingstyle.rst: Clarify include section

2024-02-12 Thread Tom Rini
On Mon, Feb 12, 2024 at 05:52:03PM +0100, Heinrich Schuchardt wrote: > On 12.02.24 17:19, Tom Rini wrote: > > On Sun, Feb 11, 2024 at 06:53:47PM +0100, Igor Opaniuk wrote: > > > Hi Tom, > > > > > > On Fri, Feb 9, 2024 at 3:52 PM Tom Rini wrote: > > > > > > > > Rework the section about includes

Re: [PATCH] cmd: remove common.h from exception command implementations

2024-02-12 Thread Tom Rini
On Mon, Feb 12, 2024 at 05:53:29PM +0100, Heinrich Schuchardt wrote: > The common.h should not be used anymore. > > Signed-off-by: Heinrich Schuchardt Reviewed-by: Tom Rini -- Tom signature.asc Description: PGP signature

Re: [PATCH RFC] pinctrl: add support for HiSilicon HiSTB SoCs

2024-02-12 Thread Tom Rini
On Tue, Feb 13, 2024 at 12:30:15AM +0800, Yang Xiwen via B4 Relay wrote: > From: Yang Xiwen > > The first supported SoC is Hi3798MV200. > > Signed-off-by: Yang Xiwen > --- > This patchset adds support for HiSTB ioconfig module. The module is used > to set pins config(e.g. pull-up, pull-down,

Re: [PATCH RFC] pinctrl: add support for HiSilicon HiSTB SoCs

2024-02-12 Thread Yang Xiwen
On 2/13/2024 12:58 AM, Tom Rini wrote: On Tue, Feb 13, 2024 at 12:30:15AM +0800, Yang Xiwen via B4 Relay wrote: From: Yang Xiwen The first supported SoC is Hi3798MV200. Signed-off-by: Yang Xiwen --- This patchset adds support for HiSTB ioconfig module. The module is used to set pins

Re: [PATCH RFC] pinctrl: add support for HiSilicon HiSTB SoCs

2024-02-12 Thread Tom Rini
On Tue, Feb 13, 2024 at 01:02:50AM +0800, Yang Xiwen wrote: > On 2/13/2024 12:58 AM, Tom Rini wrote: > > On Tue, Feb 13, 2024 at 12:30:15AM +0800, Yang Xiwen via B4 Relay wrote: > > > > > From: Yang Xiwen > > > > > > The first supported SoC is Hi3798MV200. > > > > > > Signed-off-by: Yang Xiwen

Re: [PATCH v2 1/7] common: avb_verify: don't call mmc_switch_part for SD

2024-02-12 Thread Igor Opaniuk
Hi Dan, On Mon, Feb 12, 2024 at 8:05 AM Dan Carpenter wrote: > > On Fri, Feb 09, 2024 at 08:20:39PM +0100, Igor Opaniuk wrote: > > From: Igor Opaniuk > > > > mmc_switch_part() is used for switching between hw partitions > > on eMMC (boot0, boot1, user, rpmb). > > There is no need to do that for

Re: [PATCH] configs: khadas-vim3*_android: fix AVB oom error

2024-02-12 Thread Neil Armstrong
On 09/02/2024 09:58, Mattijs Korpershoek wrote: When booting Android with AVB enabled, an OOM is observed: => avb init ${mmcdev} => avb verify _a ## Android Verified Boot 2.0 version 1.1.0 read_is_device_unlocked not supported yet read_rollback_index not supported yet

Re: [PATCH] doc: rockchip: Clarify the rkspi image format further

2024-02-12 Thread Quentin Schulz
Hi all, On 2/10/24 19:18, Dragan Simic wrote: [You don't often get email from dsi...@manjaro.org. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ] As discussed on the U-Boot mailing list, [1][2] only some Rockchip SoCs suffer from a bug in their BROMs that

Re: [PATCH 2/2] rockchip: rk3399: Update stack and bss addresses

2024-02-12 Thread Quentin Schulz
Hi Jonas, On 2/12/24 01:59, Jonas Karlman wrote: With the stack and text base used by U-Boot SPL and proper on RK3399 there is a high likelihood of overlapping when U-Boot proper + FDT nears 1 MiB in size. Currently the following memory layout is used: - 0x (@0 MiB): U-Boot SPL text

[PATCH] sandbox: improve description of CONFIG_SANDBOX_CRASH_RESET

2024-02-12 Thread Heinrich Schuchardt
Mentions that command line option --signal is needed to make use of this configuration option. Signed-off-by: Heinrich Schuchardt --- arch/sandbox/Kconfig | 13 + 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/arch/sandbox/Kconfig b/arch/sandbox/Kconfig index

Re: [PATCH v2 16/20] board: rockchip: add Theobroma-Systems RK3588 Jaguar SBC

2024-02-12 Thread Quentin Schulz
Hi Jonas, On 2/11/24 22:34, Jonas Karlman wrote: Hi Quentin, On 2024-02-09 10:50, Quentin Schulz wrote: From: Quentin Schulz JAGUAR is a Single-Board Computer (SBC) based around the rk3588 SoC and is targeting Autonomous Mobile Robots (AMR). It features: * LPDDR4X (up to 16GB) * 1Gbps

Re: [PATCH 4/4] rockchip: rk3399: regenerate defconfigs

2024-02-12 Thread Quentin Schulz
Hi Chen-Yu, On 2/10/24 07:32, Chen-Yu Tsai wrote: [Some people who received this message don't often get email from w...@kernel.org. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ] From: Chen-Yu Tsai Regenerate RK3399 defconfigs after adding imply statements.

Re: [PATCH] button: qcom-pmic: demote "unknown button" message to debug

2024-02-12 Thread Neil Armstrong
On 09/02/2024 16:11, Caleb Connolly wrote: This message isn't an error (there can be a watchdog subnode for example) but it shouldn't be printed unless this driver is being debugged. Demote it to a debug print. Signed-off-by: Caleb Connolly --- drivers/button/button-qcom-pmic.c | 2 +- 1

[PATCH v2] arm: mach-k3: Refactor QoS settings

2024-02-12 Thread Aradhya Bhatia
Refactor common QoS code into a new common header file, and the soc specific setup_qos functions into a common API. Rename $(soc)_qos_count and $(soc)_qos_data variables to qos_count and qos_data. When QoS settings of more SoCs are added, only one pair will be defined at a time, based on the

[PATCH v2] armv8: crypto: SHA-512 using ARMv8 Crypto Extensions

2024-02-12 Thread Igor Opaniuk
From: Igor Opaniuk Add support for the SHA-512 Secure Hash Algorithm which uses ARMv8 Crypto Extensions. The CPU should support ARMv8.2 instruction set and implement SHA512H, SHA512H2, SHA512SU0, and SHA512SU1 instructions. This information can be obtained from ID_AA64ISAR0_EL1 (AArch64

Re: [PATCH v1] armv8: crypto: SHA-512 using ARMv8 Crypto Extensions

2024-02-12 Thread Michal Simek
On 2/11/24 18:26, Igor Opaniuk wrote: Hi Tom, On Sun, Feb 11, 2024 at 1:37 AM Tom Rini wrote: On Sat, Feb 10, 2024 at 01:07:09PM +0100, Igor Opaniuk wrote: From: Igor Opaniuk Add support for the SHA-512 Secure Hash Algorithm which uses ARMv8 Crypto Extensions. The CPU should support

Re: [PATCH v3] mtd: rawnand: Meson NAND controller support

2024-02-12 Thread Michael Nazzareno Trimarchi
Hi On Sat, Feb 10, 2024 at 11:48 PM Arseniy Krasnov wrote: > > Basic support for Amlogic Meson NAND controller on AXG. This version > works at only first EDO mode. > > Based on Linux version 6.7.0-rc4. > > Signed-off-by: Arseniy Krasnov > --- > Changelog: > v1 -> v2: > * Update commit

Re: [PATCH] configs: khadas-vim3*_android: fix AVB oom error

2024-02-12 Thread Igor Opaniuk
On Fri, Feb 9, 2024 at 10:07 AM Mattijs Korpershoek wrote: > > When booting Android with AVB enabled, an OOM is observed: > > => avb init ${mmcdev} > => avb verify _a > ## Android Verified Boot 2.0 version 1.1.0 > read_is_device_unlocked not supported yet > read_rollback_index not

Re: [PATCH v2] arm: mach-k3: Refactor QoS settings

2024-02-12 Thread Bryan Brattlof
Hey Aradhya! On February 12, 2024 thus sayeth Aradhya Bhatia: > Refactor common QoS code into a new common header file, and the soc > specific setup_qos functions into a common API. > > Rename $(soc)_qos_count and $(soc)_qos_data variables to qos_count and > qos_data. When QoS settings of more

[PATCH 3/4] arm: mach-k3: am62: Add Debounce configuration register definitions

2024-02-12 Thread Nishanth Menon
Add the Debounce configuration registers that need to be configured one time for the platform for the entire SoC. Signed-off-by: Nishanth Menon --- arch/arm/mach-k3/include/mach/am62_hardware.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/mach-k3/include/mach/am62_hardware.h

[PATCH 2/4] configs: am62x_beagleplay_r5_defconfig: Enable SPL_BOARD_INIT

2024-02-12 Thread Nishanth Menon
Enable CONFIG_SPL_BOARD_INIT to configure the 32k crystal. Signed-off-by: Nishanth Menon --- configs/am62x_beagleplay_r5_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/am62x_beagleplay_r5_defconfig b/configs/am62x_beagleplay_r5_defconfig index 2f3264b7ede6..9413c859870f

[PATCH 4/4] board: beagle: beagleplay: Configure debounce registers

2024-02-12 Thread Nishanth Menon
Configure the debounce configuration that makes sense for BeaglePlay usage model. Signed-off-by: Nishanth Menon --- board/beagle/beagleplay/beagleplay.c | 24 1 file changed, 24 insertions(+) diff --git a/board/beagle/beagleplay/beagleplay.c

[PATCH 1/4] board: beagle: beagleplay: Enable 32k crystal

2024-02-12 Thread Nishanth Menon
Enable the external 32k crystal similar to that found on other production AM62X board. The trim settings for the crystal is board dependent, so the sequences tend to be board specific. Since this is a configuration that needs to be done prior to DM managing the system and all other muxes get set,

[PATCH 0/4] board: beagle: Enable 32k and debounce configuration

2024-02-12 Thread Nishanth Menon
Hi, This is a follow up from [1] - Without the 32k crystal configuration, wlan does'nt work. Debounce is needed for HDMI hpd gpio interrupt. At least the 32k configuration has been done for toradex and phytec boards, follow similar model of programming. This series is based on master commit

Re: [PATCH v2 5/6] efi_selftest: Add box drawing character selftest

2024-02-12 Thread Heinrich Schuchardt
On 10.02.24 13:46, Janne Grunau via B4 Relay wrote: From: Andre Przywara UEFI applications rely on Unicode output capability, and might use that for drawing pseudo-graphical interfaces using Unicode defined box drawing characters. Add a simple test to display the most basic box characters,

Re: [PATCH] doc/develop/codingstyle.rst: Clarify include section

2024-02-12 Thread Tom Rini
On Sun, Feb 11, 2024 at 06:53:47PM +0100, Igor Opaniuk wrote: > Hi Tom, > > On Fri, Feb 9, 2024 at 3:52 PM Tom Rini wrote: > > > > Rework the section about includes slightly. We should not be using > > common.h anywhere, so remove that from examples and ask people to send > > patches removing it

[PATCH 1/1] efi_driver: provide SBI based runtime system reset

2024-02-12 Thread Heinrich Schuchardt
On RISC-V systems system the Supervisory Binary Interface provides system reset and poweroff. Use it at EFI runtime. Signed-off-by: Heinrich Schuchardt --- lib/efi_driver/Makefile | 1 + lib/efi_driver/efi_reset_riscv.c | 29 + lib/efi_loader/Kconfig

Re: Pull request: Please pull u-boot-imx-master-20240212

2024-02-12 Thread Tom Rini
ot/custodians/u-boot-dfu (2024-02-09 09:00:42 > -0500) > > are available in the Git repository at: > > https://gitlab.denx.de/u-boot/custodians/u-boot-imx.git > tags/u-boot-imx-master-20240212 > > for you to fetch changes up to fcd377ed6480643b1f79188c7a8fb9280a211b4f: &g

Re: [PATCH v2 09/20] rockchip: merge misc.c into board.c

2024-02-12 Thread Dragan Simic
On 2024-02-12 15:21, Peter Robinson wrote: On Mon, 12 Feb 2024 at 14:16, Dragan Simic wrote: On 2024-02-12 14:56, Peter Robinson wrote: > On Fri, 9 Feb 2024 at 18:57, Dragan Simic wrote: >> On 2024-02-09 19:36, Mark Kettenis wrote: >> >> Date: Fri, 09 Feb 2024 18:58:01 +0100 >> >> From:

Re: [PATCH] ARM: imx: Let SPL configure ECSPI1 clock on Data Modul i.MX8M Plus eDM SBC

2024-02-12 Thread Fabio Estevam
On Thu, Feb 8, 2024 at 2:34 PM Marek Vasut wrote: > > The SPL clock code does configure the ECSPI clock frequency, which has > to match the mxc-spi driver configuration for successful SPI NOR boot. > Drop the assigned-clock from DT ecspi1 node on this board to let the > SPL clock code do the

Re: [PATCH v2] spi: mxc_spi: Add imx6ul-ecspi compatible string

2024-02-12 Thread Fabio Estevam
On Thu, Feb 8, 2024 at 9:00 PM Marek Vasut wrote: > > Recent i.MX8MP DTs use new fsl,imx6ul-ecspi compatible string instead > of the fsl,imx51-ecspi compatible string. Add the new compatible string > to fix ECSPI operation on i.MX8MP. > > For details, see Linux: > 48d74376fb68 ("arm64: dts:

Re: [PATCH 2/2] rockchip: rk3399: Update stack and bss addresses

2024-02-12 Thread Quentin Schulz
Hi Jonas, On 2/12/24 12:08, Jonas Karlman wrote: Hi Quentin, On 2024-02-12 11:37, Quentin Schulz wrote: Hi Jonas, On 2/12/24 01:59, Jonas Karlman wrote: With the stack and text base used by U-Boot SPL and proper on RK3399 there is a high likelihood of overlapping when U-Boot proper + FDT

Re: [PATCH v2 1/6] lib: charset: Fix and extend utf8_to_utf32_stream() documentation

2024-02-12 Thread Heinrich Schuchardt
On 10.02.24 13:46, Janne Grunau via B4 Relay wrote: From: Janne Grunau Suggested-by: Heinrich Schuchardt Signed-off-by: Janne Grunau Reviewed-by: Heinrich Schuchardt --- include/charset.h | 14 -- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git

Re: [PATCH v2] imx: imx8mp: Add support for Polyhex Debix Model A SBC

2024-02-12 Thread Gilles Talis
Hi Milan, Le mar. 30 janv. 2024 à 15:55, Milan Zamazal a écrit : > > Fabio Estevam writes: > > > Hi Milan, > > > > On Tue, Jan 30, 2024 at 9:22 AM Milan Zamazal wrote: > > > >> Well, after trying both the SD cards again with fresh reinstallations, it > >> works > >> with a 32 GB card and I

[PATCH] command: add FDT setup for bootelf by flag

2024-02-12 Thread Maxim Moskalets
Added the ability to use FDT for ELF applications, required to run some OS. To make FDT setup, you need to set the elf_needed_fdt environment variable to a value like y or yes. Signed-off-by: Maxim Moskalets Cc: Tom Rini --- cmd/elf.c | 14 ++ env/common.c | 5 +

[PATCH] log: make global data relocatable

2024-02-12 Thread Thomas Weißschuh
When `gd` is relocated during `spl_relocate_stack_gd()` the doubly-linked circular list in the `log_head` member is broken. The last element of the list should point back to the initial `list_head`, but as the initial `list_head` is moved the pointer becomes stale. As a result the loop in

[PATCH] virtio: fix get_config / set_config for legacy VirtIO targets

2024-02-12 Thread Dmitry Baryshkov
The functions virtio_pci_get_config() and virtio_pci_set_config() don't take the offset into account when reading the config space. For example this manifests when U-Boot tries to read the MAC address of the VirtIO networking device. It reads 6 equa bytes instead of the proper addess. Fix those

[PATCH] bootdev: drop unnecessary assert on bootflow->bdev

2024-02-12 Thread Thomas Weißschuh
Not all flows have a device and the function already contains logic to handle this case. Fixes: eccb25cd5922 ("bootstd: Allow the bootdev to be optional in bootflows") Signed-off-by: Thomas Weißschuh --- boot/bootdev-uclass.c | 1 - 1 file changed, 1 deletion(-) diff --git

Re: [PATCH v2 6/6] efi_selftest: Add symbol character selftest

2024-02-12 Thread Heinrich Schuchardt
On 10.02.24 13:46, Janne Grunau via B4 Relay wrote: From: Janne Grunau Draw symbols from code page 437 code points 0x01 - 01f used by UEFI applications to draw user interfaces using EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL. Add a simple test to displaying the Konami code using symbols used by The

Re: [FIX PATCH v1] Fix: common: usb_hub: Reset only USB3.0 hub

2024-02-12 Thread Shantur Rathore
Thanks Dragan, On Sat, Feb 10, 2024 at 7:13 AM Dragan Simic wrote: > > Hello Shantur, > > On 2024-02-08 15:17, Dragan Simic wrote: > > On 2024-02-08 15:10, Shantur Rathore wrote: > >> On Thu, Feb 8, 2024 at 1:44 PM Dragan Simic > >> wrote: > >>> On 2024-02-08 14:33, Marek Vasut wrote: > >>> >

Re: [PATCH v2 04/20] rockchip: pine64: pinebook-pro: migrate to rockchip_early_misc_init_r

2024-02-12 Thread Peter Robinson
On Fri, 9 Feb 2024 at 09:50, Quentin Schulz wrote: > > From: Quentin Schulz > > Compared to the original misc_init_r from Rockchip mach code, > setup_iodomain() is added and rockchip_setup_macaddr() is not called. > > It is assumed adding rockchip_setup_macaddr() back is fine. > Let's use

Re: [FIX PATCH v1] Fix: common: usb_hub: Reset only USB3.0 hub

2024-02-12 Thread Shantur Rathore
On Mon, Feb 12, 2024 at 1:40 PM Shantur Rathore wrote: > > Thanks Dragan, > > On Sat, Feb 10, 2024 at 7:13 AM Dragan Simic wrote: > > > > Hello Shantur, > > > > On 2024-02-08 15:17, Dragan Simic wrote: > > > On 2024-02-08 15:10, Shantur Rathore wrote: > > >> On Thu, Feb 8, 2024 at 1:44 PM Dragan

Re: [FIX PATCH v1] Fix: common: usb_hub: Reset only USB3.0 hub

2024-02-12 Thread Dragan Simic
Hello Shantur, On 2024-02-12 14:40, Shantur Rathore wrote: On Sat, Feb 10, 2024 at 7:13 AM Dragan Simic wrote: On 2024-02-08 15:17, Dragan Simic wrote: > On 2024-02-08 15:10, Shantur Rathore wrote: >> On Thu, Feb 8, 2024 at 1:44 PM Dragan Simic >> wrote: >>> On 2024-02-08 14:33, Marek Vasut

[PATCH v2 0/5] rockchip: Read cpuid and generate MAC address from efuse for RK3328 and RK3399

2024-02-12 Thread Chen-Yu Tsai
From: Chen-Yu Tsai Hi folks, This is v2 of my "read cpuid and generate MAC address from efuse on RK3328 and RK3399 by default" series. Changes since v1: - Also imply "CONFIG_MISC" - Add back unintentionally removed CONFIG_OF_LIBFDT_OVERLAY=y - Remove ROCKCHIP_OTP from

[PATCH v2 1/5] rockchip: rk3328: Read cpuid and generate MAC address from efuse

2024-02-12 Thread Chen-Yu Tsai
From: Chen-Yu Tsai The rockchip-efuse driver supports the efuse found on RK3328. This hardware block is part of the SoC and contains the CPUID, which can be used to generate stable serial numbers and MAC addresses. Enable the driver and reading cpuid by default for RK3328. Signed-off-by:

[PATCH v2 2/5] rockchip: rk3399: Read cpuid and generate MAC address from efuse

2024-02-12 Thread Chen-Yu Tsai
From: Chen-Yu Tsai The rockchip-efuse driver supports the efuse found on RK3399. This hardware block is part of the SoC and contains the CPUID, which can be used to generate stable serial numbers and MAC addresses. Enable the driver and reading cpuid by default for RK3399. Signed-off-by:

[PATCH v2 4/5] rockchip: rk3399: regenerate defconfigs

2024-02-12 Thread Chen-Yu Tsai
From: Chen-Yu Tsai Regenerate RK3399 defconfigs after adding imply statements. Signed-off-by: Chen-Yu Tsai Reviewed-by: Christopher Obbard Reviewed-by: Dragan Simic Reviewed-by: Quentin Schulz --- configs/chromebook_bob_defconfig | 3 --- configs/chromebook_kevin_defconfig

Re: [PATCH v2 05/20] rockchip: pine64: pinephone-pro: migrate to rockchip_early_misc_init_r

2024-02-12 Thread Peter Robinson
On Fri, 9 Feb 2024 at 09:50, Quentin Schulz wrote: > > From: Quentin Schulz > > Compared to the original misc_init_r from Rockchip mach code, > setup_iodomain() is added and rockchip_setup_macaddr() is not called. > > It is assumed adding rockchip_setup_macaddr() back is fine. > Let's use

[PATCH v2 5/5] rockchip: nanopi-r4s: Drop ROCKCHIP_OTP

2024-02-12 Thread Chen-Yu Tsai
From: Chen-Yu Tsai The NanoPi R4S has an RK3399 SoC, which has efuse supported by ROCKCHIP_EFUSE, not ROCKCHIP_OTP. Signed-off-by: Chen-Yu Tsai --- configs/nanopi-r4s-rk3399_defconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/configs/nanopi-r4s-rk3399_defconfig

[PATCH v2 3/5] rockchip: rk3328: regenerate defconfigs

2024-02-12 Thread Chen-Yu Tsai
From: Chen-Yu Tsai Regenerate RK3328 defconfigs after adding imply statements. Signed-off-by: Chen-Yu Tsai Reviewed-by: Christopher Obbard Reviewed-by: Dragan Simic --- configs/evb-rk3328_defconfig | 3 --- configs/nanopi-r2c-plus-rk3328_defconfig | 3 ---

Re: [PATCH v2 06/20] rockchip: pine64: rockpro64: migrate to rockchip_early_misc_init_r

2024-02-12 Thread Peter Robinson
On Fri, 9 Feb 2024 at 09:50, Quentin Schulz wrote: > > From: Quentin Schulz > > Only setup_iodomain() differs from the original misc_init_r from > Rockchip mach code, so let's use rockchip_early_misc_init_r instead of > reimplementing the whole misc_init_r from Rockchip. Reviewed-by: Peter

Re: [PATCH v2 10/20] rockchip: transform rockchip_capsule_update_board_setup into a weak function symbol

2024-02-12 Thread Peter Robinson
On Fri, 9 Feb 2024 at 09:50, Quentin Schulz wrote: > > From: Quentin Schulz > > There's only one user of rockchip_capsule_update_board_setup, which is > in board.c, and only one board defines it, so instead of having a header > only for one function symbol, let's just use a weak symbol instead.

Re: [PATCH v2 04/20] rockchip: pine64: pinebook-pro: migrate to rockchip_early_misc_init_r

2024-02-12 Thread Quentin Schulz
Hi Peter, On 2/12/24 14:41, Peter Robinson wrote: On Fri, 9 Feb 2024 at 09:50, Quentin Schulz wrote: From: Quentin Schulz Compared to the original misc_init_r from Rockchip mach code, setup_iodomain() is added and rockchip_setup_macaddr() is not called. It is assumed adding

Re: [PATCH v2 04/20] rockchip: pine64: pinebook-pro: migrate to rockchip_early_misc_init_r

2024-02-12 Thread Dragan Simic
Hello Peter, On 2024-02-12 14:41, Peter Robinson wrote: On Fri, 9 Feb 2024 at 09:50, Quentin Schulz wrote: From: Quentin Schulz Compared to the original misc_init_r from Rockchip mach code, setup_iodomain() is added and rockchip_setup_macaddr() is not called. It is assumed adding

Re: [PATCH v2 09/20] rockchip: merge misc.c into board.c

2024-02-12 Thread Peter Robinson
On Fri, 9 Feb 2024 at 18:57, Dragan Simic wrote: > > Hello Mark, > > On 2024-02-09 19:36, Mark Kettenis wrote: > >> Date: Fri, 09 Feb 2024 18:58:01 +0100 > >> From: Dragan Simic > >> Please, see my comments below. > >> > >> On 2024-02-09 10:50, Quentin Schulz wrote: > >> > From: Quentin Schulz

Re: [PATCH 0/4] rockchip: Read cpuid and generate MAC address from efuse for RK3328 and RK3399

2024-02-12 Thread Peter Robinson
On Sat, 10 Feb 2024 at 06:32, Chen-Yu Tsai wrote: > > From: Chen-Yu Tsai > > Hi folks, > > This series enables ROCKCHIP_EFUSE and MISC_INIT_R by default for RK3328 > and RK3399 so that the cpuid is read from the efuse and used to generate > a serial number and MAC addresses for all boards. For

Re: [PATCH v2 5/5] rockchip: nanopi-r4s: Drop ROCKCHIP_OTP

2024-02-12 Thread Dragan Simic
On 2024-02-12 14:51, Chen-Yu Tsai wrote: From: Chen-Yu Tsai The NanoPi R4S has an RK3399 SoC, which has efuse supported by ROCKCHIP_EFUSE, not ROCKCHIP_OTP. Signed-off-by: Chen-Yu Tsai Reviewed-by: Dragan Simic --- configs/nanopi-r4s-rk3399_defconfig | 1 - 1 file changed, 1

Re: [PATCH 0/4] rockchip: Read cpuid and generate MAC address from efuse for RK3328 and RK3399

2024-02-12 Thread Chen-Yu Tsai
On Mon, Feb 12, 2024 at 9:57 PM Peter Robinson wrote: > > On Sat, 10 Feb 2024 at 06:32, Chen-Yu Tsai wrote: > > > > From: Chen-Yu Tsai > > > > Hi folks, > > > > This series enables ROCKCHIP_EFUSE and MISC_INIT_R by default for RK3328 > > and RK3399 so that the cpuid is read from the efuse and

Re: [PATCH v2 09/20] rockchip: merge misc.c into board.c

2024-02-12 Thread Dragan Simic
Hello Peter, On 2024-02-12 14:56, Peter Robinson wrote: On Fri, 9 Feb 2024 at 18:57, Dragan Simic wrote: On 2024-02-09 19:36, Mark Kettenis wrote: >> Date: Fri, 09 Feb 2024 18:58:01 +0100 >> From: Dragan Simic >> Please, see my comments below. >> >> On 2024-02-09 10:50, Quentin Schulz wrote:

Re: [PATCH v2 09/20] rockchip: merge misc.c into board.c

2024-02-12 Thread Peter Robinson
On Mon, 12 Feb 2024 at 14:16, Dragan Simic wrote: > > Hello Peter, > > On 2024-02-12 14:56, Peter Robinson wrote: > > On Fri, 9 Feb 2024 at 18:57, Dragan Simic wrote: > >> On 2024-02-09 19:36, Mark Kettenis wrote: > >> >> Date: Fri, 09 Feb 2024 18:58:01 +0100 > >> >> From: Dragan Simic > >> >>

  1   2   >