Re: [PATCH v3 1/1] efi_loader: expose the device-tree file name

2023-10-22 Thread Heinrich Schuchardt
On 10/22/23 17:55, Tom Rini wrote: On Sun, Oct 22, 2023 at 10:47:33AM +0200, Heinrich Schuchardt wrote: Forward and backward compatibility of Linux kernel device-trees is sometimes missing. One solution approach is to load a kernel specific device-tree. This can either be done via a U-Boot

Re: [PATCH] iot2050: Allow for more than 1 USB storage device

2023-10-22 Thread Heinrich Schuchardt
+/* allow up to 3 USB storage devcies */ %s/devcies/devices/ Otherwise looks good to me. Reviewed-by: Heinrich Schuchardt +#ifdef CONFIG_CMD_USB +#undef BOOT_TARGET_USB +#define BOOT_TARGET_USB(func) \ + func(USB, usb, 0) \ + func(USB, usb, 1) \ + func(USB, usb,

Re: [PATCH v3 1/1] efi_loader: expose the device-tree file name

2023-10-22 Thread Heinrich Schuchardt
On 10/22/23 19:08, Tom Rini wrote: On Sun, Oct 22, 2023 at 06:34:08PM +0200, Heinrich Schuchardt wrote: On 10/22/23 17:55, Tom Rini wrote: On Sun, Oct 22, 2023 at 10:47:33AM +0200, Heinrich Schuchardt wrote: Forward and backward compatibility of Linux kernel device-trees is sometimes missing

Re: [PATCH v3 22/32] efi: Update EFI_LOADER to depend on DM_ETH

2023-10-22 Thread Heinrich Schuchardt
On 10/22/23 23:55, Simon Glass wrote: Hi, On Sun, 22 Oct 2023 at 07:59, Tom Rini wrote: On Sun, Oct 22, 2023 at 10:29:22AM -0400, Tom Rini wrote: On Sun, Oct 22, 2023 at 08:08:11AM +0200, Heinrich Schuchardt wrote: On 10/21/23 20:26, Tom Rini wrote: On Sat, Oct 21, 2023 at 08:43:08AM

Re: [PATCH 1/1] sandbox: eliminate unused functions from binaries

2023-10-22 Thread Heinrich Schuchardt
On 10/22/23 08:29, Heinrich Schuchardt wrote: The sandbox should closely mimic other architectures. Place each function or data in a separate section and let the linker eliminate unused ones. This will reduce the binary size. Signed-off-by: Heinrich Schuchardt --- arch/sandbox/config.mk | 4

[PATCH v2 1/1] sandbox: eliminate unused functions from binaries

2023-10-22 Thread Heinrich Schuchardt
The sandbox should closely mimic other architectures. Place each function or data in a separate section and let the linker eliminate unused ones. This will reduce the binary size. In the linker script mark that u_boot_sandbox_getopt are to be kept. Signed-off-by: Heinrich Schuchardt --- v2

Re: [PATCH v2 1/1] efi_loader: expose the device-tree file name

2023-10-23 Thread Heinrich Schuchardt
On 10/23/23 09:08, Simon Glass wrote: Hi Heinrich, On Sat, 21 Oct 2023 at 21:53, Heinrich Schuchardt wrote: On 10/21/23 17:42, Simon Glass wrote: Hi Tom, On Fri, 20 Oct 2023 at 09:24, Tom Rini wrote: On Fri, Oct 20, 2023 at 05:40:03PM +0200, Heinrich Schuchardt wrote: On 20.10.23 15:21

Re: [PATCH 1/1] general: fix GPL-2.0-or-later SPDX headers

2023-10-23 Thread Heinrich Schuchardt
On 10/23/23 09:05, Simon Glass wrote: Hi Heinrich, On Sun, 22 Oct 2023 at 10:48, Heinrich Schuchardt wrote: SPDX headers should use GPL-2.0-or-later and not GPL-2.0+. Signed-off-by: Heinrich Schuchardt --- Makefile | 2 +- README

Re: [PATCH 1/1] general: fix GPL-2.0-or-later SPDX headers

2023-10-23 Thread Heinrich Schuchardt
On 23.10.23 15:43, Tom Rini wrote: On Sun, Oct 22, 2023 at 07:47:07PM +0200, Heinrich Schuchardt wrote: SPDX headers should use GPL-2.0-or-later and not GPL-2.0+. Signed-off-by: Heinrich Schuchardt So, first, iirc GPL-2.0+ is deprecated, but still valid, yes? We should use the current form

Re: [PATCH v2 1/3] net: Get pxe config file from dhcp option 209

2023-10-23 Thread Heinrich Schuchardt
On 10/24/23 02:21, seanedm...@linux.microsoft.com wrote: From: Sean Edmond Allow dhcp server pass pxe config file full path by using option 209 Signed-off-by: Sean Edmond --- cmd/Kconfig | 4 cmd/pxe.c | 10 ++ net/bootp.c | 21 + 3 files changed, 35 i

Re: [PATCH v2 2/3] net: bootp: BOOTP/DHCPv4 retransmission improvements

2023-10-23 Thread Heinrich Schuchardt
On 10/24/23 02:21, seanedm...@linux.microsoft.com wrote: From: Sean Edmond This patch introduces 3 improvements to align with RFC 951: - retransmission backoff interval maximum is configurable - initial retranmission backoff interval is configurable - transaction ID is kept the same for each BO

Re: [PATCH v2 3/3] net: bootp: add config option BOOTP_RANDOM_XID

2023-10-23 Thread Heinrich Schuchardt
On 10/24/23 02:21, seanedm...@linux.microsoft.com wrote: From: Sean Edmond The new config option BOOTP_RANDOM_XID will randomize the transaction ID for each new BOOT/DHCPv4 exchange. Signed-off-by: Sean Edmond --- cmd/Kconfig | 7 +++ net/bootp.c | 31 +--

[PATCH v4 1/1] efi_loader: expose the device-tree file name

2023-10-23 Thread Heinrich Schuchardt
or if the environment variable fdtfile is not defined. Signed-off-by: Heinrich Schuchardt --- v4: Generalize the description of the content of $fdtfile. v3: Add documentation v2: Use a unique GUID to enable future U-Boot independent standardization. Do not

[PATCH v3 1/1] sandbox: eliminate unused functions from binaries

2023-10-23 Thread Heinrich Schuchardt
The sandbox should closely mimic other architectures. Place each function or data in a separate section and let the linker eliminate unused ones. This will reduce the binary size. In the linker script mark that u_boot_sandbox_getopt are to be kept. Signed-off-by: Heinrich Schuchardt --- v3

[PATCH 1/1] mkimage: do not write incorrect error message

2023-10-24 Thread Heinrich Schuchardt
the one that matches. None of the non-matching drivers should write an error message. Fix the Renesas SPKG driver. Fixes: afdfcb11f97c ("tools: spkgimage: add Renesas SPKG format") Signed-off-by: Heinrich Schuchardt --- tools/renesas_spkgimage.c | 3 ++- 1 file changed, 2 insertions(+

[PATCH 1/1] tools: mkimage: fix sfspl_image_extract_subimage()

2023-10-24 Thread Heinrich Schuchardt
Do not leak file descriptor if writing fails. Correct the error text if opening a file fails. Addresses-Coverity-ID: 467054 Resource leaks Fixes: 64fd30d367a1 ("tools: mkimage: Add StarFive SPL image support") Signed-off-by: Heinrich Schuchardt --- tools/sfspl.c | 8 1 file

[PATCH 1/1] CI: use OpenSBI 1.3.1 for testing

2023-10-24 Thread Heinrich Schuchardt
Use the most recent upstream release of OpenSBI for CI testing. Signed-off-by: Heinrich Schuchardt --- .azure-pipelines.yml | 8 .gitlab-ci.yml | 8 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml index

Re: [PATCH] smbios: arm64: Allow table to be written at a fixed addr

2023-10-24 Thread Heinrich Schuchardt
Am 25. Oktober 2023 01:28:10 MESZ schrieb Simon Glass : >Hi Tom, > >On Tue, 24 Oct 2023 at 15:34, Tom Rini wrote: >> >> On Mon, Oct 23, 2023 at 05:31:19PM +0200, Mark Kettenis wrote: >> > > From: Simon Glass >> > > Date: Mon, 23 Oct 2023 00:04:14 -0700 >> > > >> > > Hi Caleb, >> > > >> > > On

Re: [PATCH v2] smbios: arm64: Allow table to be written at a fixed addr

2023-10-24 Thread Heinrich Schuchardt
Am 25. Oktober 2023 01:31:19 MESZ schrieb Simon Glass : >U-Boot typically sets up its malloc() pool near the top of memory. On >ARM64 systems this can result in an SMBIOS table above 4GB which is >not supported by SMBIOSv2. > >Work around this problem by providing a new option to choose an addre

Pull request efi-2024-01-rc2

2023-10-24 Thread Heinrich Schuchardt
rdering of shell commands UEFI: * Fix build failure without network * Expose the device-tree file name as UEFI variable * Move misplace EFI_ENTRY macro. Dylan Corrales (1): doc: Replace dm_dump_all() with dm_dump_tree() Heinrich

Re: [PATCH v2] smbios: arm64: Allow table to be written at a fixed addr

2023-10-25 Thread Heinrich Schuchardt
On 10/25/23 04:49, Simon Glass wrote: Hi Heinrich, On Tue, 24 Oct 2023 at 18:22, Heinrich Schuchardt wrote: Am 25. Oktober 2023 01:31:19 MESZ schrieb Simon Glass : U-Boot typically sets up its malloc() pool near the top of memory. On ARM64 systems this can result in an SMBIOS table above

Re: [PATCH v14 4/8] bootm: Support boot measurement

2023-10-25 Thread Heinrich Schuchardt
On 24.10.23 17:43, Eddie James wrote: Add a configuration option to measure the boot through the bootm function. Add the measurement state to the booti and bootz paths as well. Signed-off-by: Eddie James Reviewed-by: Simon Glass --- Changes since v8: - Added a configuration option to select

Re: [PATCH v14 4/8] bootm: Support boot measurement

2023-10-25 Thread Heinrich Schuchardt
On 25.10.23 15:21, Ilias Apalodimas wrote: On Wed, 25 Oct 2023 at 16:08, Heinrich Schuchardt wrote: On 24.10.23 17:43, Eddie James wrote: Add a configuration option to measure the boot through the bootm function. Add the measurement state to the booti and bootz paths as well. Signed-off-by

Re: [PATCH] smbios: arm64: Allow table to be written at a fixed addr

2023-10-25 Thread Heinrich Schuchardt
On 25.10.23 16:28, Tom Rini wrote: On Wed, Oct 25, 2023 at 04:18:20PM +0200, Mark Kettenis wrote: Date: Tue, 24 Oct 2023 18:34:05 -0400 From: Tom Rini On Mon, Oct 23, 2023 at 05:31:19PM +0200, Mark Kettenis wrote: From: Simon Glass Date: Mon, 23 Oct 2023 00:04:14 -0700 Hi Caleb, On Sat, 21

Re: [PATCH v4 1/1] efi_loader: expose the device-tree file name

2023-10-25 Thread Heinrich Schuchardt
On 10/25/23 20:23, Simon Glass wrote: Hi Heinrich, On Tue, 24 Oct 2023 at 18:02, Simon Glass wrote: Hi Heinrich, On Mon, 23 Oct 2023 at 23:20, Heinrich Schuchardt wrote: Forward and backward compatibility of Linux kernel device-trees is sometimes missing. One solution approach is to load

Re: Pull request efi-2024-01-rc2

2023-10-25 Thread Heinrich Schuchardt
On 10/25/23 20:57, Tom Rini wrote: On Wed, Oct 25, 2023 at 04:20:06AM +0200, Heinrich Schuchardt wrote: Dear Tom, The following changes since commit 5cab3515f8c9796015739c1750b8933291c816be: Merge tag 'u-boot-rockchip-20231024' of https://source.denx.de/u-boot/custodians/u-boo

Re: [PATCH v4 1/1] efi_loader: expose the device-tree file name

2023-10-25 Thread Heinrich Schuchardt
On 10/25/23 22:28, Mark Kettenis wrote: Date: Wed, 25 Oct 2023 21:57:44 +0200 From: Heinrich Schuchardt On 10/25/23 20:23, Simon Glass wrote: Hi Heinrich, On Tue, 24 Oct 2023 at 18:02, Simon Glass wrote: Hi Heinrich, On Mon, 23 Oct 2023 at 23:20, Heinrich Schuchardt wrote: Forward and

Re: [PATCH] smbios: arm64: Allow table to be written at a fixed addr

2023-10-25 Thread Heinrich Schuchardt
On 10/25/23 19:09, Tom Rini wrote: On Wed, Oct 25, 2023 at 05:28:10PM +0200, Heinrich Schuchardt wrote: On 25.10.23 16:28, Tom Rini wrote: On Wed, Oct 25, 2023 at 04:18:20PM +0200, Mark Kettenis wrote: Date: Tue, 24 Oct 2023 18:34:05 -0400 From: Tom Rini On Mon, Oct 23, 2023 at 05:31:19PM

Re: [PATCH v4 1/1] efi_loader: expose the device-tree file name

2023-10-25 Thread Heinrich Schuchardt
On 10/25/23 23:13, Tom Rini wrote: On Wed, Oct 25, 2023 at 10:28:05PM +0200, Mark Kettenis wrote: Date: Wed, 25 Oct 2023 21:57:44 +0200 From: Heinrich Schuchardt On 10/25/23 20:23, Simon Glass wrote: Hi Heinrich, On Tue, 24 Oct 2023 at 18:02, Simon Glass wrote: Hi Heinrich, On Mon, 23

Re: [PATCH] smbios: arm64: Allow table to be written at a fixed addr

2023-10-25 Thread Heinrich Schuchardt
On 10/25/23 23:09, Tom Rini wrote: On Wed, Oct 25, 2023 at 10:52:48PM +0200, Heinrich Schuchardt wrote: On 10/25/23 19:09, Tom Rini wrote: On Wed, Oct 25, 2023 at 05:28:10PM +0200, Heinrich Schuchardt wrote: On 25.10.23 16:28, Tom Rini wrote: On Wed, Oct 25, 2023 at 04:18:20PM +0200, Mark

Re: [RFC 11/13] fs: remove explicit efi configuration dependency

2023-10-26 Thread Heinrich Schuchardt
Am 26. Oktober 2023 07:30:50 MESZ schrieb AKASHI Takahiro : >Now it is clear that the feature actually depends on efi interfaces, >not "bootefi" command. efi_set_bootdev() will automatically be nullified >if necessary efi component is disabled. > >Signed-off-by: AKASHI Takahiro >--- > fs/fs.c

Re: [RFC 02/13] cmd: bootefi: re-organize do_bootefi_image()

2023-10-26 Thread Heinrich Schuchardt
On 10/26/23 07:30, AKASHI Takahiro wrote: Decompose and re-organize do_bootefi_image() into three parts for the succeeding refactor work. Signed-off-by: AKASHI Takahiro --- cmd/Kconfig | 15 ++-- cmd/bootefi.c| 82 ++-- include/ef

Re: [RFC 01/13] cmd: bootefi: unfold do_bootefi_image()

2023-10-26 Thread Heinrich Schuchardt
On 10/26/23 07:30, AKASHI Takahiro wrote: Unfold do_bootefi_image() into do_bootefi() for the sake of the succeeding refactor work. Signed-off-by: AKASHI Takahiro --- cmd/bootefi.c | 101 ++ 1 file changed, 37 insertions(+), 64 deletions(-) di

Re: Pull request for tpm-next-27102023

2023-10-27 Thread Heinrich Schuchardt
On 27.10.23 13:26, Ilias Apalodimas wrote: Hi Tom, The following changes since commit e29b932aa07fa0226d325b35d96cd4eea0370129: Merge branch '2023-09-30-Kconfig-updates' into next (2023-10-01 11:54:31 -0400) are available in the Git repository at: https://source.denx.de/u-boot/custodian

Pull request efi-2024-01-rc2-2

2023-10-27 Thread Heinrich Schuchardt
Dear Tom, This pull request replaces pull request efi-2024-01-rc2. The two patches with which you saw issues are removed. The following changes since commit fb428b61819444b9337075f49c72f326f5d12085: Merge branch '2023-10-24-assorted-general-fixes-and-updates' (2023-10-24 19:12:21 -0400) are

[PATCH 1/1] doc: short overlong title underlines

2023-10-28 Thread Heinrich Schuchardt
Title underlines should match the length of the title. Unfortunately docutils only catches underlines that are too short. Add some missing empty lines after titles. Signed-off-by: Heinrich Schuchardt --- doc/arch/arm64.ffa.rst | 20 ++-- doc/board/AndesTech

Re: Pull request for tpm-next-27102023

2023-10-28 Thread Heinrich Schuchardt
On 10/28/23 02:51, Tom Rini wrote: On Fri, Oct 27, 2023 at 02:26:16PM +0300, Ilias Apalodimas wrote: Hi Tom, The following changes since commit e29b932aa07fa0226d325b35d96cd4eea0370129: Merge branch '2023-09-30-Kconfig-updates' into next (2023-10-01 11:54:31 -0400) are available in the

[RFC 1/1] rng: Provide a RNG based on the RISC-V Zkr ISA extension

2023-10-28 Thread Heinrich Schuchardt
The Zkr ISA extension (ratified Nov 2021) introduced the seed CSR. It provides an interface to a physical entropy source. A RNG driver based on the seed CSR is provided. It depends on mseccfg.sseed being set in the SBI firmware. Signed-off-by: Heinrich Schuchardt --- drivers/rng/Kconfig

Re: [RFC 1/1] rng: Provide a RNG based on the RISC-V Zkr ISA extension

2023-10-29 Thread Heinrich Schuchardt
On 10/29/23 06:39, Chanho Park wrote: Hi, -Original Message- From: U-Boot On Behalf Of Heinrich Schuchardt Sent: Sunday, October 29, 2023 8:26 AM To: Rick Chen ; Leo Cc: Sughosh Ganu ; u-boot@lists.denx.de; Heinrich Schuchardt Subject: [RFC 1/1] rng: Provide a RNG based on the RISC

[RFC v2 0/2] rng: Provide a RNG based on the RISC-V Zkr ISA extension

2023-10-29 Thread Heinrich Schuchardt
risking an exception. For safe driver probing allow to resume via a longjmp after an exception. As the driver depends on mseccfg.sseed=1 we should wait with merging the driver until a decision has been taken in the RISC-V PRS TG on prescribing this. Heinrich Schuchardt (2): riscv: allow resume

[RFC v2 1/2] riscv: allow resume after exception

2023-10-29 Thread Heinrich Schuchardt
If CSRs like seed are readable by S-mode, may not be determinable by S-mode. For safe driver probing allow to resume via a longjmp after an exception. Signed-off-by: Heinrich Schuchardt --- v2: new patch --- arch/riscv/lib/interrupts.c | 13 + include/interrupt.h

[RFC v2 2/2] rng: Provide a RNG based on the RISC-V Zkr ISA extension

2023-10-29 Thread Heinrich Schuchardt
The Zkr ISA extension (ratified Nov 2021) introduced the seed CSR. It provides an interface to a physical entropy source. A RNG driver based on the seed CSR is provided. It depends on mseccfg.sseed being set in the SBI firmware. Signed-off-by: Heinrich Schuchardt --- v2: Resume after

Re: [RFC v2 2/2] rng: Provide a RNG based on the RISC-V Zkr ISA extension

2023-10-30 Thread Heinrich Schuchardt
ds Heinrich > Regards, > Xiang W > > Heinrich Schuchardt 于2023年10月29日周日 > 16:46写道: > > > > The Zkr ISA extension (ratified Nov 2021) introduced the seed CSR. It > > provides an interface to a physical entropy source. > > > > A RNG driver based on the seed

Re: [RFC v2 1/2] riscv: allow resume after exception

2023-10-31 Thread Heinrich Schuchardt
inal call to set_resume and set_resume will return to a random address. Best regards Heinrich Regards, Xiang W Heinrich Schuchardt 于2023年10月29日周日 16:56写道: If CSRs like seed are readable by S-mode, may not be determinable by S-mode. For safe driver probing allow to resume via a longjm

[PATCH v3 0/2] rng: Provide a RNG based on the RISC-V Zkr ISA extension

2023-10-31 Thread Heinrich Schuchardt
4/4] RISC-V: Implement archrandom when Zkr is available https://lore.kernel.org/linux-riscv/20230712084134.1648008-5-sa...@rivosinc.com/ v3: Add API documentation. v2: Catch exception if mseccfg.sseed=0. Heinrich Schuchardt (2): riscv: allow resume after exception

[PATCH v3 1/2] riscv: allow resume after exception

2023-10-31 Thread Heinrich Schuchardt
If CSRs like seed are readable by S-mode, may not be determinable by S-mode. For safe driver probing allow to resume via a longjmp after an exception. Signed-off-by: Heinrich Schuchardt --- v3: Add API documentation v2: New patch --- arch/riscv/lib/interrupts.c | 13

[PATCH v3 2/2] rng: Provide a RNG based on the RISC-V Zkr ISA extension

2023-10-31 Thread Heinrich Schuchardt
The Zkr ISA extension (ratified Nov 2021) introduced the seed CSR. It provides an interface to a physical entropy source. A RNG driver based on the seed CSR is provided. It depends on mseccfg.sseed being set in the SBI firmware. Signed-off-by: Heinrich Schuchardt Reviewed-by: Leo Yu-Chi Liang

Re: [PATCH 3/5] rng: Add StarFive JH7110 RNG driver

2023-10-31 Thread Heinrich Schuchardt
On 10/30/23 09:32, Chanho Park wrote: Adds to support JH7110 TRNG driver which is based on linux kernel's jh7110-trng.c. This can support to generate 256-bit random numbers and 128-bit but this makes 256-bit default for convenience. Signed-off-by: Chanho Park --- drivers/rng/Kconfig |

Re: [PATCH 5/5] configs: visionfive2: Enable JH7110 RNG driver

2023-10-31 Thread Heinrich Schuchardt
On 10/30/23 09:32, Chanho Park wrote: Enables JH7110 RNG driver to visionfive2 board. Signed-off-by: Chanho Park Reviewed-by: Heinrich Schuchardt --- configs/starfive_visionfive2_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/starfive_visionfive2_defconfig b

Re: [PATCH v3 3/5] rng: Add StarFive JH7110 RNG driver

2023-11-01 Thread Heinrich Schuchardt
On 11/1/23 13:40, Chanho Park wrote: Adds to support JH7110 TRNG driver which is based on linux kernel's jh7110-trng.c. This can support to generate 256-bit random numbers and 128-bit but this makes 256-bit default for convenience. Signed-off-by: Chanho Park --- drivers/rng/Kconfig | 6

Re: [PATCH v1] rng: add dm_rng_read_default() helper

2023-11-01 Thread Heinrich Schuchardt
On 11/1/23 15:49, Alexey Romanov wrote: Add dm_rng_read_default() function, which obtain a series of random bytes. In some cases, such function would be useful because it allows the caller to abstract away from RNG device. Signed-off-by: Alexey Romanov --- drivers/rng/rng-uclass.c | 20 ++

Re: [PATCH v3 0/2] rng: Provide a RNG based on the RISC-V Zkr ISA extension

2023-11-01 Thread Heinrich Schuchardt
On 11/1/23 19:05, Andre Przywara wrote: On Tue, 31 Oct 2023 14:55:50 +0200 Heinrich Schuchardt wrote: Hi Heinrich, The Zkr ISA extension (ratified Nov 2021) introduced the seed CSR. It provides an interface to a physical entropy source. A RNG driver based on the seed CSR is provided. It

Re: [PATCH v2 1/2] rng: move platform_get_rng_device() to rng-uclass.c

2023-11-02 Thread Heinrich Schuchardt
On 11/2/23 11:16, Alexey Romanov wrote: The correct declaration place for platform_get_rng_device() function is here. Also, this function is re-implemented to provide the first successfully probed RNG device. Signed-off-by: Alexey Romanov --- drivers/rng/rng-uclass.c | 16 i

Re: [PATCH v2] smbios: arm64: Allow table to be written at a fixed addr

2023-11-03 Thread Heinrich Schuchardt
Am 3. November 2023 19:12:40 OEZ schrieb Simon Glass : >Hi, > >On Sat, 28 Oct 2023 at 12:41, Simon Glass wrote: >> >> [unfortunately I am not receiving email from the list at present] >> >> Hi Heinrich, >> >> On Wed, 25 Oct 2023 at 21:39, Heinrich S

Re: [PATCH v2] smbios: arm64: Allow table to be written at a fixed addr

2023-11-03 Thread Heinrich Schuchardt
Am 3. November 2023 20:14:46 OEZ schrieb Simon Glass : >Hi Heinrich, > >On Fri, 3 Nov 2023 at 11:52, Heinrich Schuchardt wrote: >> >> >> >> Am 3. November 2023 19:12:40 OEZ schrieb Simon Glass : >> >Hi, >> > >> >On Sat, 28 Oct 2023 a

[PATCH 1/1] rng: detect RISC-V Zkr RNG device in bind method

2023-11-03 Thread Heinrich Schuchardt
nsion") Reported-by: Andre Przywara Signed-off-by: Heinrich Schuchardt --- drivers/rng/riscv_zkr_rng.c | 34 ++ 1 file changed, 26 insertions(+), 8 deletions(-) diff --git a/drivers/rng/riscv_zkr_rng.c b/drivers/rng/riscv_zkr_rng.c index 8c9e111e2e..48a5251988 10

[PATCH 1/1] rng: fix ARMv8.5 RNDR driver

2023-11-04 Thread Heinrich Schuchardt
). Fixes: 31565bb0aa2d ("driver: rng: Add DM_RNG interface for ARMv8.5 RNDR registers") Signed-off-by: Heinrich Schuchardt --- drivers/rng/arm_rndr.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/rng/arm_rndr.c b/drivers/rng/arm_rndr.c index 55989743ea..

Re: [PATCH v2 2/3] net: bootp: BOOTP/DHCPv4 retransmission improvements

2023-11-04 Thread Heinrich Schuchardt
On 11/4/23 03:04, Sean Edmond wrote: On 2023-10-23 11:06 p.m., Heinrich Schuchardt wrote: On 10/24/23 02:21, seanedm...@linux.microsoft.com wrote: From: Sean Edmond This patch introduces 3 improvements to align with RFC 951: - retransmission backoff interval maximum is configurable

Re: [PATCH v2 1/3] net: Get pxe config file from dhcp option 209

2023-11-04 Thread Heinrich Schuchardt
On 11/4/23 03:03, Sean Edmond wrote: On 2023-10-23 10:54 p.m., Heinrich Schuchardt wrote: On 10/24/23 02:21, seanedm...@linux.microsoft.com wrote: From: Sean Edmond Allow dhcp server pass pxe config file full path by using option 209 Signed-off-by: Sean Edmond ---   cmd/Kconfig |  4

Re: [PATCH 1/1] rng: fix ARMv8.5 RNDR driver

2023-11-04 Thread Heinrich Schuchardt
On 11/4/23 19:13, Andre Przywara wrote: On Sat, 4 Nov 2023 09:00:07 +0200 Heinrich Schuchardt wrote: Hi Heinrich, many thanks for finding and fixing this! In different parts of our code we assume that the first RNG device is the one to be used. Therefore it is preferable to detect the

[PATCH 1/1] dm: Do not enable debug messages by default

2023-11-04 Thread Heinrich Schuchardt
CONFIG_DM_WARN has a text indicating that these messages should only provided when debugging. This implies that the setting must be default no. We should still create debug messages. Reported-by: Andre Przywara Signed-off-by: Heinrich Schuchardt --- drivers/core/Kconfig | 1 - include/dm

[PATCH 1/1] dm: fix misleading messages

2023-11-04 Thread Heinrich Schuchardt
eported-by: Andre Przywara Signed-off-by: Heinrich Schuchardt --- drivers/core/lists.c | 2 +- drivers/core/root.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/core/lists.c b/drivers/core/lists.c index 8034a8f48d..e39d3acc97 100644 --- a/drivers/core/lists.c +++

Re: [PATCH 1/1] dm: fix misleading messages

2023-11-04 Thread Heinrich Schuchardt
On 11/4/23 21:45, Simon Glass wrote: Hi Heinrich, On Sat, 4 Nov 2023 at 18:47, Heinrich Schuchardt wrote: When no RNG device exists for a driver referenced via U_BOOT_DRVINFO() we get messages like: No match for driver 'arm-rndr' Some drivers were not found This is mis

Re: [PATCH v3 0/2] rng: Provide a RNG based on the RISC-V Zkr ISA extension

2023-11-04 Thread Heinrich Schuchardt
On 11/4/23 21:45, Simon Glass wrote: Hi Andre, On Sat, 4 Nov 2023 at 17:13, Andre Przywara wrote: On Fri, 3 Nov 2023 13:38:58 -0600 Simon Glass wrote: Hi Simon, Hi Heinrich, On Wed, 1 Nov 2023 at 14:20, Heinrich Schuchardt wrote: On 11/1/23 19:05, Andre Przywara wrote: On Tue, 31

Re: uboot reports adding disk failed(EFI_NOT_FOUND) and first disk is gone in next scsi scan

2023-11-04 Thread Heinrich Schuchardt
Am 4. November 2023 21:43:52 OEZ schrieb Simon Glass : >Hi Richard, > >+Heinrich as I think this is an EFI bug. > >On Thu, 2 Nov 2023 at 19:37, Hongxing Zhu wrote: >> >> Hi Simon: >> I found that the EFI complained that the disk install path is not updated >> for the second disk. >> The instal

Re: [PATCH 1/1] rng: detect RISC-V Zkr RNG device in bind method

2023-11-04 Thread Heinrich Schuchardt
On 11/4/23 21:42, Simon Glass wrote: Hi Heinrich, On Sat, 4 Nov 2023 at 06:51, Heinrich Schuchardt wrote: The existence of devices should be checked in the bind method and not in the probe method. Adjust the RISC-V Zkr RNG driver accordingly. Use ENOENT (and not ENODEV) to signal that the

Re: [PATCH V2] doc: falcon: riscv: Falcon Mode boot on RISC-V

2023-11-04 Thread Heinrich Schuchardt
On 11/2/23 13:10, Randolph wrote: Add documentation to introduce the Falcon Mode on RISC-V. In this mode, the boot sequence is SPL -> OpenSBI -> Linux kernel. Signed-off-by: Randolph --- doc/develop/falcon.rst | 159 + 1 file changed, 159 insertions(+)

Re: [PATCH 1/1] rng: detect RISC-V Zkr RNG device in bind method

2023-11-05 Thread Heinrich Schuchardt
On 11/5/23 18:25, Simon Glass wrote: Hi Heinrich, On Sun, 5 Nov 2023 at 03:47, Heinrich Schuchardt wrote: On 11/4/23 21:42, Simon Glass wrote: Hi Heinrich, On Sat, 4 Nov 2023 at 06:51, Heinrich Schuchardt wrote: The existence of devices should be checked in the bind method and not in

[PATCH 1/1] .mailmap: map Pali Rohár

2023-11-06 Thread Heinrich Schuchardt
Pali expressed that he does not want to receive mails relating to his past contributions. Signed-off-by: Heinrich Schuchardt --- .mailmap | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.mailmap b/.mailmap index 05cb310e41..4c0b922488 100644 --- a/.mailmap +++ b/.mailmap @@ -80,6 +80,8

Re: [PATCH v6 00/25] spl: Use common function for loading/parsing images

2023-11-06 Thread Heinrich Schuchardt
On 11/5/23 23:49, Pali Rohár wrote: What you are doing is the worst thing in the world. You have been ignoring all my changes which I have been sending for one year, then you wrote me that I'm not competent to do any kind of programming, later you wrote that you would ignore all my requests and s

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

2023-08-20 Thread Heinrich Schuchardt
s change is in patch 14/19. Reviewed-by: Heinrich Schuchardt + stage. + config SMBIOS_PARSER bool "SMBIOS parser" hel

Re: Doc style for method functions

2023-08-21 Thread Heinrich Schuchardt
On 18.08.23 16:59, Simon Glass wrote: Hi Heinrich, On Thu, 17 Aug 2023 at 10:36, Heinrich Schuchardt wrote: On 16.08.23 19:47, Simon Glass wrote: Hi Jonathan, On Wed, 16 Aug 2023 at 11:15, Jonathan Corbet wrote: Simon Glass writes: Hi Jonathan, I would like to do something like this

[PATCH 1/1] lib: parameter check in hash_calculate

2023-08-22 Thread Heinrich Schuchardt
ithms from struct hash_algo") Signed-off-by: Heinrich Schuchardt --- lib/hash-checksum.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/hash-checksum.c b/lib/hash-checksum.c index 8f2a42f9a0..68c290d64d 100644 --- a/lib/hash-checksum.c +++ b/lib/hash-checksum.

[PATCH 1/1] lib: parameter check in hash_calculate

2023-08-22 Thread Heinrich Schuchardt
ithms from struct hash_algo") Signed-off-by: Heinrich Schuchardt --- lib/hash-checksum.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/hash-checksum.c b/lib/hash-checksum.c index 8f2a42f9a0..68c290d64d 100644 --- a/lib/hash-checksum.c +++ b/lib/hash-checksum.

[PATCH 1/1] cmd: setexpr: fix printf_str()

2023-08-22 Thread Heinrich Schuchardt
ng indicated. Checking for negative i should be done first. Fixes: f4f8d8bb1abc ("cmd: setexpr: add format string handling") Signed-off-by: Heinrich Schuchardt --- cmd/printf.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd/printf.c b/cmd/printf.c index e0

Re: [PATCH 1/1] doc: board: ti: k3: image alt texts

2023-08-22 Thread Heinrich Schuchardt
On 22.08.23 17:27, Nishanth Menon wrote: Heinrich, If you don't mind, On 04:49-20230819, Heinrich Schuchardt wrote: Provide alternative texts for images. Fixes: 6e8fa0611f19 ("board: ti: k3: Convert boot flow ascii flow to svg") Signed-off-by: Heinrich Schuchardt I will pick

Re: [PATCH 04/13] doc: board: ti: am64x: provide image alt text

2023-08-22 Thread Heinrich Schuchardt
On 8/22/23 18:40, Nishanth Menon wrote: Provide alternative text for image. Fixes: 4bf49bade124 ("doc: board: ti: am64: Add boot flow diagram") Reported-by: Heinrich Schuchardt Signed-off-by: Nishanth Menon This patch is only applicable to the next branch (2024.01). Reviewed-by

Re: [PATCH 09/13] doc: board: ti: am64x: Fix build step numbering

2023-08-22 Thread Heinrich Schuchardt
On 8/22/23 18:41, Nishanth Menon wrote: Fix up build step numbering. Fixes: 4bf49bade124 ("doc: board: ti: am64: Add boot flow diagram") Signed-off-by: Nishanth Menon This patch is only applicable to the next branch (2024.01). Reviewed-by: Heinrich Schuchardt

Pull request for doc-2023-10-rc4

2023-08-23 Thread Heinrich Schuchardt
) Heinrich Schuchardt (4): cmd: setexpr: fix printf_str() doc: board: ti: k3: image alt texts doc: board: ti: am62x: provide image alt texts doc: board: ti: am65x: provide image alt text Jonathan Humphreys (1): doc: board: ti: k3: Fix up OpenOCD references

Re: [PATCH 2/7] lmb: Tidy up structure access

2023-08-23 Thread Heinrich Schuchardt
On 23.08.23 15:41, Simon Glass wrote: In some cases it helps to define a local variable pointing to the structure being accessed. This avoids lots of repeated code. There is no need to individually assign each struct member, so use a structure assignment instead. Signed-off-by: Simon Glass ---

Re: Config fragments

2023-08-23 Thread Heinrich Schuchardt
On 23.08.23 17:30, Simon Glass wrote: Hi, Up until 2023.04 it has been possible to build all the defconfigs but with 2023.07 that changed. Tom mentioned this to me recently. Could you, please, explain why there are defconfig that can't be built. The CI should have thrown an error in this case

[PATCH 1/1] doc: describe TPL/VPL/SPL boot

2023-08-23 Thread Heinrich Schuchardt
This is a stub describing how TPL, VPL, and SPL load the next boot stages on a detail level for users. For sure we will need a few patches on top to catch the whole complexity. Signed-off-by: Heinrich Schuchardt --- doc/usage/index.rst| 1 + doc/usage/spl_boot.rst | 309

Re: [PATCH 7/8] spl: x86: Avoid starting up PCI automatically in SPL

2023-08-23 Thread Heinrich Schuchardt
On 8/23/23 20:47, Simon Glass wrote: For x86 platforms, PCI is core to their operation and is managed in arch-specific code. Each platform has its own way of doing this. For TPL and some SPL implementations, the full driver model PCI is not used. A recent change enabled full PCI in TPL/SPL for a

Re: [PATCH 1/1] doc: describe TPL/VPL/SPL boot

2023-08-23 Thread Heinrich Schuchardt
On 8/23/23 22:14, Pali Rohár wrote: On Wednesday 23 August 2023 21:57:28 Heinrich Schuchardt wrote: +Booting from TPL/SPL + + +The main U-Boot binary may be to large to be loaded directly by the Boot ROM. +This was the main driver for splitting up U-Boot into multiple

[PATCH v2 1/1] doc: describe TPL/VPL/SPL boot

2023-08-23 Thread Heinrich Schuchardt
This is a stub describing how TPL, VPL, and SPL load the next boot stages on a detail level for users. For sure we will need a few patches on top to catch the whole complexity. Signed-off-by: Heinrich Schuchardt --- v2: Mention that PowerPC uses a different naming convention

[PATCH 1/1] MAINTAINERS: remove Wolfgang Denk

2023-08-23 Thread Heinrich Schuchardt
Signed-off-by: Heinrich Schuchardt --- MAINTAINERS | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 47581cf6fb..5bee7ed93a 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -960,7 +960,6 @@ F: tools/mkeficapsule.c ENVIRONMENT M: Joe

Re: [PATCH 7/8] spl: x86: Avoid starting up PCI automatically in SPL

2023-08-23 Thread Heinrich Schuchardt
Am 24. August 2023 01:57:55 MESZ schrieb Simon Glass : >Hi Heinrich, > >On Wed, 23 Aug 2023 at 14:19, Heinrich Schuchardt wrote: >> >> On 8/23/23 20:47, Simon Glass wrote: >> > For x86 platforms, PCI is core to their operation and is managed in >> > ar

Re: [PATCH 1/2] cmd: efidebug: add uri device path

2023-08-23 Thread Heinrich Schuchardt
On 8/23/23 10:37, Masahisa Kojima wrote: This adds the URI device path option for 'boot add' subcommand. User can add the URI load option for downloading ISO image file or EFI application through network(e.g. HTTP). Signed-off-by: Masahisa Kojima --- cmd/efidebug.c | 39 ++

Re: [PATCH 2/2] efi_loader: support boot from URI device path

2023-08-23 Thread Heinrich Schuchardt
On 8/23/23 10:37, Masahisa Kojima wrote: This supports to boot from the URI device path. When user selects the URI device path, bootmgr downloads the file using wget into the address specified by loadaddr env variable. If the file is .iso or .img file, mount the image with blkmap then try to boot

Re: [PATCH] efi_loader: delete handle from events when a protocol is uninstalled

2023-08-24 Thread Heinrich Schuchardt
On 24.08.23 13:55, Ilias Apalodimas wrote: When a notification event is registered for a protocol the handle of the protocol is added in our event notification list. When all the protocols of the handle are uninstalled we delete the handle but we do not remove it from the event notification list

Re: [PATCH] efi_loader: delete handle from events when a protocol is uninstalled

2023-08-24 Thread Heinrich Schuchardt
On 24.08.23 15:06, Ilias Apalodimas wrote: Hi Henrich +/** + * efi_purge_handle() - Clean the deleted handle from the various lists + * @handle: handle to remove + * + * Return: status code + */ +static efi_status_t efi_purge_handle(efi_handle_t handle) +{ + struct efi_register_notify_eve

Re: [PATCH v2] efi_loader: delete handle from events when a protocol is uninstalled

2023-08-24 Thread Heinrich Schuchardt
On 24.08.23 16:49, Ilias Apalodimas wrote: On Thu, 24 Aug 2023 at 17:47, Ilias Apalodimas wrote: Hi Simon, On Thu, 24 Aug 2023 at 17:41, Simon Glass wrote: Hi Ilias, On Thu, 24 Aug 2023 at 08:21, Ilias Apalodimas wrote: When a notification event is registered for a protocol the handle

Re: [RFC PATCH 1/2] doc: sphinx: Add sphinx-prompt

2023-08-24 Thread Heinrich Schuchardt
On 24.08.23 17:40, Nishanth Menon wrote: Sphinx-prompt[1] helps bring-in '.. prompt::' option that allows a better rendered documentation, yet be able to copy paste without picking up the prompt from rendered documentation. [1] https://lore.kernel.org/all/87fs48rgto@baylibre.com/ Suggested-b

Re: [RFC PATCH 2/2] doc: board: ti: k3: Convert to sphinx-prompt

2023-08-24 Thread Heinrich Schuchardt
On 24.08.23 17:40, Nishanth Menon wrote: Sphinx-prompt provides a handy scheme to provide documentation that renders nicely and yet provides a scheme to copy paste for users without having to hand-edit the copied text as is the result of code-block [1] https://lore.kernel.org/all/87fs48rgto@

Re: [PATCH] efi: Correct handling of frame buffer

2023-08-25 Thread Heinrich Schuchardt
On 8/25/23 21:28, Simon Glass wrote: The efi_gop driver uses private fields from the video uclass to obtain a pointer to the frame buffer. Use the platform data instead. Check the VIDEO_COPY setting to determine which frame buffer to use. Once the next stage is running (and making use of U-Boot'

Re: [PATCH v3 6/8] cmd: gpt: Preserve type GUID if enabled

2023-08-25 Thread Heinrich Schuchardt
On 8/25/23 21:38, Joshua Watt wrote: If CONFIG_PARTITION_TYPE_GUID is enabled, the type GUID will be preserved when writing out the partition string. It was already respected when writing out partitions; this ensures that if you capture the current partition layout and write it back (such as when

Re: [PATCH v3 8/8] cmd: gpt: Add command to swap partition order

2023-08-25 Thread Heinrich Schuchardt
On 8/25/23 21:38, Joshua Watt wrote: Adds a command called "gpt swap-postition" which will swap the order two partitions are listed in the GPT partition table (but leaves them pointing to the same locations on disk). Why is this functionality needed in a boot firmware? Signed-off-by: Joshua

[PATCH 0/3] cmd: fix errors in gpt command

2023-08-25 Thread Heinrich Schuchardt
Consider that partitions may not be numbered continously starting at 1. Don't enumerate a block device with multiple partition drivers. Let gpt_partition_entry be a hexadecimal value. Heinrich Schuchardt (3): cmd: fix gpt setenv cmd: fix gpt enumerate cmd: let gpt_partition_ent

[PATCH 1/3] cmd: fix gpt setenv

2023-08-25 Thread Heinrich Schuchardt
Do not assume that partitions are continuously numbered starting at 1. Having a partition table with a single partition 63 is valid. Signed-off-by: Heinrich Schuchardt --- cmd/gpt.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/cmd/gpt.c b/cmd/gpt.c index 007a68eaa7

[PATCH 2/3] cmd: fix gpt enumerate

2023-08-25 Thread Heinrich Schuchardt
Do not assume that partitions are numbered continuously starting at 1. Only a single partition table type can exist on a block device. If we found a GPT partition table, we must not re-enumerate with the MBR partition driver which would find the protective partition. Signed-off-by: Heinrich

<    1   2   3   4   5   6   7   8   9   10   >