Re: not working /dev/console

From: Warner Losh <imp_at_bsdimp.com>
Date: Mon, 16 Dec 2024 13:48:53 UTC
On Mon, Dec 16, 2024 at 6:34 AM Kurt Jaeger <pi@freebsd.org> wrote:

> Hi!
>
> > > > can you tell more on how to fix this ?
>
> > > > APU version apu1 lost their ability to have a serial console
> > > > in 14.2.
>
> > > hw.acpi.override_isa_irq_polarity=1
> > >
> > > in /boot/loader.conf
> > >
> > > changed the value after reboot, but the serial console is still lost.
> >
> > Are the serial ports there at all? APU needs hints now for that.
>
> They are not. As the hardware did not change (I did not unsolder
> some chips from the board 8-), I guess that's what I'm asking:
>
> How can I tell the kernel that the serials are still there ?
>
> The system boots via serial, and then stops displaying any
> kernel output.
>

APU is one of the latest machines that don't quite enumerate the
serial ports right via ACPI, so you'll need to add the following to
loader.conf

hint.uart.0.at="isa"
hint.uart.0.port="0x3F8"
hint.uart.0.irq="4"
hint.uart.1.at="isa"
hint.uart.1.port="0x2F8"
hint.uart.1.irq="3"

Warner