Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Dec 2024 10:35:02 +0200
From:      Daniel Braniss <danny@cs.huji.ac.il>
To:        Kurt Jaeger <pi@freebsd.org>
Cc:        Warner Losh <imp@bsdimp.com>, Freebsd-stable List <stable@freebsd.org>
Subject:   Re: not working /dev/console
Message-ID:  <3F04B2DC-1AA9-4663-BCDE-3EFD0B01527E@cs.huji.ac.il>
In-Reply-To: <Z1Xk_SpEZL4XVm2S@fc.opsec.eu>
References:  <DBE9ABDF-092F-4198-9E14-DF2E0AAB3638@cs.huji.ac.il> <Z0bcQvu36o-rqsJn@fc.opsec.eu> <CAA78225-E266-4CBE-807D-B72D9BCE58E8@cs.huji.ac.il> <CANCZdfoQtYLP62rWO6oTHg4ajbV7SK=ehq2jkv1o0ZX8_im0jw@mail.gmail.com> <365D866D-F7D2-4DB6-AFFB-B4C3829D8467@cs.huji.ac.il> <CANCZdfoiJE6-aKKFhafXPMY8FOg4nEBmhf2hN%2BcJXzMVrkyiqg@mail.gmail.com> <Z1Wb6vdZ8V6Pmf4J@fc.opsec.eu> <ED9E83DE-FA40-4685-B073-E5BF5A29B1CB@cs.huji.ac.il> <Z1XbDqEzeI_Qvf8I@fc.opsec.eu> <CANCZdfrrpdaR_4Zyj3WgZTj7EcXT-YzdaeD%2BM-0ucUTDs9Aucg@mail.gmail.com> <Z1Xk_SpEZL4XVm2S@fc.opsec.eu>

next in thread | previous in thread | raw e-mail | index | archive | help
hi Kurt & Warner:
im trying on a PCengines apu2 fbsd 14.2, but have the same symptoms, no =
console.
dmesg|grep uart -> nothing.
after some trials the best i have is:
	the bsd-menu showing=20
		5. Cons: Serial
and only the kernel messages.

no /dev/console, no /dev/ttyu0, but can remote login.

btw, all works fine with a 13.1 kernel

> On 8 Dec 2024, at 20:27, Kurt Jaeger <pi@freebsd.org> wrote:
>=20
> Hi!
>=20
>> So, there should be a line like
>>=20
>> uart0: console (115200,n,8,1)
>>=20
>> if not, then hw.uart.console isn't making it through.
>=20
> So somehow the uarts are not found during initialization ?
>=20
>> If you are using a custom kernel,
>=20
> It's the generic kernel.
>=20
>> you can add that to a file and add 'env
>> /path/to/file/on/build/host' to the kernel config to wire that into =
the
>> kernel, should the boot path make it hard to set an initial =
environment
>> otherwise. Also, DHCP should still try to grab /boot/loader.conf from =
the
>> tftp/http server as well. That might also be something that needs =
debugging
>> (or hopefully just correct config).
>=20
> I'll investigate further.
>=20
> --=20
> pi@FreeBSD.org         +49 171 3101372                  Now what ?




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3F04B2DC-1AA9-4663-BCDE-3EFD0B01527E>