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

2024-05-31 Thread Anand Moon
Hi Dragan, On Sat, 1 Jun 2024 at 03:23, Dragan Simic wrote: > > Hello Anand, > > On 2024-05-31 16:18, Anand Moon wrote: > > From: Anand Moon > > > > Read the reset cause from clock reset unit for RV1126 SoC. > > > > Cc: Jagan Teki > > Signed-off-by: Anand Moon > > Signed-off-by: Anand Moon >

Re: [PATCH RFC v2 22/23] sysreset: rockchip: use fst reset for ARM64 SOC

2024-05-31 Thread Anand Moon
Hi Jonas On Fri, 31 May 2024 at 22:14, Jonas Karlman wrote: > > Hi Anand and Kever, > > On 2024-05-31 16:18, Anand Moon wrote: > > From: Kever Yang > > > > Rockchip ARM64 SOC will change cpu entry, only fst reset can reset it. > > What is this trying to fix? And what SoCs is affected? > > My

Re: [PATCH v2 0/3] arm: dts: am62-beagleplay: Fix Beagleplay Ethernet

2024-05-31 Thread Tom Rini
On Fri, May 31, 2024 at 07:53:24PM +0300, Roger Quadros wrote: > Tom, > > On 31/05/2024 19:32, Roger Quadros wrote: > > Hi Tom, > > > > On 20/05/2024 18:56, Tom Rini wrote: > >> On Mon, 13 May 2024 15:13:53 +0300, Roger Quadros wrote: > >> > >>> Sync AM62 device tree files with Linux v6.9 and >

[PATCH v3 2/9] dts: ti: binman: Add base K3 firmware capsule nodes

2024-05-31 Thread Jonathan Humphreys
Create capsule files for tiboot3.bin, tispl.bin, and u-boot.img. Signed-off-by: Jonathan Humphreys --- arch/arm/dts/k3-binman-capsule-r5.dtsi | 21 ++ arch/arm/dts/k3-binman-capsule.dtsi| 38 ++ 2 files changed, 59 insertions(+) create mode 100644

[PATCH v3 3/9] dts: am64x: binman: Include firmware capsules binman nodes

2024-05-31 Thread Jonathan Humphreys
Fill in the am64x SK's capsule GUID properties of the base binman capsule nodes. Signed-off-by: Jonathan Humphreys --- arch/arm/dts/k3-am64x-binman.dtsi | 30 ++ 1 file changed, 30 insertions(+) diff --git a/arch/arm/dts/k3-am64x-binman.dtsi

[PATCH v3 8/9] dts: beagleboneai64: binman: Include firmware capsules binman nodes

2024-05-31 Thread Jonathan Humphreys
Fill in the BeagleBoneAI64's capsule GUID properties of the base binman capsule nodes. Also add it's SYSFW binman capsule node. Signed-off-by: Jonathan Humphreys --- .../dts/k3-j721e-beagleboneai64-u-boot.dtsi | 23 +++ arch/arm/dts/k3-j721e-r5-beagleboneai64.dts | 29

[PATCH v3 7/9] dts: am62x: binman: Include firmware capsules binman nodes

2024-05-31 Thread Jonathan Humphreys
Fill in the am62x SK's capsule GUID properties of the base binman capsule nodes. Signed-off-by: Jonathan Humphreys --- arch/arm/dts/k3-am625-sk-binman.dtsi | 30 1 file changed, 30 insertions(+) diff --git a/arch/arm/dts/k3-am625-sk-binman.dtsi

[PATCH v3 0/9] binman: ti: create binman nodes for EFI capsules

2024-05-31 Thread Jonathan Humphreys
Add binman nodes for EFI capsules of firmware components so that capsules are automatically created during the UBoot builds. This is enabled for several TI SoC based platforms: AM64, AM62, AM62p, BeaglePlay, AM69, J7, and BeagleboneAI. Changes from v1: - on GP devices, still use signed images in

[PATCH v3 5/9] dts: beagleplay: binman: Include firmware capsules binman nodes

2024-05-31 Thread Jonathan Humphreys
Fill in the BeaglePlay's capsule GUID properties of the base binman capsule nodes. Signed-off-by: Jonathan Humphreys --- arch/arm/dts/k3-am625-beagleplay-u-boot.dtsi | 27 arch/arm/dts/k3-am625-r5-beagleplay.dts | 15 +++ 2 files changed, 42 insertions(+) diff

[PATCH v3 6/9] dts: am62px: binman: Include firmware capsules binman nodes

2024-05-31 Thread Jonathan Humphreys
Fill in the am62px SK's capsule GUID properties of the base binman capsule nodes. Signed-off-by: Jonathan Humphreys --- arch/arm/dts/k3-am62p-sk-binman.dtsi | 29 1 file changed, 29 insertions(+) diff --git a/arch/arm/dts/k3-am62p-sk-binman.dtsi

[PATCH v3 9/9] dts: j784s4: binman: Include firmware capsules binman nodes

2024-05-31 Thread Jonathan Humphreys
Fill in the AM69 SK's capsule GUID properties of the base binman capsule nodes. Signed-off-by: Jonathan Humphreys --- arch/arm/dts/k3-j784s4-binman.dtsi | 35 ++ 1 file changed, 35 insertions(+) diff --git a/arch/arm/dts/k3-j784s4-binman.dtsi

[PATCH v3 1/9] tools: Build mkeficapsule tool by default if EFI_LOADER is set

2024-05-31 Thread Jonathan Humphreys
Trigger the building of the mkeficapsule tool if EFI_LOADER is enabled. Previously it was triggered on EFI_CAPSULE_ON_DISK, but mkeficapsule is needed when a capsule is being generated for a bootloader stage, not just from the stage applying them. EFI_LOADER is a more accurate approximation of

[PATCH v3 4/9] dts: j721e: binman: Include firmware capsules binman nodes

2024-05-31 Thread Jonathan Humphreys
Fill in the J721e SK's capsule GUID properties of the base binman capsule nodes. Also add it's SYSFW binman capsule node. Signed-off-by: Jonathan Humphreys --- arch/arm/dts/k3-j721e-binman.dtsi | 49 +++ 1 file changed, 49 insertions(+) diff --git

[PATCH] configs: j784s4: Enable OSPI NOR boot

2024-05-31 Thread Jonathan Humphreys
Set necessary configs to enable the j784s4 device to boot from OSPI NOR flash. Signed-off-by: Jonathan Humphreys --- configs/j784s4_evm_a72_defconfig | 2 ++ configs/j784s4_evm_r5_defconfig | 2 ++ 2 files changed, 4 insertions(+) diff --git a/configs/j784s4_evm_a72_defconfig

[PATCH] configs: j784s4: Enable RTC emulation

2024-05-31 Thread Jonathan Humphreys
Enable RTC emulation for System Ready IR tests. Signed-off-by: Jonathan Humphreys --- configs/j784s4_evm_a72_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/j784s4_evm_a72_defconfig b/configs/j784s4_evm_a72_defconfig index 665aa39a6bf..8ef50f690fb 100644 ---

[PATCH] configs: j784s4: Enable basic EFI CMD support

2024-05-31 Thread Jonathan Humphreys
Enable basic configs for EFI CMD support. Signed-off-by: Jonathan Humphreys --- configs/j784s4_evm_a72_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/j784s4_evm_a72_defconfig b/configs/j784s4_evm_a72_defconfig index bb9603bef0f..665aa39a6bf 100644 ---

[PATCH v5 05/23] doc: board: ti: am64x: document OSPI layout

2024-05-31 Thread Jonathan Humphreys
Added OSPI flash layout diagram, as well as example commands to flash firmware to it. Signed-off-by: Jonathan Humphreys --- doc/board/ti/am64x_evm.rst | 24 + doc/board/ti/img/ospi_sysfw-am64.svg | 802 +++ 2 files changed, 826 insertions(+) create mode

[PATCH v5 08/23] doc: board: ti: j721e: document OSPI layout

2024-05-31 Thread Jonathan Humphreys
Updated OSPI flash layout diagram. Signed-off-by: Jonathan Humphreys --- doc/board/ti/img/ospi_sysfw.svg | 1464 +-- doc/board/ti/j721e_evm.rst | 58 +- 2 files changed, 847 insertions(+), 675 deletions(-) diff --git a/doc/board/ti/img/ospi_sysfw.svg

[PATCH v5 17/23] doc: board: ti: am62px: document OSPI layout

2024-05-31 Thread Jonathan Humphreys
Added OSPI flash layout diagram, as well as example commands to flash firmware to it. Signed-off-by: Jonathan Humphreys --- doc/board/ti/am62px_sk.rst | 24 1 file changed, 24 insertions(+) diff --git a/doc/board/ti/am62px_sk.rst b/doc/board/ti/am62px_sk.rst index

[PATCH v5 22/23] configs: j784s4: Enable EFI capsule update

2024-05-31 Thread Jonathan Humphreys
Enable on disk, raw capsule update. Signed-off-by: Jonathan Humphreys --- configs/j784s4_evm_a72_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/j784s4_evm_a72_defconfig b/configs/j784s4_evm_a72_defconfig index d7709f554fd..9cf1352cf7b 100644 ---

[PATCH v5 20/23] configs: j784s4_evm: Enable serial flash DFU support

2024-05-31 Thread Jonathan Humphreys
Enable serial flash DFU support for capsule update of firmware. Signed-off-by: Jonathan Humphreys --- configs/j784s4_evm_a72_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/j784s4_evm_a72_defconfig b/configs/j784s4_evm_a72_defconfig index e999a25319d..d7709f554fd 100644

[PATCH v5 23/23] doc: board: ti: j784s4: document OSPI NOR layout

2024-05-31 Thread Jonathan Humphreys
Added OSPI NOR flash layout diagram, as well as example commands to flash firmware to it. Added OSPI boot mode pin setting. Signed-off-by: Jonathan Humphreys --- doc/board/ti/img/ospi_sysfw3.svg | 802 +++ doc/board/ti/j784s4_evm.rst | 28 ++ 2 files changed,

[PATCH v5 15/23] board: am62px: Define capsule update firmware info

2024-05-31 Thread Jonathan Humphreys
Define the firmware components updatable via EFI capsule update, including defining capsule GUIDs for the various firmware components for the AM62px SK. Signed-off-by: Jonathan Humphreys --- board/ti/am62px/evm.c| 34 ++ include/configs/am62px_evm.h | 24

[PATCH v5 13/23] configs: am62x: Enable EFI capsule update

2024-05-31 Thread Jonathan Humphreys
Enable on disk, raw capsule update. 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 16294a6a794..f44e2bcf3d3 100644 ---

[PATCH v5 03/23] board: am64x: Define capsule update firmware info

2024-05-31 Thread Jonathan Humphreys
Define the firmware components updatable via EFI capsule update, including defining capsule GUIDs for the various firmware components for the AM64x SK. Signed-off-by: Jonathan Humphreys --- board/ti/am64x/evm.c| 34 ++ include/configs/am64x_evm.h | 24

[PATCH v5 14/23] doc: board: ti: am62x: document OSPI layout

2024-05-31 Thread Jonathan Humphreys
Added OSPI flash layout diagram, as well as example commands to flash firmware to it. Signed-off-by: Jonathan Humphreys --- doc/board/ti/am62x_sk.rst| 24 + doc/board/ti/img/ospi_sysfw2.svg | 802 +++ 2 files changed, 826 insertions(+) create mode 100644

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

2024-05-31 Thread Jonathan Humphreys
Enable on disk, raw capsule update. 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 9f40c9a0b3c..7494148c88b 100644 ---

[PATCH v5 10/23] configs: beagleplay: Enable DFU for MMC

2024-05-31 Thread Jonathan Humphreys
MMC DFU is required for capsule updates. 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 ec62670d55d..dbdbaf98348 100644 ---

[PATCH v5 21/23] board: sk-am69: Define capsule update firmware info

2024-05-31 Thread Jonathan Humphreys
Define the firmware components updatable via EFI capsule update, including defining capsule GUIDs for the various firmware components for the AM69 SK. TODO: possibly make the struct's sk specific. TODO: add doc commit (and make sure doc is sk/NOR specific, and add OSIP boot mode) TODO: update doc

[PATCH v5 02/23] doc: ti: k3: Correct spelling mistakes and improve clarity

2024-05-31 Thread Jonathan Humphreys
Few cosmetic fixes for clarity and spelling mistakes. Signed-off-by: Jonathan Humphreys --- doc/board/ti/k3.rst | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/board/ti/k3.rst b/doc/board/ti/k3.rst index a1c01d1cf02..927f3976d34 100644 ---

[PATCH v5 06/23] board: j721e: Define capsule update firmware info

2024-05-31 Thread Jonathan Humphreys
Define the firmware components updatable via EFI capsule update, including defining capsule GUIDs for the various firmware components for the SK-TDA4VM. Signed-off-by: Jonathan Humphreys --- board/ti/j721e/evm.c| 40 + include/configs/j721e_evm.h | 29

[PATCH v5 09/23] board: beagleplay: Define capsule update firmware info

2024-05-31 Thread Jonathan Humphreys
Define the firmware components updatable via EFI capsule update, including defining capsule GUIDs for the various firmware components for the BeaglePlay. Note this involved creating BeaglePlay's own beagleplay.h board header file instead of reusing am62_evm's. Signed-off-by: Jonathan Humphreys

[PATCH v5 11/23] configs: beagleplay: Enable EFI capsule update

2024-05-31 Thread Jonathan Humphreys
Enable on disk, raw capsule update. Signed-off-by: Jonathan Humphreys --- configs/am62x_beagleplay_a53_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/am62x_beagleplay_a53_defconfig b/configs/am62x_beagleplay_a53_defconfig index dbdbaf98348..e2e3032cb7f 100644 ---

[PATCH v5 12/23] board: am62x: Define capsule update firmware info

2024-05-31 Thread Jonathan Humphreys
Define the firmware components updatable via EFI capsule update, including defining capsule GUIDs for the various firmware components for the AM62x SK. Signed-off-by: Jonathan Humphreys --- board/ti/am62x/evm.c| 34 ++ include/configs/am62x_evm.h | 24

[PATCH v5 01/23] doc: uefi: capsules: Add Capsule Update porting section

2024-05-31 Thread Jonathan Humphreys
Created a capsule update porting section in the documentation that outlines the steps a board developer must do when porting from an existing reference board implementation. In particular, added a big warning that new capsule GUID's need to be defined. Signed-off-by: Jonathan Humphreys ---

[PATCH v5 07/23] configs: j721e: Enable EFI capsule update

2024-05-31 Thread Jonathan Humphreys
Enable on disk, raw capsule update. 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 3d8e9391987..e2c2ad27ef8 100644 ---

[PATCH v5 19/23] configs: beagleboneai64: Enable EFI capsule update

2024-05-31 Thread Jonathan Humphreys
Enable on disk, raw capsule update. 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 a354876f8c2..ead1d8389c6

[PATCH v5 00/23] EFI: ti: Enable EFI capsule updates

2024-05-31 Thread Jonathan Humphreys
Enable on disk capsule updates, which includes defining the firmware components (tiboot3, spl, u-boot) and enabling processing of raw capsule updates. This is enabled for several TI SoC based platforms: AM64, AM62, AM62p, AM69, BeaglePlay, J7, and BeagleboneAI. This series also includes enabling

[PATCH v5 18/23] board: beagleboneai64: Define capsule update firmware info

2024-05-31 Thread Jonathan Humphreys
Define the firmware components updatable via EFI capsule update, including defining capsule GUIDs for the various firmware components for the BeagleBoneAI64. Note this involved creating BeagleBoneAI64's own beagleboneai64.h board header file instead of reusing j721e_evm's. Signed-off-by:

[PATCH v5 04/23] configs: am64x: Enable EFI capsule update

2024-05-31 Thread Jonathan Humphreys
Enable on disk, raw capsule update. 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 e000549d6d0..c9bdd7b54cc 100644 ---

Re: [PATCH RFC v2 22/23] sysreset: rockchip: use fst reset for ARM64 SOC

2024-05-31 Thread Dragan Simic
Hello Anand, On 2024-05-31 16:18, Anand Moon wrote: From: Kever Yang Rockchip ARM64 SOC will change cpu entry, only fst reset can reset it. Cc: Jagan Teki Signed-off-by: Kever Yang --- drivers/sysreset/sysreset_rockchip.c | 5 + 1 file changed, 5 insertions(+) diff --git

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

2024-05-31 Thread Dragan Simic
Hello Anand, On 2024-05-31 16:18, Anand Moon wrote: From: Anand Moon Read the reset cause from clock reset unit for RV1126 SoC. Cc: Jagan Teki Signed-off-by: Anand Moon Signed-off-by: Anand Moon --- arch/arm/include/asm/arch-rockchip/cru.h | 2 ++ arch/arm/mach-rockchip/cpu-info.c

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

2024-05-31 Thread Dragan Simic
Hello Anand, On 2024-05-31 16:18, Anand Moon wrote: From: Anand Moon Read the reset cause from clock reset unit for RV1108 SoC. Cc: Jagan Teki Signed-off-by: Anand Moon Signed-off-by: Anand Moon --- arch/arm/include/asm/arch-rockchip/cru.h | 2 ++ arch/arm/mach-rockchip/cpu-info.c

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

2024-05-31 Thread Dragan Simic
Hello Anand, On 2024-05-31 16:18, Anand Moon wrote: From: Anand Moon Read the reset cause from clock reset unit for RK3368 SoC. Cc: Jagan Teki Signed-off-by: Anand Moon Signed-off-by: Anand Moon --- arch/arm/include/asm/arch-rockchip/cru.h | 2 ++ arch/arm/mach-rockchip/cpu-info.c

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

2024-05-31 Thread Dragan Simic
Hello Anand, On 2024-05-31 16:18, Anand Moon wrote: From: Anand Moon Read the reset cause from clock reset unit for RK3308 SoC. Cc: Jagan Teki Signed-off-by: Anand Moon Signed-off-by: Anand Moon --- arch/arm/include/asm/arch-rockchip/cru.h | 2 ++ arch/arm/mach-rockchip/cpu-info.c

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

2024-05-31 Thread Dragan Simic
Hello Anand, On 2024-05-31 16:18, Anand Moon wrote: From: Anand Moon Read the reset cause from clock reset unit for PX30 SoC. Cc: Jagan Teki Signed-off-by: Anand Moon Signed-off-by: Anand Moon --- arch/arm/include/asm/arch-rockchip/cru.h | 2 ++ arch/arm/mach-rockchip/cpu-info.c|

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

2024-05-31 Thread Dragan Simic
Hello Anand, On 2024-05-31 16:18, Anand Moon wrote: From: Anand Moon Read the reset cause from clock reset unit for RK3588 SoC. Cc: Jagan Teki Signed-off-by: Anand Moon Signed-off-by: Anand Moon --- arch/arm/include/asm/arch-rockchip/cru.h | 2 ++ arch/arm/mach-rockchip/cpu-info.c

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

2024-05-31 Thread Dragan Simic
Hello Anand, On 2024-05-31 16: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 --- arch/arm/include/asm/arch-rockchip/cru.h | 2 ++ arch/arm/mach-rockchip/cpu-info.c

obscure microsd detection issue between U-Boot and kernel

2024-05-31 Thread Tim Harvey
Greetings, I'm seeing an issue on an imx8mm board (imx8mm-venice-gw73xx) where for a specific set of microsd cards if I have accessed the microsd in U-Boot with UHS/1.8V the kernel will not recognize that microsd when scanning. The issue does not occur with all microsd cards but seems to appear

Re: adding file to gitlab CI build directory?

2024-05-31 Thread Tom Rini
On Fri, May 31, 2024 at 06:35:38PM +0100, Andre Przywara wrote: > Hi, > > some Allwinner devices use some kind of "secure boot", which requires the > SPL image to be build wrapped in a TOC0 format instead of the normal EGON > format. mkimage supports that for a while, but for that to work it >

adding file to gitlab CI build directory?

2024-05-31 Thread Andre Przywara
Hi, some Allwinner devices use some kind of "secure boot", which requires the SPL image to be build wrapped in a TOC0 format instead of the normal EGON format. mkimage supports that for a while, but for that to work it requires some private key in the current directory. This key is easily

Re: [PATCH v3 03/25] mbedtls: add mbedtls into the build system

2024-05-31 Thread Raymond Mao
Hi Ilias and Tom, On Thu, 30 May 2024 at 16:17, Ilias Apalodimas wrote: > Hi Tom > > On Wed, 29 May 2024 at 22:47, Tom Rini wrote: > > > > On Wed, May 29, 2024 at 03:42:04PM -0400, Raymond Mao wrote: > > > Hi Tom, > > > > > > On Wed, 29 May 2024 at 14:43, Tom Rini wrote: > > > > > > > On Wed,

Re: [PATCH 1/6] arm: dts: k3-j7200-r5: Add the pmic node in R5 dt

2024-05-31 Thread Limaye, Aniket
On 5/31/2024 7:25 PM, Kumar, Udit wrote: On 5/31/2024 6:38 PM, Aniket Limaye wrote: Add bootph-pre-ram property to the buck node in the pmic needed for ESM error event handling. Signed-off-by: Aniket Limaye ---   arch/arm/dts/k3-j7200-r5-common-proc-board.dts | 9 +   1 file

Re: [PATCH v2 0/3] arm: dts: am62-beagleplay: Fix Beagleplay Ethernet

2024-05-31 Thread Roger Quadros
On 31/05/2024 19:47, Tom Rini wrote: > On Fri, May 31, 2024 at 07:32:37PM +0300, Roger Quadros wrote: >> Hi Tom, >> >> On 20/05/2024 18:56, Tom Rini wrote: >>> On Mon, 13 May 2024 15:13:53 +0300, Roger Quadros wrote: >>> Sync AM62 device tree files with Linux v6.9 and add in the

Re: [PATCH v2 0/3] arm: dts: am62-beagleplay: Fix Beagleplay Ethernet

2024-05-31 Thread Roger Quadros
Tom, On 31/05/2024 19:32, Roger Quadros wrote: > Hi Tom, > > On 20/05/2024 18:56, Tom Rini wrote: >> On Mon, 13 May 2024 15:13:53 +0300, Roger Quadros wrote: >> >>> Sync AM62 device tree files with Linux v6.9 and >>> add in the missing bits in -u-boot.dtsi to get CPSW >>> Ethernet working. >>>

Re: [PATCH v2 0/3] arm: dts: am62-beagleplay: Fix Beagleplay Ethernet

2024-05-31 Thread Tom Rini
On Fri, May 31, 2024 at 07:32:37PM +0300, Roger Quadros wrote: > Hi Tom, > > On 20/05/2024 18:56, Tom Rini wrote: > > On Mon, 13 May 2024 15:13:53 +0300, Roger Quadros wrote: > > > >> Sync AM62 device tree files with Linux v6.9 and > >> add in the missing bits in -u-boot.dtsi to get CPSW > >>

[PATCH 2/2] net: phy: Replace PHY_ANEG_TIMEOUT with Kconfig symbol

2024-05-31 Thread Marek Vasut
Switch PHY_ANEG_TIMEOUT to CONFIG_PHY_ANEG_TIMEOUT Kconfig symbol. This removes one more configuration headers option finalizes its Kconfig symbol conversion. No functional change expected. Signed-off-by: Marek Vasut --- Cc: Joe Hershberger Cc: Ramon Fried Cc: Tom Rini ---

[PATCH 1/2] net: phy: Turn default auto-negotiation timeout into Kconfig symbol

2024-05-31 Thread Marek Vasut
Let users configure default auto-negotiation timeout via Kconfig instead of specifying it in board configuration headers. This is the first step toward converting this to Kconfig fully, so far the legacy PHY_ANEG_TIMEOUT in configuration headers takes precedence. Signed-off-by: Marek Vasut ---

Re: [PATCH RFC v2 22/23] sysreset: rockchip: use fst reset for ARM64 SOC

2024-05-31 Thread Jonas Karlman
Hi Anand and Kever, On 2024-05-31 16:18, Anand Moon wrote: > From: Kever Yang > > Rockchip ARM64 SOC will change cpu entry, only fst reset can reset it. What is this trying to fix? And what SoCs is affected? My arm64 RK SoCs seem to reset using warm reset (second global reset). > > Cc:

Re: [PATCH v2 0/3] arm: dts: am62-beagleplay: Fix Beagleplay Ethernet

2024-05-31 Thread Roger Quadros
Hi Tom, On 20/05/2024 18:56, Tom Rini wrote: > On Mon, 13 May 2024 15:13:53 +0300, Roger Quadros wrote: > >> Sync AM62 device tree files with Linux v6.9 and >> add in the missing bits in -u-boot.dtsi to get CPSW >> Ethernet working. >> >> CI testing >> https://github.com/u-boot/u-boot/pull/534

Re: [PATCH v3 1/7] lib: uuid: add UUID v5 support

2024-05-31 Thread Ilias Apalodimas
Hi Caleb, [...] > +#if IS_ENABLED(CONFIG_UUID_GEN_V5) > +void gen_uuid_v5(const struct uuid *namespace, struct uuid *uuid, ...) > +{ > + sha1_context ctx; > + va_list args; > + const uint8_t *data; > + uint8_t hash[SHA1_SUM_LEN]; > + uint32_t tmp; > + > +

Re: [PATCH 1/1] Added arm64 assembly for examples/api crt0

2024-05-31 Thread Tom Rini
On Thu, May 30, 2024 at 02:53:17PM +, Brunham, Kalen wrote: > Hi Tom, > > What are next steps on this change? > > I'm committed to the idea of EFI apps opposed to examples/standalone. > EFI currently requires block devices which is not enabled when only using > flash. > > Should config

Re: [PATCH v3 4/7] sandbox: switch to dynamic UUIDs

2024-05-31 Thread Ilias Apalodimas
On Fri, 31 May 2024 at 16:50, Caleb Connolly wrote: > > Migrate sandbox over to generating it's capsule update image GUIDs > dynamically from the namespace and board/image info. Update the > reference and tests to use the new GUIDs. > > Signed-off-by: Caleb Connolly > --- > arch/Kconfig

[RESEND PATCH v4 3/3] venice: show emmc boot hardware partition

2024-05-31 Thread Tim Harvey
To aid in understanding what emmc hardware partition is being used to boot on power-up, display the hardware partition name in the SPL. Signed-off-by: Tim Harvey --- v4: new patch for this series --- board/gateworks/venice/spl.c | 16 1 file changed, 12 insertions(+), 4

[RESEND PATCH v4 1/3] mmc: use an enumerated type to represent PARTITION_CONFIG fields

2024-05-31 Thread Tim Harvey
Modern eMMC v4+ devices have multiple hardware partitions per the JEDEC specification described as: Boot Area Partition 1 Boot Area Partition 2 RPMB Partition General Purpose Partition 1 General Purpose Partition 2 General Purpose Partition 3 General Purpose Partition 4 User Data

[RESEND PATCH v4 2/3] mmc: allow use of hardware partition names for mmc partconf

2024-05-31 Thread Tim Harvey
eMMC v4+ devices have hardware partitions that are accessed via the PARTITION_CONFIG (Extended CSD Register 179) PARTITION_ACCESS and BOOT_PARTITION_ENABLE fields defined as: bit 5:3: BOOT_PARTITION_ENABLE   0x0: Device not boot enabled (default)   0x1: Boot Area partition 1 enabled for boot  

[RESEND PATCH v4 0/3] provide names for emmc hardware partitions

2024-05-31 Thread Tim Harvey
Modern eMMC v4+ devices have multiple hardware partitions per the JEDEC specification described as: Boot Area Partition 1 Boot Area Partition 2 RPMB Partition General Purpose Partition 1 General Purpose Partition 2 General Purpose Partition 3 General Purpose Partition 4 User Data Area

Re: [PATCH] arm64: zynqmp: Update rproc node

2024-05-31 Thread Tanmay Shah
Reviewed-by: Tanmay Shah On 5/31/24 1:06 AM, Michal Simek wrote: > > > On 5/31/24 00:16, Tanmay Shah wrote: >> >> >> On 5/30/24 5:39 AM, Michal Simek wrote: >>> remoteproc node should be updated to be aligned with the latest dt-schema. >>> >>> Signed-off-by: Michal Simek >>> --- >>> >>>

[PATCH 1/2] clk: sunxi: support Ethernet clock gates and resets on V3s-based SoCs

2024-05-31 Thread Tobias Schramm
Previously Ethernet clock gates and resets were missing from the V3s CCU driver. Add the required clock gates and resets for Ethernet MAC and internal Ethernet phy. Signed-off-by: Tobias Schramm --- drivers/clk/sunxi/clk_v3s.c | 6 ++ 1 file changed, 6 insertions(+) diff --git

[PATCH 2/2] net: sun8i_emac: add support for EMAC on V3s-based SoCs

2024-05-31 Thread Tobias Schramm
The Allwinner V3s SoC and related SoCs have a fast Ethernet MAC with internal Ethernet phy. The internal phy is connected via MII and the MII is not exposed externally on SoC pins. Add support for this MAC and phy combo to the sun8i EMAC driver. Signed-off-by: Tobias Schramm ---

[PATCH 0/2] sunxi: add support for Ethernet on V3s-based SoCs

2024-05-31 Thread Tobias Schramm
This patchset adds support for Ethernet on V3s-based SoCs, adding in required clock gates, resets to the CCU driver and finally a matching configuration for the sun8i_emac driver. Tobias Schramm (2): clk: sunxi: support Ethernet clock gates and resets on V3s-based SoCs net: sun8i_emac: add

[PATCH] arm: sunxi: add support for I2C1 on V3s-based SoCs

2024-05-31 Thread Tobias Schramm
Previously enabling I2C1 when using a V3s-based SoC had no effect. Set pinmux on PE21 and PE22 to I2C1 function when enabling I2C1 on V3s-based SoCs. Signed-off-by: Tobias Schramm --- board/sunxi/board.c | 4 include/sunxi_gpio.h | 1 + 2 files changed, 5 insertions(+) diff --git

[PATCH v1 2/5] usb: tcpm: fusb302: add driver

2024-05-31 Thread Sebastian Reichel
Now that the TCPM framework exists we can introduce fusb302 driver using it. This chip is a very common USB-C controller chip with PD support, which can be found in the Radxa Rock 5B among many other boards. Apart from Power Delivery, it also handles detection of the cable orientation. That can be

[PATCH v1 5/5] MAINTAINERS: add TCPM section

2024-05-31 Thread Sebastian Reichel
Add new section for USB TypeC Port Manager (TCPM) support, which is needed to figure out cable orientation of USB-C plus and to do USB PD communication. Signed-off-by: Sebastian Reichel --- MAINTAINERS | 8 1 file changed, 8 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index

[PATCH v1 4/5] board: rock5b-rk3588: enable USB-C in operating system

2024-05-31 Thread Sebastian Reichel
Since older U-Boot releases do not negotiate USB PD, the kernel DT may not enable the USB-C controller by default to avoid a regression. The plan is to upstream it with 'status = "fail";' instead. U-Boot should then mark it as 'status = "okay";' if it negotiated USB PD. Signed-off-by: Sebastian

[PATCH v1 1/5] usb: tcpm: add core framework

2024-05-31 Thread Sebastian Reichel
This adds TCPM framework in preparation for fusb302 support, which can handle USB power delivery messages. This is needed to solve issues with devices, that are running from a USB-C port supporting USB-PD, but not having a battery. Such a device currently boots to the kernel without interacting

[PATCH v1 0/5] FUSB302 USB-C controller support

2024-05-31 Thread Sebastian Reichel
Hi, On ROCK 5B power is usually supplied via it's USB-C port. This port has the data lines connected to RK3588, VBUS connected to the input regulator and CC pins connected to FUSB302. FUSB302 is a USB-C controller, which can be accessed via I2C from RK3588. The USB-C controller is needed to

[PATCH v1 3/5] board: rock5b-rk3588: add USB-C controller support

2024-05-31 Thread Sebastian Reichel
Enable support for the fusb302 USB Type-C controller. This will do early USB PD (power deliver) negotiation, which must happen within 5 seconds after the USB-C connector has plugged in according to the specification. It takes almost 5 seconds to go through the bootchain on Rock 5B and jump to the

[PATCH] spl: Kconfig: ARCH_K3: Set default SPL_STACK_R_MALLOC_SIMPLE_LEN for R5 build

2024-05-31 Thread Vignesh Raghavendra
All ARCH_K3 platforms need about of 2MB of malloc space post reallocation. Since, this space is allocated from SDRAM, provide a generous 2MB space by default. Platforms requiring more than 2MB can override in defconfig as needed. Signed-off-by: Vignesh Raghavendra --- common/spl/Kconfig

Re: [PATCH 0/2] sunxi: add support for Ethernet on V3s-based SoCs

2024-05-31 Thread Andre Przywara
On Fri, 31 May 2024 16:33:48 +0200 Tobias Schramm wrote: Hi Tobias, > This patchset adds support for Ethernet on V3s-based SoCs, adding in > required clock gates, resets to the CCU driver and finally a matching > configuration for the sun8i_emac driver. Michael already sent identical patches

[PATCH RFC v2 23/23] sysreset: rockchip: use dev_read_addr_ptr get cru base

2024-05-31 Thread Anand Moon
From: Andy Yan Use system api dev_read_addr_ptr to get cru reg base, rather than rockchip private api rockchip_get_cru, which will be cleanup later. Cc: Jagan Teki Signed-off-by: Andy Yan --- drivers/sysreset/sysreset_rockchip.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff

[PATCH RFC v2 22/23] sysreset: rockchip: use fst reset for ARM64 SOC

2024-05-31 Thread Anand Moon
From: Kever Yang Rockchip ARM64 SOC will change cpu entry, only fst reset can reset it. Cc: Jagan Teki Signed-off-by: Kever Yang --- drivers/sysreset/sysreset_rockchip.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/sysreset/sysreset_rockchip.c

[PATCH RFC v2 21/23] rockchip: RV1126: Enable display cpuinfo support on all boards

2024-05-31 Thread Anand Moon
From: Anand Moon Enable DISPLAY_CPUINFO options to support on all RV1126 boards. Its used to determine the reset cause of the board. Cc: Jagan Teki Signed-off-by: Anand Moon Signed-off-by: Anand Moon --- configs/neu2-io-rv1126_defconfig | 1 - configs/sonoff-ihost-rv1126_defconfig | 1

[PATCH RFC v2 20/23] rockchip: RV1126: Read the reset cause from clock reset unit for RV1126 SoC

2024-05-31 Thread Anand Moon
From: Anand Moon Read the reset cause from clock reset unit for RV1126 SoC. Cc: Jagan Teki Signed-off-by: Anand Moon Signed-off-by: Anand Moon --- arch/arm/include/asm/arch-rockchip/cru.h | 2 ++ arch/arm/mach-rockchip/cpu-info.c| 2 ++ 2 files changed, 4 insertions(+) diff --git

[PATCH RFC v2 19/23] rockchip: RV1108: Enable display cpuinfo support on all boards

2024-05-31 Thread Anand Moon
From: Anand Moon Enable DISPLAY_CPUINFO options to support on all RV1108 boards. Its used to determine the reset cause of the board. Cc: Jagan Teki Signed-off-by: Anand Moon Signed-off-by: Anand Moon --- configs/elgin-rv1108_defconfig | 1 - configs/evb-rv1108_defconfig | 1 - 2 files

[PATCH RFC v2 18/23] rockchip: RV1108: Read the reset cause from clock reset unit for RV1108 SoC

2024-05-31 Thread Anand Moon
From: Anand Moon Read the reset cause from clock reset unit for RV1108 SoC. Cc: Jagan Teki Signed-off-by: Anand Moon Signed-off-by: Anand Moon --- arch/arm/include/asm/arch-rockchip/cru.h | 2 ++ arch/arm/mach-rockchip/cpu-info.c| 2 ++ 2 files changed, 4 insertions(+) diff --git

[PATCH RFC v2 17/23] rockchip: RK3368: Enable display cpuinfo support on all boards

2024-05-31 Thread Anand Moon
From: Anand Moon Enable DISPLAY_CPUINFO options to support on all RK3368 boards. Its used to determine the reset cause of the board. Cc: Jagan Teki Signed-off-by: Anand Moon Signed-off-by: Anand Moon --- configs/evb-px5_defconfig | 1 - configs/geekbox_defconfig | 1 -

[PATCH RFC v2 16/23] rockchip: RK3368: Read the reset cause from clock reset unit for RK3368 SoC

2024-05-31 Thread Anand Moon
From: Anand Moon Read the reset cause from clock reset unit for RK3368 SoC. Cc: Jagan Teki Signed-off-by: Anand Moon Signed-off-by: Anand Moon --- arch/arm/include/asm/arch-rockchip/cru.h | 2 ++ arch/arm/mach-rockchip/cpu-info.c| 2 ++ 2 files changed, 4 insertions(+) diff --git

[PATCH RFC v2 15/23] rockchip: RK3308: Enable display cpuinfo support on all boards

2024-05-31 Thread Anand Moon
From: Anand Moon Enable DISPLAY_CPUINFO options to support on all RK3308 boards. Its used to determine the reset cause of the board. Cc: Jagan Teki Signed-off-by: Anand Moon Signed-off-by: Anand Moon --- configs/evb-rk3308_defconfig | 1 - configs/roc-cc-rk3308_defconfig| 1 -

[PATCH RFC v2 14/23] rockchip: RK3308: Read the reset cause from clock reset unit for RK3308 SoC

2024-05-31 Thread Anand Moon
From: Anand Moon Read the reset cause from clock reset unit for RK3308 SoC. Cc: Jagan Teki Signed-off-by: Anand Moon Signed-off-by: Anand Moon --- arch/arm/include/asm/arch-rockchip/cru.h | 2 ++ arch/arm/mach-rockchip/cpu-info.c| 2 ++ 2 files changed, 4 insertions(+) diff --git

[PATCH RFC v2 13/23] rockchip: RK3288: Enable display cpuinfo support on all boards

2024-05-31 Thread Anand Moon
From: Anand Moon Enable DISPLAY_CPUINFO options to support on all RK3288 boards. Its used to determine the reset cause of the board. Cc: Jagan Teki Signed-off-by: Anand Moon Signed-off-by: Anand Moon --- configs/chromebit_mickey_defconfig | 1 - configs/chromebook_jerry_defconfig | 1 -

[PATCH RFC v2 12/23] rockchip: RK3288: Read the reset cause from clock reset unit for RK3288 SoC

2024-05-31 Thread Anand Moon
From: Anand Moon Read the reset cause from clock reset unit for RK3288 SoC. Cc: Jagan Teki Signed-off-by: Anand Moon Signed-off-by: Anand Moon --- arch/arm/mach-rockchip/cpu-info.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/mach-rockchip/cpu-info.c

[PATCH RFC v2 11/23] rockchip: PX30: Enable display cpuinfo support on all boards

2024-05-31 Thread Anand Moon
From: Anand Moon Enable DISPLAY_CPUINFO options to support on all PX30 boards. Its used to determine the reset cause of the board. Cc: Jagan Teki Signed-off-by: Anand Moon Signed-off-by: Anand Moon --- configs/evb-px30_defconfig| 1 - configs/firefly-px30_defconfig

[PATCH RFC v2 10/23] rockchip: PX30: Read the reset cause from clock reset unit for PX30 SoC

2024-05-31 Thread Anand Moon
From: Anand Moon Read the reset cause from clock reset unit for PX30 SoC. Cc: Jagan Teki Signed-off-by: Anand Moon Signed-off-by: Anand Moon --- arch/arm/include/asm/arch-rockchip/cru.h | 2 ++ arch/arm/mach-rockchip/cpu-info.c| 2 ++ 2 files changed, 4 insertions(+) diff --git

[PATCH RFC v2 09/23] rockchip: RK3588: Enable display cpuinfo support on all boards

2024-05-31 Thread Anand Moon
From: Anand Moon Enable DISPLAY_CPUINFO options to support on all RK3588 boards. Its used to determine the reset cause of the board. Cc: Jagan Teki Signed-off-by: Anand Moon Signed-off-by: Anand Moon --- configs/coolpi-4b-rk3588s_defconfig | 1 - configs/coolpi-cm5-evb-rk3588_defconfig

[PATCH RFC v2 08/23] rockchip: RK3588: Read the reset cause from clock reset unit for RK3588 SoC

2024-05-31 Thread Anand Moon
From: Anand Moon Read the reset cause from clock reset unit for RK3588 SoC. Cc: Jagan Teki Signed-off-by: Anand Moon Signed-off-by: Anand Moon --- arch/arm/include/asm/arch-rockchip/cru.h | 2 ++ arch/arm/mach-rockchip/cpu-info.c| 2 ++ 2 files changed, 4 insertions(+) diff --git

[PATCH RFC v2 07/23] rockchip: RK3568: Enable display cpuinfo support on all boards

2024-05-31 Thread Anand Moon
From: Anand Moon Enable DISPLAY_CPUINFO options to support on all RK3568 boards. Its used to determine the reset cause of the board. Cc: Jagan Teki Signed-off-by: Anand Moon Signed-off-by: Anand Moon --- configs/anbernic-rgxx3-rk3566_defconfig | 1 - configs/bpi-r2-pro-rk3568_defconfig

[PATCH RFC v2 06/23] rockchip: RK3568: Read the reset cause from clock reset unit for RK356x SoC

2024-05-31 Thread Anand Moon
From: Anand Moon Read the reset cause from clock reset unit for RK356x SoC. Cc: Jagan Teki Signed-off-by: Anand Moon Signed-off-by: Anand Moon --- arch/arm/mach-rockchip/cpu-info.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/mach-rockchip/cpu-info.c

[PATCH RFC v2 05/23] arm: rockchip: Enable display cpuinfo to be build with SPL_BUILD

2024-05-31 Thread Anand Moon
From: Anand Moon Changes help enable CONFIG_DISPLAY_CPUINFO to build with SPL_BUILD for SoC RK356x and RK3588. Cc: Jagan Teki Signed-off-by: Anand Moon Signed-off-by: Anand Moon --- arch/arm/mach-rockchip/Makefile | 3 --- 1 file changed, 3 deletions(-) diff --git

[PATCH RFC v2 04/23] rockchip: RK3399: Enable display cpuinfo support on all boards

2024-05-31 Thread Anand Moon
From: Anand Moon Enable DISPLAY_CPUINFO options to support on all RK3399 boards. Its used to determine the reset cause of the board. Cc: Jagan Teki Signed-off-by: Anand Moon Signed-off-by: Anand Moon --- configs/chromebook_bob_defconfig | 1 - configs/chromebook_kevin_defconfig | 1 - 2

  1   2   >