bootmenu regression

Simon Glass sjg at chromium.org
Mon Jun 12 23:17:43 CEST 2023


Hi Pali,

On Sun, 11 Jun 2023 at 14:11, Pali Rohár <pali at kernel.org> wrote:
>
> On Saturday 10 June 2023 16:31:06 Mark Kettenis wrote:
> > Hi Simon,
> >
> > In commit 32bab0eae51 you added a
> >
> >   #define ansi 0
> >
> > and put the code that positions the cursor to print the "Hit any key
> > to stop autoboot" message behind an
> >
> >   if (ansi)
> >
> > condition.  As a result that message is now printed in whatever place
> > the cursor happens to be, which happens to be the last menu entry that
> > gets printed, making that menu option confusing.
> >
> > The commit message makes no mention of any intended side-effect of the
> > change, so am I right assuming that this is debugging code that
> > accidentally made it out of your tree?
>
> Hello! This is known issue and it broke support for bootmenu (tested on
> nokia n900). I reported it month ago, but there was no reaction for it.
> So now I sent a revert patches, to make bootmenu work again. I guess
> that this issue can be later fixed properly.

If I understand the issue correctly I sent a patch to restore the ANSI codes.

Regards,
Simon


More information about the U-Boot mailing list