* Pull request for efi-2022-07-rc4-2
@ 2022-05-29 16:16 Heinrich Schuchardt
2022-05-30 0:32 ` Masahisa Kojima
0 siblings, 1 reply; 4+ messages in thread
From: Heinrich Schuchardt @ 2022-05-29 16:16 UTC (permalink / raw)
To: Tom Rini
Cc: U-Boot Mailing List, Bin Meng, Masahisa Kojima, Sean Anderson,
Vincent Stehlé
Dear Tom,
this replaces pull request for efi-2022-07-rc4.
The following changes since commit 4fe629d2e8bbda5f265e870d771b92be26e885f6:
Merge https://source.denx.de/u-boot/custodians/u-boot-riscv
(2022-05-27 08:50:42 -0400)
are available in the Git repository at:
https://source.denx.de/u-boot/custodians/u-boot-efi.git
tags/efi-2022-07-rc4-2
for you to fetch changes up to de8471a30eb399d46412b2037ba76cfa258c6115:
bootmenu: use utf-8 for menu title (2022-05-29 13:18:18 +0200)
Gitlab CI showed no issues:
https://source.denx.de/u-boot/custodians/u-boot-efi/-/pipelines/12157
----------------------------------------------------------------
Pull request for efi-2022-07-rc4-2
UEFI:
* fix a problem in loading an image from a short-path
* fix building the bootmenu command for CONFIG_EFI_LOADER=n
* correct the bootefi command syntax
* add firmware management protocol to the documentation
Others:
* bootmenu: fix bootmenu title handling
----------------------------------------------------------------
AKASHI Takahiro (2):
efi_loader: disk: add efi_disk_is_removable()
efi_loader: bootmgr: fix a problem in loading an image from a
short-path
Bin Meng (2):
doc: sandbox: Correct the memory size config option
doc: sandbox: Add a note of disabling LTO when using gdb
Heinrich Schuchardt (6):
disk: incorrect message in is_gpt_valid()
test: restore timeout after bootmenu unit test
doc/build/gcc: add more required packages
test: fix pylint warnings in test_efi_selftest.py
test: don't change console timeout in EFI selftest.
cmd/bootefi: correct command syntax
Masahisa Kojima (3):
bootmenu: U-Boot console is enabled as default
lib/charset: fix compile warnings
bootmenu: use utf-8 for menu title
Sean Anderson (2):
valgrind: Disable on Risc-V
doc: sandbox: Add additional valgrind documentation
Vincent Stehlé (2):
efi: fix documentation warnings
doc/efi: add firmware management protocol to the documentation
Kconfig | 1 +
boot/Kconfig | 7 +++
cmd/Kconfig | 10 ----
cmd/bootefi.c | 21 +++++---
cmd/bootmenu.c | 47 ++++++++--------
disk/part_efi.c | 4 +-
doc/api/efi.rst | 6 +++
doc/arch/sandbox.rst | 107
+++++++++++++++++++++++++++++++++----
doc/build/gcc.rst | 8 +--
doc/usage/cmd/bootefi.rst | 8 +--
include/charset.h | 2 +-
include/efi_loader.h | 3 ++
lib/efi_loader/efi_bootmgr.c | 107
+++++++++++++++++++++++++++++++++++--
lib/efi_loader/efi_disk.c | 27 ++++++++++
lib/efi_loader/efi_firmware.c | 10 ++--
test/py/tests/test_bootmenu.py | 66 +++++++++++------------
test/py/tests/test_efi_selftest.py | 91 ++++++++++---------------------
17 files changed, 359 insertions(+), 166 deletions(-)
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Pull request for efi-2022-07-rc4-2
2022-05-29 16:16 Pull request for efi-2022-07-rc4-2 Heinrich Schuchardt
@ 2022-05-30 0:32 ` Masahisa Kojima
2022-05-30 8:56 ` Pali Rohár
0 siblings, 1 reply; 4+ messages in thread
From: Masahisa Kojima @ 2022-05-30 0:32 UTC (permalink / raw)
To: Heinrich Schuchardt
Cc: Tom Rini, U-Boot Mailing List, Bin Meng, Sean Anderson,
Vincent Stehlé,
Ilias Apalodimas, Pali Rohár
Hi Heinrich,
On Mon, 30 May 2022 at 01:16, Heinrich Schuchardt <xypron.glpk@gmx.de> wrote:
>
> Dear Tom,
>
> this replaces pull request for efi-2022-07-rc4.
>
> The following changes since commit 4fe629d2e8bbda5f265e870d771b92be26e885f6:
>
> Merge https://source.denx.de/u-boot/custodians/u-boot-riscv
> (2022-05-27 08:50:42 -0400)
>
> are available in the Git repository at:
>
> https://source.denx.de/u-boot/custodians/u-boot-efi.git
> tags/efi-2022-07-rc4-2
>
> for you to fetch changes up to de8471a30eb399d46412b2037ba76cfa258c6115:
>
> bootmenu: use utf-8 for menu title (2022-05-29 13:18:18 +0200)
>
> Gitlab CI showed no issues:
> https://source.denx.de/u-boot/custodians/u-boot-efi/-/pipelines/12157
>
> ----------------------------------------------------------------
> Pull request for efi-2022-07-rc4-2
>
> UEFI:
>
> * fix a problem in loading an image from a short-path
> * fix building the bootmenu command for CONFIG_EFI_LOADER=n
> * correct the bootefi command syntax
> * add firmware management protocol to the documentation
>
> Others:
>
> * bootmenu: fix bootmenu title handling
>
> ----------------------------------------------------------------
> AKASHI Takahiro (2):
> efi_loader: disk: add efi_disk_is_removable()
> efi_loader: bootmgr: fix a problem in loading an image from a
> short-path
>
> Bin Meng (2):
> doc: sandbox: Correct the memory size config option
> doc: sandbox: Add a note of disabling LTO when using gdb
>
> Heinrich Schuchardt (6):
> disk: incorrect message in is_gpt_valid()
> test: restore timeout after bootmenu unit test
> doc/build/gcc: add more required packages
> test: fix pylint warnings in test_efi_selftest.py
> test: don't change console timeout in EFI selftest.
> cmd/bootefi: correct command syntax
>
> Masahisa Kojima (3):
> bootmenu: U-Boot console is enabled as default
> lib/charset: fix compile warnings
> bootmenu: use utf-8 for menu title
With your fix to the last patch, the bootmenu output
is as below.
*** U-Boot Boot Menu ***
Boot 1. kernel=bootm 0x82000000
Boot 2. kernel=bootm 0x83000000
Reset board=reset
U-Boot console
Press UP/DOWN to move, ENTER to select, ESC/CTRL+C to quit
The menu title includes both the title and command of "bootmenu_x".
Is it intended?
Thanks,
Masahias Kojima
>
> Sean Anderson (2):
> valgrind: Disable on Risc-V
> doc: sandbox: Add additional valgrind documentation
>
> Vincent Stehlé (2):
> efi: fix documentation warnings
> doc/efi: add firmware management protocol to the documentation
>
> Kconfig | 1 +
> boot/Kconfig | 7 +++
> cmd/Kconfig | 10 ----
> cmd/bootefi.c | 21 +++++---
> cmd/bootmenu.c | 47 ++++++++--------
> disk/part_efi.c | 4 +-
> doc/api/efi.rst | 6 +++
> doc/arch/sandbox.rst | 107
> +++++++++++++++++++++++++++++++++----
> doc/build/gcc.rst | 8 +--
> doc/usage/cmd/bootefi.rst | 8 +--
> include/charset.h | 2 +-
> include/efi_loader.h | 3 ++
> lib/efi_loader/efi_bootmgr.c | 107
> +++++++++++++++++++++++++++++++++++--
> lib/efi_loader/efi_disk.c | 27 ++++++++++
> lib/efi_loader/efi_firmware.c | 10 ++--
> test/py/tests/test_bootmenu.py | 66 +++++++++++------------
> test/py/tests/test_efi_selftest.py | 91 ++++++++++---------------------
> 17 files changed, 359 insertions(+), 166 deletions(-)
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Pull request for efi-2022-07-rc4-2
2022-05-30 0:32 ` Masahisa Kojima
@ 2022-05-30 8:56 ` Pali Rohár
2022-05-31 16:18 ` Tom Rini
0 siblings, 1 reply; 4+ messages in thread
From: Pali Rohár @ 2022-05-30 8:56 UTC (permalink / raw)
To: Masahisa Kojima
Cc: Heinrich Schuchardt, Tom Rini, U-Boot Mailing List, Bin Meng,
Sean Anderson, Vincent Stehlé,
Ilias Apalodimas
On Monday 30 May 2022 09:32:53 Masahisa Kojima wrote:
> Hi Heinrich,
>
> On Mon, 30 May 2022 at 01:16, Heinrich Schuchardt <xypron.glpk@gmx.de> wrote:
> >
> > Dear Tom,
> >
> > this replaces pull request for efi-2022-07-rc4.
> >
> > The following changes since commit 4fe629d2e8bbda5f265e870d771b92be26e885f6:
> >
> > Merge https://source.denx.de/u-boot/custodians/u-boot-riscv
> > (2022-05-27 08:50:42 -0400)
> >
> > are available in the Git repository at:
> >
> > https://source.denx.de/u-boot/custodians/u-boot-efi.git
> > tags/efi-2022-07-rc4-2
> >
> > for you to fetch changes up to de8471a30eb399d46412b2037ba76cfa258c6115:
> >
> > bootmenu: use utf-8 for menu title (2022-05-29 13:18:18 +0200)
> >
> > Gitlab CI showed no issues:
> > https://source.denx.de/u-boot/custodians/u-boot-efi/-/pipelines/12157
> >
> > ----------------------------------------------------------------
> > Pull request for efi-2022-07-rc4-2
> >
> > UEFI:
> >
> > * fix a problem in loading an image from a short-path
> > * fix building the bootmenu command for CONFIG_EFI_LOADER=n
> > * correct the bootefi command syntax
> > * add firmware management protocol to the documentation
> >
> > Others:
> >
> > * bootmenu: fix bootmenu title handling
> >
> > ----------------------------------------------------------------
> > AKASHI Takahiro (2):
> > efi_loader: disk: add efi_disk_is_removable()
> > efi_loader: bootmgr: fix a problem in loading an image from a
> > short-path
> >
> > Bin Meng (2):
> > doc: sandbox: Correct the memory size config option
> > doc: sandbox: Add a note of disabling LTO when using gdb
> >
> > Heinrich Schuchardt (6):
> > disk: incorrect message in is_gpt_valid()
> > test: restore timeout after bootmenu unit test
> > doc/build/gcc: add more required packages
> > test: fix pylint warnings in test_efi_selftest.py
> > test: don't change console timeout in EFI selftest.
> > cmd/bootefi: correct command syntax
> >
> > Masahisa Kojima (3):
> > bootmenu: U-Boot console is enabled as default
> > lib/charset: fix compile warnings
> > bootmenu: use utf-8 for menu title
>
> With your fix to the last patch, the bootmenu output
> is as below.
>
> *** U-Boot Boot Menu ***
>
> Boot 1. kernel=bootm 0x82000000
> Boot 2. kernel=bootm 0x83000000
> Reset board=reset
> U-Boot console
>
> Press UP/DOWN to move, ENTER to select, ESC/CTRL+C to quit
>
> The menu title includes both the title and command of "bootmenu_x".
> Is it intended?
Hello! This is really not intended.
Issue is in commit:
https://source.denx.de/u-boot/custodians/u-boot-efi/-/commit/de8471a30eb399d46412b2037ba76cfa258c6115
There is line:
184 + entry->title = strdup(option);
But it rather should be:
184 + entry->title = strndup(option, sep-option);
> Thanks,
> Masahias Kojima
>
> >
> > Sean Anderson (2):
> > valgrind: Disable on Risc-V
> > doc: sandbox: Add additional valgrind documentation
> >
> > Vincent Stehlé (2):
> > efi: fix documentation warnings
> > doc/efi: add firmware management protocol to the documentation
> >
> > Kconfig | 1 +
> > boot/Kconfig | 7 +++
> > cmd/Kconfig | 10 ----
> > cmd/bootefi.c | 21 +++++---
> > cmd/bootmenu.c | 47 ++++++++--------
> > disk/part_efi.c | 4 +-
> > doc/api/efi.rst | 6 +++
> > doc/arch/sandbox.rst | 107
> > +++++++++++++++++++++++++++++++++----
> > doc/build/gcc.rst | 8 +--
> > doc/usage/cmd/bootefi.rst | 8 +--
> > include/charset.h | 2 +-
> > include/efi_loader.h | 3 ++
> > lib/efi_loader/efi_bootmgr.c | 107
> > +++++++++++++++++++++++++++++++++++--
> > lib/efi_loader/efi_disk.c | 27 ++++++++++
> > lib/efi_loader/efi_firmware.c | 10 ++--
> > test/py/tests/test_bootmenu.py | 66 +++++++++++------------
> > test/py/tests/test_efi_selftest.py | 91 ++++++++++---------------------
> > 17 files changed, 359 insertions(+), 166 deletions(-)
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Pull request for efi-2022-07-rc4-2
2022-05-30 8:56 ` Pali Rohár
@ 2022-05-31 16:18 ` Tom Rini
0 siblings, 0 replies; 4+ messages in thread
From: Tom Rini @ 2022-05-31 16:18 UTC (permalink / raw)
To: Pali Rohár
Cc: Masahisa Kojima, Heinrich Schuchardt, U-Boot Mailing List,
Bin Meng, Sean Anderson, Vincent Stehlé,
Ilias Apalodimas
[-- Attachment #1: Type: text/plain, Size: 3242 bytes --]
On Mon, May 30, 2022 at 10:56:13AM +0200, Pali Rohár wrote:
> On Monday 30 May 2022 09:32:53 Masahisa Kojima wrote:
> > Hi Heinrich,
> >
> > On Mon, 30 May 2022 at 01:16, Heinrich Schuchardt <xypron.glpk@gmx.de> wrote:
> > >
> > > Dear Tom,
> > >
> > > this replaces pull request for efi-2022-07-rc4.
> > >
> > > The following changes since commit 4fe629d2e8bbda5f265e870d771b92be26e885f6:
> > >
> > > Merge https://source.denx.de/u-boot/custodians/u-boot-riscv
> > > (2022-05-27 08:50:42 -0400)
> > >
> > > are available in the Git repository at:
> > >
> > > https://source.denx.de/u-boot/custodians/u-boot-efi.git
> > > tags/efi-2022-07-rc4-2
> > >
> > > for you to fetch changes up to de8471a30eb399d46412b2037ba76cfa258c6115:
> > >
> > > bootmenu: use utf-8 for menu title (2022-05-29 13:18:18 +0200)
> > >
> > > Gitlab CI showed no issues:
> > > https://source.denx.de/u-boot/custodians/u-boot-efi/-/pipelines/12157
> > >
> > > ----------------------------------------------------------------
> > > Pull request for efi-2022-07-rc4-2
> > >
> > > UEFI:
> > >
> > > * fix a problem in loading an image from a short-path
> > > * fix building the bootmenu command for CONFIG_EFI_LOADER=n
> > > * correct the bootefi command syntax
> > > * add firmware management protocol to the documentation
> > >
> > > Others:
> > >
> > > * bootmenu: fix bootmenu title handling
> > >
> > > ----------------------------------------------------------------
> > > AKASHI Takahiro (2):
> > > efi_loader: disk: add efi_disk_is_removable()
> > > efi_loader: bootmgr: fix a problem in loading an image from a
> > > short-path
> > >
> > > Bin Meng (2):
> > > doc: sandbox: Correct the memory size config option
> > > doc: sandbox: Add a note of disabling LTO when using gdb
> > >
> > > Heinrich Schuchardt (6):
> > > disk: incorrect message in is_gpt_valid()
> > > test: restore timeout after bootmenu unit test
> > > doc/build/gcc: add more required packages
> > > test: fix pylint warnings in test_efi_selftest.py
> > > test: don't change console timeout in EFI selftest.
> > > cmd/bootefi: correct command syntax
> > >
> > > Masahisa Kojima (3):
> > > bootmenu: U-Boot console is enabled as default
> > > lib/charset: fix compile warnings
> > > bootmenu: use utf-8 for menu title
> >
> > With your fix to the last patch, the bootmenu output
> > is as below.
> >
> > *** U-Boot Boot Menu ***
> >
> > Boot 1. kernel=bootm 0x82000000
> > Boot 2. kernel=bootm 0x83000000
> > Reset board=reset
> > U-Boot console
> >
> > Press UP/DOWN to move, ENTER to select, ESC/CTRL+C to quit
> >
> > The menu title includes both the title and command of "bootmenu_x".
> > Is it intended?
>
> Hello! This is really not intended.
>
> Issue is in commit:
> https://source.denx.de/u-boot/custodians/u-boot-efi/-/commit/de8471a30eb399d46412b2037ba76cfa258c6115
>
> There is line:
> 184 + entry->title = strdup(option);
>
> But it rather should be:
> 184 + entry->title = strndup(option, sep-option);
Thanks Pali. Waiting for a re-spin.
--
Tom
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2022-05-31 16:18 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-29 16:16 Pull request for efi-2022-07-rc4-2 Heinrich Schuchardt
2022-05-30 0:32 ` Masahisa Kojima
2022-05-30 8:56 ` Pali Rohár
2022-05-31 16:18 ` Tom Rini
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.