[PATCH v2] global: Use proper project name U-Boot (next2)

2023-09-08 Thread Michal Simek
Use proper project name in README, rst and comment. Done in connection to commit bb922ca3eb4b ("global: Use proper project name U-Boot (next)"). Signed-off-by: Michal Simek --- Changes in v2: - Revert change in tools/binman/entries.rst reported by Simon board/cobra5272/README

Re: [PATCH] global: Use proper project name U-Boot (next2)

2023-09-08 Thread Michal Simek
On 9/7/23 17:57, Simon Glass wrote: On Thu, 7 Sept 2023 at 07:00, Michal Simek wrote: Use proper project name in README, rst and comment. Done in connection to commit bb922ca3eb4b ("global: Use proper project name U-Boot (next)"). Signed-off-by: Michal Simek --- board/cobra5272/README

Re: [PATCH v2 2/7] arm: mach-k3: j721e: dev-data: Add mcu_timer0 ID

2023-09-08 Thread Manorit Chawdhry
Hi Neha, On 19:44-20230907, Neha Malcom Francis wrote: > U-Boot uses mcu_timer0 as the tick-timer, so add it to device list. > > Signed-off-by: Neha Malcom Francis > --- > arch/arm/mach-k3/j721e/dev-data.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/arch/arm/mach-k3/j721e/dev-data

[PATCH] spl: add __noreturn attribute to spl_invoke_atf function

2023-09-08 Thread Chanho Park
spl_invoke_atf function will not be returned to SPL. Thus, we need to set __noreturn function attribute to the function. Signed-off-by: Chanho Park --- common/spl/spl_atf.c | 8 include/spl.h| 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/common/spl/spl_at

Re: [PATCH v2 7/7] arm: dts: k3-j721e: Sync with v6.5-rc1

2023-09-08 Thread Manorit Chawdhry
Hi Neha, On 19:44-20230907, Neha Malcom Francis wrote: > Sync k3-j721e DTS with kernel.org v6.5-rc1. > > Signed-off-by: Neha Malcom Francis > --- > .../k3-j721e-common-proc-board-u-boot.dtsi| 146 +-- > arch/arm/dts/k3-j721e-common-proc-board.dts | 483 ++--- > arch/arm/dts/k3-j721e-m

Re: [PATCH] global: Use proper project name U-Boot (next2)

2023-09-08 Thread Alexander Graf
On 07.09.23 15:00, Michal Simek wrote: Use proper project name in README, rst and comment. Done in connection to commit bb922ca3eb4b ("global: Use proper project name U-Boot (next)"). Signed-off-by: Michal Simek For ppce500: Reviewed-by: Alexander Graf Alex

Re: [PATCH v2 7/7] arm: dts: k3-j721e: Sync with v6.5-rc1

2023-09-08 Thread Neha Malcom Francis
Hi Manorit On 08/09/23 13:42, Manorit Chawdhry wrote: Hi Neha, On 19:44-20230907, Neha Malcom Francis wrote: Sync k3-j721e DTS with kernel.org v6.5-rc1. Signed-off-by: Neha Malcom Francis --- .../k3-j721e-common-proc-board-u-boot.dtsi| 146 +-- arch/arm/dts/k3-j721e-common-proc-board.

Re: [PATCH RESEND] sunxi: add axp313a support

2023-09-08 Thread Andre Przywara
On Fri, 01 Sep 2023 06:05:10 +0900 SASANO Takayoshi wrote: Hi Takayoshi, thanks for sending this patch to the list, and for sticking to it! > There is no response from previous post, I think this patch is not reached to > suitable person and not reviewed yet. Running scripts/get_maintainer.pl

[PATCH] doc: board: ti: Move documentation from README to .rst

2023-09-08 Thread Neha Malcom Francis
Make the conversion for all existing TI documentation from README to .rst Signed-off-by: Neha Malcom Francis --- board/ti/dra7xx/README| 26 -- board/ti/ks2_evm/README | 194 - doc/README.ti-secure | 226 --- doc/SPI/README.ti_qspi_am43

Re: [PATCH v4 09/22] Move fdt_simplefb to boot/

2023-09-08 Thread Peter Robinson
On Thu, Sep 7, 2023 at 5:02 PM Simon Glass wrote: > > This relates to booting, so move it there. Create a new Kconfig menu for > things related to devicetree fixup. Is simplefb booting or video? > Signed-off-by: Simon Glass > --- > > (no changes since v1) > > boot/Kconfig|

Re: [PATCH v6 2/2] schemas: memory: Add ECC properties

2023-09-08 Thread Peter Robinson
On Thu, Sep 7, 2023 at 11:57 PM Simon Glass wrote: > > Some memories provide ECC detection and/or 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 ha

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

2023-09-08 Thread Ilias Apalodimas
Hi Simon, On Thu, 7 Sept 2023 at 15:23, Simon Glass wrote: > > Hi Ilias, > > On Wed, 6 Sept 2023 at 23:20, Ilias Apalodimas > wrote: > > > > Hi Rob, > > > > [...] > > > > > > > > > > > > > > > > > > What is the point of removing them? Instead, we should make > > > > > > > > sure that > > > > >

Re: sandbox trace errors in CI loop

2023-09-08 Thread Michal Simek
On 9/7/23 20:14, Tom Rini wrote: On Thu, Sep 07, 2023 at 05:30:03PM +0200, Michal Simek wrote: Hi Simon and Tom, I am preparing pull request and I see that CI loop is reporting issue with sandbox trace and I have no idea what's going wrong here. This is the first problematic commit but have

Re: [PATCH v4 5/6] docs: board: ti: Add j721s2_evm documentation

2023-09-08 Thread Apurva Nandan
On 04/09/23 16:08, Manorit Chawdhry wrote: Add the documentation for J721S2-EVM and SK-AM68 TRM for J721S2/AM68: https://www.ti.com/lit/pdf/spruj28 Product Page for J721S2: https://www.ti.com/tool/J721S2XSOMXEVM Product Page for AM68: https://www.ti.com/tool/SK-AM68 Reviewed-by: Neha Malcom F

[PATCH] doc: delete unused values kernel command line

2023-09-08 Thread Jaewon Jung
Delete "boot=local", "noswap" unused values in kernel command line Signed-off-by: Jaewon Jung --- doc/board/google/chromebook_coral.rst | 4 ++-- doc/usage/cmd/bootflow.rst| 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/board/google/chromebook_coral.rst

[PATCH] configs: am65x_evm_r5_usbmsc_defconfig: Enable DWC3 wrapper for SPL

2023-09-08 Thread Ravi Gunasekaran
commit 280f45d23977 ("configs: get rid of build warnings due to SPL_USB_DWC3_GENERIC") missed enabling DWC3 glue layer for usbmsc_defconfig and this broke boot from USB mass storage. Fix this by enabling DWC3 glue layer. Fixes: 280f45d23977 ("configs: get rid of build warnings due to SPL_USB_DWC3

Re: [RFC PATCH 2/2] binman: j721e: Add firewall configurations for atf

2023-09-08 Thread Manorit Chawdhry
Hi Andrew, On 08:54-20230906, Andrew Davis wrote: > On 9/6/23 12:18 AM, Manorit Chawdhry wrote: > > Hi Andrew, > > > > On 10:22-20230905, Andrew Davis wrote: > > > On 9/5/23 3:21 AM, Manorit Chawdhry wrote: > > > > The following commits adds the configuration of firewalls required to > > > > prot

Re: [PATCH v6 2/2] schemas: memory: Add ECC properties

2023-09-08 Thread Rob Herring
On Thu, Sep 7, 2023 at 4:40 PM Simon Glass wrote: > > Some memories provide ECC detection and/or 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 har

[PATCH] configs: am65x_evm: Use envboot before distro_bootcmd

2023-09-08 Thread Devarsh Thakkar
Use envboot cmd before issuring distro_bootcmd as otherwise environment variables from uEnv.txt are not getting imported. The commands after distro_bootcmd have no impact since board starts booting after distro_bootcmd, so it need to run last after all environment variables are configured correctl

[PATCH 0/8] Add some more EFI capsule tooling support

2023-09-08 Thread Sughosh Ganu
Recently, a set of patches were merged in next, which were adding support for generating capsules as part of the U-Boot build. Mid way through the review of those patches, it was decided to drop the patches for generating capsules through a config file. That was primarily due to the use of absolu

[PATCH 1/8] tools: mkeficapsule: Add support for parsing capsule params from config file

2023-09-08 Thread Sughosh Ganu
Add support for specifying the parameters needed for capsule generation through a config file, instead of passing them through command-line. Parameters for more than a single capsule file can be specified, resulting in generation of multiple capsules through a single invocation of the command. Sig

[PATCH 2/8] btool: mkeficapsule: Generate capsule through a config file

2023-09-08 Thread Sughosh Ganu
Add support to the mkeficapsule bintool for generating EFI capsules through a config file. Signed-off-by: Sughosh Ganu --- tools/binman/btool/mkeficapsule.py | 16 1 file changed, 16 insertions(+) diff --git a/tools/binman/btool/mkeficapsule.py b/tools/binman/btool/mkeficapsul

[PATCH 3/8] binman: capsule: Generate capsules through config file

2023-09-08 Thread Sughosh Ganu
Add support in binman for generating capsules by reading the capsule parameters through a config file. Also add a test case in binman for this mode of capsule generation. Signed-off-by: Sughosh Ganu --- tools/binman/entries.rst | 35 tools/binman/etype/efi_capsule

[PATCH 4/8] doc: Document capsule generation through a config file

2023-09-08 Thread Sughosh Ganu
The UEFI capsule can now be generate by specifying the capsule parameters through a config file. Additionally, the capsules can be generated as part of u-boot build, through binman. Highlight these changes in the documentation. Signed-off-by: Sughosh Ganu --- doc/develop/uefi/uefi.rst | 70 +

[PATCH 5/8] sandbox: capsule: Add a config file for generating capsules

2023-09-08 Thread Sughosh Ganu
Support has been added to the mkeficapsule tool to generate capsules by parsing the capsule parameters through a config file. Add a config file for generating capsules. These capsules will be used for testing the capsule update feature on sandbox platform. Enable generation of capsules through the

[PATCH 6/8] test: capsule: Generate capsules through config file

2023-09-08 Thread Sughosh Ganu
Add logic to generate capsules through a config file while testing the EFI capsule update functionality. Capsule generation through config file is enabled on the sandbox variant. Signed-off-by: Sughosh Ganu --- .../test_efi_capsule/capsule_gen_binman.dts| 8 test/py/tests/test_efi_

[PATCH 7/8] btool: mkeficapsule: Add support for EFI empty capsule generation

2023-09-08 Thread Sughosh Ganu
Add a method to the mkeficapsule bintool to generate empty capsules. These are capsules needed for the FWU A/B update feature. Signed-off-by: Sughosh Ganu --- tools/binman/btool/mkeficapsule.py | 29 + 1 file changed, 29 insertions(+) diff --git a/tools/binman/btool/

[PATCH 8/8] binman: capsule: Add support for generating EFI empty capsules

2023-09-08 Thread Sughosh Ganu
Add support in binman for generating EFI empty capsules. These capsules are used in the FWU A/B update feature. Also add test cases in binman for the corresponding code coverage. Signed-off-by: Sughosh Ganu --- Note: Simon, I have not forgotten your comment on the earlier series to add support fo

Re: [RFC 0/6] firmware: scmi: add SCMI pinctrl protocol support

2023-09-08 Thread Peng Fan
On 9/7/2023 5:58 PM, AKASHI Takahiro wrote: Hi Peng, On Wed, Sep 06, 2023 at 12:09:45AM -0300, Fabio Estevam wrote: Adding Peng Fan, who is working on scmi/pinctrl support for i.MX9: Thanks for looping me. https://lore.kernel.org/all/ZO9GLG5tQynYyAvR@pluto/T/ I made a comment there.

Re: sandbox trace errors in CI loop

2023-09-08 Thread Tom Rini
On Fri, Sep 08, 2023 at 12:24:10PM +0200, Michal Simek wrote: > > > On 9/7/23 20:14, Tom Rini wrote: > > On Thu, Sep 07, 2023 at 05:30:03PM +0200, Michal Simek wrote: > > > Hi Simon and Tom, > > > > > > I am preparing pull request and I see that CI loop is reporting issue with > > > sandbox trac

[PATCH 1/2] cache: sifive: clear out the error irqs on init

2023-09-08 Thread Ben Dooks
We are getting a number of cache errors on starting an OS, so to try and avoid this, clear the errors when we first probe the cache. Signed-off-by: Ben Dooks [ben.do...@codethink.co.uk: changed from sifive.com address] --- drivers/cache/cache-sifive-ccache.c | 9 - 1 file changed, 8 inse

[PATCH 2/2] sifive: ccache: add clear LIM area

2023-09-08 Thread Ben Dooks
Add option to clear the LIM area on startup, just in case this is the cause of some of the data-errors on startup. Signed-off-by: Ben Dooks [ben.do...@codethink.co.uk: changed from sifive.com address] --- drivers/cache/Kconfig | 8 ++ drivers/cache/cache-sifive-ccache.c | 40 +

Re: [PATCH] configs: am65x_evm: Use envboot before distro_bootcmd

2023-09-08 Thread Tom Rini
On Fri, Sep 08, 2023 at 05:26:15PM +0530, Devarsh Thakkar wrote: > Use envboot cmd before issuring distro_bootcmd as otherwise > environment variables from uEnv.txt are not getting imported. > > The commands after distro_bootcmd have no impact since board starts > booting after distro_bootcmd, so

Re: sandbox trace errors in CI loop

2023-09-08 Thread Michal Simek
On 9/8/23 15:34, Tom Rini wrote: On Fri, Sep 08, 2023 at 12:24:10PM +0200, Michal Simek wrote: On 9/7/23 20:14, Tom Rini wrote: On Thu, Sep 07, 2023 at 05:30:03PM +0200, Michal Simek wrote: Hi Simon and Tom, I am preparing pull request and I see that CI loop is reporting issue with sandb

Re: [PATCH 1/2] cache: sifive: clear out the error irqs on init

2023-09-08 Thread Ben Dooks
On 08/09/2023 14:37, Ben Dooks wrote: We are getting a number of cache errors on starting an OS, so to try and avoid this, clear the errors when we first probe the cache. Signed-off-by: Ben Dooks [ben.do...@codethink.co.uk: changed from sifive.com address] As a follow-up, this hasn't been che

[PATCHv8 00/15] net/lwip: add lwip library for the network stack

2023-09-08 Thread Maxim Uvarov
Before apply these patches it is needed to create lwIP merge into U-Boot: git subtree add --prefix net/lwip/lwip-external https://git.savannah.nongnu.org/git/lwip.git master --squash or create git submodule, depends how it's more easy to maintain external library. changelog: v8: - comme

[PATCHv8 01/15] net/lwip: add doc/develop/net_lwip.rst

2023-09-08 Thread Maxim Uvarov
Add initial documentation of lwIP network IP stack integration to the U-Boot (net_lwip.rst). Signed-off-by: Maxim Uvarov Reviewed-by: Simon Glass --- doc/develop/index.rst| 1 + doc/develop/net_lwip.rst | 75 2 files changed, 76 insertions(+) creat

[PATCHv8 02/15] net/lwip: integrate lwIP library

2023-09-08 Thread Maxim Uvarov
Define Makefile and Kconfig to build lwIP inside the U-Boot. We compile lwIP the same as the main code, plus we can do optimization for size at compile time with disabling not needed debug asserts, or not used protocols. So we can tune lwIP configuration specially for U-Boot environments. Signed-o

[PATCHv8 03/15] net/lwip: implement dns cmd

2023-09-08 Thread Maxim Uvarov
U-Boot recently got support for an alternative network stack using LWIP. Replace dns command with the LWIP variant while keeping the output and error messages identical. Signed-off-by: Maxim Uvarov --- include/net/lwip.h | 19 +++ net/lwip/Makefile| 2 ++ net/lwip/

[PATCHv8 04/15] net/lwip: implement dhcp cmd

2023-09-08 Thread Maxim Uvarov
U-Boot recently got support for an alternative network stack using LWIP. Replace dhcp command with the LWIP variant while keeping the output and error messages identical. Signed-off-by: Maxim Uvarov --- include/net/lwip.h | 12 +++ net/lwip/Makefile | 1 + net/lwip/

[PATCHv8 05/15] net/lwip: implement tftp cmd

2023-09-08 Thread Maxim Uvarov
U-Boot recently got support for an alternative network stack using LWIP. Replace tftp command with the LWIP variant while keeping the output and error messages identical. Signed-off-by: Maxim Uvarov --- include/net/lwip.h | 14 +++- net/lwip/Makefile | 1 + net/lwip/a

[PATCHv8 06/15] net/lwip: implement wget cmd

2023-09-08 Thread Maxim Uvarov
U-Boot recently got support for an alternative network stack using LWIP. Replace wget command with the LWIP variant while keeping the output and error messages identical. Signed-off-by: Maxim Uvarov --- include/net/lwip.h | 15 + net/lwip/Makefile | 1 + net/lwip/

[PATCHv8 07/15] net/lwip: implement ping cmd

2023-09-08 Thread Maxim Uvarov
U-Boot recently got support for an alternative network stack using LWIP. Replace ping command with the LWIP variant while keeping the output and error messages identical. ping uses lwIP contrib/apps/ping/ping.c code. Custom timeout is used to get an error message on not modified example. lwIP timeo

[PATCHv8 08/15] net/lwip: add lwIP configuration

2023-09-08 Thread Maxim Uvarov
lwip configuration can be tuned with header file. Signed-off-by: Maxim Uvarov --- net/lwip/lwipopts.h | 178 1 file changed, 178 insertions(+) create mode 100644 net/lwip/lwipopts.h diff --git a/net/lwip/lwipopts.h b/net/lwip/lwipopts.h new file mod

[PATCHv8 09/15] net/lwip: implement lwIP port to U-Boot

2023-09-08 Thread Maxim Uvarov
Implement port of lwIP stack to the U-Boot. lwIP is well known full IP stack which provides wide functionality, various examples, API closer to linux userland. Rich debug printing and possibility to run lwIP apps under linux make it easier to develop and debug apps. U-Boot implementation keeps the

[PATCHv8 10/15] net/lwip: update .gitignore with lwIP

2023-09-08 Thread Maxim Uvarov
ignore lwIP library code and reused files from the lwIP. Signed-off-by: Maxim Uvarov --- net/lwip/.gitignore | 8 1 file changed, 8 insertions(+) create mode 100644 net/lwip/.gitignore diff --git a/net/lwip/.gitignore b/net/lwip/.gitignore new file mode 100644 index 00..7b5dac

[PATCHv8 11/15] net/lwip: connection between cmd and lwip apps

2023-09-08 Thread Maxim Uvarov
Signed-off-by: Maxim Uvarov --- cmd/Makefile | 1 + cmd/net-lwip.c | 286 + 2 files changed, 287 insertions(+) create mode 100644 cmd/net-lwip.c diff --git a/cmd/Makefile b/cmd/Makefile index 9bebf321c3..6ab6b16aab 100644 --- a/cmd/Makefile ++

[PATCHv8 12/15] net/lwip: replace original net commands with lwip

2023-09-08 Thread Maxim Uvarov
Replace original commands: ping, tftp, dhcp and wget. Signed-off-by: Maxim Uvarov --- boot/bootmeth_efi.c | 18 +++--- boot/bootmeth_pxe.c | 21 ++- cmd/net.c | 86 + cmd/pxe.c | 19 +- include/net.h | 8 +

[PATCHv8 13/15] net/lwip: split net.h to net.h, arp.h and eth.h

2023-09-08 Thread Maxim Uvarov
current net.h has ethernet and protocol definitions. Protocol definitions overlap with lwIP protocol definitions and net.h can not be included from lwIP code. Splitting on logical blocks makes that work. Signed-off-by: Maxim Uvarov --- include/net.h | 189 +---

[PATCHv8 14/15] net/lwip: drop old net/wget

2023-09-08 Thread Maxim Uvarov
After which to lwip variants of working apps we need to drop old code with all dependencies. This commit drop old wget command files. Signed-off-by: Maxim Uvarov --- include/net/wget.h | 22 --- net/Makefile | 1 - net/net.c | 6 - net/wget.c | 440 ---

[PATCHv8 15/15] net/lwip/wget add port selection

2023-09-08 Thread Maxim Uvarov
Allow to specify HTTP port instead of just using default for wget command. Signed-off-by: Maxim Uvarov --- include/net/lwip.h | 2 +- net/lwip/apps/http/lwip-wget.c | 40 +- 2 files changed, 31 insertions(+), 11 deletions(-) diff --git a/include/net/

Re: [PATCHv8 00/15] net/lwip: add lwip library for the network stack

2023-09-08 Thread Tom Rini
On Fri, Sep 08, 2023 at 07:53:05PM +0600, Maxim Uvarov wrote: > Before apply these patches it is needed to create lwIP merge into U-Boot: > git subtree add --prefix net/lwip/lwip-external > https://git.savannah.nongnu.org/git/lwip.git master --squash > or > create git submodule, depends how it's

[PATCH v3 00/16]Introduce initial TI's J784S4 and AM69 support

2023-09-08 Thread Apurva Nandan
Hello Everyone! This series will introduce basic support (SD and UART) support for Texas Instruments J784S4 EVM. The J784S4 SoC device tree patches are taken from kernel patch submissions and will be updated as they are accepted and merged to the kernel tree. All other patches are specific to SPL

[PATCH v3 01/16] arm: dts: Introduce j784s4 dts from linux kernel

2023-09-08 Thread Apurva Nandan
Introduce the basic j784s4 SoC dts from the next-20230905 tag of the linux kernel. Signed-off-by: Hari Nagalla Signed-off-by: Apurva Nandan --- arch/arm/dts/k3-j784s4-evm.dts | 864 + arch/arm/dts/k3-j784s4-main.dtsi | 1571 arch/arm/dts/k3-j7

[PATCH v3 02/16] arm: mach-k3: Add basic support for J784S4 SoC definition

2023-09-08 Thread Apurva Nandan
Add j784s4 initialization files for initial SPL boot. Signed-off-by: Hari Nagalla [ add firewall configurations and change the R5 MCU scratchpad ] Signed-off-by: Manorit Chawdhry Signed-off-by: Dasnavis Sabiya Signed-off-by: Apurva Nandan --- arch/arm/mach-k3/Kconfig | 1

[PATCH v3 03/16] soc: ti: k3-socinfo: Add entry for J784S4 SoC

2023-09-08 Thread Apurva Nandan
Add support for J784S4 SoC Identification. Signed-off-by: Hari Nagalla Signed-off-by: Apurva Nandan --- arch/arm/mach-k3/include/mach/hardware.h | 1 + drivers/soc/soc_ti_k3.c | 3 +++ 2 files changed, 4 insertions(+) diff --git a/arch/arm/mach-k3/include/mach/hardware.h b/ar

[PATCH v3 04/16] arm: mach-k3: j784s4: Add clk and power support

2023-09-08 Thread Apurva Nandan
Add clk and device data which can be used by respective drivers to configure clocks and PSC. Signed-off-by: Hari Nagalla Signed-off-by: Apurva Nandan --- arch/arm/mach-k3/j784s4/Makefile | 5 + arch/arm/mach-k3/j784s4/clk-data.c | 428 + arch/arm/mach-k3/j784

[PATCH v3 05/16] drivers: dma: Add support for J784S4 SoC

2023-09-08 Thread Apurva Nandan
Add support for DMA in J784S4 SoC. Signed-off-by: Jayesh Choudhary Signed-off-by: Hari Nagalla Signed-off-by: Apurva Nandan --- drivers/dma/ti/Makefile | 1 + drivers/dma/ti/k3-psil-j784s4.c | 166 ++ drivers/dma/ti/k3-psil-priv.h | 1 +

[PATCH v3 06/16] remoteproc: k3-r5: Extend support for R5F clusters on J784S4 SoCs

2023-09-08 Thread Apurva Nandan
From: Hari Nagalla The K3 J784S4 SoCs have four dual-core R5F subsystems, one in MCU voltage domain and the other three in MAIN voltage domain. These R5F clusters are similar to the R5F clusters in J7200 and J721S2 SoCs. Extend support to the R5F clusters for J784S4 with J721S2 compatible string

[PATCH v3 07/16] remoteproc: k3-dsp: Extend support for C71x DSPs on J784S4 SoCs

2023-09-08 Thread Apurva Nandan
From: Hari Nagalla The K3 J784S4 SoCs have four C71x DSP subsystems in MAIN voltage domain The C71x DSPs are 64 bit machine with fixed and floating point DSP operations. The C71x DSP subsystem is a slighly updated version of the C71x DSP subsystem on J721e. And, same ip data can be used for J7200

[PATCH v3 10/16] arm: dts: Introduce am69-sk dts from linux kernel

2023-09-08 Thread Apurva Nandan
From: Dasnavis Sabiya Introduce the basic am69-sk evm dts from the next-20230905 tag of the linux kernel. Signed-off-by: Dasnavis Sabiya Signed-off-by: Apurva Nandan --- arch/arm/dts/Makefile | 3 +- arch/arm/dts/k3-am69-sk.dts | 364 2 files chang

[PATCH v3 11/16] board: ti: j784s4: Add support for board detection by EEPROM read

2023-09-08 Thread Apurva Nandan
From: Dasnavis Sabiya The board name is programmed in the EEPROM. Add support for board detection and choose the right dtb based on the board name read from EEPROM. The J784S4/AM69 has two platforms naming J784S4-EVM and AM69-SK. The J784S4 has EEPROM populated at 0x50. AM69 SK has EEPROM popula

[PATCH v3 12/16] board: ti: j784s4: Update env to use am69-sk dtb

2023-09-08 Thread Apurva Nandan
From: Dasnavis Sabiya Add condition to select right dtb for AM69 SK vs J784S4 EVM board. Signed-off-by: Dasnavis Sabiya Signed-off-by: Apurva Nandan --- board/ti/j784s4/j784s4.env | 2 ++ 1 file changed, 2 insertions(+) diff --git a/board/ti/j784s4/j784s4.env b/board/ti/j784s4/j784s4.env ind

[PATCH v3 13/16] arm: dts: Introduce am69-sk u-boot dts files

2023-09-08 Thread Apurva Nandan
From: Dasnavis Sabiya Introduce the base dts files needed for u-boot or to augment the linux dtbs for use in the u-boot-spl and u-boot binaries. Signed-off-by: Dasnavis Sabiya Signed-off-by: Apurva Nandan --- arch/arm/dts/Makefile | 3 +- arch/arm/dts/k3-am69-r5-sk.dts |

[PATCH v3 14/16] arm: dts: k3-j784s4-binman: Add support for AM69 SK

2023-09-08 Thread Apurva Nandan
From: Dasnavis Sabiya The J784S4/AM69 has 2 platforms naming J784S4-EVM and AM69-SK. Add binman support to build HS anad GP boot binaries for AM69 SK platform Signed-off-by: Dasnavis Sabiya Signed-off-by: Apurva Nandan --- arch/arm/dts/k3-j784s4-binman.dtsi | 92 ++

[PATCH v3 15/16] configs: j784s4_evm: Add defconfig for j784s4 evm and am69 sk

2023-09-08 Thread Apurva Nandan
Add defconfigs for building R5 U-Boot SPL and A72 U-Boot. Signed-off-by: Hari Nagalla Signed-off-by: Dasnavis Sabiya Signed-off-by: Apurva Nandan --- configs/j784s4_evm_a72_defconfig | 181 +++ configs/j784s4_evm_r5_defconfig | 164 2 f

[PATCH v3 16/16] doc: board: ti: k3: Add J784S4 EVM and AM69 SK documentation

2023-09-08 Thread Apurva Nandan
TI K3 J784S4 and AM69 SK are new additions to the K3 SoC family. Add documentation about the J784S4 EVM and AM69 SK. Signed-off-by: Dasnavis Sabiya Signed-off-by: Apurva Nandan --- board/ti/j784s4/MAINTAINERS | 1 + doc/board/ti/j784s4_evm.rst | 339 doc/b

Re: [PATCH v3 04/13] firmware: scmi: framework for installing additional protocols

2023-09-08 Thread Etienne CARRIERE
> From: AKASHI Takahiro > Sent: Friday, September 8, 2023 04:51 >   > This framework allows SCMI protocols to be installed and bound to the agent > so that the agent can manage and utilize them later. > > Signed-off-by: AKASHI Takahiro > Reviewed-by: Simon Glass > Reviewed-by: Etienne Carriere

Re: [PATCH v3 01/13] scmi: refactor the code to hide a channel from devices

2023-09-08 Thread Etienne CARRIERE
Hello Akashi-san, > > From: AKASHI Takahiro > Sent: Friday, September 8, 2023 04:51 >   > The commit 85dc58289238 ("firmware: scmi: prepare uclass to pass channel > reference") added an explicit parameter, channel, but it seems to make > the code complex. > > Hiding this parameter will allow fo

Re: [PATCH v3 05/13] firmware: scmi: install base protocol to SCMI agent

2023-09-08 Thread Etienne CARRIERE
Hello Akashi-san, Some minor comments. > From: AKASHI Takahiro > Sent: Friday, September 8, 2023 04:51 > > SCMI base protocol is mandatory, and once SCMI node is found in a device > tree, the protocol handle (udevice) is unconditionally installed to > the agent. Then basic information will be r

Re: [PATCH v3 05/13] firmware: scmi: install base protocol to SCMI agent

2023-09-08 Thread Etienne CARRIERE
> From: AKASHI Takahiro > Sent: Friday, September 8, 2023 04:51 >   > SCMI base protocol is mandatory, and once SCMI node is found in a device > tree, the protocol handle (udevice) is unconditionally installed to > the agent. Then basic information will be retrieved from SCMI server via > the prot

Re: [PATCH v3 13/13] test: dm: add scmi command test

2023-09-08 Thread Etienne CARRIERE
> From: AKASHI Takahiro > Sent: Friday, September 8, 2023 04:51 >   > In this test, "scmi" command is tested against different sub-commands. > Please note that scmi command is for debug purpose and is not intended > in production system. > > Signed-off-by: AKASHI Takahiro > Reviewed-by: Simon Gl

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

2023-09-08 Thread Jassi Brar
Hi Simon, On Thu, Sep 7, 2023 at 3:08 PM Simon Glass wrote: > On Wed, 6 Sept 2023 at 23:20, Ilias Apalodimas > > > > > > I beg to differ. Devicetree is more than just hardware and always has > > > > been. See, for example the /chosen and /options nodes. > > > > > > There are exceptions... > > > >

Re: [PATCH v3 11/16] board: ti: j784s4: Add support for board detection by EEPROM read

2023-09-08 Thread Nishanth Menon
On 16:35-20230908, Apurva Nandan wrote: > From: Dasnavis Sabiya > > The board name is programmed in the EEPROM. Add support for board > detection and choose the right dtb based on the board name read > from EEPROM. > > The J784S4/AM69 has two platforms naming J784S4

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

2023-09-08 Thread Tom Rini
On Fri, Sep 08, 2023 at 09:37:12AM -0500, Jassi Brar wrote: > Hi Simon, > > On Thu, Sep 7, 2023 at 3:08 PM Simon Glass wrote: > > On Wed, 6 Sept 2023 at 23:20, Ilias Apalodimas > > > > > > > > I beg to differ. Devicetree is more than just hardware and always has > > > > > been. See, for example t

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

2023-09-08 Thread Tom Rini
On Fri, Sep 08, 2023 at 01:13:42PM +0300, Ilias Apalodimas wrote: > Hi Simon, > > On Thu, 7 Sept 2023 at 15:23, Simon Glass wrote: > > > > Hi Ilias, > > > > On Wed, 6 Sept 2023 at 23:20, Ilias Apalodimas > > wrote: > > > > > > Hi Rob, > > > > > > [...] > > > > > > > > > > > > > > > > > > > > > W

Re: sandbox trace errors in CI loop

2023-09-08 Thread Michal Simek
Hi Tom, pá 8. 9. 2023 v 15:42 odesílatel Michal Simek napsal: > > > > On 9/8/23 15:34, Tom Rini wrote: > > On Fri, Sep 08, 2023 at 12:24:10PM +0200, Michal Simek wrote: > >> > >> > >> On 9/7/23 20:14, Tom Rini wrote: > >>> On Thu, Sep 07, 2023 at 05:30:03PM +0200, Michal Simek wrote: > Hi Si

Re: [PATCH v4 09/22] Move fdt_simplefb to boot/

2023-09-08 Thread Tom Rini
On Fri, Sep 08, 2023 at 10:36:20AM +0100, Peter Robinson wrote: > On Thu, Sep 7, 2023 at 5:02 PM Simon Glass wrote: > > > > This relates to booting, so move it there. Create a new Kconfig menu for > > things related to devicetree fixup. > > Is simplefb booting or video? It modifying the device t

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

2023-09-08 Thread Ilias Apalodimas
Hi Tom, On Fri, 8 Sept 2023 at 17:54, Tom Rini wrote: > > On Fri, Sep 08, 2023 at 01:13:42PM +0300, Ilias Apalodimas wrote: > > Hi Simon, > > > > On Thu, 7 Sept 2023 at 15:23, Simon Glass wrote: > > > > > > Hi Ilias, > > > > > > On Wed, 6 Sept 2023 at 23:20, Ilias Apalodimas > > > wrote: > > >

Re: [RFC PATCH 2/2] binman: j721e: Add firewall configurations for atf

2023-09-08 Thread Andrew Davis
On 9/8/23 6:43 AM, Manorit Chawdhry wrote: Hi Andrew, On 08:54-20230906, Andrew Davis wrote: On 9/6/23 12:18 AM, Manorit Chawdhry wrote: Hi Andrew, On 10:22-20230905, Andrew Davis wrote: On 9/5/23 3:21 AM, Manorit Chawdhry wrote: The following commits adds the configuration of firewalls req

Re: [PATCH v3 11/16] board: ti: j784s4: Add support for board detection by EEPROM read

2023-09-08 Thread Andrew Davis
On 9/8/23 9:42 AM, Nishanth Menon wrote: On 16:35-20230908, Apurva Nandan wrote: From: Dasnavis Sabiya The board name is programmed in the EEPROM. Add support for board detection and choose the right dtb based on the board name read from EEPROM. The J784S4/AM69 has two platforms naming

Re: [PATCH] ARM: dts: am335x-pocketbeagle: choose tick-timer

2023-09-08 Thread Robert Nelson
On Wed, Aug 30, 2023 at 10:26 AM Trevor Woerner wrote: > > Commit 4b2be78ab66c ("time: Fix get_ticks being non-monotonic") > requires '/chosen/tick-timer' in device-tree. Otherwise we get: > > U-Boot 2023.07.02 (Jul 11 2023 - 15:20:44 +) > > CPU : AM335X-GP rev 2.1 > M

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

2023-09-08 Thread Ilias Apalodimas
Hi Sean, On Fri, Aug 04, 2023 at 04:33:56PM -0700, seanedm...@linux.microsoft.com wrote: > 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. Can you elaborate a bit more why you specifically need an RN

Re: [PATCH v3 11/16] board: ti: j784s4: Add support for board detection by EEPROM read

2023-09-08 Thread Nishanth Menon
On 10:59-20230908, Andrew Davis wrote: > On 9/8/23 9:42 AM, Nishanth Menon wrote: > > On 16:35-20230908, Apurva Nandan wrote: > > > From: Dasnavis Sabiya > > > > > > The board name is programmed in the EEPROM. Add support for board > > > detection and

Re: [PATCH v3 11/16] board: ti: j784s4: Add support for board detection by EEPROM read

2023-09-08 Thread Andrew Davis
On 9/8/23 12:03 PM, Nishanth Menon wrote: On 10:59-20230908, Andrew Davis wrote: On 9/8/23 9:42 AM, Nishanth Menon wrote: On 16:35-20230908, Apurva Nandan wrote: From: Dasnavis Sabiya The board name is programmed in the EEPROM. Add support for board detection and choose the right dtb based

[RFC PATCH v2 0/3] thermal: Integrate VTM and AVS driver

2023-09-08 Thread Udit Kumar
VTM (Voltage and Thermal Manager) IP is used for following purpose 1) AVS class 0 2) Thermal management (setting thermal shutdown TSHUT) temperature. 3) SoC temperature reporting. In origin boot flow, R5/SPL sets the AVS voltage using by AVS driver, residing under UCLASS_MISC. In this series At t

[RFC PATCH v2 1/3] thermal: k3: Add support for thermal in vtm

2023-09-08 Thread Udit Kumar
TI K3's SOC supports AVS class 0 and thermal functions by one IP called VTM (voltage and Thermal Manager). This patch adds support for thermal management into available AVS driver. Along with updating needed configs for boot Signed-off-by: Udit Kumar --- configs/am65x_evm_r5_defconfig|

[RFC PATCH v2 2/3] arm: mach-k3: update board file to use thermal device

2023-09-08 Thread Udit Kumar
Update am65 and J721e board files to use thermal device instead of MISC device Signed-off-by: Udit Kumar --- arch/arm/mach-k3/am654_init.c | 2 +- arch/arm/mach-k3/j721e_init.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-k3/am654_init.c b/arch/arm/mach-k3

[RFC PATCH v2 3/3] arm: dts: k3: update device tree for vtm node

2023-09-08 Thread Udit Kumar
Update device tree for vtm node and update driver compatible too Signed-off-by: Udit Kumar --- Kernel DT sync is happening in other series. So this patch is added just for testing and make sure functions are working ok arch/arm/dts/k3-j7200-mcu-wakeup.dtsi | 9 + arch/arm/dts/

Re: [PATCH] ARM: dts: am335x-pocketbeagle: choose tick-timer

2023-09-08 Thread Nishanth Menon
On 11:25-20230830, Trevor Woerner wrote: > Commit 4b2be78ab66c ("time: Fix get_ticks being non-monotonic") > requires '/chosen/tick-timer' in device-tree. Otherwise we get: > > U-Boot 2023.07.02 (Jul 11 2023 - 15:20:44 +) > > CPU : AM335X-GP rev 2.1 > Model: TI AM335x Pocke

Re: [PATCH v2] bootstd: sata: Add bootstd support for ahci sata

2023-09-08 Thread Tony Dinh
On Thu, Sep 7, 2023 at 2:39 PM Tony Dinh wrote: > > Add ahci sata bootdev and corresponding hunting function. > > Signed-off-by: Tony Dinh > --- > > Changes in v2: > - set devtype to sata in bootmeth_script for non-scsi SATA device > > boot/bootmeth_script.c | 12 ++-- > drivers/ata/Make

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

2023-09-08 Thread Mark Kettenis
> From: Jassi Brar > Date: Fri, 8 Sep 2023 09:37:12 -0500 > > Hi Simon, > > On Thu, Sep 7, 2023 at 3:08 PM Simon Glass wrote: > > On Wed, 6 Sept 2023 at 23:20, Ilias Apalodimas > > > > > > > > I beg to differ. Devicetree is more than just hardware and always has > > > > > been. See, for example

Re: [PATCH v3 11/16] board: ti: j784s4: Add support for board detection by EEPROM read

2023-09-08 Thread Nishanth Menon
On 12:20-20230908, Andrew Davis wrote: > On 9/8/23 12:03 PM, Nishanth Menon wrote: > > On 10:59-20230908, Andrew Davis wrote: > > > On 9/8/23 9:42 AM, Nishanth Menon wrote: > > > > On 16:35-20230908, Apurva Nandan wrote: > > > > > From: Dasnavis S

Re: [PATCH 1/7] rng: stm32: rename STM32 RNG driver

2023-09-08 Thread Heinrich Schuchardt
On 9/7/23 18:21, Gatien Chevallier wrote: Rename the RNG driver as it is usable by other STM32 platforms than the STM32MP1x ones. Rename CONFIG_RNG_STM32MP1 to CONFIG_RNG_STM32 Signed-off-by: Gatien Chevallier LGTM Reviewed-by: Heinrich Schuchardt

Re: [PATCH 2/7] configs: default activate CONFIG_RNG_STM32 for STM32MP13x platforms

2023-09-08 Thread Heinrich Schuchardt
On 9/7/23 18:21, Gatien Chevallier wrote: Default embed this configuration. If OP-TEE PTA RNG is present as well, the priority will be given to it instead of the U-Boot driver. Are you relying here on drivers being probed in alphabetical sequence? Best regards Heinrich Signed-off-by: Gatie

Re: [PATCH 3/7] rng: stm32: Implement configurable RNG clock error detection

2023-09-08 Thread Heinrich Schuchardt
On 9/7/23 18:21, Gatien Chevallier wrote: RNG clock error detection is now enabled if the "clock-error-detect" property is set in the device tree. Signed-off-by: Gatien Chevallier --- drivers/rng/stm32_rng.c | 22 +- 1 file changed, 17 insertions(+), 5 deletions(-) diff

[PATCH v3] bootstd: sata: Add bootstd support for ahci sata

2023-09-08 Thread Tony Dinh
Add ahci sata bootdev and corresponding hunting function. Signed-off-by: Tony Dinh --- Changes in v3: - Correct drivers/ata/Makefile to compile sata_bootdev only if ahci sata is enabled. Changes in v2: - set devtype to sata in bootmeth_script for non-scsi SATA device. boot/bootmeth_script.c

Re: [PATCH] doc: qemu: switch swtpm instruction to 'tpm autostart'

2023-09-08 Thread Heinrich Schuchardt
On 6/16/23 10:42, Ilias Apalodimas wrote: We don't have a documentation page for our TPM subsystem. I plan on sending one in the future, but in the meantime document the new 'tpm autostart' command in the QEMU instructions while using a SWTPM Signed-off-by: Ilias Apalodimas Reviewed-by: Si

Re: [PATCH v1] doc: Update path to source_file_format.rst

2023-09-08 Thread Heinrich Schuchardt
On 9/7/23 22:50, Joao Marcos Costa wrote: Previously, the file extension was .txt, and it referenced the uImage.FIT directory, which no longer exists. This commit updates the path accordingly. Signed-off-by: Joao Marcos Costa --- doc/usage/fit/howto.rst | 2 +- 1 file changed, 1 insertion(+)

Re: [PATCH] ufs: ufs-renesas: Add support for Renesas R-Car UFS controller

2023-09-08 Thread Tom Rini
On Tue, Aug 22, 2023 at 03:47:13AM +0200, Marek Vasut wrote: > Add support for Renesas R-Car UFS controller which needs vendor-specific > initialization. > > Ported from Linux kernel as of commit > c2ab666072bc ("scsi: ufs: Explicitly include correct DT includes") > > Signed-off-by: Marek Vasut

  1   2   >