Re: [PATCH v2 02/12] firmware: scmi: implement SCMI base protocol

2023-08-07 Thread AKASHI Takahiro
Hi Etienne, On Thu, Aug 03, 2023 at 09:35:57AM +, Etienne CARRIERE wrote: > Hello Takahiro-san, > > > From: AKASHI Takahiro > > Sent: Wednesday, July 26, 2023 10:37 > >   > > SCMI base protocol is mandatory according to the SCMI specification. > > > > With this patch, SCMI base protocol can

Re: [PATCH 4/7] net: dwc_eth_qos: Add glue driver for GMAC on Rockchip RK3568

2023-08-07 Thread Jonas Karlman
Hi Eugen, On 2023-08-07 16:41, Eugen Hristev wrote: > Hi Jonas, > > Thank you for your work, Thanks! > > On 8/7/23 03:08, Jonas Karlman wrote: >> Add a new glue driver for Rockchip SoCs, i.e RK3568, with a GMAC based >> on Synopsys DWC Ethernet QoS IP. >> >> rk_gmac_ops was ported from linux c

Re: [PATCH v7 09/11] sandbox: capsule: Generate capsule related files through binman

2023-08-07 Thread Simon Glass
Hi Tom, On Mon, 7 Aug 2023 at 12:08, Tom Rini wrote: > > On Sun, Aug 06, 2023 at 04:43:06PM +0530, Sughosh Ganu wrote: > > On Sun, 6 Aug 2023 at 03:48, Tom Rini wrote: > > > > > > On Sat, Aug 05, 2023 at 09:04:00AM -0600, Simon Glass wrote: > > > > Hi Sughosh, > > > > > > > > On Sat, 5 Aug 2023

Re: [PATCH] bloblist: Enforce CRC32

2023-08-07 Thread Simon Glass
On Mon, 7 Aug 2023 at 11:38, Tom Rini wrote: > > In the common bloblist code we call crc32 to get a checksum for the > data. Ensure we will have the CRC32 code via select. > > Signed-off-by: Tom Rini > --- > common/Kconfig | 3 +++ > 1 file changed, 3 insertions(+) Reviewed-by: Simon Glass

[PATCH] doc: Begin adding a best practices document for board ports

2023-08-07 Thread Tom Rini
To help guide developers down the right path, begin a document that lists some best practices to follow when creating a new board port. Signed-off-by: Tom Rini --- doc/develop/board_best_practices.rst | 26 ++ doc/develop/index.rst| 1 + 2 files changed,

Re: [EXT] Re: [PATCH] imx8m,imx9: Fix DRAM size calculation in SPL/dram_init_banksize()

2023-08-07 Thread Marek Vasut
On 8/7/23 18:43, Elena Popa wrote: Subject tags should be (per git log arch/arm/mach-imx/imx8m/soc.c): arm: imx: imx8m: imx9: Fix DRAM . Will do! If dram_init_banksize() is called from SPL, the rom_pointer, at that point, is not correctly initialized. This causes wrong calculation of D

[PATCH] arm: Add arch/arm/dts/Makefile specifically to MAINTAINERS

2023-08-07 Thread Tom Rini
In order to reduce the number of people that are cc'd on a patch for simply touching arch/arm/dts/Makefile (which is a big common file) add an entry specifically to MAINTAINERS under the ARM entry. Signed-off-by: Tom Rini --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTA

Re: Strange construct in binman description

2023-08-07 Thread Tim Harvey
On Sun, Jul 30, 2023 at 7:50 PM Simon Glass wrote: > > Hi Tim, > > On Sun, 30 Jul 2023 at 17:42, Tim Harvey wrote: > > > > > > On Wed, Jul 26, 2023, 5:55 PM Simon Glass wrote: > >> > >> Hi Tim, > >> > >> On Mon, 24 Jul 2023 at 08:53, Simon Glass wrote: > >> > > >> > Hi, > >> > > >> > On Sun, 23

[ANN] U-Boot v2023.10-rc2 released

2023-08-07 Thread Tom Rini
Hey all, I'm back on track with -rc2, which is now tagged and pushed. I have just a few things I need to bring in myself still, and there's still a few sets of updates I would like to see come in still, even if it's a little late. I'm now also opening up the next branch and will be grabbing othe

Re: [PATCH] board: ten64: add missing error checks for retimer power on

2023-08-07 Thread Tom Rini
On Mon, Aug 07, 2023 at 01:41:08AM +, Mathew McBride wrote: > The retimer reset/power on logic was changed in a recent commit, > however, it neglected to check if the commands sent to the > board microcontroller (to control power to the retimer chip) > actually completed. > > Add return check

Re: [PATCH] fs/erofs: Remove an unnecessary assertion

2023-08-07 Thread Tom Rini
On Wed, Jul 26, 2023 at 12:56:04PM +0800, Yifan Zhao wrote: > In [1] Sam points out an assertion does not hold true for 32-bit > platforms, which only impacts Large File Support (LFS) API usage > in erofs-utils according to Xiang [2]. We don't think these APIs > are used in u-boot and this restric

Re: [PATCH v2 2/2] spl: move SPL_CRC32 option to lib/Kconfig

2023-08-07 Thread Tom Rini
On Thu, Aug 03, 2023 at 07:05:40PM +0300, Oleksandr Suvorov wrote: > All SPL hash algorithm options are collected in lib/Kconfig. Move > SPL_CRC32 there as well. > > Signed-off-by: Oleksandr Suvorov > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Descripti

Re: [PATCH v2 1/2] spl: remove duplicate SPL_MD5 option

2023-08-07 Thread Tom Rini
On Thu, Aug 03, 2023 at 07:05:39PM +0300, Oleksandr Suvorov wrote: > There is another SPL_MD5 option defined in lib/Kconfig. > Renaming SPL_MD5_SUPPORT introduced duplicate option with > different description. As for now FIT and hash algorithm options > are not related to each others, removing a d

Re: [PATCH 1/1] common: fix detection of SYS_MALLOC_F_LEN=0x0

2023-08-07 Thread Tom Rini
On Tue, Aug 01, 2023 at 03:33:41PM +0200, Heinrich Schuchardt wrote: > CONFIG_$(SPL_TPL_)SYS_MALLOC_F_LEN is defined as hex. If set to zero > manually, .config contains '0x0' and not '0' as value. > > The default value for CONFIG_SPL_SYS_MALLOC_F_LEN should not be set to 0 > but to 0x0 if CONFIG_

Re: [PATCH] common: Drop duplicate space in SPL_BMP description

2023-08-07 Thread Tom Rini
On Sat, Jul 29, 2023 at 03:34:51PM +0200, Marek Vasut wrote: > Drop duplicate space in Kconfig symbol description. > > Signed-off-by: Marek Vasut Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH v2] ARM: renesas: Update MAINTAINERS file

2023-08-07 Thread Tom Rini
On Sun, Aug 06, 2023 at 08:57:34PM +0200, Marek Vasut wrote: > Update MAINTAINERS file. Add missing MAINTAINERS file for Spider, > Whitehawk and V3HSK boards. Update mail addresses. Add file globs > to match on DT and driver files related to these boards. > > The GRPEACH and R2DPLUS are special i

Re: [PATCH] get_maintainer.pl: Add an ignore list for git history

2023-08-07 Thread Tom Rini
On Mon, Aug 07, 2023 at 09:20:53AM -0400, Tom Rini wrote: > As Pali Rohár has asked to not be copied on changes to files he is not > a specific maintainer of, add his address to .get_maintainer.ignore. > > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Descri

Re: [PATCH] MAINTAINERS: Update rockchip platform maintain files

2023-08-07 Thread Tom Rini
On Mon, Aug 07, 2023 at 03:52:47PM +0800, Kever Yang wrote: > Add px30, rv1126 soc, and rockchip soc based boards. > > Signed-off-by: Kever Yang Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH] MAINTAINERS: add DT/bindings files to at91 entry

2023-08-07 Thread Tom Rini
On Mon, Aug 07, 2023 at 10:22:03AM +0300, Eugen Hristev wrote: > With this change the DT and binding files are under the at91 tree > maintainer, and get_maintainer.pl correctly reports the entry. > > Signed-off-by: Eugen Hristev Applied to u-boot/master, thanks! -- Tom signature.asc Descrip

Re: [PATCH] bloblist: Enforce CRC32

2023-08-07 Thread Tom Rini
On Mon, Aug 07, 2023 at 01:38:18PM -0400, Tom Rini wrote: > In the common bloblist code we call crc32 to get a checksum for the > data. Ensure we will have the CRC32 code via select. > > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signatu

Re: [PATCH] Azure: Squash a number of jobs and re-order slightly

2023-08-07 Thread Tom Rini
On Sat, Aug 05, 2023 at 12:24:16PM -0400, Tom Rini wrote: > To reduce overall job time, move a number of smaller jobs together. > These should still be safely under 1 hour total time, but reducing the > overall number of jobs should help with the queue slightly. > > Signed-off-by: Tom Rini > Rev

[PATCH v11 3/8] tpm: Support boot measurements

2023-08-07 Thread Eddie James
Add TPM2 functions to support boot measurement. This includes starting up the TPM, initializing/appending the event log, and measuring the U-Boot version. Much of the code was used in the EFI subsystem, so remove it there and use the common functions. Signed-off-by: Eddie James --- Changes since

[PATCH v11 2/8] tpm: sandbox: Update for needed TPM2 capabilities

2023-08-07 Thread Eddie James
The driver needs to support getting the PCRs in the capabilities command. Fix various other things and support the max number of PCRs for TPM2. Remove the !SANDBOX dependency for EFI TCG2 as well. Signed-off-by: Eddie James Reviewed-by: Simon Glass Acked-by: Ilias Apalodimas --- Changes since v

[PATCH v11 8/8] test: use a non system PCR for testing PCR extend

2023-08-07 Thread Eddie James
From: Ilias Apalodimas We currently use PCR 0 for testing the PCR read/extend functionality in our selftests. How ever those PCRs are defined by the TCG spec for platform use. For example if the tests run *after* the efi subsystem initialization, which extends PCRs 0 & 7 it will give a false po

[PATCH v11 5/8] test: Add sandbox TPM boot measurement

2023-08-07 Thread Eddie James
Use the sandbox TPM driver to measure some boot images in a unit test case. Signed-off-by: Eddie James Reviewed-by: Simon Glass Acked-by: Ilias Apalodimas --- Changes since v5: - Only compile in the measurement u-boot command when CONFIG_MEASURED_BOOT is enabled. arch/sandbox/dts/sandbox.

[PATCH v11 1/8] tpm: Fix spelling for tpmu_ha union

2023-08-07 Thread Eddie James
tmpu -> tpmu Signed-off-by: Eddie James Reviewed-by: Ilias Apalodimas --- include/tpm-v2.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/tpm-v2.h b/include/tpm-v2.h index 2b6980e441..6684033deb 100644 --- a/include/tpm-v2.h +++ b/include/tpm-v2.h @@ -169,7 +169

[PATCH v11 7/8] efi_loader: fix EFI_ENTRY point on get_active_pcr_banks

2023-08-07 Thread Eddie James
From: Ilias Apalodimas efi_tcg2_get_active_pcr_banks doesn't immediately call the EFI_ENTRY() wrapper once it enters the function. Move the call a few lines above to cover the error cases properly as well. Signed-off-by: Ilias Apalodimas --- lib/efi_loader/efi_tcg2.c | 4 ++-- 1 file changed,

[PATCH v11 0/8] tpm: Support boot measurements

2023-08-07 Thread Eddie James
This series adds support for measuring the boot images more generically than the existing EFI support. Several EFI functions have been moved to the TPM layer. The series includes optional measurement from the bootm command. A new test case has been added for the bootm measurement to test the new p

[PATCH v11 6/8] doc: Add measured boot documentation

2023-08-07 Thread Eddie James
Briefly describe the feature and specify the requirements. Signed-off-by: Eddie James Reviewed-by: Simon Glass --- doc/usage/index.rst | 1 + doc/usage/measured_boot.rst | 23 +++ 2 files changed, 24 insertions(+) create mode 100644 doc/usage/measured_boot.rst dif

[PATCH v11 4/8] bootm: Support boot measurement

2023-08-07 Thread Eddie James
Add a configuration option to measure the boot through the bootm function. Add the measurement state to the booti and bootz paths as well. Signed-off-by: Eddie James Reviewed-by: Simon Glass --- Changes since v8: - Added a configuration option to select to ignore any existing event log. This

Re: Re: [PATCH v1] board: rockchip: Add Bananapi R2Pro Board

2023-08-07 Thread Tom Rini
On Mon, Aug 07, 2023 at 07:54:19PM +0200, Frank Wunderlich wrote: > > Gesendet: Montag, 07. August 2023 um 19:20 Uhr > > Von: "Pali Rohár" > > Could you stop sending me these rockchip emails? What is not > > understandable on the fact that I'm not rockchip maintainer? > > https://lists.denx.de/pip

Re: [PATCH v7 09/11] sandbox: capsule: Generate capsule related files through binman

2023-08-07 Thread Tom Rini
On Sun, Aug 06, 2023 at 04:43:06PM +0530, Sughosh Ganu wrote: > On Sun, 6 Aug 2023 at 03:48, Tom Rini wrote: > > > > On Sat, Aug 05, 2023 at 09:04:00AM -0600, Simon Glass wrote: > > > Hi Sughosh, > > > > > > On Sat, 5 Aug 2023 at 05:35, Sughosh Ganu wrote: > > > > > > > > The EFI capsule files ca

Aw: Re: [PATCH v1] board: rockchip: Add Bananapi R2Pro Board

2023-08-07 Thread Frank Wunderlich
> Gesendet: Montag, 07. August 2023 um 19:20 Uhr > Von: "Pali Rohár" > Could you stop sending me these rockchip emails? What is not > understandable on the fact that I'm not rockchip maintainer? > https://lists.denx.de/pipermail/u-boot/2023-March/511199.html > https://lists.denx.de/pipermail/u-boo

Re: [PATCH] get_maintainer.pl: Add an ignore list for git history

2023-08-07 Thread Michael Nazzareno Trimarchi
On Mon, Aug 7, 2023 at 3:21 PM Tom Rini wrote: > > As Pali Rohár has asked to not be copied on changes to files he is not > a specific maintainer of, add his address to .get_maintainer.ignore. > > Signed-off-by: Tom Rini > --- > Cc: "Pali Rohár" > --- > .get_maintainer.ignore | 1 + > .gitignor

[PATCH] bloblist: Enforce CRC32

2023-08-07 Thread Tom Rini
In the common bloblist code we call crc32 to get a checksum for the data. Ensure we will have the CRC32 code via select. Signed-off-by: Tom Rini --- common/Kconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/common/Kconfig b/common/Kconfig index 1ca9fc3abfc4..cdb77a6a7da2 100644 ---

Re: [PATCH v10 07/10] efi_loader: fix EFI_ENTRY point on get_active_pcr_banks

2023-08-07 Thread Eddie James
On 8/7/23 10:56, Ilias Apalodimas wrote: Hi Eddie, On Mon, 7 Aug 2023 at 18:17, Eddie James wrote: From: Ilias Apalodimas We need a commit message for that. Something along the lines of efi_tcg2_get_active_pcr_banks() doesnt immediately call the EFI_ENTRY() wrappers once it enters the fun

Re: [PATCH v1] board: rockchip: Add Bananapi R2Pro Board

2023-08-07 Thread Pali Rohár
Could you stop sending me these rockchip emails? What is not understandable on the fact that I'm not rockchip maintainer? https://lists.denx.de/pipermail/u-boot/2023-March/511199.html https://lists.denx.de/pipermail/u-boot/2023-April/515012.html On Monday 07 August 2023 19:14:53 Frank Wunderlich w

[PATCH v1] board: rockchip: Add Bananapi R2Pro Board

2023-08-07 Thread Frank Wunderlich
From: Frank Wunderlich Add rk3568 based Bananapi R2 Pro board. Signed-off-by: Frank Wunderlich --- because iodomain is different to evb and now iodomain driver is sent as patch we need to separate between EVB and R2Pro else board can be bricked. --- arch/arm/dts/Makefile |

Re: [PATCH v10 10/10] fix armv7 compilation warning

2023-08-07 Thread Eddie James
On 8/7/23 10:50, Ilias Apalodimas wrote: Hi Eddie, On Mon, 7 Aug 2023 at 18:18, Eddie James wrote: From: Ilias Apalodimas Signed-off-by: Ilias Apalodimas --- lib/tpm-v2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tpm-v2.c b/lib/tpm-v2.c index d22e21985b..b

Re: [PATCH 00/22] x86: Move some boards to text environment

2023-08-07 Thread Pali Rohár
On Monday 07 August 2023 15:30:25 Michael Nazzareno Trimarchi wrote: > Hi Andy > > On Mon, Aug 7, 2023 at 3:04 PM Andy Shevchenko > wrote: > > > > On Mon, Aug 07, 2023 at 02:44:31PM +0200, Michael Nazzareno Trimarchi wrote: > > > Hi Pali > > > > > > Can you just filter emails on your side? > > >

RE: [EXT] Re: [PATCH] imx8m,imx9: Fix DRAM size calculation in SPL/dram_init_banksize()

2023-08-07 Thread Elena Popa
> Subject tags should be (per git log arch/arm/mach-imx/imx8m/soc.c): > > arm: imx: imx8m: imx9: Fix DRAM . Will do! > > If dram_init_banksize() is called from SPL, the rom_pointer, at that > > point, is not correctly initialized. This causes wrong calculation of > > DRAM start and size in

Re: [PATCH v10 09/10] test/py: only run 'tpm2 autostart' to init the tpm

2023-08-07 Thread Ilias Apalodimas
On Mon, 7 Aug 2023 at 18:17, Eddie James wrote: > > From: Ilias Apalodimas > > commit ("") > replaced the forced and sandbox tpm2 initialization running 'tpm2 > autostart' instead of the startup tpm sequence. The difference is that > the new function handles the internal tpm_init state

Re: [PATCH] imx8m,imx9: Fix DRAM size calculation in SPL/dram_init_banksize()

2023-08-07 Thread Marek Vasut
On 8/7/23 12:56, Elena Popa wrote: Subject tags should be (per git log arch/arm/mach-imx/imx8m/soc.c): arm: imx: imx8m: imx9: Fix DRAM . If dram_init_banksize() is called from SPL, the rom_pointer, at that point, is not correctly initialized. This causes wrong calculation of DRAM start and

Re: [PATCH v10 07/10] efi_loader: fix EFI_ENTRY point on get_active_pcr_banks

2023-08-07 Thread Ilias Apalodimas
Hi Eddie, On Mon, 7 Aug 2023 at 18:17, Eddie James wrote: > > From: Ilias Apalodimas We need a commit message for that. Something along the lines of efi_tcg2_get_active_pcr_banks() doesnt immediately call the EFI_ENTRY() wrappers once it enters the function. Move the call a few lines above an

Re: [PATCH v2 1/1] spl: spl_legacy: clean up spl_parse_legacy_validate

2023-08-07 Thread Marek Vasut
On 7/25/23 10:30, Heinrich Schuchardt wrote: Simplify the check for an overlap of the loaded image and SPL. Detect all cases of wrap around. Use the SPL_TPL_NAME prefix to avoid printing 'SPL' in TPL (both spl_parse_legacy_header and spl_parse_legacy_validate). Fixes: 77aed22b48ab ("spl: spl_l

Re: [PATCH v10 10/10] fix armv7 compilation warning

2023-08-07 Thread Ilias Apalodimas
Hi Eddie, On Mon, 7 Aug 2023 at 18:18, Eddie James wrote: > > From: Ilias Apalodimas > > Signed-off-by: Ilias Apalodimas > --- > lib/tpm-v2.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/lib/tpm-v2.c b/lib/tpm-v2.c > index d22e21985b..bd0fb078dc 100644 > --- a/lib/t

Re: [PATCH v19 0/9] introduce Arm FF-A support

2023-08-07 Thread Abdellatif El Khlifi
Hi Tom, > > > Adding support for Arm FF-A v1.0 (Arm Firmware Framework for Armv8-A) [A]. > > > > FF-A specifies interfaces that enable a pair of software execution > > environments aka partitions to > > communicate with each other. A partition could be a VM in the Normal or > > Secure world, a

Re: [PATCH v19 8/9] arm_ffa: efi: introduce FF-A MM communication

2023-08-07 Thread Abdellatif El Khlifi
Hi Ilias, > > Add MM communication support using FF-A transport > > > > This feature allows accessing MM partitions services through > > EFI MM communication protocol. MM partitions such as StandAlonneMM > > or smm-gateway secure partitions which reside in secure world. > > ... > > > > Changelog

[PATCH v10 05/10] test: Add sandbox TPM boot measurement

2023-08-07 Thread Eddie James
Use the sandbox TPM driver to measure some boot images in a unit test case. Signed-off-by: Eddie James Reviewed-by: Simon Glass Acked-by: Ilias Apalodimas --- Changes since v5: - Only compile in the measurement u-boot command when CONFIG_MEASURED_BOOT is enabled. arch/sandbox/dts/sandbox.

[PATCH v10 10/10] fix armv7 compilation warning

2023-08-07 Thread Eddie James
From: Ilias Apalodimas Signed-off-by: Ilias Apalodimas --- lib/tpm-v2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tpm-v2.c b/lib/tpm-v2.c index d22e21985b..bd0fb078dc 100644 --- a/lib/tpm-v2.c +++ b/lib/tpm-v2.c @@ -671,7 +671,7 @@ __weak int tcg2_platform_get_log(

[PATCH v10 08/10] test: use a non system PCR for testing PCR extend

2023-08-07 Thread Eddie James
From: Ilias Apalodimas We currently use PCR 0 for testing the PCR read/extend functionality in our selftests. How ever those PCRs are defined by the TCG spec for platform use. For example if the tests run *after* the efi subsystem initialization, which extends PCRs 0 & 7 it will give a false po

[PATCH v10 01/10] tpm: Fix spelling for tpmu_ha union

2023-08-07 Thread Eddie James
tmpu -> tpmu Signed-off-by: Eddie James Reviewed-by: Ilias Apalodimas --- include/tpm-v2.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/tpm-v2.h b/include/tpm-v2.h index 2b6980e441..6684033deb 100644 --- a/include/tpm-v2.h +++ b/include/tpm-v2.h @@ -169,7 +169

[PATCH v10 03/10] tpm: Support boot measurements

2023-08-07 Thread Eddie James
Add TPM2 functions to support boot measurement. This includes starting up the TPM, initializing/appending the event log, and measuring the U-Boot version. Much of the code was used in the EFI subsystem, so remove it there and use the common functions. Signed-off-by: Eddie James --- Changes since

[PATCH v10 09/10] test/py: only run 'tpm2 autostart' to init the tpm

2023-08-07 Thread Eddie James
From: Ilias Apalodimas commit ("") replaced the forced and sandbox tpm2 initialization running 'tpm2 autostart' instead of the startup tpm sequence. The difference is that the new function handles the internal tpm_init state internally and doesn't return an error when trying to initiali

[PATCH v10 02/10] tpm: sandbox: Update for needed TPM2 capabilities

2023-08-07 Thread Eddie James
The driver needs to support getting the PCRs in the capabilities command. Fix various other things and support the max number of PCRs for TPM2. Remove the !SANDBOX dependency for EFI TCG2 as well. Signed-off-by: Eddie James Reviewed-by: Simon Glass Acked-by: Ilias Apalodimas --- Changes since v

[PATCH v10 00/10] tpm: Support boot measurements

2023-08-07 Thread Eddie James
This series adds support for measuring the boot images more generically than the existing EFI support. Several EFI functions have been moved to the TPM layer. The series includes optional measurement from the bootm command. A new test case has been added for the bootm measurement to test the new p

[PATCH v10 07/10] efi_loader: fix EFI_ENTRY point on get_active_pcr_banks

2023-08-07 Thread Eddie James
From: Ilias Apalodimas Signed-off-by: Ilias Apalodimas --- lib/efi_loader/efi_tcg2.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/efi_loader/efi_tcg2.c b/lib/efi_loader/efi_tcg2.c index 5f0f4b5dd2..829bae7436 100644 --- a/lib/efi_loader/efi_tcg2.c +++ b/lib/efi_lo

[PATCH v10 04/10] bootm: Support boot measurement

2023-08-07 Thread Eddie James
Add a configuration option to measure the boot through the bootm function. Add the measurement state to the booti and bootz paths as well. Signed-off-by: Eddie James Reviewed-by: Simon Glass --- Changes since v8: - Added a configuration option to select to ignore any existing event log. This

[PATCH v10 06/10] doc: Add measured boot documentation

2023-08-07 Thread Eddie James
Briefly describe the feature and specify the requirements. Signed-off-by: Eddie James Reviewed-by: Simon Glass --- doc/usage/index.rst | 1 + doc/usage/measured_boot.rst | 23 +++ 2 files changed, 24 insertions(+) create mode 100644 doc/usage/measured_boot.rst dif

Re: [PATCH v7 08/11] binman: capsule: Add support for generating EFI capsules

2023-08-07 Thread Simon Glass
Hi Sughosh, On Mon, 7 Aug 2023 at 00:40, Sughosh Ganu wrote: > > hi Simon, > > On Mon, 7 Aug 2023 at 07:04, Simon Glass wrote: > > > > Hi Sughosh, > > > > On Sun, 6 Aug 2023 at 13:27, Sughosh Ganu wrote: > > > > > > hi Simon, > > > > > > On Mon, 7 Aug 2023 at 00:16, Simon Glass wrote: > > > >

Re: [PATCH v9 4/6] bootm: Support boot measurement

2023-08-07 Thread Eddie James
On 8/7/23 09:52, Ilias Apalodimas wrote: Hi, On Mon, 7 Aug 2023 at 17:43, Eddie James wrote: On 8/4/23 13:10, Sean Edmond wrote: On 2023-03-08 1:25 p.m., Eddie James wrote: Add a configuration option to measure the boot through the bootm function. Add the measurement state to the booti an

Re: [PATCH v9 4/6] bootm: Support boot measurement

2023-08-07 Thread Ilias Apalodimas
Hi, On Mon, 7 Aug 2023 at 17:43, Eddie James wrote: > > > On 8/4/23 13:10, Sean Edmond wrote: > > On 2023-03-08 1:25 p.m., Eddie James wrote: > >> Add a configuration option to measure the boot through the bootm > >> function. Add the measurement state to the booti and bootz paths > >> as well. >

Re: [PATCH v19 8/9] arm_ffa: efi: introduce FF-A MM communication

2023-08-07 Thread Ilias Apalodimas
On Fri, Aug 04, 2023 at 02:33:44PM +0100, Abdellatif El Khlifi wrote: > Add MM communication support using FF-A transport > > This feature allows accessing MM partitions services through > EFI MM communication protocol. MM partitions such as StandAlonneMM > or smm-gateway secure partitions which r

Re: [PATCH v9 4/6] bootm: Support boot measurement

2023-08-07 Thread Eddie James
On 8/4/23 13:10, Sean Edmond wrote: On 2023-03-08 1:25 p.m., Eddie James wrote: Add a configuration option to measure the boot through the bootm function. Add the measurement state to the booti and bootz paths as well. Signed-off-by: Eddie James Reviewed-by: Simon Glass --- Changes since v8

Re: [PATCH 4/7] net: dwc_eth_qos: Add glue driver for GMAC on Rockchip RK3568

2023-08-07 Thread Eugen Hristev
Hi Jonas, Thank you for your work, On 8/7/23 03:08, Jonas Karlman wrote: Add a new glue driver for Rockchip SoCs, i.e RK3568, with a GMAC based on Synopsys DWC Ethernet QoS IP. rk_gmac_ops was ported from linux commit: 3bb3d6b1c195 ("net: stmmac: Add RK3566/RK3568 SoC support") Signed-off-by:

[PATCH v2 2/3] riscv: Add ZERO_MEM_BEFORE_USE implementation

2023-08-07 Thread Shengyu Qu
Add the actual support code for ZERO_MEM_BEFORE_USE and remove existing Starfive JH7110's L2 LIM clean code, since existing code has following issues: 1. Each hart (in the middle of a function call) overwriting its own stack and other harts' stacks. (data-race and data-corruption) 2. Lott

[PATCH v2 3/3] riscv: cpu: jh7110: Select SPL_ZERO_MEM_BEFORE_USE

2023-08-07 Thread Shengyu Qu
Add Kconfig item for Starfive JH7110 to select SPL_ZERO_MEM_BEFORE_USE. Signed-off-by: Bo Gan Signed-off-by: Shengyu Qu --- arch/riscv/cpu/jh7110/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/riscv/cpu/jh7110/Kconfig b/arch/riscv/cpu/jh7110/Kconfig index 4d9581165b..2e26d0731

[PATCH v2 1/3] riscv: Kconfig: Add SPL_ZERO_MEM_BEFORE_USE

2023-08-07 Thread Shengyu Qu
Add a Kconfig item to allow SPL to clear stack/GD/malloc area before using them. Signed-off-by: Bo Gan Signed-off-by: Shengyu Qu --- arch/riscv/Kconfig | 8 1 file changed, 8 insertions(+) diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig index 867cbcbe74..6771d8d919 100644 --- a/a

[PATCH v2 0/3] arch: riscv: jh7110: Correctly zero L2 LIM

2023-08-07 Thread Shengyu Qu
This series is the second version of Bo Gan's L2 LIM series. Original author hasn't sent v2 for almost 2 months, so I decided to take over this series. Background information: JH7110 SPL runs in L2 LIM (2M in size mapped at 0x800). It consists of 16 0x2 sized regions, each one can be use

Re: [PATCH 00/22] x86: Move some boards to text environment

2023-08-07 Thread Andy Shevchenko
On Mon, Aug 07, 2023 at 03:30:25PM +0200, Michael Nazzareno Trimarchi wrote: > On Mon, Aug 7, 2023 at 3:04 PM Andy Shevchenko > wrote: > > On Mon, Aug 07, 2023 at 02:44:31PM +0200, Michael Nazzareno Trimarchi wrote: > > > Hi Pali > > > > > > Can you just filter emails on your side? > > > > Indepen

Re: [PATCH v1] doc: board: toradex: fix verdin module output

2023-08-07 Thread Tom Rini
On Mon, Aug 07, 2023 at 01:44:46AM +0200, Marcel Ziswiler wrote: > From: Marcel Ziswiler > > Fix the Verdin module output which was missing white space for correct > rendering. > > While at it also leave product links, add section author also for the > Verdin iMX8M Mini and Plus, and add a missi

Re: [PATCH v8 0/7] Tegra: add ASUS/Google Nexus 7 (2012) support

2023-08-07 Thread Tom Rini
On Mon, Jul 31, 2023 at 11:29:19AM -0400, Tom Rini wrote: > On Mon, Jul 31, 2023 at 03:19:08PM +0300, Svyatoslav Ryhel wrote: > > Hello! > > > > It has been a month since the last patchset was sent. Should I re-send them? > > Not unless things don't apply. Thierry, can you put together a pull >

Re: [PATCH 00/22] x86: Move some boards to text environment

2023-08-07 Thread Michael Nazzareno Trimarchi
Hi Andy On Mon, Aug 7, 2023 at 3:04 PM Andy Shevchenko wrote: > > On Mon, Aug 07, 2023 at 02:44:31PM +0200, Michael Nazzareno Trimarchi wrote: > > Hi Pali > > > > Can you just filter emails on your side? > > Independently on the question is default setup is good or not > (from _this_ point of vie

[PATCH 2/2] doc: imx8mp_evk: Use in-tree build in the example

2023-08-07 Thread Fabio Estevam
From: Fabio Estevam To make it consistent with the instructions from other NXP imx8m boards, such as imx8mm-evk and imx8mn-evk, use U-Boot in-tree build in the examples. Signed-off-by: Fabio Estevam --- doc/board/nxp/imx8mp_evk.rst | 16 +--- 1 file changed, 9 insertions(+), 7 dele

[PATCH 1/2] doc: imx8mp_evk: Remove unneeded export ATF_LOAD_ADDR line

2023-08-07 Thread Fabio Estevam
From: Fabio Estevam Originally, exporting the ATF_LOAD_ADDR was required, but since binman has been used to generate the flash.bin, it is no longer needed to do such manual export. The ATF address is now passed via binman in imx8mp-u-boot.dtsi: atf { description = "ARM T

Re: [PATCH 00/22] x86: Move some boards to text environment

2023-08-07 Thread Tom Rini
On Mon, Aug 07, 2023 at 04:03:45PM +0300, Andy Shevchenko wrote: > On Mon, Aug 07, 2023 at 02:44:31PM +0200, Michael Nazzareno Trimarchi wrote: > > Hi Pali > > > > Can you just filter emails on your side? > > Independently on the question is default setup is good or not > (from _this_ point of vi

[PATCH] get_maintainer.pl: Add an ignore list for git history

2023-08-07 Thread Tom Rini
As Pali Rohár has asked to not be copied on changes to files he is not a specific maintainer of, add his address to .get_maintainer.ignore. Signed-off-by: Tom Rini --- Cc: "Pali Rohár" --- .get_maintainer.ignore | 1 + .gitignore | 1 + 2 files changed, 2 insertions(+) create mode

Re: [PATCH 00/22] x86: Move some boards to text environment

2023-08-07 Thread Andy Shevchenko
On Mon, Aug 07, 2023 at 02:44:31PM +0200, Michael Nazzareno Trimarchi wrote: > Hi Pali > > Can you just filter emails on your side? Independently on the question is default setup is good or not (from _this_ point of view, I *disagree* with Pali), we have to have a possibility to filter on _our_ s

Re: [PATCH 00/22] x86: Move some boards to text environment

2023-08-07 Thread Michael Nazzareno Trimarchi
Hi Pali Can you just filter emails on your side? Michael On Mon, Aug 7, 2023 at 2:18 PM Pali Rohár wrote: > > So remove me from that list of dram.c file. I'm not interested to > receive emails from people who are ignoring me about unrelated things. > > On Monday 07 August 2023 09:43:01 Bin Meng

[PATCH v2 2/2] usb: udc: Try to clarify an error message

2023-08-07 Thread Miquel Raynal
At some point when trying to use USB gadgets, two situations may arise and lead to a failure. Either the UDC (USB Device Controller) is not available at all (not described or not probed) or the UDC is already in use. For instance, as the USB Ethernet gadget remains bound to the UDC, the use of any

[PATCH v2 1/2] cmd: bind: Try to improve the (un)bind help

2023-08-07 Thread Miquel Raynal
While it may sound totally obvious for the regular U-Boot developer to get the parameters of the bind/unbind commands from the output of 'dm tree', it did not felt straightforward to me until I was explicitly told to look there. And even when I knew the command, I did not make a direct link between

Re: [RFC PATCH] env: Export environment config to OS devicetree

2023-08-07 Thread Frieder Schrempf
Hi Simon, hi Stefano, On 04.08.23 15:39, Stefano Babic wrote: > Hi Simon, > > On 04.08.23 05:42, Simon Glass wrote: >> Hi, >> >> On Thu, 3 Aug 2023 at 07:21, Stefano Babic wrote: >>> >>> Hi Frieder, >>> >>> On 03.08.23 14:51, Frieder Schrempf wrote: Hi Stefano, On 03.08.23 10:14,

[PATCH] imx8m, imx9: Fix DRAM size calculation in SPL/dram_init_banksize()

2023-08-07 Thread Elena Popa
If dram_init_banksize() is called from SPL, the rom_pointer, at that point, is not correctly initialized. This causes wrong calculation of DRAM start and size in dram_init_banksize(). The issue became apparent only in Falcon Mode. Added an extra condition to prevent using rom_pointer in SPL. Signe

memory hole close to 4GB on qemu risc-v

2023-08-07 Thread Wu, Fei
Hi All, I am working on enabling PCIe passthrough on qemu risc-v, in order for the guest to access the host x86 pci resource directly, ram on guest won't cover this range, so if guest has 4GB ram, two ranges are created: 1. 2G-3G 2. 4G-7G u-boot is not able to handle this but reports: Reserv

Re: [PATCH 00/22] x86: Move some boards to text environment

2023-08-07 Thread Pali Rohár
So remove me from that list of dram.c file. I'm not interested to receive emails from people who are ignoring me about unrelated things. On Monday 07 August 2023 09:43:01 Bin Meng wrote: > Hi Pali, > > On Sun, Aug 6, 2023 at 11:55 PM Pali Rohár wrote: > > > > On Sunday 06 August 2023 08:39:43 Si

[PATCH] [*] fix RK3568 build under CONFIG_DISPLAY_CPUINFO flag

2023-08-07 Thread Anton
--- arch/arm/include/asm/arch-rockchip/cru.h| 2 ++ arch/arm/include/asm/arch-rockchip/cru_rk3568.h | 2 ++ 2 files changed, 4 insertions(+) diff --git a/arch/arm/include/asm/arch-rockchip/cru.h b/arch/arm/include/asm/arch-rockchip/cru.h index 13ea4aba8e..9778790f34 100644 --- a/arch/arm

Re: [PATCH v5 2/2] board: mediatek: add mt8195 demo board

2023-08-07 Thread Michael Walle
Hi, > + printf("Disabling WDT\n"); > + writel(0, 0x10007000); Please don't use magic numbers. Also, I guess this should be a real watchdog driver and u-boot will take care of disabling it if the user wants to. > + > + printf("Enabling SCP SRAM\n"); > + for (unsigned int val = 0xF

Re: [PATCH v1] doc: board: toradex: fix verdin module output

2023-08-07 Thread Nishanth Menon
On 01:44-20230807, Marcel Ziswiler wrote: > From: Marcel Ziswiler > > Fix the Verdin module output which was missing white space for correct > rendering. > > While at it also leave product links, add section author also for the > Verdin iMX8M Mini and Plus, and add a

Re: [RESEND, v1 3/4] riscv: starfive: Add SYS_CACHE_SHIFT_6 to enable SYS_CACHELINE_SIZE

2023-08-07 Thread Bin Meng
On Mon, Aug 7, 2023 at 4:53 PM Minda Chen wrote: > > Some device driver need SYS_CACHELINE_SIZE macro. Add StarFive > SYS_CACHE_SHIFT_6 to enable it. > > Signed-off-by: Minda Chen > --- > arch/riscv/cpu/jh7110/Kconfig | 1 + > 1 file changed, 1 insertion(+) > Reviewed-by: Bin Meng

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

2023-08-07 Thread AKASHI Takahiro
Hi Etienne, On Thu, Aug 03, 2023 at 09:24:51AM +, Etienne CARRIERE wrote: > Hello Takahiro-san, > > Sorry again for this late feedback. > Testing the series against stm32mp135f-dk board which is using SCMI > resources, I see the board fails to boot. > > > From: AKASHI Takahiro > > To: tr..

Re: [PATCH 2/2] usb: udc: Try to clarify an error message

2023-08-07 Thread Miquel Raynal
Hi Heinrich, heinrich.schucha...@canonical.com wrote on Mon, 7 Aug 2023 11:29:08 +0200: > On 04.08.23 21:14, Miquel Raynal wrote: > > At some point when trying to use USB gadgets, two situations may arise > > and lead to a failure. Either the UDC (USB Device Controller) is not > > available at al

Re: [PATCH] i2c: mvtwsi: reset controller if stuck in "bus error" state

2023-08-07 Thread Heiko Schocher
Hello Sam, On 26.07.23 00:13, Sam Edwards wrote: > The MVTWSI controller can act either as a master or slave device. When > acting as a master, the FSM is driven by the CPU. As a slave, the FSM is > driven by the bus directly. In what is (apparently) a safety mechanism, > if the bus transitions ou

Re: [PATCH 1/2] cmd: bind: Try to improve the (un)bind help

2023-08-07 Thread Miquel Raynal
Hi Heinrich, > > U_BOOT_CMD( > > bind, 4, 0, do_bind_unbind, > > - "Bind a device to a driver", > > + "Bind a device to a driver, see 'dm tree' for the parameters\n", > > How about > > "Use 'dm tree' to list classes, drivers, and devices." > > as last line of the help lo

Re: [PATCH 2/2] usb: udc: Try to clarify an error message

2023-08-07 Thread Heinrich Schuchardt
On 04.08.23 21:14, Miquel Raynal wrote: At some point when trying to use USB gadgets, two situations may arise and lead to a failure. Either the UDC (USB Device Controller) is not available at all (not described or not probed) or the UDC is already in use. For instance, as the USB Ethernet gadget

Re: [PATCH 1/2] cmd: bind: Try to improve the (un)bind help

2023-08-07 Thread Heinrich Schuchardt
On 04.08.23 21:13, Miquel Raynal wrote: While it may sound totally obvious for the regular U-Boot developer to get the parameters of the bind/unbind commands from the output of 'dm tree', it did not felt straightforward to me until I was explicitly told to look there. And even when I knew the com

Problem upon startup with halted USB device on RaspberryPi 4

2023-08-07 Thread Harry Waschkeit
Hi, I have a RaspberryPi 4 where on one USB port a Sierra Wireless LTE module (EM7455) is attached via an PCIe-to-USB adapter. The boot image I use gets built by Yocto with the help of poky (kirkstone) and meta-raspberry (beside a few other layers) which incorporates U-Boot 22.01. When I apply

[PATCH v1 6/6] sysreset: implement PALMAS poweroff function

2023-08-07 Thread Svyatoslav Ryhel
PALMAS PMIC family has embedded poweroff function used by some device to initiane device power off. Implement it as sysreset driver. Signed-off-by: Svyatoslav Ryhel --- drivers/power/pmic/palmas.c| 33 +-- drivers/sysreset/Kconfig | 7 drivers/sysreset/Mak

[PATCH v1 5/6] sysreset: implement TPS65910 sysreset functions

2023-08-07 Thread Svyatoslav Ryhel
TPS65910/TPS65911 PMICs have embedded power control functions used by some device to initiane device power off. Implement it as sysreset driver. Signed-off-by: Svyatoslav Ryhel --- drivers/power/pmic/pmic_tps65910_dm.c | 12 +- drivers/sysreset/Kconfig | 8 drivers/sysrese

[PATCH v1 4/6] sysreset: implement TPS80031 sysreset functions

2023-08-07 Thread Svyatoslav Ryhel
TPS80031/TPS80032 PMICs have embedded power control functions used by some device to initiane device power off. Implement it as sysreset driver. Signed-off-by: Svyatoslav Ryhel --- drivers/power/pmic/tps80031.c| 12 +++- drivers/sysreset/Kconfig | 8 ++ drivers/sysre

[PATCH v1 3/6] sysreset: implement MAX77663 sysreset functions

2023-08-07 Thread Svyatoslav Ryhel
MAX77663 PMIC has embedded poweroff function used by some device to initiane device power off. Implement it as sysreset driver. Signed-off-by: Svyatoslav Ryhel --- drivers/power/pmic/max77663.c| 12 ++- drivers/sysreset/Kconfig | 7 drivers/sysreset/Makefile

  1   2   >