Re: [PATCH v3 13/14] bloblist: Update documentation and header comment

2023-12-27 Thread Ilias Apalodimas
On Mon, 18 Dec 2023 at 20:20, Raymond Mao wrote: > > From: Simon Glass > > Align the documentation with the v0.9 spec. > > Signed-off-by: Simon Glass > Signed-off-by: Raymond Mao > --- > doc/develop/bloblist.rst | 4 +++- > include/bloblist.h | 1 + > 2 files changed, 4 insertions(+), 1

Re: [PATCH v3 09/14] bloblist: Handle alignment with a void entry

2023-12-27 Thread Ilias Apalodimas
On Mon, 18 Dec 2023 at 20:20, Raymond Mao wrote: > > From: Simon Glass > > Rather than setting the alignment using the header size, add an entirely > new entry to cover the gap left by the alignment. Hmm, why? Does it make out life easier somehow if new entries get added? > > Signed-off-by: Si

Re: [PATCH v3 08/14] bloblist: Checksum the entire bloblist

2023-12-27 Thread Ilias Apalodimas
Hi Raymond, On Mon, 18 Dec 2023 at 20:20, Raymond Mao wrote: > > From: Simon Glass > > Spec v0.9 specifies that the entire bloblist area is checksummed, > including unused portions. Update the code to follow this. > > Signed-off-by: Simon Glass > Co-developed-by: Raymond Mao > Signed-off-by: R

Re: [PATCH v3 02/14] bloblist: Adjust API to align in powers of 2

2023-12-27 Thread Ilias Apalodimas
Hi, On Mon, 18 Dec 2023 at 20:19, Raymond Mao wrote: > > From: Simon Glass > > The updated bloblist structure stores the alignment as a power-of-two > value in its structures. Adjust the API to use this, to avoid needing to > calling ilog2(). > > Drop a stale comment while we are here. The patc

Re: [PATCH v3 01/14] bloblist: Update the tag numbering

2023-12-27 Thread Ilias Apalodimas
Hi Raymond, On Mon, 18 Dec 2023 at 20:19, Raymond Mao wrote: > > From: Simon Glass > > Align bloblist tags with the FW handoff spec v0.9. > The most common ones are from 0. > TF related ones are from 0x100. > All non-standard ones from 0xfff000. > > Added new defined tags: > BLOBLISTT_OPTEE_PAGA

Re: [PATCH v3 06/14] bloblist: Drop spare value from bloblist record

2023-12-27 Thread Ilias Apalodimas
Hi Raymond, On Mon, 18 Dec 2023 at 20:20, Raymond Mao wrote: > > From: Simon Glass > > Drop spare value from bloblist record header. > > For now it is still present in the header, with an underscore, so that > tests continue to pass. I am not sure I understand the commit message. Doesn't the sp

Re: [PATCH v3 9/9] qemu-arm: get FDT from bloblist

2023-12-27 Thread Ilias Apalodimas
On Tue, 26 Dec 2023 at 11:48, Simon Glass wrote: > > Hi, > > On Fri, Dec 22, 2023 at 9:32 PM Raymond Mao wrote: > > > > Get devicetree from a bloblist if it exists. > > If not, fallback to get FDT from the specified memory address. > > > > Signed-off-by: Raymond Mao > > --- > > Changes in v2 > >

Re: [PATCH 07/13] clk: exynos: Add Samsung clock framework

2023-12-27 Thread Minkyu Kang
Hi, 2023년 12월 13일 (수) 12:27, Sam Protsenko 님이 작성: > Heavily based on Linux kernel Samsung clock framework, with some changes > to accommodate the differences in U-Boot CCF implementation. It's also > quite minimal as compared to the Linux version. > > Signed-off-by: Sam Protsenko > --- > drive

Re: [PATCH 04/13] soc: samsung: Add Exynos USI driver

2023-12-27 Thread Minkyu Kang
Hi 2023년 12월 13일 (수) 12:42, Sam Protsenko 님이 작성: > USIv2 IP-core is found on modern ARM64 Exynos SoCs (like Exynos850) and > provides selectable serial protocol (one of: UART, SPI, I2C). USIv2 > registers usually reside in the same register map as a particular > underlying protocol it implements

Re: [PATCH 1/1] lib: smbios: verify_checksum() is duplicate

2023-12-27 Thread Ilias Apalodimas
Hi Heinrich, On Fri, 22 Dec 2023 at 20:18, Heinrich Schuchardt wrote: > > The function verify_checksum() duplicates what table_compute_checksum() > does. Replace it. > > Fixes: 415eab0655a8 ("smbios: add parsing API") If we could drop this during the merge or send a v2 it would be great. > Sign

Re: [PATCH v2 3/8] scripts/Makefile.lib: Statically define *-u-boot.dtsi files location

2023-12-27 Thread Ilias Apalodimas
Hi Sumit, Thanks this looks great On Fri, 22 Dec 2023 at 08:12, Sumit Garg wrote: > > Allow u-boot to build DTB from a different directory tree such that > *-u-boot.dtsi files can be included from a common location. Currently > that location is arch/$(ARCH)/dts/, so statically define that commo

Re: [PATCH v3 3/9] bloblist: refactor of bloblist_reloc()

2023-12-27 Thread Ilias Apalodimas
Hi Raymond On Fri, 22 Dec 2023 at 23:31, Raymond Mao wrote: > > The current bloblist pointer and size can be retrieved from global > data, so we don't need to pass them from the function arguments. > This change also help to remove all external access of gd->bloblist > outside of bloblist module.

Re: ACPI on Raspberry Pi

2023-12-27 Thread Simon Glass
+U-Boot Mailing List as the attempt to send did not seem to arrive? On Mon, Nov 27, 2023 at 4:51 PM Ba Gia Bao PHAN wrote: > > Dear Sir, > > I am trainee at STMicroelectronics France, and I am doing project "Setting up > a boot chain ACPI" for STM32MPU. The objective of my project is to replace

Re: [PATCH v3 4/9] arm: armv7: save boot arguments

2023-12-27 Thread Ilias Apalodimas
Hi Raymond, On Fri, 22 Dec 2023 at 23:31, Raymond Mao wrote: > > Save boot arguments r[0-3] into an array for handover of bloblist from > previous boot stage. > > Signed-off-by: Raymond Mao > --- > Changes in v2 > - New patch file created for v2. > Changes in v3 > - Swap value of r0 with r2. > >

Re: [PATCH v3 5/9] arm: armv8: save boot arguments

2023-12-27 Thread Ilias Apalodimas
On Fri, 22 Dec 2023 at 23:32, Raymond Mao wrote: > > Save boot arguments x[0-3] into an array for handover of bloblist from > previous boot stage. > > Signed-off-by: Raymond Mao > --- > Changes in v2 > - New patch file created for v2. > > arch/arm/cpu/armv8/start.S | 14 ++ > 1 file

[PATCH 9/9] arm: vexpress: dts: Convert to SoC-specific build rules

2023-12-27 Thread Simon Glass
Move the 64-bit vexpress rules over to use SoC-specific Kconfig options. The other one does not appear to have an SoC or ARCH Kconfig. Signed-off-by: Simon Glass --- arch/arm/dts/Makefile | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/arch/arm/dts/Makefile b/ar

[PATCH 8/9] arm: qualcomm: dts: Convert to SoC-specific build rules

2023-12-27 Thread Simon Glass
Move all of the Qualcomm rules over to use SoC-specific Kconfig options. Signed-off-by: Simon Glass --- arch/arm/dts/Makefile | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile index 3fc90648aea..8c704169b7e 100644 --- a/ar

[PATCH 7/9] arm: ti: dts: Convert OMAP to SoC-specific build rules

2023-12-27 Thread Simon Glass
Move all of the OMAP3 rules over to use SoC-specific Kconfig options. Signed-off-by: Simon Glass --- arch/arm/dts/Makefile | 25 - 1 file changed, 8 insertions(+), 17 deletions(-) diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile index 60301dd2b07..3fc90648aea

[PATCH 6/9] arm: samsung: dts: Convert to SoC-specific build rules

2023-12-27 Thread Simon Glass
Move all of the Samsung rules over to use SoC-specific Kconfig options. Signed-off-by: Simon Glass --- arch/arm/dts/Makefile | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile index 09465e32c0d..60301dd2b07 100644 --- a

[PATCH 5/9] arm: at91: dts: Sort at91 rules

2023-12-27 Thread Simon Glass
Sort the AT91 devicetree rules so they are ordered by CONFIG Move all of the at91 rules over to use SoC-specific Kconfig options. Signed-off-by: Simon Glass --- arch/arm/dts/Makefile | 73 +-- 1 file changed, 36 insertions(+), 37 deletions(-) diff --git

[PATCH 4/9] arm: at91: dts: Complete conversion of dts build rules

2023-12-27 Thread Simon Glass
Move all of the at91 rules over to use SoC-specific Kconfig options. Signed-off-by: Simon Glass --- arch/arm/dts/Makefile | 92 --- 1 file changed, 33 insertions(+), 59 deletions(-) diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile index d8af3c2

[PATCH 3/9] arm: at91: dts: Start an SoC-specific build rule

2023-12-27 Thread Simon Glass
Make a start on using the SoC-specific Kconfig option for Microchip AT91 SoCs Signed-off-by: Simon Glass --- arch/arm/dts/Makefile | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile index e9e58c5478d..d8af3c26b27 100644 -

[PATCH 2/9] nios2: dts: Use the normal build rule

2023-12-27 Thread Simon Glass
Build devicetree files using the normal SoC-generic rule. For nios2 there is actually only one SoC. Signed-off-by: Simon Glass --- arch/nios2/dts/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/nios2/dts/Makefile b/arch/nios2/dts/Makefile index 2b29fa90f6c..66a

[PATCH 1/9] microblaze: dts: Use the normal build rule

2023-12-27 Thread Simon Glass
Build devicetree files using the normal SoC-generic rule. For microblaze there is actually only one SoC and one board. Signed-off-by: Simon Glass --- arch/microblaze/dts/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/microblaze/dts/Makefile b/arch/microblaze/d

[PATCH 0/9] dts: Move to SoC-specific build rules

2023-12-27 Thread Simon Glass
U-Boot builds devicetree binaries from its source tree. As part of the Kconfig conversion, the Makefiles were updated to align with how this is done in Linux: a single target for each SoC is used to build all the .dtb files for that SoC. Since then, the Makefiles have devolved in some cases, resul

<    1   2