Add support for specifying the parameters needed for capsule
generation through a config file, instead of passing them through
command-line. Parameters for more than a single capsule file can be
specified, resulting in generation of multiple capsules through a
single invocation of the command.
Add logic to generate capsules through a config file while testing the
EFI capsule update functionality. Capsule generation through config
file is enabled on the sandbox variant.
Signed-off-by: Sughosh Ganu
---
test/py/tests/test_efi_capsule/capsule_gen_binman.dts | 2 ++
Support has been added to the mkeficapsule tool to generate capsules
by parsing the capsule parameters through a config file. Add a config
file for generating capsules. These capsules will be used for testing
the capsule update feature on sandbox platform.
Enable generation of capsules through
The UEFI capsule can now be generate by specifying the capsule
parameters through a config file. Additionally, the capsules can be
generated as part of u-boot build, through binman. Highlight these
changes in the documentation.
Signed-off-by: Sughosh Ganu
---
doc/develop/uefi/uefi.rst | 70
Add support for generating capsules through a config file. Multiple
capsules can be generated through a single invocation of the
mkeficapsule tool, where the capsule parameters are fetched from the
config file.
The format of the config file pretty similar to the one used by the
capsule
On 2023/11/20 21:15, Marek Vasut wrote:
> On 11/20/23 11:45, Hector Martin wrote:
>>
>>
>> On 2023/11/20 11:09, Marek Vasut wrote:
>>> On 11/20/23 00:17, Shantur Rathore wrote:
On Sun, Nov 19, 2023 at 8:08 PM Marek Vasut wrote:
>
> On 10/27/23 01:16, Hector Martin wrote:
>>
On Tue, Nov 21, 2023 at 04:38:12AM +0100, Heinrich Schuchardt wrote:
> On 11/21/23 02:29, AKASHI Takahiro wrote:
> > Carve EFI boot manager related code out of do_bootefi_image() in order
> > to move boot manager specific code into library directory in the later
> > commit.
> >
> > Signed-off-by:
Hi Heinrich,
On Tue, Nov 21, 2023 at 04:31:40AM +0100, Heinrich Schuchardt wrote:
> On 11/21/23 02:29, AKASHI Takahiro wrote:
> > Replicate some code and re-organize do_bootefi() into three cases, which
> > will be carved out as independent functions in the next two commits.
> >
> >
On 11/21/23 02:29, AKASHI Takahiro wrote:
Carve EFI boot manager related code out of do_bootefi_image() in order
to move boot manager specific code into library directory in the later
commit.
Signed-off-by: AKASHI Takahiro
---
cmd/bootefi.c | 43 ---
On 11/21/23 02:29, AKASHI Takahiro wrote:
Replicate some code and re-organize do_bootefi() into three cases, which
will be carved out as independent functions in the next two commits.
Signed-off-by: AKASHI Takahiro
---
cmd/Kconfig | 15 ++--
cmd/bootefi.c| 82
U-Boot typically sets up its malloc() pool near the top of memory. On
ARM64 systems this can result in an SMBIOS table above 4GB which is
not supported by SMBIOSv2.
Work around this problem by automatically choosing an address below 4GB
(but as high as possible), if needed.
Tell efi_loader about
Dear Tom,
The following changes since commit 24ca49b33af98d54d6cd2e845f071f6565345ffd:
Prepare v2024.01-rc3 (2023-11-20 08:43:46 -0500)
are available in the Git repository at:
https://source.denx.de/u-boot/custodians/u-boot-efi.git
tags/efi-2024-01-rc4
for you to fetch changes up to
Hi Shantur,
On Sun, 19 Nov 2023 at 15:47, Shantur Rathore wrote:
>
> Hi Simon,
>
> On Sun, Nov 19, 2023 at 7:12 PM Simon Glass wrote:
> >
> > When a USB device is unbound, it causes any bootflows attached to it to
> > be removed, via a call to bootdev_clear_bootflows() from
> >
Hi Heinrich,
On Mon, 20 Nov 2023 at 18:10, Heinrich Schuchardt
wrote:
>
> Since commit 041840eeeb12 ("efi: Split out table-listing code into a new
> file") the `efi tables` command prints random numbers instead of GUIDs.
> %pUl expects a pointer to a GUID not to a string.
>
> Set maintainer for
Hi Heinrich,
On Mon, 20 Nov 2023 at 19:11, Heinrich Schuchardt wrote:
>
> On 10/15/23 04:45, Simon Glass wrote:
> > When the SMBIOS table is written to an address above 4GB a 32-bit table
> > address is not large enough.
> >
> > Use an SMBIOS3 table in that case.
> >
> > Note that we cannot use
Hi Ilias,
On Mon, 20 Nov 2023 at 14:02, Ilias Apalodimas
wrote:
>
> Hi Simon,
>
> On Sat, 18 Nov 2023 at 23:06, Simon Glass wrote:
> >
> > Move the argument decoding to the caller, to avoid needing to pass the
> > command-line arguments.
> >
> > Add a function comment while we are here.
> >
> >
On Mon, 20 Nov 2023 at 13:16, Tom Rini wrote:
>
> Enable CONFIG_SYSINFO_SMBIOS and populate the nodes so that Linux can
> eventually display this information
>
> Signed-off-by: Tom Rini
> ---
> Posting this as this was the easiest platform for me to test some SMBIOS
> related patches on and I
On Mon, 20 Nov 2023 at 13:22, Alexander Gendin wrote:
>
> Both FS_LOADER and SPL_FS_LOADER have the same menu prompt.
> To avoid confusion, make prompt for SPL_FS_LOADER different.
>
> Signed-off-by: Alexander Gendin
> ---
> drivers/misc/Kconfig | 2 +-
> 1 file changed, 1 insertion(+), 1
Hi Tom,
On Sun, 19 Nov 2023 at 13:28, Tom Rini wrote:
>
> On Sun, Nov 19, 2023 at 12:09:07PM -0700, Simon Glass wrote:
> > Hi Tom,
> >
> > On Fri, 17 Nov 2023 at 15:52, Tom Rini wrote:
> > >
> > > With commit 3609e1dc ("dts: automatically build necessary .dtb files")
> > > we now have logic
Hi Heinrich,
On Mon, 20 Nov 2023 at 18:20, Heinrich Schuchardt wrote:
>
> On 10/8/23 23:36, Simon Glass wrote:
> > When the malloc() region extends beyond 4GB on ARM we may end up with
> > an SMBIOS table in that region.
> >
> > Add support for writing an SMBIOS3 table, which supports a 64-bit
>
Hi Tom,
On Mon, 20 Nov 2023 at 08:26, Tom Rini wrote:
>
> On Mon, Nov 20, 2023 at 08:49:32AM -0600, Andrew Davis wrote:
> > On 11/17/23 4:40 PM, Tom Rini wrote:
> > > On Fri, Nov 17, 2023 at 04:38:28PM -0600, Andrew Davis wrote:
> > >
> > > > This is a hacky way to have this file included in all
On Mon, 20 Nov 2023 at 13:17, Tom Rini wrote:
>
> The correct symbol to enable to have SMBIOS populate fields based on the
> device tree is SYSINFO_SMBIOS and not SMBIOS_SYSINFO.
>
> Signed-off-by: Tom Rini
> ---
> lib/Kconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
Hi,
On Mon, 13 Nov 2023 at 11:09, Chiu, Chasel wrote:
>
>
> Hi Ard,
>
> Please see my reply below inline.
>
> Thanks,
> Chasel
>
>
> > -Original Message-
> > From: Ard Biesheuvel
> > Sent: Saturday, November 11, 2023 3:04 AM
> > To: Chiu, Chasel
> > Cc: Simon Glass ;
On 10/15/23 04:45, Simon Glass wrote:
When the SMBIOS table is written to an address above 4GB a 32-bit table
address is not large enough.
Use an SMBIOS3 table in that case.
Note that we cannot use efi_allocate_pages() since this function has
nothing to do with EFI. There is no equivalent
With sandbox, when U-Boot is waiting for input it syncs the video
display, since presumably the user has finished typing.
Now that cyclic is used for video syncing, we can drop this. Cyclic
will automatically call the video_idle() function when idle.
Signed-off-by: Simon Glass
---
Changes in
Now that sandbox is using cyclic for video, it trips the 1us time
limit. Updating the sandbox display often takes 20ms or more.
Increase the limit to 100ms to avoid a warning.
Signed-off-by: Simon Glass
---
(no changes since v1)
common/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff
At present U-Boot flushes the cache after every character written to
ths display. This makes the command-line slower, to the point that
pasting in long strings can fail.
Add a cyclic function to sync the display every 10ms. Enable this by
default.
Allow much longer times for sandbox, since the
The cyclic subsystem is currently enabled either in all build phases
or none. For tools this should not be enabled, but since lib/shc256.c
and other files include watchdog.h in the host build, we must make
sure that it is not enabled there.
Add an SPL symbol so that there is more control of this.
Rather than using a static variable, use the video device's private
data to remember when the last video sync was completed. This allows
each display to have its own sync and avoids using static data in SPL.
Signed-off-by: Simon Glass
---
(no changes since v1)
drivers/video/video-uclass.c |
Now that U-Boot has a background-processing feature, it is possible to
reduce the amount of 'foreground' syncing of the display. At present
this happens quite often.
Foreground syncing blocks all other processing, sometimes for 10ms or
more. When pasting commands into U-Boot over the UART, this
Some code moved from cmd/bootefi.c is actually necessary only for "bootefi
" command (starting an image manually loaded by a user using U-Boot
load commands or other methods (like JTAG debugger).
The code will never been opted out as unused code by a compiler which
doesn't know how EFI boot
Now it is clear that the feature actually depends on efi interfaces,
not "bootefi" command. efi_set_bootdev() will automatically be nullified
if necessary efi component is disabled.
Signed-off-by: AKASHI Takahiro
---
net/tftp.c | 10 --
1 file changed, 4 insertions(+), 6 deletions(-)
At this point, EFI boot manager interfaces is fully independent from
bootefi command. So just rename the configuration parameter.
Signed-off-by: AKASHI Takahiro
---
boot/Makefile | 2 +-
cmd/Kconfig | 4 ++--
cmd/efidebug.c | 4 ++--
lib/efi_loader/Kconfig | 2 +-
Now it is clear that the feature actually depends on efi interfaces,
not "bootefi" command. efi_set_bootdev() will automatically be nullified
if necessary efi component is disabled.
Signed-off-by: AKASHI Takahiro
---
fs/fs.c | 7 +++
1 file changed, 3 insertions(+), 4 deletions(-)
diff
Now that efi_loader subsystem provides interfaces that are equivalent
with bootefi command, we can replace command invocations with APIs.
Signed-off-by: AKASHI Takahiro
---
boot/Kconfig| 4 ++--
boot/Makefile | 2 +-
boot/bootm_os.c | 31
Carve binary execution code out of do_bootefi_image() in order to move
binary-execution specific code into library directory in the later
commit.
Signed-off-by: AKASHI Takahiro
---
cmd/bootefi.c | 46 --
1 file changed, 32 insertions(+), 14
Now it is clear that the command actually depends on interfaces,
not "bootefi bootmgr" command.
Signed-off-by: AKASHI Takahiro
---
cmd/efidebug.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/cmd/efidebug.c b/cmd/efidebug.c
index 78ef16f4cb5c..e10fbf891a42 100644
---
In the prior commits, interfaces for executing EFI binary and boot manager
were carved out. Move them under efi_loader directory so that they can
be called from other places without depending on bootefi command.
Only efi_selftest-related code will be left in bootefi.c.
Signed-off-by: AKASHI
Device paths allocated in bootefi_test_prepare() will be immediately
consumed by do_efi_selftest() and there is no need to keep them for later
use. Introduce test-specific varialbles to make it easier to move other
bootmgr functions into library directory in the next commit.
Signed-off-by: AKASHI
Carve EFI boot manager related code out of do_bootefi_image() in order
to move boot manager specific code into library directory in the later
commit.
Signed-off-by: AKASHI Takahiro
---
cmd/bootefi.c | 43 ---
1 file changed, 24 insertions(+), 19
Replicate some code and re-organize do_bootefi() into three cases, which
will be carved out as independent functions in the next two commits.
Signed-off-by: AKASHI Takahiro
---
cmd/Kconfig | 15 ++--
cmd/bootefi.c| 82 ++--
Unfold do_bootefi_image() into do_bootefi() in order to make it easier
to re-organize do_bootefi() in the next commit.
Signed-off-by: AKASHI Takahiro
---
cmd/bootefi.c | 101 ++
1 file changed, 37 insertions(+), 64 deletions(-)
diff --git
This patch set is motivated by the discussion[1] regarding
CONFIG_BOOTEFI_BOOTMGR option.
At the end, bootefi.c will be decomposed into two parts, one for
providing the command itself and one for implementing helper functions.
EFI_LOADER will now be available without CONFIG_CMDLINE or
On 10/8/23 23:36, Simon Glass wrote:
When the malloc() region extends beyond 4GB on ARM we may end up with
an SMBIOS table in that region.
Add support for writing an SMBIOS3 table, which supports a 64-bit
address.
Note that this problem does not happen on x86 since it requires the
tables to be
Since commit 041840eeeb12 ("efi: Split out table-listing code into a new
file") the `efi tables` command prints random numbers instead of GUIDs.
%pUl expects a pointer to a GUID not to a string.
Set maintainer for file cmd/efi_comon.c.
Fixes: 041840eeeb12 ("efi: Split out table-listing code into
We currently use an outdated format 32-bit format for SMBIOS tables.
So we must allocate SMBIOS tables below 4 GiB.
Signed-off-by: Heinrich Schuchardt
---
lib/efi_loader/efi_smbios.c | 16 +---
1 file changed, 9 insertions(+), 7 deletions(-)
diff --git a/lib/efi_loader/efi_smbios.c
From: Vignesh Raghavendra
J7200 ROM supports booting from xSPI compliant flash. Detect if ROM
booted from xSPI bootmode and map that to BOOT_DEVICE_SPI
Signed-off-by: Vignesh Raghavendra
Signed-off-by: Pratyush Yadav
---
arch/arm/mach-k3/include/mach/j721e_spl.h | 3 ++-
Hi Simon,
On Sat, 18 Nov 2023 at 23:06, Simon Glass wrote:
>
> Move the argument decoding to the caller, to avoid needing to pass the
> command-line arguments.
>
> Add a function comment while we are here.
>
> Signed-off-by: Simon Glass
> Reviewed-by: Tom Rini
> ---
>
> (no changes since v1)
On Sun, Nov 19, 2023 at 11:23:41AM -0700, Simon Glass wrote:
> Hi Tom,
>
> On Sun, 19 Nov 2023 at 08:59, Tom Rini wrote:
> >
> > On Sun, Nov 19, 2023 at 07:46:39AM -0700, Simon Glass wrote:
[snip]
> > > diff --git a/include/cyclic.h b/include/cyclic.h
> > > index 44ad3cb6b803..d3b368dd90df
On Sat, 18 Nov 2023 at 23:05, Simon Glass wrote:
>
> The declaration of U_BOOT_ENV_LOCATION() uses a different #ifdef
> condition from the code it calls. Use the same condition to avoid a
> build warning if CONFIG_CMD_SAVEENV is disabled.
>
> Signed-off-by: Simon Glass
> Reviewed-by: Tom Rini
Both FS_LOADER and SPL_FS_LOADER have the same menu prompt.
To avoid confusion, make prompt for SPL_FS_LOADER different.
Signed-off-by: Alexander Gendin
---
drivers/misc/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig
index
The correct symbol to enable to have SMBIOS populate fields based on the
device tree is SYSINFO_SMBIOS and not SMBIOS_SYSINFO.
Signed-off-by: Tom Rini
---
lib/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/Kconfig b/lib/Kconfig
index 19649517a39b..d47df6bb1cfa
Enable CONFIG_SYSINFO_SMBIOS and populate the nodes so that Linux can
eventually display this information
Signed-off-by: Tom Rini
---
Posting this as this was the easiest platform for me to test some SMBIOS
related patches on and I needed to populate the nodes so I could check
things in
On Mon, Nov 20, 2023 at 08:49:32AM -0600, Andrew Davis wrote:
> On 11/17/23 4:40 PM, Tom Rini wrote:
> > On Fri, Nov 17, 2023 at 04:38:28PM -0600, Andrew Davis wrote:
> >
> > > This is a hacky way to have this file included in all source files that
> > > include common.h, instead just include
> From: Heinrich Schuchardt
> Date: Mon, 20 Nov 2023 15:56:36 +0100
>
> Compiling with CONFIG_USB_XHCI_PCI and CONFIG_PCI=n results in
>
> usb/host/xhci-pci.c:48:(.text.xhci_pci_probe+0x44):
> undefined reference to `dm_pci_write_config32
>
> Add the missing Kconfig dependency.
>
>
Compiling with CONFIG_USB_XHCI_PCI and CONFIG_PCI=n results in
usb/host/xhci-pci.c:48:(.text.xhci_pci_probe+0x44):
undefined reference to `dm_pci_write_config32
Add the missing Kconfig dependency.
Signed-off-by: Heinrich Schuchardt
---
drivers/usb/host/Kconfig | 2 +-
1 file changed,
On 11/17/23 4:40 PM, Tom Rini wrote:
On Fri, Nov 17, 2023 at 04:38:28PM -0600, Andrew Davis wrote:
This is a hacky way to have this file included in all source files that
include common.h, instead just include from the files that need it.
Signed-off-by: Andrew Davis
---
Hey all,
It's release day and here is -rc3. I think I've been good about taking
only fixes in to -master at this point an pushing everything else out fo
-next. I'm going to do my best to continue that pattern, and there are a
few fixes out there still that need to come in.
In terms of a
On Mon, 13 Nov 2023 11:51:02 +0600, Nikita Yushchenko wrote:
> SCSI device scan code was executing TEST UNIT READY command without
> explicitly setting dma direction in struct scsi_cmd to NONE, so command
> was passed to driver with dma direction set to DMA_FROM_DEVICE,
> inherited from older
On Mon, Nov 20, 2023 at 01:34:22PM +0100, Heinrich Schuchardt wrote:
> On 11/20/23 12:28, Andy Shevchenko wrote:
> > On Sat, Nov 18, 2023 at 11:52:48PM +0100, Heinrich Schuchardt wrote:
...
> > (Side question: Do you use --histogram when preparing patches? if no, try
> > it.)
>
> Thanks for
Hello Andrew, All,
Le 17/11/2023 à 19:43, Andrew Davis a écrit :
> On 11/17/23 8:27 AM, Romain Naour wrote:
>> Hello Andrew, All,
>>
>> Le 03/11/2023 à 20:20, Andrew Davis a écrit :
>>> On 11/3/23 2:06 PM, Nishanth Menon wrote:
On 13:51-20231103, Andrew Davis wrote:
> On 11/2/23 7:38 PM,
On 11/20/23 12:28, Andy Shevchenko wrote:
On Sat, Nov 18, 2023 at 11:52:48PM +0100, Heinrich Schuchardt wrote:
ACPI tables may comprise either RSDT, XSDT, or both. The current code fails
to check the presence of the RSDT table before accessing it. This leads to
an exception if the RSDT table is
On 11/20/23 11:45, Hector Martin wrote:
On 2023/11/20 11:09, Marek Vasut wrote:
On 11/20/23 00:17, Shantur Rathore wrote:
On Sun, Nov 19, 2023 at 8:08 PM Marek Vasut wrote:
On 10/27/23 01:16, Hector Martin wrote:
This series is the first of a few bundles of USB fixes we have been
On Sat, Nov 18, 2023 at 11:52:48PM +0100, Heinrich Schuchardt wrote:
> ACPI tables may comprise either RSDT, XSDT, or both. The current code fails
> to check the presence of the RSDT table before accessing it. This leads to
> an exception if the RSDT table is not provided.
>
> The XSDT table
On 2023/11/20 11:09, Marek Vasut wrote:
> On 11/20/23 00:17, Shantur Rathore wrote:
>> On Sun, Nov 19, 2023 at 8:08 PM Marek Vasut wrote:
>>>
>>> On 10/27/23 01:16, Hector Martin wrote:
This series is the first of a few bundles of USB fixes we have been
carrying downstream on the
device tree overlay support requires fdtoverlay_addr_r to be set
before
~~
Invalid fdtoverlay_addr_r for loading overlays
after
~
Retrieving file: /boot/overlay/rtc-ds3231.dtbo
Signed-off-by: John Clark
---
include/configs/starfive-visionfive2.h | 1 +
1 file changed, 1
Hi Simon,
On Sat, Nov 11, 2023 at 05:43:37PM -0700, Simon Glass wrote:
> Some of the Python tests are a pain because they don't reset the TPM
> state before each test. Driver model tests do this, so convert the
> tests to C.
The python tests restart u-boot though. The problem is a bit different
On Fri, 2023-11-17 at 14:42 -0500, Tom Rini wrote:
> On Thu, Oct 26, 2023 at 09:32:20AM +0200, Marcel Ziswiler wrote:
>
> > From: Marcel Ziswiler
> >
> > This fixes a regression in the eMMC fast boot mode case where the buffer
> > was missing 464 bytes.
> >
> > The code figures out how many
68 matches
Mail list logo