Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Jul 2008 20:17:55 -0700
From:      Marcel Moolenaar <xcllnt@mac.com>
To:        Mike Tancsa <mike@sentex.net>
Cc:        freebsd-current@freebsd.org
Subject:   Re: PUC rewrite
Message-ID:  <FA836BB3-735C-458C-82FD-D479FA489242@mac.com>
In-Reply-To: <200807260235.m6Q2ZwcS022585@lava.sentex.ca>
References:  <200806061259.m56CxhdR045603@lava.sentex.ca> <018816ED-8FF3-4834-AD17-59637C87D30D@mac.com> <200807252129.m6PLTwhs021540@lava.sentex.ca> <2F58935E-6439-45A1-9CB3-894FC577ECF2@mac.com> <200807260213.m6Q2D22u022503@lava.sentex.ca> <7A311400-66E1-43F0-8B5F-22658D5276A0@mac.com> <200807260235.m6Q2ZwcS022585@lava.sentex.ca>

next in thread | previous in thread | raw e-mail | index | archive | help

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@mac.com






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?FA836BB3-735C-458C-82FD-D479FA489242>