Re: [PATCH v2 2/3] rockchip: rk3588: Implement checkboard() to print SoC variant

2024-11-03 Thread Jagan Teki
On Sun, 3 Nov 2024 at 02:08, Jonas Karlman wrote: > > Implement checkboard() to print current SoC model used by a board, > e.g. one of: > > SoC: RK3582 v1 > SoC: RK3588 v0 > SoC: RK3588 v1 > SoC: RK3588S v0 > SoC: RK3588S v1 > SoC: RK3588S2 v1 > > when U-Boot proper is runn

Re: [PATCH 1/1] cmd: upl: initialize unit test state

2024-11-03 Thread Neha Malcom Francis
Hi Heinrich On 02/11/24 20:00, Heinrich Schuchardt wrote: do_upl_write() calls upl_get_test_data() which may increment the fail count in the unit test state. We should initialize it. Addresses-Coverity-ID: 510465 Uninitialized scalar variable Signed-off-by: Heinrich Schuchardt --- cmd/upl.c

Re: [PATCH 6/6] board: phytec: common: k3: Apply SoM-specific overlays to OS device tree

2024-11-03 Thread Neha Malcom Francis
On 30/10/24 22:18, Wadim Egorov wrote: Our SoMs are available in multiple configurations, managed via device tree overlays. To determine the specific variant in use, we read the EEPROM and apply the appropriate overlays during boot to the device tree used by the OS. Signed-off-by: Wadim Egorov

Re: [PATCH 5/6] arm: dts: k3-am642-phycore-som-binman: Add SoM overlays

2024-11-03 Thread Neha Malcom Francis
On 30/10/24 22:18, Wadim Egorov wrote: Include SoM dt-overlays that handle variants of our SoMs into u-boot's FIT image. Signed-off-by: Wadim Egorov --- arch/arm/dts/k3-am642-phycore-som-binman.dtsi | 54 ++- 1 file changed, 53 insertions(+), 1 deletion(-) diff --git a/arch/

Re: [PATCH 4/6] arm: dts: k3-am625-phycore-som-binman: Add SoM overlays

2024-11-03 Thread Neha Malcom Francis
Hi Wadim On 30/10/24 22:18, Wadim Egorov wrote: Include SoM dt-overlays that handle variants of our SoMs into u-boot's FIT image. Signed-off-by: Wadim Egorov --- arch/arm/dts/k3-am625-phycore-som-binman.dtsi | 54 ++- 1 file changed, 53 insertions(+), 1 deletion(-) diff --g

Re: [Binman] Question regarding SPL symbol offsets generation

2024-11-03 Thread Adam Ford
On Sun, Nov 3, 2024 at 8:00 PM Adam Ford wrote: > > On Sun, Nov 3, 2024 at 7:41 PM Adam Ford wrote: > > > > On Thu, Sep 5, 2024 at 8:54 AM Lukasz Majewski wrote: > > > > > > Hi Adam, > > > > > > > On Wed, Aug 28, 2024 at 3:04 AM Lukasz Majewski wrote: > > > > > > > > > > Hi Simon, > > > > > > >

[PATCH 2/2] bios_emulator: make CONFIG_BIOSEMU selectable in menuconfig

2024-11-03 Thread Yuri Zaporozhets
This allows selecting BIOSEMU in "make menuconfig", and provides one-line descriptions for all three configuration parameters in bios_emulator/Kconfig. Signed-off-by: Yuri Zaporozhets --- drivers/bios_emulator/Kconfig | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --gi

[PATCH 1/2] bios_emulator: don't select X86EMU_RAW_IO for BIOSEMU and SPL_BIOSEMU

2024-11-03 Thread Yuri Zaporozhets
The X86EMU_RAW_IO mode can be used only on x86, so don't select this option always, and allow correct compilation of BIOSEMU on other architectures too. Signed-off-by: Yuri Zaporozhets --- drivers/bios_emulator/Kconfig | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/bios_emulator/Kc

Fedora 41 drops OpenSSL ENGINE support, u-boot can't compile anymore.

2024-11-03 Thread Bas Magré
On compiling on Fedora 41 you will get the error: fatal error: openssl/engine.h: No such file or directory It was already legacy: https://docs.openssl.org/3.0/man7/migration_guide/#support-of-legacy-engines Fedora 41 has removed it: https://fedoraproject.org/wiki/Changes/OpensslDeprecateEngine

Re: [PATCH 1/1] tools: mkeficapsule: use %zd to print ssize_t.

2024-11-03 Thread Ilias Apalodimas
On Mon, 4 Nov 2024 at 00:45, Heinrich Schuchardt wrote: > > For printing a ssize_t variable we must use %zd and not %ld to avoid > a -Wformat error on 32-bit systems. > > Signed-off-by: Heinrich Schuchardt > --- > tools/mkeficapsule.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) >

Re: [Binman] Question regarding SPL symbol offsets generation

2024-11-03 Thread Adam Ford
On Sun, Nov 3, 2024 at 7:41 PM Adam Ford wrote: > > On Thu, Sep 5, 2024 at 8:54 AM Lukasz Majewski wrote: > > > > Hi Adam, > > > > > On Wed, Aug 28, 2024 at 3:04 AM Lukasz Majewski wrote: > > > > > > > > Hi Simon, > > > > > > > > > Hi, > > > > > > > > > > On Tue, 27 Aug 2024 at 12:47, Fabio Este

[PATCH] efi_loader: Change efi_dp_from_mem() to use size

2024-11-03 Thread Moritz Fischer
All call sites are using size rather than end addresses, so instead - as previously done - calculating an end address everywhere, just modify the function to use size and internally calculate the end address Cc: Heinrich Schuchardt Cc: Ilias Apalodimas Cc: Patrick Wildt Signed-off-by: Moritz Fi

Re: [Binman] Question regarding SPL symbol offsets generation

2024-11-03 Thread Adam Ford
On Thu, Sep 5, 2024 at 8:54 AM Lukasz Majewski wrote: > > Hi Adam, > > > On Wed, Aug 28, 2024 at 3:04 AM Lukasz Majewski wrote: > > > > > > Hi Simon, > > > > > > > Hi, > > > > > > > > On Tue, 27 Aug 2024 at 12:47, Fabio Estevam > > > > wrote: > > > > > > > > > > Hi Lukasz, > > > > > > > > > > On

Re: [PATCH 05/15] doc: sandbox: Add docs for the sb command

2024-11-03 Thread Heinrich Schuchardt
On 10/28/24 13:47, Simon Glass wrote: This command has a few small features, so document it. Signed-off-by: Simon Glass --- doc/usage/cmd/sb.rst | 54 doc/usage/index.rst | 1 + 2 files changed, 55 insertions(+) create mode 100644 doc/usage/

Re: [PATCH v4 5/8] sunxi: Move to bootstd

2024-11-03 Thread Mark Kettenis
> From: Simon Glass > Date: Sun, 3 Nov 2024 12:06:41 -0700 Hi Simon, > Hi Mark, > > On Sun, 3 Nov 2024 at 09:15, Mark Kettenis wrote: > > > > > From: Simon Glass > > > Date: Sun, 3 Nov 2024 07:46:44 -0700 > > > > Hi Simon, > > > > > Hi Andre, > > > > > > On Sun, 3 Nov 2024 at 03:36, Andre Prz

Re: [PATCH v5 03/11] led: implement LED boot API

2024-11-03 Thread Simon Glass
Hi Christian, On Sat, 2 Nov 2024 at 13:52, Christian Marangi wrote: > > On Sat, Nov 02, 2024 at 01:50:13PM -0600, Simon Glass wrote: > > Hi Christian, > > > > On Sat, 2 Nov 2024 at 13:36, Christian Marangi wrote: > > > > > > On Sat, Nov 02, 2024 at 01:33:10PM -0600, Simon Glass wrote: > > > > Hi

[PATCH 1/1] test: use %zd for size_t in mbr_test_run()

2024-11-03 Thread Heinrich Schuchardt
For printing size_t we must use %zd and not %ld to avoid a -Wformat error on 32-bit systems. Signed-off-by: Heinrich Schuchardt --- test/cmd/mbr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/cmd/mbr.c b/test/cmd/mbr.c index 16a8bc39e7e..d137378a3be 100644 --- a/t

Re: [PATCH 1/1] test: run longjmp() test only on supported architectures

2024-11-03 Thread Tom Rini
On Sun, Nov 03, 2024 at 06:54:00PM +0100, Heinrich Schuchardt wrote: > We have only implemented longjmp() on the EFI architectures. > > Define a symbol CONFIG_HAVE_SETJMP and have it selected by the relevant > architectures. > > Use CONFIG_HAVE_SETJMP to decide if the longjmp test shall be built

Re: [PATCH v2 4/4] configs: enable UNIT_TEST on qemu_arm_defconfig

2024-11-03 Thread Tom Rini
On Sun, Nov 03, 2024 at 11:42:23PM +0100, Heinrich Schuchardt wrote: > The lib_test_uuid_to_le test fails on 32-bit systems. But we never caught > this in our CI because we never ran any of our C unit tests on 32-bit. > > Enable CONFIG_UNIT_TEST on qemu_arm_defconfig. > > Signed-off-by: Heinrich

Re: [PULL] u-boot-sh/master

2024-11-03 Thread Tom Rini
On Sun, Nov 03, 2024 at 05:59:27PM +0100, Marek Vasut wrote: > The following changes since commit 8e5e64d55de9ed97875a0c1b7f293a0286d64312: > > Merge patch series "fs: ext4: implement opendir, readdir, closedir" > (2024-11-01 13:38:05 -0600) > > are available in the Git repository at: > >

[PATCH 1/1] tools: mkeficapsule: use %zd to print ssize_t.

2024-11-03 Thread Heinrich Schuchardt
For printing a ssize_t variable we must use %zd and not %ld to avoid a -Wformat error on 32-bit systems. Signed-off-by: Heinrich Schuchardt --- tools/mkeficapsule.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/mkeficapsule.c b/tools/mkeficapsule.c index 49f5b7849

[PATCH v2 4/4] configs: enable UNIT_TEST on qemu_arm_defconfig

2024-11-03 Thread Heinrich Schuchardt
The lib_test_uuid_to_le test fails on 32-bit systems. But we never caught this in our CI because we never ran any of our C unit tests on 32-bit. Enable CONFIG_UNIT_TEST on qemu_arm_defconfig. Signed-off-by: Heinrich Schuchardt --- v2: no change --- configs/qemu_arm_defconfig | 1 + 1 fi

[PATCH v2 3/4] lib: uuid: fix uuid_str_to_bin() on 32-bit

2024-11-03 Thread Heinrich Schuchardt
hextoul() cannot convert a string to a 64-bit number on a 32-bit system. Use function hextoull() instead. Reported-by: Patrick Delaunay Fixes: 22c48a92cdce ("lib: uuid: supporting building as part of host tools") Signed-off-by: Heinrich Schuchardt --- v2: new patch --- lib/uuid.c | 2 +-

[PATCH v2 0/4] lib: uuid: fix uuid_str_to_le_bin() on 32-bit

2024-11-03 Thread Heinrich Schuchardt
The lib_test_uuid_to_le and lib lib_test_dynamic_uuid tests fail on 32-bit systems. But we never caught this in our CI because we never ran any of our C unit tests on 32-bit. Enable CONFIG_UNIT_TEST on qemu_arm_defconfig. hextoul() cannot convert a string to a 64-bit number on a 32-bit system. Us

[PATCH v2 1/4] lib: provide function hextoull()

2024-11-03 Thread Heinrich Schuchardt
We often convert hexadecimal strings to hextoull(). Provide a wrapper function to simple_strtoull() that does not require specifying the radix. Signed-off-by: Heinrich Schuchardt --- v2: no change --- include/vsprintf.h | 13 + lib/strto.c| 5 + 2 files changed,

[PATCH v2 2/4] lib: uuid: fix uuid_str_to_le_bin() on 32-bit

2024-11-03 Thread Heinrich Schuchardt
hextoul() cannot convert a string to a 64-bit number on a 32-bit system. Use function hextoull() instead. Reported-by: Patrick Delaunay Fixes: 22c48a92cdce ("lib: uuid: supporting building as part of host tools") Signed-off-by: Heinrich Schuchardt --- v2: no change --- lib/uuid.c | 3 ++

Re: [PATCH 0/4] Fix IOVA allocation in Apple dart iommu after global LMB mem map changes

2024-11-03 Thread Mark Kettenis
> Date: Sun, 3 Nov 2024 18:36:33 +0100 > From: Janne Grunau > > On Sun, Nov 03, 2024 at 07:53:36PM +0530, Sughosh Ganu wrote: > > On Sat, 2 Nov 2024 at 16:00, Mark Kettenis wrote: > > > > > > > From: Sughosh Ganu > > > > Date: Fri, 1 Nov 2024 17:17:22 +0530 > > > > > > > > On Fri, 1 Nov 2024 at

[PATCH 1/1] test: print_printf() must check availability of %ls

2024-11-03 Thread Heinrich Schuchardt
Availability of %ls in printf() depends on having CONFIG_EFI_LOADER or CONFIG_EFI_APP. Respect this when testing. Signed-off-by: Heinrich Schuchardt --- test/print_ut.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/test/print_ut.c b/test/print_ut.c index f5e607b21a3.

Re: [PATCH v4 5/8] sunxi: Move to bootstd

2024-11-03 Thread Peter Robinson
On Sun, 3 Nov 2024 at 19:06, Simon Glass wrote: > > Hi Mark, > > On Sun, 3 Nov 2024 at 09:15, Mark Kettenis wrote: > > > > > From: Simon Glass > > > Date: Sun, 3 Nov 2024 07:46:44 -0700 > > > > Hi Simon, > > > > > Hi Andre, > > > > > > On Sun, 3 Nov 2024 at 03:36, Andre Przywara > > > wrote: >

Re: [PATCH v4 5/8] sunxi: Move to bootstd

2024-11-03 Thread Simon Glass
Hi Mark, On Sun, 3 Nov 2024 at 09:15, Mark Kettenis wrote: > > > From: Simon Glass > > Date: Sun, 3 Nov 2024 07:46:44 -0700 > > Hi Simon, > > > Hi Andre, > > > > On Sun, 3 Nov 2024 at 03:36, Andre Przywara wrote: > > > > > > On Sat, 2 Nov 2024 11:35:31 -0600 > > > Simon Glass wrote: > > > > >

[PATCH 1/1] mips: malta: set MIPS_RELOCATION_TABLE_SIZE=0xc000

2024-11-03 Thread Heinrich Schuchardt
MIPS_RELOCATION_TABLE_SIZE=0x8000 is too small to enable UNIT_TEST. Increase it by 50 % (16 KiB). Signed-off-by: Heinrich Schuchardt --- arch/mips/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index b2d0aaadb2a..fce56cb332e 100644 --- a/arch/mi

Re: [PATCH v4 5/8] sunxi: Move to bootstd

2024-11-03 Thread Mark Kettenis
> Date: Sun, 3 Nov 2024 10:36:26 + > From: Andre Przywara Hi Andre, > On Sat, 2 Nov 2024 11:35:31 -0600 > Simon Glass wrote: > > Hi Simon, > > > On Thu, 17 Oct 2024 at 17:25, Simon Glass wrote: > > > > > > Drop support for distroboot and move to using bootstd instead. > > > > > > Signed-

[PATCH 1/1] test: run longjmp() test only on supported architectures

2024-11-03 Thread Heinrich Schuchardt
We have only implemented longjmp() on the EFI architectures. Define a symbol CONFIG_HAVE_SETJMP and have it selected by the relevant architectures. Use CONFIG_HAVE_SETJMP to decide if the longjmp test shall be built. Signed-off-by: Heinrich Schuchardt --- arch/Kconfig | 9 + test/

Re: [PATCH 0/4] Fix IOVA allocation in Apple dart iommu after global LMB mem map changes

2024-11-03 Thread Janne Grunau
On Sun, Nov 03, 2024 at 07:53:36PM +0530, Sughosh Ganu wrote: > On Sat, 2 Nov 2024 at 16:00, Mark Kettenis wrote: > > > > > From: Sughosh Ganu > > > Date: Fri, 1 Nov 2024 17:17:22 +0530 > > > > > > On Fri, 1 Nov 2024 at 15:47, Janne Grunau wrote: > > > > > > > > The changes in "Make LMB memory m

Re: [PATCH 3/3] configs: enable UNIT_TEST on qemu_arm_defconfig

2024-11-03 Thread Heinrich Schuchardt
On 11/3/24 17:12, Tom Rini wrote: On Sun, Nov 03, 2024 at 04:56:40PM +0100, Heinrich Schuchardt wrote: On 11/3/24 16:50, Tom Rini wrote: On Sun, Nov 03, 2024 at 04:45:41PM +0100, Heinrich Schuchardt wrote: On 11/3/24 08:12, Heinrich Schuchardt wrote: The lib_test_uuid_to_le test fails on 32-b

Re: [PATCH v4 2/9] board_f: Correct stack reservation

2024-11-03 Thread Heinrich Schuchardt
On 11/3/24 01:28, Simon Glass wrote: The reserve_stack_aligned() function already ensures that the resulting address is aligned to a 16-byte boundary. The comment seems to suggest that 16 is passed reserve_stack_aligned() to make it aligned. Change the value to 0, since the stack can start at th

[PULL] u-boot-sh/master

2024-11-03 Thread Marek Vasut
The following changes since commit 8e5e64d55de9ed97875a0c1b7f293a0286d64312: Merge patch series "fs: ext4: implement opendir, readdir, closedir" (2024-11-01 13:38:05 -0600) are available in the Git repository at: https://source.denx.de/u-boot/custodians/u-boot-sh.git master for you to fetc

Re: [PATCH v4 1/9] kernel: Document ALIGN macros

2024-11-03 Thread Heinrich Schuchardt
On 11/3/24 01:28, Simon Glass wrote: Add comments for these macros, so it is clear what they do. Signed-off-by: Simon Glass --- (no changes since v1) include/linux/kernel.h | 31 +++ 1 file changed, 31 insertions(+) diff --git a/include/linux/kernel.h b/include

Re: [PATCH v4 5/8] sunxi: Move to bootstd

2024-11-03 Thread Mark Kettenis
> From: Simon Glass > Date: Sun, 3 Nov 2024 07:46:44 -0700 Hi Simon, > Hi Andre, > > On Sun, 3 Nov 2024 at 03:36, Andre Przywara wrote: > > > > On Sat, 2 Nov 2024 11:35:31 -0600 > > Simon Glass wrote: > > > > Hi Simon, > > > > > On Thu, 17 Oct 2024 at 17:25, Simon Glass wrote: > > > > > > >

Re: [PATCH 3/3] configs: enable UNIT_TEST on qemu_arm_defconfig

2024-11-03 Thread Tom Rini
On Sun, Nov 03, 2024 at 04:56:40PM +0100, Heinrich Schuchardt wrote: > On 11/3/24 16:50, Tom Rini wrote: > > On Sun, Nov 03, 2024 at 04:45:41PM +0100, Heinrich Schuchardt wrote: > > > On 11/3/24 08:12, Heinrich Schuchardt wrote: > > > > The lib_test_uuid_to_le test fails on 32-bit systems. But we n

Re: [PATCH 3/3] configs: enable UNIT_TEST on qemu_arm_defconfig

2024-11-03 Thread Heinrich Schuchardt
On 11/3/24 16:50, Tom Rini wrote: On Sun, Nov 03, 2024 at 04:45:41PM +0100, Heinrich Schuchardt wrote: On 11/3/24 08:12, Heinrich Schuchardt wrote: The lib_test_uuid_to_le test fails on 32-bit systems. But we never caught this in our CI because we never ran any of our C unit tests on 32-bit. E

Re: [PATCH 3/3] configs: enable UNIT_TEST on qemu_arm_defconfig

2024-11-03 Thread Tom Rini
On Sun, Nov 03, 2024 at 04:45:41PM +0100, Heinrich Schuchardt wrote: > On 11/3/24 08:12, Heinrich Schuchardt wrote: > > The lib_test_uuid_to_le test fails on 32-bit systems. But we never caught > > this in our CI because we never ran any of our C unit tests on 32-bit. > > > > Enable CONFIG_UNIT_TE

Re: [PATCH 2/3] lib: uuid: fix uuid_str_to_le_bin() on 32-bit

2024-11-03 Thread Tom Rini
On Sun, Nov 03, 2024 at 08:11:59AM +0100, Heinrich Schuchardt wrote: > hextoul() cannot convert a string to a 64-bit number on a 32-bit system. > Use function hextoull() instead. > > Signed-off-by: Heinrich Schuchardt Reported-by: Patrick Delaunay Fixes: 22c48a92cdce ("lib: uuid: supporting bu

Re: [PATCH 3/3] configs: enable UNIT_TEST on qemu_arm_defconfig

2024-11-03 Thread Tom Rini
On Sun, Nov 03, 2024 at 08:12:00AM +0100, Heinrich Schuchardt wrote: > The lib_test_uuid_to_le test fails on 32-bit systems. But we never caught > this in our CI because we never ran any of our C unit tests on 32-bit. > > Enable CONFIG_UNIT_TEST on qemu_arm_defconfig. > > Signed-off-by: Heinrich

Re: [PATCH 3/3] configs: enable UNIT_TEST on qemu_arm_defconfig

2024-11-03 Thread Heinrich Schuchardt
On 11/3/24 08:12, Heinrich Schuchardt wrote: The lib_test_uuid_to_le test fails on 32-bit systems. But we never caught this in our CI because we never ran any of our C unit tests on 32-bit. Enable CONFIG_UNIT_TEST on qemu_arm_defconfig. Signed-off-by: Heinrich Schuchardt --- configs/qemu_arm

Re: [PATCH 1/1] .readthedocs.yml: update Python version and Ubuntu release

2024-11-03 Thread Tom Rini
On Sun, Nov 03, 2024 at 11:56:35AM +0100, Heinrich Schuchardt wrote: > The current documentation build dependencies are not compatible with > Python 3.9. Update to Python 3.12. > > Use the current Ubuntu LTS release, i.e. 24.04 Noble Numbat. > > Signed-off-by: Heinrich Schuchardt Reviewed-by:

Please pull u-boot-dm

2024-11-03 Thread Simon Glass
Hi Tom, https://source.denx.de/u-boot/custodians/u-boot-dm/-/pipelines/23152 https://dev.azure.com/simon0972/u-boot/_build/results?buildId=71&view=results The following changes since commit e61ea9f2e5d2967826c2c6e3edba961064fbbaa1: mtd: spi-nor: Guard SPI_STACKED_PARALLEL with DM_SPI check (20

Re: [PATCH v4 5/8] sunxi: Move to bootstd

2024-11-03 Thread Simon Glass
Hi Andre, On Sun, 3 Nov 2024 at 03:36, Andre Przywara wrote: > > On Sat, 2 Nov 2024 11:35:31 -0600 > Simon Glass wrote: > > Hi Simon, > > > On Thu, 17 Oct 2024 at 17:25, Simon Glass wrote: > > > > > > Drop support for distroboot and move to using bootstd instead. > > > > > > Signed-off-by: Simo

Re: [PATCH v4 4/9] efi: Drop the memset() from efi_alloc()

2024-11-03 Thread Simon Glass
Hi Heinrich, On Sun, 3 Nov 2024 at 01:54, Heinrich Schuchardt wrote: > > On 11/3/24 01:28, Simon Glass wrote: > > From my inspection none of the users need the memory to be zeroed. It > > is somewhat unexpected that it does so, since the name gives no clue to > > this. > > > > Drop the memset()

Re: [PATCH 1/1] lmb: do not panic in lmb_print_region_flags

2024-11-03 Thread Sughosh Ganu
On Sat, 2 Nov 2024 at 12:02, Heinrich Schuchardt wrote: > > Commit c3cf0dc64f1c ("lmb: add a check to prevent memory overrun") > addressed a possible buffer overrun using assert_noisy(). > > Resetting via panic() in lmb_print_region() while allowing invalid > lmb flags elsewhere is not reasonable.

Re: [PATCH 0/4] Fix IOVA allocation in Apple dart iommu after global LMB mem map changes

2024-11-03 Thread Sughosh Ganu
On Sat, 2 Nov 2024 at 16:00, Mark Kettenis wrote: > > > From: Sughosh Ganu > > Date: Fri, 1 Nov 2024 17:17:22 +0530 > > > > On Fri, 1 Nov 2024 at 15:47, Janne Grunau wrote: > > > > > > The changes in "Make LMB memory map global and persistent" [1] break > > > mapping DMA memory in the USB xHCI d

[PATCH 1/1] .readthedocs.yml: update Python version and Ubuntu release

2024-11-03 Thread Heinrich Schuchardt
The current documentation build dependencies are not compatible with Python 3.9. Update to Python 3.12. Use the current Ubuntu LTS release, i.e. 24.04 Noble Numbat. Signed-off-by: Heinrich Schuchardt --- .readthedocs.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.r

Re: [PATCH v4 5/8] sunxi: Move to bootstd

2024-11-03 Thread Andre Przywara
On Sat, 2 Nov 2024 11:35:31 -0600 Simon Glass wrote: Hi Simon, > On Thu, 17 Oct 2024 at 17:25, Simon Glass wrote: > > > > Drop support for distroboot and move to using bootstd instead. > > > > Signed-off-by: Simon Glass > > --- > > > > (no changes since v2) > > > > Changes in v2: > > - Convert

Re: [PATCH 1/2] cmd: hash: correct parameter count check

2024-11-03 Thread Igor Opaniuk
Hi Heinrich, On Sat, Nov 2, 2024 at 11:09 AM Heinrich Schuchardt wrote: > > Since commit 348ea878508d ("cmd: hash: fix param count check") the hash > command cannot be used without the optional variable name parameter if > CONFIG_HASH_VERIFY=y. 'hash sha1 $loadaddr $filesize' returns > CMD_RET_US

Re: [PATCH v4 4/9] efi: Drop the memset() from efi_alloc()

2024-11-03 Thread Heinrich Schuchardt
On 11/3/24 01:28, Simon Glass wrote: From my inspection none of the users need the memory to be zeroed. It is somewhat unexpected that it does so, since the name gives no clue to this. Drop the memset() so that it effectively becomes a wrapper around the normal EFI-pool allocator. Another opti

Re: [PATCH v5 6/6] common: android_ab: fix slot suffix for abc block

2024-11-03 Thread Igor Opaniuk
Hi Dmitry, On Thu, Oct 17, 2024 at 4:12 PM Dmitry Rokosov wrote: > > To align with the official Android BCB (Bootloader Control Block) > specifications, it's important to note that the slot_suffix should start > with an underscore symbol. > > For a comprehensive understanding of the expected slot

Re: [PATCH v2 14/20] test: Move unicode_ut test into lib

2024-11-03 Thread Heinrich Schuchardt
On 11/2/24 20:36, Simon Glass wrote: This test doesn't belong at the top level. Move it into the lib/ directory, to match its implementation. Rename it to drop the unnecessary _ut suffix. Signed-off-by: Simon Glass Reviewed-by: Heinrich Schuchardt

Re: [PATCH v2 15/20] test: Move unicode tests into the lib suite

2024-11-03 Thread Heinrich Schuchardt
On 11/2/24 20:37, Simon Glass wrote: There is no particular need for the unicode tests to have their own test suite. Move them into the lib suite instead. Signed-off-by: Simon Glass --- Reviewed-by: Heinrich Schuchardt

Re: [PATCH 0/5] fs: ext4: implement opendir, readdir, closedir

2024-11-03 Thread Michael Nazzareno Trimarchi
Hi Il dom 3 nov 2024, 00:53 Tom Rini ha scritto: > On Sun, Nov 03, 2024 at 12:36:38AM +0100, Michael Nazzareno Trimarchi > wrote: > > Hi Tom > > > > On Sun, Nov 3, 2024 at 12:26 AM Tom Rini wrote: > > > > > > On Sat, 26 Oct 2024 08:40:43 +0200, Heinrich Schuchardt wrote: > > > > > > > With this

[PATCH 3/3] configs: enable UNIT_TEST on qemu_arm_defconfig

2024-11-03 Thread Heinrich Schuchardt
The lib_test_uuid_to_le test fails on 32-bit systems. But we never caught this in our CI because we never ran any of our C unit tests on 32-bit. Enable CONFIG_UNIT_TEST on qemu_arm_defconfig. Signed-off-by: Heinrich Schuchardt --- configs/qemu_arm_defconfig | 1 + 1 file changed, 1 insertion(+)

[PATCH 1/3] lib: provide function hextoull()

2024-11-03 Thread Heinrich Schuchardt
We often convert hexadecimal strings to hextoull(). Provide a wrapper function to simple_strtoull() that does not require specifying the radix. Signed-off-by: Heinrich Schuchardt --- include/vsprintf.h | 13 + lib/strto.c| 5 + 2 files changed, 18 insertions(+) diff --g

[PATCH 2/3] lib: uuid: fix uuid_str_to_le_bin() on 32-bit

2024-11-03 Thread Heinrich Schuchardt
hextoul() cannot convert a string to a 64-bit number on a 32-bit system. Use function hextoull() instead. Signed-off-by: Heinrich Schuchardt --- lib/uuid.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/uuid.c b/lib/uuid.c index c6a27b7d044..19f33dd1477 100644 --- a/li

[PATCH 0/3] lib: uuid: fix uuid_str_to_le_bin() on 32-bit

2024-11-03 Thread Heinrich Schuchardt
The lib_test_uuid_to_le test fails on 32-bit systems. But we never caught this in our CI because we never ran any of our C unit tests on 32-bit. Enable CONFIG_UNIT_TEST on qemu_arm_defconfig. hextoul() cannot convert a string to a 64-bit number on a 32-bit system. Use the new function hextoull()