Re: [PATCH v2 14/20] efi: x86: Use the installed SMBIOS tables

2023-08-17 Thread Ilias Apalodimas
On Fri, 18 Aug 2023 at 04:19, Heinrich Schuchardt wrote: > > > > Am 18. August 2023 02:26:53 MESZ schrieb Simon Glass : > >U-Boot sets up the SMBIOS tables during startup. Rather than creating a > >new set, install the existing ones. Rely on the ACPI table's memory-map > >record to cover the table

Re: [PATCH v2 11/20] efi: x86: Correct the condition for installing ACPI tables

2023-08-17 Thread Ilias Apalodimas
On Fri, 18 Aug 2023 at 04:40, Heinrich Schuchardt wrote: > > > > Am 18. August 2023 02:26:50 MESZ schrieb Simon Glass : > >It is not always the case that U-Boot builds the ACPI tables itself. For > >example, when booting from coreboot, the ACPI tables are built by > >coreboot. > > > >Correct the M

[PATCH v2 2/2] riscv: cpu: make riscv_cpu_probe to EVT_DM_POST_INIT_R callback

2023-08-17 Thread Chanho Park
Since the Patch 55171aedda88, VisionFive2 booting has been broken [1]. VisionFive2 board requires to enable CONFIG_TIMER_EARLY but booting went to panic from initr_dm_devices due to lack of a timer device. - Error logs initcall sequence fffd8d38 failed at call 402185e4 (err=-19) T

[PATCH v2 0/2] introduce EVT_DM_POST_INIT_R to fix VF2 boot fail

2023-08-17 Thread Chanho Park
Since the Patch 55171aedda88, VisionFive2 booting has been broken [1]. VisionFive2 board requires to enable CONFIG_TIMER_EARLY but booting went to panic from initr_dm_devices due to lack of a timer device. - Error logs initcall sequence fffd8d38 failed at call 402185e4 (err=-19) W

[PATCH v2 1/2] dm: event: add EVT_DM_POST_INIT_R event type

2023-08-17 Thread Chanho Park
This patch introduces EVT_DM_POST_INIT_R event type for handling hooks after relocation. Fixes: 55171aedda88 ("dm: Emit the arch_cpu_init_dm() even only before relocation") Suggested-by: Simon Glass Cc: Bin Meng Signed-off-by: Chanho Park --- drivers/core/root.c | 6 -- include/event.h

RE: [PATCH] dm: core: allow DM_POST_INIT_F notification for TIMER_EARLY

2023-08-17 Thread Chanho Park
Hi Simon, > -Original Message- > From: Simon Glass > Sent: Wednesday, August 9, 2023 2:54 AM > To: Chanho Park > Cc: u-boot@lists.denx.de; Bin Meng > Subject: Re: [PATCH] dm: core: allow DM_POST_INIT_F notification for > TIMER_EARLY > > Hi Chanho, > > On Tue, 8 Aug 2023 at 01:35, Chan

Re: [PATCH] MAINTAINERS: Update UFS maintainer

2023-08-17 Thread Neha Malcom Francis
Hi Nishanth On 17/08/23 21:27, Nishanth Menon wrote: On 17:39-20230817, Neha Malcom Francis wrote: Dropping Faiz Abbas from the UFS maintainer list as his e-mail ID is no longer valid. Adding Bhupesh Sharma who has been using this framework working on Qualcomm Snapdragon SoCs as well as

Re: [PATCH] MAINTAINERS: Update UFS maintainer

2023-08-17 Thread Neha Malcom Francis
Hi Marek On 18/08/23 00:10, Marek Vasut wrote: On 8/17/23 14:09, Neha Malcom Francis wrote: Dropping Faiz Abbas from the UFS maintainer list as his e-mail ID is no longer valid. Adding Bhupesh Sharma who has been using this framework working on Qualcomm Snapdragon SoCs as well as sending out f

[PATCH 7/7] spi: zynq_qspi: Add parallel memories support in QSPI driver

2023-08-17 Thread Ashok Reddy Soma
Add support for parallel memories in zynq_qspi.c driver. In case of parallel memories STRIPE bit is set and sent to the qspi ip, which will send data bits to both the flashes in parallel. However for few commands we should not use stripe, instead send same data to both the flashes. Those commands a

[PATCH 6/7] spi: zynqmp_gqspi: Add parallel memories support in GQSPI driver

2023-08-17 Thread Ashok Reddy Soma
Add support for parallel memories in zynqmp_gqspi.c driver. In case of parallel memories STRIPE bit is set and sent to the qspi ip, which will send data bits to both the flashes in parallel. However for few commands we should not use stripe, instead send same data to both the flashes. Those command

[PATCH 5/7] spi: spi-uclass: Read chipselect and restrict capabilities

2023-08-17 Thread Ashok Reddy Soma
Read chipselect properties from DT which are populated using 'reg' property and save it in plat->cs[] array for later use. Also read multi chipselect capability which is used for parallel-memories and return errors if they are passed on using DT but driver is not capable of handling it. Signed-of

[PATCH 3/7] mtd: spi-nor: Add parallel memories support for read_sr and read_fsr

2023-08-17 Thread Ashok Reddy Soma
Add support for parallel memories flash configuration in read status register and read flag status register functions. Signed-off-by: Ashok Reddy Soma Signed-off-by: Venkatesh Yadav Abbarapu --- drivers/mtd/spi/spi-nor-core.c | 50 -- 1 file changed, 36 insertio

[PATCH 4/7] mtd: spi-nor: Add parallel and stacked memories support in read_bar and write_bar

2023-08-17 Thread Ashok Reddy Soma
Add support for parallel memories and stacked memories configuration in read_bar and write_bar functions. Signed-off-by: Ashok Reddy Soma Signed-off-by: Venkatesh Yadav Abbarapu --- drivers/mtd/spi/spi-nor-core.c | 55 +- 1 file changed, 47 insertions(+), 8 dele

[PATCH 2/7] mtd: spi-nor: Add parallel and stacked memories support

2023-08-17 Thread Ashok Reddy Soma
In parallel mode, the current implementation assumes that a maximum of two flashes are connected. The QSPI controller splits the data evenly between both the flashes so, both the flashes that are connected in parallel mode should be identical. During each operation SPI-NOR sets 0th bit for CS0 & 1s

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

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

[PATCH 0/7] spi-nor: Add parallel and stacked memories support

2023-08-17 Thread Ashok Reddy Soma
This series adds support for Xilinx qspi parallel and stacked memeories. In parallel mode, the current implementation assumes that a maximum of two flashes are connected. The QSPI controller splits the data evenly between both the flashes so, both the flashes that are connected in parallel mode sh

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

2023-08-17 Thread Simon Glass
Hi Sean, On Thu, 17 Aug 2023 at 17:29, Sean Edmond wrote: > > Hi Simon, > > On 2023-08-17 6:41 a.m., Simon Glass wrote: > > Hi Sean, > > > > On Fri, 11 Aug 2023 at 18:28, wrote: > >> From: Stephen Carlson > >> > >> This implementation of the security uclass driver allows existing TPM2 > >> devi

Re: Strange gitlab idea

2023-08-17 Thread Simon Glass
Hi Tom, On Thu, 17 Aug 2023 at 11:07, Tom Rini wrote: > > On Thu, Aug 17, 2023 at 10:58:15AM -0600, Simon Glass wrote: > > Hi Tom, > > > > On Thu, 17 Aug 2023 at 09:10, Tom Rini wrote: > > > > > > On Thu, Aug 17, 2023 at 07:41:50AM -0600, Simon Glass wrote: > > > > Hi Tom, > > > > > > > > On Tue

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

2023-08-17 Thread Simon Glass
Hi Tom, On Thu, 17 Aug 2023 at 09:10, Tom Rini wrote: > > On Thu, Aug 17, 2023 at 07:41:33AM -0600, Simon Glass wrote: > > Hi Tom, > > > > On Wed, 16 Aug 2023 at 15:26, Tom Rini wrote: > > > > > > On Wed, Aug 16, 2023 at 09:58:42AM +0530, Sughosh Ganu wrote: > > > > hi Simon, > > > > > > > > On

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

2023-08-17 Thread Simon Glass
Hi Maxim, On Wed, 16 Aug 2023 at 14:15, Maxim Uvarov wrote: > > > > 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: >> > >

Re: [PATCH] tools: image-host: print error messages to stderr

2023-08-17 Thread Simon Glass
On Thu, 17 Aug 2023 at 09:36, Oleksandr Suvorov < oleksandr.suvo...@foundries.io> wrote: > > The make by default cuts off the stdout output from external tools, > so all error messages from the image-host are not shown in a make > output. Besides that, it is a common approach to use stderr stream >

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

2023-08-17 Thread Simon Glass
Hi Sean, On Thu, 17 Aug 2023 at 10:03, Sean Edmond wrote: > > > On 2023-08-15 10:46 a.m., Sean Edmond wrote: > > > On 2023-08-15 7:44 a.m., Simon Glass wrote: > > Hi Sean, > > On Mon, 14 Aug 2023 at 13:12, Sean Edmond > wrote: > > > On 2023-08-12 6:09 a.m., Simon Glass wrote: > > Hi Sean, > > On

Re: [PATCH v2 11/20] efi: x86: Correct the condition for installing ACPI tables

2023-08-17 Thread Heinrich Schuchardt
Am 18. August 2023 02:26:50 MESZ schrieb Simon Glass : >It is not always the case that U-Boot builds the ACPI tables itself. For >example, when booting from coreboot, the ACPI tables are built by >coreboot. > >Correct the Makefile condition so that U-Boot can pass on tables built >by a previous

Re: [PATCH v2 12/20] x86: smbios: Add a Kconfig indicating SMBIOS-table presence

2023-08-17 Thread Heinrich Schuchardt
Am 18. August 2023 02:26:51 MESZ schrieb Simon Glass : >When booted from coreboot, U-Boot does not build the SMBIOS tables, but >it should still pass them on to the OS. Add a new option which indicates >whether SMBIOS tables are present, however they were built. > >Flip the ordering so that the

Re: [PATCH v2 14/20] efi: x86: Use the installed SMBIOS tables

2023-08-17 Thread Heinrich Schuchardt
Am 18. August 2023 02:26:53 MESZ schrieb Simon Glass : >U-Boot sets up the SMBIOS tables during startup. Rather than creating a >new set, install the existing ones. Rely on the ACPI table's memory-map >record to cover the tables. > >Tidy up the installation-condition code while we are here. > >S

Re: [PATCH] rockchip: rk3566-anbernic-rgxx3: Rename defconfig to include SoC name

2023-08-17 Thread Kever Yang
On 2023/8/18 05:52, Jonas Karlman wrote: Rename defconfig to include SoC name, use similar pattern as other RK356x boards: -.dts -> -_defconfig Suggested-by: Kever Yang Signed-off-by: Jonas Karlman Reviewed-by: Kever Yang Thanks, - Kever --- board/anbernic/rgxx3_rk3566/MAINTAINERS

[PATCH v2 19/20] x86: doc: Split out manual booting into its own file

2023-08-17 Thread Simon Glass
Move this out of the main file since for simple users it is easier to rely on standard boot. Signed-off-by: Simon Glass --- Changes in v2: - Add new patch doc/arch/x86/index.rst | 1 + doc/arch/x86/manual_boot.rst | 276 +++ doc/arch/x86/x86.rst

[PATCH v2 20/20] x86: doc: coreboot: Mention 64-bit Linux distros

2023-08-17 Thread Simon Glass
Add a little more detail as to why coreboot64 is preferred for booting Linux distros. Signed-off-by: Simon Glass --- Changes in v2: - Add new patch doc/board/coreboot/coreboot.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/board/coreboot/coreboot.rst b/doc/board/coreboot/coreboo

[PATCH v2 18/20] x86: doc: Update summaries and add links

2023-08-17 Thread Simon Glass
Refresh the summary information so it is more up-to-date. Add links to the coreboot and slimbootloader docs. Signed-off-by: Simon Glass --- Changes in v2: - Add new patch doc/arch/x86/x86.rst | 17 ++--- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/doc/arch/x86/x8

[PATCH v2 17/20] x86: doc: Move into its own directory

2023-08-17 Thread Simon Glass
There is enough material that it makes sense to split this up into several files. Create an x86/ directory for this purpose. Signed-off-by: Simon Glass --- Changes in v2: - Add new patch doc/arch/index.rst | 2 +- doc/arch/x86/index.rst | 11 +++ doc/arch/{ => x86}/x86.rst

[PATCH v2 16/20] x86: coreboot: Record the position of the SMBIOS tables

2023-08-17 Thread Simon Glass
Make a note of where coreboot installed the SMBIOS tables so that we can pass this on to EFI. Signed-off-by: Simon Glass --- Changes in v2: - Add new patch arch/x86/lib/coreboot/cb_sysinfo.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/x86/lib/coreboot/cb_sysinfo.c b/arch/x86/lib/

[PATCH v2 15/20] efi: x86: Install the SMBIOS tables if present

2023-08-17 Thread Simon Glass
When these are available in memory, whether generated by U-Boot or by an earlier firmware stage, install them. Signed-off-by: Simon Glass --- Changes in v2: - Add new patch lib/efi_loader/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/efi_loader/Makefile b/lib

[PATCH v2 14/20] efi: x86: Use the installed SMBIOS tables

2023-08-17 Thread Simon Glass
U-Boot sets up the SMBIOS tables during startup. Rather than creating a new set, install the existing ones. Rely on the ACPI table's memory-map record to cover the tables. Tidy up the installation-condition code while we are here. Signed-off-by: Simon Glass --- Changes in v2: - Add new patch

[PATCH v2 13/20] x86: Record the position of the SMBIOS tables

2023-08-17 Thread Simon Glass
Remember where these end up so that we can pass this information on to the EFI layer. Signed-off-by: Simon Glass --- Changes in v2: - Add new patch arch/x86/include/asm/global_data.h | 1 + arch/x86/lib/tables.c | 3 +++ include/asm-generic/global_data.h | 8 3 files cha

[PATCH v2 12/20] x86: smbios: Add a Kconfig indicating SMBIOS-table presence

2023-08-17 Thread Simon Glass
When booted from coreboot, U-Boot does not build the SMBIOS tables, but it should still pass them on to the OS. Add a new option which indicates whether SMBIOS tables are present, however they were built. Flip the ordering so that the dependency is listed first, which is less confusing. Signed-of

[PATCH v2 10/20] x86: coreboot: Enable VIDEO_COPY

2023-08-17 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 --- (no changes since v1) arch/x86/dts/corebo

[PATCH v2 11/20] efi: x86: Correct the condition for installing ACPI tables

2023-08-17 Thread Simon Glass
It is not always the case that U-Boot builds the ACPI tables itself. For example, when booting from coreboot, the ACPI tables are built by coreboot. Correct the Makefile condition so that U-Boot can pass on tables built by a previous firmware stage. Tidy up the installation-condition code while w

[PATCH v2 09/20] x86: coreboot: Align options between coreboot and coreboot64

2023-08-17 Thread Simon Glass
These two builds are similar but have some different options for not good reason. Line them up to be as similar as possible. Signed-off-by: Simon Glass --- Changes in v2: - Update the malloc size too configs/coreboot64_defconfig | 7 +++ configs/coreboot_defconfig | 9 - 2 files

[PATCH v2 08/20] x86: coreboot: Drop USB init on startup

2023-08-17 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 --- (no changes since v1) arch/x86/cpu/coreboo

[PATCH v2 07/20] x86: coreboot: Enable CONFIG_SYS_NS16550_MEM32

2023-08-17 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 --- (no changes since v1)

[PATCH v2 06/20] x86: coreboot: Look for DBG2 UART in SPL too

2023-08-17 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 --- (no changes since v1) configs/coreboot64_defconfig | 1 + d

[PATCH v2 05/20] x86: Allow APCI in SPL

2023-08-17 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 --- (no changes since v1) lib/Kconfig | 8 1 file changed, 8 insertions(+) diff --git a/lib/Kconfig b/lib/Kconfig index 07e61de5b641..a9dca5f52b5a 100644

[PATCH v2 04/20] x86: Set the CPU vendor in SPL

2023-08-17 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 --- (no changes since v1) arch/x86/cpu/x86_64/cpu.c | 7 +++ 1 file changed, 7 insertions(+) diff

[PATCH v2 03/20] x86: coreboot: Rearrange arch_cpu_init()

2023-08-17 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 --- (no changes since v1) arch/x86/cpu/coreboot/coreboot.c | 12 +--- 1 file change

[PATCH v2 02/20] x86: coreboot: Enable standard boot

2023-08-17 Thread Simon Glass
Enable bootstd options and provide instructions on how to boot a linux distro using coreboot. Signed-off-by: Simon Glass --- (no changes since v1) configs/coreboot64_defconfig| 14 ++ configs/coreboot_defconfig | 1 + doc/board/coreboot/coreboot.rst | 16 ++--

[PATCH v2 01/20] x86: coreboot: Add IDE and SATA

2023-08-17 Thread Simon Glass
Add these options to permit access to more disk types. Add some documentation as well. Signed-off-by: Simon Glass --- (no changes since v1) configs/coreboot64_defconfig| 1 + configs/coreboot_defconfig | 9 + doc/board/coreboot/coreboot.rst | 20 3 file

[PATCH v2 00/20] x86: efi: Fixes and improvements for coreboot

2023-08-17 Thread Simon Glass
This little series fixes various bugs and annoyances in coreboot and coreboot64. With this both coreboot and coreboot64 start up and work reasonably well on Brya (x86 Chromebook) and U-Boot can boot common Linux distros. - Make coreboot64 debug UART start reliably - Avoid the long USB-init delay

Re: [PATCH 1/5] board: rockchip: Add Pine64 Quartz64-A Board

2023-08-17 Thread Jonas Karlman
Hi Christopher, On 2023-08-08 16:25, Christopher Obbard wrote: > Hi Jonas, > > On Sun, 2023-07-23 at 15:04 +, Jonas Karlman wrote: >> On 2023-07-23 16:55, Jonas Karlman wrote: >>> The Pine64 Quartz64 Model A is a single-board computer based on the >>> Rockchip RK3566 SoC. The board features U

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

2023-08-17 Thread Sean Edmond
Hi Simon, On 2023-08-17 6:41 a.m., Simon Glass wrote: Hi Sean, On Fri, 11 Aug 2023 at 18:28, wrote: From: Stephen Carlson This implementation of the security uclass driver allows existing TPM2 devices declared in the device tree to be referenced for storing the OS anti-rollback counter, usi

[PATCH] rockchip: rk3566-anbernic-rgxx3: Rename defconfig to include SoC name

2023-08-17 Thread Jonas Karlman
Rename defconfig to include SoC name, use similar pattern as other RK356x boards: -.dts -> -_defconfig Suggested-by: Kever Yang Signed-off-by: Jonas Karlman --- board/anbernic/rgxx3_rk3566/MAINTAINERS | 2 +- ...anbernic-rgxx3_defconfig => anbernic-rgxx3-rk3566_defconfig

Re: [PATCH 1/3] doc: rockchip: Add supported RK3566/RK3568 boards

2023-08-17 Thread Jonas Karlman
On 2023-08-17 21:29, Tom Rini wrote: > On Thu, Aug 17, 2023 at 04:32:41PM +0800, Kever Yang wrote: >> Hi Jonas, >> >>     Thanks for your patch. >> >> On 2023/8/17 14:04, Jonas Karlman wrote: >>> Update Rockchip documentation to include RK3566/RK3568 boards already >>> supported. Also list Pine64 b

Re: [PATCH 2/3] board: rockchip: rk35xx: Add device tree files to MAINTAINERS

2023-08-17 Thread Tom Rini
On Thu, Aug 17, 2023 at 10:46:14AM +0200, Quentin Schulz wrote: > Hi Jonas, > > On 8/17/23 08:04, Jonas Karlman wrote: > > Update MAINTAINERS files for RK3566/RK3568/RK3588 boards to include > > related device tree files. Also replace space with tabs. > > > > Signed-off-by: Jonas Karlman > > ---

Re: [PATCH 1/3] doc: rockchip: Add supported RK3566/RK3568 boards

2023-08-17 Thread Tom Rini
On Thu, Aug 17, 2023 at 04:32:41PM +0800, Kever Yang wrote: > Hi Jonas, > >     Thanks for your patch. > > On 2023/8/17 14:04, Jonas Karlman wrote: > > Update Rockchip documentation to include RK3566/RK3568 boards already > > supported. Also list Pine64 boards under RK3566 and drop defconfig to >

Re: [PATCH v5 0/4] arm: dts: k3-am64: Sync DT with Linux

2023-08-17 Thread Tom Rini
On Sat, Aug 05, 2023 at 11:14:36AM +0300, Roger Quadros wrote: > Hi, > > This series syncs AM64 DT files from Linux v6.5-rc1. > > Tested on AM642-EVM GP SR1.0 and AM642-SK-EVM HS-FS SR2.0. > > cheers, > -roger > > Changelog: > > v5: > -squash documenation change to correct patch. Update commi

Re: [PATCH] MAINTAINERS: Update UFS maintainer

2023-08-17 Thread Tom Rini
On Thu, Aug 17, 2023 at 05:39:14PM +0530, Neha Malcom Francis wrote: > Dropping Faiz Abbas from the UFS maintainer list as his e-mail ID is no > longer valid. > > Adding Bhupesh Sharma who has been using this framework working on > Qualcomm Snapdragon SoCs as well as sending out fixes. > > Addin

Re: [PATCH] arm_ffa: use debug logs

2023-08-17 Thread Tom Rini
On Wed, Aug 09, 2023 at 12:47:30PM +0100, Abdellatif El Khlifi wrote: > replace info logs with debug logs > > Signed-off-by: Abdellatif El Khlifi > Cc: Tom Rini > Cc: Simon Glass > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH] CI: x86: coreboot: Update to latest coreboot

2023-08-17 Thread Tom Rini
On Fri, Aug 11, 2023 at 12:17:43PM -0600, Simon Glass wrote: > Use a recent coreboot build for this test. > > The coreboot commit is: > >6f5ead14b4 mb/google/nissa/var/joxer: Update eMMC DLL settings > > This is build with default settings, i.e. QEMU x86 i440fx/piix4 > > Add some documenta

Re: [PATCH 3/3] board: rockchip: rk35xx: Add myself as reviewer to MAINTAINERS

2023-08-17 Thread Tom Rini
On Thu, Aug 17, 2023 at 06:04:38AM +, Jonas Karlman wrote: > Add myself as a reviewer for RK3566/RK3568/RK3588 boards that I have and > can help with review and testing of defconfig and device tree changes. > > Signed-off-by: Jonas Karlman > Acked-by: Eugen Hristev Applied to u-boot/master

Re: [PATCH 2/3] board: rockchip: rk35xx: Add device tree files to MAINTAINERS

2023-08-17 Thread Tom Rini
On Thu, Aug 17, 2023 at 06:04:36AM +, Jonas Karlman wrote: > Update MAINTAINERS files for RK3566/RK3568/RK3588 boards to include > related device tree files. Also replace space with tabs. > > Signed-off-by: Jonas Karlman > Acked-by: Eugen Hristev Applied to u-boot/master, thanks! -- Tom

Re: [PATCH 1/3] doc: rockchip: Add supported RK3566/RK3568 boards

2023-08-17 Thread Tom Rini
On Thu, Aug 17, 2023 at 06:04:34AM +, Jonas Karlman wrote: > Update Rockchip documentation to include RK3566/RK3568 boards already > supported. Also list Pine64 boards under RK3566 and drop defconfig to > match other listed boards. > > Signed-off-by: Jonas Karlman Applied to u-boot/master,

Re: [PATCH] corstone1000: update maintainers

2023-08-17 Thread Tom Rini
On Fri, Aug 11, 2023 at 01:22:57PM +0100, abdellatif.elkhl...@arm.com wrote: > From: Abdellatif El Khlifi > > Update MAINTAINERS of corstone1000 board. > > Signed-off-by: Xueliang Zhong > Signed-off-by: Abdellatif El Khlifi Applied to u-boot/master, thanks! -- Tom signature.asc Descripti

Re: [PATCH] arm: Add arch/arm/dts/Makefile specifically to MAINTAINERS

2023-08-17 Thread Tom Rini
On Mon, Aug 07, 2023 at 05:08:11PM -0400, Tom Rini wrote: > In order to reduce the number of people that are cc'd on a patch for > simply touching arch/arm/dts/Makefile (which is a big common file) add > an entry specifically to MAINTAINERS under the ARM entry. > > Signed-off-by: Tom Rini > Revi

Re: [PATCH] MAINTAINERS: Update UFS maintainer

2023-08-17 Thread Marek Vasut
On 8/17/23 14:09, Neha Malcom Francis wrote: Dropping Faiz Abbas from the UFS maintainer list as his e-mail ID is no longer valid. Adding Bhupesh Sharma who has been using this framework working on Qualcomm Snapdragon SoCs as well as sending out fixes. Adding myself as well to support in review

Re: [PATCH] spl: provide weak empty stub for reset_cpu()

2023-08-17 Thread Tom Rini
On Thu, Aug 17, 2023 at 05:35:37PM +0300, Oleksandr Suvorov wrote: > This stub needs to link SPL properly. > > Signed-off-by: Oleksandr Suvorov > --- > > common/spl/spl.c | 8 > 1 file changed, 8 insertions(+) > > diff --git a/common/spl/spl.c b/common/spl/spl.c > index 0062f3f45d9..

[PATCH 4/4] ti: mach-k3: Move dfu.h include to be with the code

2023-08-17 Thread Tom Rini
Move where we include to be guarded by a DFU-related Kconfig option. Signed-off-by: Tom Rini --- This becomes an issue with https://patchwork.ozlabs.org/project/uboot/patch/20220620111354.448512-1-jh80.ch...@samsung.com/ applied as now we can't include without CONFIG_DFU_NAME_MAX_SIZE set (or w

[PATCH 3/4] xilinx: zynqmp: Move dfu.h include to be with the code

2023-08-17 Thread Tom Rini
Move where we include to be guarded by a DFU-related Kconfig option. Signed-off-by: Tom Rini --- This becomes an issue with https://patchwork.ozlabs.org/project/uboot/patch/20220620111354.448512-1-jh80.ch...@samsung.com/ applied as now we can't include without CONFIG_DFU_NAME_MAX_SIZE set (or w

[PATCH 2/4] fwu-mdata: Make FWU_MDATA_GPT_BLK depend on DFU

2023-08-17 Thread Tom Rini
The implementation of this option in lib/fwu_updates/fwu_gpt.c is wholly dependent on DFU, so make that a requirement here. Signed-off-by: Tom Rini --- I'm honestly not sure how to best proceed here as drivers/fwu-mdata/gpt_blk.c doesn't need DFU, but both files are controlled by this single symb

[PATCH 1/4] usb: gadget: g_dnl.c: Drop unused includes

2023-08-17 Thread Tom Rini
We don't need nor in this file, drop them. Signed-off-by: Tom Rini --- drivers/usb/gadget/g_dnl.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/usb/gadget/g_dnl.c b/drivers/usb/gadget/g_dnl.c index afb7b74f3057..8423da377ca9 100644 --- a/drivers/usb/gadget/g_dnl.c +++ b/drivers/

Re: Strange gitlab idea

2023-08-17 Thread Tom Rini
On Thu, Aug 17, 2023 at 10:58:15AM -0600, Simon Glass wrote: > Hi Tom, > > On Thu, 17 Aug 2023 at 09:10, Tom Rini wrote: > > > > On Thu, Aug 17, 2023 at 07:41:50AM -0600, Simon Glass wrote: > > > Hi Tom, > > > > > > On Tue, 15 Aug 2023 at 08:56, Tom Rini wrote: > > > > > > > > On Tue, Aug 15, 20

[PATCH RESEND 5/5] clk: ccf: call clock provided ops directly for endisable()

2023-08-17 Thread Yang Xiwen via B4 Relay
From: Yang Xiwen Calling into CCF framework will cause a clock being enabled twice instead of once (clk->enable_count becomes 2 rather than 1), thus making it hard to disable (needs to call clk_disable() twice). Fix that by calling clock provided ops directly. Signed-off-by: Yang Xiwen --- dri

[PATCH RESEND 2/5] clk: call log_debug() instead to avoid console log printing

2023-08-17 Thread Yang Xiwen via B4 Relay
From: Yang Xiwen it's a very common case to register a clock without a parent, such as clk_register_fixed_rate(). Replace log_error() with log_debug() to avoid useless console log if not debugging. Signed-off-by: Yang Xiwen --- drivers/clk/clk.c | 4 ++-- 1 file changed, 2 insertions(+), 2 del

[PATCH RESEND 4/5] clk: promote clk_dev_ops to linux/clk-provider.h

2023-08-17 Thread Yang Xiwen via B4 Relay
From: Yang Xiwen So that it can be used by others. Signed-off-by: Yang Xiwen --- drivers/clk/clk-uclass.c | 5 - include/linux/clk-provider.h | 5 + 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/clk/clk-uclass.c b/drivers/clk/clk-uclass.c index dc3e9d6a26..

[PATCH RESEND 3/5] clk: also handle ENOENT in *_optional functions

2023-08-17 Thread Yang Xiwen via B4 Relay
From: Yang Xiwen If the device does not specify any clocks in device tree, these functions will return PTR_ERR(-ENOENT). This is not the intended behavior and does not comply with linux kernel CCF. Fix that by returning NULL under such circumstances instead. Signed-off-by: Yang Xiwen --- inclu

[PATCH RESEND 1/5] clk: export clk_register_mux_table()

2023-08-17 Thread Yang Xiwen via B4 Relay
From: Yang Xiwen It's already implemented in clk-mux.c, export it in the header file. Signed-off-by: Yang Xiwen --- include/linux/clk-provider.h | 6 ++ 1 file changed, 6 insertions(+) diff --git a/include/linux/clk-provider.h b/include/linux/clk-provider.h index b8acacd49e..801404480b 10

[PATCH RESEND 0/5] clk: A few bugfixes/enhancements for CCF

2023-08-17 Thread Yang Xiwen via B4 Relay
They are found during my development for HiSilicon clock driver. Details are in commit logs. Signed-off-by: Yang Xiwen --- Yang Xiwen (5): clk: export clk_register_mux_table() clk: call log_debug() instead to avoid console log printing clk: also handle ENOENT in *_optional funct

Re: Strange gitlab idea

2023-08-17 Thread Simon Glass
Hi Tom, On Thu, 17 Aug 2023 at 09:10, Tom Rini wrote: > > On Thu, Aug 17, 2023 at 07:41:50AM -0600, Simon Glass wrote: > > Hi Tom, > > > > On Tue, 15 Aug 2023 at 08:56, Tom Rini wrote: > > > > > > On Tue, Aug 15, 2023 at 08:44:20AM -0600, Simon Glass wrote: > > > > Hi Tom, > > > > > > > > On Sun

Re: Doc style for method functions

2023-08-17 Thread Heinrich Schuchardt
On 16.08.23 19:47, Simon Glass wrote: 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 err

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

2023-08-17 Thread Sean Edmond
On 2023-08-15 10:46 a.m., Sean Edmond wrote: On 2023-08-15 7:44 a.m., Simon Glass wrote: Hi Sean, On Mon, 14 Aug 2023 at 13:12, Sean Edmond wrote: On 2023-08-12 6:09 a.m., Simon Glass wrote: Hi Sean, On Fri, 11 Aug 2023 at 11:14, Sean Edmond wrote: On 2023-08-09 6:49 p.m., Simon Gla

Re: [PATCH] MAINTAINERS: Update UFS maintainer

2023-08-17 Thread Nishanth Menon
On 17:39-20230817, Neha Malcom Francis wrote: > Dropping Faiz Abbas from the UFS maintainer list as his e-mail ID is no > longer valid. > > Adding Bhupesh Sharma who has been using this framework working on > Qualcomm Snapdragon SoCs as well as sending out fixes. > > Add

Re: FIT Image not working in U-Boot

2023-08-17 Thread Freddie
On Thu, 17 Aug 2023 at 16:51, Simon Glass wrote: > Hi Freddie, > > On Thu, 17 Aug 2023 at 09:02, Freddie wrote: > > > > > > > > On Thu, Aug 17, 2023 at 3:13 PM Simon Glass wrote: > >> > >> Hi Freddie, > >> > >> On Thu, 17 Aug 2023 at 07:57, Freddie wrote: > >> > > >> > > >> > > >> > On Thu, Au

Re: FIT Image not working in U-Boot

2023-08-17 Thread Simon Glass
Hi Freddie, On Thu, 17 Aug 2023 at 09:02, Freddie wrote: > > > > On Thu, Aug 17, 2023 at 3:13 PM Simon Glass wrote: >> >> Hi Freddie, >> >> On Thu, 17 Aug 2023 at 07:57, Freddie wrote: >> > >> > >> > >> > On Thu, Aug 17, 2023 at 2:45 PM Simon Glass wrote: >> >> >> >> Hi Freddie, >> >> >> >> On

[PATCH] tools: image-host: print error messages to stderr

2023-08-17 Thread Oleksandr Suvorov
The make by default cuts off the stdout output from external tools, so all error messages from the image-host are not shown in a make output. Besides that, it is a common approach to use stderr stream for error messages. Use stderr for all error messages in image-host. Signed-off-by: Oleksandr Suv

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

2023-08-17 Thread Tom Rini
On Thu, Aug 17, 2023 at 11:18:53AM +0530, Sughosh Ganu wrote: > 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

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

2023-08-17 Thread Tom Rini
On Wed, Aug 16, 2023 at 09:16:05PM +0530, Devarsh Thakkar wrote: > 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, T

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

2023-08-17 Thread Tom Rini
On Thu, Aug 17, 2023 at 07:41:33AM -0600, Simon Glass wrote: > Hi Tom, > > On Wed, 16 Aug 2023 at 15:26, Tom Rini wrote: > > > > 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,

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

2023-08-17 Thread Tom Rini
On Thu, Aug 17, 2023 at 11:18:52AM +0530, Sughosh Ganu wrote: > 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: Su

Re: Strange gitlab idea

2023-08-17 Thread Tom Rini
On Thu, Aug 17, 2023 at 07:41:50AM -0600, Simon Glass wrote: > Hi Tom, > > On Tue, 15 Aug 2023 at 08:56, Tom Rini wrote: > > > > On Tue, Aug 15, 2023 at 08:44:20AM -0600, Simon Glass wrote: > > > Hi Tom, > > > > > > On Sun, 13 Aug 2023 at 09:52, Tom Rini wrote: > > > > > > > > On Sat, Aug 12, 20

Re: [PATCHv6 04/14] net/lwip: implement dhcp cmd

2023-08-17 Thread Tom Rini
On Thu, Aug 17, 2023 at 08:55:17PM +0600, Maxim Uvarov wrote: > On Thu, 17 Aug 2023 at 20:04, Peter Robinson wrote: > > > On Thu, Aug 17, 2023 at 2:46 PM Maxim Uvarov > > wrote: > > > > > > On Mon, 14 Aug 2023 at 21:29, Tom Rini wrote: > > > > > > > On Mon, Aug 14, 2023 at 09:18:19PM +0600, Max

Re: FIT Image not working in U-Boot

2023-08-17 Thread Freddie
On Thu, Aug 17, 2023 at 3:13 PM Simon Glass wrote: > Hi Freddie, > > On Thu, 17 Aug 2023 at 07:57, Freddie wrote: > > > > > > > > On Thu, Aug 17, 2023 at 2:45 PM Simon Glass wrote: > >> > >> Hi Freddie, > >> > >> On Thu, 17 Aug 2023 at 07:39, Freddie wrote: > >> > > >> > > >> > > >> > On Thu,

Re: [PATCHv6 04/14] net/lwip: implement dhcp cmd

2023-08-17 Thread Maxim Uvarov
On Thu, 17 Aug 2023 at 20:04, Peter Robinson wrote: > On Thu, Aug 17, 2023 at 2:46 PM Maxim Uvarov > wrote: > > > > On Mon, 14 Aug 2023 at 21:29, Tom Rini wrote: > > > > > On Mon, Aug 14, 2023 at 09:18:19PM +0600, Maxim Uvarov wrote: > > > > On Mon, 14 Aug 2023 at 20:21, Ilias Apalodimas < > >

[PATCH] spl: provide weak empty stub for reset_cpu()

2023-08-17 Thread Oleksandr Suvorov
This stub needs to link SPL properly. Signed-off-by: Oleksandr Suvorov --- common/spl/spl.c | 8 1 file changed, 8 insertions(+) diff --git a/common/spl/spl.c b/common/spl/spl.c index 0062f3f45d9..781858891b9 100644 --- a/common/spl/spl.c +++ b/common/spl/spl.c @@ -1026,3 +1026,11 @@

Re: Strange gitlab idea

2023-08-17 Thread Simon Glass
Hi Tom, On Thu, 17 Aug 2023 at 07:41, Simon Glass wrote: > > Hi Tom, > > On Tue, 15 Aug 2023 at 08:56, Tom Rini wrote: > > > > On Tue, Aug 15, 2023 at 08:44:20AM -0600, Simon Glass wrote: > > > Hi Tom, > > > > > > On Sun, 13 Aug 2023 at 09:52, Tom Rini wrote: > > > > > > > > On Sat, Aug 12, 202

Re: FIT Image not working in U-Boot

2023-08-17 Thread Simon Glass
Hi Freddie, On Thu, 17 Aug 2023 at 07:57, Freddie wrote: > > > > On Thu, Aug 17, 2023 at 2:45 PM Simon Glass wrote: >> >> Hi Freddie, >> >> On Thu, 17 Aug 2023 at 07:39, Freddie wrote: >> > >> > >> > >> > On Thu, Aug 17, 2023 at 2:19 PM Simon Glass wrote: >> >> >> >> Hi Freddie, >> >> >> >> On

Re: [PATCHv6 04/14] net/lwip: implement dhcp cmd

2023-08-17 Thread Peter Robinson
On Thu, Aug 17, 2023 at 2:46 PM Maxim Uvarov wrote: > > On Mon, 14 Aug 2023 at 21:29, Tom Rini wrote: > > > On Mon, Aug 14, 2023 at 09:18:19PM +0600, Maxim Uvarov wrote: > > > On Mon, 14 Aug 2023 at 20:21, Ilias Apalodimas < > > ilias.apalodi...@linaro.org> > > > wrote: > > > > > > > On Mon, Aug

Re: FIT Image not working in U-Boot

2023-08-17 Thread Freddie
On Thu, Aug 17, 2023 at 2:45 PM Simon Glass wrote: > Hi Freddie, > > On Thu, 17 Aug 2023 at 07:39, Freddie wrote: > > > > > > > > On Thu, Aug 17, 2023 at 2:19 PM Simon Glass wrote: > >> > >> Hi Freddie, > >> > >> On Thu, 17 Aug 2023 at 07:02, Freddie wrote: > >> > > >> > Hi Simon, > >> > > >>

[PATCH 1/1] Documentation extended with specific information for VirtualBox

2023-08-17 Thread thomas.mittelstaedt
From: Thomas Mittelstaedt Signed-off-by: Thomas Mittelstaedt --- doc/develop/uefi/u-boot_on_efi.rst | 76 ++ 1 file changed, 76 insertions(+) diff --git a/doc/develop/uefi/u-boot_on_efi.rst b/doc/develop/uefi/u-boot_on_efi.rst index acad6397e8..927e1dc266 100644 --

[PATCH 0/1] *** Documentation to set up U-Boot with VirtualBox ***

2023-08-17 Thread thomas.mittelstaedt
From: Thomas Mittelstaedt This documentation explains concrete steps to install and run U-Boot at VirtualBox with x86 images. Thomas Mittelstaedt (1): Documentation extended with specific information for VirtualBox doc/develop/uefi/u-boot_on_efi.rst | 76 ++ 1 fi

Re: [PATCHv6 04/14] net/lwip: implement dhcp cmd

2023-08-17 Thread Maxim Uvarov
On Mon, 14 Aug 2023 at 21:29, Tom Rini wrote: > On Mon, Aug 14, 2023 at 09:18:19PM +0600, Maxim Uvarov wrote: > > On Mon, 14 Aug 2023 at 20:21, Ilias Apalodimas < > ilias.apalodi...@linaro.org> > > wrote: > > > > > On Mon, Aug 14, 2023 at 07:32:43PM +0600, Maxim Uvarov wrote: > > > > Implement fu

Re: FIT Image not working in U-Boot

2023-08-17 Thread Simon Glass
Hi Freddie, On Thu, 17 Aug 2023 at 07:39, Freddie wrote: > > > > On Thu, Aug 17, 2023 at 2:19 PM Simon Glass wrote: >> >> Hi Freddie, >> >> On Thu, 17 Aug 2023 at 07:02, Freddie wrote: >> > >> > Hi Simon, >> > >> > I'm quite new to this so sorry for asking so many questions but where do I >> >

Re: [PATCH 3/5] common: Add OS anti-rollback validation using security devices

2023-08-17 Thread Simon Glass
Hi Sean, On Fri, 11 Aug 2023 at 18:28, wrote: > > From: Stephen Carlson > > New config CONFIG_ARBP to enable enforcement of OS anti-rollback counter > during image loading. > > Images with an anti-rollback counter value "arbvn" declared in the FDT will > be compared against the current device an

  1   2   >