Re: [PATCH v14 05/11] log: select physical address formatting in a generic way

2023-07-10 Thread Simon Glass
Hi Abdellatif, On Mon, 10 Jul 2023 at 08:49, Abdellatif El Khlifi wrote: > > Hi Simon, > > On Mon, Jul 10, 2023 at 08:17:41AM -0600, Simon Glass wrote: > > Hi Abdellatif, > > > > On Mon, 10 Jul 2023 at 06:15, Abdellatif El Khlifi > > wrote: > > > >

Re: [PATCH 3/7] rockchip: veyron: Unify u-boot.dtsi bootph-all fragments

2023-07-10 Thread Simon Glass
vailable to the other veyron boards' SPL. > > Signed-off-by: Alper Nebi Yasak > --- > > arch/arm/dts/rk3288-veyron-speedy-u-boot.dtsi | 16 > arch/arm/dts/rk3288-veyron-u-boot.dtsi| 4 > 2 files changed, 4 insertions(+), 16 deletions(-) > Reviewed-by: Simon Glass

Re: [PATCH v1 1/2] drivers: firmware: introduce Meson Secure Monitor driver

2023-07-10 Thread Simon Glass
Hi Alexey, On Mon, 10 Jul 2023 at 02:34, Alexey Romanov wrote: > > > Hello! > > On Fri, Jul 07, 2023 at 11:35:47AM -0600, Simon Glass wrote: > > Hi Alexey, > > > > On Fri, 7 Jul 2023 at 09:43, Alexey Romanov > > wrote: > > > > > > Hel

Re: [PATCH 5/7] rockchip: veyron: Use TrueType fonts

2023-07-10 Thread Simon Glass
> --- > I have no idea why that commit disables USE_PRIVATE_LIBGCC, but I'm > following that change here. > > configs/chromebit_mickey_defconfig | 2 ++ > configs/chromebook_minnie_defconfig | 2 ++ > 2 files changed, 4 insertions(+) > Reviewed-by: Simon Glass

Re: [RFC PATCH 2/2] board: ti: am65x: Move to using Extension framework

2023-07-10 Thread Simon Glass
Hi Roger, On Mon, 10 Jul 2023 at 08:51, Roger Quadros wrote: > > Support the Expansion cards via Extension framework. > This should make 'expansion' command work to scan > for expansion cards and apply DT overlays. > > Card detection code is moved to a library so > other boards can benefit from i

Re: [PATCH 6/7] rockchip: chromebook_jerry: Re-enable MAX98090 codec driver

2023-07-10 Thread Simon Glass
quot;configs: > Resync with savedefconfig"). Enable it again. > > Signed-off-by: Alper Nebi Yasak > --- > > configs/chromebook_jerry_defconfig | 1 + > 1 file changed, 1 insertion(+) > Reviewed-by: Simon Glass Tested-by: Simon Glass# chromebook_jerry

Re: [PATCH 1/7] rockchip: veyron: Enable RESET driver

2023-07-10 Thread Simon Glass
ook_minnie_defconfig | 1 + > configs/chromebook_speedy_defconfig | 1 + > 3 files changed, 3 insertions(+) Reviewed-by: Simon Glass Tested-by: Simon Glass# chromebook_jerry

Re: [PATCH 2/7] rockchip: veyron: Enable building SPI ROM images

2023-07-10 Thread Simon Glass
; especially because they are already configured only to boot from SPI. > > Signed-off-by: Alper Nebi Yasak > --- > > arch/arm/mach-rockchip/rk3288/Kconfig | 6 ++ > 1 file changed, 6 insertions(+) > Reviewed-by: Simon Glass

Re: [PATCH 4/7] rockchip: veyron: Add serial, logging, silent console support

2023-07-10 Thread Simon Glass
configs/chromebook_speedy_defconfig | 1 + > 3 files changed, 6 insertions(+), 1 deletion(-) Reviewed-by: Simon Glass > > diff --git a/configs/chromebit_mickey_defconfig > b/configs/chromebit_mickey_defconfig > index a7c6213a9892..f45b14b9d3d1 100644 > --- a/configs/chromebit_mickey

Re: [PATCH v4 2/3] binman: Allow cipher node as special section

2023-07-10 Thread Simon Glass
-- > > (no changes since v3) > > Changes in v3: > - rebase on u-boot-dm/mkim-working > > tools/binman/etype/section.py | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Reviewed-by: Simon Glass As a follow-up if you have time - can you add a list of the special nodes to the docs?

Re: [PATCH v3 09/19] binman: Convert mkimage to Entry_section

2023-07-10 Thread Simon Glass
Hi Jonas, On Mon, 10 Jul 2023 at 11:35, Jonas Karlman wrote: > > Hi Simon, > > On 2023-07-10 04:41, Simon Glass wrote: > > From: Marek Vasut > > > > This is needed to handle mkimage with inner section located itself in a > > section. > > > > Sign

Re: [PATCH v3 01/11] nuvoton: npcm845-evb: Add a newline at the end of file

2023-07-10 Thread Simon Glass
cm845-evb.dts | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Reviewed-by: Simon Glass

Re: [BUG] fdt_pack_reg in common/fdt_support.c can cause crash from unaligned access

2023-07-10 Thread Simon Glass
Hi David, On Sun, 9 Jul 2023 at 19:11, David Virag wrote: > > Hi, > > I'm trying to port U-Boot to a new board (Samsung JACKPOTLTE, ARMv8, > Exynos7885) but when CONFIG_ARCH_FIXUP_FDT_MEMORY is enabled, the bootm > command leads to an unaligned memory access, which results in a > synchronous abor

Re: [PATCH 07/10] test: dm: add SCMI base protocol test

2023-07-10 Thread Simon Glass
Hi, On Sun, 9 Jul 2023 at 20:04, AKASHI Takahiro wrote: > > On Fri, Jul 07, 2023 at 11:35:49AM -0600, Simon Glass wrote: > > Hi, > > > > On Tue, 4 Jul 2023 at 03:35, AKASHI Takahiro > > wrote: > > > > > > Hi Simon, > > > > >

Re: [PATCH v4 3/3] binman: Add tests for etype encrypted

2023-07-10 Thread Simon Glass
dts > create mode 100644 tools/binman/test/294_encrypted_key_source.dts > create mode 100644 tools/binman/test/295_encrypted_key_file.dts nit below: Reviewed-by: Simon Glass > > diff --git a/tools/binman/ftest.py b/tools/binman/ftest.py > index e53181afb7..c1ace9a401 10

Re: [PATCH 7/7] rockchip: chromebook_speedy: Enable sound

2023-07-10 Thread Simon Glass
m/dts/rk3288-veyron-speedy-u-boot.dtsi | 14 ++ > configs/chromebook_speedy_defconfig | 5 + > 2 files changed, 19 insertions(+) > Reviewed-by: Simon Glass

Re: [PATCH v2 01/11] binman: elf: Check for ELF_TOOLS availability and remove extra semicolon

2023-07-10 Thread Simon Glass
Hi Lukas, On Mon, 10 Jul 2023 at 07:49, Lukas Funke wrote: > > Hi Simon, > > On 07.07.2023 19:35, Simon Glass wrote: > > Hi Lukas, > > > > On Thu, 6 Jul 2023 at 09:38, wrote: > >> > >> From: Lukas Funke > >> > >> Check if

Re: [PATCH v3 06/11] binman: capsule: Add support for generating capsules

2023-07-10 Thread Simon Glass
Hi Sughosh, On Sun, 9 Jul 2023 at 07:34, Sughosh Ganu wrote: > > Add support in binman for generating capsules. The capsule parameters > can be specified either through a config file or through the capsule > binman entry. > > Signed-off-by: Sughosh Ganu > --- > Changes since V2: > * New patch wh

Re: [PATCH v3 08/11] test: py: Setup capsule files for testing

2023-07-10 Thread Simon Glass
t setup > before initiation of u-boot build. > > test/py/conftest.py | 87 + > 1 file changed, 87 insertions(+) Reviewed-by: Simon Glass

Re: [PATCH v3 09/11] test: capsule: Remove public key embed logic from capsule update test

2023-07-10 Thread Simon Glass
/sandbox_defconfig| 1 + > configs/sandbox_flattree_defconfig | 1 + > test/py/tests/test_efi_capsule/conftest.py | 30 +++- > test/py/tests/test_efi_capsule/signature.dts | 10 --- > 4 files changed, 6 insertions(+), 36 deletions(-) > delete mode 1

Re: [PATCH v3 10/11] sandbox: capsule: Add a config file for generating capsules

2023-07-10 Thread Simon Glass
Hi Sughosh, On Sun, 9 Jul 2023 at 07:34, Sughosh Ganu wrote: > > Support has been added to the mkeficapsule tool to generate capsules > by parsing the capsule parameters through a config file. Add a config > file for generating capsules. These capsules will be used for testing > the capsule updat

Re: [PATCH v3 11/11] sandbox: capsule: Generate capsule related files through binman

2023-07-10 Thread Simon Glass
Hi, On Sun, 9 Jul 2023 at 07:34, Sughosh Ganu wrote: > > The EFI capsule files can now be generated as part of u-boot > build. This is done through binman. Add capsule entry nodes in the > u-boot.dtsi for the sandbox architecture for generating the > capsules. Remove the corresponding generation

Re: [BUG] fdt_pack_reg in common/fdt_support.c can cause crash from unaligned access

2023-07-10 Thread Simon Glass
Hi, On Mon, 10 Jul 2023 at 14:13, Tom Rini wrote: > > On Mon, Jul 10, 2023 at 01:45:46PM -0600, Simon Glass wrote: > > Hi David, > > > > On Sun, 9 Jul 2023 at 19:11, David Virag wrote: > > > > > > Hi, > > > > > > I'

Re: [PATCH v3 00/19] binman: Simple templating feature and mkimage conversion

2023-07-10 Thread Simon Glass
Hi Jan, On Mon, 10 Jul 2023 at 12:40, Jan Kiszka wrote: > > On 10.07.23 18:00, Simon Glass wrote: > > Hi Jan, > > > > On Sun, 9 Jul 2023 at 23:21, Jan Kiszka wrote: > >> > >> On 10.07.23 04:40, Simon Glass wrote: > >>> This series converts

Re: [PATCH v3 02/11] capsule: authenticate: Add capsule public key in platform's dtb

2023-07-10 Thread Simon Glass
Hi Sughosh, Heinrich, On Mon, 10 Jul 2023 at 01:24, Sughosh Ganu wrote: > > hi Heinrich, > > On Sun, 9 Jul 2023 at 19:22, Heinrich Schuchardt wrote: > > > > > > > > Am 9. Juli 2023 15:33:17 MESZ schrieb Sughosh Ganu > > : > > >The EFI capsule authentication logic in u-boot expects the public ke

Re: [PATCH v3 03/11] doc: capsule: Document the new mechanism to embed ESL file into dtb

2023-07-10 Thread Simon Glass
e need to use the u-boot.dtsi file for embedding the > public key ESL into the DTB. > > doc/develop/uefi/uefi.rst | 22 +- > 1 file changed, 9 insertions(+), 13 deletions(-) > Reviewed-by: Simon Glass

Re: [PATCH v3 07/11] CI: capsule: Setup the files needed for capsule update testing

2023-07-10 Thread Simon Glass
Hi Sughosh, On Sun, 9 Jul 2023 at 07:34, Sughosh Ganu wrote: > > Support has being added through earlier commits to build capsules > and embed the public key needed for capsule authentication as part of > u-boot build. > > From the testing point-of-view, this means the input files needed for > ge

[PATCH v4 00/20] binman: Simple templating feature and mkimage conversion

2023-07-11 Thread Simon Glass
'preseverd' and 'inserter' typos Marek Vasut (1): binman: Convert mkimage to Entry_section Simon Glass (19): binman: Correct coverage gap in control binman: Init align_default in entry_Section binman: Use GetEntries() to obtain section contents binman: Read _multiple_d

[PATCH v4 01/20] binman: Correct coverage gap in control

2023-07-11 Thread Simon Glass
Add a pragma to deal with the code-coverage gap which drops binman down to 90% coverage. Fixes: de65b122a25 (tools: Fall back to importlib_resources on Python 3.6) Signed-off-by: Simon Glass --- (no changes since v1) tools/binman/control.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion

[PATCH v4 02/20] binman: Init align_default in entry_Section

2023-07-11 Thread Simon Glass
This should be set up in the init function, to avoid a warning about a property not set up there. Fix it. Signed-off-by: Simon Glass --- (no changes since v1) tools/binman/etype/section.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/binman/etype/section.py b/tools/binman/etype

[PATCH v4 03/20] binman: Use GetEntries() to obtain section contents

2023-07-11 Thread Simon Glass
Some section types don't have a simple _entries list. Use the GetEntries() method in GetEntryContents() and other places to handle this. This makes the behaviour more consistent. Signed-off-by: Simon Glass --- (no changes since v1) tools/binman/etype/section.py | 18 +---

[PATCH v4 04/20] binman: Read _multiple_data_files in the correct place

2023-07-11 Thread Simon Glass
Move this to the ReadEntries() function where it belongs. Signed-off-by: Simon Glass --- (no changes since v1) tools/binman/etype/mkimage.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/binman/etype/mkimage.py b/tools/binman/etype/mkimage.py index e028c4407081

[PATCH v4 05/20] binman: Allow disabling symbol writing

2023-07-11 Thread Simon Glass
Some boards don't use symbol writing but do access the symbols in SPL. Provide an option to work around this. Signed-off-by: Simon Glass --- (no changes since v1) tools/binman/binman.rst | 7 ++ tools/binman/entry.py | 4 +++- tools/binman/

[PATCH v4 06/20] stm32mp15: Avoid writing symbols in SPL

2023-07-11 Thread Simon Glass
;t support symbol writing. But with the upcoming conversion to a section, it will. So add a property to disable symbol writing. Signed-off-by: Simon Glass --- (no changes since v1) arch/arm/dts/stm32mp15-u-boot.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/dts/stm32mp15-u-boot.dt

[PATCH v4 07/20] binman: Update elf to return number of written symbols

2023-07-11 Thread Simon Glass
Update the LookupAndWriteSymbols() function to return the number of symbols written. Also add some logging for when debugging is not enabled. Signed-off-by: Simon Glass --- (no changes since v3) Changes in v3: - Add new patch for elf to return number of written symbols tools/binman/elf.py

[PATCH v4 08/20] binman: Add more detail on how ObtainContents() works

2023-07-11 Thread Simon Glass
This area of binman can be a bit confusing. Add some more comments to help. Signed-off-by: Simon Glass --- (no changes since v3) Changes in v3: - Add new patch with more detail on how ObtainContents() works tools/binman/entry.py | 3 +++ tools/binman/etype/section.py | 32

[PATCH v4 09/20] binman: Convert mkimage to Entry_section

2023-07-11 Thread Simon Glass
From: Marek Vasut This is needed to handle mkimage with inner section located itself in a section. Signed-off-by: Marek Vasut Use BuildSectionData() instead of ObtainContents(), add tests and a few other minor fixes: Signed-off-by: Simon Glass --- (no changes since v3) Changes in v3: - Fix

[PATCH v4 12/20] binman: Correct handling of zero bss size

2023-07-11 Thread Simon Glass
Fix the check for the __bss_size symbol, since it may be 0. Unfortunately there was no test coverage for this. Signed-off-by: Simon Glass --- (no changes since v1) tools/binman/elf_test.py | 5 + tools/binman/etype/u_boot_spl_bss_pad.py | 2 +- tools/binman/etype

[PATCH v4 11/20] binman: Drop __bss_size variable in bss_data.c

2023-07-11 Thread Simon Glass
This is not needed since the linker script sets it up. Drop the variable to avoid confusion. Fix the prototype for main() while we are here. Signed-off-by: Simon Glass --- (no changes since v1) tools/binman/test/bss_data.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a

[PATCH v4 10/20] binman: Provide a way to specify the fdt-list directly

2023-07-11 Thread Simon Glass
to be used instead. Signed-off-by: Simon Glass --- (no changes since v3) Changes in v3: - Fix 'specific' typo tools/binman/entries.rst | 6 +++ tools/binman/etype/fit.py | 9 tools/binman/ftest.py | 14 ++- tools/b

[PATCH v4 13/20] dtoc: Support copying the contents of a node into another

2023-07-11 Thread Simon Glass
This permits implementation of a simple templating system, where a node can be reused as a base for others. For now this adds new subnodes after any existing ones. Signed-off-by: Simon Glass --- Changes in v4: - Avoid copying phandle nodes Changes in v3: - Add a new devicetree file especially

[PATCH v4 14/20] dtoc: Allow inserting a list of nodes into another

2023-07-11 Thread Simon Glass
Provide a way to specify a phandle list of nodes which are to be inserted into an existing node. Signed-off-by: Simon Glass --- Changes in v4: - Support copying over properties from each template node - Make sure phandles are not copied Changes in v3: - Adjust to use the new example file

[PATCH v4 16/20] binman: Support templating with multiple images

2023-07-11 Thread Simon Glass
Allow a template to appear in the top level description when using multiple images. Signed-off-by: Simon Glass --- (no changes since v3) Changes in v3: - Drop duplicate dts-v1 header tools/binman/control.py | 5 +++-- tools/binman/ftest.py| 12

[PATCH v4 15/20] binman: Support simple templates

2023-07-11 Thread Simon Glass
f an image. Implement this mechanism. Signed-off-by: Simon Glass --- Changes in v4: - Copy over properties from the top-level template node Changes in v2: - Correct ordering of template nodes - Fix 'preseverd' and 'inserter' typos tools/bin

[PATCH v4 17/20] binman: Add a test for templating in a FIT

2023-07-11 Thread Simon Glass
Add this as a separate test case. Signed-off-by: Simon Glass --- (no changes since v3) Changes in v3: - Add new test case for templating in a FIT tools/binman/ftest.py | 7 + tools/binman/test/288_template_fit.dts | 37 ++ 2 files changed, 44

[PATCH v4 18/20] binman: Support templates at any level

2023-07-11 Thread Simon Glass
Allow templates to be used inside a section, not just in the top-level /binman node. Signed-off-by: Simon Glass --- (no changes since v1) tools/binman/control.py| 5 ++- tools/binman/ftest.py | 8 tools/binman/test/289_template_section.dts | 52

[PATCH v4 19/20] binman: Support writing symbols inside a mkimage image

2023-07-11 Thread Simon Glass
Add support for writing symbols and determining the assumed position of binaries inside a mkimage image. This is useful as an example for other entry types which might want to do the same thing. Signed-off-by: Simon Glass --- (no changes since v3) Changes in v3: - Add new patch to support

[PATCH v4 20/20] binman: Reduce state.SetInt and bintool cmd to debug level

2023-07-11 Thread Simon Glass
These are not very important message. Change them to use the 'debug' level instead of 'detail'. Signed-off-by: Simon Glass --- Changes in v4: - Add new patch to reduce state.SetInt and bintool cmd to debug level tools/binman/bintool.py | 2 +- tools/binman/state.py | 4 +

Re: [PATCH v4 1/3] binman: Add support for externally encrypted blobs

2023-07-11 Thread Simon Glass
Hi Christian, On Tue, 11 Jul 2023 at 08:58, Taedcke, Christian wrote: > > Hello Jonas, > > On 10.07.2023 12:48, Jonas Karlman wrote: > > Hi Christian, > > > > On 2023-07-10 11:25, christian.taedcke-...@weidmueller.com wrote: > >> From: Christian Taedcke > >> > >> This adds a new etype encrypted

Re: [PATCH v3 00/19] binman: Simple templating feature and mkimage conversion

2023-07-11 Thread Simon Glass
Hi Jan, On Mon, 10 Jul 2023 at 15:38, Simon Glass wrote: > > Hi Jan, > > On Mon, 10 Jul 2023 at 12:40, Jan Kiszka wrote: > > > > On 10.07.23 18:00, Simon Glass wrote: > > > Hi Jan, > > > > > > On Sun, 9 Jul 2023 at 23:21, Jan Kiszka wrote:

Re: [PATCH] Makefile: Add missing quotes around sort --field-separator

2023-07-11 Thread Simon Glass
ilan P. Stanić > Signed-off-by: Marek Vasut > --- > Cc: Christoph Niedermaier > Cc: Marek Behún > Cc: Simon Glass > Cc: Stefano Babic > Cc: u-b...@dh-electronics.com > Cc: u-boot@lists.denx.de > --- > Makefile | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Reviewed-by: Simon Glass

Re: [BUG] fdt_pack_reg in common/fdt_support.c can cause crash from unaligned access

2023-07-11 Thread Simon Glass
Hi David, On Tue, 11 Jul 2023 at 04:34, David Virag wrote: > > On Mon, 2023-07-10 at 15:38 -0600, Simon Glass wrote: > > Hi, > > > > On Mon, 10 Jul 2023 at 14:13, Tom Rini wrote: > > > > > > On Mon, Jul 10, 2023 at 01:45:46PM -0600, Simon Glass wrote: &

Re: [PATCH v2] event: Add fpga load event

2023-07-11 Thread Simon Glass
Hi Christian, On Tue, 11 Jul 2023 at 05:44, wrote: > > From: Christian Taedcke > > This enables implementing custom logic after a bitstream was loaded > into the fpga. > > Signed-off-by: Christian Taedcke > --- > > Changes in v2: > - replace __weak function with a new event > > drivers/fpga/f

Re: [PATCH 0/4] introduce EFI_RAM_DISK_PROTOCOL

2023-07-11 Thread Simon Glass
Hi, On Tue, 11 Jul 2023 at 00:23, Masahisa Kojima wrote: > > On Mon, 10 Jul 2023 at 11:28, AKASHI Takahiro > wrote: > > > > On Mon, Jul 10, 2023 at 11:13:12AM +0900, Masahisa Kojima wrote: > > > On Fri, 7 Jul 2023 at 18:12, AKASHI Takahiro > > > wrote: > > > > > > > > On Fri, Jul 07, 2023 at 0

Re: [PATCH v3 06/11] binman: capsule: Add support for generating capsules

2023-07-11 Thread Simon Glass
Hi Sughosh, On Tue, 11 Jul 2023 at 01:13, Sughosh Ganu wrote: > > hi Simon, > > On Tue, 11 Jul 2023 at 03:08, Simon Glass wrote: > > > > Hi Sughosh, > > > > On Sun, 9 Jul 2023 at 07:34, Sughosh Ganu wrote: > > > > > > Add support in

Re: [PATCH v3 11/11] sandbox: capsule: Generate capsule related files through binman

2023-07-11 Thread Simon Glass
Hi Sughosh, On Tue, 11 Jul 2023 at 01:24, Sughosh Ganu wrote: > > hi Simon, > > On Tue, 11 Jul 2023 at 03:09, Simon Glass wrote: > > > > Hi, > > > > On Sun, 9 Jul 2023 at 07:34, Sughosh Ganu wrote: > > > > > > The EFI capsule files can n

Re: [PATCH v3 10/11] sandbox: capsule: Add a config file for generating capsules

2023-07-11 Thread Simon Glass
Hi Sughosh, On Tue, 11 Jul 2023 at 01:18, Sughosh Ganu wrote: > > hi Simon, > > On Tue, 11 Jul 2023 at 03:08, Simon Glass wrote: > > > > Hi Sughosh, > > > > On Sun, 9 Jul 2023 at 07:34, Sughosh Ganu wrote: > > > > > > Support has be

Re: [PATCH v4 09/20] binman: Convert mkimage to Entry_section

2023-07-11 Thread Simon Glass
Hi Jonas, On Tue, 11 Jul 2023 at 10:52, Jonas Karlman wrote: > > Hi Simon, > > On 2023-07-11 16:59, Simon Glass wrote: > > From: Marek Vasut > > > > This is needed to handle mkimage with inner section located itself in a > > section. > > > > Sign

Re: [PATCH v1 1/2] drivers: firmware: introduce Meson Secure Monitor driver

2023-07-11 Thread Simon Glass
+AKASHI Takahiro Hi Alexey, On Tue, 11 Jul 2023 at 04:25, Alexey Romanov wrote: > > Hi Simon, > > On Mon, Jul 10, 2023 at 01:45:53PM -0600, Simon Glass wrote: > > Hi Alexey, > > > > On Mon, 10 Jul 2023 at 02:34, Alexey Romanov > > wrote: > > >

Re: [PATCH v4 00/20] binman: Simple templating feature and mkimage conversion

2023-07-11 Thread Simon Glass
Hi Jan, On Tue, 11 Jul 2023 at 13:21, Jan Kiszka wrote: > > On 11.07.23 16:59, Simon Glass wrote: > > This series converts the mkimage entry type to be a section, i.e. based on > > the entry_Section class. This makes it more consistent in its behaviour, > > e.g. all

[PATCH 2/2] schemas: Add a schema for binman

2023-07-11 Thread Simon Glass
I am unsure whether to add this with a generic name, such as 'layout', but for now am using /firmware/binman to avoid conflicts with any other firmware-layout schema that others might be working on. Signed-off-by: Simon Glass --- dtschema/schemas/firmware/binman.yaml

[PATCH 1/2] schemas: Add firmware node schema

2023-07-11 Thread Simon Glass
Add a motivation and purpose for this new proposed node. Signed-off-by: Simon Glass --- dtschema/schemas/firmware.yaml | 83 ++ 1 file changed, 83 insertions(+) create mode 100644 dtschema/schemas/firmware.yaml diff --git a/dtschema/schemas/firmware.yaml b

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

2023-07-11 Thread Simon Glass
Hi Peter, On Thu, 20 Apr 2023 at 10:30, Simon Glass wrote: > > Hi Peter, > > On Thu, 20 Apr 2023 at 20:20, Peter Robinson wrote: > > > > On Wed, Apr 19, 2023 at 11:40 PM Simon Glass wrote: > > > > > > Hi Peter, > > > > > > On Wed, 19

[PATCH] bdinfo: Correct use of assertions

2023-07-11 Thread Simon Glass
This test was written for the incorrect use of assertions. Update it to build with the previous approach, where tests fail at the first assertion. Signed-off-by: Simon Glass --- test/cmd/bdinfo.c | 79 +-- 1 file changed, 49 insertions(+), 30

Re: [PATCH] bdinfo: Correct use of assertions

2023-07-11 Thread Simon Glass
Hi Marek, On Tue, 11 Jul 2023 at 17:10, Marek Vasut wrote: > > On 7/12/23 00:51, Simon Glass wrote: > > This test was written for the incorrect use of assertions. Update it to > > build with the previous approach, where tests fail at the first > > assertion. > > S

[PATCH v2] bdinfo: Correct use of assertions

2023-07-11 Thread Simon Glass
int and using ut_assertok() to call it. Signed-off-by: Simon Glass --- Changes in v2: - Expand the commit message to be clearer test/cmd/bdinfo.c | 79 +-- 1 file changed, 49 insertions(+), 30 deletions(-) diff --git a/test/cmd/bdinfo.c b/test/cmd

Re: [PATCH] disk: Use BOOT_DEFAULTS instead of DISTRO_DEFAULTS

2023-07-12 Thread Simon Glass
EFI_PARTITION and ISO_PARTITION. > > Fixes: a0c739c184ca ("boot: Create a common BOOT_DEFAULTS for distro and > bootstd") > Signed-off-by: Jonas Karlman > --- > disk/Kconfig | 8 > 1 file changed, 4 insertions(+), 4 deletions(-) > Reviewed-by: Simon Glass

Re: [PATCH] CI: Add automatic retry for test.py jobs

2023-07-12 Thread Simon Glass
Hi Tom, On Tue, 11 Jul 2023 at 20:33, Tom Rini wrote: > > It is not uncommon for some of the QEMU-based jobs to fail not because > of a code issue but rather because of a timing issue or similar problem > that is out of our control. Make use of the keywords that Azure and > GitLab provide so that

Re: [PATCH v3] event: Add fpga load event

2023-07-12 Thread Simon Glass
t.h | 16 ++++ > 3 files changed, 39 insertions(+) Reviewed-by: Simon Glass

Re: [RFC PATCH 1/3] scripts: kconfig: Add config fragment support in board/../

2023-07-12 Thread Simon Glass
Hi Jason, On Tue, 11 Jul 2023 at 16:29, Jason Kacines wrote: > > Add support to config fragments (.config) located in the /board > directory. This will allow only base defconfigs to live in /configs and Does this mean defconfigs? > all fragments to live in their respective device directory in /

Re: [RFC PATCH 0/3] Minimal platform configuration

2023-07-12 Thread Simon Glass
Hi Jason, On Tue, 11 Jul 2023 at 16:28, Jason Kacines wrote: > > When someone attempts to bring up a custom board using TI SoCs (am62x in > this case), it often takes several days for someone to reduce the > current configuration from the TI EVM/SK boards to a configuration that > works for their

Re: [PATCH v2 00/19] bootstd: Add a bootmeth for ChromiumOS on x86

2023-07-12 Thread Simon Glass
Hi Bin, On Wed, 12 Jul 2023 at 05:54, Bin Meng wrote: > > Hi Simon, > > On Tue, Jun 20, 2023 at 4:23 PM Simon Glass wrote: > > > > This series adds a simple bootmeth for ChromiumOS on x86. It uses zimage > > to boot the kernel. > > > > Full verified bo

Re: [PATCH v2 18/19] x86: coreboot: Adjust various config options

2023-07-12 Thread Simon Glass
Hi Bin, On Wed, 12 Jul 2023 at 05:58, Bin Meng wrote: > > Hi Simon, > > On Tue, Jun 20, 2023 at 4:23 PM Simon Glass wrote: > > > > Drop IDE since this is not widely used anymore. Add NVME since it is > > becoming more popular. > > > > Add ms so i

Re: [PATCH] fdt: cmd: allow to add chosen properties

2023-07-12 Thread Simon Glass
Hi Alexander, On Sat, 27 May 2023 at 16:02, Alexander Couzens wrote: > > Add command fdt chosenu32/chosenstr to allow setting runtime properties. > This is useful to pass information to the OS. > E.g. which slot is currently booted in a A/B/recovery scheme. > Or the reset reason which may only vi

Re: [PATCH v4 1/3] binman: Add support for externally encrypted blobs

2023-07-12 Thread Simon Glass
Hi Christian, On Wed, 12 Jul 2023 at 03:20, Taedcke, Christian wrote: > > Hello Simon, > > thank you for your help so far. > > On 11.07.2023 17:01, Simon Glass wrote: > > Hi Christian, > > > > On Tue, 11 Jul 2023 at 08:58, Taedcke, Christian > >

Re: [PATCH v2 07/19] bootstd: Use the bootargs env var for changing the cmdline

2023-07-12 Thread Simon Glass
Hi Bin, On Wed, 12 Jul 2023 at 05:48, Bin Meng wrote: > > Hi Simon, > > On Tue, Jun 20, 2023 at 4:24 PM Simon Glass wrote: > > > > The "bootargs" environment variable is used to set the command-line > > arguments to pass to the OS. Use this same mech

Re: [PATCH 0/4] introduce EFI_RAM_DISK_PROTOCOL

2023-07-12 Thread Simon Glass
Hi Heinrich, On Wed, 12 Jul 2023 at 00:41, Heinrich Schuchardt wrote: > > On 7/11/23 21:13, Simon Glass wrote: > > Hi, > > > > On Tue, 11 Jul 2023 at 00:23, Masahisa Kojima > > wrote: > >> > >> On Mon, 10 Jul 2023 at 11:28, AKASHI Takahiro > &

[PATCH v3 00/18] bootstd: Add a bootmeth for ChromiumOS on x86

2023-07-12 Thread Simon Glass
h to switch x86 qemu to standard boot - Drop mention of NVMe support Simon Glass (18): test: Skip flat-tree tests if devicetree is not used bootstd: Correct the name of the QEMU bootmeth bootstd: Use bootdev instead of bootdevice bootstd: Correct baudrate typo bootstd: Allow storing the OS c

[PATCH v3 01/18] test: Skip flat-tree tests if devicetree is not used

2023-07-12 Thread Simon Glass
Many tests don't actually use the devicetree at all so there is no point in running the tests both with livetree and flat tree. Check for this and skip the flat tree test in that case. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- (no changes since v1) test/test-main.c | 3 ++- 1

[PATCH v3 02/18] bootstd: Correct the name of the QEMU bootmeth

2023-07-12 Thread Simon Glass
This does not relate to sandbox. Correct the name. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- (no changes since v1) boot/bootmeth_qfw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boot/bootmeth_qfw.c b/boot/bootmeth_qfw.c index ecd4b082fd20..8ebbc3ebcd58

[PATCH v3 04/18] bootstd: Correct baudrate typo

2023-07-12 Thread Simon Glass
This is a copy error. Fix it. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- (no changes since v1) boot/bootmeth-uclass.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boot/bootmeth-uclass.c b/boot/bootmeth-uclass.c index 3b3e0614dafa..33662a753889 100644 --- a

[PATCH v3 05/18] bootstd: Allow storing the OS command line in the bootflow

2023-07-12 Thread Simon Glass
Some operating systems have a command line which can be adjusted before booting. Store this in the bootflow so it can be controlled within U-Boot. Fix up the example output while we are here, since there are a few new items. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- (no changes

[PATCH v3 03/18] bootstd: Use bootdev instead of bootdevice

2023-07-12 Thread Simon Glass
It seems better to call this a 'bootdev' since this is name used in the documentation. The older 'Bootdevice' name is no-longer used and may cause confusion with the 'bootdevice' environment variable. Update throughout to use bootdev. Signed-off-by: Simon Glass R

[PATCH v3 06/18] bootstd: Use the bootargs env var for changing the cmdline

2023-07-12 Thread Simon Glass
o. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- (no changes since v1) boot/bootflow.c| 59 ++ cmd/bootflow.c | 6 + include/env_callback.h | 6 +++-- 3 files changed, 69 insertions(+), 2 deletions(-) diff --git a/boot/bo

[PATCH v3 07/18] bootstd: Allow storing x86 setup information

2023-07-12 Thread Simon Glass
ld is present always, though, to avoid needing accessors or #ifdefs when building code on other archs. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- (no changes since v2) Changes in v2: - Explain why the setup information is not behind an #ifdef cmd/bootflow.c | 2 ++ include/bootflow.

[PATCH v3 08/18] bdinfo: Show information about the serial port

2023-07-12 Thread Simon Glass
It is useful to see the detailed setting of the serial port, e.g. to allow setting up earlycon or console for Linux. Add this output to the 'bdinfo' command. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- (no changes since v1) cmd/bdinfo.c | 21 + 1 file c

[PATCH v3 09/18] bootstd: Add a function to update a command line

2023-07-12 Thread Simon Glass
, so that it is easier to make changes before booting. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- (no changes since v2) Changes in v2: - Add comment for copy_in() - Avoid multiplication on a boolean - Add a comment as to why @len is needed boot/bootflow.c | 190

[PATCH v3 10/18] bootstd: Add support for updating elements of the cmdline

2023-07-12 Thread Simon Glass
he example output while we are here, since there are a few new items. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- (no changes since v2) Changes in v2: - Show error messages when something goes wrong boot/bootflow.c| 53 ++ cmd/bootflow.c

[PATCH v3 11/18] x86: qemu: Create a little more room for U-Boot

2023-07-12 Thread Simon Glass
We want to enable some of the more interesting bootstd features. Move SPL up to create some room for the larger U-Boot binary. Also disable microcode since this is not needed Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- (no changes since v2) Changes in v2: - Add new patch to create a

[PATCH v3 12/18] x86: qemu: Switch to standard boot

2023-07-12 Thread Simon Glass
Drop use of the distro boot script and use standard boot instead. Moving to a text-based environment would be desirable also, but requires additional work. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- (no changes since v2) Changes in v2: - Add new patch to switch x86 qemu to standard

[PATCH v3 13/18] bootstd: Support automatically setting Linux parameters

2023-07-12 Thread Simon Glass
it turns out to be. It is very handy for ChromeOS, since otherwise it is very difficult to manually determine the UART address or port number, particularly in a script. Provide an example of how this is used with ChromeOS. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- (no changes since v1

[PATCH v3 14/18] x86: Add a function to boot a zimage

2023-07-12 Thread Simon Glass
Add a direct interface to booting a zimage, so that bootstd can call it without going through the command-line interface. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- (no changes since v1) arch/x86/include/asm/zimage.h | 17 arch/x86/lib/zimage.c | 82

[PATCH v3 15/18] x86: zimage: Export the function to obtain the cmdline

2023-07-12 Thread Simon Glass
Allow reading the command line from a zimage, so that it can be recorded in the bootflow. Reviewed-by: Bin Meng Signed-off-by: Simon Glass --- (no changes since v1) arch/x86/include/asm/zimage.h | 10 ++ arch/x86/lib/zimage.c | 11 --- 2 files changed, 18 insertions

[PATCH v3 16/18] bootstd: Add a simple bootmeth for ChromiumOS

2023-07-12 Thread Simon Glass
It is possible to boot x86-based ChromeOS machines by parsing a table and locating the kernel and command line. Add a bootmeth for this. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- (no changes since v1) boot/Kconfig | 11 ++ boot/Makefile| 1

[PATCH v3 17/18] x86: coreboot: Adjust various config options

2023-07-12 Thread Simon Glass
-boot options. Finally, expand the malloc() space so we can read large kernels into a bootflow. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- Changes in v3: - Drop CONFIG_MISC and CONFIG_NVMEM - Update commit message configs/coreboot_defconfig | 14 ++ 1 file changed, 2

[PATCH v3 18/18] x86: coral: Adjust various config options

2023-07-12 Thread Simon Glass
'bootflow scan', since it can find and boot the OS. Finally, expand the malloc() space so we can read large kernels into a bootflow. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- Changes in v3: - Separate out patch to restore test behaviour on failure Changes in v2: - Drop

Re: [PATCH v4 01/45] x86: Return mtrr_add_request() to its old purpose

2023-07-12 Thread Simon Glass
Hi Bin, On Wed, 12 Jul 2023 at 08:02, Bin Meng wrote: > > Hi Simon, > > On Mon, Jun 19, 2023 at 8:01 PM Simon Glass wrote: > > > > This function used to be for adding a list of requests to be actioned on > > relocation. Revert it back to this purpose, to avoid

Please pull u-boot-dm

2023-07-12 Thread Simon Glass
Antonov (1): sandbox: fix a compilation error Simon Glass (62): buildman: Fix verboose typo and add comment buildman: Provide an argument to the -R option buildman: Tidy up pylint warnings in main buildman: Convert camel case in control.py buildman: Fix most pylint w

[PATCH] dm: core: Deal with __symbols__ in devicetree

2023-07-12 Thread Simon Glass
This node is 'special' and doesn't have a compatible string. Deal with it is as a special case. Reported-by: Sahaj Sarup Signed-off-by: Simon Glass --- drivers/core/root.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/core/root.c b/drivers/core/root.c in

Re: Please pull u-boot-dm

2023-07-12 Thread Simon Glass
Hi Tom, On Wed, 12 Jul 2023 at 13:36, Tom Rini wrote: > > On Wed, Jul 12, 2023 at 03:29:39PM -0400, Tom Rini wrote: > > On Wed, Jul 12, 2023 at 09:51:13AM -0600, Simon Glass wrote: > > > > > Hi Tom. > > > > > > https://source.denx.de/

<    4   5   6   7   8   9   10   11   12   13   >