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

Warner Losh <[email protected]>
Newsgroups gmane.os.freebsd.devel.arm
Message-ID <CANCZdfrbF+J_b9UGrj2CXwBdWm+k-KXgCXHh1jUua95Y6AK-uA@mail.gmail.com>
On Sun, Jun 8, 2025, 10:08 AM Tomek CEDRO <[email protected]> wrote:

> On Sun, Jun 8, 2025 at 5:10 PM Bjoern A. Zeeb
> <[email protected]> wrote:
> > Hi,
> > is there any good way to debug early kernel kabooms (or maybe efi loader
> > handover) without JTAG in place?
> > I have a SoC using U-Boot and often after a cold start it goes like
> > this:
> > ------------------------------------------------------------------------
> > Hit [Enter] to boot immediately, or any other key for command prompt.
> > Booting [/boot/kernel/kernel]...
> > Using DTB provided by EFI at 0x3e6c3000.
> > Loading splash ok
> > <reset>
> > ------------------------------------------------------------------------
> > Once it's been looping for a few iterations eventually it starts
> > booting.
> > Given there is zero output of the error, is there aything one could try
> > to do to debug this (remotely)?
> > I can netboot it and change laoder/kernel.
>
> DDB?
> https://docs.freebsd.org/en/books/developers-handbook/kerneldebug/#kerneldebug-online-ddb
>
> KGDB?
> https://docs.freebsd.org/en/books/developers-handbook/kerneldebug/#kerneldebug-online-gdb
>
> over the Serial Port? :-)
>

I think he's not even getting to the handoff. Best to toss out all
graphical things that are configured and see if that gets us to the handoff
point... get rid of the splash screen first of all..

Warner

-- 
> CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.