From: Peng Fan
U-Boot device tree is padded just after U-Boot proper.
After the whole stuff loaded to DRAM space, the device tree
area is conflict with BSS region before U-Boot relocation.
So any write to BSS area before reloc_fdt will corrupt the
device tree. Without the fix, there is issue tha
Hi Simon,
On 10/18/24 01:23, Simon Glass wrote:
Hi Michal,
On Wed, 16 Oct 2024 at 00:00, Michal Simek wrote:
Hi Simon,
On 10/15/24 14:48, Simon Glass wrote:
Hi Michal,
On Thu, 10 Oct 2024 at 07:03, Michal Simek wrote:
On 10/9/24 23:14, Simon Glass wrote:
Hi Michal,
On Wed, 9 Oct 20
On Thu, Oct 17, 2024 at 05:23:40PM -0600, Simon Glass wrote:
> Hi Tom,
>
> I have kept back some of the coreboot patches until the docker change
> is applied. It needs a newer version of coreboot.
>
> - Simon
>
> https://source.denx.de/u-boot/custodians/u-boot-dm/-/pipelines/22775
> https://dev
On 10/17/24 19:54, Tom Rini wrote:
On Wed, Oct 16, 2024 at 07:59:59AM +0200, Michal Simek wrote:
Hi Simon,
On 10/15/24 14:48, Simon Glass wrote:
Hi Michal,
On Thu, 10 Oct 2024 at 07:03, Michal Simek wrote:
On 10/9/24 23:14, Simon Glass wrote:
Hi Michal,
On Wed, 9 Oct 2024 at 07:21,
Hi,
thanks for this fixes.
I just test this series on Khadas VIM3 with android image version 2 non
A/B and AB,
on TI AM62P with android image version 4 with AB, both boards boot fine.
Tested-by: Guillaume La Roque
Guillaume
Le 17/10/2024 à 16:44, Neil Armstrong a écrit :
When trying to us
Hello Jonas and Marcin,
On 2024-10-17 22:00, Jonas Karlman wrote:
This series picks minimum required commits from v6.12-rc1-dts to add
initial support for the FriendlyElec NanoPC-T6 LTS variant.
The adc-uclass and rockchip-saradc drivers are adopted to support cases
when DM_REGULATOR is disable
On Fri, 18 Oct 2024 at 01:30, Jonas Karlman wrote:
>
> From: Marcin Juszkiewicz
>
> FriendlyELEC introduced a second version of NanoPC-T6 SBC.
>
> Create common include file and make NanoPC-T6 use it. Following
> patches will add LTS version.
>
> Signed-off-by: Marcin Juszkiewicz
> Link:
> http
On 17/10/24 23:24, Tom Rini wrote:
On Thu, Oct 17, 2024 at 11:59:13AM +0530, Aniket Limaye wrote:
From: Reid Tonking
This just provides some useful print outs and the proper config to
test the functionality. For J7200 boards that do not have efuse
burned in, the hardcoded 76 is needed
On Thu, Oct 17, 2024 at 04:12:02PM -0700, Simon Glass wrote:
> In principle bootstd can work without block devices, even if it does
> require driver model to be enabled in that case.
>
> The use of a 'depends on BLK' for BOOTSTD conflicts with the way 'BLK'
> is now defined, producing recursive e
Am 18. Oktober 2024 01:24:02 MESZ schrieb Simon Glass :
>We want to keep track of images which are loaded, or those which could
>perhaps be loaded. This will make it easier to manage memory allocation,
>as well as permit removal of the EFI set_efi_bootdev() hack.
Please, keep in mind that files
Am 18. Oktober 2024 05:05:08 MESZ schrieb Simon Glass :
>Hi Tom,
>
>On Thu, 17 Oct 2024 at 18:17, Tom Rini wrote:
>>
>> On Thu, Oct 17, 2024 at 05:23:19PM -0600, Simon Glass wrote:
>> > Hi Heinrich,
>> >
>> > On Mon, 30 Sept 2024 at 17:23, Heinrich Schuchardt
>> > wrote:
>> > >
>> > > On 26.0
Hi Heinrich
On 18/10/24 08:16, Heinrich Schuchardt wrote:
Building on 32-bit results in a build failure:
cmd/upl.c:75:51: warning: format ‘%lx’ expects argument of type
‘long unsigned int’, but argument 3 has type ‘size_t’
{aka ‘unsigned int’} [-Wformat=]
75 | printf("UPL ha
On Thu, Oct 17, 2024 at 05:23:54PM -0600, Simon Glass wrote:
> Add an image type for the extlinux.cfg file, which U-Boot supports
> reading.
>
> Signed-off-by: Simon Glass
> ---
>
> boot/image.c| 1 +
> include/image.h | 1 +
> 2 files changed, 2 insertions(+)
>
> diff --git a/boot/image.
On Thu, Oct 17, 2024 at 05:24:05PM -0600, Simon Glass wrote:
> The efiload_read_file() does similar things to a common function, so
> update it to use that instead.
>
> Signed-off-by: Simon Glass
This is probably the first of a few commits that should read
"bootmeth_efi:" not "efi:" I think.
-
On Thu, Oct 17, 2024 at 05:24:02PM -0600, Simon Glass wrote:
> We want to keep track of images which are loaded, or those which could
> perhaps be loaded. This will make it easier to manage memory allocation,
> as well as permit removal of the EFI set_efi_bootdev() hack.
Please stop calling it a
Hi Tom,
On Thu, 17 Oct 2024 at 18:17, Tom Rini wrote:
>
> On Thu, Oct 17, 2024 at 05:23:19PM -0600, Simon Glass wrote:
> > Hi Heinrich,
> >
> > On Mon, 30 Sept 2024 at 17:23, Heinrich Schuchardt
> > wrote:
> > >
> > > On 26.09.24 23:59, Simon Glass wrote:
> > > > Sandbox is not a real architect
At present the membuf implementation wastes a slot in the fifo so it can
detect the difference between a full and an empty buffer.
Add the option of supporting a boolean flag, if desired. For now it is
off.
The code-size penalty is non-zero, but the space penalty is small and
could be reduced on
Show the start in end in the comment. Comment a missing variable in
membuf_readline() and fix its line length.
Signed-off-by: Simon Glass
---
include/membuf.h | 6 --
lib/membuf.c | 3 ++-
2 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/include/membuf.h b/include/membuf.h
Add tests for the membuf implementation.
Signed-off-by: Simon Glass
---
test/lib/Makefile | 1 +
test/lib/membuf.c | 239 ++
2 files changed, 240 insertions(+)
create mode 100644 test/lib/membuf.c
diff --git a/test/lib/Makefile b/test/lib/Makefile
This should free the pointer, not the address of the pointer. Fix it.
Signed-off-by: Simon Glass
---
lib/membuf.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/membuf.c b/lib/membuf.c
index b13998ccdbd..695d16d051e 100644
--- a/lib/membuf.c
+++ b/lib/membuf.c
@@ -384,6
This uses a bool type so include the required header.
Signed-off-by: Simon Glass
---
include/membuf.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/membuf.h b/include/membuf.h
index 17616d5577e..636ed703ee7 100644
--- a/include/membuf.h
+++ b/include/membuf.h
@@ -9,6 +9,8 @@
#i
Rename the struct to match the function prefix and filenames.
Signed-off-by: Simon Glass
---
arch/sandbox/include/asm/serial.h | 2 +-
boot/bootmeth_extlinux.c | 2 +-
common/console.c | 24 +-
drivers/usb/emul/sandbox_keyb.c | 2 +-
include/asm-ge
Rename the C and header files to use the membuf basename, to match the
functions.
Add a MAINTAINERS entry while we are here.
Signed-off-by: Simon Glass
---
MAINTAINERS | 7 +++
include/asm-generic/global_data.h | 2 +-
include/{membuff.h => membuf.h} | 0
lib/Makefi
The double 'f' is not necessary and is a bit annoying as elsewhere in
U-Boot we use 'buf'. Rename all the functions before it is used more
widely.
Signed-off-by: Simon Glass
---
boot/bootmeth_extlinux.c| 6 +--
common/console.c| 32 ++---
drivers/serial/sandbox.
The membuff implementation curently has no tests. It also assumes that
head and tail can never correspond unless the buffer is empty.
This series provides a compile-time flag to support a 'full' flag. It
also adds some tests of the main routines.
The data structure is also renamed to membuf which
Building on 32-bit results in a build failure:
cmd/upl.c:75:51: warning: format ‘%lx’ expects argument of type
‘long unsigned int’, but argument 3 has type ‘size_t’
{aka ‘unsigned int’} [-Wformat=]
75 | printf("UPL handoff written to %lx size %lx\n", addr, abuf_size(&buf));
On Wed, 09 Oct 2024 20:26:59 +0530, Prasanth Babu Mantena wrote:
> The channel allocation and deallocation for dma copy was happening on every
> dma transfer. This is a overhead for transactions like NAND, which does
> page reads recursively for complete data.
>
> So, moving the dma allocation to
On Wed, 09 Oct 2024 16:34:47 +0530, Jayesh Choudhary wrote:
> J722S SOC have two variants as HS-FS and HS-SE.
> Add binman support for HS-SE variant.
>
>
Applied to u-boot/master, thanks!
--
Tom
On Mon, 07 Oct 2024 16:37:09 +0530, Bhavya Kapoor wrote:
> Add clk and device data which can be used by wkup_uart driver
> to configure clocks and PSC.
>
>
Applied to u-boot/master, thanks!
--
Tom
On Sat, 05 Oct 2024 22:14:29 +0300, Andy Shevchenko wrote:
> Move do_irqinfo() prototype to a header file, otherwise compiler is not
> happy:
>
> arch/x86/lib/interrupts.c:130:5: warning: no previous prototype for
> ‘do_irqinfo’ [-Wmissing-prototypes]
>
>
Applied to u-boot/master, thanks!
On Wed, 02 Oct 2024 09:41:33 +0200, Parth Pancholi wrote:
> AM62x devices now support CPU throttling based on thermal alerts
> with a Linux commit 10e7bfd8114c ("arm64: dts: ti: k3-am62: Enable
> CPU freq throttling on thermal alert"). However, this functionality
> does not work correctly across a
On Tue, 01 Oct 2024 10:56:47 +0100, Prabhakar wrote:
> It might happen that CONFIG_GZIP and CONFIG_LZO are enabled but we might
> have CONFIG_MULTI_DTB_FIT_LZO enabled in this case in the code path of
> uncompress_blob() we parse the gzip headers first which results in
> `Error: Bad gzipped data`
On Mon, 30 Sep 2024 12:20:36 +0200, Jan Kiszka wrote:
> Allow to use OF_OVERLAY_LIST also for the case that the overlays just
> need be built, e.g. when they will be picked up by binman as artifacts
> of the final U-Boot image. The IOT2050 boards have such a need when
> switching to OF_UPSTREAM.
>
There are no users of the blk_create_device() function outside the uclass.
Let's make it static. This will ensure that new block drivers will use
blk_create_devicef().
Signed-off-by: Heinrich Schuchardt
---
drivers/block/blk-uclass.c | 19 ---
include/blk.h | 17
The EFI block device driver is the only user of blk_create_device() outside
the block device uclass. Use blk_create_devicef() instead like other block
device drivers.
Signed-off-by: Heinrich Schuchardt
---
lib/efi_driver/efi_block_device.c | 8 +++-
1 file changed, 3 insertions(+), 5 deletio
By using blk_create_devicef() instead of blk_create_devicef() the driver
can be simplified and brought into line with other block device drivers.
Signed-off-by: Heinrich Schuchardt
---
drivers/block/rkmtd.c | 21 ++---
1 file changed, 2 insertions(+), 19 deletions(-)
diff --git
There should be a defined interface between block devices drivers and the
block class layer. Most drivers already use blk_create_devicef() to
generate block devices. The EFI block device driver and the Rockchip
rkmtd driver are the exceptions.
* Convert the remaining drivers to use blk_create_devi
The EFI boot-manager is the default method to boot EFI binaries.
We should be able to use it on the Sandbox.
* Enable EFI boot-manager bootmethod on the sandbox.
* Adjust unit tests to reflect the additional boot method.
Signed-off-by: Heinrich Schuchardt
Reviewed-by: Simon Glass
Reviewed-by: M
EFI variables can be stored in a file on the EFI system partition. If that
partition is missing we are writing two error messages per variable. This
is too noisy.
Just warn once about the missing ESP.
Signed-off-by: Heinrich Schuchardt
---
v2:
new patch
---
lib/efi_loader/efi_var_file.c
The EFI boot-manager is the default method to boot EFI binaries.
We should be able to use it on the Sandbox.
* Enable EFI boot-manager bootmethod on the sandbox.
* Adjust unit tests to reflect the additional boot method.
* Reduce the noisyness of the EFI sub-system if not ESP is available.
v2:
> Subject: Re: [PATCH V2] cpu: imx8_cpu: Avoid revision to corrupt
> device tree
>
> On Thu, Oct 17, 2024 at 4:08 AM Peng Fan (OSS)
> wrote:
> >
> > From: Peng Fan
> >
> > U-Boot device tree is padded just after U-Boot proper.
> > After the whole stuff loaded to DRAM space, the device tree area
On 10/18/24 01:23, Simon Glass wrote:
Hi Heinrich,
On Fri, 11 Oct 2024 at 08:27, Mattijs Korpershoek
wrote:
Hi Heinrich,
Thank you for the patch.
On mer., oct. 09, 2024 at 00:32, Heinrich Schuchardt
wrote:
The EFI boot-manager is the default method to boot EFI binaries.
We should be abl
On Thu, Oct 17, 2024 at 05:23:19PM -0600, Simon Glass wrote:
> Hi Heinrich,
>
> On Mon, 30 Sept 2024 at 17:23, Heinrich Schuchardt wrote:
> >
> > On 26.09.24 23:59, Simon Glass wrote:
> > > Sandbox is not a real architecture, but within U-Boot it is real enough.
> > > We should not need to preten
On Thu, Oct 17, 2024 at 05:22:52PM -0600, Simon Glass wrote:
> Hi Ilias,
>
> On Tue, 15 Oct 2024 at 07:32, Ilias Apalodimas
> wrote:
> >
> > On Tue, 15 Oct 2024 at 16:26, Simon Glass wrote:
> > >
> > > Hi Ilias,
> > >
> > > On Mon, 14 Oct 2024 at 22:28, Ilias Apalodimas
> > > wrote:
> > > >
> >
This series attempts to migrate all sunxi boards to use standard boot,
along with a text environment.
Changes in v4:
- Reword Kconfig
- Add a name for the bootflow
- Drop UUID_GPT_SYSTEM and UUID_GPT_ESP definitions
- Drop special case for ARM64's devicetree subdir
- Drop unwanted quotations and i
This series provides a way to keep track of the images used in bootstd,
including the type of each image.
At present this is sort-of handled by struct bootflow but in quite an
ad-hoc way. The structure has become quite large and is hard to query.
Future work will be able to reduce its size.
Ultim
Convert these boards to use a text environment.
For the boards check, the only differences are extra spaces after the
semicolons in 'dfu_alt_info_ram' and 'partitions', both of which are
permitted.
Add in the special boot command for old kernels, dropping the
unnecessary and confusing hex prefixe
Some boards use a CONFIG option to specify the value of this variable.
This is normally handled by efi_get_distro_fdt_name() but in the case
of sunxi this does not work, since 'soc' is sunxi, but the files are
in the allwinner directory.
Provide a work-around for this particular case.
Signed-off-
These are not needed as bootstd handles the boot now. Drop them.
Keep BOOTCMD_SUNXI_COMPAT for now since it does not relate to
distro boot.
Signed-off-by: Simon Glass
---
(no changes since v2)
Changes in v2:
- Keep BOOTCMD_SUNXI_COMPAT
include/configs/sunxi-common.h | 75 +---
Drop support for distroboot and move to using bootstd instead.
Signed-off-by: Simon Glass
---
(no changes since v2)
Changes in v2:
- Convert the other DISTRO_DEFAULTS in the Kconfig too
arch/arm/Kconfig | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/arch/arm/Kc
Add support for booting from a script loaded over FEL. This mirrors the
bootcmd_fel provided by distro boot.
Signed-off-by: Simon Glass
Reviewed-by: Mattijs Korpershoek
---
Changes in v4:
- Reword Kconfig
- Add a name for the bootflow
Changes in v2:
- Put the FEL bootmeth before all other glob
In principle bootstd can work without block devices, even if it does
require driver model to be enabled in that case.
The use of a 'depends on BLK' for BOOTSTD conflicts with the way 'BLK'
is now defined, producing recursive errors through multiple different
paths, one of which is this (with Links
When BLK is not enabled but BOOTSTD is, some features of standard boot
become unavailable. Add a check for this in the only site that is
currently apparent.
Signed-off-by: Simon Glass
---
(no changes since v1)
boot/bootdev-uclass.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/boot/bo
Some boards still don't enable BLK but we want to be able to at least
compile the code which relies on this. For example, bootstd includes
calls to blk_...() functions, albeit with a check for BLK so that the
code is eliminated by the compiler.
Reduce the scope of the BLK #ifdef to help with this.
Add a new 'bootstd images' command, which lists the images which have
been loaded.
Update some existing tests to use it. Provide some documentation about
images in general and this command in particular.
Use a more realistic kernel command-line to make the test easier to
follow.
Signed-off-by: S
Record images loaded by this bootmeth.
Signed-off-by: Simon Glass
---
boot/bootmeth_cros.c | 30 ++
1 file changed, 30 insertions(+)
diff --git a/boot/bootmeth_cros.c b/boot/bootmeth_cros.c
index 3e60fd5da07..10aefe046ca 100644
--- a/boot/bootmeth_cros.c
+++ b/boot/
When the buffer address is not set, say so, rather than showing an
address which looks very strange, on sandbox.
Signed-off-by: Simon Glass
---
cmd/bootflow.c | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/cmd/bootflow.c b/cmd/bootflow.c
index 3e9769e0d42..1c1146ce11e
Update this function to add the image to the list.
Signed-off-by: Simon Glass
---
boot/bootmeth-uclass.c | 15 ++-
boot/bootmeth_script.c | 4 ++--
include/bootmeth.h | 3 ++-
3 files changed, 18 insertions(+), 4 deletions(-)
diff --git a/boot/bootmeth-uclass.c b/boot/bootmet
Record images loaded by this bootmeth.
Signed-off-by: Simon Glass
---
boot/bootmeth_pxe.c | 14 +-
1 file changed, 13 insertions(+), 1 deletion(-)
diff --git a/boot/bootmeth_pxe.c b/boot/bootmeth_pxe.c
index 0643d280f21..3e5008ab317 100644
--- a/boot/bootmeth_pxe.c
+++ b/boot/bootm
Add a file-type parameter to this function and update all users. Add a
proper comment to the function which we are here.
This will allow tracking of the file types loaded by the extlinux
bootmeth.
Signed-off-by: Simon Glass
---
boot/bootmeth_extlinux.c | 5 +++--
boot/bootmeth_pxe.c | 5
If the filename cannot be set we should give up. Add the missing error
check.
Signed-off-by: Simon Glass
---
boot/bootmeth_efi.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/boot/bootmeth_efi.c b/boot/bootmeth_efi.c
index e1e378481b9..548d5f71b2a 100644
--- a/boot/bootmeth_efi.c
+++ b/
We want to record the type of each file which is loaded. Add an new
parameter for this, to the read_file() method. Update all users.
Make bootmeth_common_read_file() store information about the image that
is read.
Signed-off-by: Simon Glass
---
boot/bootmeth-uclass.c | 22 +++
The efiload_read_file() does similar things to a common function, so
update it to use that instead.
Signed-off-by: Simon Glass
---
boot/bootmeth_efi.c | 11 +++
1 file changed, 3 insertions(+), 8 deletions(-)
diff --git a/boot/bootmeth_efi.c b/boot/bootmeth_efi.c
index 2ad6d3b4ace..f3d
This function is exported, so document it in the header file. Drop the
duplicate comment in the C file.
Signed-off-by: Simon Glass
---
boot/pxe_utils.c | 10 --
1 file changed, 10 deletions(-)
diff --git a/boot/pxe_utils.c b/boot/pxe_utils.c
index d6a4b2cb859..4fd26524286 100644
--- a/
As a first step to recording images and where they came from, update
this function to do so, since it is used by two bootmeths
Signed-off-by: Simon Glass
---
boot/bootmeth-uclass.c | 17 -
boot/bootmeth_extlinux.c | 2 +-
boot/bootmeth_script.c | 3 ++-
include/bootmeth.h
We want to keep track of images which are loaded, or those which could
perhaps be loaded. This will make it easier to manage memory allocation,
as well as permit removal of the EFI set_efi_bootdev() hack.
Add a list of these, attached to the bootflow. For now the list is
empty.
Signed-off-by: Sim
This should really use an address rather than the buffer. Update it in
the command.
Signed-off-by: Simon Glass
---
cmd/bootflow.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/cmd/bootflow.c b/cmd/bootflow.c
index 5f656814b29..3e9769e0d42 100644
--- a/cmd/bootflow.c
+++
This test checks console output so should have the UTF_CONSOLE flag. Add
it.
Signed-off-by: Simon Glass
---
test/boot/bootflow.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/boot/bootflow.c b/test/boot/bootflow.c
index 8ea284098e7..efb82ee628b 100644
--- a/test/boot/
The mkimage call is done twice. Remove the duplicate.
Signed-off-by: Simon Glass
---
test/py/tests/test_ut.py | 2 --
1 file changed, 2 deletions(-)
diff --git a/test/py/tests/test_ut.py b/test/py/tests/test_ut.py
index 39aa1035e34..9166c8f6b6e 100644
--- a/test/py/tests/test_ut.py
+++ b/test/
This function assumes that all tests in a suite are being run. This
means that it can sometimes call dm_test_restore() when it should not.
The impact of this is that it is not possible, for example, to run
'ut bootstd bootflow_cros' and then check the state of bootstd
afterwards, since all devices
Some bootmeths package a commandline into the bootflow. Add support for
this as a file type.
Signed-off-by: Simon Glass
---
boot/image.c| 1 +
include/image.h | 1 +
2 files changed, 2 insertions(+)
diff --git a/boot/image.c b/boot/image.c
index eaba9eb4332..f75b1e7841c 100644
--- a/boot/i
Add an image type for logo images, which U-Boot supports reading within
the PXE code.
Signed-off-by: Simon Glass
---
boot/image.c| 1 +
include/image.h | 1 +
2 files changed, 2 insertions(+)
diff --git a/boot/image.c b/boot/image.c
index b13644b03dc..eaba9eb4332 100644
--- a/boot/image.c
Add an image type for EFI applications, which U-Boot supports reading.
Signed-off-by: Simon Glass
---
boot/image.c| 1 +
include/image.h | 1 +
2 files changed, 2 insertions(+)
diff --git a/boot/image.c b/boot/image.c
index cf16fb7fbf7..b13644b03dc 100644
--- a/boot/image.c
+++ b/boot/imag
Add an image type for the extlinux.cfg file, which U-Boot supports
reading.
Signed-off-by: Simon Glass
---
boot/image.c| 1 +
include/image.h | 1 +
2 files changed, 2 insertions(+)
diff --git a/boot/image.c b/boot/image.c
index abac254e026..cf16fb7fbf7 100644
--- a/boot/image.c
+++ b/boot
Use an alist for this data structure as it is somewhat simpler to
manage. This means that bootstd holds a simple list of bootflow structs
and can drop it at will, without chasing down lists.
Signed-off-by: Simon Glass
---
boot/bootdev-uclass.c | 47 +--
b
This list is only used by two functions, which can be updated to iterate
through the global list. Take this approach, which allows the bootdev
list to be dropped.
Overall this makes the code slightly more complicated, but will allow
moving the bootflow list into an alist
Signed-off-by: Simon Glas
Provide a function which is safe to call in the 'unbind' path, which
returns the bootstd priv data if available.
Signed-off-by: Simon Glass
---
boot/bootstd-uclass.c | 11 +++
include/bootstd.h | 17 +
2 files changed, 28 insertions(+)
diff --git a/boot/bootstd-ucla
This relates to more than just the bootdev, since there is a global list
of bootflows. Move the function to the bootstd file and rename it.
Signed-off-by: Simon Glass
---
boot/bootdev-uclass.c | 25 -
boot/bootstd-uclass.c | 25 +
cmd/bootflow.c
This relates to more than just the bootdev, since there is a global list
of bootflows. Move the function to the bootstd file and rename it.
Signed-off-by: Simon Glass
---
boot/bootdev-uclass.c | 19 +--
boot/bootstd-uclass.c | 15 +++
cmd/bootflow.c| 2 +-
i
In the bootflow tests the script bootmeth is bound with the name
bootmeth_script whereas the others have a name without the bootmeth_
prefix. Adjust it to be the same.
Signed-off-by: Simon Glass
---
test/boot/bootflow.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/bo
All the uclass functions for finding a device end up creating a uclass
if it doesn't exist. Add a function which instead returns NULL in this
case.
This is useful when in the 'unbind' path, since we don't want to undo
any unbinding which has already happened.
Signed-off-by: Simon Glass
---
dri
Unlike linked lists, it is inefficient to remove items from an alist,
particularly if it is large. If most items need to be removed, then the
time-complexity approaches O(n2).
Provide a way to do this efficiently, by working through the alist once
and copying elements down.
Signed-off-by: Simon G
Sometimes it is useful to empty the list without de-allocating any of
the memory used, e.g. when the list will be re-populated immediately
afterwards.
Add a new function for this.
Signed-off-by: Simon Glass
---
include/alist.h | 7 +++
lib/alist.c | 5 +
test/lib/alist.c | 42 +
Add some macros which permit easy iteration through an alist, similar to
those provided by the 'list' implementation.
Signed-off-by: Simon Glass
---
include/alist.h | 50
lib/alist.c | 7 +
test/lib/alist.c | 74 +++
Add a new function which returns the next element after the one
provided, if it exists in the list.
Signed-off-by: Simon Glass
---
include/alist.h | 34 +++
lib/alist.c | 21 +++
test/lib/alist.c | 52
Add a better description for this macro.
Signed-off-by: Simon Glass
---
include/alist.h | 7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/include/alist.h b/include/alist.h
index a727f1c7dfa..2c78ede201e 100644
--- a/include/alist.h
+++ b/include/alist.h
@@ -116,7 +116,12
Comment this macro so that it is clear how to use it.
Signed-off-by: Simon Glass
---
include/alist.h | 6 ++
1 file changed, 6 insertions(+)
diff --git a/include/alist.h b/include/alist.h
index 0343946bc4a..a727f1c7dfa 100644
--- a/include/alist.h
+++ b/include/alist.h
@@ -198,6 +198,12 @@
Update the function comment to note that this function can return NULL
if it runs out of memory.
Signed-off-by: Simon Glass
---
include/alist.h | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/include/alist.h b/include/alist.h
index 68d268f01af..0343946bc4a 100644
--- a/
Hi Tom,
I have kept back some of the coreboot patches until the docker change
is applied. It needs a newer version of coreboot.
- Simon
https://source.denx.de/u-boot/custodians/u-boot-dm/-/pipelines/22775
https://dev.azure.com/simon0972/u-boot/_build/results?buildId=69&view=results
The followin
Hi Rasmus,
On Wed, 9 Oct 2024 at 05:03, Rasmus Villemoes wrote:
>
> Simon Glass writes:
>
> > On Thu, 3 Oct 2024 at 08:10, Rasmus Villemoes wrote:
> >>
> >> drivers/serial/serial-uclass.c | 10 ++
> >> include/serial.h | 4 ++--
> >> 2 files changed, 8 insertions(+), 6 d
Hi Michal,
On Wed, 16 Oct 2024 at 00:00, Michal Simek wrote:
>
> Hi Simon,
>
> On 10/15/24 14:48, Simon Glass wrote:
> > Hi Michal,
> >
> > On Thu, 10 Oct 2024 at 07:03, Michal Simek wrote:
> >>
> >>
> >>
> >> On 10/9/24 23:14, Simon Glass wrote:
> >>> Hi Michal,
> >>>
> >>> On Wed, 9 Oct 2024 a
Hi Heinrich,
On Fri, 11 Oct 2024 at 08:27, Mattijs Korpershoek
wrote:
>
> Hi Heinrich,
>
> Thank you for the patch.
>
> On mer., oct. 09, 2024 at 00:32, Heinrich Schuchardt
> wrote:
>
> > The EFI boot-manager is the default method to boot EFI binaries.
> > We should be able to use it on the San
Hi Heinrich,
On Mon, 30 Sept 2024 at 17:23, Heinrich Schuchardt wrote:
>
> On 26.09.24 23:59, Simon Glass wrote:
> > Sandbox is not a real architecture, but within U-Boot it is real enough.
> > We should not need to pretend it is x86 or ARM anywhere in the code.
> >
> > Also we want to be able to
Hi Andre,
On Wed, 2 Oct 2024 at 18:46, Andre Przywara wrote:
>
> On Sun, 1 Sep 2024 16:27:34 -0600
> Simon Glass wrote:
>
> Hi Simon,
>
> > Convert these boards to use a text environment.
> >
> > For the boards check, the only differences are extra spaces after the
> > semicolons in 'dfu_alt_in
Hi Andre,
On Wed, 2 Oct 2024 at 12:03, Andre Przywara wrote:
>
> Hi Simon,
>
> On 01/09/2024 23:27, Simon Glass wrote:
> > Add support for booting from a script loaded over FEL. This mirrors the
> > bootcmd_fel provided by distro boot.
> >
> > Signed-off-by: Simon Glass
> > Reviewed-by: Mattijs
Hi Tom,
On Tue, 15 Oct 2024 at 13:05, Tom Rini wrote:
>
> On Tue, Oct 15, 2024 at 07:10:27AM -0600, Simon Glass wrote:
> > Hi Tom,
> >
> > On Mon, 14 Oct 2024 at 17:07, Tom Rini wrote:
> > >
> > > On Mon, Oct 14, 2024 at 03:55:05PM -0600, Simon Glass wrote:
> > > > Hi Tom,
> > > >
> > > > On Mon
Hi Ilias,
On Tue, 15 Oct 2024 at 07:32, Ilias Apalodimas
wrote:
>
> On Tue, 15 Oct 2024 at 16:26, Simon Glass wrote:
> >
> > Hi Ilias,
> >
> > On Mon, 14 Oct 2024 at 22:28, Ilias Apalodimas
> > wrote:
> > >
> > > Hi Simon,
> > >
> > > On Sat, 12 Oct 2024 at 00:23, Simon Glass wrote:
> > > >
>
+U-Boot Mailing List
On Thu, 17 Oct 2024 at 03:03, Osman wrote:
>
> Hello Simon,
>
> The problem is solved after enabling SPL_OPENSBI in my case, it would have
> been better if I knew the reason for it but I can't see how the linker list
> is related to opensbi configuration. Thank you for your
Hi Patrick,
On Wed, 16 Oct 2024 at 00:16, Patrick Rudolph
wrote:
>
> Allow to use BLOBLIST_TABLES on arm to store ACPI or other tables.
>
> Signed-off-by: Patrick Rudolph
> Cc: Tom Rini
> ---
> Changelog v9:
> - default to BLOBLIST_ALLOC on arm
> - Move default for BLOBLIST_SIZE_RELOC up
> ---
On Wed, 16 Oct 2024 at 00:16, Patrick Rudolph
wrote:
>
> Add a generic GICV2 driver that:
> - parses the DT and generates the ACPI MADT subtables
> - implement of_xlate() and allows irq_get_by_index() to return the
> correct interrupt mappings
>
> Map DT interrupts to ARM GIC interrupts as follo
1 - 100 of 232 matches
Mail list logo