[PATCH v2 07/13] video: Allow a copy framebuffer with pre-allocated fb

2023-02-22 Thread Simon Glass
normal framebuffer size is 0. Signed-off-by: Simon Glass --- (no changes since v1) drivers/video/video-uclass.c | 32 include/video.h | 2 ++ 2 files changed, 26 insertions(+), 8 deletions(-) diff --git a/drivers/video/video-uclass.c b/drivers/video

[PATCH v2 13/13] video: Add a note about the broken implementation

2023-02-22 Thread Simon Glass
/ 20230106145243.411626-12-...@chromium.org/ Signed-off-by: Simon Glass --- (no changes since v1) cmd/cls.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/cmd/cls.c b/cmd/cls.c index 073ba5a6c86..1125a3f81bb 100644 --- a/cmd/cls.c +++ b/cmd/cls.c @@ -17,7 +17,13

[PATCH v2 11/13] video: Clear the vidconsole rather than the video

2023-02-22 Thread Simon Glass
It is better to clear the console device rather than the video device, since the console has the text display. We also need to reset the cursor position with the console, but not with the video device. Add a new function to handle this and update the 'cls' command to use it. Signed-off

[PATCH v2 10/13] video: Remove duplicate cursor-positioning function

2023-02-22 Thread Simon Glass
There are two functions for positioning the cursor on the console. Remove one of them. Signed-off-by: Simon Glass --- (no changes since v1) drivers/video/vidconsole-uclass.c | 44 +++ 1 file changed, 10 insertions(+), 34 deletions(-) diff --git a/drivers/video

[PATCH v2 12/13] efi: Add dhrystone, dcache and scroll lines to app

2023-02-22 Thread Simon Glass
Add these options to provide some performance measurement, see cache status and slightly speed up the appallingly slow console. Signed-off-by: Simon Glass --- (no changes since v1) configs/efi-x86_app64_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/efi

[PATCH v2 08/13] bbinfo: Show the size of the copy framebuffer

2023-02-22 Thread Simon Glass
If the copy framebuffer is enabled, show its size. Signed-off-by: Simon Glass --- Changes in v2: - Add new patch to show the size of the copy framebuffer with bdinfo cmd/bdinfo.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/cmd/bdinfo.c b/cmd/bdinfo.c index

[PATCH v2 0/5] binman: Tidy up the location for bintools

2023-02-22 Thread Simon Glass
941.1.I81a5b410c8645752b44ba7afa2c4406f7c80f3d2@changeid/ Changes in v2: - Add comment about setting of tooldir - Change default tooldir to an empty string - Use exist_ok with os.makedirs() Simon Glass (5): binman: Correct an 'aot' typo binman: Update bintools documentation binman: Move the tools

[PATCH v2 3/5] binman: Move the tools directory into the Bintool class

2023-02-22 Thread Simon Glass
We want to be able to change this directory. Use a class member to hold the value, since changing a constant is not good. Signed-off-by: Simon Glass --- (no changes since v1) tools/binman/bintool.py | 7 --- tools/binman/bintool_test.py | 4 ++-- 2 files changed, 6 insertions(+), 5

[PATCH v2 2/5] binman: Update bintools documentation

2023-02-22 Thread Simon Glass
This was not regenerated with recent changes. Update it. Signed-off-by: Simon Glass --- (no changes since v1) tools/binman/bintools.rst | 70 +++ 1 file changed, 70 insertions(+) diff --git a/tools/binman/bintools.rst b/tools/binman/bintools.rst index

[PATCH v2 4/5] binman: Use a private directory for bintools

2023-02-22 Thread Simon Glass
At present binman writes tools into the ~/bin directory. This is convenient but some may be concerned about downloading unverified binaries and running them. Place then in a special ~/.binman-tools directory instead. Mention this in the documentation. Signed-off-by: Simon Glass Reviewed-by: Tom

[PATCH v2 5/5] binman: Make the tooldir configurable

2023-02-22 Thread Simon Glass
tests that expect the utility name to be provided without any path (e.g. 'futility'), so they can accept a path, e.g. /path/to/futility Update the documentation and add a few tests. Improve the help for --toolpath while we are here. Signed-off-by: Simon Glass --- Changes in v2: - A

[PATCH v2 1/5] binman: Correct an 'aot' typo

2023-02-22 Thread Simon Glass
Fix this typo. Signed-off-by: Simon Glass --- (no changes since v1) tools/binman/bintool.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/binman/bintool.py b/tools/binman/bintool.py index 8fda13ff012..e1dff9aa1b5 100644 --- a/tools/binman/bintool.py +++ b/tools

Re: [PATCH v3] bootstd: Replicate the dtb-filename quirks of distroboot

2023-02-22 Thread Simon Glass
Hi Tom, On Fri, 17 Feb 2023 at 08:51, Tom Rini wrote: > > On Sun, Feb 05, 2023 at 01:24:38PM -0700, Simon Glass wrote: > > > For EFI, the distro boot scripts search in three different directories > > for the .dtb file. The SOC-based filename fallback is supported on

Re: [PATCH v3 68/95] socfpga: Use the correct condition for SYS_L2_PL310

2023-02-22 Thread Simon Glass
Hi Tom, On Tue, 14 Feb 2023 at 09:38, Tom Rini wrote: > > On Sun, Feb 12, 2023 at 04:16:11PM -0700, Simon Glass wrote: > > > Update this to use the PPL condition instead, so that nothing changes when > > building for SPL with split config. > > > > Signed-off-by:

Re: [PATCH] linker_lists.h: Add attribute used to ll_entry_start macro

2023-02-22 Thread Simon Glass
1 insertion(+), 1 deletion(-) Reviewed-by: Simon Glass > > diff --git a/include/linker_lists.h b/include/linker_lists.h > index d3da9d44e8..4cd13c3bc8 100644 > --- a/include/linker_lists.h > +++ b/include/linker_lists.h > @@ -125,7 +125,7 @@ > #define ll_entry_s

[PATCH v4 2/2] bootstd: Replicate the dtb-filename quirks of distroboot

2023-02-22 Thread Simon Glass
show a message in that case. Signed-off-by: Simon Glass Suggested-by: Mark Kettenis --- Changes in v4: - Update commit message to avoid mentioning a warning - Rebase to -master instead of -next Changes in v3: - Change the message from a warning to a statement Changes in v2: - Allow use of the

[PATCH v4 1/2] bootflow: Rename bootflow_flags_t

2023-02-22 Thread Simon Glass
These flags actually relate to the iterator, not the bootflow struct itself. Rename them. Signed-off-by: Simon Glass --- (no changes since v1) boot/bootdev-uclass.c | 16 ++--- boot/bootflow.c | 20 cmd/bootflow.c | 8 +++ doc/develop

Re: [PATCH v3 65/95] omap: Correct an SPL build error with watchdog

2023-02-22 Thread Simon Glass
Hi Tom, On Tue, 14 Feb 2023 at 09:43, Tom Rini wrote: > > On Tue, Feb 14, 2023 at 11:34:47AM -0500, Tom Rini wrote: > > On Sun, Feb 12, 2023 at 04:16:08PM -0700, Simon Glass wrote: > > > The logic here is strange since the call to hw_watchdog_init() depends on >

Re: [RFC PATCH v3 9/9] tools: spkgimage: add Renesas SPKG format

2023-02-22 Thread Simon Glass
1 + > tools/Makefile | 1 + > tools/spkgimage.c| 330 +++ > tools/spkgimage.h| 45 > 7 files changed, 449 insertions(+) > create mode 100644 board/schneider/rzn1-snarc/spkgimage.cfg > create mode 1006

Re: [PATCH v5 36/44] imx: Use SATA instead of CMD_SATA

2023-02-22 Thread Simon Glass
Hi, On Wed, 22 Feb 2023 at 09:45, Baruch Siach wrote: > > Hi Simon, > > On Wed, Feb 22 2023, Simon Glass wrote: > > This causes a build failure on mx6cuboxi with split config, since CMD_SATA > > shows up as enabled in SPl (because there is no SPL_CMD_SATA). > > >

Re: [PATCH v2 1/1] sandbox: fix building with CONFIG_SPL_TIMER=y

2023-02-22 Thread Simon Glass
cetree instead" > > Add a missing condition in the sandbox driver. > > Signed-off-by: Heinrich Schuchardt > --- > v2: > don't create U_BOOT_DRVINFO for DT_PLAT_C > (as requested in review comment by Simon) > --- > drivers/timer/sandbox_timer.

Re: [PATCH 1/1] test: unit test for crc8

2023-02-22 Thread Simon Glass
+) > create mode 100644 test/lib/test_crc8.c Reviewed-by: Simon Glass

Re: [PATCH] linker_lists.h: Add attribute used to ll_entry_start macro

2023-02-22 Thread Simon Glass
; include/linker_lists.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Reviewed-by: Simon Glass

Re: [PATCH v1 17/24] ns16550: match when to define bdf with uart code

2023-02-22 Thread Simon Glass
Hi Troy, On Wed, 22 Feb 2023 at 11:43, Troy Kisky wrote: > > On Wed, Feb 22, 2023 at 10:18 AM Tom Rini wrote: >> >> On Tue, Feb 21, 2023 at 05:38:14PM -0800, Troy Kisky wrote: >> >> > When switching defined(CONFIG_PCI) to CONFIG_IS_ENABLED(PCI) >> > bdf is no longer accessible. So change to prep

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

2023-02-22 Thread Simon Glass
> boot/bootm.c| 70 + > cmd/booti.c | 1 + > cmd/bootm.c | 2 ++ > cmd/bootz.c | 1 + > include/bootm.h | 2 ++ > include/image.h | 1 + > 7 files changed, 100 insertions(+) Reviewed-by: Simon

Re: [PATCH v6 6/6] doc: Add measured boot documentation

2023-02-22 Thread Simon Glass
insertions(+) > create mode 100644 doc/usage/measured_boot.rst Reviewed-by: Simon Glass

[PATCH v2 09/13] efi: Adjust script to show pre-relocation output on terminal

2023-02-22 Thread Simon Glass
When running with video enabled, the pre-relocation output of U-Boot is currently lost. Add a -serial flag to show it on the terminal. Signed-off-by: Simon Glass --- (no changes since v1) scripts/build-efi.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/build-efi.sh b/scripts

[PATCH v5 00/44] More tidy-ups of Kconfig options

2023-02-22 Thread Simon Glass
ble QFW bootmeth in SPL - Move the option down to the non-SPL part of drivers/Makefile - Correct 'VPL' typo - Use a consistent format for the comment - Fix a transitory build error with sandbox_spl - Add a new patch to disallow commands in SPL Changes in v2: - Rebase to previous series Simo

Re: [PATCH v1 17/24] ns16550: match when to define bdf with uart code

2023-02-22 Thread Simon Glass
Hi Troy, On Wed, 22 Feb 2023 at 12:39, Troy Kisky wrote: > > > On Wed, Feb 22, 2023 at 10:42 AM Troy Kisky > wrote: >> >> On Wed, Feb 22, 2023 at 10:18 AM Tom Rini wrote: >>> >>> On Tue, Feb 21, 2023 at 05:38:14PM -0800, Troy Kisky wrote: >>> >>> > When switching defined(CONFIG_PCI) to CONFIG_

[PATCH] bootstd: Make BOOTSTD_FULL depend on BOOTSTD

2023-02-22 Thread Simon Glass
Move BOOTSTD_FULL down in the file so that it can be enabled only when BOOTSTD is enabled. This prevents a build error if BOOTSTD is disabled but BOOTSTD_FULL is enabled. Signed-off-by: Simon Glass --- boot/Kconfig | 26 +- 1 file changed, 13 insertions(+), 13 deletions

Re: bootstd breakages

2023-02-22 Thread Simon Glass
Hi Ilias, On Tue, 21 Feb 2023 at 23:35, Ilias Apalodimas wrote: > > Hi Simon, > > Using the attached config U-Boot fails to compile. > > aarch64-linux-gnu-ld.bfd: boot/bootmeth_efi_mgr.o: in function > `efi_mgr_check': > /home/apalos/work/u-boot-tpm/boot/bootmeth_efi_mgr.c:39: undefined > refere

Re: [PATCH v1 17/24] ns16550: match when to define bdf with uart code

2023-02-22 Thread Simon Glass
Hi Troy, On Wed, 22 Feb 2023 at 14:06, Troy Kisky wrote: > > On Wed, Feb 22, 2023 at 12:41 PM Troy Kisky > wrote: >> >> >> >>> >>> How does this look ? >>> >>> diff --git a/arch/x86/cpu/apollolake/uart.c b/arch/x86/cpu/apollolake/uart.c >>> index a9362436000..da184638cb9 100644 >>> --- a/arch/x

Re: [PATCH v1 01/24] cmd: nvedit: check for ENV_SUPPORT

2023-02-22 Thread Simon Glass
Signed-off-by: Troy Kisky > --- > > cmd/nvedit.c | 5 - > 1 file changed, 4 insertions(+), 1 deletion(-) Reviewed-by: Simon Glass

Re: [PATCH v1 04/24] lib: sha1: prepare for CONFIG_IS_ENABLED changes

2023-02-22 Thread Simon Glass
8 ++-- > 1 file changed, 6 insertions(+), 2 deletions(-) Reviewed-by: Simon Glass

Re: [PATCH v1 16/24] freescale: common: pfuze: define pfuze_mode_init only if defined(CONFIG_DM_PMIC)

2023-02-22 Thread Simon Glass
; Signed-off-by: Troy Kisky > --- > > board/freescale/common/pfuze.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Reviewed-by: Simon Glass

Re: [PATCH v1 14/24] fdt_support: always define fdt_fixup_mtdparts

2023-02-22 Thread Simon Glass
; --- > > include/fdt_support.h | 23 +-- > 1 file changed, 13 insertions(+), 10 deletions(-) > Reviewed-by: Simon Glass But is it possible to avoid moving this in the file? > diff --git a/include/fdt_support.h b/include/fdt_support.h > index eeb83e6251d

Re: [PATCH v1 05/24] lib: sha256: prepare for CONFIG_IS_ENABLED changes

2023-02-22 Thread Simon Glass
8 ++-- > 1 file changed, 6 insertions(+), 2 deletions(-) Reviewed-by: Simon Glass BTW it might be possible to use '-include linux/kconfig.h' in tools/Makefile like we do in Makefile

Re: [PATCH 5/5] binman: Make the tooldir configurable

2023-02-22 Thread Simon Glass
Hi Quentin, On Mon, 20 Feb 2023 at 04:28, Quentin Schulz wrote: > > Hi Simon, > > On 2/18/23 00:19, Simon Glass wrote: > > Add a command-line argument for setting the tooldir, so that the default > > can be overridden. Add this directory to the toolpath automatically. >

Re: [PATCH v1 09/24] x86: cpu: qemu: qemu: remove SPL use with CONFIG_IS_ENABLED

2023-02-22 Thread Simon Glass
On Tue, 21 Feb 2023 at 18:38, Troy Kisky wrote: > > CONFIG_IS_ENABLED(SPL_X86_32BIT_INIT) > would check for CONFIG_SPL_SPL_X86_32BIT_INIT for SPL builds > > Signed-off-by: Troy Kisky > --- > > arch/x86/cpu/qemu/qemu.c | 2 +- > 1 file changed, 1 insertion(+), 1 dele

Re: [RFC PATCH v3 9/9] tools: spkgimage: add Renesas SPKG format

2023-02-22 Thread Simon Glass
Hi Ralph, On Wed, 22 Feb 2023 at 14:17, Ralph Siemsen wrote: > > Hi Simon, > > Thanks for your review! > > On Wed, Feb 22, 2023 at 2:17 PM Simon Glass wrote: > > > > Can you please add some details to doc/ for this SoC and how it boots, > > the use of mk

Re: [PATCH v1 07/24] tools: prevent CONFIG_IS_ENABLED errors by including linux/kconfig.h

2023-02-22 Thread Simon Glass
ools/env/fw_env.c | 1 + > tools/fdt_host.h| 1 + > tools/mkimage.h | 1 + > 6 files changed, 6 insertions(+) Reviewed-by: Simon Glass But see previous comment on using -include

Re: [PATCH v1 10/24] config_distro_bootcmd: remove booting environment variables from SPL environment

2023-02-22 Thread Simon Glass
+++ > 1 file changed, 23 insertions(+) > Reviewed-by: Simon Glass

Re: [PATCH v1 13/24] puma-rk3399: remove check for ENV_IS_NOWHERE, it is an SPL config

2023-02-22 Thread Simon Glass
Hi Troy, On Tue, 21 Feb 2023 at 18:39, Troy Kisky wrote: > > When IS_ENABLED(CONFIG_ENV_IS_NOWHERE) is converted to > CONFIG_IS_ENABLED(ENV_IS_NOWHERE) this will give unwanted errors > on spl builds. > > Signed-off-by: Troy Kisky > --- > > board/theobroma-systems/puma_rk3399/puma-rk3399.c | 4 -

Re: [PATCH v1 23/24] arm: cpu: armv7: ls102xa: fdt: remove eth_device support

2023-02-22 Thread Simon Glass
On Tue, 21 Feb 2023 at 18:39, Troy Kisky wrote: > > commit e524f3a449f5 ("net: Remove eth_legacy.c") > > removed struct eth_device > This prevents errors in the conversion to CONFIG_IS_ENABLED(DM_ETH). > > Signed-off-by: Troy Kisky > --- > > arch/arm/cpu/armv7/ls102xa/fdt.c | 12 >

Re: [PATCH 9/9] Makefile: Show binman missing blob message

2023-02-22 Thread Simon Glass
Hi Tom, On Tue, 21 Feb 2023 at 16:09, Tom Rini wrote: > > On Tue, Feb 21, 2023 at 12:41:52PM -0700, Simon Glass wrote: > > Hi Jonas > > > > +Tom Rini > > > > On Sun, 19 Feb 2023 at 15:02, Jonas Karlman wrote: > > > > > > When binman is in

Re: [PATCH v1 11/24] ofnode: fdt_support definitions needed if OF_CONTROL is enabled

2023-02-22 Thread Simon Glass
file changed, 2 insertions(+), 1 deletion(-) > Reviewed-by: Simon Glass

Re: [PATCH v1 15/24] m53menlo: define ft_board_setup only if CONFIG_IS_ENABLED(OF_LIBFDT)

2023-02-22 Thread Simon Glass
by > obj-$(CONFIG_$(SPL_TPL_)OF_LIBFDT) += image-fdt.o > > Signed-off-by: Troy Kisky > --- > > board/menlo/m53menlo/m53menlo.c | 2 ++ > 1 file changed, 2 insertions(+) Reviewed-by: Simon Glass \

Re: [PATCH v1 02/24] lib: crc32: prepare for CONFIG_IS_ENABLED changes

2023-02-22 Thread Simon Glass
+ > 1 file changed, 8 insertions(+), 4 deletions(-) > Reviewed-by: Simon Glass

Re: [PATCH] tools: binman: minor formatting fix in docs

2023-02-22 Thread Simon Glass
> 1 file changed, 2 insertions(+), 2 deletions(-) Reviewed-by: Simon Glass

Re: [PATCH v1 08/24] tools: Makefile: prepare for CONFIG_IS_ENABLED changes by adding CONFIG_TOOLS_xxx

2023-02-22 Thread Simon Glass
Hi Troy, On Tue, 21 Feb 2023 at 18:38, Troy Kisky wrote: > > CONFIG_IS_ENABLED(FIT_SIGNATURE) will check for > CONFIG_TOOLS_FIT_SIGNATURE. So define it now in preparation. > > Signed-off-by: Troy Kisky > --- > > tools/Makefile | 2 ++ > 1 file changed, 2 insertions(+

Re: [PATCH v1 03/24] lib: md5: prepare for CONFIG_IS_ENABLED changes

2023-02-22 Thread Simon Glass
9 +++-- > 1 file changed, 7 insertions(+), 2 deletions(-) > Reviewed-by: Simon Glass

Re: [PATCH v1 24/24] CI: add test/usage_of_is_enabled_check.sh

2023-02-22 Thread Simon Glass
ode 100644 test/usage_of_is_enabled_splcfg.txt > create mode 100644 test/usage_of_is_enabled_todo.txt > Reviewed-by: Simon Glass

Re: [PATCH v3 58/76] Drop ubsha1 tool

2023-02-22 Thread Simon Glass
Hi Peter, On Wed, 22 Feb 2023 at 01:08, Peter Robinson wrote: > > On Tue, Feb 21, 2023 at 7:42 PM Simon Glass wrote: > > > > Hi Peter, > > > > On Mon, 20 Feb 2023 at 03:16, Peter Robinson wrote: > > > > > > On Wed, Feb 1, 2023 at 8:46 PM Simon

Re: [PATCH v1 06/24] lib: sha512: prepare for CONFIG_IS_ENABLED changes

2023-02-22 Thread Simon Glass
+++ > 1 file changed, 8 insertions(+), 4 deletions(-) > Reviewed-by: Simon Glass

Re: [PATCH v1 20/24] x86: cpu: i386: cpu: only set pci_ram_top if CONFIG_IS_ENABLED(PCI)

2023-02-22 Thread Simon Glass
Hi Troy, On Tue, 21 Feb 2023 at 18:39, Troy Kisky wrote: > > This avoids an error when ifdef CONFIG_PCI is changed to > if CONFIG_IS_ENABLED(PCI) > > Signed-off-by: Troy Kisky > --- > > arch/x86/cpu/i386/cpu.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/arch/x86/cpu/i386/cpu.c b/

Re: [PATCH v1 22/24] power: pmic: add dm style definitions if not CONFIG_IS_ENABLED(POWER_LEGACY)

2023-02-22 Thread Simon Glass
wer/pmic.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Reviewed-by: Simon Glass How about adding a migration deadline for non-DM PMIC?

Re: [PATCH v2] binman: bintool: Add support for tool directories

2023-02-22 Thread Simon Glass
Hi Neha, On Tue, 21 Feb 2023 at 21:30, Neha Malcom Francis wrote: > > Hi Simon > > On 22/02/23 01:05, Simon Glass wrote: > > Hi Neha, > > > > On Fri, 17 Feb 2023 at 04:46, Neha Malcom Francis wrote: > >> > >> Currently, bintool supports external

Re: [PATCH 9/9] Makefile: Show binman missing blob message

2023-02-22 Thread Simon Glass
Hi Tom, On Wed, 22 Feb 2023 at 14:45, Tom Rini wrote: > > On Wed, Feb 22, 2023 at 02:20:08PM -0700, Simon Glass wrote: > > Hi Tom, > > > > On Tue, 21 Feb 2023 at 16:09, Tom Rini wrote: > > > > > > On Tue, Feb 21, 2023 at 12:41:52PM -0700, Simon Glass wr

Re: [PATCH v1 17/24] ns16550: match when to define bdf with uart code

2023-02-22 Thread Simon Glass
Hi Troy, On Wed, 22 Feb 2023 at 14:33, Troy Kisky wrote: > > Hi Simon > > So how is this ? > diff --git a/arch/x86/cpu/apollolake/uart.c b/arch/x86/cpu/apollolake/uart.c > index a9362436000..878aa48ed76 100644 > --- a/arch/x86/cpu/apollolake/uart.c > +++ b/arch/x86/cpu/apollolake/uart.c > @@ -79,

Re: [PATCH v2 06/13] efi: Support copy framebuffer

2023-02-23 Thread Simon Glass
Hi Heinrich, On Thu, 23 Feb 2023 at 04:58, Heinrich Schuchardt wrote: > > On 2/22/23 20:12, Simon Glass wrote: > > Add support for this to EFI in case it becomes useful. At present it just > > slows things down. You can enable CONFIG_VIDEO_COPY to turn it on. > > > &

Re: [PATCH v2 1/2] env: mmc: Clean up macro usage

2023-02-23 Thread Simon Glass
Hi, On Thu, 23 Feb 2023 at 06:23, Marek Vasut wrote: > > On 2/23/23 11:41, Patrick DELAUNAY wrote: > > Hi Marek, > > Hi, > > > On 2/9/23 13:30, Marek Vasut wrote: > >> Consistently use 'if (IS_ENABLED(CONFIG_PARTITION_TYPE_GUID))' instead of > >> mix of ifdef. > >> > >> Signed-off-by: Marek Vasut

Re: [PATCH v1 19/24] arm: mach-imx: use CONFIG_$(SPL_)SATA instead of CONFIG_SATA

2023-02-23 Thread Simon Glass
Hi Troy, On Thu, 23 Feb 2023 at 12:24, Troy Kisky wrote: > > On Wed, Feb 22, 2023 at 7:05 AM Tom Rini wrote: >> >> On Tue, Feb 21, 2023 at 05:38:16PM -0800, Troy Kisky wrote: >> >> > This avoid an error with enable_sata_clock when >> > defined(CONFIG_SATA) is changed to CONFIG_IS_ENABLED(SATA).

Re: [PATCH v5 30/44] lib: Add an SPL config for LIB_UUID

2023-02-23 Thread Simon Glass
Hi Heinrich, On Wed, 22 Feb 2023 at 23:19, Heinrich Schuchardt wrote: > > > > Am 22. Februar 2023 17:34:11 MEZ schrieb Simon Glass : > >This is selected by PARTITION_UUIDS which has a separate option for SPL. > >Add an SPL option for LIB_UUID also, so that we

[PATCH v2 00/24] tools: Support uploading tools to PyPi for use with pip

2023-02-23 Thread Simon Glass
ion - Drop test files - Fix removable of the /tmp dir - Quite a few updates to make things work with the new names - Rename the package to patch-manager - Update the cover letter Simon Glass (24): binman: Avoid unwanted output in testFitFirmwareLoadables() Revert "patman: test_util: Pr

[PATCH v2 01/24] binman: Avoid unwanted output in testFitFirmwareLoadables()

2023-02-23 Thread Simon Glass
This prints a message about the missing tee-os generated by the test. This is confusing, so suppress it. Signed-off-by: Simon Glass --- (no changes since v1) tools/binman/ftest.py | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/tools/binman/ftest.py b/tools/binman

[PATCH v2 02/24] Revert "patman: test_util: Print test stdout/stderr within test summaries"

2023-02-23 Thread Simon Glass
ebcaafcded40da8ae6cb4234c2ba9901c7bee644. Signed-off-by: Simon Glass --- (no changes since v1) tools/concurrencytest/concurrencytest.py | 83 +--- tools/patman/test_util.py| 33 +- 2 files changed, 4 insertions(+), 112 deletions(-) diff --git a/tools

[PATCH v2 03/24] Remove concurrencytest

2023-02-23 Thread Simon Glass
://github.com/cgoldberg/concurrencytest/issues/12 [3] https://github.com/cgoldberg/concurrencytest/pull/14 Signed-off-by: Simon Glass --- (no changes since v1) tools/concurrencytest/.gitignore | 1 - tools/concurrencytest/README.md | 74 tools/concurrencytest/__init__.py

[PATCH v2 05/24] script: Add a script to build a PyPi package

2023-02-23 Thread Simon Glass
Create a script which can package a tool for use with PyPi and the 'pip' tool. This involves quite a few steps so is best automated. Future work will enable use of this for some of the tools in U-Boot. Signed-off-by: Simon Glass --- Changes in v2: - Drop test files - Fix removable o

[PATCH v2 08/24] patman: Add support for building a patman PyPi package

2023-02-23 Thread Simon Glass
Create the necessary files to build this new package. Signed-off-by: Simon Glass --- Changes in v2: - Rename the package to patch-manager Makefile| 1 + tools/patman/pyproject.toml | 29 + 2 files changed, 30 insertions(+) create mode 100644

[PATCH v2 04/24] patman: Move library functions into a library directory

2023-02-23 Thread Simon Glass
packaged separately and listed as a dependency of each tool. Signed-off-by: Simon Glass --- (no changes since v1) scripts/event_dump.py | 2 +- test/run | 1 + tools/binman/bintool.py | 8 +++ tools/binman

[PATCH v2 06/24] patman: Add support for building a u_boot_tools PyPi package

2023-02-23 Thread Simon Glass
Create the necessary files to build this new package. Signed-off-by: Simon Glass --- (no changes since v1) Makefile | 18 +- tools/u_boot_pylib/LICENSE| 339 ++ tools/u_boot_pylib/README.rst | 15 ++ tools/u_boot_pylib

[PATCH v2 07/24] patman: Avoid importing test_checkpatch before it is needed

2023-02-23 Thread Simon Glass
Tests are not packaged with patman so this file will not be accessible when installing with pip. Move the import later in the file, when we know the file is present. Signed-off-by: Simon Glass --- Changes in v2: - Add new patch to avoid importing test_checkpatch before it is needed tools

[PATCH v2 10/24] buildman: Hide the test options unless test code is available

2023-02-23 Thread Simon Glass
It doesn't make much sense to expose tests when buildman is running outside of the U-Boot git checkout. Hide the option in this case Signed-off-by: Simon Glass --- Changes in v2: - Add a patch to hide the test options unless test code is available tools/buildman/cmdline.py

[PATCH v2 11/24] buildman: Fix use of a type as a variable

2023-02-23 Thread Simon Glass
Using 'str' as a variable makes it impossible to use it as a type in the same function. Fix this by using a different name. Signed-off-by: Simon Glass --- Changes in v2: - Add patch to fix use of a type as a variable tools/buildman/control.py | 4 ++-- 1 file changed, 2 insert

[PATCH v2 16/24] dtoc: Use pathlib to find the test directory

2023-02-23 Thread Simon Glass
Update this so that the directory being used is declared at the top of the file. Use pathlib as it seems to be more modern. Signed-off-by: Simon Glass --- (no changes since v1) tools/dtoc/test_dtoc.py | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tools/dtoc

[PATCH v2 09/24] buildman: Move the main code into a function

2023-02-23 Thread Simon Glass
Put this code into a function so it is easy for it be run when packaged. Signed-off-by: Simon Glass --- Changes in v2: - Add patch to split out the main code into a function tools/buildman/main.py | 27 --- 1 file changed, 16 insertions(+), 11 deletions(-) diff --git

[PATCH v2 12/24] buildman: Use importlib to find the help

2023-02-23 Thread Simon Glass
Use this function so that the help can be found even when buildman is running from a package. Signed-off-by: Simon Glass --- Changes in v2: - Add new patch to use importlib to find the help tools/buildman/control.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a

[PATCH v2 13/24] buildman: Add support for building a buildman PyPi package

2023-02-23 Thread Simon Glass
called by the PyPi-created script. Signed-off-by: Simon Glass --- (no changes since v1) Makefile | 1 + tools/buildman/pyproject.toml | 29 + 2 files changed, 30 insertions(+) create mode 100644 tools/buildman/pyproject.toml diff --git a/Makefile

[PATCH v2 18/24] binman: Move the main code into a function

2023-02-23 Thread Simon Glass
Put this code into a function so it is easy for it be run when packaged. Signed-off-by: Simon Glass --- Changes in v2: - Add patch to split out the main code into a function tools/binman/main.py | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/tools/binman

[PATCH v2 14/24] dtoc: Hide the test options unless test code is available

2023-02-23 Thread Simon Glass
It doesn't make much sense to expose tests when dtoc is running outside of the U-Boot git checkout. Hide the option in this case. Signed-off-by: Simon Glass --- Changes in v2: - Add a patch to hide the test options unless test code is available tools/dtoc/main.py | 19 +

[PATCH v2 22/24] test: Add concurrencytest to the requirements

2023-02-23 Thread Simon Glass
This allows tests to run in parallel and speeds up some tests markedly, particularly with binman. Add it to the requirements. Signed-off-by: Simon Glass --- (no changes since v1) test/py/requirements.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/test/py/requirements.txt b/test/py

[PATCH v2 24/24] CI: Add a check for building tools for PyPi

2023-02-23 Thread Simon Glass
Add a simple check that the PyPi packages can be built. Signed-off-by: Simon Glass --- Changes in v2: - Update the cover letter .azure-pipelines.yml | 10 ++ .gitlab-ci.yml | 6 ++ 2 files changed, 16 insertions(+) diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml

[PATCH v2 15/24] dtoc: Move the main code into a function

2023-02-23 Thread Simon Glass
Put this code into a function so it is easy for it be run when packaged. Signed-off-by: Simon Glass --- Changes in v2: - Add patch to split out the main code into a function tools/dtoc/main.py | 100 +++-- 1 file changed, 52 insertions(+), 48 deletions

[PATCH v2 17/24] dtoc: Add support for building a dtoc PyPi package

2023-02-23 Thread Simon Glass
Create the necessary files to build this new package. This is needed for binman. Move the main program into a function so that it can easily be called by the PyPi-created script. Signed-off-by: Simon Glass --- (no changes since v1) Makefile | 1 + tools/dtoc/README.rst

[PATCH v2 19/24] binman: Hide the 'test' command unless test code is available

2023-02-23 Thread Simon Glass
It doesn't make much sense to expose tests when dtoc is running outside of the U-Boot git checkout. Hide the option in this case. Fix a long line while we are here. Signed-off-by: Simon Glass --- Changes in v2: - Add a patch to hide the test options unless test code is available tools/b

[PATCH v2 20/24] binman: Use importlib to find the help

2023-02-23 Thread Simon Glass
Use this function so that the help can be found even when binman is running from a package. Signed-off-by: Simon Glass --- Changes in v2: - Add new patch to use importlib to find the help tools/binman/control.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools

[PATCH v2 21/24] binman: Add support for building a binmanu PyPi package

2023-02-23 Thread Simon Glass
Create the necessary files to build this new package. It is not actually clear whether this is useful, since buildman has no purpose outside U-Boot. Move the main program into a function so that it can easily be called by the PyPi-created script. Signed-off-by: Simon Glass --- (no changes

[PATCH v2 23/24] doc: Add notes on how to install patman and binman

2023-02-23 Thread Simon Glass
These can be installed with 'pip' now. Add the details for those who are interested. Signed-off-by: Simon Glass --- (no changes since v1) tools/binman/binman.rst | 13 + tools/patman/patman.rst | 12 2 files changed, 25 insertions(+) diff --git a/to

Re: [PATCH] kconfig: Proposed language extension for multiple builds

2023-02-24 Thread Simon Glass
Hi Masahiro, On Sun, 19 Feb 2023 at 14:55, Simon Glass wrote: > > In the case of Linux, only one build is produced so there is only a > single configuration. For other projects, such as U-Boot and Zephyr, the > same code is used to produce multiple builds, each with related (but

Re: [PATCH] kconfig: Proposed language extension for multiple builds

2023-02-24 Thread Simon Glass
+lk On Sun, 19 Feb 2023 at 14:55, Simon Glass wrote: > > In the case of Linux, only one build is produced so there is only a > single configuration. For other projects, such as U-Boot and Zephyr, the > same code is used to produce multiple builds, each with related (but > dif

Re: [PATCH] kconfig: Proposed language extension for multiple builds

2023-02-24 Thread Simon Glass
+Masahiro Yamada On Fri, 24 Feb 2023 at 19:04, Simon Glass wrote: > +lk > > On Sun, 19 Feb 2023 at 14:55, Simon Glass wrote: > > > > In the case of Linux, only one build is produced so there is only a > > single configuration. For other projects, such as U-Boot an

[PATCH v3 00/13] video: efi: Improve the EFI-app video console

2023-02-25 Thread Simon Glass
a comment about the value - Add a comment about the fallback Changes in v2: - Obtain copy framebuffer size from EFI instead of using a fixed value - Dropping debugging printf() - Use new bootph-xxx tag - Add new patch to show the size of the copy framebuffer with bdinfo Simon Glass (13): efi

[PATCH v3 02/13] efi: video: Return mode info for app also

2023-02-25 Thread Simon Glass
The mode info is currently not initialised for the app. Fix this by returning it from the function. Signed-off-by: Simon Glass --- (no changes since v1) drivers/video/efi.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/video/efi.c b/drivers/video/efi.c

[PATCH v3 03/13] efi: Support a 64-bit frame buffer address

2023-02-25 Thread Simon Glass
. Signed-off-by: Simon Glass --- Changes in v3: - Use Returns instead of @return arch/x86/lib/fsp/fsp_graphics.c | 2 +- drivers/pci/pci_rom.c | 10 ++ drivers/video/coreboot.c| 2 +- drivers/video/efi.c | 34 + include/vesa.h

[PATCH v3 05/13] efi: Use a fixed value for the timer clock

2023-02-25 Thread Simon Glass
It is not yet clear how to read the timer via EFI. The current value seems much too high on a Framework laptop I tried. Adjust it to a lower hard-coded value for now. Signed-off-by: Simon Glass --- Changes in v3: - Add a comment about the value drivers/timer/tsc_timer.c | 9 + 1 file

[PATCH v3 01/13] efi: video: Move payload code into a function

2023-02-25 Thread Simon Glass
Put this into a function, as we have done for the app implementation. Comment both functions. FOr now the app still does not access it correctly. Signed-off-by: Simon Glass --- (no changes since v1) drivers/video/efi.c | 83 +++-- 1 file changed, 57

[PATCH v3 06/13] efi: Support copy framebuffer

2023-02-25 Thread Simon Glass
Add support for this to EFI in case it becomes useful. At present it just slows things down. You can enable CONFIG_VIDEO_COPY to turn it on. Signed-off-by: Simon Glass --- Changes in v3: - Add a comment about the fallback Changes in v2: - Obtain copy framebuffer size from EFI instead of using

[PATCH v3 07/13] video: Allow a copy framebuffer with pre-allocated fb

2023-02-25 Thread Simon Glass
normal framebuffer size is 0. Signed-off-by: Simon Glass --- (no changes since v1) drivers/video/video-uclass.c | 32 include/video.h | 2 ++ 2 files changed, 26 insertions(+), 8 deletions(-) diff --git a/drivers/video/video-uclass.c b/drivers/video

[PATCH v3 11/13] video: Clear the vidconsole rather than the video

2023-02-25 Thread Simon Glass
It is better to clear the console device rather than the video device, since the console has the text display. We also need to reset the cursor position with the console, but not with the video device. Add a new function to handle this and update the 'cls' command to use it. Signed-off

[PATCH v3 12/13] efi: Add dhrystone, dcache and scroll lines to app

2023-02-25 Thread Simon Glass
Add these options to provide some performance measurement, see cache status and slightly speed up the appallingly slow console. Signed-off-by: Simon Glass --- (no changes since v1) configs/efi-x86_app64_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/efi

<    1   2   3   4   5   6   7   8   9   10   >