Re: Loading splash ok -> <reset>, how to debug?

From: Warner Losh <imp_at_bsdimp.com>
Date: Mon, 09 Jun 2025 15:00:16 UTC
On Mon, Jun 9, 2025 at 8:27 AM Bjoern A. Zeeb
<bzeeb-lists@lists.zabbadoz.net> wrote:
>
> On Sun, 8 Jun 2025, Warner Losh wrote:
>
> > On Sun, Jun 8, 2025, 8:16 PM Bjoern A. Zeeb <bzeeb-lists@lists.zabbadoz.net>
> > wrote:
> >
> >> On Sun, 8 Jun 2025, Mark Millard wrote:
> >>
> >>> Bjoern A. Zeeb <bzeeb-lists_at_lists.zabbadoz.net> wrote on
> >>> Date: Mon, 09 Jun 2025 01:29:50 UTC :
> >>>
> >>>> . . .
> >>>>
> >>>> I turned beastie back on and by default it thinks it's booting using
> >>>> video; when I toggle through to serial it seems to boot; now that
> >>>> might be the accidental "working now".
> >>>>
> >>>> Where does that menu get it's values from compared to the console
> >>>> variable?
> >>>>
> >>>> Not toggling the menu I see:
> >>>> console=efi,comconsole
> >>>
> >>> Despite the lack of updated to the various man loader* pages,
> >>> comconsole was removed/replaced with eficom in (2023):
> >>
> >> Oh that's funny...
> >>
> >> I have a feeling a few setenv calls in that code need to become
> >> conditionals...  or there is a mapping somewhere ...  otherwise
> >> comconsole makes little sense...
> >>
> >
> > Comconsole today is just an alias on aarch64...
> >
> > Also some versions seem to use space separaters while others use a
> >> comma...
> >>
> >
> > I'd love to fix that. Do you have an example.
>
> # grep -r 'setenv(' stand/ | egrep -E '(efi |console )'
> stand/efi/loader/main.c:                                setenv("console", "efi comconsole", 1);
> stand/efi/loader/main.c:                                setenv("console", "comconsole efi", 1);

Yea, these likely need to be updated...    I'll add it to my backlog list.

> stand/i386/loader/main.c:                       setenv("console", "comconsole vidconsole", 1);
> stand/i386/loader/main.c:                       setenv("console", "vidconsole comconsole", 1);

These are fine. And show we should have split efi into efivideo and
eficom instead of adding graphics to efi console.

Any luck finding where the splash definition was coming from? Or other booting?

Warner