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
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
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
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/
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
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,
> > > > >
> >
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
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
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
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(-)
>
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
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
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
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/
> 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
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
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
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
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
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:
>
>
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
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
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 +-
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
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,
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 ++
> 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
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.
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:
>
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:
> > >
> >
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
> 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-
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/
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
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
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
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
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
> 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:
> > > >
> > >
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
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
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
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
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
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
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:
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
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
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()
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.
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
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
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
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
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
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
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
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
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
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(+)
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
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
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()
63 matches
Mail list logo