On 7/21/24 23:27, E Shattow wrote:
P.S. my suggestion below
On Fri, Jul 19, 2024 at 5:06 PM E Shattow wrote:
On Fri, Jul 19, 2024 at 4:12 PM Heinrich Schuchardt
wrote:
For the Milk-V Mars CM (lite) we have only been copying sizeof(void *)
bytes to the compatible property instead
The JH7110 SoC uses a GPIO for card detect.
* In the of_to_plat function check if a cd-gpios definition exists and
request the GPIO.
* In the getcd function return the GPIO value in this case.
Reported-by: Conor Dooley
Signed-off-by: Heinrich Schuchardt
---
v2:
Check that DM_GPIO
For the Milk-V Mars CM (lite) we have only been copying sizeof(void *)
bytes to the compatible property instead of the whole string list.
Fixes: de3229599d4f ("board: add support for Milk-V Mars CM")
Reported-by: E Shattow
Signed-off-by: Heinrich Schuchardt
---
board/starfive/visionf
The dictionary html_context is not passed into conf.py but must be created
there. See
https://dev.readthedocs.io/en/latest/design/theme-context.html#customizing-the-context
Fixes: df86796028df ("doc: enable ReadTheDocs addon management")
Signed-off-by: Heinrich Schuchardt
---
doc/c
ing distro device-path for media devices
* Fix typo in EFI_RT_VOLATILE_STORE description
Other:
* MAINTAINERS: Rename BOOTDEVICE
----
Heinrich Schuchardt (3):
efi_loader: find distro device-path for media devices
doc: move o
On 13.07.24 09:00, Simon Glass wrote:
Universal Payload provides a standard way of handing off control between
two firmware phases. Add support for reading the handoff information into
a structure.
Signed-off-by: Simon Glass
---
(no changes since v1)
MAINTAINERS | 7 +
A system has to support booting via the boot manager to be EBBR compliant.
See the reference to variables Boot in the specification.
Signed-off-by: Heinrich Schuchardt
---
lib/efi_loader/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/lib/efi_loader/Kconfig b/lib/efi_loader
On 16.07.24 21:08, Tom Rini wrote:
On Sat, Jul 13, 2024 at 09:40:17PM +0200, Heinrich Schuchardt wrote:
Am 13. Juli 2024 10:12:50 MESZ schrieb Mark Kettenis :
From: Simon Glass
Date: Sat, 13 Jul 2024 08:00:34 +0100
Universal Payload (UPL) is an Industry Standard for firmware
components[1
All Kconfig options that depend on CONFIG_CMD_DHCP6 should immediately
follow it.
Signed-off-by: Heinrich Schuchardt
---
cmd/Kconfig | 34 +-
1 file changed, 17 insertions(+), 17 deletions(-)
diff --git a/cmd/Kconfig b/cmd/Kconfig
index 0cf0d8ad8ab..323e473cd64
On 7/16/24 22:01, Tom Rini wrote:
On Tue, Jul 16, 2024 at 09:35:18PM +0200, Heinrich Schuchardt wrote:
On 7/16/24 21:13, Tom Rini wrote:
On Thu, Jun 20, 2024 at 04:35:39PM -0500, Nishanth Menon wrote:
Hi Team,
We have briefly discussed this topic on IRC[1]. I would like to
propose a new boot
On 7/16/24 21:13, Tom Rini wrote:
On Thu, Jun 20, 2024 at 04:35:39PM -0500, Nishanth Menon wrote:
Hi Team,
We have briefly discussed this topic on IRC[1]. I would like to
propose a new boot-firmware repository similar to the Linux-firmware
repository under the aegis of u-boot hosting.
In
/addons-by-default/
Signed-off-by: Heinrich Schuchardt
---
doc/conf.py | 6 ++
1 file changed, 6 insertions(+)
diff --git a/doc/conf.py b/doc/conf.py
index c9138a5a5d4..e79134cc3d7 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -21,6 +21,12 @@ from subprocess import check_output
# Get Sphinx
CONFIG_BOOTMETH_QFW to decide if the QFW boot
method shall be provided.
Signed-off-by: Heinrich Schuchardt
---
v2:
default y on all architectures
---
boot/Kconfig | 9 +
boot/Makefile | 2 +-
2 files changed, 10 insertions(+), 1 deletion(-)
diff --git a/boot/Kconfig b/boot/Kconfig
index
On 7/16/24 09:04, Simon Glass wrote:
Hi Heinrich,
On Tue, 16 Jul 2024 at 03:40, Heinrich Schuchardt
wrote:
U-Boot is often used conjunction with QEMU to boot via EFI or syslinux.
Here the QFW boot method is not needed.
At least for qemu-riscv64_smode_defconfig the kernel parameter is used
On 7/15/24 21:33, Maxim Moskalets wrote:
Signed-off-by: Maxim Moskalets
Please, always provide a commit message. Otherwise looks good to me.
This series suggested to eliminate source_file_format.rst:
https://patchwork.ozlabs.org/project/uboot/list/?series=414308
Best regards
Heinrich
CONFIG_BOOTMETH_QFW to decide if the QFW boot
method shall be provided.
Disable the QFW boot method for all architectures but the sandbox by
default.
Signed-off-by: Heinrich Schuchardt
---
boot/Kconfig | 9 +
boot/Makefile | 2 +-
2 files changed, 10 insertions(+), 1 deletion(-)
diff --git
On 7/15/24 12:13, Simon Glass wrote:
Fix a typo in the comment and add one to the EFI driver too.
Signed-off-by: Simon Glass
Reviewed-by: Heinrich Schuchardt
---
boot/bootmeth_efi.c | 1 +
boot/bootmeth_extlinux.c | 2 +-
boot/bootmeth_script.c | 2 +-
3 files changed, 3
On 7/15/24 12:13, Simon Glass wrote:
Link to this page to make it easier to find the VBE docs.
Signed-off-by: Simon Glass
---
doc/develop/bootstd/overview.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/doc/develop/bootstd/overview.rst
On 7/15/24 12:13, Simon Glass wrote:
Fix a minor indentation / whitespace problem in a comment.
Signed-off-by: Simon Glass
Reviewed-by: Heinrich Schuchardt
---
boot/bootmeth_efi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/boot/bootmeth_efi.c b/boot
On 7/15/24 12:13, Simon Glass wrote:
Add documentation for the cros bootmeth.
%s/bootmeth/boot method/
throughout the patch.
Signed-off-by: Simon Glass
---
doc/develop/bootstd/cros.rst | 33
doc/develop/bootstd/index.rst| 1 +
On 7/15/24 12:13, Simon Glass wrote:
Add documentation for the qfw bootmeth.
%s/bootmeth/boot method/
Fix up the compatible string to drop the 'extlinux' part, which is not
relevant to this bootmeth.
Signed-off-by: Simon Glass
---
boot/bootmeth_qfw.c | 2 +-
On 7/15/24 12:13, Simon Glass wrote:
Add documentation for the pxe bootmeth.
Signed-off-by: Simon Glass
---
doc/develop/bootstd/index.rst| 1 +
doc/develop/bootstd/overview.rst | 2 +-
doc/develop/bootstd/pxelinux.rst | 27 +++
3 files changed, 29
On 7/15/24 12:13, Simon Glass wrote:
Add documentation for the extlinux bootmeth.
Signed-off-by: Simon Glass
---
doc/develop/bootstd/extlinux.rst | 27 +++
doc/develop/bootstd/index.rst| 1 +
doc/develop/bootstd/overview.rst | 2 +-
3 files changed, 29
On 7/15/24 12:13, Simon Glass wrote:
Before adding more files, move the bootstd docs into a new directory,
with an index.
Signed-off-by: Simon Glass
---
MAINTAINERS | 2 +-
doc/board/starfive/milk-v_mars_cm.rst | 2 +-
include/nvmxip.h is a global and not a local include.
So we should use angle brackets.
Fixes: dc3abd8006c5 ("nvmxip: move header to include")
Signed-off-by: Heinrich Schuchardt
---
drivers/mtd/nvmxip/nvmxip-uclass.c | 2 +-
drivers/mtd/nvmxip/nvmxip.c| 2 +-
drivers/
On 7/14/24 17:08, Kongyang Liu wrote:
Add basic support for SpacemiT's Banana Pi F3 board
Signed-off-by: Kongyang Liu
---
arch/riscv/Kconfig | 5 +
arch/riscv/cpu/k1/Kconfig | 18 ++
arch/riscv/cpu/k1/Makefile | 6 +
On 7/14/24 17:08, Kongyang Liu wrote:
Add document for Banana Pi F3 board which based on SpacemiT's K1 SoC.
Signed-off-by: Kongyang Liu
---
doc/board/index.rst| 1 +
doc/board/spacemit/bananapi_f3.rst | 78 ++
doc/board/spacemit/index.rst
Heinrich Schuchardt (5):
efi_loader: print device-tree in dtbdump.efi
rtc: fix the description of the Goldfish RTC driver
doc: fix heading level of itest examples
env: ENV_IS_IN_EXT4 should enable
Move the information about out-of-tree building
from README to the generated HTML documentation.
Signed-off-by: Heinrich Schuchardt
---
README| 20
doc/build/gcc.rst | 28
2 files changed, 28 insertions(+), 20 deletions(-)
diff
-series/blob/8cc5ee7df1358092f77f43aa0c9661883473e5af/patches-aosp/glodroid/kernel/common-android14-6.1-lts/0001-GLODROID-Allow-placing-primary-GPT-to-2MiB-offset-to.patch
пн, 10 черв. 2024 р. о 15:22 Heinrich Schuchardt пише:
On 19.05.24 17:35, Roman Stratiienko wrote:
Use
Am 13. Juli 2024 10:12:50 MESZ schrieb Mark Kettenis :
>> From: Simon Glass
>> Date: Sat, 13 Jul 2024 08:00:34 +0100
>>
>> Universal Payload (UPL) is an Industry Standard for firmware
>> components[1].
>
>I think you have some trouble understanding the concept of industry
>standard ;). I
Signed-off-by: Heinrich Schuchardt
---
include/efi_loader.h | 2 +-
lib/efi_loader/efi_bootmgr.c | 2 +-
lib/efi_loader/efi_fdt.c | 33 +++--
3 files changed, 21 insertions(+), 16 deletions(-)
diff --git a/include/efi_loader.h b/include/efi_loader.h
index 6
On 12.07.24 11:51, Richard Weinberger wrote:
Am Freitag, 12. Juli 2024, 11:46:08 CEST schrieb 'Heinrich Schuchardt' via
upstream:
Am 12. Juli 2024 10:24:54 MESZ schrieb Richard Weinberger :
Make sure that tm_mday and tm_mon are within the expected
range. Upper layers such as rtc_calc_weekday
On 12.07.24 13:14, Richard Weinberger wrote:
Am Freitag, 12. Juli 2024, 13:10:12 CEST schrieb 'Heinrich Schuchardt' via
upstream:
On 02.07.24 21:42, Richard Weinberger wrote:
While zalloc() takes a size_t type, adding 1 to the le32 variable
will overflow.
A carefully crafted ext4 filesystem
On 02.07.24 21:42, Richard Weinberger wrote:
The zalloc() function suffers from two problems.
1. If memalign() fails it will return NULL and memset() will use a NULL pointer.
2. memalign() itself seems to crash when more than 2^32 bytes are requested.
So, check the return value of memalign()
On 02.07.24 21:42, Richard Weinberger wrote:
While zalloc() takes a size_t type, adding 1 to the le32 variable
will overflow.
A carefully crafted ext4 filesystem can exhibit an inode size of 0x
and as consequence zalloc() will do a zero allocation.
Later in the function the inode size
Am 12. Juli 2024 10:24:54 MESZ schrieb Richard Weinberger :
>Make sure that tm_mday and tm_mon are within the expected
>range. Upper layers such as rtc_calc_weekday() will use
>them as lookup keys for arrays and this can cause out of
>bounds memory accesses.
rtc_calc_weekday() might receive
On 08.07.24 17:39, Sam Povilus wrote:
FIT documentation is now a separate project, instead of having a
duplicate, we should point at the other project.
Signed-off-by: Sam Povilus
---
doc/usage/fit/index.rst | 5 +-
doc/usage/fit/source_file_format.rst | 682
On 08.07.24 18:04, Heinrich Schuchardt wrote:
On 08.07.24 17:39, Sam Povilus wrote:
add missing table of content links, make alphabetical
Signed-off-by: Sam Povilus
---
doc/usage/fit/index.rst | 21 ++---
1 file changed, 18 insertions(+), 3 deletions(-)
diff --git a/doc
On 08.07.24 17:39, Sam Povilus wrote:
add missing table of content links, make alphabetical
Signed-off-by: Sam Povilus
---
doc/usage/fit/index.rst | 21 ++---
1 file changed, 18 insertions(+), 3 deletions(-)
diff --git a/doc/usage/fit/index.rst b/doc/usage/fit/index.rst
On 7/2/24 15:30, Caleb Connolly wrote:
Add support for generating version 5 UUIDs, these are determistic and work
by hashing a "namespace" UUID together with some unique data. One intended
usecase is to allow for dynamically generate payload UUIDs for UEFI
capsule updates, so that supported
On 7/4/24 07:50, Minda Chen wrote:
Add Starfive JH7110 Cadence USB driver and related PHY driver.
So the codes can be used in visionfive2 and star64 7110 board.
The driver is almost the same with kernel driver.
Test with Star64 JH7110 board USB 3.0 + USB 2.0 host.
The code can work.
- Star64
Am 1. Juli 2024 21:52:12 MESZ schrieb Sam Povilus :
>
>
>On 6/18/2024 12:03 AM, Heinrich Schuchardt wrote:
>> Caution: This message originated from an External Source. Use proper caution
>> when opening attachments, clicking links, or responding.
>>
>>
>&
The Examples section should be on the second heading level.
Signed-off-by: Heinrich Schuchardt
---
doc/usage/cmd/itest.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/doc/usage/cmd/itest.rst b/doc/usage/cmd/itest.rst
index 9c307fb4bf4..adcad05b2d4 100644
--- a/doc/usage
Replace the incorrect description that was copied from another driver.
Signed-off-by: Heinrich Schuchardt
---
drivers/rtc/goldfish_rtc.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/rtc/goldfish_rtc.c b/drivers/rtc/goldfish_rtc.c
index 3231eb0daf8..e63a2766c76
wu command
Alexander Dahl (1):
doc: develop: Add a general section on gdb usage
Bastian Germann (1):
doc: fit: Make data-size a conditionally mandatory property
Heinrich Schuchardt (4):
doc: update requirements.txt
spl: correct link to FIT specification
efi_selftest:
On 6/30/24 12:37, Maxim Moskalets wrote:
Signed-off-by: Maxim Moskalets
---
doc/usage/cmd/bootelf.rst | 52 +++
1 file changed, 52 insertions(+)
create mode 100644 doc/usage/cmd/bootelf.rst
diff --git a/doc/usage/cmd/bootelf.rst
On 6/22/24 18:38, Ilias Apalodimas wrote:
On Sat, 22 Jun 2024 at 19:36, Heinrich Schuchardt wrote:
On 20.06.24 22:15, Ilias Apalodimas wrote:
EFI_IGNORE_OSINDICATIONS is used to ignore OsIndications if setvariable
at runtime is not supported and allow the platform to perform capsule
updates
The dtbdump.efi binary can be used for testing the EFI_DT_FIXUP_PROTOCOL.
It provides a command to load a file and have it fixed up and a
command to save the resulting file.
Add a command 'dump' for displaying the device-tree.
Signed-off-by: Heinrich Schuchardt
---
v2:
print leading
The dtbdump.efi binary can be used for testing the EFI_DT_FIXUP_PROTOCOL.
It provides a command to load a file and have it fixed up and a
command to save the resulting file.
Add a command 'dump' for displaying the device-tree.
Signed-off-by: Heinrich Schuchardt
---
lib/efi_loader/dtbdump.c
On 6/26/24 12:47, Alexander Dahl wrote:
Mashed up from different sources linked below, including the now gone
Wiki and doc/README.arm-relocation file. Tested on a custom board with
AT91 SAMA5D2 SoC and Segger J-Link Base adapter. This is only generic
advice here, the usage is not board
Am 27. Juni 2024 19:06:29 MESZ schrieb "Vincent Stehlé"
:
>The scan_part() function uses a struct uuid to store the little-endian
>partition type GUID, but this structure should be used only to contain a
>big-endian UUID. Use an efi_guid_t instead.
>
>Signed-off-by: Vincent Stehlé
>Cc: Simon
Am 23. Juni 2024 22:30:33 MESZ schrieb Simon Glass :
>Since write_smbios_table() returns an address, we cannot use it to
>return and error number. Also, failing on sysinfo_detect() breaks
IS_ERR_VALUE() could serve as template for conveying errors in addresses.
>existing boards, e.g.
QEMU expects the file format to be specified even for raw files.
Currently this change only suppresses a warning.
Signed-off-by: Heinrich Schuchardt
---
bin/travis-ci/conf.sifive_unleashed_sdcard_qemu | 2 +-
bin/travis-ci/conf.sifive_unleashed_spi-nor_qemu | 2 +-
2 files changed, 2
>>
>> The authors of the specification only foresaw one or more of the
>> parameters being incorrect (EFI_INVALID_PARAMETER).
>
>I completely agree that the result is misleading. However, I'd prefer
>sticking to the spec for now and maybe add a comment?
Alexander Dahl (2):
doc: develop: testing: Fix broken reference to pytest suite help
doc: develop: testing: Fix reference to test writing section
Heinrich Schuchardt (3):
cmd: link to doc/usage/fit/x86-fit-boot.rst
doc: FIT links in develop/uefi/uefi.rst
boot
-off-by: Ilias Apalodimas
So this v2:
v2:
allow EFI_IGNORE_OSINDICATIONS if EFI_RT_VOLATILE_STORE=y
Reviewed-by: Heinrich Schuchardt
---
lib/efi_loader/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/lib/efi_loader/Kconfig b/lib/efi_loader/Kconfig
index ee71f417147a
On 22.06.24 16:35, Ilias Apalodimas wrote:
Simon reports that after enabling all algorithms on the TPM some boards
fail since they don't have enough storage to accommodate the ~5KB growth.
The choice of hash algorithms are determined by the platform and the TPM
configuration. Failing to cap a
since we are always
checking a buffer and not a device.
Fixes: commit 97707f12fdab ("tpm: Support boot measurements")
Signed-off-by: Ilias Apalodimas
Reviewed-by: Heinrich Schuchardt
---
lib/tpm-v2.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/tpm-v2.c
introduced different constant names (TPM2_ALG_*).
Otherwise
Reviewed-by: Heinrich Schuchardt
Signed-off-by: Ilias Apalodimas
---
include/efi_tcg2.h | 8
1 file changed, 8 deletions(-)
diff --git a/include/efi_tcg2.h b/include/efi_tcg2.h
index a75b5a35b6e7..54490969b2d1 100644
---
On 22.06.24 16:35, Ilias Apalodimas wrote:
A while back we moved the core functions of the EFI TCG protocol to the
TPM APIs in order for them to be used with bootm, booti etc.
Some prototypes changed from returning efi_status_t to int, which is more
appropriate for the non-EFI APIs. However,
On 22.06.24 16:35, Ilias Apalodimas wrote:
efi_tcg2.h already includes tpm-v2.h. Remove it
Signed-off-by: Ilias Apalodimas
Reviewed by: Heinrich Schuchardt
---
lib/efi_loader/efi_tcg2.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/lib/efi_loader/efi_tcg2.c b/lib/efi_loader
On 22.06.24 16:35, Ilias Apalodimas wrote:
commit 97707f12fdab ("tpm: Support boot measurements") moved out code
from the EFI subsystem into the TPM one to support measurements when
booting with !EFI.
Those were moved directly into the TPM subsystem and in the tpm-v2.c
library. In hindsight, it
On 18.06.24 17:54, Ilias Apalodimas wrote:
On Tue, 18 Jun 2024 at 15:24, Heinrich Schuchardt
wrote:
Test that we don't have a /chosen/kaslr-seed property if we measure the
device-tree.
Signed-off-by: Heinrich Schuchardt
---
lib/efi_selftest/efi_selftest_fdt.c | 7 +++
1 file changed
On 6/21/24 16:16, Максим Москалец wrote:
пт, 21 июн. 2024 г. в 15:51, Heinrich Schuchardt :
On 21.06.24 13:42, Maxim Moskalets wrote:
Some operating systems (e.g. seL4) and embedded applications are ELF
images. It is convenient to use FIT-images to implement trusted boot.
Added "elf&q
On 21.06.24 13:25, Ilias Apalodimas wrote:
On Fri, 21 Jun 2024 at 14:01, Ilias Apalodimas
wrote:
Hi Vincent,
[...]
$ uuid -d 935FE837-FAC8-4394-C008-737D8852C60D
encode: STR: 935fe837-fac8-4394-c008-737d8852c60d
SIV: 195894493536133784175416063449172723213
On 21.06.24 13:42, Maxim Moskalets wrote:
Some operating systems (e.g. seL4) and embedded applications are ELF
images. It is convenient to use FIT-images to implement trusted boot.
Added "elf" image type for booting using bootm command.
Signed-off-by: Maxim Moskalets
I guess a test could be
On 21.06.24 11:12, Vincent Stehlé wrote:
On Wed, Jun 19, 2024 at 10:15:32PM +0300, Ilias Apalodimas wrote:
Allô Vincent,
Hi Ilias :)
Thanks for testing!
On Wed, 19 Jun 2024 at 17:02, Vincent Stehlé wrote:
On Fri, May 31, 2024 at 03:50:34PM +0200, Caleb Connolly wrote:
As more boards
On 6/20/24 06:37, Christian Marangi wrote:
On Thu, Jun 20, 2024 at 08:13:34AM +0200, Heinrich Schuchardt wrote:
On 6/20/24 01:03, Christian Marangi wrote:
Convert README.LED to .rst documentation and include all the relevant
documentation in the status_led.h.
Signed-off-by: Christian Marangi
On 18.06.24 17:49, Ilias Apalodimas wrote:
EFI_IGNORE_OSINDICATIONS is used to ignore OsIndications if setvariable
at runtime is not supported and allow the platform to perform capsule
updates on disk. With the recent changes boards can conditionally enable
setvariable at runtime using
On 20.06.24 15:19, Simon Glass wrote:
The Python virtualenv tool sets up a few things in the envronment,
Nits
%s/envronment/environment/
putting its path first in the PATH environment variable and setting up
a sys.prefix different from the sys.base_prefix value.
At present buildman puts
On 6/20/24 01:03, Christian Marangi wrote:
This series expand the STATUS LED framework with a new color
and a big new feature. One thing that many device need is a way
to communicate to the user that the device is actually doing
something.
This is especially useful for recovery steps where an
On 6/20/24 01:03, Christian Marangi wrote:
Convert README.LED to .rst documentation and include all the relevant
documentation in the status_led.h.
Signed-off-by: Christian Marangi
---
doc/README.LED | 77 --
doc/api/index.rst | 1 +
doc/api/status_led.rst | 35
] RISC-V Semihosting, Version 0.4, 12th June 2024
https://github.com/riscv-non-isa/riscv-semihosting
Fixes: 7400d34ba992 ("riscv: semihosting: replace inline assembly with assembly
file")
Signed-off-by: Heinrich Schuchardt
---
arch/riscv/lib/semihosting.S | 2 +-
1 file changed, 1 ins
On 19.06.24 15:19, Ilias Apalodimas wrote:
On Wed, 19 Jun 2024 at 16:05, Ilias Apalodimas
wrote:
On Wed, 19 Jun 2024 at 15:36, Heinrich Schuchardt
wrote:
On 19.06.24 14:23, Ilias Apalodimas wrote:
On Sun, 16 Jun 2024 at 20:31, Heinrich Schuchardt
wrote:
If we have multiple weak
On 19.06.24 14:22, Ilias Apalodimas wrote:
Hi Heinrich,
On Sun, 16 Jun 2024 at 20:31, Heinrich Schuchardt
wrote:
In EFI sub-system we rely on invalidate_icache_all() to invalidate the
instruction cache after loading binaries. Add the missing implementation on
ARM1136, ARM1176.
Signed-off
On 19.06.24 14:23, Ilias Apalodimas wrote:
On Sun, 16 Jun 2024 at 20:31, Heinrich Schuchardt
wrote:
If we have multiple weak implementations of functions, the linker might
choose any of these. ARM and RISC-V already provide a weak implementation
of flush_dcache_all().
Signed-off-by: Heinrich
The message 'No working controllers found' provides no clue that this
refers to USB controllers.
Provide a message that refers to USB.
Signed-off-by: Heinrich Schuchardt
Reviewed-by: Dragan Simic
Reviewed-by: Caleb Connolly
Reviewed-by: Marek Vasut
Reviewed-by: Mattijs Korpershoek
---
v4
Am 18. Juni 2024 16:51:56 MESZ schrieb Caleb Connolly
:
>Check the result of hextoul() when parsing the first argument to booti,
>and add specific handling for "-h" to print usage rather than causing a
>null pointer exception.
>
>Fixes: 5db28905c952 ("cmd: Split 'bootz' and 'booti' out from
Am 18. Juni 2024 18:45:53 MESZ schrieb Tim Harvey :
>On Tue, Jun 18, 2024 at 8:48 AM Tim Harvey wrote:
>>
>> On Tue, Jun 18, 2024 at 4:51 AM Heinrich Schuchardt
>> wrote:
>> >
>> > On 17.06.24 21:14, Tim Harvey wrote:
>> > > Now that k
On 18.06.24 17:23, Ilias Apalodimas wrote:
We currently only describe the process to enable measured boot using
bootm. Describe the UEFI requirements as well which predate bootm.
Signed-off-by: Ilias Apalodimas
Please, rebase on 00cac7456125 ("doc: describe UEFI measured boot")
Best regards
On 18.06.24 13:54, Marek Vasut wrote:
On 6/18/24 8:32 AM, Heinrich Schuchardt wrote:
Replace the invalid link to the FIT file format specification.
Signed-off-by: Heinrich Schuchardt
---
SPL is tightly size constrained.
Shouldn't we remove the message with the link which is only of interest
The number of random bytes generated is hard coded as 8.
The command takes no argument.
Signed-off-by: Heinrich Schuchardt
---
cmd/kaslrseed.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cmd/kaslrseed.c b/cmd/kaslrseed.c
index e0d3c7fe748..e9b0e3d5985 100644
--- a/cmd
Test that we don't have a /chosen/kaslr-seed property if we measure the
device-tree.
Signed-off-by: Heinrich Schuchardt
---
lib/efi_selftest/efi_selftest_fdt.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/lib/efi_selftest/efi_selftest_fdt.c
b/lib/efi_selftest/efi_selftest_fdt.c
: Heinrich Schuchardt
Cc: Hugo Villeneuve
Cc: Marek Vasut
Cc: Tom Rini
Cc: Chris Morgan
---
v6: new patch
---
test/cmd/fdt.c | 4
1 file changed, 4 insertions(+)
diff --git a/test/cmd/fdt.c b/test/cmd/fdt.c
index 547085521758..537d8a338bbf 100644
--- a/test/cmd/fdt.c
+++ b/test/cmd/fdt.c
The message 'No working controllers found' provides no clue that this
refers to USB controllers.
Provide a message that refers to USB. Use log_info().
Signed-off-by: Heinrich Schuchardt
---
v3:
plural controllers
v2:
add 'found' at end of message
keep printf
---
drivers
The message 'No working controllers found' provides no clue that this
refers to USB controllers.
Provide a message that refers to USB.
Signed-off-by: Heinrich Schuchardt
---
v2:
add 'found' at end of message
keep printf
---
drivers/usb/host/usb-uclass.c | 2 +-
1 file changed
Replace the invalid link to the FIT file format specification.
Signed-off-by: Heinrich Schuchardt
---
SPL is tightly size constrained.
Shouldn't we remove the message with the link which is only of interest
to developers.
---
common/spl/spl_fit.c | 2 +-
1 file changed, 1 insertion(+), 1
Correct the links to the FIT documentation in boot/Kconfig.
Signed-off-by: Heinrich Schuchardt
---
boot/Kconfig | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/boot/Kconfig b/boot/Kconfig
index 6f3096c15a6..36bdc83b957 100644
--- a/boot/Kconfig
+++ b/boot/Kconfig
Correct the links to the FIT documentation.
Signed-off-by: Heinrich Schuchardt
---
doc/develop/uefi/uefi.rst | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/doc/develop/uefi/uefi.rst b/doc/develop/uefi/uefi.rst
index 0389b269c01..ea70dcbda86 100644
--- a/doc/develop/uefi
Replace the outdated link.
Signed-off-by: Heinrich Schuchardt
---
cmd/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cmd/Kconfig b/cmd/Kconfig
index ff0f5941ecc..9e4245a9702 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -622,7 +622,7 @@ config CMD_ZBOOT
On 6/17/24 22:20, Sam Povilus wrote:
FIT documentation is now a separate project, instead of having a
duplicate, we should point at the other project.
Signed-off-by: Sam Povilus
---
doc/usage/fit/index.rst | 14 +-
doc/usage/fit/source_file_format.rst | 682
On 17.06.24 17:32, Jerome Forissier wrote:
Add what it takes to enable NETDEVICES with NET_LWIP and enable DHCP as
well as the dhcp command. CMD_TFTPBOOT is selected by BOOTMETH_EFI due
to this code having an implicit dependency on do_tftpb().
Signed-off-by: Jerome Forissier
---
Makefile
On 17.06.24 15:53, Simon Glass wrote:
Hi Heinrich,
On Sun, 16 Jun 2024 at 02:59, Heinrich Schuchardt
wrote:
Update all required Python packages to current release.
Signed-off-by: Heinrich Schuchardt
---
doc/sphinx/requirements.txt | 16
1 file changed, 8 insertions
On 17.06.24 11:00, Quentin Schulz wrote:
Hi all,
On 6/17/24 8:31 AM, Mattijs Korpershoek wrote:
Hi Heinrich,
Thank you for your review.
On dim., juin 16, 2024 at 09:38, Heinrich Schuchardt
wrote:
On 6/4/24 17:15, Mattijs Korpershoek wrote:
According to [1], we should use bootmeth when
The message 'No working controllers found' provides no clue that this
refers to USB controllers.
Provide a message that refers to USB. Use log_info().
Signed-off-by: Heinrich Schuchardt
---
drivers/usb/host/usb-uclass.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
-by: Heinrich Schuchardt
---
lib/efi_loader/efi_image_loader.c | 13 +++--
lib/efi_loader/efi_runtime.c | 7 ++-
2 files changed, 13 insertions(+), 7 deletions(-)
diff --git a/lib/efi_loader/efi_image_loader.c
b/lib/efi_loader/efi_image_loader.c
index 60424360328..45dc5b6b244 100644
In EFI sub-system we rely on invalidate_icache_all() to invalidate the
instruction cache after loading binaries. Add the missing implementation on
ARM1136, ARM1176.
Signed-off-by: Heinrich Schuchardt
---
arch/arm/cpu/arm11/cpu.c | 12
1 file changed, 12 insertions(+)
diff --git
If we have multiple weak implementations of functions, the linker might
choose any of these. ARM and RISC-V already provide a weak implementation
of flush_dcache_all().
Signed-off-by: Heinrich Schuchardt
---
cmd/cache.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/cmd/cache.c b/cmd
invalidate_icache_all() after loading binaries.
Both the EFI sub-system and cmd/cache.c provide a weak
invalidate_icache_all() function. Remove the EFI instance.
For ARM11 functional implementation of invalidate_icache_all is missing.
Add it.
Heinrich Schuchardt (3):
cmd: avoid duplicate weak flush_dcache_all
1 - 100 of 10012 matches
Mail list logo