Re: [PATCH] efi_loader: Reduce efi_tcg2 logging statement

2021-11-13 Thread Heinrich Schuchardt
On 11/9/21 12:35, Masahisa Kojima wrote: log_info() is used for the debug level logging statement which should use log_debug() instead. Convert it to reduce the log output. Signed-off-by: Masahisa Kojima Reviewed-by: Heinrich Schuchardt --- lib/efi_loader/efi_tcg2.c | 2 +- 1 file

[PATCH 00/10] Kconfig: Drop some sandbox-related items

2021-11-13 Thread Simon Glass
In an effort to pare down the sandbox.h header file, this series moves some options to Kconfig. It also adds a migration warning for CONFIG_TIMER. Simon Glass (10): trace: sandbox: Use only the Kconfig options sandbox: Drop CONFIG_HOST_MAX_DEVICES Convert CONFIG_SYS_FDT_LOAD_ADDR to

[PATCH 09/10] ide: Drop unused CONFIG options

2021-11-13 Thread Simon Glass
CONFIG_SYS_ATA_PORT_ADDR is not used in the code anymore. Drop it and use ATA_PORT_ADDR() locally instead. Drop CONFIG_IDE_RESET_ROUTINE and CONFIG_IDE_SWAP_IO which are also unused. Signed-off-by: Simon Glass --- README | 3 ---

[PATCH 10/10] timer: Add a migration message

2021-11-13 Thread Simon Glass
Some boards still use the old timer mechanism. Set a deadline for them to update to driver model. This needs a bit of a strange rule to avoid an error on some boards. Signed-off-by: Simon Glass --- Makefile | 4 doc/develop/driver-model/migration.rst | 8

[PATCH 08/10] sandbox: Drop CONFIG_SYS_TIMER_RATE

2021-11-13 Thread Simon Glass
This is not used by sandbox since it uses driver model for the timer. Drop it. Also update the tools_only build to avoid build errors, since it does actually build U-Boot too. Enable DM so we can use CONFIG_TIMER, disable EFI_LOADER to avoid an error about board_quiesce_devices() and disable NET

[PATCH 06/10] Convert CONFIG_KEYBOARD to Kconfig

2021-11-13 Thread Simon Glass
This converts the following to Kconfig: CONFIG_KEYBOARD Signed-off-by: Simon Glass --- README | 8 arch/Kconfig| 1 + arch/arm/mach-exynos/Kconfig| 1 + configs/chromebit_mickey_defconfig | 1 +

[PATCH 07/10] keyboard: Add a migration message

2021-11-13 Thread Simon Glass
A few boards still use the old keyboard mechanism. Set a deadline for them to update to driver model. Signed-off-by: Simon Glass --- Makefile | 1 + doc/develop/driver-model/migration.rst | 8 2 files changed, 9 insertions(+) diff --git a/Makefile

[PATCH 05/10] sandbox: video: Drop CONFIG_LCD_BMP_RLE8

2021-11-13 Thread Simon Glass
This is not defined by any board except sandbox. Even sandbox doesn't actually use it since it has migrated to DM_VIDEO. Drop this option. Remove the dead code also, for completeness, even though the whole lcd.c file will be dropped soon. Signed-off-by: Simon Glass --- README

[PATCH 04/10] Convert CONFIG_PHYSMEM to Kconfig

2021-11-13 Thread Simon Glass
This converts the following to Kconfig: CONFIG_PHYSMEM Signed-off-by: Simon Glass --- README | 8 arch/Kconfig | 2 ++ include/configs/edison.h | 3 --- include/configs/sandbox.h| 2 -- include/configs/x86-common.h | 2 --

[PATCH 03/10] Convert CONFIG_SYS_FDT_LOAD_ADDR to Kconfig

2021-11-13 Thread Simon Glass
This converts the following to Kconfig: CONFIG_SYS_FDT_LOAD_ADDR Signed-off-by: Simon Glass --- arch/sandbox/Kconfig | 10 ++ include/configs/sandbox.h| 6 -- scripts/config_whitelist.txt | 1 - 3 files changed, 10 insertions(+), 7 deletions(-) diff --git

[PATCH 02/10] sandbox: Drop CONFIG_HOST_MAX_DEVICES

2021-11-13 Thread Simon Glass
This can go in the related header file. Drop the CONFIG option. Signed-off-by: Simon Glass --- cmd/host.c | 2 +- drivers/block/sandbox.c | 6 +++--- include/configs/sandbox.h| 2 -- include/sandboxblockdev.h| 3 +++ scripts/config_whitelist.txt | 1 - 5 files

[PATCH 01/10] trace: sandbox: Use only the Kconfig options

2021-11-13 Thread Simon Glass
At present there are Kconfig options for tracing, but sandbox uses plain #defines to set them. Correct this and make the tracing command default to enabled so that this is not needed. Signed-off-by: Simon Glass --- cmd/Kconfig | 2 ++ doc/develop/trace.rst | 14 +++--- 2

Re: Pull request for efi-2022-01-rc2-2

2021-11-13 Thread Tom Rini
On Sat, Nov 13, 2021 at 09:15:55PM +0100, Heinrich Schuchardt wrote: > Dear Tom, > > as agreed with Simon I have added the TPMv2 mmio driver to my pull > request as this driver is needed for testing the EFI_TCG2_PROTOCOL. > > Patch > Dockerfile: build swtpm >

Please pull u-boot-dm

2021-11-13 Thread Simon Glass
Hi Tom, https://source.denx.de/u-boot/custodians/u-boot-dm/-/pipelines/9840 The following changes since commit a51673eb75de328d3471b742e593f04b166591c4: configs: Resync with savedefconfig (2021-11-12 23:37:42 +) are available in the Git repository at: git://git.denx.de/u-boot-dm.git

Re: [PATCH] bootstage: Differentiate boot progress kconfig entries

2021-11-13 Thread Simon Glass
On Wed, 3 Nov 2021 at 08:09, Jan Kiszka wrote: > > From: Jan Kiszka > > Both U-Boot proper and SPL entries were using the same description. > > Fixes: b55881dd ("bootstage: Add SPL support") > Signed-off-by: Jan Kiszka > --- > common/Kconfig.boot | 2 +- > 1 file changed, 1 insertion(+), 1

Re: [PATCH v4 12/34] patman: Use a ValueError exception if tools.Run() fails

2021-11-13 Thread Simon Glass
The Exception base class is a very vague and could be confusing to the test system. Use the more specific ValueError exception instead. Signed-off-by: Simon Glass --- (no changes since v1) tools/patman/tools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Applied to u-boot-dm,

Re: [PATCH 01/31] Makefile: Correct TPL rule for OF_REAL

2021-11-13 Thread Simon Glass
Hi Simon, As I expect this series to go through some versions before we agree on something and this seems like a pure bugfix can you split it of as a single patch? On Mon, 1 Nov 2021 at 03:19, Simon Glass wrote: > > Correct an error in the tpl-dtb parameter to binman. At present the TPL > rule

Re: [PATCH v2 2/2] sandbox: fix sandbox_wdt_expire_now()

2021-11-13 Thread Simon Glass
On Tue, 2 Nov 2021 at 12:44, Heinrich Schuchardt wrote: > > With CONFIG_SYSRESET_WATCHDOG=y the sandbox can use a watchdog based system > reset. > > To make this work calling sandbox_wdt_expire_now() must lead to a reset. > > With this change we can test the development suggested in > > [PATCH

Re: [PATCH v2 1/2] test/dm: fix watchdog test

2021-11-13 Thread Simon Glass
On Tue, 2 Nov 2021 at 12:44, Heinrich Schuchardt wrote: > > For successful execution of the watchdog test we need both the GPIO as well > as the SANDBOX watchdog. > > Avoid a build failure for CONFIG_WDT_GPIO=n. > > Signed-off-by: Heinrich Schuchardt > --- > v2: > move changes to

Re: [PATCH v2 01/12] env: Don't set ready flag if import failed in env_set_default()

2021-11-13 Thread Simon Glass
From: Marek Behún Do not set GD_FLG_ENV_READY nor GD_FLG_ENV_DEFAULT if failed importing in env_set_default(). Signed-off-by: Marek Behún Reviewed-by: Simon Glass --- env/common.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) Applied to u-boot-dm, thanks!

Re: [PATCH v2 03/12] env: Simplify env_get_default()

2021-11-13 Thread Simon Glass
From: Marek Behún Instead of pretending that we don't have environment to force searching default environment in env_get_default(), get the data from the default_environment[] buffer directly. Signed-off-by: Marek Behún Reviewed-by: Simon Glass --- env/common.c | 45

Re: [PATCH v2 02/12] env: Fix env_get() when returning empty string using env_get_f()

2021-11-13 Thread Simon Glass
From: Marek Behún The env_get_f() function returns -1 on failure. Returning 0 means that the variable exists, and is empty string. Signed-off-by: Marek Behún Reviewed-by: Simon Glass --- env/common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Applied to u-boot-dm, thanks!

Re: [PATCH v4 13/34] binman: Report an error if test files fail to compile

2021-11-13 Thread Simon Glass
At present any error from the 'make' command is silently swallowed by the test system. Fix this by showing it when detected. Signed-off-by: Simon Glass --- (no changes since v1) tools/binman/elf_test.py | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) Applied to u-boot-dm,

Re: [PATCH v4 14/34] binman: Support reading the offset of an ELF-file symbol

2021-11-13 Thread Simon Glass
Binman needs to be able to update the contents of an ELF file after it has been build. To support this, add a function to locate the position of a symbol's contents within the file. Fix the comments on bss_data.c and Symbol while we are here. Signed-off-by: Simon Glass --- (no changes since

Re: [PATCH v4 15/34] binman: Tidy up comments on _DoTestFile()

2021-11-13 Thread Simon Glass
The comment for this function is missing an argument and the return value. Fix it. Signed-off-by: Simon Glass --- (no changes since v1) tools/binman/ftest.py | 5 + 1 file changed, 5 insertions(+) Applied to u-boot-dm, thanks!

Re: [PATCH v4 16/34] binman: Support updating the dtb in an ELF file

2021-11-13 Thread Simon Glass
WIth EFI we must embed the devicetree in an ELF image so that it is loaded as part of the executable file. We want it to include the binman definition in there also, which in some cases cannot be created until the ELF (u-boot) is built. Add an option to binman to support writing the updated dtb to

Re: [PATCH v2] binman: Fix replace subcommand help and comments

2021-11-13 Thread Simon Glass
On Thu, 11 Nov 2021 at 00:13, Jan Kiszka wrote: > > From: Jan Kiszka > > Fix some copy artifacts. > > Signed-off-by: Jan Kiszka > --- > tools/binman/cmdline.py | 4 ++-- > tools/binman/control.py | 4 ++-- > 2 files changed, 4 insertions(+), 4 deletions(-) Please add a change log with a v2

[PATCH] Convert CONFIG_FSL_DDR_BIST et al to Kconfig

2021-11-13 Thread Tom Rini
This converts the following to Kconfig: CONFIG_FSL_DDR_BIST CONFIG_FSL_DDR_INTERACTIVE Signed-off-by: Tom Rini --- arch/arm/cpu/armv8/fsl-layerscape/Kconfig | 4 include/configs/lx2160a_common.h | 2 -- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git

[PATCH] Dockerfile, CI: Update to latest "focal" tag

2021-11-13 Thread Tom Rini
Signed-off-by: Tom Rini --- .azure-pipelines.yml| 2 +- .gitlab-ci.yml | 2 +- tools/docker/Dockerfile | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml index 41b34ea7de5a..8801ff7d81b3 100644 ---

[PATCH] Convert CONFIG_SYS_BR0_PRELIM et al to Kconfig

2021-11-13 Thread Tom Rini
This converts the following to Kconfig: CONFIG_SYS_BR0_PRELIM CONFIG_SYS_OR1_PRELIM CONFIG_SYS_BR1_PRELIM CONFIG_SYS_OR2_PRELIM CONFIG_SYS_BR2_PRELIM CONFIG_SYS_OR2_PRELIM CONFIG_SYS_BR3_PRELIM CONFIG_SYS_OR3_PRELIM CONFIG_SYS_BR4_PRELIM CONFIG_SYS_OR4_PRELIM

Re: [RFC 07/22] dm: blk: add UCLASS_PARTITION

2021-11-13 Thread Simon Glass
Hi Heinrich, On Sat, 13 Nov 2021 at 11:42, Heinrich Schuchardt wrote: > > Am 13. November 2021 19:14:32 MEZ schrieb Simon Glass : > >Hi, > > > >On Mon, 8 Nov 2021 at 17:09, Simon Glass wrote: > >> > >> Hi, > >> > >> On Mon, 8 Nov 2021 at 11:45, Ilias Apalodimas > >> wrote: > >> > > >> > Hi

Re: [PATCH 2/3] bootstage: Fix up remaining bootstage config misuse

2021-11-13 Thread Simon Glass
Hi Marek, On Thu, 4 Nov 2021 at 20:02, Simon Glass wrote: > > On Wed, 3 Nov 2021 at 08:20, Marek Vasut wrote: > > > > All these macros really guard show_boot_progress() function, which > > is used only if BOOT_PROGRESS is enabled in Kconfig. Fix up the > > macro guards. > > > > Signed-off-by:

Re: [PATCH 1/1] Dockerfile: build swtpm

2021-11-13 Thread Tom Rini
On Sat, Nov 13, 2021 at 09:14:39PM +0100, Heinrich Schuchardt wrote: > > > On 11/9/21 20:27, Tom Rini wrote: > > On Tue, Nov 09, 2021 at 07:51:20PM +0100, Heinrich Schuchardt wrote: > > > > > For testing the TPM drivers and the EFI_TCG2_PROTOCOL we need the tool > > > swtpm. > > > > > > Once

Pull request for efi-2022-01-rc2-2

2021-11-13 Thread Heinrich Schuchardt
Dear Tom, as agreed with Simon I have added the TPMv2 mmio driver to my pull request as this driver is needed for testing the EFI_TCG2_PROTOCOL. Patch Dockerfile: build swtpm https://lists.denx.de/pipermail/u-boot/2021-November/466713.html is another part of the effort to make the protocol

Re: [PATCH 1/1] Dockerfile: build swtpm

2021-11-13 Thread Heinrich Schuchardt
On 11/9/21 20:27, Tom Rini wrote: On Tue, Nov 09, 2021 at 07:51:20PM +0100, Heinrich Schuchardt wrote: For testing the TPM drivers and the EFI_TCG2_PROTOCOL we need the tool swtpm. Once we move to Ubuntu Impish we can take libtpms from package libtpms-dev. Signed-off-by: Heinrich

Re: [PATCH 00/16] tools: Add support for signing devicetree blobs

2021-11-13 Thread François Ozog
Hi Simon Le sam. 13 nov. 2021 à 14:57, Simon Glass a écrit : > Hi Heinrich, > > On Sat, 13 Nov 2021 at 04:57, Heinrich Schuchardt > wrote: > > > > > > > > On 11/13/21 04:30, Simon Glass wrote: > > > Hi Heinrich, > > > > > > On Fri, 12 Nov 2021 at 17:02, Heinrich Schuchardt > wrote: > > >> > >

Re: [PATCH 00/16] tools: Add support for signing devicetree blobs

2021-11-13 Thread François Ozog
Hi Simon Le sam. 13 nov. 2021 à 14:57, Simon Glass a écrit : > Hi François, > On Sat, 13 Nov 2021 at 03:18, François Ozog > wrote: > > > > Hi Simon, > > > > Le sam. 13 nov. 2021 à 04:31, Simon Glass a écrit : > >> > >> Hi Heinrich, > >> > >> On Fri, 12 Nov 2021 at 17:02, Heinrich Schuchardt

Re: [RFC 07/22] dm: blk: add UCLASS_PARTITION

2021-11-13 Thread Heinrich Schuchardt
Am 13. November 2021 19:14:32 MEZ schrieb Simon Glass : >Hi, > >On Mon, 8 Nov 2021 at 17:09, Simon Glass wrote: >> >> Hi, >> >> On Mon, 8 Nov 2021 at 11:45, Ilias Apalodimas >> wrote: >> > >> > Hi chiming in a little late but >> > >> > On Mon, 8 Nov 2021 at 06:46, AKASHI Takahiro >> > wrote:

Re: [PATCH 3/8 v7] tpm2: Introduce TIS tpm core

2021-11-13 Thread Simon Glass
On Tue, 9 Nov 2021 at 00:02, Ilias Apalodimas wrote: > > There's a lot of code duplication in U-Boot right now. All the TPM TIS > compatible drivers we have at the moment have their own copy of a TIS > implementation. > > So let's create a common layer which implements the core TIS functions. >

Re: [RFC 07/22] dm: blk: add UCLASS_PARTITION

2021-11-13 Thread Simon Glass
Hi, On Mon, 8 Nov 2021 at 17:09, Simon Glass wrote: > > Hi, > > On Mon, 8 Nov 2021 at 11:45, Ilias Apalodimas > wrote: > > > > Hi chiming in a little late but > > > > On Mon, 8 Nov 2021 at 06:46, AKASHI Takahiro > > wrote: > > > > > > On Fri, Nov 05, 2021 at 10:12:16AM -0600, Simon Glass

Re: [PATCH 3/8 v7] tpm2: Introduce TIS tpm core

2021-11-13 Thread Simon Glass
On Tue, 9 Nov 2021 at 00:02, Ilias Apalodimas wrote: > > There's a lot of code duplication in U-Boot right now. All the TPM TIS > compatible drivers we have at the moment have their own copy of a TIS > implementation. > > So let's create a common layer which implements the core TIS functions. >

Re: [PATCH v2] binman: Fix replace subcommand help and comments

2021-11-13 Thread Simon Glass
On Thu, 11 Nov 2021 at 00:13, Jan Kiszka wrote: > > From: Jan Kiszka > > Fix some copy artifacts. > > Signed-off-by: Jan Kiszka > --- > tools/binman/cmdline.py | 4 ++-- > tools/binman/control.py | 4 ++-- > 2 files changed, 4 insertions(+), 4 deletions(-) Please add a change log with a v2

Re: [PATCH v1 2/2] x86: scu: Add a few debug messages to the driver

2021-11-13 Thread Simon Glass
On Tue, 9 Nov 2021 at 05:03, Andy Shevchenko wrote: > > For some devices that have slightly different firmware implementation > it's good to see what's going on when communicating with the SCU. Add > a few debug messages for that purpose. > > Signed-off-by: Andy Shevchenko > --- >

Re: [PATCH v1 1/2] hexdump: Introduce debug APIs

2021-11-13 Thread Simon Glass
Hi Andy, On Tue, 9 Nov 2021 at 05:03, Andy Shevchenko wrote: > > debug_hex_dump() and debug_hex_dump_bytes() conditionally print > the dump based on DEBUG definition. > > Signed-off-by: Andy Shevchenko > --- > include/hexdump.h | 4 > lib/hexdump.c | 60

Re: [PATCH 7/8 v7] doc: qemu: Add instructions for swtpm usage

2021-11-13 Thread Simon Glass
Hi Ilias, On Tue, 9 Nov 2021 at 00:02, Ilias Apalodimas wrote: > > A previous patch added support for an mmio based TPM. > Add an example in QEMU on it's usage > > Reviewed-by: Simon Glass > Signed-off-by: Ilias Apalodimas > --- > doc/board/emulation/qemu-arm.rst | 25

Re: [PATCH v4 09/34] efi: Add EFI uclass for media

2021-11-13 Thread Simon Glass
Hi Heinrich, On Sat, 13 Nov 2021 at 02:29, Heinrich Schuchardt wrote: > > > > On 11/8/21 06:29, AKASHI Takahiro wrote: > > On Sun, Nov 07, 2021 at 09:43:22AM -0700, Simon Glass wrote: > >> Hi Heinrich, > >> > >> On Sun, 7 Nov 2021 at 01:21, Heinrich Schuchardt > >> wrote: > >>> > >>> > >>> >

Re: [PATCH v4 4/5] sf: doc: Add documentation for the 'sf' command

2021-11-13 Thread Simon Glass
Hi Heinrich, On Sat, 13 Nov 2021 at 08:32, Heinrich Schuchardt wrote: > > Am 13. November 2021 15:21:13 MEZ schrieb Simon Glass : > >Hi Heinrich, > > > >On Sat, 13 Nov 2021 at 04:34, Heinrich Schuchardt wrote: > >> > >> On 9/19/21 23:49, Simon Glass wrote: > >> > This command is fairly

[RESEND][PATCH] arm64: Add missing GD_FLG_SKIP_RELOC handling

2021-11-13 Thread marek . vasut
From: Marek Vasut In case U-Boot enters relocation with GD_FLG_SKIP_RELOC, skip the relocation. The code still has to set up new_gd pointer and new stack pointer. Signed-off-by: Marek Vasut Cc: Simon Glass Cc: Tom Rini --- arch/arm/lib/crt0_64.S | 4 lib/asm-offsets.c | 3 +++ 2

[PATCH v3] lmb: Reserve U-Boot separately if relocation is disabled

2021-11-13 Thread marek . vasut
From: Marek Vasut In case U-Boot starts with GD_FLG_SKIP_RELOC, the U-Boot code is not relocated, however the stack and heap is at the end of DRAM after relocation. Reserve a LMB area for the non-relocated U-Boot code so it won't be overwritten. Signed-off-by: Marek Vasut Cc: Simon Glass Cc:

[PATCH v3] board_f: Copy GD to new GD even if relocation disabled

2021-11-13 Thread marek . vasut
From: Marek Vasut Even if U-Boot has relocation disabled via GD_FLG_SKIP_RELOC , the relocated stage of U-Boot still picks GD from new_gd location. The U-Boot itself is not relocated, but GD might be, so copy the GD to new GD location even if relocation is disabled. Signed-off-by: Marek Vasut

[PATCH] LynxOS is no longer supported

2021-11-13 Thread Thomas Huth
LynxOS needed the do_bootm_lynxkdi() function that got removed in 7e713067ee ("Remove LYNX KDI remainders") - and that function needed a lynxkdi_boot() function, where the last implementation had been removed in 98f705c9ce ("powerpc: remove 4xx support") already. Looks like this OS is definitely

Re: [PATCH v2] pinctrl: meson: Correct the driver GPIO declaration

2021-11-13 Thread Tom Rini
On Sat, Nov 13, 2021 at 07:07:15AM -0700, Simon Glass wrote: > This should use the provided U_BOOT_DRIVER() macro so that the driver gets > added to the appropriate linker list. Fix it. > > Signed-off-by: Simon Glass > Fixes: 7c9dcfed50f ("pinctrl: meson: rework gx pmx function") Reported-by:

Re: [PATCH v4 4/5] sf: doc: Add documentation for the 'sf' command

2021-11-13 Thread Heinrich Schuchardt
Am 13. November 2021 15:21:13 MEZ schrieb Simon Glass : >Hi Heinrich, > >On Sat, 13 Nov 2021 at 04:34, Heinrich Schuchardt wrote: >> >> On 9/19/21 23:49, Simon Glass wrote: >> > This command is fairly complicated so documentation is useful. >> > Unfortunately I an not sure how the MTD side of

Re: [BUG] RockPro64 not booting since 3ae64582fb

2021-11-13 Thread Tom Rini
On Sat, Nov 13, 2021 at 10:41:02AM +, Peter Robinson wrote: > On Fri, Nov 12, 2021 at 9:43 PM Alper Nebi Yasak > wrote: > > > > On 12/11/2021 19:39, Tom Rini wrote: > > > On Fri, Nov 12, 2021 at 11:35:15AM +0300, Aleksei wrote: > > > > > >> Hi U-boot developers, > > >> I'm booting RockPro64

Re: [PATCH 00/16] tools: Add support for signing devicetree blobs

2021-11-13 Thread Simon Glass
Hi Heinrich, On Sat, 13 Nov 2021 at 04:57, Heinrich Schuchardt wrote: > > > > On 11/13/21 04:30, Simon Glass wrote: > > Hi Heinrich, > > > > On Fri, 12 Nov 2021 at 17:02, Heinrich Schuchardt > > wrote: > >> > >> > >> > >> On 11/12/21 20:49, François Ozog wrote: > >>> Hi Simon > >>> > >>> Le

Re: [PATCH 00/16] tools: Add support for signing devicetree blobs

2021-11-13 Thread Simon Glass
Hi François, On Sat, 13 Nov 2021 at 03:18, François Ozog wrote: > > Hi Simon, > > Le sam. 13 nov. 2021 à 04:31, Simon Glass a écrit : >> >> Hi Heinrich, >> >> On Fri, 12 Nov 2021 at 17:02, Heinrich Schuchardt wrote: >> > >> > >> > >> > On 11/12/21 20:49, François Ozog wrote: >> > > Hi Simon >>

Re: [PATCH v4 4/5] sf: doc: Add documentation for the 'sf' command

2021-11-13 Thread Simon Glass
Hi Heinrich, On Sat, 13 Nov 2021 at 04:34, Heinrich Schuchardt wrote: > > On 9/19/21 23:49, Simon Glass wrote: > > This command is fairly complicated so documentation is useful. > > Unfortunately I an not sure how the MTD side of things works and cannot > > find information about that. > > > >

Re: [PATCH 0/5] board: mediatek: pumpkin: add fastboot support

2021-11-13 Thread Simon Glass
Hi Fabien, On Fri, 16 Oct 2020 at 09:40, Fabien Parent wrote: > > This series adds USB/Fastboot support on MT8516 Pumpkin board. > > Fabien Parent (5): > arm: dts: mt8516: add support for USB > arm: dts: mt8516-pumpkin: enable usb port > board: mediatek: pumpkin: initialize usb device >

Re: [PATCH v10 3/9] env: Allow U-Boot scripts to be placed in a .env file

2021-11-13 Thread Simon Glass
Hi Daniel, On Fri, 12 Nov 2021 at 11:13, Daniel Golle wrote: > > On Thu, Oct 21, 2021 at 09:08:46PM -0600, Simon Glass wrote: > > At present U-Boot environment variables, and thus scripts, are defined > > by CONFIG_EXTRA_ENV_SETTINGS. It is painful to add large amounts of text > > to this file

Re: [PATCH] efi: add comment for efi_system_table and efi_configuration_table

2021-11-13 Thread Simon Glass
On Fri, 12 Nov 2021 at 00:23, Masahisa Kojima wrote: > > This commit adds the comment for efi_system_table and > efi_configuration_table structure. > > Signed-off-by: Masahisa Kojima > --- > include/efi_api.h | 32 > 1 file changed, 32 insertions(+)

Re: [PATCH] power: pmic/fan53555: allow dm be omitted by SPL

2021-11-13 Thread Simon Glass
On Fri, 12 Nov 2021 at 07:11, Quentin Schulz wrote: > > Allow the dm driver be omitted by SPL. > > Cc: Quentin Schulz > Signed-off-by: Quentin Schulz > --- > drivers/power/pmic/Kconfig | 14 ++ > drivers/power/pmic/Makefile | 2 +- > 2 files changed, 15 insertions(+), 1

Re: [PATCH] cmd: pxe_utils: sysboot: add label override support

2021-11-13 Thread Simon Glass
Hi Amjad, On Fri, 12 Nov 2021 at 09:46, Amjad Ouled-Ameur wrote: > > Hi Simon, > > On 06/11/2021 01:18, Amjad Ouled-Ameur wrote: > > Hi Simon, > > > > On 05/11/2021 03:02, Simon Glass wrote: > >> Hi Amjad, > >> > >> On Fri, 22 Oct 2021 at 09:55, Amjad Ouled-Ameur > >> wrote: > >>> This will

Re: [PATCH] pinctrl: meson: Correct the driver GPIO declaration

2021-11-13 Thread Simon Glass
Hi Tom, On Fri, 12 Nov 2021 at 21:08, Tom Rini wrote: > > On Fri, Nov 12, 2021 at 07:00:34PM -0700, Simon Glass wrote: > > > This should use the provided U_BOOT_DRIVER() macro so that the driver gets > > added to the appropriate linker list. Fix it. > > > > Signed-off-by: Simon Glass > > Fixes:

[PATCH v2] pinctrl: meson: Correct the driver GPIO declaration

2021-11-13 Thread Simon Glass
This should use the provided U_BOOT_DRIVER() macro so that the driver gets added to the appropriate linker list. Fix it. Signed-off-by: Simon Glass Fixes: 7c9dcfed50f ("pinctrl: meson: rework gx pmx function") --- Changes in v2: - Fix the gxl driver also

Re: [PATCH v2 2/4] mtd: spi-nor-core: macronix: Add support for mx66lm1g45g

2021-11-13 Thread Jagan Teki
On Thu, Nov 4, 2021 at 5:20 AM Tudor Ambarus wrote: > > mx66lm1g45g supports just 1-1-1, 8-8-8 and 8d-8d-8d modes. > Tested in 1-1-1 and 8d-8d-8d modes using microchip's Octal SPI IP. > > Signed-off-by: Tudor Ambarus > --- > drivers/mtd/spi/Kconfig| 8 >

Re: [PATCH v4 1/4] mtd: spi-nor: macronix: add support for Macronix Octal

2021-11-13 Thread Jagan Teki
On Wed, Nov 3, 2021 at 4:11 PM liao jaime wrote: > > Hi Jagan > > > > > > On Mon, Oct 18, 2021 at 11:54 AM JaimeLiao wrote: > > > > > > Follow patch "f6adec1af4b2f5d3012480c6cdce7743b74a6156" for adding > > > Macronix flash in Octal DTR mode. > > > > > > Enable Octal DTR mode with 20 dummy

[PATCH v2] cmd: pxe_utils: sysboot: add label override support

2021-11-13 Thread Amjad Ouled-Ameur
This will allow consumers to choose a pxe label at runtime instead of having to prompt the user. One good use-case for this, is choosing whether or not to apply a dtbo depending on the hardware configuration. e.g: for TI's AM335x EVM, it would be convenient to apply a particular dtbo only when the

Re: [PATCH 00/16] tools: Add support for signing devicetree blobs

2021-11-13 Thread Heinrich Schuchardt
On 11/13/21 04:30, Simon Glass wrote: Hi Heinrich, On Fri, 12 Nov 2021 at 17:02, Heinrich Schuchardt wrote: On 11/12/21 20:49, François Ozog wrote: Hi Simon Le ven. 12 nov. 2021 à 20:36, Simon Glass mailto:s...@chromium.org>> a écrit : At present mkimage supports signing FITs,

Re: [PATCH 00/16] tools: Add support for signing devicetree blobs

2021-11-13 Thread François Ozog
Hi Simon, Le sam. 13 nov. 2021 à 04:31, Simon Glass a écrit : > Hi Heinrich, > > On Fri, 12 Nov 2021 at 17:02, Heinrich Schuchardt > wrote: > > > > > > > > On 11/12/21 20:49, François Ozog wrote: > > > Hi Simon > > > > > > Le ven. 12 nov. 2021 à 20:36, Simon Glass > >

Re: [PATCH v4 5/5] sf: Provide a command to access memory-mapped SPI

2021-11-13 Thread Heinrich Schuchardt
On 9/19/21 23:49, Simon Glass wrote: Add a new 'sf mmap' function to show the address of a SPI offset, if the I would expect a 'spi info' command to provide this information. Best regards Heinrich hardware supports it. This is useful on x86 systems. Signed-off-by: Simon Glass --- (no

Re: [PATCH v4 4/5] sf: doc: Add documentation for the 'sf' command

2021-11-13 Thread Heinrich Schuchardt
On 9/19/21 23:49, Simon Glass wrote: This command is fairly complicated so documentation is useful. Unfortunately I an not sure how the MTD side of things works and cannot find information about that. Signed-off-by: Simon Glass Acked-by: Pratyush Yadav --- Changes in v4: - Split out the

Re: [PATCH v4 2/5] sf: Use const for the stage name

2021-11-13 Thread Heinrich Schuchardt
On 9/19/21 23:49, Simon Glass wrote: This is not updated at runtime so should be marked const. Update the code accordingly. Signed-off-by: Simon Glass Reviewed-by: Heinrich Schuchardt --- (no changes since v1) cmd/sf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

Re: [PATCH v4 1/5] command: Use a constant pointer for the help

2021-11-13 Thread Heinrich Schuchardt
On 9/19/21 23:49, Simon Glass wrote: This text should never change during execution, so it makes sense to use a const char * so that it can be declared as const in the code. Update struct cmd_tbl with a const char * pointer for 'help'. We cannot make usage const because of the bmode command,

Re: [BUG] RockPro64 not booting since 3ae64582fb

2021-11-13 Thread Peter Robinson
On Fri, Nov 12, 2021 at 9:43 PM Alper Nebi Yasak wrote: > > On 12/11/2021 19:39, Tom Rini wrote: > > On Fri, Nov 12, 2021 at 11:35:15AM +0300, Aleksei wrote: > > > >> Hi U-boot developers, > >> I'm booting RockPro64 by writing compiled u-boot-rockchip.bin to SD card > >> offset > >> 64 as

Re: [PATCH v4 09/34] efi: Add EFI uclass for media

2021-11-13 Thread Heinrich Schuchardt
On 11/8/21 06:29, AKASHI Takahiro wrote: On Sun, Nov 07, 2021 at 09:43:22AM -0700, Simon Glass wrote: Hi Heinrich, On Sun, 7 Nov 2021 at 01:21, Heinrich Schuchardt wrote: On 11/4/21 04:09, Simon Glass wrote: At present UCLASS_EFI is used to represent an EFI filesystem among other

Re: [PATCH 1/1] blk: simplify blk_get_devnum_by_typename()

2021-11-13 Thread Heinrich Schuchardt
On 10/25/21 21:46, Simon Glass wrote: Hi Heinrich, On Mon, 25 Oct 2021 at 13:37, Heinrich Schuchardt wrote: On 10/25/21 21:03, Simon Glass wrote: Hi Heinrich, On Mon, 25 Oct 2021 at 12:41, Heinrich Schuchardt wrote: On 10/25/21 19:29, Simon Glass wrote: Hi Heinrich, On Mon, 25