[PATCH v1 1/1] arch/arm/dts/zynqmp-sck-kr-g-revB.dts: add output-enable pins

2023-08-29 Thread Neal Frager
Now that the zynqmp pinctrl driver supports the tri-state registers, this patch makes sure that the pins requiring output-enable are configured appropriately for the KR260 Starter Kit. Without this patch, the USB to SD card bridge on the KR260 starter kit is not enabled correctly when booting via

Re: [RFC PATCH 5/5] doc: Add a document for non-compliant DT node/property removal

2023-08-29 Thread Sughosh Ganu
hi Simon, On Tue, 29 Aug 2023 at 22:55, Simon Glass wrote: > > Hi Sughosh, > > On Mon, 28 Aug 2023 at 12:35, Sughosh Ganu wrote: > > > > hi Simon, > > > > On Mon, 28 Aug 2023 at 23:25, Simon Glass wrote: > > > > > > Hi Sughosh, > > > > > > On Sat, 26 Aug 2023 at 03:07, Sughosh Ganu > > > wrot

RE: [PATCH v2] spl: bootstage: move bootstage_stash before jumping to image

2023-08-29 Thread Chanho Park
Hi Simon, > -Original Message- > From: Simon Glass > Sent: Wednesday, August 30, 2023 1:38 AM > To: Chanho Park > Cc: Nikhil M Jain ; Marek Vasut ; u- > b...@lists.denx.de > Subject: Re: [PATCH v2] spl: bootstage: move bootstage_stash before > jumping to image > > Hi Chanho, > > On Mon

Re: [PATCH v11 00/15] Integrate EFI capsule tasks into U-Boot's build flow

2023-08-29 Thread Simon Glass
Hi, On Tue, 29 Aug 2023 at 17:15, Tom Rini wrote: > > On Tue, 22 Aug 2023 23:09:53 +0530, Sughosh Ganu wrote: > > > This patchset aims to bring two capsule related tasks under the U-Boot > > build flow. > > > > The first task is related to generation of capsules. The capsules can > > be generated

Re: [PATCH v11 00/15] Integrate EFI capsule tasks into U-Boot's build flow

2023-08-29 Thread Tom Rini
On Tue, 22 Aug 2023 23:09:53 +0530, Sughosh Ganu wrote: > This patchset aims to bring two capsule related tasks under the U-Boot > build flow. > > The first task is related to generation of capsules. The capsules can > be generated as part of U-Boot build, and this is being achieved > through bin

[RFC PATCH 2/2] configs: Add am62x_beagleplay_* defconfigs

2023-08-29 Thread Andrew Davis
Add am62x_beagleplay_r5_defconfig for R5 SPL and am62x_beagleplay_a53_defconfig for A53 SPL and U-Boot support. These defconfigs are composite defconfigs built from the config fragment board/ti/am62x/beagleplay_*.config applied onto the base am62x_evm_*_defconfig. Signed-off-by: Andrew Davis ---

[RFC PATCH 0/2] Allow defconfigs defined from fragments

2023-08-29 Thread Andrew Davis
Hello all, For context see thread ending here[0]. Thanks, Andrew [0] https://marc.info/?l=u-boot&m=169333616210919&w=2 Andrew Davis (2): Makefile: Run defconfig files through the C preprocessor configs: Add am62x_beagleplay_* defconfigs configs/am62x_beagleplay_a53_defconfig | 3 +++ conf

[RFC PATCH 1/2] Makefile: Run defconfig files through the C preprocessor

2023-08-29 Thread Andrew Davis
This allows us to use some of the normal preprocessor directives inside defconfig files. Such as #define and #include. Signed-off-by: Andrew Davis --- scripts/kconfig/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/kconfig/Makefile b/scripts/kconfig/Makefil

Re: [PATCH v4 4/4] memory: Add ECC property

2023-08-29 Thread Rob Herring
On Tue, Aug 29, 2023 at 2:18 PM Simon Glass wrote: > > Some memories provides ECC correction. For software which wants to check > memory, it is helpful to see which regions provide this feature. > > Add this as a property of the /memory nodes, since it presumably follows > the hardware-level memor

Re: [PATCH v3 1/2] schemas: Add a schema for memory map

2023-08-29 Thread Ard Biesheuvel
On Tue, 29 Aug 2023 at 21:18, Simon Glass wrote: > > Hi Ard, > > On Thu, 24 Aug 2023 at 03:10, Ard Biesheuvel wrote: > > > > On Wed, 23 Aug 2023 at 22:04, Simon Glass wrote: > > > > > > Hi, > > > > > > On Wed, 23 Aug 2023 at 08:24, Ard Biesheuvel wrote: > > > > > > > > On Wed, 23 Aug 2023 at 10

Re: [PATCH v1] CI: Add jsonschema python module

2023-08-29 Thread Andrejs Cainikovs
On 29/08/2023 17:37, Andrejs Cainikovs wrote: > On 29/08/2023 17:04, Tom Rini wrote: >> Interesting. How exactly are you using these CI images? We have >> tools/buildman/requirements.txt now to cover the newly-added modules in >> CI, as we call pip on that. But, it's not being used in the prepopu

Re: [PATCH v4 2/4] Bring in other reserved-memory files

2023-08-29 Thread Rob Herring
On Tue, Aug 29, 2023 at 2:18 PM Simon Glass wrote: > > Add those files from v6.5 which are already converted to yaml. > > Signed-off-by: Simon Glass > --- > > Changes in v4: > - New patch > > .../schemas/reserved-memory/framebuffer.yaml | 52 +++ > .../reserved-memory/google,open-dice.yaml

[PATCH v2 2/4] fdt: kaslr seed from tpm entropy

2023-08-29 Thread seanedmond
From: Dhananjay Phadke Add support for KASLR seed from TPM device. Invokes tpm_get_random() API to read 8-bytes of random bytes for KASLR. Signed-off-by: Dhananjay Phadke Signed-off-by: Drew Kluemke Signed-off-by: Sean Edmond --- boot/image-fdt.c | 15 +++ common/fdt_support

[PATCH v2 4/4] dm: core: Modify default for OFNODE_MULTI_TREE

2023-08-29 Thread seanedmond
From: Sean Edmond There is a preference to use the "ofnode" API for FDT fixups moving forward. The FDT fixup will usually be for the kernel FDT. To fixup the kernel FDT with the ofnode API, it's required to set the OFNODE_MULTI_TREE option. To ensure existing users of kaslr fdt fixup are not i

[PATCH v2 3/4] cmd: kaslrseed: Use common API to fixup FDT

2023-08-29 Thread seanedmond
From: Sean Edmond Use the newly introduced common API fdt_fixup_kaslr_seed() in the kaslrseed command. Signed-off-by: Sean Edmond --- cmd/kaslrseed.c | 22 -- 1 file changed, 8 insertions(+), 14 deletions(-) diff --git a/cmd/kaslrseed.c b/cmd/kaslrseed.c index 8a1d8120cd..

[PATCH v2 1/4] fdt: common API to populate kaslr seed

2023-08-29 Thread seanedmond
From: Dhananjay Phadke fdt_fixup_kaslr_seed() will update given ofnode with random seed value. Source for random seed can be TPM or RNG driver in u-boot or sec firmware (ARM). Signed-off-by: Dhananjay Phadke Signed-off-by: Sean Edmond --- arch/arm/cpu/armv8/sec_firmware.c | 39 +++

[PATCH v2 0/4] Populate kaslr seed with TPM

2023-08-29 Thread seanedmond
From: Sean Edmond This patch series creates a common API (fdt_fixup_kaslr_seed()) for populating the kaslr seed in the DTB. Existing users (kaslrseed, and ARMv8 sec firmware) have been updated to use this common API. New functionality has been introduced to populate the kaslr using the TPM int

[PATCH v2 1/4] fdt: common API to populate kaslr seed

2023-08-29 Thread seanedmond
From: Dhananjay Phadke fdt_fixup_kaslr_seed() will update given ofnode with random seed value. Source for random seed can be TPM or RNG driver in u-boot or sec firmware (ARM). Signed-off-by: Dhananjay Phadke Signed-off-by: Sean Edmond --- arch/arm/cpu/armv8/sec_firmware.c | 39 +++

[PATCH v2 2/4] fdt: kaslr seed from tpm entropy

2023-08-29 Thread seanedmond
From: Dhananjay Phadke Add support for KASLR seed from TPM device. Invokes tpm_get_random() API to read 8-bytes of random bytes for KASLR. Signed-off-by: Dhananjay Phadke Signed-off-by: Drew Kluemke Signed-off-by: Sean Edmond --- boot/image-fdt.c | 15 +++ common/fdt_support

[PATCH v2 4/4] dm: core: Modify default for OFNODE_MULTI_TREE

2023-08-29 Thread seanedmond
From: Sean Edmond There is a preference to use the "ofnode" API for FDT fixups moving forward. The FDT fixup will usually be for the kernel FDT. To fixup the kernel FDT with the ofnode API, it's required to set the OFNODE_MULTI_TREE option. To ensure existing users of kaslr fdt fixup are not i

[PATCH v2 3/4] cmd: kaslrseed: Use common API to fixup FDT

2023-08-29 Thread seanedmond
From: Sean Edmond Use the newly introduced common API fdt_fixup_kaslr_seed() in the kaslrseed command. Signed-off-by: Sean Edmond --- cmd/kaslrseed.c | 22 -- 1 file changed, 8 insertions(+), 14 deletions(-) diff --git a/cmd/kaslrseed.c b/cmd/kaslrseed.c index 8a1d8120cd..

[PATCH 2/4] fdt: kaslr seed from tpm entropy

2023-08-29 Thread seanedmond
From: Dhananjay Phadke Add support for KASLR seed from TPM device. Invokes tpm_get_random() API to read 8-bytes of random bytes for KASLR. Signed-off-by: Dhananjay Phadke Signed-off-by: Drew Kluemke Signed-off-by: Sean Edmond --- boot/image-fdt.c | 15 +++ common/fdt_support

[PATCH v2 0/4] Populate kaslr seed with TPM

2023-08-29 Thread seanedmond
From: Sean Edmond This patch series creates a common API (fdt_fixup_kaslr_seed()) for populating the kaslr seed in the DTB. Existing users (kaslrseed, and ARMv8 sec firmware) have been updated to use this common API. New functionality has been introduced to populate the kaslr using the TPM int

[PATCH 4/4] dm: core: Modify default for OFNODE_MULTI_TREE

2023-08-29 Thread seanedmond
From: Sean Edmond There is a preference to use the "ofnode" API for FDT fixups moving forward. The FDT fixup will usually be for the kernel FDT. To fixup the kernel FDT with the ofnode API, it's required to set the OFNODE_MULTI_TREE option. To ensure exisiting users on kasls fixup are not impa

[PATCH 1/4] fdt: common API to populate kaslr seed

2023-08-29 Thread seanedmond
From: Dhananjay Phadke fdt_fixup_kaslr_seed() will update given FDT with random seed value. Source for random seed can be TPM or RNG driver in u-boot or sec firmware (ARM). Signed-off-by: Dhananjay Phadke Signed-off-by: Sean Edmond --- arch/arm/cpu/armv8/sec_firmware.c | 39 +++---

[PATCH 3/4] cmd: kaslrseed: Use common API to fixup FDT

2023-08-29 Thread seanedmond
From: Sean Edmond Use the newly introduced common API fdt_fixup_kaslr_seed() in the kaslrseed command. Signed-off-by: Sean Edmond --- cmd/kaslrseed.c | 22 -- 1 file changed, 8 insertions(+), 14 deletions(-) diff --git a/cmd/kaslrseed.c b/cmd/kaslrseed.c index 8a1d8120cd..

Re: [RFC PATCH 0/5] Allow for removal of DT nodes and properties

2023-08-29 Thread Simon Glass
Hi Peter, On Tue, 29 Aug 2023 at 04:33, Peter Robinson wrote: > > > > > > > > Provide a way for removing certain devicetree nodes and/or > > > > > > > properties > > > > > > > from the devicetree. This is needed to purge certain nodes and > > > > > > > properties which may be relevant only in U-

Re: [PATCH v3 1/2] schemas: Add a schema for memory map

2023-08-29 Thread Simon Glass
Hi Ard, On Thu, 24 Aug 2023 at 03:10, Ard Biesheuvel wrote: > > On Wed, 23 Aug 2023 at 22:04, Simon Glass wrote: > > > > Hi, > > > > On Wed, 23 Aug 2023 at 08:24, Ard Biesheuvel wrote: > > > > > > On Wed, 23 Aug 2023 at 10:59, Mark Rutland wrote: > > > > > > > > On Tue, Aug 22, 2023 at 02:34:4

[PATCH v4 4/4] memory: Add ECC property

2023-08-29 Thread Simon Glass
Some memories provides ECC correction. For software which wants to check memory, it is helpful to see which regions provide this feature. Add this as a property of the /memory nodes, since it presumably follows the hardware-level memory system. Signed-off-by: Simon Glass --- (no changes since v

[PATCH v4 3/4] schemas: Add a schema for memory map

2023-08-29 Thread Simon Glass
The Devicetree specification skips over handling of a logical view of the memory map, pointing users to the UEFI specification. It is common to split firmware into 'Platform Init', which does the initial hardware setup and a "Payload" which selects the OS to be booted. Thus an handover interface i

[PATCH v4 2/4] Bring in other reserved-memory files

2023-08-29 Thread Simon Glass
Add those files from v6.5 which are already converted to yaml. Signed-off-by: Simon Glass --- Changes in v4: - New patch .../schemas/reserved-memory/framebuffer.yaml | 52 +++ .../reserved-memory/google,open-dice.yaml | 46 ++ .../reserved-memory/memory-region.yaml| 40

[PATCH v4 1/4] Add reserved-memory

2023-08-29 Thread Simon Glass
Bring in this file from Linux v6.5 Signed-off-by: Simon Glass --- Changes in v4: - New patch .../reserved-memory/reserved-memory.yaml | 181 ++ 1 file changed, 181 insertions(+) create mode 100644 dtschema/schemas/reserved-memory/reserved-memory.yaml diff --git a/dtschem

Re: [PATCH] arm: mach-apple: Move M1/M2 specifics into a separate folder

2023-08-29 Thread Ivaylo Ivanov
I'm currently working on S5L8950X. I also have some T7000 and T8010 devices that I'll work on in the future. There's a project called freemyipod that has a fork of U-Boot working on iPod Nano's (specifically the S5L8730 in the iPod Nano 5). I've read that they're planning on upstreaming it in the

Re: Config fragments

2023-08-29 Thread Simon Glass
Hi Andrew, On Tue, 29 Aug 2023 at 11:05, Andrew Davis wrote: > > On 8/29/23 11:47 AM, Simon Glass wrote: > > Hi Andrew, > > > > On Wed, 23 Aug 2023 at 10:44, Andrew Davis wrote: > >> > >> On 8/23/23 10:30 AM, Simon Glass wrote: > >>> Hi, > >>> > >>> Up until 2023.04 it has been possible to build

Re: [PATCH] arm: mach-apple: Move M1/M2 specifics into a separate folder

2023-08-29 Thread Mark Kettenis
> From: ivo.iva...@null.net > Date: Tue, 29 Aug 2023 20:25:19 +0300 > > From: Ivaylo Ivanov > > Currently, mach-apple assumes we're working with M1/M2. Make room for > adding support for other Apple SoCs by moving everything from the M1/M2 > SoC family in "mach-apple/" into "mach-apple/m1/". Wh

[PATCH] arm: mach-apple: Move M1/M2 specifics into a separate folder

2023-08-29 Thread ivo . ivanov
From: Ivaylo Ivanov Currently, mach-apple assumes we're working with M1/M2. Make room for adding support for other Apple SoCs by moving everything from the M1/M2 SoC family in "mach-apple/" into "mach-apple/m1/". Signed-off-by: Ivaylo Ivanov --- arch/arm/Kconfig | 2

Re: [PATCH v1] CI: Add jsonschema python module

2023-08-29 Thread Andrejs Cainikovs
On 29/08/2023 17:04, Tom Rini wrote: > Interesting. How exactly are you using these CI images? We have > tools/buildman/requirements.txt now to cover the newly-added modules in > CI, as we call pip on that. But, it's not being used in the prepopulate > the pip cache stage in the Dockerfile. And,

Re: [PATCH] sunxi: psci: remove redundant initialization from psci_arch_init

2023-08-29 Thread Chen-Yu Tsai
On Tue, Aug 29, 2023 at 5:49 AM Sam Edwards wrote: > > On 8/26/23 04:22, Marc Zyngier wrote: > > Hi Marc! > > > The GIC definitely has the NS bit routed to it. Otherwise, the secure > > configuration would just be an utter joke. Just try it. > > Thank you for your response. I'd like to revisit my

Re: [RFC PATCH 5/5] doc: Add a document for non-compliant DT node/property removal

2023-08-29 Thread Simon Glass
Hi Sughosh, On Mon, 28 Aug 2023 at 12:35, Sughosh Ganu wrote: > > hi Simon, > > On Mon, 28 Aug 2023 at 23:25, Simon Glass wrote: > > > > Hi Sughosh, > > > > On Sat, 26 Aug 2023 at 03:07, Sughosh Ganu wrote: > > > > > > Add a document explaining the need for removal of non-compliant > > > device

Re: [PATCH] arm: kirkwood: Add support for ZyXEL NSA325 board

2023-08-29 Thread Tony Dinh
Hi Stefan, For unknown reasons (probably Gmail glitches), I did not receive your email review in this thread. But I did receive the other email review for the Pogo V4 LTO! lore.kernel.org is OK. https://lore.kernel.org/u-boot/65ab8aa6-c290-0649-0b2e-374c4f84e...@denx.de/T/#mf17689e3e963ab7a34fda3

Re: Config fragments

2023-08-29 Thread Andrew Davis
On 8/29/23 11:47 AM, Simon Glass wrote: Hi Andrew, On Wed, 23 Aug 2023 at 10:44, Andrew Davis wrote: On 8/23/23 10:30 AM, Simon Glass wrote: Hi, Up until 2023.04 it has been possible to build all the defconfigs but with 2023.07 that changed. Tom mentioned this to me recently. Up until 2023

Re: [PATCH 1/1] doc: describe Kconfig fragments

2023-08-29 Thread Simon Glass
Hi, On Tue, 29 Aug 2023 at 10:17, Tom Rini wrote: > > On Tue, Aug 29, 2023 at 08:54:27AM +0200, Heinrich Schuchardt wrote: > > > In the 'Build with GCC' chapter mention Kconfig fragments and show how they > > are applied. > > > > Adjust the formatting in the configuration section to consistently

Re: Config fragments

2023-08-29 Thread Simon Glass
Hi Andrew, On Wed, 23 Aug 2023 at 10:44, Andrew Davis wrote: > > On 8/23/23 10:30 AM, Simon Glass wrote: > > Hi, > > > > Up until 2023.04 it has been possible to build all the defconfigs but > > with 2023.07 that changed. Tom mentioned this to me recently. > > > > Up until 2023.04 we can enumerat

Re: [PATCH] spl: bootstage: move bootstage_stash before jumping to image

2023-08-29 Thread Simon Glass
Hi Chanho, On Mon, 28 Aug 2023 at 21:46, Chanho Park wrote: > > Hi Simon, > > > -Original Message- > > From: Simon Glass > > Sent: Tuesday, August 29, 2023 2:55 AM > > To: Chanho Park > > Cc: Nikhil M Jain ; Marek Vasut ; u- > > b...@lists.denx.de > > Subject: Re: [PATCH] spl: bootstage

Re: [PATCH v2] spl: bootstage: move bootstage_stash before jumping to image

2023-08-29 Thread Simon Glass
Hi Chanho, On Mon, 28 Aug 2023 at 22:28, Chanho Park wrote: > > Regarding IH_OS_OPENSBI, IH_OS_LINUX and IH_OS_TEE, there is no chance > to stash bootstage record because they do not return to SPL after > jumping to the image. > Hence, this patch separates the final stage bootstage code into > sp

Re: [PATCH 6/6] stm32mp15: Use u-boot-spl-stm32.bin instead of u-boot-spl.stm32

2023-08-29 Thread Patrick DELAUNAY
Hi Simon, On 8/24/23 17:14, Tom Rini wrote: On Thu, Aug 24, 2023 at 05:09:07PM +0200, Marek Vasut wrote: On 8/24/23 16:25, Tom Rini wrote: On Thu, Aug 24, 2023 at 05:12:45AM +0200, Marek Vasut wrote: On 8/24/23 05:02, Simon Glass wrote: A '.stm32' extension is not allowed anymore, so change

Re: [PATCH 1/1] doc: describe Kconfig fragments

2023-08-29 Thread Tom Rini
On Tue, Aug 29, 2023 at 08:54:27AM +0200, Heinrich Schuchardt wrote: > In the 'Build with GCC' chapter mention Kconfig fragments and show how they > are applied. > > Adjust the formatting in the configuration section to consistently use > italics for file names. > > Signed-off-by: Heinrich Schuc

Re: [PATCH v3 1/2] schemas: Add a schema for memory map

2023-08-29 Thread Simon Glass
(Adding a few more, will respond soon) - Simon On Thu, 24 Aug 2023 at 03:10, Ard Biesheuvel wrote: > > On Wed, 23 Aug 2023 at 22:04, Simon Glass wrote: > > > > Hi, > > > > On Wed, 23 Aug 2023 at 08:24, Ard Biesheuvel wrote: > > > > > > On Wed, 23 Aug 2023 at 10:59, Mark Rutland wrote: > > > >

Re: [PATCH] configs: stm32f769-disco: Enable VIDEO_LOGO flag

2023-08-29 Thread Patrick DELAUNAY
Hi, On 8/25/23 18:24, Patrice Chotard wrote: The patch removes the legacy mode of displaying the ST logo and adopts the approach introduced by the commit 284b08fb51b6 ("board: stm32mp1: add splash screen with stmicroelectronics logo"). Signed-off-by: Patrice Chotard --- configs/stm32f769-di

Re: [PATCH 3/3] Remove the hardcoded ST logo no longer in use

2023-08-29 Thread Patrick DELAUNAY
Hi, On 8/20/23 18:24, Dario Binacchi wrote: The patch removes the hardcoded ST logo from the code, as it is no longer used. Signed-off-by: Dario Binacchi --- include/st_logo_data.h | 3265 1 file changed, 3265 deletions(-) delete mode 100644 incl

Re: [PATCH 2/3] board: stm32f746-disco: refactor the display of the ST logo

2023-08-29 Thread Patrick DELAUNAY
Hi On 8/20/23 18:24, Dario Binacchi wrote: The patch removes the legacy mode of displaying the ST logo and adopts the approach introduced by the commit 284b08fb51b6 ("board: stm32mp1: add splash screen with stmicroelectronics logo"). It was necessary to use a specific logo for the stm32f746-disc

Re: [PATCH] clk: Dont return error when assigned-clocks is empty or missing

2023-08-29 Thread Tom Rini
On Tue, Aug 29, 2023 at 09:18:53AM +0200, Michal Simek wrote: > > > On 8/28/23 17:50, Tom Rini wrote: > > On Mon, Aug 28, 2023 at 12:25:30PM +0200, Michal Simek wrote: > > > > > > > > > On 8/25/23 16:39, Tom Rini wrote: > > > > On Fri, Aug 25, 2023 at 09:15:09AM +0200, Michal Simek wrote: > > >

Re: [PATCH v1] CI: Add jsonschema python module

2023-08-29 Thread Tom Rini
On Tue, Aug 29, 2023 at 04:37:10PM +0200, Andrejs Cainikovs wrote: > Some TI boards utilizes `ti-board-config` via binman device > tree node, which when built via binman, triggers schema validation > for board specific yaml configuration files. > > This change adds jsonschema python module to CI

Re: [PATCH 1/3] configs: stm32f746-disco: limit resolution to 480x272

2023-08-29 Thread Patrick DELAUNAY
Hi, On 8/20/23 18:24, Dario Binacchi wrote: The patch fixes the y-resolution, which was causing the creation of a framebuffer larger than actually needed, resulting in memory waste. Fixes: cc1b0e7b8e55b ("board: Add display to STM32F746 SoC discovery board") Signed-off-by: Dario Binacchi ---

Re: [PATCH v2 1/2] arm: stm32mp: Really fix compilation issue when SYS_DCACHE_OFF and/or SYS_DCACHE_SYS are enabled

2023-08-29 Thread Patrick DELAUNAY
Hi, On 8/22/23 09:51, Bhupesh Sharma wrote: While 23e20b2fa6 ("arm: stm32mp: Fix compilation issue when SYS_DCACHE_OFF and/or SYS_DCACHE_SYS are enabled") tried fixing this issue, fix it really by adding #if checks for SYS_ICACHE_OFF and SYS_DCACHE_OFF. Cc: Patrice Chotard Cc: Patrick Delaunay

[PATCH v1] CI: Add jsonschema python module

2023-08-29 Thread Andrejs Cainikovs
Some TI boards utilizes `ti-board-config` via binman device tree node, which when built via binman, triggers schema validation for board specific yaml configuration files. This change adds jsonschema python module to CI Docker image, which allows these targets to be built by CI without errors. Si

Re: [PATCH] sunxi: psci: remove redundant initialization from psci_arch_init

2023-08-29 Thread Chen-Yu Tsai
(resent from kernel.org address) On Tue, Aug 29, 2023 at 5:49 AM Sam Edwards wrote: > > On 8/26/23 04:22, Marc Zyngier wrote: > > Hi Marc! > > > The GIC definitely has the NS bit routed to it. Otherwise, the secure > > configuration would just be an utter joke. Just try it. > > Thank you for your

Re: [U-BOOT TEST HOOKS PATCH] travis-ci: Do not run TPM tests on Versal QEMU target

2023-08-29 Thread Tom Rini
On Mon, 28 Aug 2023 16:29:53 +0200, Michal Simek wrote: > TPM is going to be enabled by default but QEMU doesn't model it over SPI > that's why disable it for xilinx_versal_virt_qemu target. > > Applied, thanks! [1/1] travis-ci: Do not run TPM tests on Versal QEMU target commit: 3c736fb

Re: [PATCH] spl: crypto: fix including SHA* object files in SPL

2023-08-29 Thread Tom Rini
On Wed, Aug 23, 2023 at 05:56:27PM +0300, Oleksandr Suvorov wrote: > If one of SHA* algorithms is disabled in u-boot, its code is not > included in SPL even if a given SHA* option is enabled in SPL. Fix > this. > > Fixes: 603d15a572d ("spl: cypto: Bring back SPL_ versions of SHA") > Signed-off-by

Re: [PATCH] bootstd: Adjust the default bootmeth order

2023-08-29 Thread Tom Rini
On Sat, Aug 19, 2023 at 04:49:35PM -0600, Simon Glass wrote: > The existing distro scripts check extlinux and scripts before EFI. Adjust > the default ordering to do the same, to avoid breaking existing flows. > > Add some documentation, mentioning that this order will likely change in > future.

Re: [PATCH 1/4] Azure: Set the timeout for jobs to the maximum

2023-08-29 Thread Tom Rini
On Sun, Aug 20, 2023 at 01:31:26PM -0400, Tom Rini wrote: > As per current Azure Pipelines documentation we qualify for 3600 minutes > per job, if specified, as the timeout. The default unspecified timeout > is 60 minutes. Rework things to specify 0 as the timeout (and so maximum > allowed) so tha

Re: [PATCH] boot: Fix reference to bootmenu doc

2023-08-29 Thread Tom Rini
On Fri, Aug 18, 2023 at 03:54:10PM +0100, Peter Robinson wrote: > The Kconfig references a readme file that's moved and > converted to rst so update the reference. > > Signed-off-by: Peter Robinson > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Descriptio

Re: [PATCH 2/2] Revert "binman: Add a temporary hack for duplicate phandles"

2023-08-29 Thread Tom Rini
On Wed, Aug 23, 2023 at 07:18:02PM -0600, Simon Glass wrote: > The affected boards have been fixed, so drop this hack. > > This reverts commit 288ae53cb73605500b7fc01e5919753c878466be. > > Signed-off-by: Simon Glass > Acked-by: Tim Harvey Applied to u-boot/master, thanks! -- Tom signature

Re: [PATCH 1/1] MAINTAINERS: remove Wolfgang Denk

2023-08-29 Thread Tom Rini
On Thu, Aug 24, 2023 at 12:12:47AM +0200, Heinrich Schuchardt wrote: > Signed-off-by: Heinrich Schuchardt Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 1/2] imx: Drop unneeded phandle in FIT template

2023-08-29 Thread Tom Rini
On Wed, Aug 23, 2023 at 07:18:01PM -0600, Simon Glass wrote: > Adding a phandle to a template node is not allowed, since when the node is > instantiated multiple times, we end up with duplicate phandles. > > Drop this invalid constructs. > > Signed-off-by: Simon Glass > Acked-by: Tim Harvey A

Re: [PATCH] Revert "arm: imx: mx7: Move CONFIG_OPTEE_TZDRAM_SIZE from lib/optee"

2023-08-29 Thread Tom Rini
On Fri, Aug 25, 2023 at 04:47:11PM +0300, Oleksandr Suvorov wrote: > From: Ricardo Salveti > > This reverts commit c5b68ef8af3c2f515c1f5b8d63a69359a85d753b. > > CONFIG_OPTEE_TZDRAM_SIZE is used by imx6-based SoCs as well. Move the > option back. > > Signed-off-by: Ricardo Salveti > Signed-off

Re: [PATCH] configs: set CONFIG_LMB_MAX_REGIONS=64 for MT7988 boards

2023-08-29 Thread Tom Rini
On Mon, Aug 21, 2023 at 08:38:23PM +0100, Daniel Golle wrote: > Similar to MT7981 and MT7986 also MT7988 can have a high number of > reserved-memory regions used by the various hardware offloading > subsystems. > > Raise CONFIG_LMB_MAX_REGIONS to 64 to avoid errors when trying to boot > Linux wit

Re: [PATCH] configs: Enable CONFIG_DM_SCSI in am57xx_hs_evm_usb

2023-08-29 Thread Tom Rini
On Mon, Aug 21, 2023 at 08:59:10AM -0500, Andrew Davis wrote: > This should have already been enabled but was missed when converting the > base platform defconfig, fix this here. > > Fixes: 3c5aa6caccab ("configs: Enable CONFIG_BLK in am57xx_evm and > am57xx_hs_evm") > Signed-off-by: Andrew Davi

Re: [PATCH] arm: dts: mediatek: convert gmac link mode to 2500base-x for r3

2023-08-29 Thread Tom Rini
On Thu, Aug 03, 2023 at 06:52:58PM +0200, Frank Wunderlich wrote: > From: Frank Wunderlich > > Ethernet on Bananapi-r3 is broken after > > commit bd70f3cea353 ("net: mediatek: add support for SGMII 1Gbps > auto-negotiation mode") > > because changes from this commit were not applied to bpi-r3

Re: [PATCH v4 5/8] cmd: gpt: Add command to set bootable flags

2023-08-29 Thread Joshua Watt
On Mon, Aug 28, 2023, 4:53 PM Heinrich Schuchardt wrote: > On 8/28/23 23:56, Joshua Watt wrote: > > Adds a command that can be used to modify the GPT partition table to > > indicate which partitions should have the bootable flag set > > > > Signed-off-by: Joshua Watt > > --- > > cmd/gpt.c

Re: [PATCH v4 2/8] doc: Add gpt command documentation

2023-08-29 Thread Joshua Watt
On Mon, Aug 28, 2023, 4:58 PM Heinrich Schuchardt wrote: > On 8/29/23 00:45, Heinrich Schuchardt wrote: > > /On 8/28/23 23:56, Joshua Watt wrote: > >> Adds initial documentation for the gpt command > >> > >> Signed-off-by: Joshua Watt > >> --- > >> doc/usage/cmd/gpt.rst | 184 +

Re: [PATCH] fpga: define dummy fpga_load function for debug build

2023-08-29 Thread Michal Simek
On 8/16/23 08:54, Chanho Park wrote: This fixes below build error when CC_OPTIMIZE_FOR_DEBUG is enabled and CONFIG_SPL_FPGA is not enabled. I would rewrite this because the connection to SPL_FPGA is just one part of it. It is also taken when CONFIG_FPGA is not enabled. ../common/spl/spl_

Re: [PATCH v2 5/6] docs: ti: j721s2_evm: Create documentation from J7200 docs

2023-08-29 Thread Manorit Chawdhry
Hi Nishanth, On 08:30-20230828, Nishanth Menon wrote: > i$subject: doc: board: ti: Add j721s2-evm documentation Will be updating it, thanks. > > On 16:47-20230825, Manorit Chawdhry wrote: > > The documentation is based off J7200 documentation tailored for J721S2. > > > > TRM for J721S2: https:

Re: [RFC PATCH 0/5] Allow for removal of DT nodes and properties

2023-08-29 Thread Peter Robinson
> > > > > > Provide a way for removing certain devicetree nodes and/or > > > > > > properties > > > > > > from the devicetree. This is needed to purge certain nodes and > > > > > > properties which may be relevant only in U-Boot. Such nodes and > > > > > > properties are then removed from the devi

Re: [PATCH v3 5/9] board: qualcomm: Add support for dragonboard845c

2023-08-29 Thread Sumit Garg
Hi Simon, On Tue, 29 Aug 2023 at 03:39, Simon Glass wrote: > > Hi Peter, > > On Mon, 28 Aug 2023 at 14:24, Peter Robinson wrote: > > > > On Mon, Aug 28, 2023 at 6:55 PM Simon Glass wrote: > > > > > > Hi Sumit, > > > > > > On Thu, 24 Aug 2023 at 04:44, Sumit Garg wrote: > > > > > > > > Hi Simon

Re: [PATCH v5 00/13] Add video damage tracking

2023-08-29 Thread Mark Kettenis
> Date: Tue, 29 Aug 2023 08:20:49 +0200 > From: Alexander Graf > > On 28.08.23 23:54, Heinrich Schuchardt wrote: > > On 8/28/23 22:24, Alexander Graf wrote: > >> > >> On 28.08.23 19:54, Simon Glass wrote: > >>> Hi Alex, > >>> > >>> On Wed, 23 Aug 2023 at 02:56, Alexander Graf wrote: > Hey S

Re: [PATCH] arm: kirkwood: Add support for ZyXEL NSA325 board

2023-08-29 Thread Stefan Roese
On 8/26/23 05:33, Tony Dinh wrote: ZyXEL NSA325 specifications: Marvell Kirkwood 88F6282 SoC 1.6 GHz CPU 1x GBE LAN port (Marvell MV88E1318) 512 MB RAM 128 MB Eon NAND, SLC I2C 1x USB 3.0 (on PCIe bus) 2x USB 2.0 2x SATA (hot swap slots) Serial console Signed-off-by: Tony Dinh --- arch/a

Re: [PATCH] arm: kirkwood: Pogo v4: Enable LTO

2023-08-29 Thread Stefan Roese
On 8/24/23 21:07, Tony Dinh wrote: Enable building Pogo V4 u-boot image with LTO, which results in about 30K reduction in size. Signed-off-by: Tony Dinh Reviewed-by: Stefan Roese Thanks, Stefan --- configs/pogo_v4_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/p

Re: [PATCH v1 1/2] doc: board: toradex: minor documentation update

2023-08-29 Thread Heinrich Schuchardt
On 8/29/23 00:01, Marcel Ziswiler wrote: From: Marcel Ziswiler - Update SPDX-License-Identifier from obsolete GPL-2.0+ to GPL-2.0-or-later. - Add links to product websites of SoM and carrier board where missing. - Add information about update U-Boot wrapper where missing. - Add sectionauthor

Re: [PATCH v1 2/2] doc: board: toradex: verdin-am62: document update u-boot wrapper

2023-08-29 Thread Heinrich Schuchardt
On 8/29/23 00:01, Marcel Ziswiler wrote: From: Marcel Ziswiler Now with the update U-Boot wrappers having been sorted out, document their usage. Signed-off-by: Marcel Ziswiler --- doc/board/toradex/verdin-am62.rst | 14 ++ 1 file changed, 14 insertions(+) diff --git a/doc/bo

Re: [PATCH v1] include: configs: verdin-am62: drop unused sdram address

2023-08-29 Thread Mattijs Korpershoek
Hi Marcel, Thank you for following up this quickly on this. On lun., août 28, 2023 at 23:50, Marcel Ziswiler wrote: > From: Marcel Ziswiler > > Drop unused macro. This was copied straight from the AM62x EVM but while > meant for a second region of DDR this is not even needed for the AM62x > EV

[PATCH 1/1] Watchdog: Support WDIOF_CARDRESET on TI AM65x platform

2023-08-29 Thread huaqian . li
From: Li Hua Qian To have the WDIOF_CARDRESET support for the TI AM65x platform watchdog, this patch reserves some memories, which indicate if the current boot due to a watchdog reset. Signed-off-by: Li Hua Qian --- Here is the Kernel Reviewed-by Submission: https://lore.kernel.org/all/20230

Does u-boot support env for spi nand flash?

2023-08-29 Thread Tony He
Hi, According to env/Kconfig file, seems like below env interfaces are supported. In my understanding, ENV_IS_IN_NAND is used by parallel nand flash while ENV_IS_IN_SPI_FLASH is used by spi nor flash. There is no direct support/interface for spi nand flash. However, we can use ENV_IS_IN_UBI for sp

Re: [PATCH] clk: Dont return error when assigned-clocks is empty or missing

2023-08-29 Thread Michal Simek
On 8/28/23 17:50, Tom Rini wrote: On Mon, Aug 28, 2023 at 12:25:30PM +0200, Michal Simek wrote: On 8/25/23 16:39, Tom Rini wrote: On Fri, Aug 25, 2023 at 09:15:09AM +0200, Michal Simek wrote: Hi Tom, On 7/11/23 11:51, Ashok Reddy Soma wrote: There is a chance that assigned-clock-rates i