Re: Request for hosting a boot-firmware repository in u-boot git (denx and GitHub)

2024-06-21 Thread Peter Robinson
On Fri, 21 Jun 2024 at 00:05, Simon Glass wrote: > > Hi Nishanth, > > On Thu, 20 Jun 2024 at 15:35, Nishanth Menon wrote: > > > > Hi Team, > > > > We have briefly discussed this topic on IRC[1]. I would like to > > propose a new boot-firmware repository similar to the Linux-firmware > > repositor

Re: [PATCH] mach-snapdragon: move default environment to a file

2024-06-21 Thread Sumit Garg
Hi Caleb, On Mon, 17 Jun 2024 at 14:26, Caleb Connolly wrote: > > Make use of CONFIG_DEFAULT_ENV_FILE and move the default qcom > environment to a file under board/qualcomm. > > This is much cleaner and means we don't need to recompile on changing > the environment. > > Additionally, extend the e

[PATCH 0/2] doc: develop: testing: Fix more reference links

2024-06-21 Thread Alexander Dahl
Found some more broken reference links when reading the documentation. Greets Alex Alexander Dahl (2): doc: develop: testing: Fix broken reference to pytest suite help doc: develop: testing: Fix reference to test writing section doc/develop/testing.rst | 4 ++-- 1 file changed, 2 insertions

[PATCH 1/2] doc: develop: testing: Fix broken reference to pytest suite help

2024-06-21 Thread Alexander Dahl
This should have been adapted directly with or after v2021.01-693-gca6583d4e08 ("doc: move test/README to HTML documentation") or v2021.01-694-g0157619d5c8 ("doc: move test/py/README.md to HTML documentation") already. Signed-off-by: Alexander Dahl --- doc/develop/testing.rst | 2 +- 1 file chan

[PATCH 2/2] doc: develop: testing: Fix reference to test writing section

2024-06-21 Thread Alexander Dahl
Fixes: fc3283314539 ("doc: Explain briefly how to write new tests") Signed-off-by: Alexander Dahl --- doc/develop/testing.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/develop/testing.rst b/doc/develop/testing.rst index 056bdfd2b69..9114d11ad26 100644 --- a/doc/devel

Re: [PATCH] mach-snapdragon: move default environment to a file

2024-06-21 Thread Caleb Connolly
On 21/06/2024 09:35, Sumit Garg wrote: Hi Caleb, On Mon, 17 Jun 2024 at 14:26, Caleb Connolly wrote: Make use of CONFIG_DEFAULT_ENV_FILE and move the default qcom environment to a file under board/qualcomm. This is much cleaner and means we don't need to recompile on changing the environm

Re: [PATCH] mach-snapdragon: move default environment to a file

2024-06-21 Thread Sumit Garg
On Fri, 21 Jun 2024 at 13:19, Caleb Connolly wrote: > > > > On 21/06/2024 09:35, Sumit Garg wrote: > > Hi Caleb, > > > > On Mon, 17 Jun 2024 at 14:26, Caleb Connolly > > wrote: > >> > >> Make use of CONFIG_DEFAULT_ENV_FILE and move the default qcom > >> environment to a file under board/qualcomm

Re: [PATCH 2/3] soc: qcom: rpmh and cmd-db drivers

2024-06-21 Thread Sumit Garg
Hi Caleb, On Mon, 17 Jun 2024 at 14:02, Caleb Connolly wrote: > > Introduce two Qualcomm SoC drivers, the RPMh and cmd-db. RPMh is a the > name for the second generation Resource Power Management hub on Qualcomm > SoCs. Most core regulators have to be controlled via this hub. > > The cmd-db is a

Re: Request for hosting a boot-firmware repository in u-boot git (denx and GitHub)

2024-06-21 Thread Quentin Schulz
Hi Peter, On 6/21/24 12:29 AM, Peter Robinson wrote: On Thu, 20 Jun 2024 at 23:22, Quentin Schulz wrote: Hi Nishanth Menon, +Cc Kever from Rockchip as maintainer of the arch in U-Boot +Cc Heiko as maintainer of many things Rockchip in many projects On 6/20/24 11:35 PM, Nishanth Menon wrote:

Re: Request for hosting a boot-firmware repository in u-boot git (denx and GitHub)

2024-06-21 Thread Peter Robinson
> > rk3568 is now upstream, there was a PR upstream for this for some > > time, similar to rk3588, albeit not as long as rk56x. In some cases > > the issue here is the speed of review of upstream ATF. I don't think > > that means it should go into something like this. > > > > If the BL31 blob doesn

Re: Request for hosting a boot-firmware repository in u-boot git (denx and GitHub)

2024-06-21 Thread Peter Robinson
On Fri, 21 Jun 2024 at 09:56, Peter Robinson wrote: > > > > rk3568 is now upstream, there was a PR upstream for this for some > > > time, similar to rk3588, albeit not as long as rk56x. In some cases > > > the issue here is the speed of review of upstream ATF. I don't think > > > that means it sho

Re: [PATCH v3 0/7] efi: CapsuleUpdate: support for dynamic UUIDs

2024-06-21 Thread Vincent Stehlé
On Wed, Jun 19, 2024 at 10:15:32PM +0300, Ilias Apalodimas wrote: > Allô Vincent, Hi Ilias :) > > Thanks for testing! > > On Wed, 19 Jun 2024 at 17:02, Vincent Stehlé wrote: > > > > On Fri, May 31, 2024 at 03:50:34PM +0200, Caleb Connolly wrote: > > > As more boards adopt support for the EFI C

Re: Request for hosting a boot-firmware repository in u-boot git (denx and GitHub)

2024-06-21 Thread Quentin Schulz
Hi Peter, On 6/21/24 10:56 AM, Peter Robinson wrote: rk3568 is now upstream, there was a PR upstream for this for some time, similar to rk3588, albeit not as long as rk56x. In some cases the issue here is the speed of review of upstream ATF. I don't think that means it should go into something l

Re: Request for hosting a boot-firmware repository in u-boot git (denx and GitHub)

2024-06-21 Thread Peter Robinson
> > Well it could go there, but I currently build ATF for all Rockchip > > platforms we support. > > > > That's nice to hear :) > > >> It doesn't matter whose fault it is for not being upstreamed earlier, > > > > I agree. There's also no reason something can't be included and then > > dropped at a

Re: [PATCH] mach-snapdragon: move default environment to a file

2024-06-21 Thread Caleb Connolly
On 21/06/2024 10:07, Sumit Garg wrote: On Fri, 21 Jun 2024 at 13:19, Caleb Connolly wrote: On 21/06/2024 09:35, Sumit Garg wrote: Hi Caleb, On Mon, 17 Jun 2024 at 14:26, Caleb Connolly wrote: Make use of CONFIG_DEFAULT_ENV_FILE and move the default qcom environment to a file under bo

Re: [PATCH v2] arm: dts: k3-am625-beagleplay: Package TIFS Stub

2024-06-21 Thread Bryan Brattlof
On June 21, 2024 thus sayeth Dhruva Gole: > Bryan, > > On Jun 19, 2024 at 16:44:48 -0500, Bryan Brattlof wrote: > > On June 18, 2024 thus sayeth Dhruva Gole: > > > Add support for packaging the TIFS Stub as it's required for basic Low > > > Power Modes like Deep Sleep. > > > > > > Acked-by: Neha

[PATCH] mvebu: armada-8k: respect CONFIG_DISTRO_DEFAULTS

2024-06-21 Thread Robert Marko
Currently, Armada 8k config header is setting boot devices and including regardless of the CONFIG_DISTRO_DEFAULTS being enabled or not, thus populating the environment for distro boot even on devices that have no need for it. So, lets simply respect the value of CONFIG_DISTRO_DEFAULTS. Signed-of

Re: [PATCH v3 0/7] efi: CapsuleUpdate: support for dynamic UUIDs

2024-06-21 Thread Heinrich Schuchardt
On 21.06.24 11:12, Vincent Stehlé wrote: On Wed, Jun 19, 2024 at 10:15:32PM +0300, Ilias Apalodimas wrote: Allô Vincent, Hi Ilias :) Thanks for testing! On Wed, 19 Jun 2024 at 17:02, Vincent Stehlé wrote: On Fri, May 31, 2024 at 03:50:34PM +0200, Caleb Connolly wrote: As more boards ad

Re: [PATCH v3 0/7] efi: CapsuleUpdate: support for dynamic UUIDs

2024-06-21 Thread Ilias Apalodimas
Hi Vincent, [...] > > > $ uuid -d 935FE837-FAC8-4394-C008-737D8852C60D > > > encode: STR: 935fe837-fac8-4394-c008-737d8852c60d > > > SIV: 195894493536133784175416063449172723213 > > > decode: variant: reserved (Microsoft GUID) > > > version: 4 (random data based)

Re: [PATCH v3 0/7] efi: CapsuleUpdate: support for dynamic UUIDs

2024-06-21 Thread Ilias Apalodimas
On Fri, 21 Jun 2024 at 14:01, Ilias Apalodimas wrote: > > Hi Vincent, > > [...] > > > > > $ uuid -d 935FE837-FAC8-4394-C008-737D8852C60D > > > > encode: STR: 935fe837-fac8-4394-c008-737d8852c60d > > > > SIV: 195894493536133784175416063449172723213 > > > > decode: variant: r

[PATCH v5] cmd: bootm: add ELF file support

2024-06-21 Thread Maxim Moskalets
Some operating systems (e.g. seL4) and embedded applications are ELF images. It is convenient to use FIT-images to implement trusted boot. Added "elf" image type for booting using bootm command. Signed-off-by: Maxim Moskalets --- v5: used func from lib/elf.c to avoid dependency form CLI -

Re: [PATCH] mach-snapdragon: move default environment to a file

2024-06-21 Thread Sumit Garg
On Fri, 21 Jun 2024 at 15:14, Caleb Connolly wrote: > > > > On 21/06/2024 10:07, Sumit Garg wrote: > > On Fri, 21 Jun 2024 at 13:19, Caleb Connolly > > wrote: > >> > >> > >> > >> On 21/06/2024 09:35, Sumit Garg wrote: > >>> Hi Caleb, > >>> > >>> On Mon, 17 Jun 2024 at 14:26, Caleb Connolly > >

Re: [PATCH v5] cmd: bootm: add ELF file support

2024-06-21 Thread Heinrich Schuchardt
On 21.06.24 13:42, Maxim Moskalets wrote: Some operating systems (e.g. seL4) and embedded applications are ELF images. It is convenient to use FIT-images to implement trusted boot. Added "elf" image type for booting using bootm command. Signed-off-by: Maxim Moskalets I guess a test could be a

Re: [PATCH v4 00/14] Introduce the lwIP network stack

2024-06-21 Thread Jerome Forissier
On 6/20/24 19:10, Tim Harvey wrote: > On Mon, Jun 17, 2024 at 8:33 AM Jerome Forissier > wrote: >> >> This is a rework of a patch series by Maxim Uvarov: "net/lwip: add lwip >> library for the network stack" [1]. The goal is to introduce the lwIP TCP/IP >> stack [2] [3] as an alternative to the

[PATCH v2 1/6] buildman: Add python3-coverage

2024-06-21 Thread Simon Glass
Add this package so we can run code-coverage tests for Binman. Signed-off-by: Simon Glass --- Changes in v2: - Add to buildman requirements instead tools/buildman/requirements.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/buildman/requirements.txt b/tools/buildman/requirements.

[PATCH v2 0/6] Add Binman code-coverage test to CI

2024-06-21 Thread Simon Glass
Binman has 100% code coverage to ensure that future changes and refactors do not break existing entry types. This is a critical feature, given that it is relied on to produce images for all sorts of different SoCs and vendors. With the NXP additions the 'binman test -T' step was missed, so the Bin

[PATCH v2 2/6] buildman: Add python3-pycryptodome

2024-06-21 Thread Simon Glass
This is used by some Binman entry types, so add it to allow more tests to pass. Signed-off-by: Simon Glass --- Changes in v2: - Add to buildman requirements instead tools/buildman/requirements.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/buildman/requirements.txt b/tools/build

[PATCH v2 3/6] buildman: Fix a few typos in toolchain code

2024-06-21 Thread Simon Glass
Fix 'Thie' and capitalise 'unicode'. Signed-off-by: Simon Glass Suggested-by: Heinrich Schuchardt --- Changes in v2: - Add new patch to fix a few typos in toolchain code tools/buildman/toolchain.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/buildman/toolchai

[PATCH v2 4/6] buildman: Support building within a Python venv

2024-06-21 Thread Simon Glass
The Python virtualenv tool sets up a few things in the environment, putting its path first in the PATH environment variable and setting up a sys.prefix different from the sys.base_prefix value. At present buildman puts the toolchain path first in PATH so that it can be found easily during the buil

[PATCH v2 5/6] u_boot_pylib: Use correct coverage tool within venv

2024-06-21 Thread Simon Glass
When running within a Python venv we must use the 'coverage' tool (which is within the venv) so that the venv packages are used in preference to system packages. Otherwise the coverage tests run in a different environment from the normal tests and may fail due to missing packages. Handle this by d

[PATCH v2 6/6] CI: Run code-coverage test for Binman

2024-06-21 Thread Simon Glass
Binman includes a good set of tests covering all of its functionality. This includes a code-coverage test. However to date the code-coverage test has not been checked automatically by CI, relying on people to run 'binman test -T' themselves. Plug the gap to avoid bugs creeping in future. Signed-

Re: [PATCH v3 0/7] efi: CapsuleUpdate: support for dynamic UUIDs

2024-06-21 Thread Heinrich Schuchardt
On 21.06.24 13:25, Ilias Apalodimas wrote: On Fri, 21 Jun 2024 at 14:01, Ilias Apalodimas wrote: Hi Vincent, [...] $ uuid -d 935FE837-FAC8-4394-C008-737D8852C60D encode: STR: 935fe837-fac8-4394-c008-737d8852c60d SIV: 195894493536133784175416063449172723213 decode

[PATCH] imx: hab: Make imx_hab_is_enabled dependent on FIELD_RETURN

2024-06-21 Thread Paul Geurts
The decision on whether HAB is enabled is solely based on the SEC_CONFIG fuse. The HAB FIELD_RETURN feature is able to permanently disable HAB on a CPU, after which it is able to boot unsigned firmware. U-Boot however does not take into account the FIELD_RETURN mode, and refuses to boot unsigned so

Re: [PATCH] arm: dts: corstone1000: enable secondary cores for FVP

2024-06-21 Thread Harsimran Singh Tungal
> > From: Harsimran Singh Tungal > > > > Add the secondary cores nodes in the dts file > > > > Signed-off-by: Harsimran Singh Tungal > > Cc: Tom Rini > > Cc: Rui Miguel Silva > > --- > > arch/arm/dts/corstone1000-fvp.dts | 25 + > > arch/arm/dts/corstone1000.dtsi|

Re: [PATCH 1/6] arm: mach-k3: Add default ATF location for AM62/AM62a

2024-06-21 Thread Bryan Brattlof
On June 20, 2024 thus sayeth Wadim Egorov: > > > Am 19.06.24 um 22:02 schrieb Andrew Davis: > > On 6/19/24 1:20 PM, Nishanth Menon wrote: > > > On 17:19-20240619, Dhruva Gole wrote: > > > > Hi, > > > > > > > > On Feb 14, 2024 at 10:30:04 -0600, Andrew Davis wrote: > > > > > There is a default AT

Re: [PATCH v5] cmd: bootm: add ELF file support

2024-06-21 Thread Максим Москалец
пт, 21 июн. 2024 г. в 15:51, Heinrich Schuchardt : > On 21.06.24 13:42, Maxim Moskalets wrote: > > Some operating systems (e.g. seL4) and embedded applications are ELF > > images. It is convenient to use FIT-images to implement trusted boot. > > Added "elf" image type for booting using bootm comma

Re: [PATCH] imx8mp-venice-gw702x: Drop EQos clock workaround

2024-06-21 Thread Fabio Estevam
Hi Tim, On Wed, Jun 19, 2024 at 10:30 PM Tim Harvey wrote: > > The assigned-clock no longer have to be dropped, the clock are now > defined in clk-imx8mp.c and used by DWMAC driver to configure the > DWMAC clock. Drop the workarounds from U-Boot specific DT extras. > > Having the clocks dropped c

Re: Request for hosting a boot-firmware repository in u-boot git (denx and GitHub)

2024-06-21 Thread Bryan Brattlof
On June 20, 2024 thus sayeth Peter Robinson: > Hi Nishanth, > > Thanks for starting this conversation. > > > We have briefly discussed this topic on IRC[1]. I would like to > > propose a new boot-firmware repository similar to the Linux-firmware > > repository under the aegis of u-boot hosting. >

Re: [PATCH v3 10/18] tpm: Avoid code bloat when not using EFI_TCG2_PROTOCOL

2024-06-21 Thread Simon Glass
Hi Ilias, On Thu, 20 Jun 2024 at 23:49, Ilias Apalodimas wrote: > > On Fri, 21 Jun 2024 at 08:32, Ilias Apalodimas > wrote: > > > > Hi Simon, > > > > On Fri, 21 Jun 2024 at 02:06, Simon Glass wrote: > > > > > > It does not make sense to enable all SHA algorithms unless they are > > > needed. It

Re: [PATCH 3/5] buildman: Support building within a Python venv

2024-06-21 Thread Simon Glass
Hi Tom, On Thu, 20 Jun 2024 at 17:30, Tom Rini wrote: > > On Thu, Jun 20, 2024 at 05:05:30PM -0600, Simon Glass wrote: > > Hi Tom, > > > > On Thu, 20 Jun 2024 at 08:32, Tom Rini wrote: > > > > > > On Thu, Jun 20, 2024 at 07:19:35AM -0600, Simon Glass wrote: > > > > > > > The Python virtualenv to

Re: [PATCH v2 2/9] tpm: Avoid code bloat when not using EFI_TCG2_PROTOCOL

2024-06-21 Thread Simon Glass
Hi Tom, On Thu, 20 Jun 2024 at 17:19, Tom Rini wrote: > > On Thu, Jun 20, 2024 at 05:05:29PM -0600, Simon Glass wrote: > > Hi Tom, > > > > On Wed, 19 Jun 2024 at 09:32, Tom Rini wrote: > > > > > > On Tue, Jun 18, 2024 at 09:03:37PM -0600, Simon Glass wrote: > > > > Hi Tom, > > > > > > > > On Tue

Re: [PATCH] RFC: Add a tag for the world builds

2024-06-21 Thread Simon Glass
Hi Tom, On Thu, 20 Jun 2024 at 17:15, Tom Rini wrote: > > On Thu, Jun 20, 2024 at 05:05:26PM -0600, Simon Glass wrote: > > Hi Tom, > > > > On Thu, 20 Jun 2024 at 08:39, Tom Rini wrote: > > > > > > On Thu, Jun 20, 2024 at 07:33:46AM -0600, Simon Glass wrote: > > > > > > > Currently the world buil

Re: [PATCH 5/9] fdt: Correct condition for bloblist existing

2024-06-21 Thread Simon Glass
Hi Ilias, On Wed, 19 Jun 2024 at 06:41, Ilias Apalodimas wrote: > > Hi Simon, > > On Wed, Jun 12, 2024 at 02:24:31PM -0600, Simon Glass wrote: > > Hi Ilias, > > > > On Wed, 12 Jun 2024 at 00:02, Ilias Apalodimas > > wrote: > > > > > > [...] > > > > > > > > > >> --- > > > > > > >> > > > > > > >>

Re: [PATCH 1/2] doc: develop: testing: Fix broken reference to pytest suite help

2024-06-21 Thread Simon Glass
On Fri, 21 Jun 2024 at 01:47, Alexander Dahl wrote: > > This should have been adapted directly with or after > v2021.01-693-gca6583d4e08 ("doc: move test/README to HTML > documentation") or v2021.01-694-g0157619d5c8 ("doc: move > test/py/README.md to HTML documentation") already. > > Signed-off-by

Re: [PATCH 2/2] doc: develop: testing: Fix reference to test writing section

2024-06-21 Thread Simon Glass
On Fri, 21 Jun 2024 at 01:47, Alexander Dahl wrote: > > Fixes: fc3283314539 ("doc: Explain briefly how to write new tests") > Signed-off-by: Alexander Dahl > --- > doc/develop/testing.rst | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Reviewed-by: Simon Glass Please do always add a c

Re: [PATCH v3 07/18] binman: Keep the efi_capsule input file

2024-06-21 Thread Simon Glass
Hi Sughosh, On Fri, 21 Jun 2024 at 00:14, Sughosh Ganu wrote: > > On Fri, 21 Jun 2024 at 04:36, Simon Glass wrote: > > > > There is no need to remove input files. It makes it harder to diagnose > > failures. Keep the payload file. > > > > There is no test for this condition, but one could be add

Re: Request for hosting a boot-firmware repository in u-boot git (denx and GitHub)

2024-06-21 Thread Simon Glass
Hi Peter, On Fri, 21 Jun 2024 at 01:35, Peter Robinson wrote: > > On Fri, 21 Jun 2024 at 00:05, Simon Glass wrote: > > > > Hi Nishanth, > > > > On Thu, 20 Jun 2024 at 15:35, Nishanth Menon wrote: > > > > > > Hi Team, > > > > > > We have briefly discussed this topic on IRC[1]. I would like to >

Re: [PATCH v4 00/14] Introduce the lwIP network stack

2024-06-21 Thread Simon Glass
Hi Jerome, On Mon, 17 Jun 2024 at 09:33, Jerome Forissier wrote: > > This is a rework of a patch series by Maxim Uvarov: "net/lwip: add lwip > library for the network stack" [1]. The goal is to introduce the lwIP TCP/IP > stack [2] [3] as an alternative to the current implementation in net/, > se

Re: [PATCH v3 16/18] rockchip: Avoid #ifdefs in RK3399 SPL

2024-06-21 Thread Simon Glass
Hi Jonas, On Fri, 21 Jun 2024 at 00:45, Jonas Karlman wrote: > > Hi Simon, > > On 2024-06-21 01:06, Simon Glass wrote: > > The code here is confusing due to large blocks which are #ifdefed out. > > Add a function phase_sdram_init() which returns whether SDRAM init > > should happen in the current

Re: [PATCH 3/5] buildman: Support building within a Python venv

2024-06-21 Thread Tom Rini
On Fri, Jun 21, 2024 at 08:57:50AM -0600, Simon Glass wrote: > Hi Tom, > > On Thu, 20 Jun 2024 at 17:30, Tom Rini wrote: > > > > On Thu, Jun 20, 2024 at 05:05:30PM -0600, Simon Glass wrote: > > > Hi Tom, > > > > > > On Thu, 20 Jun 2024 at 08:32, Tom Rini wrote: > > > > > > > > On Thu, Jun 20, 20

Re: [PATCH v2 1/6] buildman: Add python3-coverage

2024-06-21 Thread Tom Rini
On Fri, Jun 21, 2024 at 07:14:17AM -0600, Simon Glass wrote: > Add this package so we can run code-coverage tests for Binman. > > Signed-off-by: Simon Glass Reviewed-by: Tom Rini -- Tom signature.asc Description: PGP signature

Re: [PATCH v2 2/6] buildman: Add python3-pycryptodome

2024-06-21 Thread Tom Rini
On Fri, Jun 21, 2024 at 07:14:18AM -0600, Simon Glass wrote: > This is used by some Binman entry types, so add it to allow more tests > to pass. > > Signed-off-by: Simon Glass Reviewed-by: Tom Rini -- Tom signature.asc Description: PGP signature

Re: [PATCH v5] cmd: bootm: add ELF file support

2024-06-21 Thread Heinrich Schuchardt
On 6/21/24 16:16, Максим Москалец wrote: пт, 21 июн. 2024 г. в 15:51, Heinrich Schuchardt : On 21.06.24 13:42, Maxim Moskalets wrote: Some operating systems (e.g. seL4) and embedded applications are ELF images. It is convenient to use FIT-images to implement trusted boot. Added "elf" image typ

Re: [PATCH] imx: hab: Make imx_hab_is_enabled dependent on FIELD_RETURN

2024-06-21 Thread Marek Vasut
On 6/21/24 3:06 PM, Paul Geurts wrote: The decision on whether HAB is enabled is solely based on the SEC_CONFIG fuse. The HAB FIELD_RETURN feature is able to permanently disable HAB on a CPU, after which it is able to boot unsigned firmware. U-Boot however does not take into account the FIELD_RET

Re: [PATCH] imx8mp-venice-gw702x: Drop EQos clock workaround

2024-06-21 Thread Tim Harvey
On Fri, Jun 21, 2024 at 7:24 AM Fabio Estevam wrote: > > Hi Tim, > > On Wed, Jun 19, 2024 at 10:30 PM Tim Harvey wrote: > > > > The assigned-clock no longer have to be dropped, the clock are now > > defined in clk-imx8mp.c and used by DWMAC driver to configure the > > DWMAC clock. Drop the workar

Re: Request for hosting a boot-firmware repository in u-boot git (denx and GitHub)

2024-06-21 Thread Bryan Brattlof
On June 21, 2024 thus sayeth Simon Glass: > Hi Peter, > > On Fri, 21 Jun 2024 at 01:35, Peter Robinson wrote: > > > > On Fri, 21 Jun 2024 at 00:05, Simon Glass wrote: > > > > > > Hi Nishanth, > > > > > > On Thu, 20 Jun 2024 at 15:35, Nishanth Menon wrote: > > > > > > > > Hi Team, > > > > > > >

Re: [PATCH v3 10/18] tpm: Avoid code bloat when not using EFI_TCG2_PROTOCOL

2024-06-21 Thread Ilias Apalodimas
Hi Simon, On Fri, 21 Jun 2024 at 17:57, Simon Glass wrote: > > Hi Ilias, > > On Thu, 20 Jun 2024 at 23:49, Ilias Apalodimas > wrote: > > > > On Fri, 21 Jun 2024 at 08:32, Ilias Apalodimas > > wrote: > > > > > > Hi Simon, > > > > > > On Fri, 21 Jun 2024 at 02:06, Simon Glass wrote: > > > > > >

Re: [PATCH v2 2/9] tpm: Avoid code bloat when not using EFI_TCG2_PROTOCOL

2024-06-21 Thread Tom Rini
On Fri, Jun 21, 2024 at 08:57:51AM -0600, Simon Glass wrote: > Hi Tom, > > On Thu, 20 Jun 2024 at 17:19, Tom Rini wrote: > > > > On Thu, Jun 20, 2024 at 05:05:29PM -0600, Simon Glass wrote: > > > Hi Tom, > > > > > > On Wed, 19 Jun 2024 at 09:32, Tom Rini wrote: > > > > > > > > On Tue, Jun 18, 20

Re: [PATCH v4 00/14] Introduce the lwIP network stack

2024-06-21 Thread Tim Harvey
On Fri, Jun 21, 2024 at 5:59 AM Jerome Forissier wrote: > > > > On 6/20/24 19:10, Tim Harvey wrote: > > On Mon, Jun 17, 2024 at 8:33 AM Jerome Forissier > > wrote: > >> > >> This is a rework of a patch series by Maxim Uvarov: "net/lwip: add lwip > >> library for the network stack" [1]. The goal i

Re: [PATCH 5/9] fdt: Correct condition for bloblist existing

2024-06-21 Thread Raymond Mao
Hi Simon, On Fri, 21 Jun 2024 at 10:58, Simon Glass wrote: > Hi Ilias, > > On Wed, 19 Jun 2024 at 06:41, Ilias Apalodimas > wrote: > > > > Hi Simon, > > > > On Wed, Jun 12, 2024 at 02:24:31PM -0600, Simon Glass wrote: > > > Hi Ilias, > > > > > > On Wed, 12 Jun 2024 at 00:02, Ilias Apalodimas >

Re: [PATCH v3 0/7] efi: CapsuleUpdate: support for dynamic UUIDs

2024-06-21 Thread Vincent Stehlé
On Fri, Jun 21, 2024 at 01:00:51PM +0200, Heinrich Schuchardt wrote: (..) > The current specification is in RFC 9562, 4.1, "Variant field" > > "The variant field consists of a variable number of the most significant > bits of octet 8 of the UUID. > > ... > > Specifically for UUIDs in this docume

Re: [PATCH v3 0/7] efi: CapsuleUpdate: support for dynamic UUIDs

2024-06-21 Thread Caleb Connolly
On Fri, 21 Jun 2024, 19:06 Vincent Stehlé, wrote: > On Fri, Jun 21, 2024 at 01:00:51PM +0200, Heinrich Schuchardt wrote: > (..) > > The current specification is in RFC 9562, 4.1, "Variant field" > > > > "The variant field consists of a variable number of the most significant > > bits of octet 8 o

Re: [PATCH v3 10/18] tpm: Avoid code bloat when not using EFI_TCG2_PROTOCOL

2024-06-21 Thread Simon Glass
Hi Ilias, On Fri, 21 Jun 2024 at 09:52, Ilias Apalodimas wrote: > > Hi Simon, > > On Fri, 21 Jun 2024 at 17:57, Simon Glass wrote: > > > > Hi Ilias, > > > > On Thu, 20 Jun 2024 at 23:49, Ilias Apalodimas > > wrote: > > > > > > On Fri, 21 Jun 2024 at 08:32, Ilias Apalodimas > > > wrote: > > > >

Re: [PATCH v4 00/14] Introduce the lwIP network stack

2024-06-21 Thread Jerome Forissier
Hi Simon, On 6/21/24 16:57, Simon Glass wrote: > Hi Jerome, > > On Mon, 17 Jun 2024 at 09:33, Jerome Forissier > wrote: >> >> This is a rework of a patch series by Maxim Uvarov: "net/lwip: add lwip >> library for the network stack" [1]. The goal is to introduce the lwIP TCP/IP >> stack [2] [3] a

Re: [PATCH v2 2/9] tpm: Avoid code bloat when not using EFI_TCG2_PROTOCOL

2024-06-21 Thread Simon Glass
Hi Tom, On Fri, 21 Jun 2024 at 10:05, Tom Rini wrote: > > On Fri, Jun 21, 2024 at 08:57:51AM -0600, Simon Glass wrote: > > Hi Tom, > > > > On Thu, 20 Jun 2024 at 17:19, Tom Rini wrote: > > > > > > On Thu, Jun 20, 2024 at 05:05:29PM -0600, Simon Glass wrote: > > > > Hi Tom, > > > > > > > > On Wed

Re: [PATCH v4 00/14] Introduce the lwIP network stack

2024-06-21 Thread Jerome Forissier
On 6/21/24 18:08, Tim Harvey wrote: > On Fri, Jun 21, 2024 at 5:59 AM Jerome Forissier > wrote: >> >> >> >> On 6/20/24 19:10, Tim Harvey wrote: >>> On Mon, Jun 17, 2024 at 8:33 AM Jerome Forissier >>> wrote: This is a rework of a patch series by Maxim Uvarov: "net/lwip: add lwip

Re: [PATCH 5/9] fdt: Correct condition for bloblist existing

2024-06-21 Thread Simon Glass
Hi Raymond, On Fri, 21 Jun 2024 at 10:40, Raymond Mao wrote: > > Hi Simon, > > On Fri, 21 Jun 2024 at 10:58, Simon Glass wrote: >> >> Hi Ilias, >> >> On Wed, 19 Jun 2024 at 06:41, Ilias Apalodimas >> wrote: >> > >> > Hi Simon, >> > >> > On Wed, Jun 12, 2024 at 02:24:31PM -0600, Simon Glass wrot

Re: [PATCH 3/5] buildman: Support building within a Python venv

2024-06-21 Thread Simon Glass
Hi Tom, On Fri, 21 Jun 2024 at 09:22, Tom Rini wrote: > > On Fri, Jun 21, 2024 at 08:57:50AM -0600, Simon Glass wrote: > > Hi Tom, > > > > On Thu, 20 Jun 2024 at 17:30, Tom Rini wrote: > > > > > > On Thu, Jun 20, 2024 at 05:05:30PM -0600, Simon Glass wrote: > > > > Hi Tom, > > > > > > > > On Thu

Re: [PATCH v4 00/14] Introduce the lwIP network stack

2024-06-21 Thread Fabio Estevam
Hi Tim and Jerome, On Fri, Jun 21, 2024 at 1:08 PM Tim Harvey wrote: > I tried your to-upstream/v5-wip branch > (042bea36eb9731079a3d7afffe3774d79e06ac5d) and it behaves the same. Do > you have something else to try/test? Yes, when I tested older versions from Maxim I could never get lwIP to wo

Re: [PATCH v2 2/9] tpm: Avoid code bloat when not using EFI_TCG2_PROTOCOL

2024-06-21 Thread Tom Rini
On Fri, Jun 21, 2024 at 11:55:42AM -0600, Simon Glass wrote: > Hi Tom, > > On Fri, 21 Jun 2024 at 10:05, Tom Rini wrote: [snip] > > Yes, I very much do not like guessing about 3 numbers instead of > > guessing about 1 number and using the standard mechanism we already > > have. Please use BOARD_S

Re: [PATCH 3/5] buildman: Support building within a Python venv

2024-06-21 Thread Tom Rini
On Fri, Jun 21, 2024 at 12:19:12PM -0600, Simon Glass wrote: > Hi Tom, > > On Fri, 21 Jun 2024 at 09:22, Tom Rini wrote: > > > > On Fri, Jun 21, 2024 at 08:57:50AM -0600, Simon Glass wrote: > > > Hi Tom, > > > > > > On Thu, 20 Jun 2024 at 17:30, Tom Rini wrote: > > > > > > > > On Thu, Jun 20, 20

Re: [PATCH v2 2/9] tpm: Avoid code bloat when not using EFI_TCG2_PROTOCOL

2024-06-21 Thread Simon Glass
Hi Tom, On Fri, 21 Jun 2024 at 13:19, Tom Rini wrote: > > On Fri, Jun 21, 2024 at 11:55:42AM -0600, Simon Glass wrote: > > Hi Tom, > > > > On Fri, 21 Jun 2024 at 10:05, Tom Rini wrote: > [snip] > > > Yes, I very much do not like guessing about 3 numbers instead of > > > guessing about 1 number a

Re: [PATCH 3/5] buildman: Support building within a Python venv

2024-06-21 Thread Simon Glass
Hi Tom, On Fri, 21 Jun 2024 at 13:26, Tom Rini wrote: > > On Fri, Jun 21, 2024 at 12:19:12PM -0600, Simon Glass wrote: > > Hi Tom, > > > > On Fri, 21 Jun 2024 at 09:22, Tom Rini wrote: > > > > > > On Fri, Jun 21, 2024 at 08:57:50AM -0600, Simon Glass wrote: > > > > Hi Tom, > > > > > > > > On Thu

[PATCH v2 00/43] labgrid: Provide an integration with Labgrid

2024-06-21 Thread Simon Glass
Labgrid provides access to a hardware lab in an automated way. It is possible to boot U-Boot on boards in the lab without physically touching them. It relies on relays, USB UARTs and SD muxes, among other things. By way of background, about 4 years ago I wrong a thing called Labman[1] which allowe

[PATCH v2 01/43] trace: Update test to tolerate different trace-cmd version

2024-06-21 Thread Simon Glass
Some versions of trace-cmd (or some machines?) show one less dot in the CPU list. Signed-off-by: Simon Glass --- (no changes since v1) test/py/tests/test_trace.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/py/tests/test_trace.py b/test/py/tests/test_trace.py index

[PATCH v2 03/43] binman: Regenerate nxp docs

2024-06-21 Thread Simon Glass
Regenerate the entries.rst file to include this recent addition. Note that more docs are needed here, to actually describe the entry type. Note also that the entry type needs Binman tests added. Signed-off-by: Simon Glass --- (no changes since v1) tools/binman/entries.rst | 22 ++

[PATCH v2 02/43] binman: efi: Correct entry docs

2024-06-21 Thread Simon Glass
Somehow the class documentation has got out of sync with the generated entries.rst file. Regenerating it causes errors, so correct these and regenerate the entries.rst file. Signed-off-by: Simon Glass Fixes: 809f28e7213 ("binman: capsule: Use dumped capsule header...") --- (no changes since v1)

[PATCH v2 04/43] binman: ti: Regenerate entry docs

2024-06-21 Thread Simon Glass
Correct formatting errors in the documentation. Regenerate the entries.rst file to include this recent addition. Signed-off-by: Simon Glass --- (no changes since v1) tools/binman/entries.rst| 35 + tools/binman/etype/ti_secure.py | 45 +-

[PATCH v2 05/43] binman: Update the entrydocs header

2024-06-21 Thread Simon Glass
Reduce the length of the underline for this header, to match the heading itself. Signed-off-by: Simon Glass --- (no changes since v1) tools/binman/entry.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/binman/entry.py b/tools/binman/entry.py index 42e0b7b9145..2ed65

[PATCH v2 06/43] buildman: Make mrproper an argument to _reconfigure()

2024-06-21 Thread Simon Glass
Pass this in so the caller can change it independently of the member variable. Signed-off-by: Simon Glass --- (no changes since v1) tools/buildman/builderthread.py | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/tools/buildman/builderthread.py b/tools/buildman/build

[PATCH v2 07/43] buildman: Make mrproper an argument to _config_and_build()

2024-06-21 Thread Simon Glass
Pass this in so the caller can change it independently of the member variable. Signed-off-by: Simon Glass --- (no changes since v1) tools/buildman/builderthread.py | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/tools/buildman/builderthread.py b/tools/buildman/bu

[PATCH v2 08/43] buildman: Make mrproper an argument to run_commit()

2024-06-21 Thread Simon Glass
Pass this in so the caller can change it independently of the member variable. Signed-off-by: Simon Glass --- (no changes since v1) tools/buildman/builderthread.py | 18 ++ 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/tools/buildman/builderthread.py b/tools/bu

[PATCH v2 09/43] buildman: Avoid rebuilding when --mrproper is used

2024-06-21 Thread Simon Glass
When this flag is enabled, 'make mrproper' is always used when reconfiguring, so there is no point in doing it again. Update this. Signed-off-by: Simon Glass --- (no changes since v1) tools/buildman/builderthread.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/bui

[PATCH v2 10/43] buildman: Add a flag to force mrproper on failure

2024-06-21 Thread Simon Glass
When a file is removed by a commit (e.g. include/common.h yay!) it can cause incremental build failures since one of the dependency files from a previous build may mention the file. Add an option to run 'make mrproper' automatically when a build fails. This can be used to automatically resolve the

[PATCH v2 11/43] buildman: Retry the build for current source

2024-06-21 Thread Simon Glass
Buildman retries a failed build when processing a branch, but does not do this when building current source. It is useful to do this retry in both cases, so add the logic for it. Signed-off-by: Simon Glass --- (no changes since v1) tools/buildman/builderthread.py | 8 1 file changed,

[PATCH v2 12/43] buildman: Add a way to limit the number of buildmans

2024-06-21 Thread Simon Glass
Buildman uses all available CPUs by default, so running more than one or two concurrent processes is not normally useful. However in some CI cases we want to be able to run several jobs at once to save time. For example, in a lab situation we may want to run a test on 20 boards at a time, since on

[PATCH v2 13/43] dm: core: Enhance comments on bind_drivers_pass()

2024-06-21 Thread Simon Glass
This part of driver model is a little subtle, so add some more comments to promote better understanding. Signed-off-by: Simon Glass --- (no changes since v1) drivers/core/lists.c | 16 1 file changed, 16 insertions(+) diff --git a/drivers/core/lists.c b/drivers/core/lists.c i

[PATCH v2 14/43] initcall: Correct use of relocation offset

2024-06-21 Thread Simon Glass
The relocation offset can change in some initcall sequences. Handle this and make sure it is used for all debugging statements in init_run_list() Update the trace test to match. Signed-off-by: Simon Glass Reviewed-by: Caleb Connolly --- (no changes since v1) lib/initcall.c | 6 +

[PATCH v2 15/43] am33xx: Provide a function to set up the debug UART

2024-06-21 Thread Simon Glass
Since commit 0dba45864b2a ("arm: Init the debug UART") the debug UART is set up in _main() before early_system_init() is called. Add a suitable board_debug_uart_init() function to set up the UART in SPL. Signed-off-by: Simon Glass --- (no changes since v1) arch/arm/mach-omap2/am33xx/board.c |

[PATCH v2 16/43] sunxi: Mark scp as optional

2024-06-21 Thread Simon Glass
This binary does not prevent the system from booting. Mark it optional so that U-Boot can be built without it. Signed-off-by: Simon Glass --- (no changes since v1) arch/arm/dts/sunxi-u-boot.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/dts/sunxi-u-boot.dtsi b/arch/arm/dts/s

[PATCH v2 17/43] google: Disable TPMv2 on most Chromebooks

2024-06-21 Thread Simon Glass
This feature is not present on older Chromebooks, so disable the setting. Signed-off-by: Simon Glass Reviewed-by: Ilias Apalodimas --- (no changes since v1) configs/chromebook_link64_defconfig| 1 + configs/chromebook_link_defconfig | 1 + configs/chromebook_samus_defconfig | 1 +

[PATCH v2 18/43] meson: Correct driver declaration for meson_axg_gpio

2024-06-21 Thread Simon Glass
This should use the driver macros so that the driver appears in the linker list. Fix this. Fixes: 8587839f19d ("pinctrl: meson: add axg support") Reviewed-by: Neil Armstrong Signed-off-by: Simon Glass --- (no changes since v1) drivers/pinctrl/meson/pinctrl-meson-axg-pmx.c | 2 +- drivers/pin

[PATCH v2 19/43] test: Allow signaling that U-Boot is ready

2024-06-21 Thread Simon Glass
When Labgrid is used, it can get U-Boot ready for running tests. It prints a message when it has done so. Add logic to detect this message and accept it. Signed-off-by: Simon Glass --- (no changes since v1) test/py/u_boot_console_base.py | 9 + 1 file changed, 5 insertions(+), 4 delet

[PATCH v2 20/43] test: Make bootstd init run only on sandbox

2024-06-21 Thread Simon Glass
Tests for standard boot need disks to be set up, which can only be done on sandbox, since adjusting disks on real hardware is not currently supported. Mark the init function as sandbox-only. Signed-off-by: Simon Glass --- (no changes since v1) test/py/tests/test_ut.py | 1 + 1 file changed, 1

[PATCH v2 21/43] test: Use a constant for the test timeout

2024-06-21 Thread Simon Glass
Declare a constant rather than open-coding the same value twice. Signed-off-by: Simon Glass --- (no changes since v1) test/py/u_boot_console_base.py | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/test/py/u_boot_console_base.py b/test/py/u_boot_console_base.py index

[PATCH v2 22/43] test: Pass stderr to stdout

2024-06-21 Thread Simon Glass
Some tests may output things to stderr. Ensure that this output is not dropped, by redirecting it to stdout Signed-off-by: Simon Glass --- (no changes since v1) test/py/u_boot_spawn.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/py/u_boot_spawn.py b/test/py/u_boot_spawn.py index

[PATCH v2 23/43] test: Release board after tests complete

2024-06-21 Thread Simon Glass
When a board is finished with, the lab may want to power it off, or perform some other function. Add a new script which is called when tests are complete. Signed-off-by: Simon Glass --- (no changes since v1) test/py/u_boot_console_exec_attach.py | 10 ++ 1 file changed, 10 insertions(+

[PATCH v2 24/43] log: Allow tests to pass with CONFIG_LOGF_FUNC_PAD set

2024-06-21 Thread Simon Glass
This setting pads out the function names. Adjust the test to handle this, since some boards use it. Signed-off-by: Simon Glass --- (no changes since v1) test/py/tests/test_log.py | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/test/py/tests/test_log.py b/test/py

[PATCH v2 25/43] test: Allow connecting to a running board

2024-06-21 Thread Simon Glass
Sometimes we know that the board is already running the right software, so provide an option to allow running of tests directly, without first resetting the board. This saves time when re-running a test where only the Python code is changing. Signed-off-by: Simon Glass --- (no changes since v1)

[PATCH v2 26/43] test: Decode exceptions only with sandbox

2024-06-21 Thread Simon Glass
When a real board fails we don't want to decode the exception. Reserve that behaviour for sandbox. Also avoid raising a new exception on failure - just re-raise the existing one. Signed-off-by: Simon Glass --- (no changes since v1) test/py/u_boot_console_sandbox.py | 2 +- test/py/u_boot_spaw

  1   2   >