U-Boot v2022.07-rc2 regression: Bootmenu is completely broken

Tom Rini trini at konsulko.com
Mon May 23 21:29:04 CEST 2022


On Mon, May 23, 2022 at 09:27:37PM +0200, Pali Rohár wrote:
> Hello!
> 
> U-Boot Bootmenu in git master branch is completely broken and does not
> work. You can test it e.g. in qemu version of nokia n900 (see rx51.rst).
> 
> Bootmenu just prints garbage on both serial console and VGA video
> output and no option works.
> 
>   *** U-Boot Boot Menu ***
> 
>       A
>       I
>       E
>       U
>       U
> 
> 
>   Press UP/DOWN to move, ENTER to select, ESC/CTRL+C to quit
> 
> I bisected this issue and problem is in:
> 
>   a3d0aa87acbec4b983f54c24a6e7fd8e9e7b9728 is the first bad commit
>   commit a3d0aa87acbec4b983f54c24a6e7fd8e9e7b9728
>   Author: Masahisa Kojima <masahisa.kojima at linaro.org>
>   Date:   Thu Apr 28 17:09:41 2022 +0900
> 
>       bootmenu: update bootmenu_entry structure
> 
>       This is a preparation for succeeding addition of uefi boot
>       and distro boot menu entries into bootmenu.
>       The bootmenu_entry title is updated to u16 string because
>       uefi use u16 string. This commit also factors out the function
>       to prepare the entries generated by "bootmenu_x" U-Boot environment
>       variable.
> 
>       Signed-off-by: Masahisa Kojima <masahisa.kojima at linaro.org>
>       Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt at canonical.com>
> 
>   :040000 040000 37c91714b049be307521831c0470b3b6c8af2407 b3e865073a46108cccbf4dc0b401789ef0b05a2e M      cmd
> 
> Before that commit Bootmenu works fine and on serial console prints:
> 
>   *** U-Boot Boot Menu ***
> 
>       Attached kernel
>       Internal eMMC
>       External SD card
>       U-Boot boot order
>       U-Boot console
> 
> 
>   Press UP/DOWN to move, ENTER to select, ESC/CTRL+C to quit
> 
> 
> Could you please look at it and fix it?

To be clear, the bootmenu stuff is or is not supposed to be tested with
the current rx51 test script?

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20220523/163a50e7/attachment.sig>


More information about the U-Boot mailing list