[PATCH 1/1] doc: describe Kconfig fragments

2023-08-28 Thread Heinrich Schuchardt
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 Schuchardt --- doc/build/gcc.rst | 35 ++- 1 file chang

Re: [PATCH v2] spl: watchdog: introduce SPL_HW_WATCHDOG

2023-08-28 Thread Oleksandr Suvorov
Hi Stefan, On Mon, Aug 28, 2023 at 5:30 PM Stefan Roese wrote: > > Hi Oleksandr, > > On 8/28/23 15:23, Oleksandr Suvorov wrote: > > Hi Stefan, > > > > On Thu, Aug 24, 2023 at 2:24 PM Stefan Roese wrote: > >> > >> On 8/23/23 14:00, Oleksandr Suvorov wrote: > >>> Add SPL_HW_WATCHDOG Kconfig symbol

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

2023-08-28 Thread Alexander Graf
Hi Simon, On 29.08.23 00:08, Simon Glass wrote: Hi Alex, On Mon, 28 Aug 2023 at 14: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 Simon, On 22.08.23 20:56, Simon Glass wrote: Hi Alex, On Tue, 22 Aug 2023

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

2023-08-28 Thread 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 Simon, On 22.08.23 20:56, Simon Glass wrote: Hi Alex, On Tue, 22 Aug 2023 at 01:47, Alexander Gra

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

2023-08-28 Thread Chanho Park
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 spl_bootstage_finish and call the function before jumping to the image. Sig

[PATCH] spi: cadence_qspi: Select flash subnode at runtime

2023-08-28 Thread Udit Kumar
Currently spi driver gets flash parameter from first subnode. Few boards have more than one flash with different parameters and selection of flash is done by on board switch settings. In such case, uboot needs to be recompiled with updated device tree to align with board switch settings. This pat

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

2023-08-28 Thread Chanho Park
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: move bootstage_stash before jumping > to image > > Hi Chanho, > > On Mon, 28

[PATCH] spl: add __noreturn attribute to spl_invoke_opensbi function

2023-08-28 Thread Chanho Park
spl_invoke_opensbi function is not returned to SPL. Thus, we need to set __noreturn function attribute. Signed-off-by: Chanho Park --- common/spl/spl_opensbi.c | 7 --- include/spl.h| 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/common/spl/spl_opensbi.c b/

RE: [PATCH RESEND v3] fpga: add inline stub for fpga_load

2023-08-28 Thread Chanho Park
Hi Eugen, > -Original Message- > From: Eugen Hristev > Sent: Monday, August 28, 2023 8:47 PM > To: Michal Simek ; u-boot@lists.denx.de; > s...@chromium.org; Chanho Park > Subject: Re: [PATCH RESEND v3] fpga: add inline stub for fpga_load > > On 8/28/23 13:53, Michal Simek wrote: > > Hi

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

2023-08-28 Thread Heinrich Schuchardt
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 ++   doc/usage/index.rst   |   1 +   2 files changed, 185 inser

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

2023-08-28 Thread Heinrich Schuchardt
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 | 80 +++ doc/usage/cmd/gpt.rst

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

2023-08-28 Thread Heinrich Schuchardt
/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 ++ doc/usage/index.rst | 1 + 2 files changed, 185 insertions(+) create mode 100644 doc/usage/cmd/gp

Re: [PATCH v1] board: toradex: verdin-imx8mp: enable usb device and fastboot support

2023-08-28 Thread Fabio Estevam
Hi Marcel, On Mon, Aug 28, 2023 at 6:38 PM Marcel Ziswiler wrote: > > From: Marcel Ziswiler > > Enable USB device and fastboot support which may be used to load the > Toradex Easy Installer FIT image. > > While at it also enable USB mass storage aka UMS support. > > Note that the i.MX 8M Plus re

Re: [PATCH v1 1/2] verdin-am62: add u-boot update wrappers

2023-08-28 Thread Marcel Ziswiler
On Thu, 2023-08-24 at 16:42 +0200, Francesco Dolcini wrote: > Hello Nishanth, > > On Thu, Aug 24, 2023 at 07:10:57AM -0500, Nishanth Menon wrote: > > On 13:19-20230824, Francesco Dolcini wrote: > > > On Thu, Aug 24, 2023 at 10:08:49AM +0200, Emanuele Ghidoli wrote: > > > > From: Emanuele Ghidoli

Re: [PATCH 1/1] bootstd: BOOTDEV_SPI_FLASH requires BOOTSTD

2023-08-28 Thread Simon Glass
On Mon, 28 Aug 2023 at 12:49, Heinrich Schuchardt wrote: > > Compiling sandbox_defconfig with CONFIG_BOOTSTD=n fails: > > /usr/bin/ld: drivers/mtd/spi/sf_bootdev.o: > in function `sf_get_bootflow': > /drivers/mtd/spi/sf_bootdev.c:43:(.text+0x96): > undefined reference to `bootmeth_

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

2023-08-28 Thread Simon Glass
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, > > > > > > On Thu, 24 Aug 2023 at 05:29, Simon Glass wrote: > > > > > > > > Hi S

Re: [PATCH 1/1] video: fix typo in video_sync_all documentation

2023-08-28 Thread Simon Glass
On Mon, 28 Aug 2023 at 14:40, Heinrich Schuchardt wrote: > > %s/there/their/ > > Signed-off-by: Heinrich Schuchardt > --- > include/video.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Reviewed-by: Simon Glass

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

2023-08-28 Thread Simon Glass
Hi Peter, On Mon, 28 Aug 2023 at 14:29, Peter Robinson wrote: > > On Mon, Aug 28, 2023 at 6:54 PM Simon Glass wrote: > > > > Hi Peter, > > > > On Mon, 28 Aug 2023 at 10:37, Peter Robinson wrote: > > > > > > On Mon, Aug 28, 2023 at 5:20 PM Simon Glass wrote: > > > > > > > > Hi, > > > > > > > >

Re: [PATCH v2 1/2] dm: event: document all events

2023-08-28 Thread Simon Glass
On Mon, 28 Aug 2023 at 13:12, Heinrich Schuchardt wrote: > > Provide Sphinx documentation for all events. > > Signed-off-by: Heinrich Schuchardt > --- > v2: > remove non-printing comments from num event_t > correct texts according to Simon's suggestions > --- > include/event.h |

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

2023-08-28 Thread Simon Glass
Hi Alex, On Mon, 28 Aug 2023 at 14: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 Simon, > >> > >> On 22.08.23 20:56, Simon Glass wrote: > >>> Hi Alex, > >>> > >>> On Tue, 22 Aug 2023 at 01:4

Re: [PATCH v4 1/8] cmd: gpt: Remove confusing help text

2023-08-28 Thread Heinrich Schuchardt
On 8/28/23 23:56, Joshua Watt wrote: This help text appears to be a fragment of the text shown when CONFIG_CMD_GPT_RENAME is enabled, but is confusing so remove it. Signed-off-by: Joshua Watt Reviewed-by: Heinrich Schuchardt --- cmd/gpt.c | 2 -- 1 file changed, 2 deletions(-) diff --g

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

2023-08-28 Thread Marcel Ziswiler
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/board/toradex/verdin-am62.rst b/doc/board/tora

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

2023-08-28 Thread Marcel Ziswiler
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 where missing. - Update information about i

[PATCH v1 0/2] doc: board: toradex: documentation update

2023-08-28 Thread Marcel Ziswiler
From: Marcel Ziswiler This series contains some minor documentation updates. The second commit documents what got discussed here [1] and therefore depends on Emanuele's series landing first. [1] https://lore.kernel.org/all/zodsx2vmnf20i...@francesco-nb.int.toradex.com Marcel Ziswiler (2): d

[PATCH v4 8/8] cmd: gpt: Add command to swap partition order

2023-08-28 Thread Joshua Watt
Adds a command called "gpt swap-postition" which will swap the order two partition table entries in the GPT partition table (but leaves them pointing to the same locations on disk). This can be useful for swapping bootloaders in systems that use an A/B partitioning scheme where the bootrom is hard

[PATCH v4 7/8] cmd: gpt: Preserve bootable flag

2023-08-28 Thread Joshua Watt
Sets the bootable flag when constructing the partition string from the current partition configuration. This ensures that when the partitions are written back (for example, when renaming a partition), the flag is preserved. Signed-off-by: Joshua Watt --- cmd/gpt.c | 3 +++ test/p

[PATCH v4 6/8] cmd: gpt: Preserve type GUID if enabled

2023-08-28 Thread Joshua Watt
If CONFIG_PARTITION_TYPE_GUID is enabled, the type GUID will be preserved when writing out the partition string. It was already respected when writing out partitions; this ensures that if you capture the current partition layout and write it back (such as when renaming), the type GUIDs are preserve

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

2023-08-28 Thread Joshua Watt
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 | 80 +++ doc/usage/cmd/gpt.rst | 12 ++ test/py/tests/test_gpt.py

[PATCH v4 4/8] cmd: gpt: Add gpt_partition_bootable variable

2023-08-28 Thread Joshua Watt
Adds an additional variable called gpt_partition_bootable that indicates if the given partition is bootable or not. Signed-off-by: Joshua Watt --- cmd/gpt.c | 9 +++-- doc/usage/cmd/gpt.rst | 5 + test/py/tests/test_gpt.py | 33 + 3 f

[PATCH v4 3/8] tests: gpt: Remove test order dependency

2023-08-28 Thread Joshua Watt
Re-create a clean disk image for each test to prevent modifications from one test affecting another Signed-off-by: Joshua Watt --- test/py/tests/test_gpt.py | 20 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/test/py/tests/test_gpt.py b/test/py/tests/test_gp

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

2023-08-28 Thread Joshua Watt
Adds initial documentation for the gpt command Signed-off-by: Joshua Watt --- doc/usage/cmd/gpt.rst | 184 ++ doc/usage/index.rst | 1 + 2 files changed, 185 insertions(+) create mode 100644 doc/usage/cmd/gpt.rst diff --git a/doc/usage/cmd/gpt.rst b/

[PATCH v4 1/8] cmd: gpt: Remove confusing help text

2023-08-28 Thread Joshua Watt
This help text appears to be a fragment of the text shown when CONFIG_CMD_GPT_RENAME is enabled, but is confusing so remove it. Signed-off-by: Joshua Watt --- cmd/gpt.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/cmd/gpt.c b/cmd/gpt.c index 964056bd28..fe9e06681c 100644 --- a/cmd/gpt.c

[PATCH v4 0/8] cmd: gpt: GPT manipulation improvements

2023-08-28 Thread Joshua Watt
Adds several improvements and additions to the gpt command processing, specifically (although not exclusively) for the purpose of supporting "ping-pong" booting when doing A/B boot partitions with u-boot itself. In this mechanism, u-boot must boot up, and then check if the correct boot partition i

Re: [PATCH V5 02/17] include: configs: am62x_evm: Drop unused SDRAM address

2023-08-28 Thread Marcel Ziswiler
On Thu, 2023-08-24 at 18:15 +0200, Francesco Dolcini wrote: [snip] > > > > > What about include/configs/verdin-am62.h ? > > > > > > > > > > It seems that that board, which is am62x based, also has the un-needed > > > > > include. > > > > > > > > > > Since i'm not 100% sure, I have added Marcel

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

2023-08-28 Thread Heinrich Schuchardt
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 Simon, On 22.08.23 20:56, Simon Glass wrote: Hi Alex, On Tue, 22 Aug 2023 at 01:47, Alexander Graf wrote: On 22.08.23 01:03, Simon Glass wrote:

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

2023-08-28 Thread Joshua Watt
On Fri, Aug 25, 2023 at 5:53 PM Simon Glass wrote: > > Hi Joshua, > > On Fri, 25 Aug 2023 at 13:38, Joshua Watt wrote: > > > > Adds initial documentation for the gpt command > > > > Signed-off-by: Joshua Watt > > --- > > doc/usage/cmd/gpt.rst | 141 ++ > >

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

2023-08-28 Thread Marcel Ziswiler
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 EVM configurations and has meanwhile also been dropped there. Note that on the Verdin AM62, we do auto-detect the amount of SDRAM.

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

2023-08-28 Thread Sam Edwards
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 prior point about the distinction between the NS bit and AxPROT[1]

[PATCH v1] board: toradex: verdin-imx8mp: enable usb device and fastboot support

2023-08-28 Thread Marcel Ziswiler
From: Marcel Ziswiler Enable USB device and fastboot support which may be used to load the Toradex Easy Installer FIT image. While at it also enable USB mass storage aka UMS support. Note that the i.MX 8M Plus recovery mode support is based on the USB boot stage of the BOOTROM and does NOT requ

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

2023-08-28 Thread Joshua Watt
On Mon, Aug 28, 2023 at 2:00 PM Heinrich Schuchardt wrote: > > On 8/28/23 21:29, Joshua Watt wrote: > > On Fri, Aug 25, 2023 at 7:57 PM Heinrich Schuchardt > > wrote: > >> > >> On 8/25/23 21:38, Joshua Watt wrote: > >>> Adds initial documentation for the gpt command > >> > >> Thanks a lot for fi

Re: [PATCH v2 5/7] arm: qemu: Enable ramfb by default

2023-08-28 Thread Alexander Graf
On 28.08.23 22:38, Simon Glass wrote: Hi Alper, On Mon, 28 Aug 2023 at 12:29, Alper Nebi Yasak wrote: On 2023-08-28 20:54 +03:00, Simon Glass wrote: Hi Alper, On Mon, 28 Aug 2023 at 09:46, Alper Nebi Yasak wrote: On 2023-08-22 21:56 +03:00, Simon Glass wrote: Hi Alper, On Tue, 22 Aug 20

[PATCH 1/1] video: fix typo in video_sync_all documentation

2023-08-28 Thread Heinrich Schuchardt
%s/there/their/ Signed-off-by: Heinrich Schuchardt --- include/video.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/video.h b/include/video.h index 269915160b..16f7a83f8d 100644 --- a/include/video.h +++ b/include/video.h @@ -260,7 +260,7 @@ int video_fill_part(str

Re: [PATCH v2 5/7] arm: qemu: Enable ramfb by default

2023-08-28 Thread Simon Glass
Hi Alper, On Mon, 28 Aug 2023 at 12:29, Alper Nebi Yasak wrote: > > On 2023-08-28 20:54 +03:00, Simon Glass wrote: > > Hi Alper, > > On Mon, 28 Aug 2023 at 09:46, Alper Nebi Yasak > > wrote: > >> > >> On 2023-08-22 21:56 +03:00, Simon Glass wrote: > >>> Hi Alper, > >>> > >>> On Tue, 22 Aug 2023

Re: [PATCH v2 5/7] arm: qemu: Enable ramfb by default

2023-08-28 Thread Alexander Graf
On 28.08.23 20:28, Alper Nebi Yasak wrote: On 2023-08-28 20:54 +03:00, Simon Glass wrote: Hi Alper, On Mon, 28 Aug 2023 at 09:46, Alper Nebi Yasak wrote: On 2023-08-22 21:56 +03:00, Simon Glass wrote: Hi Alper, On Tue, 22 Aug 2023 at 06:10, Alper Nebi Yasak wrote: From: Alexander Graf

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

2023-08-28 Thread Peter Robinson
On Mon, Aug 28, 2023 at 6:54 PM Simon Glass wrote: > > Hi Peter, > > On Mon, 28 Aug 2023 at 10:37, Peter Robinson wrote: > > > > On Mon, Aug 28, 2023 at 5:20 PM Simon Glass wrote: > > > > > > Hi, > > > > > > On Sat, 26 Aug 2023 at 03:07, Sughosh Ganu > > > wrote: > > > > > > > > > > > > Provid

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

2023-08-28 Thread Alexander Graf
On 28.08.23 19:54, Simon Glass wrote: Hi Alex, On Wed, 23 Aug 2023 at 02:56, Alexander Graf wrote: Hey Simon, On 22.08.23 20:56, Simon Glass wrote: Hi Alex, On Tue, 22 Aug 2023 at 01:47, Alexander Graf wrote: On 22.08.23 01:03, Simon Glass wrote: Hi Alex, On Mon, 21 Aug 2023 at 16:40,

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

2023-08-28 Thread Peter Robinson
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, > > > > On Thu, 24 Aug 2023 at 05:29, Simon Glass wrote: > > > > > > Hi Sumit, > > > > > > On Tue, 12 Jul 2022 at 01:12, Sumit Garg wrote: > > > > > > > > Add s

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

2023-08-28 Thread Heinrich Schuchardt
On 8/28/23 21:29, Joshua Watt wrote: On Fri, Aug 25, 2023 at 7:57 PM Heinrich Schuchardt wrote: On 8/25/23 21:38, Joshua Watt wrote: Adds initial documentation for the gpt command Thanks a lot for filling the gap. Signed-off-by: Joshua Watt --- doc/usage/cmd/gpt.rst | 141 +++

Re: [PATCH v3 00/13] Fuzzing and ASAN for sandbox

2023-08-28 Thread Tom Rini
On Mon, Aug 28, 2023 at 10:20:02AM -0600, Simon Glass wrote: > Hi Andrew, > > On Mon, 30 May 2022 at 04:00, Andrew Scull wrote: > > > > This series introduces ASAN and a basic fuzzing infrastructure that > > works with sandbox. The example fuzz test towards the end of the series > > will find som

[PATCH v1 2/2] clk: Add clock driver for Amlogic A1

2023-08-28 Thread Igor Prusov
This patch adds basic clock driver for Amlogic A1 Family which supports enabling/disabling some gates, getting frequencies and setting rate with limited reparenting. Signed-off-by: Igor Prusov --- arch/arm/include/asm/arch-meson/clock-a1.h | 23 + drivers/clk/meson/Kconfig |

[PATCH v1 1/2] dt-bindings: clock: Add Amlogic A1 clock bindings

2023-08-28 Thread Igor Prusov
Add clock bindings for Amlogic A1 from linux-next next-20230821. Signed-off-by: Igor Prusov --- .../clock/amlogic,a1-peripherals-clkc.h | 168 ++ .../dt-bindings/clock/amlogic,a1-pll-clkc.h | 25 +++ 2 files changed, 193 insertions(+) create mode 100644 include/dt-bindi

[PATCH v1 0/2] clk: amlogic: a1: Add Amlogic A1 clock driver

2023-08-28 Thread Igor Prusov
This series adds dt-bindings and driver implementation for Amlogic A1 PLL and Peripherals clock controllers. Igor Prusov (2): dt-bindings: clock: Add Amlogic A1 clock bindings clk: Add clock driver for Amlogic A1 arch/arm/include/asm/arch-meson/clock-a1.h| 23 + drivers/clk/meson/Kconfi

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

2023-08-28 Thread Joshua Watt
On Fri, Aug 25, 2023 at 7:57 PM Heinrich Schuchardt wrote: > > On 8/25/23 21:38, Joshua Watt wrote: > > Adds initial documentation for the gpt command > > Thanks a lot for filling the gap. > > > > > Signed-off-by: Joshua Watt > > --- > > doc/usage/cmd/gpt.rst | 141 +

[PATCH v2 1/2] dm: event: document all events

2023-08-28 Thread Heinrich Schuchardt
Provide Sphinx documentation for all events. Signed-off-by: Heinrich Schuchardt --- v2: remove non-printing comments from num event_t correct texts according to Simon's suggestions --- include/event.h | 97 ++--- 1 file changed, 91 inse

[PATCH v2 2/2] doc: add events.h to documentation

2023-08-28 Thread Heinrich Schuchardt
Add the events.h include to the API documentation. Signed-off-by: Heinrich Schuchardt Reviewed-by: Simon Glass --- v2: no change --- doc/api/event.rst | 9 + doc/api/index.rst | 1 + 2 files changed, 10 insertions(+) create mode 100644 doc/api/event.rst diff --git a/doc/api/ev

[PATCH v2 0/2] doc: event: document all events

2023-08-28 Thread Heinrich Schuchardt
Document all events and add event.h to the HTML documentation. Heinrich Schuchardt (2): dm: event: document all events doc: add events.h to documentation doc/api/event.rst | 9 + doc/api/index.rst | 1 + include/event.h | 97 --- 3 files ch

Re: [PATCH 0/6] Attempt to enforce standard extensions for build output

2023-08-28 Thread Tom Rini
On Mon, Aug 28, 2023 at 11:54:55AM -0600, Simon Glass wrote: > Hi Alper, > > On Sun, 27 Aug 2023 at 13:17, Alper Nebi Yasak > wrote: > > > > On 2023-08-24 06:02 +03:00, Simon Glass wrote: > > > In this early stage of using binman to produce output files, we are mostly > > > seeing people using c

[PATCH 1/1] bootstd: BOOTDEV_SPI_FLASH requires BOOTSTD

2023-08-28 Thread Heinrich Schuchardt
Compiling sandbox_defconfig with CONFIG_BOOTSTD=n fails: /usr/bin/ld: drivers/mtd/spi/sf_bootdev.o: in function `sf_get_bootflow': /drivers/mtd/spi/sf_bootdev.c:43:(.text+0x96): undefined reference to `bootmeth_set_bootflow' Add the missing Kconfig dependency. Fixes: Fixes: 0c1f4

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

2023-08-28 Thread Tom Rini
On Tue, Aug 29, 2023 at 12:04:53AM +0530, 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 > > > devicetre

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

2023-08-28 Thread Sughosh Ganu
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 > > devicetree nodes and properties. Also describe in brief, the macros > > that can be used fo

Re: [PATCH v2 5/7] arm: qemu: Enable ramfb by default

2023-08-28 Thread Alper Nebi Yasak
On 2023-08-28 20:54 +03:00, Simon Glass wrote: > Hi Alper, > On Mon, 28 Aug 2023 at 09:46, Alper Nebi Yasak > wrote: >> >> On 2023-08-22 21:56 +03:00, Simon Glass wrote: >>> Hi Alper, >>> >>> On Tue, 22 Aug 2023 at 06:10, Alper Nebi Yasak >>> wrote: From: Alexander Graf Now

Re: [RFC PATCH 1/5] dt: Provide a way to remove non-compliant nodes and properties

2023-08-28 Thread Tom Rini
On Sat, Aug 26, 2023 at 02:36:29PM +0530, Sughosh Ganu wrote: > Add a function which is registered to spy for a EVT_FT_FIXUP event, > and removes the non upstreamed nodes and properties from the > devicetree before it gets passed to the OS. > > This allows removing entire nodes, or specific prope

Re: [PATCH 0/6] Attempt to enforce standard extensions for build output

2023-08-28 Thread Simon Glass
Hi Alper, On Sun, 27 Aug 2023 at 13:17, Alper Nebi Yasak wrote: > > On 2023-08-24 06:02 +03:00, Simon Glass wrote: > > In this early stage of using binman to produce output files, we are mostly > > seeing people using common extensions such as '.bin' and '.rom' > > > > But unusual extensions appe

Re: [PATCH v2 4/4] doc: qemu: arm: Add a section on booting Linux distros

2023-08-28 Thread Simon Glass
Hi Alper, On Sun, 27 Aug 2023 at 09:49, Alper Nebi Yasak wrote: > > On 2023-08-15 01:43 +03:00, Simon Glass wrote: > > Hi Alper, > > > > On Mon, 14 Aug 2023 at 11:40, Alper Nebi Yasak > > wrote: > >> I actually want to put the root.img device first so that the VM can boot > >> into the installe

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

2023-08-28 Thread Simon Glass
Hi Alex, On Wed, 23 Aug 2023 at 02:56, Alexander Graf wrote: > > Hey Simon, > > On 22.08.23 20:56, Simon Glass wrote: > > Hi Alex, > > > > On Tue, 22 Aug 2023 at 01:47, Alexander Graf wrote: > >> > >> On 22.08.23 01:03, Simon Glass wrote: > >>> Hi Alex, > >>> > >>> On Mon, 21 Aug 2023 at 16:40,

Re: [PATCH 1/1] cmd: gpt: fix gpt read

2023-08-28 Thread Simon Glass
Hi Heinrich, On Sun, 27 Aug 2023 at 01:42, Heinrich Schuchardt wrote: > > To partition a block device the partition type GUIDs are needed but 'gpt > read' does not provide these. Add the missing parts. > > Part of gpt.c has been written to work with CONFIG_PARTITION_UUIDS=n. But > when reading th

Re: [PATCH 1/2] dm: event: document all events

2023-08-28 Thread Simon Glass
Hi Heinrich, On Mon, 28 Aug 2023 at 09:22, Heinrich Schuchardt wrote: > > Provide Sphinx documentation for all events. > > Signed-off-by: Heinrich Schuchardt > --- > include/event.h | 84 +++-- > 1 file changed, 82 insertions(+), 2 deletions(-) > Gre

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

2023-08-28 Thread Simon Glass
Hi Sumit, On Thu, 24 Aug 2023 at 04:44, Sumit Garg wrote: > > Hi Simon, > > On Thu, 24 Aug 2023 at 05:29, Simon Glass wrote: > > > > Hi Sumit, > > > > On Tue, 12 Jul 2022 at 01:12, Sumit Garg wrote: > > > > > > Add support for 96Boards Dragonboard 845C aka Robotics RB3 development > > > platfor

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

2023-08-28 Thread Simon Glass
Hi Sughosh, On Sat, 26 Aug 2023 at 03:07, Sughosh Ganu wrote: > > Add a document explaining the need for removal of non-compliant > devicetree nodes and properties. Also describe in brief, the macros > that can be used for this removal. > > Signed-off-by: Sughosh Ganu > --- > .../devicetree/dt_

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

2023-08-28 Thread Simon Glass
Hi Tim, On Mon, 28 Aug 2023 at 11:33, Tim Harvey wrote: > > On Wed, Aug 23, 2023 at 6:18 PM 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 construc

Re: [PATCH v2] tools: ensure zeroed padding in external FIT images

2023-08-28 Thread Simon Glass
Hi Roman, On Mon, 28 Aug 2023 at 02:00, Roman Azarenko wrote: > > On Fri, 2023-08-25 at 12:06 -0600, Simon Glass wrote: > > > @@ -564,9 +564,13 @@ static int fit_extract_data(struct > > > image_tool_params *params, const char *fname) > > > /* Pack the FDT and place the data after it */ >

Re: [PATCH] doc: board: sdm845: Explicitly add boot.img flashing command

2023-08-28 Thread Simon Glass
On Thu, 24 Aug 2023 at 06:44, Sumit Garg wrote: > > Signed-off-by: Sumit Garg > --- > doc/board/qualcomm/sdm845.rst | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > Reviewed-by: Simon Glass

Re: [PATCH] setexpr: Silence some diagnostic messages

2023-08-28 Thread Simon Glass
On Thu, 24 Aug 2023 at 06:51, Łukasz Stelmach wrote: > > Neither successful match nor lack thereof should be considered an > extraordinary situation. Thus, neither require printing a message. > > Signed-off-by: Łukasz Stelmach > --- > cmd/setexpr.c | 4 ++-- > 1 file changed, 2 insertions(+), 2

Re: [PATCH 2/2] doc: add events.h to documentation

2023-08-28 Thread Simon Glass
On Mon, 28 Aug 2023 at 09:22, Heinrich Schuchardt wrote: > > Add the events.h include to the API documentation. > > Signed-off-by: Heinrich Schuchardt > --- > doc/api/event.rst | 9 + > doc/api/index.rst | 1 + > 2 files changed, 10 insertions(+) > create mode 100644 doc/api/event.rst >

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

2023-08-28 Thread Simon Glass
Hi Chanho, On Mon, 28 Aug 2023 at 03:46, Chanho Park wrote: > > For IH_OS_OPENSBI and IH_OS_LINUX, there is no chance to stash > bootstare record because it will not return after jumping to the image. > Hence, this patch moves the location of bootstage_stash before jumping > to image. > Please f

Re: [RFC PATCH 4/5] bootefi: Call the EVT_FT_FIXUP event handler

2023-08-28 Thread Simon Glass
Hi Heinrich, On Mon, 28 Aug 2023 at 05:02, Heinrich Schuchardt wrote: > > On 28.08.23 11:32, Sughosh Ganu wrote: > > On Sat, 26 Aug 2023 at 15:57, Heinrich Schuchardt > > wrote: > >> > >> On 8/26/23 11:06, Sughosh Ganu wrote: > >>> The bootefi command passes the devicetree to the kernel through

Re: [PATCH v2 5/7] arm: qemu: Enable ramfb by default

2023-08-28 Thread Simon Glass
Hi Alper, On Mon, 28 Aug 2023 at 09:46, Alper Nebi Yasak wrote: > > On 2023-08-22 21:56 +03:00, Simon Glass wrote: > > Hi Alper, > > > > On Tue, 22 Aug 2023 at 06:10, Alper Nebi Yasak > > wrote: > >> > >> From: Alexander Graf > >> > >> Now that we have everything in place to support ramfb, let'

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

2023-08-28 Thread Tom Rini
On Mon, Aug 28, 2023 at 10:19:55AM -0600, Simon Glass wrote: > Hi, > > On Sat, 26 Aug 2023 at 03:07, Sughosh Ganu 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

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

2023-08-28 Thread Simon Glass
Hi Peter, On Mon, 28 Aug 2023 at 10:37, Peter Robinson wrote: > > On Mon, Aug 28, 2023 at 5:20 PM Simon Glass wrote: > > > > Hi, > > > > On Sat, 26 Aug 2023 at 03:07, Sughosh Ganu wrote: > > > > > > > > > Provide a way for removing certain devicetree nodes and/or properties > > > from the devic

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

2023-08-28 Thread Tom Rini
On Mon, Aug 28, 2023 at 05:37:45PM +0100, Peter Robinson wrote: > On Mon, Aug 28, 2023 at 5:20 PM Simon Glass wrote: > > > > Hi, > > > > On Sat, 26 Aug 2023 at 03:07, Sughosh Ganu wrote: > > > > > > > > > Provide a way for removing certain devicetree nodes and/or properties > > > from the devicet

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

2023-08-28 Thread Tim Harvey
On Wed, Aug 23, 2023 at 6:18 PM 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 > --- > > arch/arm/dts/imx8mm-cl-io

Re: [PATCH v1 0/4] J721E DTS Sync with Kernel v6.5-rc1

2023-08-28 Thread Nishanth Menon
On 17:01-20230828, Neha Malcom Francis wrote: > This series aims to sync kernel.org v6.5-rc1 DTS with that of U-Boot. It > also includes cleanups where necessary along with certain changes to > ensure boot is unaffected. > > While it's mainly synced to the tag v6.5-rc1, one e

Re: [PATCH v1 2/4] arm: dts: k3-j721e: Sync with v6.5-rc1

2023-08-28 Thread Nishanth Menon
On 17:01-20230828, Neha Malcom Francis wrote: > Sync k3-j721e DTS with kernel.org v6.5-rc1. > * pcie_epx nodes have been deleted, they are not needed [1] > * use mcu_timer0 instead of the redundant timer1. Also delete > clock and power domain properties since J

Re: [PATCH v1 2/4] arm: dts: k3-j721e: Sync with v6.5-rc1

2023-08-28 Thread Nishanth Menon
On 17:01-20230828, Neha Malcom Francis wrote: > Sync k3-j721e DTS with kernel.org v6.5-rc1. > * pcie_epx nodes have been deleted, they are not needed [1] > * use mcu_timer0 instead of the redundant timer1. Also delete > clock and power domain properties since J

Re: [PATCH v2 1/6] configs: j721s2_evm_r5_defconfig: Increase malloc pool size in DRAM

2023-08-28 Thread Nishanth Menon
On 16:46-20230825, Manorit Chawdhry wrote: > From: Udit Kumar > > The malloc capacity in DRAM at R5 SPL is set to 1MB which isn't > sufficient to load the new tispl.bin to > enable loading of tispl.bin the size is increased by 256KB to 1.25MB. > > Cc: Nikhil M Jain > Signed-off-by: Udit Kumar

Re: [PATCH v2 6/6] board: ti: j721s2: MAINTAINERS: Update the MAINTAINERS File.

2023-08-28 Thread Nishanth Menon
On 16:47-20230825, Manorit Chawdhry wrote: > Update the MAINTAINERS file and propose a new MAINTAINER for j721s2 due > to the previous MAINTAINER not being associated with TI. > > Signed-off-by: Manorit Chawdhry > --- > board/ti/j721s2/MAINTAINERS | 5 +++-- > 1 file changed, 3 insertions(+), 2

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

2023-08-28 Thread Peter Robinson
On Mon, Aug 28, 2023 at 5:20 PM Simon Glass wrote: > > Hi, > > On Sat, 26 Aug 2023 at 03:07, Sughosh Ganu 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 relevan

Re: [PATCH v2 2/6] arm: mach-k3: j721s2: Add mcu_timer0 id to the dev list

2023-08-28 Thread Nishanth Menon
On 16:47-20230825, Manorit Chawdhry wrote: > mcu_timer0 is used by u-boot as the tick-timer. Add it to the soc > devices lsit so it an be enabled via the k3 power controller. > > Signed-off-by: Manorit Chawdhry > --- > arch/arm/mach-k3/j721s2/dev-data.c | 1 + > 1 file changed, 1 insertion(+) >

Re: [PATCH v2 4/6] k3-am68: Sync from Linux tag v6.5-rc1

2023-08-28 Thread Nishanth Menon
On 16:47-20230825, Manorit Chawdhry wrote: > The following commit syncs the device tree from Linux tag > v6.5-rc1 to U-boot and fixes the following to be compatible with > the future syncs - > [..] > > Signed-off-by: Manorit Chawdhry > --- > arch/arm/dts/k3-am68-sk-base-board-u-boot.dtsi | 69

Re: [PATCH v2 3/6] k3-j721s2: Sync from Linux tag v6.5-rc1

2023-08-28 Thread Nishanth Menon
On 16:47-20230825, Manorit Chawdhry wrote: > The following commit syncs the device tree from Linux tag > v6.5-rc1 to U-boot and fixes the following to be compatible with > the future syncs - [...] > > diff --git a/arch/arm/dts/k3-j721s2-common-proc-board-u-boot.dtsi > b/arch/arm/dts/k3-j721s2-c

Re: [PATCH v3 00/13] Fuzzing and ASAN for sandbox

2023-08-28 Thread Simon Glass
Hi Andrew, On Mon, 30 May 2022 at 04:00, Andrew Scull wrote: > > This series introduces ASAN and a basic fuzzing infrastructure that > works with sandbox. The example fuzz test towards the end of the series > will find something pretty quickly. That something is fixed by the > series "virtio: Har

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

2023-08-28 Thread Simon Glass
Hi, On Sat, 26 Aug 2023 at 03:07, Sughosh Ganu 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-Boot. Such nodes and > properties are then removed from t

Re: Fwd: New Defects reported by Coverity Scan for Das U-Boot

2023-08-28 Thread Tom Rini
On Mon, Aug 28, 2023 at 01:09:17PM -0300, Alvaro Fernando García wrote: > Hello, > > El jue, 24 ago. 2023 06:27, Abdellatif El Khlifi < > abdellatif.elkhl...@arm.com> escribió: > > > Hi Tom, > > > > > Here's the latest report > > > > > > -- Forwarded message - > > > From: > > > D

Re: Fwd: New Defects reported by Coverity Scan for Das U-Boot

2023-08-28 Thread Alvaro Fernando García
Hello, El jue, 24 ago. 2023 06:27, Abdellatif El Khlifi < abdellatif.elkhl...@arm.com> escribió: > Hi Tom, > > > Here's the latest report > > > > -- Forwarded message - > > From: > > Date: Mon, Aug 21, 2023 at 4:30 PM > > Subject: New Defects reported by Coverity Scan for Das U-B

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

2023-08-28 Thread Tom Rini
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 is given

Re: [PATCH v2 7/7] x86: qemu: Enable ramfb by default

2023-08-28 Thread Tom Rini
On Mon, Aug 28, 2023 at 06:40:10PM +0300, Alper Nebi Yasak wrote: > On 2023-08-22 21:56 +03:00, Simon Glass wrote: > > Hi Alper, > > > > On Tue, 22 Aug 2023 at 06:10, Alper Nebi Yasak > > wrote: > >> > >> Now that we have everything in place to support ramfb, let's wire it up > >> by default in

Re: [PATCH v2 5/7] arm: qemu: Enable ramfb by default

2023-08-28 Thread Alper Nebi Yasak
On 2023-08-22 21:56 +03:00, Simon Glass wrote: > Hi Alper, > > On Tue, 22 Aug 2023 at 06:10, Alper Nebi Yasak > wrote: >> >> From: Alexander Graf >> >> Now that we have everything in place to support ramfb, let's wire it up >> by default in the ARM QEMU targets. That way, you can easily use a >

Re: [PATCH v2 7/7] x86: qemu: Enable ramfb by default

2023-08-28 Thread Alper Nebi Yasak
On 2023-08-22 21:56 +03:00, Simon Glass wrote: > Hi Alper, > > On Tue, 22 Aug 2023 at 06:10, Alper Nebi Yasak > wrote: >> >> Now that we have everything in place to support ramfb, let's wire it up >> by default in the x86 QEMU targets. That way, we can use ramfb graphical >> console instead of t

Re: [PATCH V6 16/20] configs: am62x_evm_a53_defconfig: Disable semi-functional PSCI reset support

2023-08-28 Thread Mattijs Korpershoek
On ven., août 25, 2023 at 13:03, Nishanth Menon wrote: > From: Jan Kiszka > > At this point, system shutdown is not supported by the DM firmware > that TF-A calls. As we can't de-select only this feature[1], declare > complete PSCI reset support as non-functional so that we don't signal > incomp

Re: [PATCH V6 11/20] board: ti: am62x: am62x.env: Use default findfdt

2023-08-28 Thread Mattijs Korpershoek
On ven., août 25, 2023 at 13:02, Nishanth Menon wrote: > Use the default findfdt using CONFIG_DEFAULT_DEVICE_TREE > > Reviewed-by: Tom Rini > Tested-by: Mattijs Korpershoek > Signed-off-by: Nishanth Menon Reviewed-by: Mattijs Korpershoek > --- > No change that picking up Review, tested by a

  1   2   >