[PATCH v2 0/9] Bug-fixes for a few boards

2024-06-10 Thread Simon Glass
if() and drop the debug() as well - Use 'phase' instead of 'stage' - Add new patch to correct memory size in SPL - Drop patch "regulator: rk8xx: Fix incorrect parameter" - Rewrite boneblack patch to onstead drop the target and update docs Simon Glass (9): nvidia: nyan-big: Disable debug

Re: Proposal: U-Boot memory management

2024-06-10 Thread Simon Glass
Hi Sughosh, On Mon, 10 Jun 2024 at 09:17, Sughosh Ganu wrote: > > hi Simon, > > On Mon, 10 Jun 2024 at 20:33, Simon Glass wrote: > > > > Hi Sughosh, > > > > On Mon, 10 Jun 2024 at 08:40, Sughosh Ganu wrote: > > > > > > hi Simon, > &

Re: [RFC PATCH 15/31] efi_memory: add an event handler to update memory map

2024-06-10 Thread Simon Glass
Hi, On Mon, 10 Jun 2024 at 09:42, Sughosh Ganu wrote: > > On Mon, 10 Jun 2024 at 20:47, Heinrich Schuchardt wrote: > > > > On 07.06.24 20:52, Sughosh Ganu wrote: > > > There are events that would be used to notify other interested modules > > > of any changes in available and occupied memory.

Re: [PATCH 5/9] fdt: Correct condition for bloblist existing

2024-06-10 Thread Simon Glass
Hi Ilias, On Tue, 4 Jun 2024 at 23:33, Ilias Apalodimas wrote: > > Hi Simon, > > On Wed, 5 Jun 2024 at 06:26, Simon Glass wrote: > > > > On some boards, the bloblist is created in SPL once SDRAM is ready. It > > cannot be accessed until that point, so is not avail

Re: [PATCH v3 0/9] efi_loader: improve device-tree loading

2024-06-10 Thread Simon Glass
Hi Heinrich, On Mon, 10 Jun 2024 at 08:00, Heinrich Schuchardt wrote: > > On 10.06.24 15:53, Simon Glass wrote: > > Hi Heinrich, > > > > On Mon, 10 Jun 2024 at 03:11, Heinrich Schuchardt > > wrote: > >> > >> In U-Boot EFI boot options can alrea

Re: [PATCH 7/9] rockchip: bob: kevin: Disable dcache in SPL

2024-06-10 Thread Simon Glass
Hi Jonas, On Thu, 6 Jun 2024 at 09:04, Simon Glass wrote: > > Hi Jonas, > > On Wed, 5 Jun 2024 at 05:07, Jonas Karlman wrote: > > > > Hi Simon, > > > > On 2024-06-05 05:25, Simon Glass wrote: > > > This causes a hang, so disable it. > >

Re: [PATCH 0/3] lib: smbios: Extend driver with using sysinfo driver

2024-06-10 Thread Simon Glass
Hi Michal, On Fri, 7 Jun 2024 at 01:53, Michal Simek wrote: > > > > On 5/24/24 12:07, Ilias Apalodimas wrote: > > Hi Michal > > > > > > On Fri, 24 May 2024 at 12:45, Michal Simek wrote: > >> > >> Hi Ilias, > >> > >> On 4/26/24 15:38, Michal Simek wrote: > >>> Hi, > >>> > >>> currently only DT

Re: [PATCH 3/3] lib: smbios: Detect system properties via SYSINFO IDs

2024-06-10 Thread Simon Glass
9 + > lib/smbios.c | 34 ++ > 2 files changed, 35 insertions(+), 8 deletions(-) Reviewed-by: Simon Glass

Re: [PATCH 2/3] lib: smbios: Let detect the system via sysinfo

2024-06-10 Thread Simon Glass
e information from driver can be passed to smbios. > > Signed-off-by: Michal Simek > --- > > lib/smbios.c | 8 +++- > 1 file changed, 7 insertions(+), 1 deletion(-) Reviewed-by: Simon Glass

Re: Proposal: U-Boot memory management

2024-06-10 Thread Simon Glass
Hi Sughosh, On Mon, 10 Jun 2024 at 08:40, Sughosh Ganu wrote: > > hi Simon, > > On Mon, 10 Jun 2024 at 19:25, Simon Glass wrote: > > > > Hi Sughosh, > > > > On Thu, 6 Jun 2024 at 13:18, Sughosh Ganu wrote: > > > > > > hi Simon, > &

[PATCH v2 9/9] Drop the special am335x_boneblack_vboot target

2024-06-10 Thread Simon Glass
Now that am335x_evm boots OK on the Beaglebone black, drop the latter and update the docs to cover the change. Also add a few updates about 'make fit' and drop the note about the security review, as U-Boot's verified boot has had quite extensive review now. Signed-off-by: Simon Glass

[PATCH v2 8/9] rockchip: bob: kevin: Disable dcache in SPL

2024-06-10 Thread Simon Glass
This causes a hang, so disable it. Unfortunately the RAM-size fix does not resolve the problem and I am unsure what is wrong. As soon as the cache is enabled the board appears to hang. Fixes: 6d8cdfd1536 ("rockchip: spl: Enable caches to speed up checksum validation") Signed-off-by: S

[PATCH v2 7/9] rockchip: Ensure memory size is available in RK3399 SPL

2024-06-10 Thread Simon Glass
RAM init should happen in the current phase, using that as needed to control the code flow. This increases code size by about 500 bytes in SPL when the cache is on, since it must call the rather large rockchip_sdram_size() function. Signed-off-by: Simon Glass --- Changes in v2: - Add new pa

[PATCH v2 5/9] fdt: Correct condition for bloblist existing

2024-06-10 Thread Simon Glass
from a bloblist") Signed-off-by: Simon Glass --- Changes in v2: - Use 'phase' instead of 'stage' lib/fdtdec.c | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/lib/fdtdec.c b/lib/fdtdec.c index b2c59ab3818..79eaa56ea39 100644 --- a/lib/fdtdec.c +++ b/lib/fdtdec.c

[PATCH v2 6/9] spl: Allow ATF to work when dcache is disabled

2024-06-10 Thread Simon Glass
The dcache may not be enabled in SPL. Add a check to avoid trying to use an undefined function. Signed-off-by: Simon Glass Reviewed-by: Tom Rini --- (no changes since v1) common/spl/spl_atf.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/common/spl/spl_atf.c b/common

[PATCH v2 4/9] power: regulator: Handle autoset in regulators_enable_boot_on()

2024-06-10 Thread Simon Glass
With a recent change, regulators_enable_boot_on() returns an error if a regulator is already set. Check for and handle this situation. Fixes: d99fb64a98a power: regulator: Only run autoset once for each regulator Reviewed-by: Jonas Karlman Reviewed-by: Quentin Schulz Signed-off-by: Simon Glass

[PATCH v2 3/9] rockchip: veyron: Add logging for power init

2024-06-10 Thread Simon Glass
Add better logging for power init so that CONFIG_LOG_ERROR_RETURN can be enabled. Signed-off-by: Simon Glass --- Changes in v2: - Remove the superfluous if() and drop the debug() as well board/google/veyron/veyron.c | 30 -- 1 file changed, 12 insertions(+), 18

[PATCH v2 2/9] tpm: Avoid code bloat when not using EFI_TCG2_PROTOCOL

2024-06-10 Thread Simon Glass
them to MEASURED_BOOT as well. Note that the original commit combines refactoring and new features, which makes it hard to see what is going on. Fixes: 97707f12fda tpm: Support boot measurements Signed-off-by: Simon Glass --- Changes in v2: - Put the conditions under EFI_TCG2_PROTOCOL - Consider

[PATCH v2 1/9] nvidia: nyan-big: Disable debug UART

2024-06-10 Thread Simon Glass
This cannot be enabled early in boot since some other init is needed. At this point it is unclear exactly what init is needed, so disable the debug UART to avoid a hang. Signed-off-by: Simon Glass --- (no changes since v1) configs/nyan-big_defconfig | 1 - 1 file changed, 1 deletion(-) diff

Re: Proposal: U-Boot memory management

2024-06-10 Thread Simon Glass
Hi Sughosh, On Thu, 6 Jun 2024 at 13:18, Sughosh Ganu wrote: > > hi Simon, > > On Wed, 29 May 2024 at 22:00, Simon Glass wrote: > > > > +Sughosh Ganu for reference > > > > > > On Sun, 31 Dec 2023 at 09:16, Tom Rini wrote: > > > >

Re: [PATCH v3 0/9] efi_loader: improve device-tree loading

2024-06-10 Thread Simon Glass
Hi Heinrich, On Mon, 10 Jun 2024 at 03:11, Heinrich Schuchardt wrote: > > In U-Boot EFI boot options can already specify both an EFI binary and > an initrd. With this series we can additionally define the matching > device-tree to be loaded in the boot option. > > With the last patch the boot

Re: Needs a check in the device tree

2024-06-06 Thread Simon Glass
Hi Jianqiang, On Wed, 5 Jun 2024 at 07:40, jianqiang wang wrote: > > Dear Das U-Boot developers, > > I found that the u-boot device tree implementation lacks a check for the > off_dt_struct field in the device tree. > > In file scripts\dtc\libfdt\libfdt_internal.h, fdt_offset_ptr_ returns the >

Re: [PATCH 3/9] rockchip: veyron: Add logging for power init

2024-06-06 Thread Simon Glass
HI Quentin, On Wed, 5 Jun 2024 at 02:36, Quentin Schulz wrote: > > Hi Simon, > > On 6/5/24 5:25 AM, Simon Glass wrote: > > Add better logging for power init so that CONFIG_LOG_ERROR_RETURN can > > be enabled. > > > > Signed-off-by: Simon Glass > > --- &

Re: [PATCH 9/9] Revert "arm: am335x: Enable SPL_OF_CONTROL on some configs"

2024-06-06 Thread Simon Glass
Hi Tom, On Wed, 5 Jun 2024 at 14:15, Tom Rini wrote: > > On Wed, Jun 05, 2024 at 02:08:54PM -0600, Simon Glass wrote: > > Hi Tom, > > > > On Wed, 5 Jun 2024 at 08:42, Tom Rini wrote: > > > > > > On Tue, Jun 04, 2024 at 09:25:21PM -0600, Simon Glass wro

Re: [PATCH 3/3] regulator: rk8xx: clarify operator precedence

2024-06-06 Thread Simon Glass
ower/regulator/rk8xx.c | 26 +- > 1 file changed, 13 insertions(+), 13 deletions(-) > Reviewed-by: Simon Glass Tested-by: Simon Glass # chromebook-bob

Re: [PATCH 2/3] regulator: rk8xx: pass pmic udevice instead of regulator to all internal functions

2024-06-06 Thread Simon Glass
ower/regulator/rk8xx.c | 20 ++-- > 1 file changed, 10 insertions(+), 10 deletions(-) Reviewed-by: Simon Glass Tested-by: Simon Glass # chromebook-bob

Re: [PATCH 7/9] rockchip: bob: kevin: Disable dcache in SPL

2024-06-06 Thread Simon Glass
Hi Jonas, On Wed, 5 Jun 2024 at 05:07, Jonas Karlman wrote: > > Hi Simon, > > On 2024-06-05 05:25, Simon Glass wrote: > > This causes a hang, so disable it. > > When I initially tested this on multiple boards there was some boards > that also hanged, that turne

Re: [PATCH 1/3] regulator: rk8xx: fix incorrect device used for _ldo_[sg]et_suspend_value

2024-06-06 Thread Simon Glass
f using the parent of the > pmic. > > To avoid further confusion, let's rename the argument to pmic instead of > dev, highlighting which kind of device we expect as argument. > > Fixes: f047e4ab9762 ("regulator: rk8xx: add indirection level for some ldo > callbacks") >

Re: [PATCH 9/9] Revert "arm: am335x: Enable SPL_OF_CONTROL on some configs"

2024-06-05 Thread Simon Glass
Hi Tom, On Wed, 5 Jun 2024 at 08:42, Tom Rini wrote: > > On Tue, Jun 04, 2024 at 09:25:21PM -0600, Simon Glass wrote: > > > This is a partial revert which makes boneblack_vboot boot again. > > > > This reverts commit f4b64e9736e73ceec14d51600bed9a8ac48f9fe8. > &g

Re: [PATCH 0/2] Cleanup fit documentation

2024-06-05 Thread Simon Glass
Hi Sam, On Tue, 4 Jun 2024 at 20:13, Simon Glass wrote: > > Hi Sam, > > On Tue, 4 Jun 2024 at 13:53, Sam Povilus wrote: > > > > Sam Povilus (2): > > doc: Remove extraneous curly braces > > doc: add clarity to what a "fpga" image is >

Re: [PATCH v2 0/8] efi_loader: improve device-tree loading

2024-06-05 Thread Simon Glass
Hi Heinrich, On Wed, 5 Jun 2024 at 02:40, Heinrich Schuchardt wrote: > > On 29.05.24 18:30, Simon Glass wrote: > > Hi, > > > > On Tue, 28 May 2024 at 18:38, E Shattow wrote: > >> > >> Hi, > >> > >> On Tue, May 28, 2024 at 7:43 AM Hei

Re: [PATCH v5 0/3] Introduce mtdblock device

2024-06-05 Thread Simon Glass
Hi Alexey, On Wed, 5 Jun 2024 at 04:09, Alexey Romanov wrote: > > Hi Simon, > your message is empty. > > On Tue, Jun 04, 2024 at 08:13:34PM -0600, Simon Glass wrote: > > Hi Alexey, > > > > On Mon, Jun 3, 2024, 09:57 Alexey Romanov > > wrote: > > >

[PATCH 9/9] Revert "arm: am335x: Enable SPL_OF_CONTROL on some configs"

2024-06-04 Thread Simon Glass
This is a partial revert which makes boneblack_vboot boot again. This reverts commit f4b64e9736e73ceec14d51600bed9a8ac48f9fe8. Signed-off-by: Simon Glass --- configs/am335x_boneblack_vboot_defconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/configs/am335x_boneblack_vboot_defconfig b

[PATCH 8/9] regulator: rk8xx: Fix incorrect parameter

2024-06-04 Thread Simon Glass
A recent change introduced a bug whereby a PMIC device is used in place of the regulator device. Fix it. This fixes a hang after 'Loading Environment from nowhere... OK' on chromebook_jerry Fixes: f047e4ab976 ("regulator: rk8xx: add indirection level for some..") Signed-off-by: S

[PATCH 7/9] rockchip: bob: kevin: Disable dcache in SPL

2024-06-04 Thread Simon Glass
This causes a hang, so disable it. Fixes: 6d8cdfd1536 ("rockchip: spl: Enable caches to speed up checksum validation") Signed-off-by: Simon Glass --- configs/chromebook_bob_defconfig | 1 + configs/chromebook_kevin_defconfig | 1 + 2 files changed, 2 insertions(+) diff --git

[PATCH 6/9] spl: Allow ATF to work when dcache is disabled

2024-06-04 Thread Simon Glass
The dcache may not be enabled in SPL. Add a check to avoid trying to use an undefined function. Signed-off-by: Simon Glass --- common/spl/spl_atf.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/common/spl/spl_atf.c b/common/spl/spl_atf.c index 3bdd013a35f..9afe6456bc4

[PATCH 5/9] fdt: Correct condition for bloblist existing

2024-06-04 Thread Simon Glass
from a bloblist") Signed-off-by: Simon Glass --- lib/fdtdec.c | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/lib/fdtdec.c b/lib/fdtdec.c index b2c59ab3818..b141244e3b9 100644 --- a/lib/fdtdec.c +++ b/lib/fdtdec.c @@ -1669,8 +1669,16 @@ int fdtdec_setup(void) {

[PATCH 4/9] power: regulator: Handle autoset in regulators_enable_boot_on()

2024-06-04 Thread Simon Glass
With a recent change, regulators_enable_boot_on() returns an error if a regulator is already set. Check for and handle this situation. Fixes: d99fb64a98a power: regulator: Only run autoset once for each regulator Signed-off-by: Simon Glass --- drivers/power/regulator/regulator-uclass.c | 2

[PATCH 3/9] rockchip: veyron: Add logging for power init

2024-06-04 Thread Simon Glass
Add better logging for power init so that CONFIG_LOG_ERROR_RETURN can be enabled. Signed-off-by: Simon Glass --- board/google/veyron/veyron.c | 27 --- 1 file changed, 12 insertions(+), 15 deletions(-) diff --git a/board/google/veyron/veyron.c b/board/google/veyron

[PATCH 2/9] tpm: Avoid code bloat when not using EFI_TCG2_PROTOCOL

2024-06-04 Thread Simon Glass
is going on. Fixes: 97707f12fda tpm: Support boot measurements Signed-off-by: Simon Glass --- lib/Kconfig | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/Kconfig b/lib/Kconfig index 189e6eb31aa..70b32362ada 100644 --- a/lib/Kconfig +++ b/lib/Kconfig @@ -438,10

[PATCH 1/9] nvidia: nyan-big: Disable debug UART

2024-06-04 Thread Simon Glass
This cannot be enabled early in boot since some other init is needed. At this point it is unclear exactly what init is needed, so disable the debug UART to avoid a hang. Signed-off-by: Simon Glass --- configs/nyan-big_defconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/configs/nyan

[PATCH 0/9] Bug-fixes for a few boards

2024-06-04 Thread Simon Glass
This series includes fixes to get some rockchip and nvidia boards working again. It also provides a fix (revert) for Beaglebone Black and a devicetree fix for coral (x86). Simon Glass (9): nvidia: nyan-big: Disable debug UART tpm: Avoid code bloat when not using EFI_TCG2_PROTOCOL rockchip

Re: [PATCH 3/3] tools: patman: fix deprecated Python ConfigParser methods

2024-06-04 Thread Simon Glass
ibrary/configparser.html#configparser.ConfigParser.readfp > > Signed-off-by: Brandon Maier > CC: Simon Glass > --- > tools/patman/settings.py | 8 > 1 file changed, 4 insertions(+), 4 deletions(-) Reviewed-by: Simon Glass

Re: [PATCH 2/3] tools: binman: fix deprecated Python ConfigParser methods

2024-06-04 Thread Simon Glass
ibrary/configparser.html#configparser.ConfigParser.readfp > > Signed-off-by: Brandon Maier > CC: Simon Glass > --- > tools/buildman/bsettings.py | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Reviewed-by: Simon Glass Does this still work in earlier Pythons? Regards, Simon

Re: [PATCH 1/3] tools: binman: fix deprecated Python unittest methods

2024-06-04 Thread Simon Glass
s://docs.python.org/3.11/library/unittest.html#deprecated-aliases > > Signed-off-by: Brandon Maier > CC: Simon Glass > CC: Alper Nebi Yasak > --- > tools/binman/entry_test.py | 6 +-- > tools/binman/fdt_test.py| 48 > tools/binman/ft

Re: [PATCH 1/1] tools: patman: fix `pip install` with Python 3.12

2024-06-04 Thread Simon Glass
e and rely entirely on > > other means of > > configuration. > > > > **** > > > > !! > > Signed-off-by: Brandon Maier > CC: Simon Glass > --- > tools/patman/pyproject.toml | 1 + > 1 file changed, 1 insertion(+) Reviewed-by: Simon Glass

Re: [PATCH 0/2] Cleanup fit documentation

2024-06-04 Thread Simon Glass
Hi Sam, On Tue, 4 Jun 2024 at 13:53, Sam Povilus wrote: > > Sam Povilus (2): > doc: Remove extraneous curly braces > doc: add clarity to what a "fpga" image is > > doc/usage/fit/source_file_format.rst | 28 ++-- > 1 file changed, 14 insertions(+), 14 deletions(-)

Re: [PATCH v5 0/3] Introduce mtdblock device

2024-06-04 Thread Simon Glass
Hi Alexey, On Mon, Jun 3, 2024, 09:57 Alexey Romanov wrote: > Hello! > > This series adds support for the mtdblock device, which > allows to read/write data block by block. For example, > it can now be used for BCB or Android AB command: > > $ bcb load mtd 0 part_name > > Tested only on SPI

Re: [PATCH v3 1/7] lib: uuid: add UUID v5 support

2024-06-04 Thread Simon Glass
Hi Caleb, On Fri, 31 May 2024 at 07:50, Caleb Connolly wrote: > > Add support for generating version 5 UUIDs, these are determistic and work spelling > by hashing a "namespace" UUID together with some unique data. One intended > usecase is to allow for dynamically generate payload UUIDs for

Re: [PATCH v3 6/7] tools: add genguid tool

2024-06-04 Thread Simon Glass
s/Makefile | 3 ++ > tools/genguid.c | 154 > > 4 files changed, 216 insertions(+) Reviewed-by: Simon Glass Can I suggest you look at patman, which will provide a per-patch change list? Regards, SImon

Re: [PATCH v5 3/3] use fdt_kaslrseed function to de-duplicate code

2024-05-30 Thread Simon Glass
ek > Cc: Andy Yan > Cc: Akash Gajjar > Cc: Ilias Apalodimas > Cc: Simon Glass > Cc: Patrick Delaunay > Cc: Patrice Chotard > Cc: Devarsh Thakkar > Cc: Heinrich Schuchardt > Cc: Hugo Villeneuve > Cc: Marek Vasut > Cc: Tom Rini > Cc: Chris Morgan > --- &

Re: [PATCH v5 2/3] fdt: automatically add /chosen/kaslr-seed if DM_RNG is enabled

2024-05-30 Thread Simon Glass
ell. > > Signed-off-by: Tim Harvey > Cc: Michal Simek > Cc: Andy Yan > Cc: Akash Gajjar > Cc: Ilias Apalodimas > Cc: Simon Glass > Cc: Patrick Delaunay > Cc: Patrice Chotard > Cc: Devarsh Thakkar > Cc: Heinrich Schuchardt > Cc: Hugo Villeneuve > Cc: Ma

Re: [PATCH v5 1/3] Add fdt_kaslrseed function to add kaslr-seed to chosen node

2024-05-30 Thread Simon Glass
icy in choosing the rng device used. > > Signed-off-by: Tim Harvey > Cc: Michal Simek > Cc: Andy Yan > Cc: Akash Gajjar > Cc: Ilias Apalodimas > Cc: Simon Glass > Cc: Patrick Delaunay > Cc: Patrice Chotard > Cc: Devarsh Thakkar > Cc: Heinrich Schuchardt

Re: [PATCH v4] fdt: automatically add /chosen/kaslr-seed if DM_RNG is enabled

2024-05-30 Thread Simon Glass
Hi, On Thu, 30 May 2024 at 09:17, Tim Harvey wrote: > > On Wed, May 29, 2024 at 6:39 PM Marek Vasut wrote: > > > > On 5/29/24 7:05 PM, Simon Glass wrote: > > > > [...] > > > > >>>> that is not yet implemented as DM_RNG. We also skip this if

Re: [PATCH v2 0/7] efi: CapsuleUpdate: support for dynamic UUIDs

2024-05-30 Thread Simon Glass
Hi Caleb, On Wed, 29 May 2024 at 15:55, Caleb Connolly wrote: > > > > On 29/05/2024 21:49, Simon Glass wrote: > > Hi Caleb, > > > > On Wed, 29 May 2024 at 13:04, Caleb Connolly > > wrote: > >> > >> > >>> > >>> How

Re: [PATCH v2 0/7] efi: CapsuleUpdate: support for dynamic UUIDs

2024-05-29 Thread Simon Glass
Hi Caleb, On Wed, 29 May 2024 at 13:04, Caleb Connolly wrote: > > > > > > How about using the compatible string, instead of a GUID? Is that possible? > > Could you elaborate? Well, the compatible string (in the root node) is how we normally decide which DT to use and which machine we are

Re: [PATCH v2 1/7] lib: uuid: add UUID v5 support

2024-05-29 Thread Simon Glass
Hi Caleb, On Wed, 29 May 2024 at 12:55, Caleb Connolly wrote: > > Hi Simon, > > On 29/05/2024 18:30, Simon Glass wrote: > > Hi Caleb, > > > > On Wed, 29 May 2024 at 08:49, Caleb Connolly > > wrote: > >> > >> Add support for ge

Re: [PATCH v2 6/7] tools: add genguid tool

2024-05-29 Thread Simon Glass
Hi Caleb, On Wed, 29 May 2024 at 13:02, Caleb Connolly wrote: > > Hi Simon, > > On 29/05/2024 18:30, Simon Glass wrote: > > Hi Caleb, > > > > On Wed, 29 May 2024 at 08:49, Caleb Connolly > > wrote: > >> > >> Add a tool that can generate

Re: [PATCH v4] fdt: automatically add /chosen/kaslr-seed if DM_RNG is enabled

2024-05-29 Thread Simon Glass
Hi Tim, On Wed, 29 May 2024 at 10:51, Tim Harvey wrote: > > On Wed, May 29, 2024 at 9:30 AM Simon Glass wrote: > > > > Hi Tim, > > > > On Sat, 25 May 2024 at 14:02, Tim Harvey wrote: > > > > > > If RANDOMIZE_BASE is enabled in the Linux kern

Re: [PATCH v2 1/7] lib: uuid: add UUID v5 support

2024-05-29 Thread Simon Glass
Hi Caleb, On Wed, 29 May 2024 at 08:49, Caleb Connolly wrote: > > Add support for generate version 5 UUIDs, these are determistic and work spelling > by hashing a "namespace" UUID together with some unique data. One intended > usecase is to allow for dynamically generate payload UUIDs for UEFI

Re: [PATCH v2 6/7] tools: add genguid tool

2024-05-29 Thread Simon Glass
Hi Caleb, On Wed, 29 May 2024 at 08:49, Caleb Connolly wrote: > > Add a tool that can generate GUIDs that match those generated internally > by U-Boot for capsule update fw_images. > > Dynamic UUIDs in U-Boot work by taking a namespace UUID and hashing it > with the board model, compatible, and

Re: [PATCH v4] fdt: automatically add /chosen/kaslr-seed if DM_RNG is enabled

2024-05-29 Thread Simon Glass
handed over via > efi_install_fdt() as it would also mess up the measured boot DTB TPM > measurements as well. > > Signed-off-by: Tim Harvey > Cc: Michal Simek > Cc: Andy Yan > Cc: Akash Gajjar > Cc: Ilias Apalodimas > Cc: Simon Glass > Cc: Patrick Delaunay >

Re: [PATCH v2 0/8] efi_loader: improve device-tree loading

2024-05-29 Thread Simon Glass
Hi, On Tue, 28 May 2024 at 18:38, E Shattow wrote: > > Hi, > > On Tue, May 28, 2024 at 7:43 AM Heinrich Schuchardt > wrote: > > > > In U-Boot EFI boot options can already specify both an EFI binary and > > an initrd. With this series we can additionally define the matching > > device-tree to be

Re: [PATCH v2 0/7] efi: CapsuleUpdate: support for dynamic UUIDs

2024-05-29 Thread Simon Glass
generate > the same GUIDs that the board would at runtime. > > This series follows a related discussion started by Ilias: > https://lore.kernel.org/u-boot/cac_iwjjnha4gmf897mqyzndbgjfg8k4kwgstxwuy72wkyli...@mail.gmail.com/ > > To: Tom Rini > To: Heinrich Schuchardt > To

Re: Proposal: U-Boot memory management

2024-05-29 Thread Simon Glass
+Sughosh Ganu for reference On Sun, 31 Dec 2023 at 09:16, Tom Rini wrote: > > On Sun, Dec 31, 2023 at 04:40:06PM +0100, Heinrich Schuchardt wrote: > > > > > > Am 31. Dezember 2023 16:11:44 MEZ schrieb Tom Rini : > > >On Sun, Dec 31, 2023 at 07:22:10AM -0700,

Re: [PATCH] sandbox: enable support for the unlz4 command

2024-05-29 Thread Simon Glass
deletion(-) > Reviewed-by: Simon Glass

Re: [PATCH] doc: cmd: bootmeth: Fix extlinunx -> extlinux typo

2024-05-29 Thread Simon Glass
On Fri, 24 May 2024 at 07:28, Mattijs Korpershoek wrote: > > Fix a trivial typo in the bootmeth documentation. > > Signed-off-by: Mattijs Korpershoek > --- > doc/usage/cmd/bootmeth.rst | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Reviewed-by: Simon Glass

Re: [PATCH] global_data.h: drop write-only field dm_root_f

2024-05-29 Thread Simon Glass
t seems that we haven't had many use cases, so I am OK with dropping this and adding it back later if needed. Reviewed-by: Simon Glass Regards, Simon

[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

  1   2   3   4   5   6   7   8   9   10   >