> On 9 Dec 2024, at 10:35, Daniel Braniss <[email protected]> wrote:
>
> 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
> 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 <[email protected]> wrote:
>>
>> Hi!
>>
>>> So, there should be a line like
>>>
>>> uart0: console (115200,n,8,1)
>>>
>>> if not, then hw.uart.console isn't making it through.
>>
>> So somehow the uarts are not found during initialization ?
>>
>>> If you are using a custom kernel,
>>
>> It's the generic kernel.
>>
>>> 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).
>>
>> I'll investigate further.
I made a diff from booting 13.1 and 14.2 with boot_verbose, and this stands out:
(only in the 13.1)
-pcib0: allocated type 4 (0x3f8-0x3f8) for rid 0 of uart0
-pcib0: allocated type 4 (0x3f8-0x3f8) for rid 0 of uart0
-uart0: <16550 or compatible> at port 0x3f8 irq 4 flags 0x10 on isa0
-pcib0: allocated type 4 (0x3f8-0x3f8) for rid 0 of uart0
-uart0: console (115200,n,8,1)
-ioapic0: routing intpin 4 (ISA IRQ 4) to lapic 2 vector 53
-uart0: fast interrupt
-uart0: PPS capture mode: DCD
-pcib0: allocated type 4 (0x2f8-0x2f8) for rid 0 of uart1
-pcib0: allocated type 4 (0x2f8-0x2f8) for rid 0 of uart1
-uart1: <16550 or compatible> at port 0x2f8 irq 3 on isa0
-pcib0: allocated type 4 (0x2f8-0x2f8) for rid 0 of uart1
-ioapic0: routing intpin 3 (ISA IRQ 3) to lapic 3 vector 53
-uart1: fast interrupt
-uart1: PPS capture mode: DCD
does this help?
cheers,
danny
>>
>> --
>> [email protected] +49 171 3101372 Now what ?
>