Using ttyu2 as Serial console -- how could I specify this to boot and loader?

Warner Losh imp at bsdimp.com
Fri Aug 9 16:27:24 UTC 2013


On Aug 9, 2013, at 2:49 AM, Lev Serebryakov wrote:

> Hello, Freebsd-current.
> 
> I want to use ttyu0 on my Intel D2500CC motherboard (it has 4 serial ports,
> but looks like ports COM1 and COM2 are on headers and I don't have place for
> connector on my small case, and COM3 and COM4 are on I/O shield of MoBo) as
> my boot console -- is it possible? "-h" option to boot and
> console="comconsole" in loader.conf doesn't specify port to use, and
> device.hints (where I could set flags to uart devices) are used by kernel
> only...

You need to set the flags hint on the com port you want to be the console.

Warner



More information about the freebsd-embedded mailing list