[PATCH 2/2] test: fit: Add test to check environment extraction from FIT conf node

2024-07-01 Thread lukas . funke-oss
From: Lukas Funke Add test which adds environment variables to the FIT configuration node and checks whether they are exported to the runtime environment. Signed-off-by: Lukas Funke --- configs/sandbox_defconfig | 1 + test/py/tests/test_fit.py | 45 +++ 2

[PATCH 1/2] env: Add function to import environment variables from FIT conf node

2024-07-01 Thread lukas . funke-oss
From: Lukas Funke Add function which reads properties from FIT conf node prefixed with "env,". Import property name (without 'env,') and it's value as runtime environment variables. Note: this only works with string properties Example: configurations { default = "conf-1";

[PATCH 0/2] Import environment variables from FIT configuration

2024-07-01 Thread lukas . funke-oss
From: Lukas Funke This series enables U-Boot to import environment variables from the selectd FIT configuration. One use-case is that the overall build process enriches the FIT configuration node with dm-verity information which should be injected into the kernel commandline. U-Boot will then re

Re: [PATCH v2 0/4] Fix fdtfile for j722s and am62p

2024-07-01 Thread Manorit Chawdhry
Hi Nishanth, On 10:23-20240702, Manorit Chawdhry wrote: > Hi Nishanth, > > On 10:28-20240701, Nishanth Menon wrote: > > On 10:48-20240701, Manorit Chawdhry wrote: > > > fdtfile wasn't being populated in these boards, add the code in evm.c > > > for the sam

[PATCH v3 4/4] include: env: ti_common: Remove findfdt from bootcmd_ti_mmc

2024-07-01 Thread Manorit Chawdhry
From: Dhruva Gole findfdt is used by bootcmd_ti_mmc by default which used to help populate the fdtfile. The users of findfdt from bootcmd_ti_mmc have migrated to ti_set_fdt_env for populating fdtfile; Hence, findfdt can be removed from bootcmd_ti_mmc having no-impact for any platform. Remove fin

[PATCH v3 3/4] include: env: ti: mmc: Change name_fdt usage to fdtfile

2024-07-01 Thread Manorit Chawdhry
name_fdt is kept for backward compatibility but it depends on EEPROM detection logic and some of the TI K3 platforms don't have that anymore which causes boot failure in legacy boot flow using bootcmd_ti_mmc. K2g platforms which uses the same file have their own override causing this change to be

[PATCH v3 2/4] configs: am62p|j722s_a53: Add CONFIG_BOARD_LATE_INIT

2024-07-01 Thread Manorit Chawdhry
This is called to set fdtfile based on evm.c code calling ti_set_fdt_env. Signed-off-by: Manorit Chawdhry --- configs/am62px_evm_a53_defconfig | 1 + configs/j722s_evm_a53_defconfig | 1 + 2 files changed, 2 insertions(+) diff --git a/configs/am62px_evm_a53_defconfig b/configs/am62px_evm_a53_d

[PATCH v3 1/4] board: ti: am62p|j722s: Add ti_set_fdt_env for fdtfile

2024-07-01 Thread Manorit Chawdhry
stdboot and legacy boot depend on fdtfile. Since findfdt is getting deprecated, move the rest of k3 platforms dependent on findfdt to ti_set_fdt_env. Populate fdtfile by calling ti_set_fdt_env in board files. Signed-off-by: Manorit Chawdhry --- board/ti/am62px/evm.c | 9 + board/ti/j722

[PATCH v3 0/4] Fix fdtfile for j722s and am62p

2024-07-01 Thread Manorit Chawdhry
fdtfile wasn't being populated in these boards in legacy boot using bootcmd_ti_mmc, migrate these platforms to ti_set_fdt_env. Signed-off-by: Manorit Chawdhry --- Changes in v3: - Update the commit messages to make the change more clear. - Link to v2: https://lore.kernel.org/r/202407

Re: [PATCH v2 0/4] Fix fdtfile for j722s and am62p

2024-07-01 Thread Manorit Chawdhry
Hi Nishanth, On 10:28-20240701, Nishanth Menon wrote: > On 10:48-20240701, Manorit Chawdhry wrote: > > fdtfile wasn't being populated in these boards, add the code in evm.c > > for the same. > > > > Signed-off-by: Manorit Chawdhry > > --- > > Changes

Re: [PATCH] ARM: socfpga: fix broken function call for arria10

2024-07-01 Thread Marek Vasut
On 7/1/24 11:59 PM, Lothar Rubusch wrote: Remove obsolete arguments in the function call. The call's argument list differs from its more recent definition. This breaks compilation of the 'socfpga_arria10_defconfig' target, with additionally enabled: CONFIG_CADENCE_QSPI=y' The removed argumen

[RFC v2 1/2] doc: Remove FIT documentation that is elsewhere

2024-07-01 Thread Sam Povilus
FIT documentation is now a separate project, instead of having a duplicate, we should point at the other project. Signed-off-by: Sam Povilus --- doc/usage/fit/index.rst | 5 +- doc/usage/fit/source_file_format.rst | 682 +-- 2 files changed, 5 insertions(+)

[RFC v2 0/2] FIT documentation link vs copy

2024-07-01 Thread Sam Povilus
I'm proposing linking the FIT documentation instead of double book keeping it, it does have the disadvantage of making it more difficult to see the documentation especially if offline. v2: update table of contents instead of removing Sam Povilus (2): doc: Remove FIT documentation that is els

[RFC v2 2/2] doc: add missing table of content links

2024-07-01 Thread Sam Povilus
Signed-off-by: Sam Povilus --- doc/usage/fit/index.rst | 20 1 file changed, 20 insertions(+) diff --git a/doc/usage/fit/index.rst b/doc/usage/fit/index.rst index af2e481212..904f1593cb 100644 --- a/doc/usage/fit/index.rst +++ b/doc/usage/fit/index.rst @@ -16,3 +16,23 @@ ima

[PATCH] ARM: socfpga: fix broken function call for arria10

2024-07-01 Thread Lothar Rubusch
Remove obsolete arguments in the function call. The call's argument list differs from its more recent definition. This breaks compilation of the 'socfpga_arria10_defconfig' target, with additionally enabled: CONFIG_CADENCE_QSPI=y' The removed arguments are obtained from device-tree declaration.

Re: [RFC 1/1] doc: Remove FIT documentation that is elsewhere

2024-07-01 Thread Heinrich Schuchardt
Am 1. Juli 2024 21:52:12 MESZ schrieb Sam Povilus : > > >On 6/18/2024 12:03 AM, Heinrich Schuchardt wrote: >> Caution: This message originated from an External Source. Use proper caution >> when opening attachments, clicking links, or responding. >> >> >> On 6/17/24 22:20, Sam Povilus wrote:

[PATCH 1/1] doc: fix heading level of itest examples

2024-07-01 Thread Heinrich Schuchardt
The Examples section should be on the second heading level. Signed-off-by: Heinrich Schuchardt --- doc/usage/cmd/itest.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/usage/cmd/itest.rst b/doc/usage/cmd/itest.rst index 9c307fb4bf4..adcad05b2d4 100644 --- a/doc/usage/c

Re: [RFC 1/1] doc: Remove FIT documentation that is elsewhere

2024-07-01 Thread Sam Povilus
On 6/18/2024 12:03 AM, Heinrich Schuchardt wrote: Caution: This message originated from an External Source. Use proper caution when opening attachments, clicking links, or responding. On 6/17/24 22:20, Sam Povilus wrote: FIT documentation is now a separate project, instead of having a dupl

[ANN] U-Boot v2024.07 released

2024-07-01 Thread Tom Rini
Hey all, It's release day and so here is v2024.07. Due to some last minute testing, a problem was found with the zlib update and the safest path (given how long we've been behind) was to revert and fix it for v2024.10. Once again I want to thank everyone that's contributed to this release, not ju

Re: [GIT PULL] Please pull u-boot-amlogic-next-20240404

2024-07-01 Thread Tom Rini
following changes since commit a7eada24327a40f7ef6c55c220e119839c9d4227: > > Merge tag 'v2024.07-rc5' into next (2024-06-24 13:34:52 -0600) > > are available in the Git repository at: > > https://source.denx.de/u-boot/custodians/u-boot-amlogic.git > tag

Re: [PATCH] binman: Update cbfstool

2024-07-01 Thread Tom Rini
On Mon, Jul 01, 2024 at 02:41:02PM +0100, Simon Glass wrote: > Update to a newer version of this tool, from December 2023. This runs OK > with the current binman tests. > > Signed-off-by: Simon Glass > --- > > tools/binman/btool/cbfstool.py | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(

Re: [PATCH 1/1] tools: patman: fix `pip install` with Python 3.12

2024-07-01 Thread Brandon Maier
Hi Simon, On Mon Jul 1, 2024 at 2:34 PM UTC, Simon Glass wrote: > Hi Brandon, > > On Wed, 5 Jun 2024 at 03:13, Simon Glass wrote: > > > > On Tue, 4 Jun 2024 at 10:31, Brandon Maier > > wrote: > > > > > > Installing patman with `cd ./tools/patman && pip install -e .` fails > > > with the error b

[PATCH v2] tools: patman: fix `pip install` with Python 3.12

2024-07-01 Thread Brandon Maier
tup(name='patman', version='1.0', - license='GPL-2.0+', scripts=['patman'], packages=['patman'], package_dir={'patman': ''}, --- base-commit: 8937bb265a7f2251c1bd999784a4ef10e9c6080d change-id: 20240701-python-3-12-fix-patman-license-51891e28b1f6 Best regards, -- Brandon Maier

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

2024-07-01 Thread Tim Harvey
On Mon, Jul 1, 2024 at 2:58 AM Jerome Forissier wrote: > > > > On 6/28/24 17:48, Tim Harvey wrote: > > On Fri, Jun 28, 2024 at 2:50 AM Jerome Forissier > > wrote: > >> > >> Hi Tim, > >> > >> On 6/26/24 18:00, Tim Harvey wrote: > >>> On Tue, Jun 25, 2024 at 1:02 AM Jerome Forissier > >>> wrote: >

Re: [PATCH] net/tftp: make tftpput working with servers that do not use OACK

2024-07-01 Thread Peter Robinson
Please don't put the only detail in the subject, please outline the fix here too, that should allow a more concise subject. > Signed-off-by: Mikhail Kshevetskiy > --- > net/tftp.c | 9 - > 1 file changed, 8 insertions(+), 1 deletion(-) > > diff --git a/net/tftp.c b/net/tftp.c > index 2e3

Re: [PATCH 08/12] net/httpd: add httpd common code

2024-07-01 Thread Peter Robinson
Hi Mikhail, > This patch adds HTTP/1.1 compatible web-server that can be used > by other. Server supports GET, POST, and HEAD requests. On client > request it will call user specified GET/POST callback. Then results > will be transmitted to client. Why are we adding a HTTP server? I don't see a c

Re: [PATCH v4 0/2] k3-am625-beagleplay: Add symlinks for tiboot3 and tispl

2024-07-01 Thread Nishanth Menon
On 21:32-20240628, Robert Nelson wrote: > On Fri, Jun 28, 2024 at 8:12 AM Nishanth Menon wrote: > > > > On 10:19-20240618, Dhruva Gole wrote: > > > Add symlinks for both tiboot3.bin and tispl.bin because a user has to > > > anyway rename these files to get the platform to boot up. > > > Also updat

Re: [PATCH v2 0/4] Fix fdtfile for j722s and am62p

2024-07-01 Thread Nishanth Menon
On 10:48-20240701, Manorit Chawdhry wrote: > fdtfile wasn't being populated in these boards, add the code in evm.c > for the same. > > Signed-off-by: Manorit Chawdhry > --- > Changes in v2: > - Replace findfdt with fdtfile as that is what the series fixes. (Nishanth) &g

Re: [PATCH V3 0/4] Low Power Mode: Pakage TIFS Stub on BeaglePlay

2024-07-01 Thread Nishanth Menon
On 15:25-20240701, Sebin Francis wrote: > For HS-FS device we need to sign the fs-stub with customer key. DM firmware > cannot have a component which is signed using customer key. Please explain please why DM cannot have a component signed using a customer key for the public record? -- R

Re: [PATCH] sandbox: Fix LTO to work with STACKPROTECTOR

2024-07-01 Thread Andrew Goodbody
On 01/07/2024 14:57, Simon Glass wrote: Hi Andrew, On Mon, 24 Jun 2024 at 10:29, Andrew Goodbody wrote: Add the STACKPROTECTOR symbols to the script that generates the symbols that should not be removed by the use of LTO when linking a shared object. This prevents a fail to build due to link

Re: [PATCH 1/1] tools: patman: fix `pip install` with Python 3.12

2024-07-01 Thread Simon Glass
Hi Brandon, On Wed, 5 Jun 2024 at 03:13, Simon Glass wrote: > > On Tue, 4 Jun 2024 at 10:31, Brandon Maier wrote: > > > > Installing patman with `cd ./tools/patman && pip install -e .` fails > > with the error below. > > > > As described in the error output, the license line is not allowed to be

Re: [PATCH] configs: enable setvariable at runtime on sandbox

2024-07-01 Thread Simon Glass
On Tue, 18 Jun 2024 at 18:28, Ilias Apalodimas wrote: > > We currently don't have any boards enabling CONFIG_EFI_RT_VOLATILE_STORE. > We do have EFI selftests testing the feature though, so enable it in > all the sandbox platforms and test the functionality properly > > Signed-off-by: Ilias Apalod

Re: Allow encrypting data in FIT with binman

2024-07-01 Thread Simon Glass
Hi Paul, Unfortunately I did not receive the email with your patch but I see it in patchwork here: https://patchwork.ozlabs.org/bundle/sjg/dm/?series=408037 I get this error: binman test testSimpleFitEncryptedData Running binman tests E

Re: [PATCH 3/3] patman: Add a tag for when a patch gets added to a series

2024-07-01 Thread Simon Glass
On Mon, 29 Apr 2024 at 17:49, Doug Anderson wrote: > > Hi, > > On Thu, Apr 18, 2024 at 7:36 PM Sean Anderson wrote: > > > > When a patch is added to a series after the initial version, there are no > > changes to note except that it is new. This is typically done to suppress > > the "(no changes

Re: [PATCH 2/3] patman: Add Commit-cc as an alias for Patch-cc

2024-07-01 Thread Simon Glass
On Fri, 19 Apr 2024 at 03:36, Sean Anderson wrote: > > Most tags referring to commits (or patches) are named Commit-something. The > exception is Patch-cc. Add a Commit-cc alias so we can use whichever one is > convenient. > > Signed-off-by: Sean Anderson > --- > > tools/patman/func_test.py

Re: [PATCH 1/3] patman: Fix tests if add_maintainers is set to False

2024-07-01 Thread Simon Glass
On Fri, 19 Apr 2024 at 03:36, Sean Anderson wrote: > > If add_maintainers is set to False in the user's ~/.patman config, it will > cause the custom_get_maintainer_script to fail since that test expects > maintainers to be added. Set add_maintainer to True in the .patman config > to prevent this.

Re: [PATCH 1/1] defconfig: disable VIDEO_COPY on the sandbox

2024-07-01 Thread Simon Glass
Hi, On Fri, 17 May 2024 at 17:36, Jiaxun Yang wrote: > > > > 在2024年5月17日五月 下午5:06,Heinrich Schuchardt写道: > > Since commit a75cf70d23ac ("efi: Correct handling of frame buffer") the EFI > > block image transfer is broken on the sandbox. > > > > To test build sandbox_defconfig with CONFIG_EFI_SELFT

Re: [PATCH] sandbox: Fix LTO to work with STACKPROTECTOR

2024-07-01 Thread Simon Glass
Hi Andrew, On Mon, 24 Jun 2024 at 10:29, Andrew Goodbody wrote: > > Add the STACKPROTECTOR symbols to the script that generates the > symbols that should not be removed by the use of LTO when linking > a shared object. This prevents a fail to build due to link errors. > > https://source.denx.de/u

Re: [PATCH] buildman: Add flag to filter out missing binary blobs

2024-07-01 Thread Simon Glass
Hi Tom, On Thu, 2 May 2024 at 00:17, Tom Rini wrote: > > When doing builds of a number of platforms and not intending to run the > resulting binaries, we have an option already to tell buildman to just > make fake binaries for linking only. Add another option to filter this > from the output, to

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

2024-07-01 Thread Paul Geurts
Hi Ye, > Hi Paul, > > On 6/26/2024 3:17 PM, Paul Geurts wrote: >> Hi, >> Thanks for the feedback. >> >>> Hi Paul, >>> >>> On 6/24/2024 8:09 PM, Fabio Estevam wrote: >>> Hi Paul, On Fri, Jun 21, 2024 at 10:06 AM Paul Geurts wrote: > -struct imx_sec_config_fuse_t { >>>

Re: [PATCH V3 0/4] Low Power Mode: Pakage TIFS Stub on BeaglePlay

2024-07-01 Thread Sebin Francis
On 28/06/24 23:10, Nishanth Menon wrote: On 19:39-20240628, Sebin Francis wrote: On 28/06/24 18:33, Nishanth Menon wrote: On 15:02-20240628, Dhruva Gole wrote: This series includes the binman related changes required to package tIFS Stub to support Low Power Modes on BeaglePlay. Also, based

[PATCH 4/4] board: phytec: phycore_am64x: Move earlycon into own variable

2024-07-01 Thread Daniel Schultz
By moving the earlycon definition into a dedicated variable, it's easier to change these values in case the kernel should print on a different serial interface. Signed-off-by: Daniel Schultz --- board/phytec/phycore_am64x/phycore_am64x.env | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)

[PATCH 3/4] board: phytec: phycore_am62x: Move earlycon into own variable

2024-07-01 Thread Daniel Schultz
By moving the earlycon definition into a dedicated variable, it's easier to change these values in case the kernel should print on a different serial interface. Signed-off-by: Daniel Schultz --- board/phytec/phycore_am62x/phycore_am62x.env | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)

[PATCH 2/4] configs: phycore_am64x_a53: Add more commands

2024-07-01 Thread Daniel Schultz
Add the rtc command for testing this device. Additionally, add smc and cache commands to boot non-Linux firmwares on the A53. Signed-off-by: Daniel Schultz --- configs/phycore_am64x_a53_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/phycore_am64x_a53_defconfig b/config

[PATCH 1/4] configs: phycore_am62x_a53: Add more commands

2024-07-01 Thread Daniel Schultz
Add i2c and rtc commands with all dependencies which are required for testing. Additionally, add smc and cache commands to boot Zephyr on the A53. Signed-off-by: Daniel Schultz --- configs/phycore_am62x_a53_defconfig | 7 +++ 1 file changed, 7 insertions(+) diff --git a/configs/phycore_am6

[PATCH] binman: Update cbfstool

2024-07-01 Thread Simon Glass
Update to a newer version of this tool, from December 2023. This runs OK with the current binman tests. Signed-off-by: Simon Glass --- tools/binman/btool/cbfstool.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/binman/btool/cbfstool.py b/tools/binman/btool/cbfstool.

Re: [PATCH v2] spl: fit: List DTOs applied by SPL in U-Boot control DT

2024-07-01 Thread Simon Glass
Hi Marek, On Sun, 30 Jun 2024 at 06:24, Marek Vasut wrote: > > On 6/28/24 9:32 AM, Simon Glass wrote: > > Hi Marek, > > Hi, > > >> --- > >> common/spl/spl_fit.c| 29 +++-- > >> doc/device-tree-bindings/config.txt | 11 +++ > >> 2 files changed,

Re: [PATCH 1/3] pxe: Add debugging for booting

2024-07-01 Thread Simon Glass
Hi Tom, On Sun, 30 Jun 2024 at 15:57, Tom Rini wrote: > > On Sat, Jun 29, 2024 at 07:56:00AM +0100, Simon Glass wrote: > > Hi Tom, > > > > On Thu, 27 Jun 2024 at 02:19, Tom Rini wrote: > > > > > > On Wed, 19 Jun 2024 06:34:50 -0600, Simon Glass wrote: > > > > > > > Show which boot protocol is be

Re: [PATCH v5 4/6] configs: am62x_evm_*: Enable USB and DFU support

2024-07-01 Thread Martyn Welch
On Thu, 2024-05-23 at 15:08 -0500, Jon Humphreys wrote: > Martyn Welch writes: > > > From: Sjoerd Simons > > > > Provide config fragments to enable USB host as well as USB gadget > > and DFU > > support for a53 and r5. This relevant fragment is included into the > > am62x EVM a53 defconfig. For

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

2024-07-01 Thread Jerome Forissier
On 6/28/24 17:48, Tim Harvey wrote: > On Fri, Jun 28, 2024 at 2:50 AM Jerome Forissier > wrote: >> >> Hi Tim, >> >> On 6/26/24 18:00, Tim Harvey wrote: >>> On Tue, Jun 25, 2024 at 1:02 AM Jerome Forissier >>> wrote: On 6/25/24 00:28, Tim Harvey wrote: > On Sat, Jun 22, 2024 at 1:

Re: [PATCH 4/7] mtd: spinand: preparation for ecc engine adding

2024-07-01 Thread Miquel Raynal
Hi Mikhail, mikhail.kshevets...@iopsys.eu wrote on Thu, 27 Jun 2024 14:20:02 +0300: A commit log would be welcome here as many things happen in this patch. I'm fine overall, I didn't thoroughly review all the patches but they look sensible to me. > Signed-off-by: Mikhail Kshevetskiy > --- > d

[GIT PULL] Please pull u-boot-amlogic-next-20240404

2024-07-01 Thread Neil Armstrong
4-06-24 13:34:52 -0600) are available in the Git repository at: https://source.denx.de/u-boot/custodians/u-boot-amlogic.git tags/u-boot-amlogic-20240701 for you to fetch changes up to 96e1a156e90a0674b21c56e7121b17a9211176ec: meson: Correct driver declaration for meson_axg_gpio (2024-06-2

Re: [PATCH] spl: fit: List DTOs applied by SPL in U-Boot control DT

2024-07-01 Thread Quentin Schulz
Hi Marek, On 6/30/24 4:33 AM, Marek Vasut wrote: On 6/28/24 10:27 AM, Quentin Schulz wrote: Hi, Shouldn't this rather be in /config node? This is what I had there originally, but then I realized that some DTs might not have the /config node in them (or am I mistaken?), so I moved the new

Re: [PATCH v4 3/3] drivers: bootcount: Fix typo in documentation

2024-07-01 Thread Quentin Schulz
Hi Vasileios, On 6/28/24 7:35 PM, Vasileios Amoiridis wrote: The bootcount documentation was using "unattended" while it probably intending to say "unintended" Signed-off-by: Vasileios Amoiridis Reviewed-by: Quentin Schulz Thanks! Quentin

Re: [PATCH v4 1/3] drivers: bootcount: Add support for ANY filesystem

2024-07-01 Thread Quentin Schulz
Hi Vasileios, On 6/28/24 7:35 PM, Vasileios Amoiridis wrote: Add support to save boot count variable in ANY filesystem. Tested with FAT and EXT. Reviewed-by: Tom Rini Reviewed-by: Heiko Schocher Reviewed-by: Philip Oberfichtner Signed-off-by: Vasileios Amoiridis --- doc/README.bootcount