Re: [PATCH v2 0/8] Add DFU, emmc and usb boot for TI am62x

2023-05-31 Thread Sjoerd Simons
On Wed, 2023-05-31 at 17:14 -0400, Tom Rini wrote: > On Thu, Apr 06, 2023 at 08:55:34PM +0200, Sjoerd Simons wrote: > > > This series adds more boot sources for the TI am62x. For that the > > dts' > > are synced from the upstream ti-next git tree (to add usb nodes), > > some > > dwc3 glue is and f

Re: [PATCH] efi_loader: explicitly return EFI_UNSUPPORTED for TCG 1.0 compatibility

2023-05-31 Thread Heinrich Schuchardt
Am 1. Juni 2023 01:35:01 MESZ schrieb Stuart Yoder : > > >On 5/31/23 5:09 PM, Heinrich Schuchardt wrote: >> >> >> Am 31. Mai 2023 22:40:23 MESZ schrieb Stuart Yoder : >>> >>> >>> On 5/31/23 3:10 PM, Heinrich Schuchardt wrote: On 5/31/23 21:37, Stuart Yoder wrote: > > Unfortunat

Re: [PATCH 4/5] usb: dwc3-generic: Add rk3568 support

2023-05-31 Thread Jagan Teki
On Tue, May 30, 2023 at 3:56 PM Jonas Karlman wrote: > > RK3568 share glue and ctrl in a single node. Use glue_get_ctrl_dev to > return the the glue node as the ctrl node. > > Signed-off-by: Jonas Karlman > --- Reviewed-by: Jagan Teki

[PATCH 2/2] test/py: replace 'tpm2 init, startup, selftest' sequences

2023-05-31 Thread Ilias Apalodimas
Instead of copy pasting the commands needed to start a TPM consisting of: - tpm init - tpm startup TPM2_SU_CLEAR - tpm2 self_test full use the newly added 'autostart' which does the same thing and simplify our python scripts Signed-off-by: Ilias Apalodimas --- test/py/tests/test_tpm2.py | 13 ++-

[PATCH 1/2] tpm: Add 'tpm autostart' shell command

2023-05-31 Thread Ilias Apalodimas
For a TPM device to be operational we need to initialize it and perform its startup sequence. The 'tpm init' command currently calls tpm_init() which ends up calling the ->open() per-device callback and performs the initial hardware configuration as well as requesting locality 0 for the caller. T

[PATCH] test: fix comment indentation on tpm tests

2023-05-31 Thread Ilias Apalodimas
One out comments is off by one, adjust it Signed-off-by: Ilias Apalodimas --- test/dm/tpm.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/test/dm/tpm.c b/test/dm/tpm.c index 3defb3c3da1f..cde933ab2848 100644 --- a/test/dm/tpm.c +++ b/test/dm/tpm.c @@ -98,10 +98,11

Re: [PATCH] tpm: Make 'tpm init' to call tpm_auto_start()

2023-05-31 Thread Ilias Apalodimas
Hi Simon, On Wed, May 31, 2023 at 09:28:04PM -0600, Simon Glass wrote: > Hi Ilias, > > On Tue, 30 May 2023 at 00:18, Ilias Apalodimas > wrote: > > > > For a TPM device to be operational we need to initialize it and > > perform its startup sequence. The 'tpm init' command currently calls > > tpm_

Re: Loading from squashfs with zstd compression slower than ext4

2023-05-31 Thread Jonathan Liu
Hi Simon, On Thu, 1 Jun 2023 at 14:10, Jonathan Liu wrote: > On Thu, 1 Jun 2023 at 11:27, Jonathan Liu wrote: > > On Thu, 1 Jun 2023 at 03:13, Simon Glass wrote: > > > On Wed, 31 May 2023 at 06:52, Jonathan Liu wrote: > > > > > > > > Hi All, > > > > > > > > I noticed that loading from squashfs

Re: Loading from squashfs with zstd compression slower than ext4

2023-05-31 Thread Jonathan Liu
Hi Simon, On Thu, 1 Jun 2023 at 11:27, Jonathan Liu wrote: > > Hi Simon, > > On Thu, 1 Jun 2023 at 03:13, Simon Glass wrote: > > > > Hi Jonathan, > > > > On Wed, 31 May 2023 at 06:52, Jonathan Liu wrote: > > > > > > Hi All, > > > > > > I noticed that loading from squashfs with zstd compression

Re: [PATCH 2/5] usb: dwc3-generic: Return early when there is no child node

2023-05-31 Thread Jagan Teki
On Tue, May 30, 2023 at 3:56 PM Jonas Karlman wrote: > > The call to device_find_first_child always return 0, change to return > early when there is no child node. Can you explain a little more about this? Maybe adding device-tree pipeline will give a better understanding of the issue. Jagan.

Re: [PATCH v7 09/10] test: efi_capsule: refactor efi_capsule test

2023-05-31 Thread Simon Glass
On Tue, 30 May 2023 at 21:36, Masahisa Kojima wrote: > > Current efi capsule python tests have much code duplication. > This commit creates the common function > in test/py/tests/test_efi_capsule/capsule_common.py, > aim to reduce the code size and improve maintainability. > > Signed-off-by: Masah

Re: [PATCH] tpm: Make 'tpm init' to call tpm_auto_start()

2023-05-31 Thread Simon Glass
Hi Ilias, On Tue, 30 May 2023 at 00:18, Ilias Apalodimas wrote: > > For a TPM device to be operational we need to initialize it and > perform its startup sequence. The 'tpm init' command currently calls > tpm_init() which ends up calling the ->open() per-device callback and > performs the initia

Re: [PATCH] scripts/Makefile.lib: change spelling of $(srctree)/arch/$(ARCH)/dts in dtc_cpp_flags

2023-05-31 Thread Simon Glass
On Tue, 16 May 2023 at 03:18, Rasmus Villemoes wrote: > > Currently, all in-tree .dts files (apart from some under test/ and > tools/), reside in arch/$ARCH/dts. However, in the linux kernel tree, > dts files for arm64 boards, and probably in the not too distant > future [1], arm boards as well, l

Re: CONFIG_SPL_BUILD seems to be not defined in my u-boot-spl program.. why?

2023-05-31 Thread Simon Glass
Hi Chan, On Sun, 28 May 2023 at 06:40, Chan Kim wrote: > > Dear u-boot experts, > > While analyzing u-boot-spl program on qemu arm64 virtual machine, I'm seems > the program counter skips part of a code and it seems the reason is that > CONFIG_SPL_BUILD is not defined. But I'm running spl/u-boot-

Re: [PATCH v2 1/2] sandbox: Add a dummy dcache_status() function

2023-05-31 Thread Simon Glass
On Tue, 30 May 2023 at 07:33, Francesco Dolcini wrote: > > From: Emanuele Ghidoli > > This adds dcache_status() so that code using it can build > without error on sandbox. This is required in preparation > of adding cache handling into get_ram_size function. > > Signed-off-by: Emanuele Ghidoli >

Re: Loading from squashfs with zstd compression slower than ext4

2023-05-31 Thread Jonathan Liu
Hi Simon, On Thu, 1 Jun 2023 at 03:13, Simon Glass wrote: > > Hi Jonathan, > > On Wed, 31 May 2023 at 06:52, Jonathan Liu wrote: > > > > Hi All, > > > > I noticed that loading from squashfs with zstd compression is > > significantly slower than ext4 on RK3399 using U-Boot 2022.01. The > > filesy

Re: [PATCH v6 0/3] Add StarFive JH7110 PCIe drvier support

2023-05-31 Thread Minda Chen
Hi Rick and Leo Could you review these series patches? Thanks. Since patch 1 was acked by Pali, Does it mean patch 1 is accepted? On 2023/5/9 16:26, Minda Chen wrote: > These PCIe series patches are based on the JH7110 RISC-V SoC and VisionFive > V2 board. > > The PCIe driver depends on gpio,

Re: [PATCH] efi_loader: explicitly return EFI_UNSUPPORTED for TCG 1.0 compatibility

2023-05-31 Thread Stuart Yoder
On 5/31/23 5:09 PM, Heinrich Schuchardt wrote: Am 31. Mai 2023 22:40:23 MESZ schrieb Stuart Yoder : On 5/31/23 3:10 PM, Heinrich Schuchardt wrote: On 5/31/23 21:37, Stuart Yoder wrote: Unfortunately, the TCG spec is very confusing in section 6.4.4 #2 and #3.  They attempted to clarify

Re: [PATCH] efi_loader: explicitly return EFI_UNSUPPORTED for TCG 1.0 compatibility

2023-05-31 Thread Heinrich Schuchardt
Am 31. Mai 2023 22:40:23 MESZ schrieb Stuart Yoder : > > >On 5/31/23 3:10 PM, Heinrich Schuchardt wrote: >> On 5/31/23 21:37, Stuart Yoder wrote: >>> >>> Unfortunately, the TCG spec is very confusing in section 6.4.4 #2 and >>> #3.  They attempted to clarify in an errata: >>> https://trustedcom

Re: [PATCH 1/1] test: bootflow test depends on CONFIG_VIDEO

2023-05-31 Thread Simon Glass
Hi Heinrich, On Wed, 31 May 2023 at 14:22, Heinrich Schuchardt wrote: > > > > On 5/31/23 21:52, Simon Glass wrote: > > Hi Heinrich, > > > > On Wed, 31 May 2023 at 13:27, Heinrich Schuchardt > > wrote: > >> > >> > >> > >> On 5/31/23 20:24, Tom Rini wrote: > >>> On Wed, May 31, 2023 at 08:05:18PM

Re: [PATCH v2 0/8] Add DFU, emmc and usb boot for TI am62x

2023-05-31 Thread Tom Rini
On Thu, Apr 06, 2023 at 08:55:34PM +0200, Sjoerd Simons wrote: > This series adds more boot sources for the TI am62x. For that the dts' > are synced from the upstream ti-next git tree (to add usb nodes), some > dwc3 glue is and finally the default configuration is tuned to add > support for DFU an

[PATCH 08/10] ARM: renesas: Add R8A77970 V3MSK board and CPLD code

2023-05-31 Thread Marek Vasut
From: Valentine Barshak Add board code for the R8A77970 V3MSK board. Add CPLD sysreset driver to the R-Car V3M SK board. Extracted from a larger patch by Valentine Barshak. Reviewed-by: Marek Vasut Signed-off-by: Valentine Barshak Signed-off-by: Hai Pham Signed-off-by: Tam Nguyen Signed-off-

[PATCH 09/10] ARM: dts: renesas: Add R8A77980 V3HSK DTs

2023-05-31 Thread Marek Vasut
From: Valentine Barshak Import R8A77980 V3HSK DTs from Linux 6.1.31, commit d2869ace6eeb ("Linux 6.1.31"). Extracted from a larger patch by Valentine Barshak. Reviewed-by: Marek Vasut Signed-off-by: Valentine Barshak Signed-off-by: Hai Pham Signed-off-by: Tam Nguyen Signed-off-by: Marek Vasu

[PATCH 10/10] ARM: renesas: Add R8A77980 V3HSK board and CPLD code

2023-05-31 Thread Marek Vasut
From: Valentine Barshak Add board code for the R8A77980 V3HSK board. Add CPLD sysreset driver to the R-Car V3H SK board. Extracted from a larger patch by Valentine Barshak. Reviewed-by: Marek Vasut Signed-off-by: Valentine Barshak Signed-off-by: Hai Pham Signed-off-by: Tam Nguyen Signed-off-

[PATCH 07/10] ARM: dts: renesas: Add R8A77970 V3MSK DTs

2023-05-31 Thread Marek Vasut
From: Valentine Barshak Import R8A77970 V3MSK DTs from Linux 6.1.31, commit d2869ace6eeb ("Linux 6.1.31"). Extracted from a larger patch by Valentine Barshak. Reviewed-by: Marek Vasut Signed-off-by: Valentine Barshak Signed-off-by: Hai Pham Signed-off-by: Tam Nguyen Signed-off-by: Marek Vasu

[PATCH 05/10] ARM: rmobile: Drop eagle.h config of R8A77970 V3M Eagle board

2023-05-31 Thread Marek Vasut
The eagle.h is now empty and only includes rcar-gen3-common.h . Use rcar-gen3-common.h directly instead and drop eagle.h . No functional change. Signed-off-by: Marek Vasut --- board/renesas/eagle/Kconfig | 2 +- include/configs/eagle.h | 19 --- 2 files changed, 1 insertion(

[PATCH 03/10] ARM: rmobile: Reduce R-Car V3H Condor header usage

2023-05-31 Thread Marek Vasut
There is no need to pull in all those headers as the board file is basically empty. Drop them all. Signed-off-by: Marek Vasut --- board/renesas/condor/condor.c | 11 --- 1 file changed, 11 deletions(-) diff --git a/board/renesas/condor/condor.c b/board/renesas/condor/condor.c index fdb9

[PATCH 06/10] ARM: rmobile: Introduce weak default board_init()

2023-05-31 Thread Marek Vasut
Introduce weak default board_init() in rcar-common/common.c , which allows complete removal of ebisu.c and condor.c at the same time . Signed-off-by: Marek Vasut --- board/renesas/condor/Makefile | 2 +- board/renesas/condor/condor.c | 14 -- board/renesas/ebisu/Make

[PATCH 04/10] ARM: rmobile: Factor out common R-Car V3M/V3H board code

2023-05-31 Thread Marek Vasut
Pull common board initialization code from V3M Eagle board into rcar-common/v3-common.c so it can be re-used by other V3M/V3H boards. Signed-off-by: Marek Vasut --- board/renesas/eagle/Makefile | 2 +- .../eagle.c => rcar-common/v3-common.c} | 26 +-- 2 fi

[PATCH 01/10] ARM: rmobile: Deduplicate R-Car Gen3/Gen4 reset_cpu()

2023-05-31 Thread Marek Vasut
The reset_cpu() implementation is basically the same across Gen3 SoCs and identical across Gen4 SoCs. Introduce weak default for reset_cpu(), so that it does not have to be duplicated in every board file again. There is a slight difference for CA53 only systems, like E3 and D3, which now check MID

[PATCH 02/10] ARM: rmobile: Reduce R-Car E3 Ebisu header usage

2023-05-31 Thread Marek Vasut
There is no need to pull in all those headers as the board file is basically empty. Drop them all. Signed-off-by: Marek Vasut --- board/renesas/ebisu/ebisu.c | 22 -- 1 file changed, 22 deletions(-) diff --git a/board/renesas/ebisu/ebisu.c b/board/renesas/ebisu/ebisu.c index

RE: [PATCH v4 0/7] Tegra: add ASUS/Google Nexus 7 (2012) support

2023-05-31 Thread Tom Warren
Svyatoslav, I'm still stuck with not being able to run buildman on my local dev laptop(s), both 18.04 and 20.04 Ubuntu. So without that, I can't really send TomR a PR. I could try running 'make *defconfig; make' for each Tegra board and see if that works, I'll try to do that later today/tomorrow

Re: [PATCH 1/2] arm: mach-k3: j721s2: dev-data.c: Add main_uart5 device data

2023-05-31 Thread Bryan Brattlof
On May 11, 2023 thus sayeth Bhavya Kapoor: > Add device data for main_uart5 in dev-data.c for J721S2. Now, > main_uart5 will be powered on while booting the J721S2 SoC. > > Signed-off-by: Bhavya Kapoor > --- > arch/arm/mach-k3/j721s2/dev-data.c | 3 ++- > 1 file changed, 2 insertions(+), 1 delet

Re: [PATCH 2/2] arm: mach-k3: j721s2: clk-data.c: Add main_uart5 clock data

2023-05-31 Thread Bryan Brattlof
On May 22, 2023 thus sayeth Bhavya Kapoor: > > On 12/05/23 23:12, Bryan Brattlof wrote: > > Hi Bhavya! > > > > On May 11, 2023 thus sayeth Bhavya Kapoor: > >> Add main_uart5 clocks in clk-data.c for J721S2. Now, > >> main_uart5 clocks will be set up while booting the J721S2 SoC. > >> > >> Signed-o

Re: [PATCH] efi_loader: explicitly return EFI_UNSUPPORTED for TCG 1.0 compatibility

2023-05-31 Thread Stuart Yoder
On 5/31/23 3:10 PM, Heinrich Schuchardt wrote: On 5/31/23 21:37, Stuart Yoder wrote: Unfortunately, the TCG spec is very confusing in section 6.4.4 #2 and #3.  They attempted to clarify in an errata: https://trustedcomputinggroup.org/wp-content/uploads/EFI-Protocol-Specification-Errata-v.5.p

Re: [PATCH 0/8] Cleanup unaligned access macros

2023-05-31 Thread Tom Rini
On Mon, 22 May 2023 14:22:30 +0200, Jens Wiklander wrote: > There are two versions of get/set_unaligned, get_unaligned_be64, > put_unaligned_le64 etc in U-Boot causing confusion (and bugs). > > In this patch-set, I'm trying to fix that with a single unified version of > the access macros to be us

Re: [PATCH 1/1] test: bootflow test depends on CONFIG_VIDEO

2023-05-31 Thread Heinrich Schuchardt
On 5/31/23 21:52, Simon Glass wrote: Hi Heinrich, On Wed, 31 May 2023 at 13:27, Heinrich Schuchardt wrote: On 5/31/23 20:24, Tom Rini wrote: On Wed, May 31, 2023 at 08:05:18PM +0200, Heinrich Schuchardt wrote: On 5/31/23 19:13, Simon Glass wrote: Hi Heinrich, On Wed, 31 May 2023 at

[PATCH] sunxi: psci: remove redundant initialization from psci_arch_init

2023-05-31 Thread Sam Edwards
The nonsec code overrides/handles these: - Setting PMR to 0xFF happens earlier, in _nonsec_init, so this is redundant. - The NS bit is not yet set: it gets set later in _secure_monitor. Trying to clear it here is pointless and misleading. Signed-off-by: Sam Edwards --- arch/arm/cpu/armv7/sun

Re: [PATCH] efi_loader: explicitly return EFI_UNSUPPORTED for TCG 1.0 compatibility

2023-05-31 Thread Heinrich Schuchardt
On 5/31/23 21:37, Stuart Yoder wrote: Unfortunately, the TCG spec is very confusing in section 6.4.4 #2 and #3.  They attempted to clarify in an errata: https://trustedcomputinggroup.org/wp-content/uploads/EFI-Protocol-Specification-Errata-v.5.pdf ...but it is still confusing. Ilias and I had

Re: [PATCH 1/1] test: bootflow test depends on CONFIG_VIDEO

2023-05-31 Thread Simon Glass
Hi Heinrich, On Wed, 31 May 2023 at 13:27, Heinrich Schuchardt wrote: > > > > On 5/31/23 20:24, Tom Rini wrote: > > On Wed, May 31, 2023 at 08:05:18PM +0200, Heinrich Schuchardt wrote: > >> > >> > >> On 5/31/23 19:13, Simon Glass wrote: > >>> Hi Heinrich, > >>> > >>> On Wed, 31 May 2023 at 09:52,

Re: [PATCH] efi_loader: explicitly return EFI_UNSUPPORTED for TCG 1.0 compatibility

2023-05-31 Thread Stuart Yoder
Unfortunately, the TCG spec is very confusing in section 6.4.4 #2 and #3. They attempted to clarify in an errata: https://trustedcomputinggroup.org/wp-content/uploads/EFI-Protocol-Specification-Errata-v.5.pdf ...but it is still confusing. Ilias and I had discussed the ambiguities, and back in

Re: [PATCH 1/1] test: bootflow test depends on CONFIG_VIDEO

2023-05-31 Thread Heinrich Schuchardt
On 5/31/23 20:24, Tom Rini wrote: On Wed, May 31, 2023 at 08:05:18PM +0200, Heinrich Schuchardt wrote: On 5/31/23 19:13, Simon Glass wrote: Hi Heinrich, On Wed, 31 May 2023 at 09:52, Tom Rini wrote: On Wed, May 31, 2023 at 04:25:46PM +0200, Heinrich Schuchardt wrote: Tom Rini schrieb

Re: [PATCH v4 0/7] Tegra: add ASUS/Google Nexus 7 (2012) support

2023-05-31 Thread Svyatoslav Ryhel
So what should I do? Re-uploading patches will do nothing I suppose? Best regards Svyatoslav R. вт, 25 квіт. 2023 р. о 11:23 Svyatoslav Ryhel пише: > > This patchset adds support for native use of U-Boot on: > - ASUS T30 Transformers (7 devices, all models); > - ASUS/Google Nexus 7 (2012), both

Re: [PATCH 1/1] test: bootflow test depends on CONFIG_VIDEO

2023-05-31 Thread Tom Rini
On Wed, May 31, 2023 at 08:05:18PM +0200, Heinrich Schuchardt wrote: > > > On 5/31/23 19:13, Simon Glass wrote: > > Hi Heinrich, > > > > On Wed, 31 May 2023 at 09:52, Tom Rini wrote: > > > > > > On Wed, May 31, 2023 at 04:25:46PM +0200, Heinrich Schuchardt wrote: > > > > Tom Rini schrieb am M

Re: [PATCH 1/1] test: bootflow test depends on CONFIG_VIDEO

2023-05-31 Thread Heinrich Schuchardt
On 5/31/23 19:13, Simon Glass wrote: Hi Heinrich, On Wed, 31 May 2023 at 09:52, Tom Rini wrote: On Wed, May 31, 2023 at 04:25:46PM +0200, Heinrich Schuchardt wrote: Tom Rini schrieb am Mi., 31. Mai 2023, 16:02: On Wed, May 31, 2023 at 10:50:52AM +0200, Heinrich Schuchardt wrote: qemu

[PATCH v7 4/4] Load option with short device path for boot vars

2023-05-31 Thread Raymond Mao
The boot variables automatically generated for removable medias should be with short form of device path without device nodes. This is a requirement for the case that a removable media is plugged into a different port but is still able to work with the existing boot variables. Signed-off-by: Raymo

[PATCH v7 3/4] Boot var automatic management for removable medias

2023-05-31 Thread Raymond Mao
Changes for complying to EFI spec §3.5.1.1 'Removable Media Boot Behavior'. Boot variables can be automatically generated during a removable media is probed. At the same time, unused boot variables will be detected and removed. Signed-off-by: Raymond Mao --- Changes in v3 - Split the patch into m

[PATCH v7 2/4] Fix incorrect return code of boot option update

2023-05-31 Thread Raymond Mao
Correct the return code for out-of-memory and no boot option found Signed-off-by: Raymond Mao --- Changes in v7 - new patch file created cmd/bootmenu.c | 2 +- cmd/eficonfig.c | 2 +- lib/efi_loader/efi_bootmgr.c | 8 ++-- 3 files changed, 8 insertions(+), 4 delet

[PATCH v7 1/4] Move bootorder and bootoption apis to lib

2023-05-31 Thread Raymond Mao
Rename and move bootorder and bootoption apis from cmd to lib for re-use between eficonfig and bootmgr Signed-off-by: Raymond Mao Reviewed-by: Heinrich Schuchardt --- Changes in v3 - Split the patch into moving and renaming functions and individual patches for each changed functionality Change

[PATCH v7 0/4] Boot variables management for removable media

2023-05-31 Thread Raymond Mao
Major changes: 1.Rename and move bootorder and bootoption apis from cmd to lib for re-use between eficonfig and bootmgr 2.Fix incorrect return code of boot option update Correct the return code for out-of-memory and no boot option found 3.Changes for complying to EFI spec §3.5.1.1 'Removable

Re: [PATCH] efi_loader: explicitly return EFI_UNSUPPORTED for TCG 1.0 compatibility

2023-05-31 Thread Heinrich Schuchardt
On 5/31/23 18:41, Stuart Yoder wrote: On 5/31/23 2:48 AM, Ilias Apalodimas wrote: Hi Stuart, On Wed, 31 May 2023 at 00:20, Stuart Yoder wrote: On 5/30/23 1:39 AM, Ilias Apalodimas wrote: In the EFI TCG spec EFI_TCG2_BOOT_SERVICE_CAPABILITY struct is versioned -- there are 1.0 and 1.1 ve

Re: [PATCH] efi_loader: explicitly return EFI_UNSUPPORTED for TCG 1.0 compatibility

2023-05-31 Thread Ilias Apalodimas
Hi Stuart, [...] > >> EFI_TCG2_EVENT_ALGORITHM_BITMAP ActivePcrBanks > >> }; > >> > >> The intent in the TCG spec is for the caller to be able to > >> determine the size of the struct by passing in a small > >> buffer (e.g. 1 byte buffer), and then the firmware > >> should return sizeof(EFI_

Re: [v2] include: Remove unused header files

2023-05-31 Thread Tom Rini
On Tue, May 16, 2023 at 12:34:47PM -0400, Tom Rini wrote: > As part of various code clean-ups we have on occasion missed removing > unused header files. None of these files are referenced anywhere else > at this point. > > Signed-off-by: Tom Rini Applied to u-boot/next, thanks! -- Tom sign

Re: [PATCH 5/5] faraday: remove orphaned header file

2023-05-31 Thread Tom Rini
On Mon, May 15, 2023 at 02:52:14PM +0100, Andre Przywara wrote: > Commit 11232139e399 ("nds32: Remove the architecture") removed the nds32 > architecture, and with it the last user of the Faraday AHB controller > header file. > > Consequently remove that header file as well. > > This was found b

Re: [PATCH 4/5] exynos: fix header inclusion guard

2023-05-31 Thread Tom Rini
On Mon, May 15, 2023 at 02:52:13PM +0100, Andre Przywara wrote: > It seems like the header inclusion guard for the Exynos pinctrl header > was misspelled. > > Make the preprocessor symbol for the #ifndef and #define lines the > same, so that the double inclusion protection works as expected. > >

Re: [PATCH 3/5] freescale: vsc3316_3308: fix header inclusion guard

2023-05-31 Thread Tom Rini
On Mon, May 15, 2023 at 02:52:12PM +0100, Andre Przywara wrote: > It seems like the header inclusion guard for some Freescale crosspoint > switch header was misspelled. > > Make the preprocessor symbol for the #ifndef and #define lines the > same, so that the double inclusion protection works as

Re: [PATCH 2/5] arm: uniphier: fix header inclusion guard

2023-05-31 Thread Tom Rini
On Mon, May 15, 2023 at 02:52:11PM +0100, Andre Przywara wrote: > It seems like the header inclusion guard for some Uniphier DDR PHY > header was misspelled. > > Make the preprocessor symbol for the #ifndef and #define lines the > same, so that the double inclusion protection works as expected. >

Re: [PATCH 1/5] imx: fix header inclusion guards

2023-05-31 Thread Tom Rini
On Mon, May 15, 2023 at 02:52:10PM +0100, Andre Przywara wrote: > It seems like the header inclusion guards for some IMX related headers > were misspelled or got out of sync. > > Make the preprocessor symbols for the #ifndef and #define lines the > same, so that the double inclusion protection wo

Re: [PATCH] arm: Remove ti816x_evm board and ti816x SoC support

2023-05-31 Thread Tom Rini
On Thu, May 11, 2023 at 02:07:24PM -0400, Tom Rini wrote: > This platform is currently unmaintained and untested, so remove it. > Further, as it is the only TI816X SoC example, remove related files as > well. > > Signed-off-by: Tom Rini Applied to u-boot/next, thanks! -- Tom signature.asc D

Re: [PATCH 1/1] test: bootflow test depends on CONFIG_VIDEO

2023-05-31 Thread Simon Glass
Hi Heinrich, On Wed, 31 May 2023 at 09:52, Tom Rini wrote: > > On Wed, May 31, 2023 at 04:25:46PM +0200, Heinrich Schuchardt wrote: > > Tom Rini schrieb am Mi., 31. Mai 2023, 16:02: > > > > > On Wed, May 31, 2023 at 10:50:52AM +0200, Heinrich Schuchardt wrote: > > > > > > > qemu_arm64_defconfig

Re: Loading from squashfs with zstd compression slower than ext4

2023-05-31 Thread Simon Glass
Hi Jonathan, On Wed, 31 May 2023 at 06:52, Jonathan Liu wrote: > > Hi All, > > I noticed that loading from squashfs with zstd compression is > significantly slower than ext4 on RK3399 using U-Boot 2022.01. The > filesystem is located on eMMC. > > I have CONFIG_BLOCK_CACHE=y in .config and am usin

Re: R: Fit Signature booting without public key

2023-05-31 Thread Simon Glass
Hi, On Wed, 31 May 2023 at 07:37, Tom Rini wrote: > > On Wed, May 31, 2023 at 10:00:34AM +0530, Manorit Chawdhry wrote: > > Hi, > > > > On 16:51-20230530, Pegorer Massimo wrote: > > > Hi, > > > > > > > Inviato: venerdì 26 maggio 2023 15:00 > > > > Oggetto: Re: Fit Signature booting without public

Re: [PATCH v2] test: bdinfo: Add test for command bdinfo

2023-05-31 Thread Simon Glass
On Tue, 30 May 2023 at 19:04, Marek Vasut wrote: > > Add test for command bdinfo . > > Signed-off-by: Marek Vasut > --- > Cc: Jason Liu > Cc: Michal Simek > Cc: Ovidiu Panait > Cc: Simon Glass > --- > V2: Fix build failure on snow, just iterate over all DRAM banks and test > them, no more

Re: [PATCH] efi_loader: explicitly return EFI_UNSUPPORTED for TCG 1.0 compatibility

2023-05-31 Thread Heinrich Schuchardt
Am 30. Mai 2023 23:20:53 MESZ schrieb Stuart Yoder : > > >On 5/30/23 1:39 AM, Ilias Apalodimas wrote: >> In the EFI TCG spec EFI_TCG2_BOOT_SERVICE_CAPABILITY struct is >> versioned -- there are 1.0 and 1.1 versions of that struct. >> The spec [0] describes: >> "Version of the EFI_TCG2_BOOT_SERVI

[PATCH 2/2] ARM: rmobile: Identify R-Car D3 R8A77995 r1.1 SoC

2023-05-31 Thread Marek Vasut
From: Hai Pham Add support to identify R8A77995 r1.1 SoC. Reviewed-by: Marek Vasut Signed-off-by: Hai Pham [Marek: Slight update to commit message, spell out the SoC model] --- arch/arm/mach-rmobile/cpu_info-rcar.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/arch

[PATCH 1/2] ARM: rmobile: Identify R-Car M3-W R8A7796 r1.1/1.2 SoC

2023-05-31 Thread Marek Vasut
From: Hiroyuki Yokoyama r8a7796 cpu revision v1.2 has the same information as revision v1.1. This patch fixes revision display at startup to "rev 1.1/1.2". Reviewed-by: Marek Vasut Signed-off-by: Hiroyuki Yokoyama Signed-off-by: Hai Pham [Marek: Slight update to commit message, spell out the

Re: [PATCH] efi_loader: explicitly return EFI_UNSUPPORTED for TCG 1.0 compatibility

2023-05-31 Thread Stuart Yoder
On 5/31/23 2:48 AM, Ilias Apalodimas wrote: Hi Stuart, On Wed, 31 May 2023 at 00:20, Stuart Yoder wrote: On 5/30/23 1:39 AM, Ilias Apalodimas wrote: In the EFI TCG spec EFI_TCG2_BOOT_SERVICE_CAPABILITY struct is versioned -- there are 1.0 and 1.1 versions of that struct. The spec [0] de

[PATCH 5/8] net: fsl-mc: sync DPNI MC APIs

2023-05-31 Thread Ioana Ciornei
Sync the Data Path Network Interface APIs to their latest form, this means the layout of each command is created based on structures which clearly describe the endianness of each field rather than some macros. The command version is kept in place, meaning that the minimum MC version accepted is no

[PATCH 8/8] net: fsl-mc: sync remaining MC commands

2023-05-31 Thread Ioana Ciornei
This patch targets the last remaining commands left to sync to their latest form - mainly the mc_get_version() API. Besides this, remove any macro which is now of no help. Signed-off-by: Ioana Ciornei --- drivers/net/fsl-mc/dpmng.c | 20 drivers/net/fsl-mc/fsl_dpmng

[PATCH 7/8] net: fsl-mc: sync DPIO MC APIs

2023-05-31 Thread Ioana Ciornei
Sync the Data Path IO APIs to their latest form, this means the layout of each command is created based on structures which clearly describe the endianness of each field rather than some macros. The command version is kept in place, meaning that the minimum MC version accepted is not changed in an

[PATCH 6/8] net: fsl-mc: sync DPSPARSER MC APIs

2023-05-31 Thread Ioana Ciornei
Sync the Data Path Soft Parser APIs to their latest form, this means the layout of each command is created based on structures which clearly describe the endianness of each field rather than some macros. The command version is kept in place, meaning that the minimum MC version accepted is not chan

[PATCH 3/8] net: fsl-mc: sync DPMAC MC APIs

2023-05-31 Thread Ioana Ciornei
Sync the Data Path MAC APIs to their latest form, this means the layout of each command is created based on structures which clearly describe the endianness of each field rather than some macros. The command version is kept in place, meaning that the minimum MC version accepted is not changed in a

[PATCH 4/8] net: fsl-mc: sync DPRC MC APIs

2023-05-31 Thread Ioana Ciornei
Sync the Data Resource Container APIs to their latest form, this means the layout of each command is created based on structures which clearly describe the endianness of each field rather than some macros. The command version is kept in place, meaning that the minimum MC version accepted is not ch

[PATCH 1/8] net: fsl-mc: remove unused MC APIs

2023-05-31 Thread Ioana Ciornei
There are multiple MC APIs which were added years ago but they are not used at all in the u-boot source code. Remove all these APIs. Signed-off-by: Ioana Ciornei --- drivers/net/fsl-mc/dpio/dpio.c | 15 - drivers/net/fsl-mc/dpmac.c | 89 -- drivers/net/fsl-mc/dpni.c | 100 ---

[PATCH 2/8] net: fsl-mc: sync DPBP MC APIs

2023-05-31 Thread Ioana Ciornei
Sync the Data Path Buffer Pool APIs to their latest form, this means the layout of each command is created based on structures which clearly describe the endianness of each field rather than some macros. The command version is kept in place, meaning that the minimum MC version accepted is not chan

[PATCH 0/8] net: fsl-mc: sync to latest MC APIs

2023-05-31 Thread Ioana Ciornei
This patch set syncs all the MC APIs to their latest form using packed structures to ilustrate each field and its endianness. No change in the minimum MC version or the command's version is made. The first patch removes any unused API so that we do not carry around useless code. Ioana Ciornei (8)

Re: [PATCH 1/2] clk: imx8mp: Update clocks based on kernel 6.4-RC4

2023-05-31 Thread Tim Harvey
On Wed, May 31, 2023 at 8:50 AM Adam Ford wrote: > > On Wed, May 31, 2023 at 10:44 AM Tim Harvey wrote: > > > > On Tue, May 30, 2023 at 3:46 PM Adam Ford wrote: > > > > > > There are some newer clocks added to the kernel recently, > > > so to fix prepare for resycing the device trees, update > >

Re: [PATCH 1/1] test: bootflow test depends on CONFIG_VIDEO

2023-05-31 Thread Tom Rini
On Wed, May 31, 2023 at 04:25:46PM +0200, Heinrich Schuchardt wrote: > Tom Rini schrieb am Mi., 31. Mai 2023, 16:02: > > > On Wed, May 31, 2023 at 10:50:52AM +0200, Heinrich Schuchardt wrote: > > > > > qemu_arm64_defconfig with UNIT_TEST=y does not build. > > > > > > CONFIG_EXPO depends on CONFIG

Re: [PATCH 1/2] clk: imx8mp: Update clocks based on kernel 6.4-RC4

2023-05-31 Thread Adam Ford
On Wed, May 31, 2023 at 10:44 AM Tim Harvey wrote: > > On Tue, May 30, 2023 at 3:46 PM Adam Ford wrote: > > > > There are some newer clocks added to the kernel recently, > > so to fix prepare for resycing the device trees, update > > the clock list. Since there are some minor changes to > > the

Re: [PATCH 1/2] clk: imx8mp: Update clocks based on kernel 6.4-RC4

2023-05-31 Thread Tim Harvey
On Tue, May 30, 2023 at 3:46 PM Adam Ford wrote: > > There are some newer clocks added to the kernel recently, > so to fix prepare for resycing the device trees, update > the clock list. Since there are some minor changes to > the USB clocks, update which USB clocks are enabled > to match with th

Re: [RFC PATCH 10/17] clk: sunxi: Add support for the D1 CCU

2023-05-31 Thread Andre Przywara
On Mon, 29 May 2023 18:58:54 -0600 Sam Edwards wrote: Hi Sam, > On 5/26/23 20:15, Sam Edwards wrote: > > My "no success" is Linux stalling indefinitely at: > > [    0.123090] smp: Bringing up secondary CPUs ... > > OK, correction: my "no success" was Linux being unable to access the > GIC, s

[PATCH 2/2] board: fsl: lx2160ardb: add dts fixup function for RevC and newer

2023-05-31 Thread Ioana Ciornei
From: Florin Chiculita Since the new RevC LX2160A-RDB board has its 10G Aquantia PHYs at different MDIO bus addresses, we must update both the kernel DTS and u-boot's DTS (in case of DM_ETH) in case the board is indeed RevC or newer. Use the newly introduced get_board_rev() function to trigger a

[PATCH 1/2] board: fsl: lx2160ardb: add api for obtaining board revision

2023-05-31 Thread Ioana Ciornei
From: Florin Chiculita Add new API for obtaining board revision and trigger the i2c node fixup with this new API. Signed-off-by: Florin Chiculita Signed-off-by: Ioana Ciornei --- board/freescale/lx2160a/lx2160a.c | 15 ++- board/freescale/lx2160a/lx2160a.h | 4 2 files chang

[PATCH 0/2] board: fsl: lx2160ardb: fixup PHY addresses for new board revisions

2023-05-31 Thread Ioana Ciornei
On the board revisions C and D, the LX2160A-RDB has the two 10G copper PHYs at different MDIO addresses. This patch set does the necessary fixup to both u-boot's and Linux's DTS so that the PHYs are properly described. Florin Chiculita (2): board: fsl: lx2160ardb: add api for obtaining board re

Re: [PATCH 1/1] test: bootflow test depends on CONFIG_VIDEO

2023-05-31 Thread Heinrich Schuchardt
Tom Rini schrieb am Mi., 31. Mai 2023, 16:02: > On Wed, May 31, 2023 at 10:50:52AM +0200, Heinrich Schuchardt wrote: > > > qemu_arm64_defconfig with UNIT_TEST=y does not build. > > > > CONFIG_EXPO depends on CONFIG_VIDEO. Hence on platforms without video we > > must not enable unit tests invoking

Re: [PATCH 1/1] test: bootflow test depends on CONFIG_VIDEO

2023-05-31 Thread Tom Rini
On Wed, May 31, 2023 at 10:50:52AM +0200, Heinrich Schuchardt wrote: > qemu_arm64_defconfig with UNIT_TEST=y does not build. > > CONFIG_EXPO depends on CONFIG_VIDEO. Hence on platforms without video we > must not enable unit tests invoking expo functions. > > Fixes: fb1451bec2a5 ("bootstd: Add t

Re: [PATCH 2/2] config: stm32mp15: remove CONFIG_FASTBOOT_CMD_OEM_FORMAT

2023-05-31 Thread Patrice CHOTARD
On 5/30/23 14:26, Patrick Delaunay wrote: > Remove the support of the fastboot "oem format" command for STM32MP15x > boards and removed the associated env variable "partitions". > This command is not required; with fastboot tool, the GPT partition can > be handle with "flash" command in "gpt" ta

Re: [PATCH 1/2] config: stm32mp15: remove CONFIG_FASTBOOT_USB_DEV

2023-05-31 Thread Patrice CHOTARD
Hi Patrick On 5/30/23 14:26, Patrick Delaunay wrote: > The CONFIG_FASTBOOT_USB_DEV is used to select USB OTG controller other > than 0 but it is not the case for STM32MP15 boards; it can be removed > to simplify the STM32MP15 defconfig files. > > On STM32MP15x boards, we have only one USB device

Re: R: Fit Signature booting without public key

2023-05-31 Thread Tom Rini
On Wed, May 31, 2023 at 10:00:34AM +0530, Manorit Chawdhry wrote: > Hi, > > On 16:51-20230530, Pegorer Massimo wrote: > > Hi, > > > > > Inviato: venerdì 26 maggio 2023 15:00 > > > Oggetto: Re: Fit Signature booting without public key > > > > > > On Fri, May 26, 2023 at 02:22:38PM +0530, Manorit

Re: [PATCH 1/5] mtd/spinand: rework detect procedure for different READ_ID operation

2023-05-31 Thread Frieder Schrempf
On 31.05.23 14:58, Dario Binacchi wrote: > Hi Frieder, All > > On Wed, May 31, 2023 at 12:58 PM Frieder Schrempf > wrote: >> >> On 17.05.23 09:43, Frieder Schrempf wrote: >>> Hi Michael, hi Dario, >>> >>> On 15.05.23 23:33, Michael Nazzareno Trimarchi wrote: Hi Il lun 15 mag 2023,

Re: [PATCH 1/5] mtd/spinand: rework detect procedure for different READ_ID operation

2023-05-31 Thread Dario Binacchi
Hi Frieder, All On Wed, May 31, 2023 at 12:58 PM Frieder Schrempf wrote: > > On 17.05.23 09:43, Frieder Schrempf wrote: > > Hi Michael, hi Dario, > > > > On 15.05.23 23:33, Michael Nazzareno Trimarchi wrote: > >> Hi > >> > >> Il lun 15 mag 2023, 23:12 Tom Rini >> > ha

Loading from squashfs with zstd compression slower than ext4

2023-05-31 Thread Jonathan Liu
Hi All, I noticed that loading from squashfs with zstd compression is significantly slower than ext4 on RK3399 using U-Boot 2022.01. The filesystem is located on eMMC. I have CONFIG_BLOCK_CACHE=y in .config and am using the generic load command. ext4: 15682578 bytes read in 366 ms (40.9 MiB/s)

[PATCH v2 2/3] dt-bindings: power: add Meson A1 PWRC bindings

2023-05-31 Thread Alexey Romanov
We can use them in secure pwrc driver. Signed-off-by: Alexey Romanov --- include/dt-bindings/power/meson-a1-power.h | 32 ++ 1 file changed, 32 insertions(+) create mode 100644 include/dt-bindings/power/meson-a1-power.h diff --git a/include/dt-bindings/power/meson-a1-power.

[PATCH v2 3/3] drivers: meson: introduce secure power controller driver

2023-05-31 Thread Alexey Romanov
This patch adds Power controller driver support for Amlogic A1 family using secure monitor calls. The power domains register only can access in secure world. Signed-off-by: Alexey Romanov --- drivers/power/domain/Kconfig | 7 + drivers/power/domain/Makefile| 1 + driv

[PATCH v2 1/3] arch/arm: meson: sm: introduce power domain functions

2023-05-31 Thread Alexey Romanov
This commit adds functions to manage secure power domain for Amlogic SoC's using smc functionality. Signed-off-by: Alexey Romanov Reviewed-by: Neil Armstrong --- arch/arm/include/asm/arch-meson/sm.h | 30 arch/arm/mach-meson/sm.c | 14 + 2 fi

[PATCH v2 0/3] Meson Secure PWRC Driver

2023-05-31 Thread Alexey Romanov
Hello! This patch set adds support (driver and sm functions) for working with power domain controller using secure monitor for Amlogic A1-series. Additionally, in the future, the driver can be used for other Amlgoic SoC series, such as S4. Changes v1 -> v2: * Move dt-bindings into separate patch

Re: BTRFS Support btrload, btrls

2023-05-31 Thread Jonathan Liu
Hi Ottinger, Perhaps you can enable CONFIG_CMD_FS_GENERIC=y in your config and try to use the generic commands - size, load, save, ls, ln, fstype, fstypes? Regards, Jonathan On Tue, 30 May 2023 at 22:07, Ottinger Georg wrote: > > > Hi Everybody, > > I am currently evaluating filesystems that ca

Re: [PATCH 1/5] mtd/spinand: rework detect procedure for different READ_ID operation

2023-05-31 Thread Frieder Schrempf
On 17.05.23 09:43, Frieder Schrempf wrote: > Hi Michael, hi Dario, > > On 15.05.23 23:33, Michael Nazzareno Trimarchi wrote: >> Hi >> >> Il lun 15 mag 2023, 23:12 Tom Rini > > ha scritto: >> >> On Tue, May 09, 2023 at 09:09:28AM +0200, Frieder Schrempf wrote: >>

Re: [PATCH v2 3/3] drivers: meson: introduce secure power controller driver

2023-05-31 Thread neil . armstrong
On 31/05/2023 11:31, Alexey Romanov wrote: This patch adds Power controller driver support for Amlogic A1 family using secure monitor calls. The power domains register only can access in secure world. Signed-off-by: Alexey Romanov --- drivers/power/domain/Kconfig | 7 + drivers

Re: [PATCH v2 2/3] dt-bindings: power: add Meson A1 PWRC bindings

2023-05-31 Thread neil . armstrong
On 31/05/2023 11:31, Alexey Romanov wrote: We can use them in secure pwrc driver. Signed-off-by: Alexey Romanov --- include/dt-bindings/power/meson-a1-power.h | 32 ++ 1 file changed, 32 insertions(+) create mode 100644 include/dt-bindings/power/meson-a1-power.h diff -

  1   2   >