[PATCH v2 6/6] doc: capsule: Document the new mechanism to embed ESL file into dtb

2023-08-16 Thread Sughosh Ganu
Update the document to specify how the EFI Signature List(ESL) file can be embedded into the platform's dtb as part of the U-Boot build. Signed-off-by: Sughosh Ganu --- Changes since V1: None doc/develop/uefi/uefi.rst | 19 +-- 1 file changed, 5 insertions(+), 14 deletions(-)

[PATCH v2 5/6] test: capsule: Remove logic to add public key ESL

2023-08-16 Thread Sughosh Ganu
The public key EFI Signature List(ESL) needed for capsule authentication is now embedded into the platform's DTB as part of the build. Remove the superfluous logic from the test setup. Signed-off-by: Sughosh Ganu --- Changes since V1: None test/py/tests/test_efi_capsule/conftest.py | 28

[PATCH v2 4/6] sandbox: capsule: Add path to the public key ESL file

2023-08-16 Thread Sughosh Ganu
Add the path to the public key EFI Signature List(ESL) file for the sandbox variants which enable capsule authentication. This ESL file gets embedded into the platform's device-tree as part of the build. Signed-off-by: Sughosh Ganu --- Changes since V1: None configs/sandbox_defconfig

[PATCH v2 3/6] scripts/Makefile.lib: Embed capsule public key in platform's dtb

2023-08-16 Thread Sughosh Ganu
The EFI capsule authentication logic in u-boot expects the public key in the form of an EFI Signature List(ESL) to be provided as part of the platform's dtb. Currently, the embedding of the ESL file into the dtb needs to be done manually. Add a target for generating a dtsi file which contains the

[PATCH v2 2/6] scripts/Makefile.lib: Add dtsi include files as deps for building DTB

2023-08-16 Thread Sughosh Ganu
At the time of building the DTB, some dtsi files can be selected for inclusion. Have these dtsi files as dependencies for the DTB target. This also ensures generation or updating the dtsi files if need be. Signed-off-by: Sughosh Ganu --- Changes since V1: * New patch which only sets the

[PATCH v2 1/6] scripts/Makefile.lib: Collate all dtsi files for inclusion

2023-08-16 Thread Sughosh Ganu
At the time of building a device-tree file, all the *u-boot.dtsi files are looked for, in a particular order, and the first file found is included. Then, the list of files specified in the CONFIG_DEVICE_TREE_INCLUDES symbol are included. Combine these files that are to be included into a

[PATCH v2 0/6] capsule: Embed the public key ESL as part of build

2023-08-16 Thread Sughosh Ganu
This series takes a different approach to embedding the public key EFI Signature List(ESL) needed for capsule authentication into the platform's DTB. The earlier approach [1] was using a u-boot.dtsi file to embed the key. But this approach has a few issues. 1) The path of the incbin file is not

[PATCH v2 2/2] rockchip: rk356x: Enable poweroff command

2023-08-16 Thread Jonas Karlman
With PMIC_RK8XX, SYSRESET and CMD_POWEROFF options enabled it is possible to power down a board using the poweroff command and turn the board back on using a power button. Enable the poweroff command on RK356x boards that have a button wired to PMIC pwron. Signed-off-by: Jonas Karlman

[PATCH v2 1/2] power: pmic: rk8xx: Use sysreset implementation of the poweroff command

2023-08-16 Thread Jonas Karlman
Select SYSRESET_CMD_POWEROFF to use the sysreset implementation of the poweroff command when PMIC_RK8XX is enabled. Signed-off-by: Jonas Karlman Reviewed-by: Simon Glass --- v2: - Split patch - Collect r-b tag drivers/power/pmic/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH v2 0/2] rockchip: rk356x: Enable poweroff command

2023-08-16 Thread Jonas Karlman
This series enable CMD_POWEROFF on a few RK356x boards that have a power button wired to PMIC pwron. The poweroff command is useful for testing and make it possible to poweroff the device from U-Boot and have it turn back on when the power button is pressed. First patch ensure sysreset poweroff

Re: [PATCH 17/17] MAINTAINERS: Update UFS maintainer

2023-08-16 Thread Neha Malcom Francis
Hi Bhupesh, Marek On 16/08/23 02:16, Marek Vasut wrote: On 8/15/23 19:48, Bhupesh Sharma wrote: On Tue, 15 Aug 2023 at 04:01, Marek Vasut wrote: On 8/14/23 23:54, Bhupesh Sharma wrote: Since Faiz Abbas's email ID is no longer valid, drop him from UFS Maintainer list. Since I am using the

Re: [PATCH 1/3] k3-j721s2: Sync from linux-next tag next-20230815

2023-08-16 Thread Kumar, Udit
On 8/16/2023 5:14 PM, Nishanth Menon wrote: On 14:53-20230816, Manorit Chawdhry wrote: The following commit syncs the device tree from Linux tag next-20230815 to U-boot and fixes the following to be compatible with the future syncs - [..] +_timer0 { + /delete-property/ power

[PATCH v3 2/2] x86: Update cbmem driver

2023-08-16 Thread Simon Glass
This driver is not actually built since a Kconfig was never created for it. Add a Kconfig (which is already implied by COREBOOT) and update the implementation to avoid using unnecessary memory. Drop the #ifdef at the top since we can rely on Kconfig to get that right. To enable it (in addition

[PATCH v3 1/2] x86: coreboot: Update cbmem table

2023-08-16 Thread Simon Glass
This changed a few years ago to include an overflow flag. Bring in the new structure. This comes from coreboot commit: 6f5ead14b4 ("mb/google/nissa/var/joxer: Update eMMC DLL settings") Note: There are several implementations of this in coreboot. I have chosen to follow the one in

Re: [PATCH] x86: Update cbmem driver

2023-08-16 Thread Simon Glass
Hi Nable, On Tue, 15 Aug 2023 at 19:41, Nable wrote: > > On 15.08.2023 01:42, Simon Glass: > > I believe the original intent was to indicate that the buffer had > > overflowed. But prompted by your review I took a look at the coreboot > > implementation and it now has an overflow flag. > > > >

[PATCH 9/9] x86: coreboot: Enable VIDEO_COPY

2023-08-16 Thread Simon Glass
At least on modern machines the write-back mechanism for the frame buffer is quite slow when scrolling, since it must read the entire frame buffer and write it back. Enable the VIDEO_COPY feature to resolve this problem. Signed-off-by: Simon Glass --- arch/x86/dts/coreboot.dts| 1 +

[PATCH 8/9] bootstd: cros: Correct condition for reading the kernel

2023-08-16 Thread Simon Glass
A typo prevents this code from behaving as it should. The tests pass because they do not actually read the kernel. Fix the typo. Signed-off-by: Simon Glass --- boot/bootmeth_cros.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/boot/bootmeth_cros.c

[PATCH 7/9] x86: coreboot: Align options between coreboot and coreboot64

2023-08-16 Thread Simon Glass
These two builds are similar but have some different options for no good reason. Line them up to be as similar as possible. Signed-off-by: Simon Glass --- configs/coreboot64_defconfig | 7 ++- configs/coreboot_defconfig | 10 -- 2 files changed, 6 insertions(+), 11 deletions(-)

[PATCH 6/9] x86: coreboot: Drop USB init on startup

2023-08-16 Thread Simon Glass
This is very annoying as it is quite slow on many machines. Also, U-Boot has an existing 'preboot' mechanism to enable this feature if desired. Drop this code so that it is possible to choose whether to init USB or not. Signed-off-by: Simon Glass --- arch/x86/cpu/coreboot/coreboot.c | 4

[PATCH 5/9] x86: coreboot: Enable CONFIG_SYS_NS16550_MEM32

2023-08-16 Thread Simon Glass
The debug UART on modern machines uses a 32-bit wide transfer. Without this, setting debug output causes a hang or no output. It is not obvious (when enabling CONFIG_DEBUG_UART) that this is needed. Enable 32-bit access to avoid this trap. Signed-off-by: Simon Glass ---

[PATCH 4/9] x86: coreboot: Look for DBG2 UART in SPL too

2023-08-16 Thread Simon Glass
If coreboot does not set up sysinfo for the UART, SPL currently hangs. Use the DBG2 teechnique there as well. This allows coreboot64 to boot from coreboot even if the console info is missing from sysinfo Signed-off-by: Simon Glass --- configs/coreboot64_defconfig | 1 + drivers/serial/Kconfig

[PATCH 3/9] x86: Allow APCI in SPL

2023-08-16 Thread Simon Glass
This is needed so we can find the DBG2 table provided by coreboot. Add a Kconfig so it can be enabled. Signed-off-by: Simon Glass --- lib/Kconfig | 8 1 file changed, 8 insertions(+) diff --git a/lib/Kconfig b/lib/Kconfig index 42e559ad0b51..1d63099b8e18 100644 --- a/lib/Kconfig +++

[PATCH 2/9] x86: Set the CPU vendor in SPL

2023-08-16 Thread Simon Glass
We don't read this information in 64-bit mode, since we don't have the macros for doing it. Set it to Intel by default. This allows the TSC timer to work correctly. Signed-off-by: Simon Glass --- arch/x86/cpu/x86_64/cpu.c | 7 +++ 1 file changed, 7 insertions(+) diff --git

[PATCH 1/9] x86: coreboot: Rearrange arch_cpu_init()

2023-08-16 Thread Simon Glass
Init errors in SPL are currently ignored by this function. Change the code to init the CPU, reporting an error if something is wrong. After that, look for the coreboot table. Signed-off-by: Simon Glass --- arch/x86/cpu/coreboot/coreboot.c | 12 +--- 1 file changed, 9 insertions(+), 3

[PATCH 0/9] x86: Fixes and improvements for coreboot

2023-08-16 Thread Simon Glass
This little series fixes various bugs and annoyances in coreboot and coreboot64: - Make coreboot64 debug UART start reliably - Avoid the long USB-init delay on startup - Correct the timer speed on coreboo64 - Fix a bootstd cros bug (will likely be squashed into another patch) - Fix the terribly

Re: [RFC] dm: core: Report bootph-pre-ram/sram node as pre-reloc after relocation

2023-08-16 Thread Simon Glass
Hi Jonas, On Tue, 8 Aug 2023 at 20:03, Simon Glass wrote: > > Hi Jonas, > > On Sat, 5 Aug 2023 at 07:32, Jonas Karlman wrote: > > > > Devices for nodes with e.g. bootph-pre-ram are initialized three times. > > 1. At SPL stage (always bind and probe only if used) > > 2. At U-Boot proper

[PATCH] pci: pcie-brcmstb: do not rely on CLKREQ# signal

2023-08-16 Thread Sam Edwards
When the Broadcom STB PCIe controller is initialized, it must be set into one of three CLKREQ# modes: "none"/"aspm"/"l1ss". The Linux driver, through today, hard-codes "aspm" since the vast majority of boards using this driver have a fixed PCIe bus with the CLKREQ# signal wired up. The Raspberry

Re: U-Boot logging

2023-08-16 Thread Simon Glass
Hi Massimo, On Tue, 15 Aug 2023 at 13:01, Massimo Pegorer wrote: > > Hi > > I had a trip into U-Boot logging and I am quite confused. I read the > documentation at doc/develop/logging.rst and had a look at source code > in log.h log.c printk.h Kconfig and other files, but the picture is > still

Re: [PATCH v2 2/2] nvmxip: add sandbox support

2023-08-16 Thread Marek Vasut
On 8/16/23 18:39, Abdellatif El Khlifi wrote: Hi Marek, Hi, Please kindly find my comments below. arch/sandbox/dts/sandbox.dts | 14 ++ Please separate DT change configs/sandbox_defconfig | 4 ++-- Config change too, separate patch that goes last. This

Re: [PULL] Pull request for u-boot master / v2023.10 = u-boot-stm32_20230816

2023-08-16 Thread Tom Rini
On Wed, Aug 16, 2023 at 05:07:31PM +0200, Patrice CHOTARD wrote: > Hi Tom > > Please pull the STM32 related fixes for u-boot/master, v2023.10: > u-boot-stm32-20230816 > > CI status: > https://source.denx.de/u-boot/custodians/u-boot-stm/-/pipelines/17388 > > The fol

Re: [PATCH 2/5] scripts/Makefile.lib: Embed capsule public key in platform's dtb

2023-08-16 Thread Tom Rini
On Wed, Aug 16, 2023 at 09:58:42AM +0530, Sughosh Ganu wrote: > hi Simon, > > On Wed, 16 Aug 2023 at 00:09, Simon Glass wrote: > > > > Hi Sughosh, > > > > On Tue, 15 Aug 2023 at 10:26, Sughosh Ganu wrote: > > > > > > The EFI capsule authentication logic in u-boot expects the public key > > > in

Re: [PATCHv6 07/14] net/lwip: implement ping cmd

2023-08-16 Thread Maxim Uvarov
On Wed, 16 Aug 2023 at 20:39, Simon Glass wrote: > Hi Maxim, > > On Wed, 16 Aug 2023 at 03:09, Maxim Uvarov > wrote: > > > > On Wed, 16 Aug 2023 at 14:42, Ilias Apalodimas < > ilias.apalodi...@linaro.org> > > wrote: > > > > > On Mon, Aug 14, 2023 at 07:32:46PM +0600, Maxim Uvarov wrote: > > > >

Re: [PATCH 1/1] doc: add partition API to HTML documentation

2023-08-16 Thread Heinrich Schuchardt
OK thank you, I will send an mail about it. Do you think you could base your part on [1], since I changed the same file? It is available at u-boot-dm/methb-working The patch is already merged: commit 5aae021c30940a57862c1ea6a3cf8eeb88ca2c1c Best regards Heinrich

Re: Booting Windows 11

2023-08-16 Thread Heinrich Schuchardt
Hello Simon, these are the EFI configuration tables that EDK II is publishing: Configuration tables: ee4e5898-3914-4259-9d6e-dc7bd79403cf 05ad34ba-6f02-4214-952e-4da0398e2bb9 7739f24c-93d7-11d4-9a3a-0090273fc14d 4c19049f-4137-4dd3-9c10-8b97a83ffdfa 49152e77-1ada-4764-b7a2-7afefed95e8b

Re: Doc style for method functions

2023-08-16 Thread Simon Glass
Hi Jonathan, On Wed, 16 Aug 2023 at 11:15, Jonathan Corbet wrote: > > Simon Glass writes: > > > Hi Jonathan, > > > > I would like to do something like this: > > > > struct part_driver { > >/** > > * get_info() - Get information about a partition > > > > ^ causes error > >

[PATCH v2 5/5] HACK: sunxi: psci: be compatible with v1 of R528 patchset

2023-08-16 Thread Sam Edwards
This is a hack for reviewer QoL. It is not being submitted for mainline inclusion. --- arch/arm/cpu/armv7/sunxi/psci.c | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/cpu/armv7/sunxi/psci.c b/arch/arm/cpu/armv7/sunxi/psci.c index b4ce4f6def..27bac291d5 100644 ---

[PATCH v2 4/5] sunxi: psci: implement PSCI on R528

2023-08-16 Thread Sam Edwards
This patch adds the necessary code to make nonsec booting and PSCI secondary core management functional on the R528/T113. Signed-off-by: Sam Edwards Tested-by: Maksim Kiselev --- arch/arm/cpu/armv7/sunxi/psci.c | 48 - arch/arm/mach-sunxi/Kconfig | 2 ++

[PATCH v2 3/5] sunxi: psci: stop modeling register layout with C structs

2023-08-16 Thread Sam Edwards
Since the sunxi support nowadays generally prefers #defined register offsets instead of modeling register layouts using C structs, now is a good time to do this for PSCI as well. This patch moves away from using the structs `sunxi_cpucfg_reg` and `sunxi_prcm_reg` in psci.c. The former struct and

[PATCH v2 2/5] sunxi: psci: refactor register access to separate functions

2023-08-16 Thread Sam Edwards
This is to prepare for R528, which does not have the typical "CPUCFG" block; it has a "CPUX" block which provides these same functions but is organized differently. Moving the hardware-access bits to their own functions separates the logic from the hardware so we can reuse the same logic.

[PATCH v2 1/5] sunxi: psci: clean away preprocessor macros

2023-08-16 Thread Sam Edwards
This patch restructures psci.c to get away from the "many different function definitions switched by #ifdef" paradigm to the preferred style of having a single function definition with `if (IS_ENABLED(...))` to make the optimizer include only the appropriate function bodies instead. There are no

[PATCH v2 0/5] Allwinner R528/T113s PSCI

2023-08-16 Thread Sam Edwards
Hi list, This is the second version of my patchset for supporting PSCI (i.e. second core bringup) on R528/T113-s#, incorporating most of the feedback from Andre. I do not expect the final two patches in this series to be winners yet. There's still some back-and-forth going on to sync them up

Doc style for method functions

2023-08-16 Thread Simon Glass
Hi Jonathan, I would like to do something like this: struct part_driver { /** * get_info() - Get information about a partition ^ causes error * * @desc: Block device descriptor * @part: Partition number (1 = first) * @info: Returns partition information

Re: [PATCH 1/1] doc: add partition API to HTML documentation

2023-08-16 Thread Simon Glass
Hi Heinrich, On Tue, 15 Aug 2023 at 09:18, Heinrich Schuchardt wrote: > > > > On 8/15/23 16:44, Simon Glass wrote: > > Hi Heinrich, > > > > On Tue, 15 Aug 2023 at 04:32, Heinrich Schuchardt > > wrote: > >> > >> * Convert comments in part.h to Sphinx style. > >> * Create documentation page for

Re: [PATCH v2 2/2] nvmxip: add sandbox support

2023-08-16 Thread Abdellatif El Khlifi
Hi Marek, Please kindly find my comments below. > > arch/sandbox/dts/sandbox.dts | 14 ++ > > Please separate DT change > > > configs/sandbox_defconfig | 4 ++-- > > Config change too, separate patch that goes last. This commit is doing 1 thing: adding 32-bit

Re: [PATCH v3 5/9] board_f: Fix corruption of relocaddr

2023-08-16 Thread Devarsh Thakkar
Hi Simon, On 15/08/23 20:14, Simon Glass wrote: > Hi Devarsh, > > On Tue, 15 Aug 2023 at 03:23, Devarsh Thakkar wrote: >> >> Hi Simon, Tom, >> >> On 15/08/23 04:13, Simon Glass wrote: >>> Hi Devarsh, Nikhil, Tom, >>> >>> On Wed, 9 Aug 2023 at 09:29, Bin Meng wrote: On Thu, Aug 3,

Re: [PATCH 3/3] docs: ti: j721s2_evm: Create documentation from J7200 docs

2023-08-16 Thread Nishanth Menon
On 14:53-20230816, Manorit Chawdhry wrote: > The documentation is based off J7200 documentation tailored for J721S2. > > TRM for J721S2: https://www.ti.com/lit/pdf/spruj28 > Product Page: https://www.ti.com/product/TDA4AL-Q1 > > Signed-off-by: Manorit Chawdhry &g

Re: [PATCH v2 1/2] log: select physical address formatting in a generic way

2023-08-16 Thread Marek Vasut
On 8/16/23 16:39, Simon Glass wrote: Hi Marek, On Wed, 16 Aug 2023 at 05:13, Marek Vasut wrote: On 8/16/23 13:05, Abdellatif El Khlifi wrote: sets the log formatting according to the platform (64-bit vs 32-bit) Use imperative mood please, see

Re: FIT Image not working in U-Boot

2023-08-16 Thread Simon Glass
Hi Freddie, On Wed, 16 Aug 2023 at 08:25, Freddie wrote: > > Hi, > > I am trying to attempt to build a verified boot solution using Flattened > Image Trees on a Raspberry Pi 3B + > I have looked at a couple of guides online about how to do this, however > they seem quite out of date and it

Re: [RESEND PATCH v3 0/3] rpi: Convert to standard boot

2023-08-16 Thread Simon Glass
Hi Matthias, Peter, On Thu, 27 Jul 2023 at 15:54, Simon Glass wrote: > > This series moves Raspberry Pi boards over to use standard boot. > > It also moves rpi over to use a text-based environment. Unfortunately it > is not possible to empty the header file due to several CFG options. > > Fix

[PULL] Pull request for u-boot master / v2023.10 = u-boot-stm32_20230816

2023-08-16 Thread Patrice CHOTARD
Hi Tom Please pull the STM32 related fixes for u-boot/master, v2023.10: u-boot-stm32-20230816 CI status: https://source.denx.de/u-boot/custodians/u-boot-stm/-/pipelines/17388 The following changes since commit 9b54b0e37b72aa9bfff09cbbe13465abfa143f84: Merge tag 'efi-2023-10-rc3' of https

[PATCH v2 7/7] ufs: Implement cache management

2023-08-16 Thread Marek Vasut
Add function to flush and invalidate cache over request and response queue entries, and perform flush and optional invalidate over block layer data that are passed into the UFS layer. This makes it possible to use UFS with caches enabled. Signed-off-by: Marek Vasut --- Cc: Bhupesh Sharma Cc:

[PATCH v2 6/7] ufs: Use utp_transfer_req_desc pointer in ufshcd_get_tr_ocs

2023-08-16 Thread Marek Vasut
Use utp_transfer_req_desc pointer to reference to utrdl queue instead of referencing the queue directly. This makes the code more consistent. No functional change. Signed-off-by: Marek Vasut --- Cc: Bhupesh Sharma Cc: Faiz Abbas --- V2: No change --- drivers/ufs/ufs.c | 4 +++- 1 file

[PATCH v2 2/7] ufs: Add UFSHCD_QUIRK_BROKEN_64BIT_ADDRESS

2023-08-16 Thread Marek Vasut
Add UFSHCD_QUIRK_BROKEN_64BIT_ADDRESS for host controllers which do not support 64-bit addressing. Ported from Linux kernel commit 6554400d6f66 ("scsi: ufs: core: Add UFSHCD_QUIRK_BROKEN_64BIT_ADDRESS") with ufs_scsi_buffer_aligned() based on U-Boot generic bounce buffer. Signed-off-by: Marek

[PATCH v2 5/7] ufs: Pass hba pointer to ufshcd_prepare_req_desc_hdr()

2023-08-16 Thread Marek Vasut
Pass the hba pointer itself to ufshcd_prepare_req_desc_hdr() instead of duplicating utp_transfer_req_desc access at each call site. No functional change. Signed-off-by: Marek Vasut --- Cc: Bhupesh Sharma Cc: Faiz Abbas --- V2: No change --- drivers/ufs/ufs.c | 9 - 1 file changed, 4

[PATCH v2 3/7] ufs: Add UFSHCD_QUIRK_HIBERN_FASTAUTO

2023-08-16 Thread Marek Vasut
Add UFSHCD_QUIRK_HIBERN_FASTAUTO quirk for host controllers which supports auto-hibernate the capability but only FASTAUTO mode. Ported from Linux kernel commit 2f11bbc2c7f3 ("scsi: ufs: core: Add UFSHCD_QUIRK_HIBERN_FASTAUTO") Signed-off-by: Marek Vasut --- Cc: Bhupesh Sharma Cc: Faiz Abbas

[PATCH v2 4/7] ufs: Handle UFS 3.0 controllers

2023-08-16 Thread Marek Vasut
Extend the version check to handle UFS 3.0 controllers as well. Tested on R-Car S4 UFS 3.0 controller. Signed-off-by: Marek Vasut --- Cc: Bhupesh Sharma Cc: Faiz Abbas --- V2: No change --- drivers/ufs/ufs.c | 3 ++- drivers/ufs/ufs.h | 1 + 2 files changed, 3 insertions(+), 1 deletion(-)

[PATCH v2 1/7] ufs: Convert quirks to BIT() macro

2023-08-16 Thread Marek Vasut
Use BIT() macro for quirks, no functional change. Signed-off-by: Marek Vasut --- Cc: Bhupesh Sharma Cc: Faiz Abbas --- V2: New patch --- drivers/ufs/ufs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/ufs/ufs.h b/drivers/ufs/ufs.h index 8a38832b05f..5a5c13aefdf

Re: [PATCH 2/4] configs: at91: sam9x60: Switch to new reset driver

2023-08-16 Thread Eugen Hristev
On 8/16/23 16:42, Alexander Dahl wrote: Hei hei, Am Wed, Aug 16, 2023 at 03:48:25PM +0300 schrieb Eugen Hristev: Hi Alexander, On 8/9/23 17:16, Alexander Dahl wrote: Since commit 61040097a9d1 ("reset: at91: Add reset driver for basic assert/deassert operations") the compatible

Re: [PATCH v2 1/2] log: select physical address formatting in a generic way

2023-08-16 Thread Simon Glass
Hi Marek, On Wed, 16 Aug 2023 at 05:13, Marek Vasut wrote: > > On 8/16/23 13:05, Abdellatif El Khlifi wrote: > > sets the log formatting according to the platform (64-bit vs 32-bit) > > Use imperative mood please, see >

Re: [PATCHv6 07/14] net/lwip: implement ping cmd

2023-08-16 Thread Simon Glass
Hi Maxim, On Wed, 16 Aug 2023 at 03:09, Maxim Uvarov wrote: > > On Wed, 16 Aug 2023 at 14:42, Ilias Apalodimas > wrote: > > > On Mon, Aug 14, 2023 at 07:32:46PM +0600, Maxim Uvarov wrote: > > > * can return immediately if previous request was cached or it might > > require > > > @@ -38,3

RE: [PATCH v5 2/2] serial: zynqmp: Fetch baudrate from dtb and update

2023-08-16 Thread Abbarapu, Venkatesh
Hi Simon, > -Original Message- > From: Simon Glass > Sent: Tuesday, June 13, 2023 2:48 AM > To: Abbarapu, Venkatesh > Cc: u-boot@lists.denx.de; Simek, Michal ; > g...@xilinx.com; Algapally, Santosh Sagar > Subject: Re: [PATCH v5 2/2] serial: zynqmp: Fetch baudrate from dtb and > update

FIT Image not working in U-Boot

2023-08-16 Thread Freddie
Hi, I am trying to attempt to build a verified boot solution using Flattened Image Trees on a Raspberry Pi 3B + I have looked at a couple of guides online about how to do this, however they seem quite out of date and it hasn't worked. The two main guides I have looked at: #3066

Re: Booting Windows 11

2023-08-16 Thread Simon Glass
Hi Ilias, On Wed, 16 Aug 2023 at 01:11, Ilias Apalodimas wrote: > > Hi Simon, > > On Tue, Aug 15, 2023 at 07:22:56PM -0600, Simon Glass wrote: > > Hi Heinrich, > > > > I thought I would try booting Windows on U-Boot but it does not get > > very far. Have you tried that? I note a ew odd things

Re: Booting Windows 11

2023-08-16 Thread Simon Glass
Hi Heinrich, On Wed, 16 Aug 2023 at 04:50, Heinrich Schuchardt wrote: > > On 8/16/23 09:41, Heinrich Schuchardt wrote: > > On 8/16/23 03:22, Simon Glass wrote: > >> Hi Heinrich, > >> > >> I thought I would try booting Windows on U-Boot but it does not get > >> very far. Have you tried that? I

Re: [PATCH 2/5] drivers: security: Add TPM2 implementation of security devices

2023-08-16 Thread Ilias Apalodimas
On Mon, Aug 14, 2023 at 02:23:22PM -0700, Sean Edmond wrote: > > On 2023-08-14 1:39 a.m., Ilias Apalodimas wrote: > > Hi Sean > > > > On Sat, 12 Aug 2023 at 03:28, wrote: > > > From: Stephen Carlson > > > > > > This implementation of the security uclass driver allows existing TPM2 > > >

Re: [PATCH] board: stm32mp1: add splash screen with stmicroelectronics logo

2023-08-16 Thread Patrice CHOTARD
On 7/10/23 13:30, Patrick Delaunay wrote: > Display the STMicroelectronics logo with features VIDEO_LOGO and > SPLASH_SCREEN on STMicroelectronics boards. > > With CONFIG_SYS_VENDOR = "st", the logo st.bmp is selected, loaded at the > address indicated by splashimage and centered with

Re: [PATCH 3/4] at91: sam9x60-curiosity: Add proper LED support

2023-08-16 Thread Alexander Dahl
Hello Eugen, Am Wed, Aug 16, 2023 at 03:49:54PM +0300 schrieb Eugen Hristev: > Hi Alexander, > > On 8/9/23 17:16, Alexander Dahl wrote: > > Copied dts pieces from Linux Kernel. Support is optional for now, to > > make it work the following options have to be enabled: CONFIG_LED, > >

Re: [PATCH 2/4] configs: at91: sam9x60: Switch to new reset driver

2023-08-16 Thread Alexander Dahl
Hei hei, Am Wed, Aug 16, 2023 at 03:48:25PM +0300 schrieb Eugen Hristev: > > Hi Alexander, > > On 8/9/23 17:16, Alexander Dahl wrote: > > Since commit 61040097a9d1 ("reset: at91: Add reset driver for basic > > assert/deassert operations") the compatible "microchip,sam9x60-rstc" for > > the

Re: [PATCH] serial: stm32: extend TC timeout

2023-08-16 Thread Patrice CHOTARD
On 8/4/23 16:09, Patrice Chotard wrote: > From: Valentin Caron > > Waiting 150us TC bit couldn't be enough. > > If TFA lets 16 bits in USART fifo, we has to wait 16 times 87 us (time > of 10 bits (1 byte in most use cases) at a baud rate of 115200). > > Fixes: b4dbc5d65a67 ("serial: stm32:

Re: [PATCH v2] ARM: dts: stm32: Switch DWMAC RMII clock to MCO2 on DHCOM

2023-08-16 Thread Patrice CHOTARD
On 7/27/23 01:58, Marek Vasut wrote: > The DHCOM SoM has two options for supplying ETHRX clock to the DWMAC > block and PHY. Either (1) ETHCK_K generates 50 MHz clock on ETH_CLK > pad for the PHY and the same 50 MHz clock are fed back to ETHRX via > internal eth_clk_fb clock connection OR (2)

Re: [PATCH 1/6] ufs: Add UFSHCD_QUIRK_BROKEN_64BIT_ADDRESS

2023-08-16 Thread Marek Vasut
On 8/16/23 00:05, Bhupesh Sharma wrote: On Wed, 16 Aug 2023 at 03:10, Marek Vasut wrote: On 8/15/23 23:08, Bhupesh Sharma wrote: On Wed, 16 Aug 2023 at 02:31, Marek Vasut wrote: On 8/15/23 22:04, Bhupesh Sharma wrote: Hi Marek, On 8/14/23 5:22 AM, Marek Vasut wrote: Add

Re: [PATCH 2/2] ARM: dts: sm32mp13: remove shmem for scmi-optee

2023-08-16 Thread Patrice CHOTARD
On 7/10/23 10:44, Patrick Delaunay wrote: > CFG_STM32MP1_SCMI_SHM_SYSRAM will be disabled by default for STM32MP13x > SoCs in next OP-TEE version and the OP-TEE SMCI server uses the OP-TEE > native shared memory registered by clients. > > To be compatible by default with this configuration

Re: [PATCH 1/2] ARM: dts: sm32mp15: remove shmem for scmi-optee

2023-08-16 Thread Patrice CHOTARD
On 7/10/23 10:44, Patrick Delaunay wrote: > Since OP-TEE commit 89ba3422ee80 ("plat-stm32mp1: scmi_server: default > use OP-TEE shared memory"), integrated in OP-TEE 3.22.0-rc1 > the default configuration for STM32MP15x SoCs changes, > CFG_STM32MP1_SCMI_SHM_SYSRAM is disabled by default and the

Re: [PATCH] ARM: dts: stm32mp: alignment with v6.4

2023-08-16 Thread Patrice CHOTARD
On 7/10/23 10:38, Patrick Delaunay wrote: > Device tree alignment with Linux kernel v6.4. > > Signed-off-by: Patrick Delaunay > --- > > arch/arm/dts/stm32mp13-pinctrl.dtsi | 129 > arch/arm/dts/stm32mp131.dtsi| 99 - >

Re: [PATCH] ARM: stm32: Inhibit PDDS because CSTBYDIS is set

2023-08-16 Thread Patrice CHOTARD
On 7/6/23 23:32, Marek Vasut wrote: > The PWR_MPUCR CSTBYDIS bit is set, therefore the CA cores can never > enter CStandby state and would always end up in CStop state. Clear > the PDDS bit, which indicates the CA cores can enter CStandby state > as it makes little sense to keep it set with

Re: [RESEND PATCH] ARM: dts: stm32: fix display pinmux for stm32f746-disco

2023-08-16 Thread Patrice CHOTARD
On 7/3/23 18:02, Dario Binacchi wrote: > As reported by the datasheet (DocID027590 Rev 4) for PG12: > - AF9 -> LCD_B4 > - AF14 -> LCD_B1 > > So replace AF14 with AF9 for PG12 in the dts. > > Fixes: fe63d3cfb77ef ("ARM: dts: stm32: Sync DT with v4.20 kernel for > stm32f7") > Signed-off-by:

Re: [PATCH] ARM: stm32: Power cycle Buck3 in reset on DHSOM

2023-08-16 Thread Marek Vasut
On 8/16/23 15:22, Patrice CHOTARD wrote: On 7/10/23 23:43, Marek Vasut wrote: On 6/17/23 02:36, Marek Vasut wrote: On 6/16/23 15:04, Patrick DELAUNAY wrote: Hi, Hi, [   39.426015] Disabling non-boot CPUs ... [   39.448635] Retrying again to check for CPU kill [   39.451909] CPU1 killed.

Re: [RESEND PATCH] ARM: dts: stm32: fix display pinmux for stm32f746-disco

2023-08-16 Thread Patrice CHOTARD
On 7/3/23 18:02, Dario Binacchi wrote: > As reported by the datasheet (DocID027590 Rev 4) for PG12: > - AF9 -> LCD_B4 > - AF14 -> LCD_B1 > > So replace AF14 with AF9 for PG12 in the dts. > > Fixes: fe63d3cfb77ef ("ARM: dts: stm32: Sync DT with v4.20 kernel for > stm32f7") > Signed-off-by:

Re: [PATCH] clk: stm32mp1: remove error for disabled clock in stm32mp1_clk_get_parent

2023-08-16 Thread Patrice CHOTARD
On 6/23/23 15:05, Patrick Delaunay wrote: > To disabled a clock in clock tree initialization for a mux of STM32MP15, > the selected clock source index is set with the latest possible index for > the number of bit used. Today this valid configuration cause a error > in U-Boot messages, for

Re: [PATCH] ARM: stm32: Power cycle Buck3 in reset on DHSOM

2023-08-16 Thread Patrice CHOTARD
On 7/10/23 23:43, Marek Vasut wrote: > On 6/17/23 02:36, Marek Vasut wrote: >> On 6/16/23 15:04, Patrick DELAUNAY wrote: >>> Hi, >> >> Hi, >> [   39.426015] Disabling non-boot CPUs ... [   39.448635] Retrying again to check for CPU kill [   39.451909] CPU1 killed. U-Boot SPL

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

2023-08-16 Thread Bin Meng
Hi Mittelstaedt, On Wed, Aug 16, 2023 at 9:06 PM Mittelstaedt Thomas (XC-CT/EBV3) wrote: > > Hi Bin, > > I have never done this. Can you give me some hints: > > - Base version of U-boot > - Path and filename for "efi-payload doc" > - Some info about format of doc file and /or example to have a

Re: [PATCH 1/5] drivers: security: Add security devices to driver model

2023-08-16 Thread Ilias Apalodimas
Hi Sean On Sat, 12 Aug 2023 at 03:28, wrote: > > From: Stephen Carlson > > Security devices currently implement operations to store an OS > anti-rollback monotonic counter. Existing devices such as the Trusted > Platform Module (TPM) already support this operation, but this uclass > provides

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

2023-08-16 Thread Mittelstaedt Thomas (XC-CT/EBV3)
Hi Bin, I have never done this. Can you give me some hints: - Base version of U-boot - Path and filename for "efi-payload doc" - Some info about format of doc file and /or example to have a look for Mit freundlichen Grüßen / Best regards Thomas Mittelstaedt Cross-Domain Computing Solutions,

Re: [Uboot-stm32] [PATCH] board: stm32mp1: add splash screen with stmicroelectronics logo

2023-08-16 Thread Patrice CHOTARD
On 8/16/23 14:08, Patrice CHOTARD wrote: > > > On 8/14/23 16:35, Dario Binacchi wrote: >> Patrice, All >> >> On Mon, Aug 7, 2023 at 9:41 AM Patrice CHOTARD >> wrote: >>> >>> >>> >>> On 7/10/23 21:02, Dario Binacchi wrote: Hi Patrick, On Mon, Jul 10, 2023 at 1:31 PM Patrick

Re: [PATCH 1/4] configs: at91: sam9x60_curiosity: Sync both defconfig variants

2023-08-16 Thread Alexander Dahl
Hello Eugen, thanks for your review, my comments below … Am Wed, Aug 16, 2023 at 03:46:09PM +0300 schrieb Eugen Hristev: > Hi Alexander, > > On 8/9/23 17:16, Alexander Dahl wrote: > > The board has two SD card slots and we have two defconfigs for booting > > from either the first (micro SD)

[U-Boot][PATCH v2] board: stm32mp1: add splash screen with stmicroelectronics logo

2023-08-16 Thread patrice.chotard
From: Patrick Delaunay Display the STMicroelectronics logo with features VIDEO_LOGO and SPLASH_SCREEN on STMicroelectronics boards. With CONFIG_SYS_VENDOR = "st", the logo st.bmp is selected, loaded at the address indicated by splashimage and centered with "splashpos=m,m". Signed-off-by:

Re: [PATCH 4/4] ARM: dts: at91: sam9x60-curiosity: Add user button support

2023-08-16 Thread Eugen Hristev
Hi Alexander, On 8/9/23 17:16, Alexander Dahl wrote: Copied as is from Linux Kernel. Works out of the box if the following config options are enabled: CONFIG_BUTTON, CONFIG_BUTTON_GPIO, CONFIG_CMD_BUTTON, CONFIG_DM_GPIO. Can you please indicate the Linux commit which was picked, thanks !

Re: [PATCH 3/4] at91: sam9x60-curiosity: Add proper LED support

2023-08-16 Thread Eugen Hristev
Hi Alexander, On 8/9/23 17:16, Alexander Dahl wrote: Copied dts pieces from Linux Kernel. Support is optional for now, to make it work the following options have to be enabled: CONFIG_LED, CONFIG_LED_GPIO, CONFIG_CMD_LED. Signed-off-by: Alexander Dahl ---

Re: [PATCH 2/4] configs: at91: sam9x60: Switch to new reset driver

2023-08-16 Thread Eugen Hristev
Hi Alexander, On 8/9/23 17:16, Alexander Dahl wrote: Since commit 61040097a9d1 ("reset: at91: Add reset driver for basic assert/deassert operations") the compatible "microchip,sam9x60-rstc" for the sam9x60 reset controller in sam9x60.dtsi is not handled by CONFIG_SYSRESET_AT91 anymore, but by

Re: [PATCH 1/4] configs: at91: sam9x60_curiosity: Sync both defconfig variants

2023-08-16 Thread Eugen Hristev
Hi Alexander, On 8/9/23 17:16, Alexander Dahl wrote: The board has two SD card slots and we have two defconfigs for booting from either the first (micro SD) named 'sam9x60_curiosity_mmc_defconfig' or the second (full size SD) named 'sam9x60_curiosity_mmc1_defconfig'. For comparable Microchip

Re: [PATCHv6 03/14] net/lwip: implement dns cmd

2023-08-16 Thread Maxim Uvarov
On Wed, 16 Aug 2023 at 17:54, Ilias Apalodimas wrote: > On Wed, 16 Aug 2023 at 14:01, Maxim Uvarov > wrote: > > > > > > > > On Wed, 16 Aug 2023 at 16:26, Ilias Apalodimas < > ilias.apalodi...@linaro.org> wrote: > >> > >> On Tue, 15 Aug 2023 at 17:42, Tom Rini wrote: > >> > > >> > On Tue, Aug

Re: [PATCH] board: stm32mp1: add splash screen with stmicroelectronics logo

2023-08-16 Thread Patrice CHOTARD
On 8/14/23 16:35, Dario Binacchi wrote: > Patrice, All > > On Mon, Aug 7, 2023 at 9:41 AM Patrice CHOTARD > wrote: >> >> >> >> On 7/10/23 21:02, Dario Binacchi wrote: >>> Hi Patrick, >>> >>> On Mon, Jul 10, 2023 at 1:31 PM Patrick Delaunay >>> wrote: Display the STMicroelectronics

Re: [PATCHv6 03/14] net/lwip: implement dns cmd

2023-08-16 Thread Ilias Apalodimas
On Wed, 16 Aug 2023 at 14:01, Maxim Uvarov wrote: > > > > On Wed, 16 Aug 2023 at 16:26, Ilias Apalodimas > wrote: >> >> On Tue, 15 Aug 2023 at 17:42, Tom Rini wrote: >> > >> > On Tue, Aug 15, 2023 at 06:42:14PM +0600, Maxim Uvarov wrote: >> > > On Mon, 14 Aug 2023 at 20:19, Ilias Apalodimas

Re: [PATCH 1/3] k3-j721s2: Sync from linux-next tag next-20230815

2023-08-16 Thread Nishanth Menon
On 14:53-20230816, Manorit Chawdhry wrote: > The following commit syncs the device tree from Linux tag > next-20230815 to U-boot and fixes the following to be compatible with > the future syncs - NAK - please use 6.5-rc1 as baseline to integrate. we can use v6.6-rc1 once that occurs to

Re: [PATCH v2 2/2] nvmxip: add sandbox support

2023-08-16 Thread Marek Vasut
On 8/16/23 13:05, Abdellatif El Khlifi wrote: enable the 32-bit version of sandbox Initially NVMXIP came with sandbox64 support. Let's enable sandbox support as well. Signed-off-by: Abdellatif El Khlifi Cc: Tom Rini Cc: Simon Glass Cc: Marek Vasut --- Changelog: === v2: *

Re: [PATCH v2 1/2] log: select physical address formatting in a generic way

2023-08-16 Thread Marek Vasut
On 8/16/23 13:05, Abdellatif El Khlifi wrote: sets the log formatting according to the platform (64-bit vs 32-bit) Use imperative mood please, see https://www.kernel.org/doc/html/latest/process/submitting-patches.html#describe-your-changes Signed-off-by: Abdellatif El Khlifi Cc: Simon Glass

[PATCH v2 2/2] nvmxip: add sandbox support

2023-08-16 Thread Abdellatif El Khlifi
enable the 32-bit version of sandbox Initially NVMXIP came with sandbox64 support. Let's enable sandbox support as well. Signed-off-by: Abdellatif El Khlifi Cc: Tom Rini Cc: Simon Glass Cc: Marek Vasut --- Changelog: === v2: * split into 2 commits: one for sandbox 32-bit

[PATCH v2 1/2] log: select physical address formatting in a generic way

2023-08-16 Thread Abdellatif El Khlifi
sets the log formatting according to the platform (64-bit vs 32-bit) Signed-off-by: Abdellatif El Khlifi Cc: Simon Glass --- cmd/armffa.c | 8 include/log.h | 9 + 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/cmd/armffa.c b/cmd/armffa.c index

Re: [PATCHv6 03/14] net/lwip: implement dns cmd

2023-08-16 Thread Maxim Uvarov
On Wed, 16 Aug 2023 at 16:26, Ilias Apalodimas wrote: > On Tue, 15 Aug 2023 at 17:42, Tom Rini wrote: > > > > On Tue, Aug 15, 2023 at 06:42:14PM +0600, Maxim Uvarov wrote: > > > On Mon, 14 Aug 2023 at 20:19, Ilias Apalodimas < > ilias.apalodi...@linaro.org> > > > wrote: > > > > > > [...] > > >

Re: Booting Windows 11

2023-08-16 Thread Heinrich Schuchardt
On 8/16/23 09:41, Heinrich Schuchardt wrote: On 8/16/23 03:22, Simon Glass wrote: Hi Heinrich, I thought I would try booting Windows on U-Boot but it does not get very far. Have you tried that? I note a ew odd things below. Is there a validation suite for it?

  1   2   >