Re: PUC rewrite

From: Marcel Moolenaar <xcllnt_at_mac.com>
Date: Fri, 25 Jul 2008 20:17:55 -0700
On Jul 25, 2008, at 7:36 PM, Mike Tancsa wrote:
> At 10:23 PM 7/25/2008, Marcel Moolenaar wrote:
>
>> My best guess is that the hints are interfering. Try
>> renumbering the hints. The number does not matter for
>> the console.
>
> You are right, if I add
>
> hint.uart.4.at="isa"
> hint.uart.4.port="0x3F8"
> hint.uart.4.flags="0x10"
> hint.uart.4.irq="4"

*snip*

> uart0: <Non-standard ns8250 class UART with FIFOs> port  
> 0xe500-0xe507 irq 10 at device 14.0 on pci0
> uart0: [FILTER]
> uart1: <16550 or compatible> at port 0x2f8-0x2ff irq 3 on isa0
> uart1: [FILTER]
> uart4: <16550 or compatible> at port 0x3f8-0x3ff irq 4 flags 0x10 on  
> isa0
> uart4: [FILTER]
>
>
> However, serial console at bootup stops at

*snip*

Ok, I was a bit too imprecise. While the number
doesn't matter, it has to be 0, 1, 2 or 3 for
the flags to take effect for the console.
So, change 4 to 3 and it should work.

Alternatively, remove the flags hint for uart.4
and instead set the following in /boot/loader.conf:

	hw.uart.console="io:0x3f8"

This is the new and improved way of setting up
a serial console. Besides the io tag it allows
setting baudrate and much more. But for you,
this should be enough.

HTH,

-- 
Marcel Moolenaar
xcllnt_at_mac.com
Received on Sat Jul 26 2008 - 01:17:56 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:33 UTC