Re: [PATCH] doc/sphinx/requirements.txt: Bump certifi up

2023-08-10 Thread Heinrich Schuchardt
On 8/1/23 20:53, Tom Rini wrote: Upgrade certifi to the latest version, to remove e-Tugra from the root store. Link: https://groups.google.com/a/mozilla.org/g/dev-security-policy/c/C-HrP1SEq1A?pli=1 Signed-off-by: Tom Rini Reviewed-by: Simon Glass --- doc/sphinx/requirements.txt | 2 +- 1

[PATCH] dm: core: support reading a single indexed u64 value

2023-08-10 Thread Ashok Reddy Soma
Add helper function to allow reading a single indexed u64 value from a device-tree property containing multiple u64 values, that is an array of u64's. Signed-off-by: Ashok Reddy Soma --- drivers/core/of_access.c | 22 ++ drivers/core/ofnode.c| 30

[PATCH 3/3] pinctrl: zynqmp: Add support for output-enable and bias-high-impedance

2023-08-10 Thread Ashok Reddy Soma
Add support to handle 'output-enable' and 'bias-high-impedance' configurations in pinctrl driver. Signed-off-by: Ashok Reddy Soma --- drivers/pinctrl/pinctrl-zynqmp.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/pinctrl/pinctrl-zynqmp.c b/drivers/pinctrl/pinctrl-zynqmp.c

[PATCH 1/3] firmware: zynqmp: Add support to check feature

2023-08-10 Thread Ashok Reddy Soma
Add firmware API to check if given feature is supported. Signed-off-by: Ashok Reddy Soma --- drivers/firmware/firmware-zynqmp.c | 13 + include/zynqmp_firmware.h | 3 +++ 2 files changed, 16 insertions(+) diff --git a/drivers/firmware/firmware-zynqmp.c b/drivers/firmware

[PATCH 2/3] pinctrl: zynqmp: Add version check for TRISTATE configuration

2023-08-10 Thread Ashok Reddy Soma
Support for configuring TRISTATE parameter is added in ZYNQMP PMUFW(Xilinx ZynqMP Platform Management Firmware) Configuration Param Set version 2.0. If the requested configuration is TRISTATE then check the version before requesting Xilinx firmware to set the configuration. Signed-off-by: Ashok Re

[PATCH 0/3] pinctrl: zynqmp: Add tri-state configuration support

2023-08-10 Thread Ashok Reddy Soma
Add support for pinctrl driver to handle 'output-enable' and 'bias-high-impedance' configurations. This support has been added in Xilinx ZynqMP Platform Management Firmware recently, hence add a version check to avoid backward compatibility issues. Ashok Reddy Soma (3): firmware: zynqmp: Add

[PATCH 1/1] armv8: Fix compilation error with SYS_DCACHE_OFF

2023-08-10 Thread Bhupesh Sharma
If CONFIG_SYS_ICACHE_OFF and CONFIG_SYS_DCACHE_OFF are set, we see the following errors while compiling u-boot: arch/arm/cpu/armv8/cpu.c:60: undefined reference to `icache_disable' aarch64-linux-gnu-ld.bfd: arch/arm/cpu/armv8/cpu.c:68: undefined reference to `dcache_disable' aarch64-linux-g

Re: [PATCH] net: Fix the displayed value of bytes transferred

2023-08-10 Thread Siddharth Vadapalli
Ravi, On 10/08/23 17:00, Ravi Gunasekaran wrote: > Siddharth, > > On 8/10/23 2:45 PM, Siddharth Vadapalli wrote: >> In the case of NETLOOP_SUCCESS, the decimal value of the u32 variable >> "net_boot_file_size" is printed using "%d", resulting in negative values >> being reported for large file si

Re: [PATCH 1/3] fdt: common API to populate kaslr seed

2023-08-10 Thread Chris Morgan
On Wed, Aug 09, 2023 at 07:49:08PM -0600, Simon Glass wrote: > Hi Sean, > > On Wed, 9 Aug 2023 at 16:35, Sean Edmond > wrote: > > > > > > On 2023-08-08 7:03 p.m., Simon Glass wrote: > > > Hi, > > > > > > On Fri, 4 Aug 2023 at 17:34, wrote: > > >> From: Dhananjay Phadke > > >> > > >> fdt_fixup_

Re: [PATCH 00/16] bootstd: Improve ChromiumOS support

2023-08-10 Thread Simon Glass
Hi Alper, On Fri, 4 Aug 2023 at 03:51, Alper Nebi Yasak wrote: > > (Note that I'm not objecting to merging the patchset as is, just > detailing future work you/I might want to do for non-CrOS userspace > support for this bootmeth.) > > On 2023-08-04 06:02 +03:00, Simon Glass wrote: > > On Thu, 3

[PATCH v2 15/16] bootstd: Add a command to read all files for a bootflow

2023-08-10 Thread Simon Glass
Some bootflows (such as EFI and ChromiumOS) delay reading the kernel until it is needed to boot. This saves time when scanning and avoids needing to allocate memory for something that may never be used. To permit reading of these files, add a new 'bootflow read' command. Signed-off-by: Simon Glas

Re: [PATCH] pinctrl: Check pinconfig nodes pre-reloc status recursively

2023-08-10 Thread Simon Glass
Hi Jonas, On Sat, 5 Aug 2023 at 08:29, Jonas Karlman wrote: > > Hi Massimo, > > On 2023-08-05 16:06, Massimo Pegorer wrote: > > Hi Jonas, > > > > Il giorno sab 5 ago 2023 alle ore 13:11 Jonas Karlman ha > > scritto: > > > >> Pinconfig nodes normally bind recursively with PINCTRL_FULL and > >> PI

Re: [PATCH v2 2/9] cmd: boot: implement PMIC based poweroff

2023-08-10 Thread Simon Glass
Hi Svyatoslav, On Tue, 8 Aug 2023 at 22:46, Svyatoslav Ryhel wrote: > > > > 9 серпня 2023 р. 05:03:41 GMT+03:00, Simon Glass > написав(-ла): > >Hi Svyatoslav, > > > >On Mon, 31 Jul 2023 at 12:07, Svyatoslav Ryhel wrote: > >> > >> > >> > >> 31 липня 2023 р. 20:08:06 GMT+03:00, Simon Glass > >

Re: Strange construct in binman description

2023-08-10 Thread Simon Glass
Hi Tim, On Tue, 8 Aug 2023 at 18:19, Tim Harvey wrote: > > On Tue, Aug 8, 2023 at 10:54 AM Simon Glass wrote: > > > > Hi Tim, > > > > On Mon, 7 Aug 2023 at 14:03, Tim Harvey wrote: > > > > > > On Sun, Jul 30, 2023 at 7:50 PM Simon Glass wrote: > > > > > > > > Hi Tim, > > > > > > > > On Sun, 30

Re: [RFC] spl_fit.c: SPL Falcon Mode return to U-Boot

2023-08-10 Thread Tom Rini
On Tue, Aug 08, 2023 at 03:40:44PM +, Elena Popa wrote: > When Falcon Mode is enabled, spl_start_uboot() function must be defined. If > this function returns 0 then SPL should start the kernel, if it returns 1 > then U-Boot must be started. > > When spl_start_uboot() returns 1, then U-Boot

Re: [PATCH] arm: Use builtins for ffs/fls

2023-08-10 Thread Tom Rini
On Mon, Jul 31, 2023 at 05:27:33PM -0400, Sean Anderson wrote: > Since ARMv5, the clz instruction allows for efficient implementation of > ffs/fls with builtins. Until ARMv7 (with Thumb-2), this instruction is > only available in ARM mode. LTO makes it difficult to force specific > functions to be

Re: [PATCH v2 3/4] malloc: Don't statically initialize av_ if using malloc_init

2023-08-10 Thread Tom Rini
On Tue, Aug 08, 2023 at 06:53:19PM -0400, Sean Anderson wrote: > When we enable malloc_init, there is no need to statically initialize > av_, since we are going to do it manually. This lets us move av_ to > .bss, saving around 1-2k of data (depending on the pointer size). > > cALLOc must be adjus

Re: [PATCH v8 7/9] sandbox: capsule: Generate capsule related files through binman

2023-08-10 Thread Simon Glass
Hi Sughosh, On Thu, 10 Aug 2023 at 12:42, Sughosh Ganu wrote: > > hi Simon, > > On Thu, 10 Aug 2023 at 22:57, Simon Glass wrote: > > > > Hi Sughosh, > > > > On Thu, 10 Aug 2023 at 08:24, Sughosh Ganu wrote: > > > > > > The EFI capsule files can now be generated as part of u-boot > > > build thr

Re: [PATCH] CI: Switch to tools-only from sandbox_spl for tooling tests

2023-08-10 Thread Simon Glass
On Thu, 10 Aug 2023 at 10:52, Tom Rini wrote: > > When running tools for various tests use the tools-only build rather > than sandbox_spl. We used sandbox_spl here for historical reasons that > are no longer true. > > Signed-off-by: Tom Rini > --- > Cc: Simon Glass > --- > .azure-pipelines.yml

Re: [PATCH v3 3/3] X86: pxeboot: bugfix: Set variable for size of initrd

2023-08-10 Thread Simon Glass
Hi Bin, On Thu, 4 May 2023 at 18:40, Simon Glass wrote: > > On Thu, 4 May 2023 at 07:43, wrote: > > > > From: Thomas Mittelstaedt > > > > The problem was, that zboot() didn't work because of missing > > ramdisc size. > > > > Signed-off-by: Thomas Mittelstaedt > > --- > > boot/pxe_utils.c | 2

Re: [PATCHv5 05/13] net/lwip: implement tftp cmd

2023-08-10 Thread Simon Goldschmidt
On 10.08.2023 13:28, Maxim Uvarov wrote: On Thu, 3 Aug 2023 at 12:42, Ilias Apalodimas wrote: On Wed, Aug 02, 2023 at 08:06:50PM +0600, Maxim Uvarov wrote: Signed-off-by: Maxim Uvarov --- lib/lwip/Makefile | 1 + lib/lwip/apps/tftp/Makefile| 16 + lib/lwip/apps

Re: [PATCH v8 7/9] sandbox: capsule: Generate capsule related files through binman

2023-08-10 Thread Sughosh Ganu
hi Simon, On Thu, 10 Aug 2023 at 22:57, Simon Glass wrote: > > Hi Sughosh, > > On Thu, 10 Aug 2023 at 08:24, Sughosh Ganu wrote: > > > > The EFI capsule files can now be generated as part of u-boot > > build through binman. Add capsule entry nodes for the sandbox > > architecture for generating

Re: [PATCH v8 6/9] binman: capsule: Add support for generating EFI capsules

2023-08-10 Thread Simon Glass
On Thu, 10 Aug 2023 at 08:24, Sughosh Ganu wrote: > > Add support in binman for generating EFI capsules. The capsule > parameters can be specified through the capsule binman entry. Also add > test cases in binman for testing capsule generation. > > Signed-off-by: Sughosh Ganu > --- > Changes sinc

Re: [PATCH v8 7/9] sandbox: capsule: Generate capsule related files through binman

2023-08-10 Thread Simon Glass
Hi Sughosh, On Thu, 10 Aug 2023 at 08:24, Sughosh Ganu wrote: > > The EFI capsule files can now be generated as part of u-boot > build through binman. Add capsule entry nodes for the sandbox > architecture for generating the capsules. These capsules are then used > for testing the EFI capsule upd

Re: [PATCH v8 5/9] btool: mkeficapsule: Add a bintool for EFI capsule generation

2023-08-10 Thread Simon Glass
Hi Sughosh, On Thu, 10 Aug 2023 at 08:24, Sughosh Ganu wrote: > > Add a bintool for generating EFI capsules. This calls the mkeficapsule > tool which generates the capsules. > > Signed-off-by: Sughosh Ganu > --- > Changes since V7: None > > tools/binman/btool/mkeficapsule.py | 101 +

Re: [PATCH v8 4/9] sandbox: Build the mkeficapsule tool for the sandbox variants

2023-08-10 Thread Simon Glass
Hi, On Thu, 10 Aug 2023 at 09:52, Tom Rini wrote: > > On Thu, Aug 10, 2023 at 07:53:33PM +0530, Sughosh Ganu wrote: > > > Build the mkeficapsule tool for all the sandbox variants. This tool > > will be used subsequently for testing capsule generation in binman. > > > > Signed-off-by: Sughosh Ganu

Re: [PATCH v8 4/9] sandbox: Build the mkeficapsule tool for the sandbox variants

2023-08-10 Thread Tom Rini
On Thu, Aug 10, 2023 at 10:39:06PM +0530, Sughosh Ganu wrote: > On Thu, 10 Aug 2023 at 21:22, Tom Rini wrote: > > > > On Thu, Aug 10, 2023 at 07:53:33PM +0530, Sughosh Ganu wrote: > > > > > Build the mkeficapsule tool for all the sandbox variants. This tool > > > will be used subsequently for test

Re: [PATCH v8 4/9] sandbox: Build the mkeficapsule tool for the sandbox variants

2023-08-10 Thread Sughosh Ganu
On Thu, 10 Aug 2023 at 21:22, Tom Rini wrote: > > On Thu, Aug 10, 2023 at 07:53:33PM +0530, Sughosh Ganu wrote: > > > Build the mkeficapsule tool for all the sandbox variants. This tool > > will be used subsequently for testing capsule generation in binman. > > > > Signed-off-by: Sughosh Ganu > >

[PATCH] CI: Switch to tools-only from sandbox_spl for tooling tests

2023-08-10 Thread Tom Rini
When running tools for various tests use the tools-only build rather than sandbox_spl. We used sandbox_spl here for historical reasons that are no longer true. Signed-off-by: Tom Rini --- Cc: Simon Glass --- .azure-pipelines.yml | 8 .gitlab-ci.yml | 8 2 files changed,

Re: [PATCH 01/28] moveconfig: Drop -C option

2023-08-10 Thread Tom Rini
On Thu, Aug 10, 2023 at 10:31:33AM -0600, Simon Glass wrote: > Drop this option, which is no longer needed now that we have converted > all CONFIG options to Kconfig. > > Signed-off-by: Simon Glass NAK, I use this every -rc release as the configs do change around as part of resyncing them, and

[PATCH 28/28] qconfig: Update the documentation

2023-08-10 Thread Simon Glass
Update qconfig's documentation to better reflect its new purpose in life. Signed-off-by: Simon Glass --- doc/develop/index.rst | 2 +- doc/develop/{moveconfig.rst => qconfig.rst} | 148 +--- 2 files changed, 38 insertions(+), 112 deletions(-) rename doc/

[PATCH 27/28] qconfig: Rename the database file

2023-08-10 Thread Simon Glass
Use qconfig.db as the new name, to reflect the tool's purpose. Signed-off-by: Simon Glass --- .gitignore | 4 ++-- tools/qconfig.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 002f95de4fe..7f64446db3c 100644 --- a/.gitignore +++ b

[PATCH 26/28] moveconfig: Rename the tool to qconfig

2023-08-10 Thread Simon Glass
This does not move configs anymore, but queries them, based on a database it can build. Rename the tool to better reflect its purpose. Signed-off-by: Simon Glass --- tools/{moveconfig.py => qconfig.py} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename tools/{moveconfig.py => qco

[PATCH 25/28] moveconfig: Move summaries to the end

2023-08-10 Thread Simon Glass
Write the summary for -s and -b at the end, using a unified format. Signed-off-by: Simon Glass --- tools/moveconfig.py | 36 +++- 1 file changed, 23 insertions(+), 13 deletions(-) diff --git a/tools/moveconfig.py b/tools/moveconfig.py index 4ff5cf9d5b7..c86f65a7

[PATCH 24/28] moveconfig: Drop the initial output

2023-08-10 Thread Simon Glass
Since moveconfig now just does what it is told (build database or sync defconfigs) we don't need to print what it is doing. Drop this info, which is of very little use. Signed-off-by: Simon Glass --- tools/moveconfig.py | 6 -- 1 file changed, 6 deletions(-) diff --git a/tools/moveconfig.p

[PATCH 23/28] moveconfig: Show a summary at the end

2023-08-10 Thread Simon Glass
Rather than printing all the failed boards, which are now easily visible on the terminal, just show a summary. Sort it by defconfig and drop the '_defconfig' suffix. Signed-off-by: Simon Glass --- tools/moveconfig.py | 28 +++- 1 file changed, 15 insertions(+), 13 deleti

[PATCH 22/28] moveconfig: Show failures in progress

2023-08-10 Thread Simon Glass
Show the number of accumulated failures when processing. Use a shorter format with colour. An unwanted space appears before the defconfig name on every item except the last. Fix that while we are here. Signed-off-by: Simon Glass --- tools/moveconfig.py | 26 +++--- 1 file c

[PATCH 21/28] moveconfig: Use u_boot_pylib for terminal colour

2023-08-10 Thread Simon Glass
Use the existing terminal code to handle ANSI colours. Enable colour by default if the output is going to a terminal. Signed-off-by: Simon Glass --- tools/moveconfig.py | 92 +++-- 1 file changed, 38 insertions(+), 54 deletions(-) diff --git a/tools/move

[PATCH 19/28] moveconfig: Reduce the amount of output

2023-08-10 Thread Simon Glass
Output a single line in the case where the defconfig only has one line of output. Show the name without the _defconfig suffix, since that is the same for all boards. Use a list for the log so it is easier to process at the end. Signed-off-by: Simon Glass --- tools/moveconfig.py | 29 ++

[PATCH 20/28] moveconfig: Avoid showing progress at the end

2023-08-10 Thread Simon Glass
When the process is finished, moveconfig leaves a line saying that all boards were processed (for better or worse). Drop this, since it is unncessary. Future work will provide a summary at the end instead. Signed-off-by: Simon Glass --- tools/moveconfig.py | 3 ++- 1 file changed, 2 insertions

[PATCH 18/28] moveconfig: Only show output when there is a reason

2023-08-10 Thread Simon Glass
There is no point in listing a board if everything went well. It makes it harder to see the failures, particularly on a fast machine. Suppress output unless something actually happened. Drop the 'Syncing by savedefconfig' since this is selected by the -s and is the same for all boards in this mod

[PATCH 17/28] moveconfig: Fix misc pylint warnings

2023-08-10 Thread Simon Glass
Fix various remaining pylint warnings. Signed-off-by: Simon Glass --- tools/moveconfig.py | 23 --- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/tools/moveconfig.py b/tools/moveconfig.py index 5896deb8c71..816eb151bdf 100755 --- a/tools/moveconfig.py +++ b

[PATCH 16/28] moveconfig: Use an encoding with open()

2023-08-10 Thread Simon Glass
Fix pylint warnings about needing an explicit character encoding. Signed-off-by: Simon Glass --- tools/moveconfig.py | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tools/moveconfig.py b/tools/moveconfig.py index 309ff89f7af..5896deb8c71 100755 --- a/tools/moveconfig.p

[PATCH 15/28] moveconfig: Correct list-comprehension warnings

2023-08-10 Thread Simon Glass
Correct some pylint warnings about needing to use list comprehension. Signed-off-by: Simon Glass --- tools/moveconfig.py | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/moveconfig.py b/tools/moveconfig.py index fbfa71b186a..309ff89f7af 100755 --- a/tools/moveco

[PATCH 14/28] moveconfig: Correct use of members not declared in __init__()

2023-08-10 Thread Simon Glass
Fix these pylint warnings. Signed-off-by: Simon Glass --- tools/moveconfig.py | 4 1 file changed, 4 insertions(+) diff --git a/tools/moveconfig.py b/tools/moveconfig.py index 4a47d1578eb..fbfa71b186a 100755 --- a/tools/moveconfig.py +++ b/tools/moveconfig.py @@ -410,6 +410,10 @@ class Sl

[PATCH 13/28] moveconfig: Correct non-snake variables names

2023-08-10 Thread Simon Glass
Correct some variable names that do not conform to snake case, with the three-character minimum. Signed-off-by: Simon Glass --- tools/moveconfig.py | 70 ++--- 1 file changed, 35 insertions(+), 35 deletions(-) diff --git a/tools/moveconfig.py b/tools/mov

[PATCH 12/28] moveconfig: Correct unused variables

2023-08-10 Thread Simon Glass
Fix pylint warnings about unused variables. Signed-off-by: Simon Glass --- tools/moveconfig.py | 26 -- 1 file changed, 12 insertions(+), 14 deletions(-) diff --git a/tools/moveconfig.py b/tools/moveconfig.py index cc35c4bce9d..02c1d13f865 100755 --- a/tools/moveconfig.

[PATCH 11/28] moveconfig: Use f strings where possible

2023-08-10 Thread Simon Glass
Avoid pylint warnings by using 'f' strings where possible. Signed-off-by: Simon Glass --- tools/moveconfig.py | 56 ++--- 1 file changed, 28 insertions(+), 28 deletions(-) diff --git a/tools/moveconfig.py b/tools/moveconfig.py index 54ce8ef7d51..cc35c4bc

[PATCH 10/28] moveconfig: Correct parameter-type warnings

2023-08-10 Thread Simon Glass
Fix pylint warnings related to parameter types. Signed-off-by: Simon Glass --- tools/moveconfig.py | 43 ++- 1 file changed, 22 insertions(+), 21 deletions(-) diff --git a/tools/moveconfig.py b/tools/moveconfig.py index a282ae90d05..54ce8ef7d51 100755 --

[PATCH 09/28] moveconfig: Correct some regular-expression strings

2023-08-10 Thread Simon Glass
Use the 'r' prefix for these strings to avoid pylint warnings. Signed-off-by: Simon Glass --- tools/moveconfig.py | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/moveconfig.py b/tools/moveconfig.py index 45b86cb1db5..a282ae90d05 100755 --- a/tools/moveconfig.py

[PATCH 08/28] moveconfig: Drop suspicious boards

2023-08-10 Thread Simon Glass
This code isn't needed anymore. Drop it. Signed-off-by: Simon Glass --- tools/moveconfig.py | 25 - 1 file changed, 25 deletions(-) diff --git a/tools/moveconfig.py b/tools/moveconfig.py index 4f9bea0827f..45b86cb1db5 100755 --- a/tools/moveconfig.py +++ b/tools/movecon

[PATCH 07/28] moveconfig: Drop check_defconfig() and update_dotconfig()

2023-08-10 Thread Simon Glass
These functions are not needed anymore. Drop them. Signed-off-by: Simon Glass --- tools/moveconfig.py | 62 ++--- 1 file changed, 2 insertions(+), 60 deletions(-) diff --git a/tools/moveconfig.py b/tools/moveconfig.py index b32a9002b18..4f9bea0827f 10075

[PATCH 06/28] moveconfig: Drop CONFIG-moving code

2023-08-10 Thread Simon Glass
As a step towards cleaning out old code, drop most of the code that moves CONFIG options to Kconfig. This includes parse_one_config(). Drop the ACTION_... values as well, since they are no-longer used. Signed-off-by: Simon Glass --- tools/moveconfig.py | 163 ++-

[PATCH 05/28] moveconfig: Drop unused cleanup options

2023-08-10 Thread Simon Glass
Cleaning up the README and config.h files are not needed now, since we don't have any CONFIG options to convert. Drop this code. Signed-off-by: Simon Glass --- tools/moveconfig.py | 254 +--- 1 file changed, 2 insertions(+), 252 deletions(-) diff --git a

[PATCH 04/28] moveconfig: Correct ordering of asteval import

2023-08-10 Thread Simon Glass
This should be after the standard imports. Move it to avoid a lot of pylint warnings. Signed-off-by: Simon Glass --- tools/moveconfig.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/moveconfig.py b/tools/moveconfig.py index 446b68bcd10..70dc6a4d144 100755 --- a/tool

[PATCH 03/28] moveconfig: Avoid deprecation warning for setDaemon

2023-08-10 Thread Simon Glass
Use the recommended new way of setting a thread to be a daemon. This avoids a warning: DeprecationWarning: setDaemon() is deprecated, set the daemon attribute instead Signed-off-by: Simon Glass --- tools/moveconfig.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 02/28] moveconfig: Drop -H option

2023-08-10 Thread Simon Glass
Drop this option, which is no longer needed now that we have converted all CONFIG options to Kconfig. Signed-off-by: Simon Glass --- tools/moveconfig.py | 18 +++--- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/tools/moveconfig.py b/tools/moveconfig.py index 83c539

[PATCH 01/28] moveconfig: Drop -C option

2023-08-10 Thread Simon Glass
Drop this option, which is no longer needed now that we have converted all CONFIG options to Kconfig. Signed-off-by: Simon Glass --- tools/moveconfig.py | 14 -- 1 file changed, 14 deletions(-) diff --git a/tools/moveconfig.py b/tools/moveconfig.py index 6cbecc3d5c8..83c53911284 10

[PATCH 00/28] moveconfig: Drop old code and tidy up

2023-08-10 Thread Simon Glass
This tool is designed to move CONFIG options to Kconfig. Since this task is complete, some of its functionality is no-longer needed. This series drops the old code and tidies up some pylint errors. It also improves the output by only displaying failures and providing a summary at the end. Finall

Re: Please pull u-boot-watchdog/master

2023-08-10 Thread Tom Rini
On Thu, Aug 10, 2023 at 05:26:31PM +0200, Stefan Roese wrote: > Hi Tom, > > please pull the following watchdog related changes: > Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PULL] u-boot-riscv/master

2023-08-10 Thread Tom Rini
On Thu, Aug 10, 2023 at 06:32:30PM +0800, Leo Liang wrote: > Hi Tom, > > The following changes since commit ec58228830a1f68e8e65099387cf12c5a91c9e72: > > Merge tag 'x86-pull-20230809' of > https://source.denx.de/u-boot/custodians/u-boot-x86 (2023-08-09 13:17:34 > -0400) > > are available in

[PATCH] sandbox: watchdog: Avoid an error on startup

2023-08-10 Thread Simon Glass
For some time now running sandbox with -T produces an error: Core: 270 devices, 95 uclasses, devicetree: board WDT: Not starting wdt-gpio-toggle wdt_gpio wdt-gpio-level: Request for wdt gpio failed: -16 WDT: Not starting wdt@0 MMC: mmc2: 2 (SD), mmc1: 1 (SD), mmc0: 0 (SD) Us

Re: [PATCH v8 4/9] sandbox: Build the mkeficapsule tool for the sandbox variants

2023-08-10 Thread Tom Rini
On Thu, Aug 10, 2023 at 07:53:33PM +0530, Sughosh Ganu wrote: > Build the mkeficapsule tool for all the sandbox variants. This tool > will be used subsequently for testing capsule generation in binman. > > Signed-off-by: Sughosh Ganu > --- > Changes since V7: None > > tools/Kconfig | 6 +++---

Re: [PATCH v8 8/9] doc: Add documentation to highlight capsule generation related updates

2023-08-10 Thread Heinrich Schuchardt
On 10.08.23 16:23, Sughosh Ganu wrote: The EFI capsules can now be generated as part of u-boot build, through binman. Highlight these changes in the documentation. Signed-off-by: Sughosh Ganu Acked-by: Heinrich Schuchardt --- Changess since V7: * Change the name of the file which contains

Please pull u-boot-watchdog/master

2023-08-10 Thread Stefan Roese
Hi Tom, please pull the following watchdog related changes: - cmd: cyclic: Remove duplicate command name in help text (Alexander) - ftwdt010: need to reset watchdog in ftwdt010_wdt_start() (Sergei) -

Re: [PATCH] watchdog: ftwdt010: need to reset watchdog in ftwdt010_wdt_start()

2023-08-10 Thread Stefan Roese
On 7/30/23 19:14, Sergei Antonov wrote: ftwdt010_wdt_start() has to call ftwdt010_wdt_reset() after setting-up the timeout in the same fashion ftwdt010_wdt_expire_now() does it. Without this patch the "wdt start " command does not actually start the watchdog timer until the "wdt reset" command i

Re: [PATCH] cmd: cyclic: Remove duplicate command name in help text

2023-08-10 Thread Stefan Roese
On 8/4/23 17:53, Alexander Dahl wrote: Function 'cmd_usage()' already prints one command in usage before printing out the help text given to the U_BOOT_CMD_WITH_SUBCMDS macro. Wrong previous output: Usage: cyclic cyclic demo - register cyclic demo function cyclic list - list c

[PATCH v8 9/9] sandbox: trace: Increase trace buffer size

2023-08-10 Thread Sughosh Ganu
When running the trace test on the sandbox platform, the current size of 16MiB is no longer large enough for capturing the entire trace history, and results in truncation. Use a size of 32MiB for the trace buffer on the sandbox platform while running the trace test. Signed-off-by: Sughosh Ganu Re

[PATCH v8 8/9] doc: Add documentation to highlight capsule generation related updates

2023-08-10 Thread Sughosh Ganu
The EFI capsules can now be generated as part of u-boot build, through binman. Highlight these changes in the documentation. Signed-off-by: Sughosh Ganu --- Changess since V7: * Change the name of the file which contains the capsule entry binman nodes. doc/develop/uefi/uefi.rst | 16 +

[PATCH v8 7/9] sandbox: capsule: Generate capsule related files through binman

2023-08-10 Thread Sughosh Ganu
The EFI capsule files can now be generated as part of u-boot build through binman. Add capsule entry nodes for the sandbox architecture for generating the capsules. These capsules are then used for testing the EFI capsule update functionality on the sandbox platforms. Remove the corresponding logi

[PATCH v8 5/9] btool: mkeficapsule: Add a bintool for EFI capsule generation

2023-08-10 Thread Sughosh Ganu
Add a bintool for generating EFI capsules. This calls the mkeficapsule tool which generates the capsules. Signed-off-by: Sughosh Ganu --- Changes since V7: None tools/binman/btool/mkeficapsule.py | 101 + 1 file changed, 101 insertions(+) create mode 100644 tools/bi

[PATCH v8 6/9] binman: capsule: Add support for generating EFI capsules

2023-08-10 Thread Sughosh Ganu
Add support in binman for generating EFI capsules. The capsule parameters can be specified through the capsule binman entry. Also add test cases in binman for testing capsule generation. Signed-off-by: Sughosh Ganu --- Changes since V7: * Rebase on top of current upstream. * Drop the ReadEntries

[PATCH v8 4/9] sandbox: Build the mkeficapsule tool for the sandbox variants

2023-08-10 Thread Sughosh Ganu
Build the mkeficapsule tool for all the sandbox variants. This tool will be used subsequently for testing capsule generation in binman. Signed-off-by: Sughosh Ganu --- Changes since V7: None tools/Kconfig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/Kconfig b/

[PATCH v8 3/9] sandbox: capsule: Add keys and certificates needed for capsule update testing

2023-08-10 Thread Sughosh Ganu
Add the private keys and public key certificates which are to be used for capsule authentication while testing the EFI capsule update functionality. There are two pairs of private and public keys, good and bad. The good key pair will be used for signing capsules, whilst the bad key pair is to be us

[PATCH v8 0/9] Enable EFI capsule generation through binman

2023-08-10 Thread Sughosh Ganu
This patch series adds support for generation of EFI capsules as part of u-boot build flow. The capsules can be generated as part of u-boot build, and this is being achieved through binman, by adding a capsule entry type. The parameters needed for capsule generation are specified as properties un

[PATCH v8 1/9] binman: bintool: Build a tool from a list of commands

2023-08-10 Thread Sughosh Ganu
Add support to build a tool from source with a list of commands. This is useful when a tool can be built with multiple commands instead of a single command. Signed-off-by: Sughosh Ganu Reviewed-by: Simon Glass --- Changes since V7: None tools/binman/bintool.py | 19 +++ 1 file

[PATCH v8 2/9] nuvoton: npcm845-evb: Add a newline at the end of file

2023-08-10 Thread Sughosh Ganu
Add a newline at the end of the dts, without which the build fails when including a dtsi file. Signed-off-by: Sughosh Ganu Reviewed-by: Simon Glass Reviewed-by: Ilias Apalodimas --- Changes since V7: * Rephrase the commit message arch/arm/dts/nuvoton-npcm845-evb.dts | 2 +- 1 file changed, 1

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

2023-08-10 Thread Eddie James
On 8/10/23 02:44, Ilias Apalodimas wrote: On Wed, Aug 09, 2023 at 09:01:40AM -0500, Eddie James wrote: On 8/9/23 05:43, Ilias Apalodimas wrote: On Wed, 9 Aug 2023 at 13:42, Heinrich Schuchardt wrote: On 8/9/23 10:34, Ilias Apalodimas wrote: Hi Eddie On Mon, Aug 07, 2023 at 02:25:37PM -05

Re: NVMe support on RPi CM4 board

2023-08-10 Thread Luis Alfredo da Silva
Hi Simon, I enabled the next four variables CONFIG_NVME_PCI=y CONFIG_NVME=y CONFIG_CMD_NVME=y CONFIG_PCI=y how different is CONFIG_NVME_PCI from NVME_PCI, I took the latter value from several configs files in u-boot repo and from [1] [1] https://github.com/u-boot/u-boot/blob/ef8336e2705fce25023

Re: [PATCH] net: Fix the displayed value of bytes transferred

2023-08-10 Thread Ravi Gunasekaran
Siddharth, On 8/10/23 2:45 PM, Siddharth Vadapalli wrote: > In the case of NETLOOP_SUCCESS, the decimal value of the u32 variable > "net_boot_file_size" is printed using "%d", resulting in negative values > being reported for large file sizes. Fix this by using "%lu" to print > the decimal value c

Re: [PATCHv5 05/13] net/lwip: implement tftp cmd

2023-08-10 Thread Maxim Uvarov
On Thu, 3 Aug 2023 at 12:42, Ilias Apalodimas wrote: > On Wed, Aug 02, 2023 at 08:06:50PM +0600, Maxim Uvarov wrote: > > Signed-off-by: Maxim Uvarov > > --- > > lib/lwip/Makefile | 1 + > > lib/lwip/apps/tftp/Makefile| 16 + > > lib/lwip/apps/tftp/lwip-tftp.c | 124 +

[PULL] u-boot-riscv/master

2023-08-10 Thread Leo Liang
Hi Tom, The following changes since commit ec58228830a1f68e8e65099387cf12c5a91c9e72: Merge tag 'x86-pull-20230809' of https://source.denx.de/u-boot/custodians/u-boot-x86 (2023-08-09 13:17:34 -0400) are available in the Git repository at: https://source.denx.de/u-boot/custodians/u-boot-risc

[PATCH] net: Fix the displayed value of bytes transferred

2023-08-10 Thread Siddharth Vadapalli
In the case of NETLOOP_SUCCESS, the decimal value of the u32 variable "net_boot_file_size" is printed using "%d", resulting in negative values being reported for large file sizes. Fix this by using "%lu" to print the decimal value corresponding to the bytes transferred. Fixes: 1411157d8578 ("net:

Re: [PATCH v2 0/2] tpm: Add TPM2_GetTestResult command support

2023-08-10 Thread Ilias Apalodimas
Hi Julia, On Wed, Aug 02, 2023 at 10:35:19AM +0200, Julia Daxenberger wrote: > Add TPM2_GetTestResult command support and change the command file and the > help accordingly. Add Python tests and sandbox driver functionality. > > Currently, the tpm2_self_test function is implemented and can be ca

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

2023-08-10 Thread Ilias Apalodimas
On Wed, Aug 09, 2023 at 09:01:40AM -0500, Eddie James wrote: > > On 8/9/23 05:43, Ilias Apalodimas wrote: > > On Wed, 9 Aug 2023 at 13:42, Heinrich Schuchardt wrote: > > > On 8/9/23 10:34, Ilias Apalodimas wrote: > > > > Hi Eddie > > > > > > > > > > > > On Mon, Aug 07, 2023 at 02:25:37PM -0500,