[PATCH v11 2/2] dt-bindings: mtd: fixed-partition: Add binman compatibles

2024-04-12 Thread Simon Glass
that, after discussion on v6, we decided to use the same 'fixed-partition' schema for the binman features, so this version adds a new 'binman.yaml' file providing the new compatibles to the existing partition.yaml binding. Signed-off-by: Simon Glass Reviewed-by: Rob Herring --- (no changes since

[PATCH v11 1/2] dt-bindings: mtd: fixed-partitions: Add alignment properties

2024-04-12 Thread Simon Glass
if the firmware is repacked, to ensure that alignment constraints are not violated. Therefore they are provided as part of the schema. Signed-off-by: Simon Glass Reviewed-by: Rob Herring --- Changes in v11: - Drop mention of Binman - Use 'content' instead of 'contents' Changes in v10: - Update the minimum

Re: [PATCH v10 1/2] dt-bindings: mtd: fixed-partitions: Add alignment properties

2024-04-12 Thread Simon Glass
gt; constraints are not violated. Therefore they are provided as part of > > the schema. > > > > Signed-off-by: Simon Glass > > Reviewed-by: Rob Herring > > --- > > > > Changes in v10: > > - Update the minimum to 2 > > > > Changes in v9: > &

[PATCH v10 2/2] dt-bindings: mtd: fixed-partition: Add binman compatibles

2024-03-26 Thread Simon Glass
that, after discussion on v6, we decided to use the same 'fixed-partition' schema for the binman features, so this version adds a new 'binman.yaml' file providing the new compatibles to the existing partition.yaml binding. Signed-off-by: Simon Glass --- Changes in v10: - Drop binman,entry since

[PATCH v10 1/2] dt-bindings: mtd: fixed-partitions: Add alignment properties

2024-03-26 Thread Simon Glass
if the firmware is repacked, to ensure that alignment constraints are not violated. Therefore they are provided as part of the schema. Signed-off-by: Simon Glass Reviewed-by: Rob Herring --- Changes in v10: - Update the minimum to 2 Changes in v9: - Move binding example to next batch to avoid build error

Re: [PATCH v6 1/3] dt-bindings: mtd: partitions: Add binman compatible

2024-03-13 Thread Simon Glass
Hi Miquel, On Wed, 13 Mar 2024 at 20:35, Miquel Raynal wrote: > > Hi Simon, > > s...@chromium.org wrote on Wed, 13 Mar 2024 11:25:42 +1300: > > > Hi Miquel, > > > > On Fri, 8 Mar 2024 at 20:42, Miquel Raynal > > wrote: > > > > > > Hi Simon, > > > > > > s...@chromium.org wrote on Fri, 8 Mar

Re: [PATCH v6 1/3] dt-bindings: mtd: partitions: Add binman compatible

2024-03-12 Thread Simon Glass
Hi Miquel, On Fri, 8 Mar 2024 at 20:42, Miquel Raynal wrote: > > Hi Simon, > > s...@chromium.org wrote on Fri, 8 Mar 2024 15:44:25 +1300: > > > Hi Miquel, > > > > On Tue, 6 Feb 2024 at 01:17, Miquel Raynal > > wrote: > > > > > > Hi Simon, > > > > > > > > > > > > > > > > > > +description: | > >

Re: [PATCH v6 1/3] dt-bindings: mtd: partitions: Add binman compatible

2024-03-07 Thread Simon Glass
Hi Miquel, On Tue, 6 Feb 2024 at 01:17, Miquel Raynal wrote: > > Hi Simon, > > > > > > > > > > > > > > +description: | > > > > > > > > > > > > > + The binman node provides a layout for firmware, > > > > > > > > > > > > > used when packaging firmware > > > > > > > > > > > > > + from multiple

Re: [PATCH v6 1/3] dt-bindings: mtd: partitions: Add binman compatible

2024-02-05 Thread Simon Glass
Hi Miquel, On Mon, 5 Feb 2024 at 00:50, Miquel Raynal wrote: > > Hi Simon, > > s...@chromium.org wrote on Sun, 4 Feb 2024 05:07:38 -0700: > > > Hi Rob, > > > > On Wed, 17 Jan 2024 at 08:56, Rob Herring wrote: > > > > > > On Thu, Jan 4, 2024 at

Re: [PATCH v6 1/3] dt-bindings: mtd: partitions: Add binman compatible

2024-02-04 Thread Simon Glass
Hi Rob, On Wed, 17 Jan 2024 at 08:56, Rob Herring wrote: > > On Thu, Jan 4, 2024 at 3:54 PM Simon Glass wrote: > > > > Hi Rob, > > > > On Thu, Dec 14, 2023 at 2:09 PM Simon Glass wrote: > > > > > > Hi Rob, > > > > > > On Thu

Re: [PATCH v9 2/2] arm64: boot: Support Flat Image Tree

2024-02-02 Thread Simon Glass
Hi Masahiro, On Tue, 30 Jan 2024 at 02:16, Masahiro Yamada wrote: > > On Fri, Jan 26, 2024 at 1:04 AM Simon Glass wrote: > > > > Hi, > > > > On Wed, 17 Jan 2024 at 06:14, Simon Glass wrote: > > > > > > Hi Masahiro, Tom, > >

Re: [PATCH v9 2/2] arm64: boot: Support Flat Image Tree

2024-02-02 Thread Simon Glass
Hi, On Wed, 31 Jan 2024 at 15:03, Rob Herring wrote: > > On Tue, Jan 30, 2024 at 3:16 AM Masahiro Yamada wrote: > > > > On Fri, Jan 26, 2024 at 1:04 AM Simon Glass wrote: > > > > > > Hi, > > > > > > On Wed, 17 Jan 2024 at 06:14

Re: [PATCH v9 2/2] arm64: boot: Support Flat Image Tree

2024-01-25 Thread Simon Glass
Hi, On Wed, 17 Jan 2024 at 06:14, Simon Glass wrote: > > Hi Masahiro, Tom, > > On Tue, 9 Jan 2024 at 07:33, Tom Rini wrote: > > > > On Tue, Jan 09, 2024 at 11:01:42PM +0900, Masahiro Yamada wrote: > > > Hi Simon, > > > > > > >

Re: [PATCH v9 2/2] arm64: boot: Support Flat Image Tree

2024-01-17 Thread Simon Glass
Hi Masahiro, Tom, On Tue, 9 Jan 2024 at 07:33, Tom Rini wrote: > > On Tue, Jan 09, 2024 at 11:01:42PM +0900, Masahiro Yamada wrote: > > Hi Simon, > > > > > > On Wed, Jan 3, 2024 at 8:47 AM Simon Glass wrote: > > > > > > Hi Masahiro, > > >

Please pull u-boot-dm/next

2024-01-07 Thread Simon Glass
for QEMU firmware tables Simon Glass (12): smbios: Refactor 32-bit code into an else statement smbios: Move the rest of the SMBIOS2 code smbios: Use SMBIOS 3.0 to support an address above 4GB smbios: Correct gd_smbios_start() efi: Use the correct GUID for the SMBIOS table

Re: [PATCH v3 1/4] acpi: use 64-bit addresses in FADT table

2024-01-07 Thread Simon Glass
arch/x86/cpu/quark/acpi.c| 9 +++-- > arch/x86/cpu/tangier/acpi.c | 9 +++-- > arch/x86/lib/acpi_table.c| 9 ++--- > include/acpi/acpi_table.h| 6 ++ > 5 files changed, 13 insertions(+), 29 deletions(-) Reviewed-by: Simon Glass Applied to u-boot-dm/next, thanks!

Re: [PATCH v3 2/4] cmd: acpi: fix listing DSDT and FACS

2024-01-07 Thread Simon Glass
nged, 6 insertions(+), 2 deletions(-) Reviewed-by: Simon Glass Applied to u-boot-dm/next, thanks!

Re: [PATCH v3 3/4] cmd: acpi: check HW reduced flag in acpi list

2024-01-07 Thread Simon Glass
le changed, 4 insertions(+) Reviewed-by: Simon Glass Applied to u-boot-dm/next, thanks!

Re: [PATCH v4 2/9] acpi: carve out qfw_acpi.c

2024-01-07 Thread Simon Glass
On Tue, Dec 19, 2023 at 04:04:01PM +0100, Heinrich Schuchardt wrote: > Move the code related to copying tables from QEMU to a separate code > module. > > Signed-off-by: Heinrich Schuchardt > Reviewed-by: Tom Rini > Reviewed-by: Simon Glass > --- > v4: > no cha

Re: [PATCH v3 4/4] acpi: support 64bit in acpi_find_table for DSDT and FACS

2024-01-07 Thread Simon Glass
Hi Heinrich, On Sat, 16 Dec 2023 at 12:21, Heinrich Schuchardt wrote: > > On 12/16/23 19:45, Simon Glass wrote: > > On Sat, 16 Dec 2023 at 01:12, Heinrich Schuchardt > > wrote: > >> > >> Use X_DSDT and X_FIRMWARE_CTRL if available. > >

Re: [PATCH v4 1/9] acpi: Kconfig symbol CONFIG_QFW_ACPI

2024-01-07 Thread Simon Glass
Reviewed-by: Simon Glass --- v4: no change v3: no change v2: no change --- drivers/misc/Kconfig | 7 +++ drivers/misc/qfw.c | 4 ++-- lib/acpi/Makefile | 2 +- lib/acpi/acpi_writer.c | 4 ++-- 4 files changed, 12 insertions(+), 5 deletions(-) Applied to u-boot

Re: [PATCH v4 6/9] riscv: add support for QEMU firmware tables

2024-01-07 Thread Simon Glass
Enable the QEMU firmware interface if ACPI tables are to be supported on the QEMU platform. Enable the QFW MMIO interface if the QEMU firmware interface is enabled. Signed-off-by: Heinrich Schuchardt Reviewed-by: Simon Glass Reviewed-by: Ilias Apalodimas --- v4: no change v3

Re: [PATCH v4 3/9] arm: add ACPI fields to global data

2024-01-07 Thread Simon Glass
I > v2: > new patch > --- > arch/arm/include/asm/global_data.h | 7 ++- > 1 file changed, 6 insertions(+), 1 deletion(-) Reviewed-by: Simon Glass Applied to u-boot-dm/next, thanks!

Re: [PATCH v4 4/9] riscv: add ACPI fields to global data

2024-01-07 Thread Simon Glass
Add fields for the location of ACPI tables to the global data. Signed-off-by: Heinrich Schuchardt Reviewed-by: Simon Glass Reviewed-by: Bin Meng --- v4: no change v3: let tables in global data depend on CONFIG_(SPL_)ACPI v2: no change --- arch/riscv/include/asm

Re: [PATCH v4 5/9] acpi: enable writing ACPI tables on QEMU

2024-01-07 Thread Simon Glass
On Tue, Dec 19, 2023 at 04:04:04PM +0100, Heinrich Schuchardt wrote: > Invoke write_acpi_tables() via EVT_LAST_STAGE_INIT on QEMU except on X86. > X86 calls write_acpi_tables() in write_tables(). > > Signed-off-by: Heinrich Schuchardt > Reviewed-by: Simon Glass > --- > v4: &

Re: [PATCH v4 8/9] configs: qemu: add config fragment for ACPI

2024-01-07 Thread Simon Glass
Provide a configuration fragment to enable ACPI on QEMU. Signed-off-by: Heinrich Schuchardt Acked-by: Ilias Apalodimas Reviewed-by: Simon Glass --- v4: mention that QEMU v8.0.0 introduced RISC-V ACPI support v3: no change v2: no change --- MAINTAINERS

Re: [PATCH v4 7/9] riscv: allow usage of ACPI

2024-01-07 Thread Simon Glass
Select CONFIG_SUPPORT_ACPI to allow usage of ACPI tables with RISC-V. Signed-off-by: Heinrich Schuchardt Reviewed-by: Simon Glass --- v4: no change v3: no change v2: no change --- arch/Kconfig | 1 + 1 file changed, 1 insertion(+) Applied to u-boot-dm/next, thanks!

Re: [PATCH v4 9/9] arm: enable support for QEMU firmware tables

2024-01-07 Thread Simon Glass
On Tue, 19 Dec 2023 at 17:04, Heinrich Schuchardt wrote: > > Enable the QEMU firmware interface if ACPI tables are to be supported on > the QEMU platform. > > Signed-off-by: Heinrich Schuchardt > Reviewed-by: Simon Glass > --- > v4: > no change >

Re: [PATCH v5 01/12] smbios: Refactor 32-bit code into an else statement

2024-01-07 Thread Simon Glass
In preparation for adding support for SMBIOS3 move this code into an else statement. There is no functional change. Signed-off-by: Simon Glass Reviewed-by: Heinrich Schuchardt Reviewed-by: Ilias Apalodimas --- (no changes since v1) lib/smbios.c | 38 +- 1

Re: [PATCH v5 02/12] smbios: Move the rest of the SMBIOS2 code

2024-01-07 Thread Simon Glass
Move all of this logic into the else clause, since it will not be used for SMBIOS3 Signed-off-by: Simon Glass Reviewed-by: Heinrich Schuchardt Reviewed-by: Ilias Apalodimas --- (no changes since v1) lib/smbios.c | 15 +++ 1 file changed, 7 insertions(+), 8 deletions(-) Applied

Re: [PATCH v5 04/12] smbios: Use SMBIOS 3.0 to support an address above 4GB

2024-01-07 Thread Simon Glass
Hi Heinrich, On Mon, Jan 1, 2024 at 10:34 AM Heinrich Schuchardt wrote: > > On 12/31/23 16:25, Simon Glass wrote: > > When the SMBIOS table is written to an address above 4GB a 32-bit table > > address is not large enough. > > > > Use an SMBIOS3 table in that cas

Re: [PATCH v5 03/12] smbios: SMBIOS 3.0 (64-bit) Entry Point structure

2024-01-07 Thread Simon Glass
From: Heinrich Schuchardt Add definition of the SMBIOS 3.0 (64-bit) Entry Point structure. Signed-off-by: Heinrich Schuchardt Reviewed-by: Simon Glass Reviewed-by: Ilias Apalodimas Signed-off-by: Simon Glass --- (no changes since v4) Changes in v4: - Bring in this patch from Heinrich's

Re: [PATCH v5 05/12] smbios: Correct gd_smbios_start()

2024-01-07 Thread Simon Glass
This should access arch-specific properties. Fix it and update the existing usage. Signed-off-by: Simon Glass Reviewed-by: Heinrich Schuchardt Reviewed-by: Ilias Apalodimas --- (no changes since v2) Changes in v2: - Add a new patch to correct gd_smbios_start() include/asm-generic

Re: [PATCH v5 06/12] efi: Use the correct GUID for the SMBIOS table

2024-01-07 Thread Simon Glass
EFI does not use the 'anchor string' to determine the SMBIOS table version, instead preferring to have two separate GUIDs. Use the correct one, depending on the table version. Call unmap_system() to balance to the use of map_sysmem() Signed-off-by: Simon Glass Reviewed-by: Heinrich Schuchardt

Re: [PATCH v5 08/12] smbios: Drop support for SMBIOS2 tables

2024-01-07 Thread Simon Glass
On Sun, Dec 31, 2023 at 3:26 PM Simon Glass wrote: > > These tables are a pain since there is no way to handle memory above > 4GB. Use SMBIOS3 always. > > This should hopefully not create problems on x86 devices, since SMBIOS3 > was released seven years ago (2015). > > Si

Re: [PATCH v5 07/12] smbios: Require the caller to align the SMBIOS table

2024-01-07 Thread Simon Glass
All callers handle this alignment, so drop the unnecessary code. This simplifies things a little. Signed-off-by: Simon Glass Reviewed-by: Heinrich Schuchardt Reviewed-by: Ilias Apalodimas --- Changes in v5: - Update comment to mention x86 alignment include/smbios.h | 9 + lib

Re: [PATCH v5 09/12] efi: smbios: Drop support for SMBIOS2 tables

2024-01-07 Thread Simon Glass
On 12/31/23 16:25, Simon Glass wrote: > Only the v3 table is supported now, so always use this when installing > the EFI table. > > Signed-off-by: Simon Glass Reviewed-by: Heinrich Schuchardt > --- > > Changes in v5: > - Add new patch to drop support for SMBIOS2 t

Re: [PATCH v7] fdt: Allow the devicetree to come from a bloblist

2024-01-07 Thread Simon Glass
On Thu, 4 Jan 2024 at 03:49, Simon Glass wrote: > > Standard passage provides for a bloblist to be passed from one firmware > phase to the next. That can be used to pass the devicetree along as well. > Add an option to support this. > > Tests for this will be added as par

Re: [PATCH v5 11/12] acpi: Write pointers to tables instead of addresses

2024-01-07 Thread Simon Glass
On 12/31/23 16:25, Simon Glass wrote: > Sandbox uses an API to map between addresses and pointers. This allows > it to have (emulated) memory at zero and avoid arch-specific addressing > details. It also allows memory-mapped peripherals to work. > > As an example, on many machin

Re: [PATCH v5 10/12] acpi: Rename test dm_test_setup_ctx_and_base_tables()

2024-01-07 Thread Simon Glass
Am 31. Dezember 2023 16:25:53 MEZ schrieb Simon Glass : >Use the word 'acpi' in this test so that it runs along with all the >other ACPI tests. > >Signed-off-by: Simon Glass Reviewed-by: Heinrich Schuchardt >--- > >Changes in v5: >- Add

Re: [PATCH v5 12/12] efi: Correct smbios-table installation

2024-01-07 Thread Simon Glass
On 1/1/24 01:37, Simon Glass wrote: > Hi Heinrich, > > On Sun, Dec 31, 2023 at 9:27 AM Heinrich Schuchardt > wrote: >> >> On 12/31/23 16:25, Simon Glass wrote: >>> At present this code allocates memory when writing the tables and >>> then unnecessari

[PATCH 2/2] coreboot: Switch to a monospaced font

2024-01-07 Thread Simon Glass
The default font is proportional, with different character widths. Select a monospace font for coreboot so that the 'dm tree' output lines up correctly. Update the coreboot tests to match. Signed-off-by: Simon Glass --- configs/coreboot64_defconfig | 3 +++ configs/coreboot_defconfig | 3

[PATCH 1/2] video: Allow querying the font size

2024-01-07 Thread Simon Glass
All the font size to be queried using the 'font size' command. Signed-off-by: Simon Glass --- cmd/font.c | 17 + doc/usage/cmd/font.rst | 6 -- test/cmd/font.c| 9 + 3 files changed, 22 insertions(+), 10 deletions(-) diff --git a/cmd/font.c b

Re: [PATCH v2 00/19] x86: expo: Add support for editing coreboot CMOS RAM settings

2024-01-05 Thread Simon Glass
Hi Bin, On Fri, Jan 5, 2024 at 4:06 PM Bin Meng wrote: > > Hi Simon, > > On Sat, Jan 6, 2024 at 4:12 AM Simon Glass wrote: > > > > Hi Bin, > > > > On Thu, Jan 4, 2024 at 4:02 PM Bin Meng wrote: > > > > > > Hi Simon, > >

Re: [PATCH v2 00/19] x86: expo: Add support for editing coreboot CMOS RAM settings

2024-01-05 Thread Simon Glass
Hi Bin, On Thu, Jan 4, 2024 at 4:02 PM Bin Meng wrote: > > Hi Simon, > > On Thu, Jan 4, 2024 at 11:11 PM Simon Glass wrote: > > > > U-Boot provides support for editing settings with an 'expo', as well as > > reading and writing settings to CMOS RAM. >

Re: [PATCH v6 1/3] dt-bindings: mtd: partitions: Add binman compatible

2024-01-04 Thread Simon Glass
Hi Rob, On Thu, Dec 14, 2023 at 2:09 PM Simon Glass wrote: > > Hi Rob, > > On Thu, 14 Dec 2023 at 10:27, Rob Herring wrote: > > > > On Fri, Dec 08, 2023 at 03:58:10PM -0700, Simon Glass wrote: > > > Hi Rob, > > > > > > On Fri, 8 Dec 2023 at 14:

Re: [resend PATCH] bootdev: avoid infinite probe loop

2024-01-04 Thread Simon Glass
insertions(+), 2 deletions(-) > Reviewed-by: Simon Glass Thanks for the fix. Is this something for which a test could be added? One that fails (hangs) now but works with your patch? Regards, Simon

Re: booti usage offset requirements for compressed kernel and initrd with dtb

2024-01-04 Thread Simon Glass
Hi, On Thu, Jan 4, 2024 at 5:19 AM E Shattow wrote: > > Hello, > > There is data corruption when using booti on a JH7110 (riscv64) board to > load (over tftp or ymodem) a compressed kernel, compressed initrd, and > device tree blob, when the data are too close together (even though not >

[PATCH v2 18/19] x86: coreboot: Allow building an expo for editing CMOS config

2024-01-04 Thread Simon Glass
Coreboot provides the CMOS layout in the tables it passes to U-Boot. Use that to build an editor for the CMOS settings. Signed-off-by: Simon Glass --- Changes in v2: - Avoid using common.h boot/Makefile | 4 + boot/expo_build_cb.c| 245

[PATCH v2 19/19] x86: Enable RTC command by default

2024-01-04 Thread Simon Glass
The real-time clock is needed for most X86 systems and it is useful to be able to read from it. Enable the rtc command by default. Signed-off-by: Simon Glass --- Changes in v2: - Rebase to -next cmd/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/Kconfig b/cmd/Kconfig index

[PATCH v2 17/19] x86: coreboot: Add a command to check and update CMOS RAM

2024-01-04 Thread Simon Glass
Coreboot tables provide information about the CMOS-RAM checksum. Add a command which can check and update this. With this it is possible to adjust CMOS-RAM settings and tidy up the checksum afterwards. Signed-off-by: Simon Glass --- Changes in v2: - Avoid using common.h cmd/Kconfig

[PATCH v2 16/19] x86: coreboot: Enable support for the configuration editor

2024-01-04 Thread Simon Glass
Enable cedit support along with required options and a simple style. Signed-off-by: Simon Glass --- (no changes since v1) arch/x86/dts/coreboot.dts| 7 +++ configs/coreboot64_defconfig | 2 ++ configs/coreboot_defconfig | 2 ++ 3 files changed, 11 insertions(+) diff --git a/arch

[PATCH v2 14/19] x86: coreboot: Add a test for cbsysinfo command

2024-01-04 Thread Simon Glass
Add a simple test for this command, checking that coreboot has the required features. Signed-off-by: Simon Glass --- (no changes since v1) test/cmd/Makefile | 1 + test/cmd/coreboot.c | 36 2 files changed, 37 insertions(+) create mode 100644 test/cmd

[PATCH v2 15/19] x86: coreboot: Show the option table

2024-01-04 Thread Simon Glass
Update the cbsysinfo command to show the contents of the CMOS option table. While we are here, add some example output for this command, along with mention of what the unimplemented tags are. Signed-off-by: Simon Glass --- (no changes since v1) cmd/x86/cbsysinfo.c | 73

[PATCH v2 12/19] x86: coreboot: Enable unit tests

2024-01-04 Thread Simon Glass
Enable unit tests so we can run command-line tests in coreboot. Enable console recording, with enough space for the 'cbsysinfo' command. Add to the pre-relocation malloc() space to make room for this. Signed-off-by: Simon Glass --- (no changes since v1) configs/coreboot_defconfig | 4 1

[PATCH v2 06/19] expo: Allow menu items to have values

2024-01-04 Thread Simon Glass
' property, then the normal sequence number will be used instead. Signed-off-by: Simon Glass --- (no changes since v1) arch/sandbox/dts/cedit.dtsi | 3 +++ boot/expo_build.c | 16 boot/scene_internal.h | 10 ++ boot/scene_menu.c | 17

[PATCH v2 13/19] x86: CI: Update coreboot

2024-01-04 Thread Simon Glass
Update to a newer version which supports settings in CMOS RAM. Signed-off-by: Simon Glass --- (no changes since v1) .azure-pipelines.yml | 2 +- .gitlab-ci.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml index

[PATCH v2 08/19] expo: Support menu-item values in cedit

2024-01-04 Thread Simon Glass
Update the cedit read/write functions to support menu items with values. Signed-off-by: Simon Glass --- (no changes since v1) boot/cedit.c| 148 +--- boot/scene_menu.c | 2 +- doc/usage/cmd/cedit.rst | 15 +++- test/boot

[PATCH v2 09/19] expo: Drop unneceesary calls to expo_str()

2024-01-04 Thread Simon Glass
The scene_txt_str() function calls expo_str() so there is no need to call it beforehand. Drop this unnecessary code. Signed-off-by: Simon Glass --- (no changes since v1) boot/expo_build.c | 16 ++-- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/boot/expo_build.c b

[PATCH v2 10/19] expo: Drop scene_title_set()

2024-01-04 Thread Simon Glass
This function is really just an assignment, so serves no useful purpose. Drop it. Signed-off-by: Simon Glass --- (no changes since v1) boot/expo_build.c | 4 ++-- boot/scene.c | 7 --- include/expo.h| 9 - test/boot/expo.c | 2 +- 4 files changed, 3 insertions(+), 19

[PATCH v2 05/19] expo: Use standard numbering for save and discard

2024-01-04 Thread Simon Glass
' to return failure when the user exits the expo without saving. Update the test for this change as well. Signed-off-by: Simon Glass --- (no changes since v1) boot/cedit.c | 24 +--- boot/expo.c| 2 +- doc/develop/cedit.rst | 7 ++- doc

[PATCH v2 07/19] expo: Add a little more cedit CMOS logging

2024-01-04 Thread Simon Glass
Add some more logging in the CMOS read/write code. Tidy up a few comments while we are here. Signed-off-by: Simon Glass --- (no changes since v1) boot/cedit.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/boot/cedit.c b/boot/cedit.c index a53a4f28990..cc1d5b76357

[PATCH v2 03/19] expo: Place menu items to the right of all labels

2024-01-04 Thread Simon Glass
. To implement this, add a new struct to containing arrangement information. Calculate it before doing the actual arrangement. Add a new style item which sets the amount of space from the right side of the labels to left side of the items. Signed-off-by: Simon Glass --- (no changes since v1) boot

[PATCH v2 04/19] expo: Set the initial next_id to 1

2024-01-04 Thread Simon Glass
If expo_set_dynamic_start() is never called, the first scene created will have an ID of 0, which is invalid. Correct this by setting a default value. Add a test to check this. Signed-off-by: Simon Glass --- (no changes since v1) boot/expo.c | 1 + test/boot/expo.c | 23

[PATCH v2 11/19] expo: Add forward declaration for udevice to cedit

2024-01-04 Thread Simon Glass
Some files may include this header file without first including dm.h so add a forward declaration. Signed-off-by: Simon Glass --- (no changes since v1) include/cedit.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/cedit.h b/include/cedit.h index f43cafa5aa2..f9a4a6d9e8e 100644

[PATCH v2 02/19] video: Avoid starting a new line to close to the bottom

2024-01-04 Thread Simon Glass
processing a newline character, to avoid any problems. Add some comments to make things a little clearer. Signed-off-by: Simon Glass --- (no changes since v1) drivers/video/vidconsole-uclass.c | 4 +++- include/video.h | 3 ++- include/video_console.h | 8

[PATCH v2 01/19] video: Add a dark-grey console colour

2024-01-04 Thread Simon Glass
This is useful for highlighting something with a black background, as is needed with cedit when using a white-on-black console. Add this as a new colour. Signed-off-by: Simon Glass --- (no changes since v1) boot/scene.c | 2 +- drivers/video/video-uclass.c | 3 +++ include

[PATCH v2 00/19] x86: expo: Add support for editing coreboot CMOS RAM settings

2024-01-04 Thread Simon Glass
- Avoid using common.h - Rebase to -next Simon Glass (19): video: Add a dark-grey console colour video: Avoid starting a new line to close to the bottom expo: Place menu items to the right of all labels expo: Set the initial next_id to 1 expo: Use standard numbering for save and discard expo

[PATCH v6 6/7] x86: qemu: Expand ROM size

2024-01-04 Thread Simon Glass
Expand the ROM for x86_64 to 2MB to make space for the font, as it is already on the edge. Signed-off-by: Simon Glass --- (no changes since v1) board/emulation/qemu-x86/Kconfig | 3 ++- configs/qemu-x86_64_defconfig| 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git

[PATCH v6 7/7] x86: qemu: Enable truetype fonts

2024-01-04 Thread Simon Glass
Enable this feature to provide a larger font choice and more attractive menus. Expand the ROM for x86_64 to 2MB to make space for the font. Signed-off-by: Simon Glass --- Changes in v6: - Move 'Avoid unbinding devices in use by bootflows' to another series Changes in v3: - Add new patch

[PATCH v6 3/7] video: Drop unnecessary truetype operations from SPL

2024-01-04 Thread Simon Glass
Saving and restoring entries is used for expo and for the command line, which we don't use in SPL. Drop these methods. Signed-off-by: Simon Glass Reviewed-by: Bin Meng Reviewed-by: Anatolij Gustschin --- (no changes since v3) Changes in v3: - Add new patch to drop unnecessary truetype

[PATCH v6 5/7] x86: coreboot: Enable truetype fonts

2024-01-04 Thread Simon Glass
Truetype fonts look better in the menu, so enable them. Signed-off-by: Simon Glass --- (no changes since v3) Changes in v3: - Add new patch to enable truetype fonts in coreboot arch/x86/dts/coreboot.dts| 10 ++ configs/coreboot64_defconfig | 1 + configs/coreboot_defconfig

[PATCH v6 4/7] x86: Enable SSE in 64-bit mode

2024-01-04 Thread Simon Glass
This is needed to support Truetype fonts. In any case, the compiler expects SSE to be available in 64-bit mode. Provide an option to enable SSE so that hardware floating-point arithmetic works. Signed-off-by: Simon Glass Reviewed-by: Tom Rini Suggested-by: Bin Meng --- (no changes since v4

[PATCH v6 2/7] video: Correct setting of cursor position

2024-01-04 Thread Simon Glass
The ANSI codes are not correctly handled at present, in that the requested X position is added to the current one. Correct this and also call vidconsole_entry_start() to start a new text line. Signed-off-by: Simon Glass Reviewed-by: Anatolij Gustschin --- (no changes since v1) drivers/video

[PATCH v6 1/7] x86: coreboot: Add a boot script

2024-01-04 Thread Simon Glass
Provide the user with a list of available boot options. Selecting one causes it to be booted. Pressing causes U-Boot to return to the command-line prompt. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- Changes in v6: - Rebase to -next Changes in v3: - Clear the screen before booting

[PATCH v6 0/7] Resolve issues with booting distros on x86

2024-01-04 Thread Simon Glass
to drop unnecessary truetype operations from SPL - Add new patch to enable truetype fonts in coreboot - Add new patch to enable truetype fonts in qemu-x86 and qemu-x86_64 Changes in v2: - Add new patch to add a coreboot boot script Simon Glass (7): x86: coreboot: Add a boot script video

Re: [PATCH 00/34] x86: expo: Add support for editing coreboot CMOS RAM settings

2024-01-04 Thread Simon Glass
Hi Bin, On Thu, Jan 4, 2024 at 5:06 AM Bin Meng wrote: > > Hi Simon, > > On Sun, Dec 31, 2023 at 8:43 PM Simon Glass wrote: > > > > Hi Bin, > > > > On Sun, Dec 31, 2023 at 2:59 AM Bin Meng wrote: > > > > > > Hi Simon, > >

[PATCH v7] fdt: Allow the devicetree to come from a bloblist

2024-01-03 Thread Simon Glass
Standard passage provides for a bloblist to be passed from one firmware phase to the next. That can be used to pass the devicetree along as well. Add an option to support this. Tests for this will be added as part of the Universal Payload work. Signed-off-by: Simon Glass --- The discussion

Re: [PATCH v3 4/8] dts: Add alternative location for upstream DTB builds

2024-01-03 Thread Simon Glass
Hi Tom, On Tue, Jan 2, 2024 at 5:41 PM Tom Rini wrote: > > On Tue, Jan 02, 2024 at 04:54:15PM -0700, Simon Glass wrote: > > Hi Tom, > > > > On Tue, Jan 2, 2024 at 8:10 AM Tom Rini wrote: > > > > > > On Tue, Jan 02, 2024 at 07:06:40A

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

2024-01-03 Thread Simon Glass
Hi Tom, On Tue, Jan 2, 2024 at 6:03 PM Tom Rini wrote: > > On Tue, Jan 02, 2024 at 04:51:34PM -0700, Simon Glass wrote: > > Hi Tom, > > > > On Tue, Jan 2, 2024 at 7:55 AM Tom Rini wrote: > > > > > > On Tue, Jan 02, 2024 at 07:06:36A

Re: [PATCH v6 4/6] common: console: record console from the beginning

2024-01-03 Thread Simon Glass
Hi Mattijs, On Wed, Jan 3, 2024 at 5:41 AM Mattijs Korpershoek wrote: > > Hi Simon, > > On Tue, Jan 02, 2024 at 07:06, Simon Glass wrote: > > > Hi Mattijs, > > > > On Tue, Jan 2, 2024 at 2:52 AM Mattijs Korpershoek > > wrote: > >> > >> H

Re: vexpress and DM_SERIAL

2024-01-03 Thread Simon Glass
Hi Kristian, On Wed, Jan 3, 2024 at 1:18 AM Kristian Amlie wrote: > > On 27/12/2023 08:55, Simon Glass wrote: > > Hi Kristian, > > > > Do you think it would be possible to migrate the vexpress_ca9x4 board > > to use DM_SERIAL? > > Yes! This has taken t

Re: [PATCH v7 2/2] schemas: Add some common reserved-memory usages

2024-01-03 Thread Simon Glass
Please see my reply below inline and let me know your thoughts. > > > > > > Thanks, > > > Chasel > > > > > > > > > > -Original Message- > > > > From: Ard Biesheuvel > > > > Sent: Thursday, December 21, 2023 6:31

Re: [PATCH v3 4/8] dts: Add alternative location for upstream DTB builds

2024-01-02 Thread Simon Glass
Hi Tom, On Tue, Jan 2, 2024 at 8:10 AM Tom Rini wrote: > > On Tue, Jan 02, 2024 at 07:06:40AM -0700, Simon Glass wrote: > > Hi Tom, > > > > On Mon, Jan 1, 2024 at 4:35 PM Tom Rini wrote: > > > > > > On Mon, Jan 01, 2024 at 03:32:41PM -070

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

2024-01-02 Thread Simon Glass
Hi Tom, On Tue, Jan 2, 2024 at 7:55 AM Tom Rini wrote: > > On Tue, Jan 02, 2024 at 07:06:36AM -0700, Simon Glass wrote: > > Hi Tom, > > > > On Sun, Dec 31, 2023 at 7:01 AM Tom Rini wrote: > > > > > > On Sun, Dec 31, 2023 at 05:45:00AM -0700, Simon Gla

Re: [PATCH v9 2/2] arm64: boot: Support Flat Image Tree

2024-01-02 Thread Simon Glass
Hi Masahiro, On Wed, Dec 13, 2023 at 5:14 AM Will Deacon wrote: > > On Fri, Dec 01, 2023 at 08:54:42PM -0700, Simon Glass wrote: > > Add a script which produces a Flat Image Tree (FIT), a single file > > containing the built kernel and associated devicetree files. > &

Re: [PATCH v3 4/8] dts: Add alternative location for upstream DTB builds

2024-01-02 Thread Simon Glass
Hi Tom, On Mon, Jan 1, 2024 at 4:35 PM Tom Rini wrote: > > On Mon, Jan 01, 2024 at 03:32:41PM -0700, Simon Glass wrote: > > Hi Mark, Tom, > > > > On Sun, Dec 31, 2023 at 5:33 PM Mark Kettenis > > wrote: > > > > > > > Date: Sun

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

2024-01-02 Thread Simon Glass
Hi Tom, On Sun, Dec 31, 2023 at 7:01 AM Tom Rini wrote: > > On Sun, Dec 31, 2023 at 05:45:00AM -0700, Simon Glass wrote: > > -Scott as it is bouncing > > > > Hi, > > > > On Fri, Dec 29, 2023 at 9:46 AM Peter Robinson wrote: > > > > >

Re: [PATCH v2 2/2] efi_loader: provide tool to dump SMBIOS table

2024-01-02 Thread Simon Glass
Hi Heinrich, On Mon, Jan 1, 2024 at 4:23 PM Heinrich Schuchardt wrote: > > On 1/1/24 23:41, Simon Glass wrote: > > Hi Heinrich, > > > > On Mon, Jan 1, 2024 at 11:50 AM Heinrich Schuchardt > > wrote: > >> > >> An EFI binary dmidump.efi is provided

Re: Setting up boot chain ACPI on ARM with STM32MPU

2024-01-02 Thread Simon Glass
gt; are ACPI tables enabled for? There are some patches to enable it for qemu on ARM here: http://patchwork.ozlabs.org/project/uboot/list/?series=388154 Regards, Simon > > Le mer. 29 nov. 2023 à 20:28, Simon Glass a écrit : >> >> +Heinrich Schuchardt >> >> Hi, >

Re: [PATCH v3 4/8] dts: Add alternative location for upstream DTB builds

2024-01-02 Thread Simon Glass
Hi Caleb, On Tue, Jan 2, 2024 at 5:51 AM Caleb Connolly wrote: > > [snip] > >>> > > However, I am very much in favour of having a generalized U-Boot > > image. This might become true in some cases like U-Boot acts as a > > second stage bootloader for a particular SoC which is a

Re: [PATCH v6 4/6] common: console: record console from the beginning

2024-01-02 Thread Simon Glass
Hi Mattijs, On Tue, Jan 2, 2024 at 2:52 AM Mattijs Korpershoek wrote: > > Hi Simon, Svyatoslav, > > On Thu, Dec 28, 2023 at 21:52, Svyatoslav Ryhel wrote: > > > чт, 28 груд. 2023 р. о 21:48 Simon Glass пише: > >> > >> On Thu, Dec 28, 2023 a

Re: [PATCH v3] test/py: i2c: Add tests for i2c command

2024-01-02 Thread Simon Glass
Hi Love, On Mon, Jan 1, 2024 at 11:47 PM Love Kumar wrote: > > Add below test cases for i2c commands: > i2c_bus - To show i2c bus info, > i2c_dev - To set or show the current bus, > i2c_probe - To probe the i2c device, > i2c_eeprom - To test i2c eeprom device, > i2c_probe_all_buses - To list

Re: [PATCH 1/1] cmd: fdt: check fdt address

2024-01-01 Thread Simon Glass
Hi Heinrich, On Sun, Dec 31, 2023 at 9:31 AM Heinrich Schuchardt wrote: > > On 12/31/23 15:22, Simon Glass wrote: > > Hi Heinrich, > > > > On Wed, Dec 20, 2023 at 5:00 PM Heinrich Schuchardt > > wrote: > >> > >> Trying to read a devi

Re: [PATCH 1/1] x86: all firmware tables must be paragraph aligned

2024-01-01 Thread Simon Glass
). > > Signed-off-by: Heinrich Schuchardt > --- > arch/x86/lib/tables.c | 2 ++ > 1 file changed, 2 insertions(+) Reviewed-by: Simon Glass > > diff --git a/arch/x86/lib/tables.c b/arch/x86/lib/tables.c > index 5b5070f7ca..89d4d30a6a 100644 > --- a/arch/x

Re: [PATCH v5 04/12] smbios: Use SMBIOS 3.0 to support an address above 4GB

2024-01-01 Thread Simon Glass
Hi Heinrich, On Mon, Jan 1, 2024 at 10:34 AM Heinrich Schuchardt wrote: > > On 12/31/23 16:25, Simon Glass wrote: > > When the SMBIOS table is written to an address above 4GB a 32-bit table > > address is not large enough. > > > > Use an SMBIOS3 table in that cas

Re: [PATCH v2 2/2] efi_loader: provide tool to dump SMBIOS table

2024-01-01 Thread Simon Glass
Hi Heinrich, On Mon, Jan 1, 2024 at 11:50 AM Heinrich Schuchardt wrote: > > An EFI binary dmidump.efi is provided that can be used to check the SMBIOS > table for consistency and to dump it as a file. > > The tool provides the following commands: > > check > Check the SMBIOS table for

Re: [PATCH v2 1/2] smbios: smbios.h should not import ofnode.h

2024-01-01 Thread Simon Glass
r/efi_smbios.c | 3 +++ > lib/smbios-parser.c | 3 +++ > 3 files changed, 7 insertions(+), 5 deletions(-) Reviewed-by: Simon Glass

Re: [PATCH v3 4/8] dts: Add alternative location for upstream DTB builds

2024-01-01 Thread Simon Glass
Hi Mark, Tom, On Sun, Dec 31, 2023 at 5:33 PM Mark Kettenis wrote: > > > Date: Sun, 31 Dec 2023 15:39:53 -0500 > > From: Tom Rini > > > > On Sun, Dec 31, 2023 at 07:28:52AM -0700, Simon Glass wrote: > > > Hi Sumit, > > > > >

Please pull u-boot-dm next

2024-01-01 Thread Simon Glass
sed-before-assignment in ftest.py Simon Glass (22): x86: coral: Align bootph SPI-flash subnodes with parent fdtgrep: Tidy up a few type warnings and comments fdtgrep: Correct ordering of flags fdtgrep: Correct references to fdt_find_regions() fdtgrep: Tidy

  1   2   3   4   5   6   7   8   9   10   >