[PATCH 3/3] cmd: let gpt_partition_entry be hexadecimal

2023-08-25 Thread Heinrich Schuchardt
In commands like 'ls mmc 0:f' the partition number is hexadecimal. In command 'gpt setenv' variable gpt_partition_entry needs to be set to a hexadecimal value to allow its use as a parameter in a subsequent command. Signed-off-by: Heinrich Schuchardt --- cmd/gpt.c | 2 +

Re: [PATCH v3 2/8] doc: Add gpt command documentation

2023-08-25 Thread Heinrich Schuchardt
On 8/25/23 21:38, Joshua Watt wrote: Adds initial documentation for the gpt command Thanks a lot for filling the gap. Signed-off-by: Joshua Watt --- doc/usage/cmd/gpt.rst | 141 ++ doc/usage/index.rst | 1 + 2 files changed, 142 insertions(+)

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

2023-08-25 Thread Heinrich Schuchardt
On 8/25/23 07:57, Masahisa Kojima wrote: On Thu, 24 Aug 2023 at 09:11, AKASHI Takahiro wrote: Hi Kojima-san, On Wed, Aug 23, 2023 at 05:37:19PM +0900, Masahisa Kojima wrote: This adds the URI device path option for 'boot add' subcommand. User can add the URI load option for downloading ISO i

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

2023-08-26 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 --- v3: Call TPL Tertiary Program Loader, VPL Verifying Program Loader

Re: [RFC PATCH 5/5] doc: Add a document for non-compliant DT node/property removal

2023-08-26 Thread Heinrich Schuchardt
On 8/26/23 11:06, Sughosh Ganu wrote: Add a document explaining the need for removal of non-compliant devicetree nodes and properties. Also describe in brief, the macros that can be used for this removal. Signed-off-by: Sughosh Ganu Thanks for properly documenting the change. Warning, treate

Re: [RFC PATCH 0/5] Allow for removal of DT nodes and properties

2023-08-26 Thread Heinrich Schuchardt
On 8/26/23 11:06, Sughosh Ganu wrote: Provide a way for removing certain devicetree nodes and/or properties from the devicetree. This is needed to purge certain nodes and properties which may be relevant only in U-Boot. Such nodes and properties are then removed from the devicetree before it is

Re: [RFC PATCH 1/5] dt: Provide a way to remove non-compliant nodes and properties

2023-08-26 Thread Heinrich Schuchardt
On 8/26/23 11:06, Sughosh Ganu wrote: Add a function which is registered to spy for a EVT_FT_FIXUP event, and removes the non upstreamed nodes and properties from the devicetree before it gets passed to the OS. This allows removing entire nodes, or specific properties under nodes from the dev

Re: [RFC PATCH 4/5] bootefi: Call the EVT_FT_FIXUP event handler

2023-08-26 Thread Heinrich Schuchardt
On 8/26/23 11:06, Sughosh Ganu wrote: The bootefi command passes the devicetree to the kernel through the EFI config table. Call the event handlers for fixing the devicetree before jumping into the kernel. This removes any devicetree nodes and/or properties that are specific only to U-Boot, and a

Re: [RFC PATCH 1/5] dt: Provide a way to remove non-compliant nodes and properties

2023-08-26 Thread Heinrich Schuchardt
On 8/26/23 11:06, Sughosh Ganu wrote: Add a function which is registered to spy for a EVT_FT_FIXUP event, and removes the non upstreamed nodes and properties from the devicetree before it gets passed to the OS. This allows removing entire nodes, or specific properties under nodes from the device

Re: [PATCH] pstore: Use root address-cells/size-cells as defaults for reserved-memory

2023-08-26 Thread Heinrich Schuchardt
On 8/26/23 14:16, Andrey Skvortsov wrote: u-boot adds reserve-memory node, if it's missing, with following properties: ``` reserved-memory { #address-cells = <2>; #size-cells = <2>; This defines the size of cells for the children of reserved-memory and and for the rang

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

2023-08-26 Thread Heinrich Schuchardt
On 8/26/23 12:42, Paul Barker wrote: On 26/08/2023 10:13, Heinrich Schuchardt wrote: 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

Re: [PATCH] mach-imx: bootaux: fix building with disabled bootelf

2023-08-26 Thread Heinrich Schuchardt
On 8/26/23 15:24, Oleksandr Suvorov wrote: If CMD_ELF disabled and IMX_BOOTAUX enabled, the u-boot building ends up with a linking error [1]. Select LIB_ELF for all cases when valid_elf_image() is used in the imx_bootaux module. [1] ld: /tmp/ccaF1rpv.ltrans0.ltrans.o: in function `do_bootaux': a

Re: [PATCH 2/3] cmd: fix gpt enumerate

2023-08-26 Thread Heinrich Schuchardt
On 8/26/23 04:04, Simon Glass wrote: Hi Heinrich, On Fri, 25 Aug 2023 at 19:53, Heinrich Schuchardt wrote: 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: [RFC PATCH 1/2] doc: sphinx: Add sphinx-prompt

2023-08-26 Thread Heinrich Schuchardt
Suggested-by: Mattijs Korpershoek Signed-off-by: Nishanth Menon Reviewed-by: Heinrich Schuchardt

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

2023-08-26 Thread Heinrich Schuchardt
@baylibre.com/ Reported-by: Simon Glass Suggested-by: Mattijs Korpershoek Signed-off-by: Nishanth Menon Reviewed-by: Heinrich Schuchardt

[PATCH 1/1] cmd: gpt: fix gpt read

2023-08-27 Thread Heinrich Schuchardt
GPT select CONFIG_PARTITION_UUIDS but we should enable dropping this requirement. Signed-off-by: Heinrich Schuchardt --- cmd/gpt.c | 22 -- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/cmd/gpt.c b/cmd/gpt.c index 964056bd28..d5d525397f 100644 --- a/cmd/gpt.c

Pull request efi-2023-10-rc4

2023-08-27 Thread Heinrich Schuchardt
gpt sub-commands setenv and enumerate * add a parameter check in hash_calculate() Heinrich Schuchardt (5): lib: parameter check in hash_calculate cmd: fix gpt setenv cmd: fix gpt enumerate cmd: let

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

2023-08-27 Thread Heinrich Schuchardt
Am 27. August 2023 16:56:51 MESZ schrieb Alper Nebi Yasak : >On 2023-08-25 22:28 +03:00, 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

Re: [PATCH 1/3] cmd: fix gpt setenv

2023-08-28 Thread Heinrich Schuchardt
On 26.08.23 04:04, Simon Glass wrote: On Fri, 25 Aug 2023 at 19:53, Heinrich Schuchardt wrote: 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

Re: [RFC PATCH 4/5] bootefi: Call the EVT_FT_FIXUP event handler

2023-08-28 Thread Heinrich Schuchardt
On 28.08.23 11:32, Sughosh Ganu wrote: On Sat, 26 Aug 2023 at 15:57, Heinrich Schuchardt wrote: On 8/26/23 11:06, Sughosh Ganu wrote: The bootefi command passes the devicetree to the kernel through the EFI config table. Call the event handlers for fixing the devicetree before jumping into

[PATCH 0/2] doc: event: document all events

2023-08-28 Thread Heinrich Schuchardt
Document all events and add event.h to the HTML documentation. Heinrich Schuchardt (2): dm: event: document all events doc: add events.h to documentation doc/api/event.rst | 9 + doc/api/index.rst | 1 + include/event.h | 84 +-- 3 files

[PATCH 1/2] dm: event: document all events

2023-08-28 Thread Heinrich Schuchardt
Provide Sphinx documentation for all events. Signed-off-by: Heinrich Schuchardt --- include/event.h | 84 +++-- 1 file changed, 82 insertions(+), 2 deletions(-) diff --git a/include/event.h b/include/event.h index bb38ba98e7..6dee4adef2 100644 --- a

[PATCH 2/2] doc: add events.h to documentation

2023-08-28 Thread Heinrich Schuchardt
Add the events.h include to the API documentation. Signed-off-by: Heinrich Schuchardt --- doc/api/event.rst | 9 + doc/api/index.rst | 1 + 2 files changed, 10 insertions(+) create mode 100644 doc/api/event.rst diff --git a/doc/api/event.rst b/doc/api/event.rst new file mode 100644

[PATCH 1/1] bootstd: BOOTDEV_SPI_FLASH requires BOOTSTD

2023-08-28 Thread Heinrich Schuchardt
xes: Fixes: 0c1f4a9fb13a ("bootstd: Add a SPI flash bootdev") Signed-off-by: Heinrich Schuchardt --- drivers/mtd/spi/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mtd/spi/Kconfig b/drivers/mtd/spi/Kconfig index a9617c6c58..d3b1b21a47 100644 --- a/drivers/mtd/spi/Kconfig +

[PATCH v2 0/2] doc: event: document all events

2023-08-28 Thread Heinrich Schuchardt
Document all events and add event.h to the HTML documentation. Heinrich Schuchardt (2): dm: event: document all events doc: add events.h to documentation doc/api/event.rst | 9 + doc/api/index.rst | 1 + include/event.h | 97 --- 3 files

[PATCH v2 2/2] doc: add events.h to documentation

2023-08-28 Thread Heinrich Schuchardt
Add the events.h include to the API documentation. Signed-off-by: Heinrich Schuchardt Reviewed-by: Simon Glass --- v2: no change --- doc/api/event.rst | 9 + doc/api/index.rst | 1 + 2 files changed, 10 insertions(+) create mode 100644 doc/api/event.rst diff --git a/doc/api

[PATCH v2 1/2] dm: event: document all events

2023-08-28 Thread Heinrich Schuchardt
Provide Sphinx documentation for all events. Signed-off-by: Heinrich Schuchardt --- v2: remove non-printing comments from num event_t correct texts according to Simon's suggestions --- include/event.h | 97 ++--- 1 file change

Re: [PATCH v3 2/8] doc: Add gpt command documentation

2023-08-28 Thread Heinrich Schuchardt
On 8/28/23 21:29, Joshua Watt wrote: On Fri, Aug 25, 2023 at 7:57 PM Heinrich Schuchardt wrote: On 8/25/23 21:38, Joshua Watt wrote: Adds initial documentation for the gpt command Thanks a lot for filling the gap. Signed-off-by: Joshua Watt --- doc/usage/cmd/gpt.rst | 141

[PATCH 1/1] video: fix typo in video_sync_all documentation

2023-08-28 Thread Heinrich Schuchardt
%s/there/their/ Signed-off-by: Heinrich Schuchardt --- include/video.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/video.h b/include/video.h index 269915160b..16f7a83f8d 100644 --- a/include/video.h +++ b/include/video.h @@ -260,7 +260,7 @@ int video_fill_part

Re: [PATCH v5 00/13] Add video damage tracking

2023-08-28 Thread Heinrich Schuchardt
On 8/28/23 22:24, Alexander Graf wrote: On 28.08.23 19:54, Simon Glass wrote: Hi Alex, On Wed, 23 Aug 2023 at 02:56, Alexander Graf wrote: Hey Simon, On 22.08.23 20:56, Simon Glass wrote: Hi Alex, On Tue, 22 Aug 2023 at 01:47, Alexander Graf wrote: On 22.08.23 01:03, Simon Glass wrote:

Re: [PATCH v4 1/8] cmd: gpt: Remove confusing help text

2023-08-28 Thread Heinrich Schuchardt
On 8/28/23 23:56, Joshua Watt wrote: This help text appears to be a fragment of the text shown when CONFIG_CMD_GPT_RENAME is enabled, but is confusing so remove it. Signed-off-by: Joshua Watt Reviewed-by: Heinrich Schuchardt --- cmd/gpt.c | 2 -- 1 file changed, 2 deletions(-) diff

Re: [PATCH v4 2/8] doc: Add gpt command documentation

2023-08-28 Thread Heinrich Schuchardt
/On 8/28/23 23:56, Joshua Watt wrote: Adds initial documentation for the gpt command Signed-off-by: Joshua Watt --- doc/usage/cmd/gpt.rst | 184 ++ doc/usage/index.rst | 1 + 2 files changed, 185 insertions(+) create mode 100644 doc/usage/cmd/gp

Re: [PATCH v4 5/8] cmd: gpt: Add command to set bootable flags

2023-08-28 Thread Heinrich Schuchardt
On 8/28/23 23:56, Joshua Watt wrote: Adds a command that can be used to modify the GPT partition table to indicate which partitions should have the bootable flag set Signed-off-by: Joshua Watt --- cmd/gpt.c | 80 +++ doc/usage/cmd/gpt.rst

Re: [PATCH v4 2/8] doc: Add gpt command documentation

2023-08-28 Thread Heinrich Schuchardt
On 8/29/23 00:45, Heinrich Schuchardt wrote: /On 8/28/23 23:56, Joshua Watt wrote: Adds initial documentation for the gpt command Signed-off-by: Joshua Watt ---   doc/usage/cmd/gpt.rst | 184 ++   doc/usage/index.rst   |   1 +   2 files changed, 185

[PATCH 1/1] doc: describe Kconfig fragments

2023-08-28 Thread Heinrich Schuchardt
In the 'Build with GCC' chapter mention Kconfig fragments and show how they are applied. Adjust the formatting in the configuration section to consistently use italics for file names. Signed-off-by: Heinrich Schuchardt --- doc/build/gcc.rst | 35 ++---

Re: [PATCH v1 2/2] doc: board: toradex: verdin-am62: document update u-boot wrapper

2023-08-29 Thread Heinrich Schuchardt
On 8/29/23 00:01, Marcel Ziswiler wrote: From: Marcel Ziswiler Now with the update U-Boot wrappers having been sorted out, document their usage. Signed-off-by: Marcel Ziswiler --- doc/board/toradex/verdin-am62.rst | 14 ++ 1 file changed, 14 insertions(+) diff --git a/doc/bo

Re: [PATCH v1 1/2] doc: board: toradex: minor documentation update

2023-08-29 Thread Heinrich Schuchardt
On 8/29/23 00:01, Marcel Ziswiler wrote: From: Marcel Ziswiler - Update SPDX-License-Identifier from obsolete GPL-2.0+ to GPL-2.0-or-later. - Add links to product websites of SoM and carrier board where missing. - Add information about update U-Boot wrapper where missing. - Add sectionauthor

Re: [RFX PATCH 0/9] Universal Payload initial series

2023-08-30 Thread Heinrich Schuchardt
Am 31. August 2023 01:28:37 MESZ schrieb Simon Glass : >Universal Payload (UPL) is an upcoming Industry Standard for firmware >components. UPL is designed to improve interoperability within the >firmware industry, allowing mixing and matching of projects with less >friction and fewer project-spe

Re: [RFC PATCH 9/9] upl: Add initial documentation

2023-08-30 Thread Heinrich Schuchardt
Am 31. August 2023 01:29:23 MESZ schrieb Simon Glass : >Add some placeholder documentation to explain the basic concept. Once the >spec is published, more can be added and this series applied. > >Signed-off-by: Simon Glass >--- > > doc/usage/index.rst | 1 + > doc/usage/upl.rst | 27 +

Re: [PATCH v2 03/19] video: Hide the BMP options

2023-08-30 Thread Heinrich Schuchardt
Am 31. August 2023 05:52:57 MESZ schrieb Simon Glass : >These appear prominently in the main menu at present. However they are >selected when needed so do not need to be visible. > >Make them hidden. > >Signed-off-by: Simon Glass >--- > >(no changes since v1) > > common/Kconfig | 4 ++-- > 1 fil

Re: [PATCH v2 02/14] lmb: Rename interior piece to area

2023-08-31 Thread Heinrich Schuchardt
On 9/1/23 03:13, Simon Glass wrote: The lmb data structures use the word 'region' to describe the region in which the allocations happen, as well as the individual allocations in that region. The interior structure is called lmb_property but is described as a region. This is quite confusing. One

Re: [PATCH v2 14/14] fs: Fix a confusing error about overlapping regions

2023-08-31 Thread Heinrich Schuchardt
On 9/1/23 03:13, Simon Glass wrote: When lmb runs out of space in its internal tables, it gives errors on every fs load operation. This is horribly confusing, as the poor user tries different memory regions one at a time. Use the updated API to check the error code and print a helpful message. A

[PATCH v2 0/4] cmd: gpt: fix gpt read

2023-09-02 Thread Heinrich Schuchardt
f the size of the partition table descriptor. Use accessor for type_guid field. *** BLURB HERE *** Heinrich Schuchardt (4): part: rename disk_partition_type_uuid() cmd: gpt: use UUID accessor more consistently cmd: gpt: fix calc_parts_list_len() cmd: gpt: fix gpt read cmd/gpt.c

[PATCH v2 1/4] part: rename disk_partition_type_uuid()

2023-09-02 Thread Heinrich Schuchardt
Rename disk_partition_type_uuid to disk_partition_type_guid. Provide function descriptions for the getter and setter. Fixes: bcd645428c34 ("part: Add accessors for struct disk_partition type_uuid") Signed-off-by: Heinrich Schuchardt --- v2: new patch --- disk/part_

[PATCH v2 2/4] cmd: gpt: use UUID accessor more consistently

2023-09-02 Thread Heinrich Schuchardt
the setter. print_gpt_info() and create_gpt_partitions_list() are further functions where we should use the getter. Fixes: c5f1d005f517 ("part: Add accessors for struct disk_partition uuid") Signed-off-by: Heinrich Schuchardt --- v2: new patch --- cmd/gpt.c | 23 ---

[PATCH v2 4/4] cmd: gpt: fix gpt read

2023-09-02 Thread Heinrich Schuchardt
To partition a block device the partition type GUIDs are needed but 'gpt read' does not provide these. Add the missing parts. Signed-off-by: Heinrich Schuchardt --- v2: use accessor for type_guid field --- cmd/gpt.c | 16 +++- 1 file changed, 15 insertions(+),

[PATCH v2 3/4] cmd: gpt: fix calc_parts_list_len()

2023-09-02 Thread Heinrich Schuchardt
'MiB' postfix but a '0x' prefix. * The uuid field is only needed if configured. Fixes: 2fcaa413b3f6 ("gpt: harden set_gpt_info() against non NULL-terminated strings") Signed-off-by: Heinrich Schuchardt --- v2: new patch --- cmd/gpt.c | 33 ++

[NEXT] Pull request doc-next

2023-09-02 Thread Heinrich Schuchardt
Dear Tom, The following changes since commit b8b512a45358d50bce2e17b5941c5e39b52a0594: Merge branch '2023-08-31-replace-more-init-hooks-with-events' into next (2023-08-31 15:10:42 -0400) are available in the Git repository at: https://source.denx.de/u-boot/custodians/u-boot-efi.git tags/do

[MASTER] Pull request doc-2023-10-rc4-2

2023-09-02 Thread Heinrich Schuchardt
pt command * Add events to HTML documentation * Update Toradex documentation ---- Heinrich Schuchardt (3): dm: event: document all events doc: add events.h to documentation video: fix typo in video_sync_all documentation J

Re: [PATCH 2/2] risc-v: implement DBCN based debug console

2023-09-04 Thread Heinrich Schuchardt
On 9/4/23 11:30, Chanho Park wrote: Hi, -Original Message- From: U-Boot On Behalf Of Heinrich Schuchardt Sent: Saturday, August 19, 2023 10:13 PM To: Rick Chen ; Leo Cc: Bin Meng ; Anup Patel ; u-boot@lists.denx.de; Heinrich Schuchardt Subject: [PATCH 2/2] risc-v: implement DBCN

[PATCH v2 0/2] risc-v: implement DBCN based debug console

2023-09-04 Thread Heinrich Schuchardt
Currently we only offer an SBI based debug UART for SBI v0.1. With OpenSBI 1.3 the Debug Console Extension (DBCN) has become available. This allows us to implement a debug UART in a device independent manor. v2: In the driver check that we are in S-mode. Heinrich Schuchardt (2): risc-v

[PATCH v2 1/2] risc-v: implement DBCN write byte

2023-09-04 Thread Heinrich Schuchardt
The DBCN extension provides a Console Write Byte call. Implement function sbi_dbcn_write_byte to invoke it. Signed-off-by: Heinrich Schuchardt Reviewed-by: Leo Yu-Chi Liang --- v2: no change --- arch/riscv/include/asm/sbi.h | 1 + arch/riscv/lib/sbi.c | 16 2

[PATCH v2 2/2] risc-v: implement DBCN based debug console

2023-09-04 Thread Heinrich Schuchardt
Use the DBCN SBI extension to implement a debug console. Make it the default for S-mode RISC-V. Signed-off-by: Heinrich Schuchardt --- v2: check that we are in S-mode --- drivers/serial/Kconfig | 5 - drivers/serial/serial_sbi.c | 20 2 files changed, 24

Re: [PATCH v2 1/4] part: rename disk_partition_type_uuid()

2023-09-04 Thread Heinrich Schuchardt
On 9/4/23 18:48, Simon Glass wrote: Hi Heinrich, On Sat, 2 Sept 2023 at 01:34, Heinrich Schuchardt wrote: Rename disk_partition_type_uuid to disk_partition_type_guid. Provide function descriptions for the getter and setter. Fixes: bcd645428c34 ("part: Add accessors for s

Re: [PATCH v2 3/4] cmd: gpt: fix calc_parts_list_len()

2023-09-04 Thread Heinrich Schuchardt
On 9/4/23 18:48, Simon Glass wrote: Hi Heinrich, On Sat, 2 Sept 2023 at 01:34, Heinrich Schuchardt wrote: * Avoid incrementing by moving comma into strlen("uuid_disk=,") and considering NUL byte. * Appending a UUID only adds UUID_STR_LEN bytes. Don't count the termina

Re: [PATCH v1 2/2] doc: board: starfive: Add more info about supported driver

2023-09-04 Thread Heinrich Schuchardt
On 8/22/23 16:33, Shengyu Qu wrote: Since PLDA PCIE driver is added and VL805 support is enabled in defconfig for Starfive Visionfive 2, modify the document to keep consistent. Signed-off-by: Shengyu Qu --- doc/board/starfive/visionfive2.rst | 2 ++ 1 file changed, 2 insertions(+) diff --gi

Re: [PATCH 1/2] riscv: Rework riscv_cpu_probe for current event macros

2023-09-05 Thread Heinrich Schuchardt
macro "EVENT_SPY_SIMPLE". Is there anything that should be added? Or did I miss anything? This patch is only applicable to origin/next. The definition there is in include/event.h:311. Reviewed-by: Heinrich Schuchardt

[PATCH 0/2] riscv: starfive: generate u-boot-spl.bin.normal.out

2023-09-06 Thread Heinrich Schuchardt
prefixed U-Boot SPL file u-boot-spl.bin.normal.out. Heinrich Schuchardt (2): tools: mkimage: Add StarFive SPL image support riscv: dts: starfive: generate u-boot-spl.bin.normal.out .../jh7110-starfive-visionfive-2-u-boot.dtsi | 10 + boot/image.c | 1 +

[PATCH 1/2] tools: mkimage: Add StarFive SPL image support

2023-09-06 Thread Heinrich Schuchardt
The StarFive JH7110 base boards require a header to be prefixed to the SPL binary image. This has previously done with a vendor tool 'spl_tool' published under a GPL-2-or-later license. Integrate this capability into mkimage. Signed-off-by: Heinrich Schuchardt --- boot/image.

[PATCH 2/2] riscv: dts: starfive: generate u-boot-spl.bin.normal.out

2023-09-06 Thread Heinrich Schuchardt
normal.out. Update the documentation. Signed-off-by: Heinrich Schuchardt --- .../dts/jh7110-starfive-visionfive-2-u-boot.dtsi | 10 ++ doc/board/starfive/visionfive2.rst | 14 ++ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/arch/riscv/dts/jh711

Re: [PATCH 1/2] tools: mkimage: Add StarFive SPL image support

2023-09-06 Thread Heinrich Schuchardt
On 06.09.23 12:47, Chanho Park wrote: Hi, -Original Message- From: Heinrich Schuchardt Sent: Wednesday, September 6, 2023 7:08 PM To: Rick Chen ; Leo ; Yanhong Wang Cc: Simon Glass ; Marc Kleine-Budde ; Chanho Park ; u-boot@lists.denx.de; Heinrich Schuchardt Subject: [PATCH 1/2

[PATCH v2 0/2] riscv: starfive: generate u-boot-spl.bin.normal.out

2023-09-06 Thread Heinrich Schuchardt
prefixed U-Boot SPL file u-boot-spl.bin.normal.out. v2: Fix a typo in a comment in tools/sfspl.c Add Tested-by credits Heinrich Schuchardt (2): tools: mkimage: Add StarFive SPL image support riscv: dts: starfive: generate u-boot-spl.bin.normal.out .../jh7110-starfive-visi

[PATCH v2 1/2] tools: mkimage: Add StarFive SPL image support

2023-09-06 Thread Heinrich Schuchardt
The StarFive JH7110 base boards require a header to be prefixed to the SPL binary image. This has previously done with a vendor tool 'spl_tool' published under a GPL-2-or-later license. Integrate this capability into mkimage. Signed-off-by: Heinrich Schuchardt Tested-by: Chanho Pa

[PATCH v2 2/2] riscv: dts: starfive: generate u-boot-spl.bin.normal.out

2023-09-06 Thread Heinrich Schuchardt
normal.out. Update the documentation. Signed-off-by: Heinrich Schuchardt Tested-by: Chanho Park --- v2: Fix a typo in a comment in tools/sfspl.c Add Tested-by credit --- .../dts/jh7110-starfive-visionfive-2-u-boot.dtsi | 10 ++ doc/board/starfive/visionfive2.rst

Re: [PATCH v5 09/11] spl: Convert semihosting to spl_load

2023-09-06 Thread Heinrich Schuchardt
On 03.08.23 10:36, Xavier Drudis Ferran wrote: El Mon, Jul 31, 2023 at 06:43:01PM -0400, Sean Anderson deia: This converts the semihosting load method to use spl_load. As a result, it also adds support for LOAD_FIT_FULL and IMX images. Signed-off-by: Sean Anderson --- Changes in v5: - Rework

[PATCH 1/1] spl: undefined return value in spl_blk_load_image

2023-09-06 Thread Heinrich Schuchardt
spl_blk_load_image() should not return an uninitialized value if blk_get_devnum_by_uclass_id() fails. Fixes: 8ce6a2e17577 ("spl: blk: Support loading images from fs") Reported-by: Xavier Drudis Ferran Signed-off-by: Heinrich Schuchardt --- common/spl/spl_blk_fs.c | 2 +- 1 file

Re: [PATCH v3 3/3] timer: riscv_aclint_timer: add timer_get_boot_us for BOOTSTAGE

2023-09-06 Thread Heinrich Schuchardt
On 06.09.23 07:18, Chanho Park wrote: timer_get_boot_us function is required to record the boot stages as us-based timestamp. To get a micro-second time from a timer tick, this converts the formula like below to avoid zero result of (tick / rate) part. From: time(us) = (tick / rate) * 1000

Re: [RFC PATCH 0/5] Allow for removal of DT nodes and properties

2023-09-06 Thread Heinrich Schuchardt
On 9/7/23 00:04, Tom Rini wrote: On Wed, Sep 06, 2023 at 09:21:39AM -0500, Rob Herring wrote: On Mon, Aug 28, 2023 at 04:09:29PM -0600, Simon Glass wrote: Hi Peter, On Mon, 28 Aug 2023 at 14:29, Peter Robinson wrote: On Mon, Aug 28, 2023 at 6:54 PM Simon Glass wrote: Hi Peter, On Mon, 2

[PATCH 1/1] timer: document the unit of the timer rate

2023-09-07 Thread Heinrich Schuchardt
To avoid confusion document that timer_dev_priv.clock_rate and timer_get_rate() yield the timer rate in hertz. Signed-off-by: Heinrich Schuchardt --- include/timer.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/timer.h b/include/timer.h index 311ce6b2c3

[PATCH 1/1] riscv: set fdtfile on VisionFive 2

2023-09-07 Thread Heinrich Schuchardt
: Heinrich Schuchardt --- arch/riscv/Kconfig| 1 + .../visionfive2/starfive_visionfive2.c| 43 ++- 2 files changed, 42 insertions(+), 2 deletions(-) diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig index 6771d8d919..1c62c2345b 100644 --- a/arch

[PATCH 1/1] configs: NVMe/USB target boot devices on VisionFive 2

2023-09-07 Thread Heinrich Schuchardt
d NVME/USB stuff for Starfive Visionfive 2 https://lore.kernel.org/u-boot/ty3p286mb2611c9ad6e5bb3756a959e8998...@ty3p286mb2611.jpnp286.prod.outlook.com/ Signed-off-by: Heinrich Schuchardt --- include/configs/starfive-visionfive2.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/inclu

[PATCH 1/1] test: build dependency for event unit tests

2023-09-07 Thread Heinrich Schuchardt
The test_event_base and test_event_probe unit tests use function event_register() which depends on CONFIG_EVENT_DYNAMIC=y. Fixes: 7d02645fe4c0 ("event: Add a simple test") Signed-off-by: Heinrich Schuchardt --- test/common/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletio

Re: [PATCH 1/7] rng: stm32: rename STM32 RNG driver

2023-09-08 Thread Heinrich Schuchardt
On 9/7/23 18:21, Gatien Chevallier wrote: Rename the RNG driver as it is usable by other STM32 platforms than the STM32MP1x ones. Rename CONFIG_RNG_STM32MP1 to CONFIG_RNG_STM32 Signed-off-by: Gatien Chevallier LGTM Reviewed-by: Heinrich Schuchardt

Re: [PATCH 2/7] configs: default activate CONFIG_RNG_STM32 for STM32MP13x platforms

2023-09-08 Thread Heinrich Schuchardt
On 9/7/23 18:21, Gatien Chevallier wrote: Default embed this configuration. If OP-TEE PTA RNG is present as well, the priority will be given to it instead of the U-Boot driver. Are you relying here on drivers being probed in alphabetical sequence? Best regards Heinrich Signed-off-by: Gatie

Re: [PATCH 3/7] rng: stm32: Implement configurable RNG clock error detection

2023-09-08 Thread Heinrich Schuchardt
On 9/7/23 18:21, Gatien Chevallier wrote: RNG clock error detection is now enabled if the "clock-error-detect" property is set in the device tree. Signed-off-by: Gatien Chevallier --- drivers/rng/stm32_rng.c | 22 +- 1 file changed, 17 insertions(+), 5 deletions(-) diff

Re: [PATCH] doc: qemu: switch swtpm instruction to 'tpm autostart'

2023-09-08 Thread Heinrich Schuchardt
On 6/16/23 10:42, Ilias Apalodimas wrote: We don't have a documentation page for our TPM subsystem. I plan on sending one in the future, but in the meantime document the new 'tpm autostart' command in the QEMU instructions while using a SWTPM Signed-off-by: Ilias Apalodimas Reviewed-by: Si

Re: [PATCH v1] doc: Update path to source_file_format.rst

2023-09-08 Thread Heinrich Schuchardt
On 9/7/23 22:50, Joao Marcos Costa wrote: Previously, the file extension was .txt, and it referenced the uImage.FIT directory, which no longer exists. This commit updates the path accordingly. Signed-off-by: Joao Marcos Costa --- doc/usage/fit/howto.rst | 2 +- 1 file changed, 1 insertion(+)

Re: [PATCH] tpm: Fix autostart for TPM1.2 devices

2023-09-08 Thread Heinrich Schuchardt
on 'tpm init' Fixes: commit e663b2ff4ba2("tpm: Add 'tpm autostart' shell command") Signed-off-by: Ilias Apalodimas Reviewed-by: Heinrich Schuchardt --- cmd/tpm-v1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/tpm-v1.c b/cmd/tpm-v1.c ind

Pull request doc-2023-10-rc5

2023-09-08 Thread Heinrich Schuchardt
n value in spl_blk_load_image ---- Heinrich Schuchardt (2): spl: undefined return value in spl_blk_load_image timer: document the unit of the timer rate Ilias Apalodimas (2): tpm: Fix autostart for TPM1.2 devices

Re: [PATCH] binman: doc: fix reference tag placement for Logging section

2023-09-09 Thread Heinrich Schuchardt
Massimo Pegorer Reviewed-by: Heinrich Schuchardt

Re: [PATCH v3 16/16] doc: board: ti: k3: Add J784S4 EVM and AM69 SK documentation

2023-09-12 Thread Heinrich Schuchardt
Am 12. September 2023 14:50:35 MESZ schrieb Marcel Ziswiler : >On Fri, 2023-09-08 at 16:35 +0530, Apurva Nandan wrote: >> TI K3 J784S4 and AM69 SK are new additions to the K3 SoC family. >> Add documentation about the J784S4 EVM and AM69 SK. >> >> Signed-off-by: Dasnavis Sabiya >> Signed-off-

Re: [PATCH] riscv: enable multi-range memory layout

2023-09-12 Thread Heinrich Schuchardt
Am 13. September 2023 04:23:14 MESZ schrieb "Wu, Fei" : >On 9/5/2023 6:09 PM, Fei Wu wrote: >> In order to enable PCIe passthrough on qemu riscv, the physical memory >> range between 3GB and 4GB is reserved. Therefore if guest has 4GB ram, >> two ranges are created as [2G, 3G) and [4G, 7G), curr

Re: [PATCH v2] riscv: enable multi-range memory layout

2023-09-13 Thread Heinrich Schuchardt
Am 14. September 2023 07:30:55 MESZ schrieb Fei Wu : >In order to enable PCIe passthrough on qemu riscv, the physical memory >range between 3GB and 4GB is reserved. Therefore if guest has 4GB ram, >two ranges are created as [2G, 3G) and [4G, 7G), currently u-boot sets >ram_top to 4G - 1 if the g

Re: [PATCH v2] riscv: enable multi-range memory layout

2023-09-14 Thread Heinrich Schuchardt
On 9/14/23 08:48, Wu, Fei wrote: On 9/14/2023 2:05 PM, Heinrich Schuchardt wrote: Am 14. September 2023 07:30:55 MESZ schrieb Fei Wu : In order to enable PCIe passthrough on qemu riscv, the physical memory range between 3GB and 4GB is reserved. Therefore if guest has 4GB ram, two ranges are

Re: [PATCH v3 7/7] doc: add new section to build/tools

2023-09-14 Thread Heinrich Schuchardt
On 9/2/23 16:53, Joao Marcos Costa wrote: Add 'Integration with IDEs' section. For now, this section is mostly a reference to the documentation of gen_compile_commands, also in doc/build, but it can be futurely used as a guide for other IDE-friendly features. Signed-off-by: Joao Marcos Costa -

Re: [PATCH v3 6/7] doc: add documentation for gen_compile_commands.py

2023-09-14 Thread Heinrich Schuchardt
On 9/2/23 16:53, Joao Marcos Costa wrote: This documentation briefly explains what is a compilation database, and how to use the script to generate one. This is not a portage, as there was no original documentation in the Linux sources. Acknowledge the documentation in the script's header and i

Re: [PATCH v2] riscv: enable multi-range memory layout

2023-09-14 Thread Heinrich Schuchardt
On 9/14/23 09:42, Wu, Fei wrote: On 9/14/2023 3:20 PM, Heinrich Schuchardt wrote: On 9/14/23 08:48, Wu, Fei wrote: On 9/14/2023 2:05 PM, Heinrich Schuchardt wrote: Am 14. September 2023 07:30:55 MESZ schrieb Fei Wu : In order to enable PCIe passthrough on qemu riscv, the physical memory

Re: [PATCH v2] riscv: enable multi-range memory layout

2023-09-14 Thread Heinrich Schuchardt
On 9/14/23 12:21, Heinrich Schuchardt wrote: On 9/14/23 09:42, Wu, Fei wrote: On 9/14/2023 3:20 PM, Heinrich Schuchardt wrote: With which version of QEMU were you able to use PCI pass through? Please try this: base: ccb86f079a9e patch: https://lore.kernel.org/all

Re: [PATCH v1 0/2] SPL EBBR - EFI System Partition support

2023-09-14 Thread Heinrich Schuchardt
On 14.09.23 12:08, Mayuresh Chitale wrote: This series adds support to locate an EFI System Partition on a disk and boot the next stage from such a parition if found. The next stage image is expected to be under the FIRMWARE directory as described in the EBBR specification [1]. Also update the sp

Re: [PATCH v2 4/6] efi_loader: support boot from URI device path

2023-09-14 Thread Heinrich Schuchardt
On 01.09.23 12:25, 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 boo

Re: [PATCH v2 27/27] qconfig: Update the documentation

2023-09-14 Thread Heinrich Schuchardt
Am 15. September 2023 02:22:29 MESZ schrieb Simon Glass : >Update qconfig's documentation to better reflect its new purpose in life. > >Signed-off-by: Simon Glass >--- > >Changes in v2: >- Reinstate the -C option > > doc/develop/index.rst | 2 +- > doc/develop/{moveconfig

Re: [PATCH v2 2/2] riscv: dts: starfive: generate u-boot-spl.bin.normal.out

2023-09-16 Thread Heinrich Schuchardt
On 9/17/23 00:19, Jonas Karlman wrote: On 2023-09-06 14:00, Heinrich Schuchardt wrote: The StarFive VisionFive 2 board cannot load spl/u-boot-spl.bin but needs a prefixed header. We have referring to a vendor tool (spl_tool) for this task. 'mkimage -T sfspl' can generate the pre

Pull request doc-2023-10-rc5-2

2023-09-16 Thread Heinrich Schuchardt
s: * test: fix build dependency for event unit tests ---- Heinrich Schuchardt (1): test: build dependency for event unit tests Jaewon Jung (1): doc: delete unused values kernel command line Massimo Pegorer (2):

[PATCH v3 0/2] riscv: starfive: generate u-boot-spl.bin.normal.out

2023-09-17 Thread Heinrich Schuchardt
prefixed U-Boot SPL file u-boot-spl.bin.normal.out. v3: Rename binman node for SPL image. Use u-boot-spl instead of blob as mkimage subnode. v2: Fix a typo in a comment in tools/sfspl.c Add Tested-by credits Heinrich Schuchardt (2): tools: mkimage: Add StarFive

[PATCH v3 1/2] tools: mkimage: Add StarFive SPL image support

2023-09-17 Thread Heinrich Schuchardt
The StarFive JH7110 base boards require a header to be prefixed to the SPL binary image. This has previously done with a vendor tool 'spl_tool' published under a GPL-2-or-later license. Integrate this capability into mkimage. Signed-off-by: Heinrich Schuchardt Tested-by: Chanho Park

[PATCH v3 2/2] riscv: dts: starfive: generate u-boot-spl.bin.normal.out

2023-09-17 Thread Heinrich Schuchardt
normal.out. Update the documentation. Signed-off-by: Heinrich Schuchardt --- v3: Rename binman node for SPL image. Use u-boot-spl instead of blob as mkimage subnode. v2: Fix a typo in a comment in tools/sfspl.c Add Tested-by credits --- .../dts/jh7110-starfive-visi

[PATCH 1/1] efi_selftest: supply EFI binary for ExitBootServices

2022-09-07 Thread Heinrich Schuchardt
Calling ExitBootServices() after executing 'connect -r' in the EFI shell has previously caused errors. Provide an EFI binary ebstest.efi that calls ExitBootServices() for testing. Signed-off-by: Heinrich Schuchardt --- I just need the binary currently for testing. Probably we

Re: [PATCH] [RFC] lib: efi_loader: don't delete invalid handles

2022-09-07 Thread Heinrich Schuchardt
On 9/7/22 23:10, Simon Glass wrote: Hi Etienne, On Wed, 7 Sept 2022 at 02:20, Etienne Carriere wrote: Changes efi_delete_handle() to not free EFI handles that are not related to EFI objects. This change tries to resolved an issue seen since U-Boot v2022.07 in which EFI ExitBootService attem

Re: [PATCH] [RFC] lib: efi_loader: don't delete invalid handles

2022-09-07 Thread Heinrich Schuchardt
On 9/7/22 10:20, Etienne Carriere wrote: Changes efi_delete_handle() to not free EFI handles that are not related to EFI objects. This change tries to resolved an issue seen since U-Boot v2022.07 in which EFI ExitBootService attempts to release some EFI handles twice. The issue was seen bootin

[PATCH v2 1/1] lib: efi_loader: don't delete invalid handles

2022-09-07 Thread Heinrich Schuchardt
eviewed-by: Heinrich Schuchardt --- v2: add log message remove superfluous NULL test tweak commit message --- lib/efi_loader/efi_boottime.c | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/lib/efi_loader/efi_boottime.c b/lib/efi_loader/efi_bootti

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