From owner-freebsd-embedded@FreeBSD.ORG Fri Aug 9 16:27:24 2013 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 87EC832D for ; Fri, 9 Aug 2013 16:27:24 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from mail-pa0-f43.google.com (mail-pa0-f43.google.com [209.85.220.43]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 5EF1321FD for ; Fri, 9 Aug 2013 16:27:24 +0000 (UTC) Received: by mail-pa0-f43.google.com with SMTP id hz10so5113532pad.16 for ; Fri, 09 Aug 2013 09:27:18 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-gm-message-state:sender:subject:mime-version:content-type:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to; bh=b4ch61GE/3sytYJGhCP/HU5VJdcMICQucZTAwF8xqIc=; b=P722/2AvhrQrycwdGakiaERt4s+6uX8isI5V9E54J8nmqA5TMK55V9va3HY50MmwSY fBO2qPHxNtmZ6hFSESq2/aB/30LJpv+/B9OMpZRtvHNHoplZHlL6TNvB/dr9kROLgUTM LShxNSbXKZoxKG/dowL9a8BPhawy6R18QFKWlRqyFtykFge9n34xtceiGA+yvN255/iJ ANffsYAqPGGruGdzTd3tr8draHMzABSJjQCS2xNoo/TxEV6RTf4IZ51dYZWprP8cHNku 3oGnEDazS1yDvm5TFILsf8yAaLRTJjXIaaNF5l4rOZKBayySRl73+1aC3QMf76YjN0G+ 40Xg== X-Gm-Message-State: ALoCoQmwBWXsNefTuF06rG3ZRb4u0UlqiAxrCaiZLuohVp6cJjoKNw3nhlsTsad0R5WB3cbdtefi X-Received: by 10.68.134.65 with SMTP id pi1mr12413351pbb.59.1376065638455; Fri, 09 Aug 2013 09:27:18 -0700 (PDT) Received: from 53.imp.bsdimp.com (50-78-194-198-static.hfc.comcastbusiness.net. [50.78.194.198]) by mx.google.com with ESMTPSA id yk8sm6093034pab.11.2013.08.09.09.27.16 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 09 Aug 2013 09:27:17 -0700 (PDT) Sender: Warner Losh Subject: Re: Using ttyu2 as Serial console -- how could I specify this to boot and loader? Mime-Version: 1.0 (Apple Message framework v1085) Content-Type: text/plain; charset=us-ascii From: Warner Losh X-Priority: 3 (Normal) In-Reply-To: <87215828.20130809124922@serebryakov.spb.ru> Date: Fri, 9 Aug 2013 10:27:15 -0600 Content-Transfer-Encoding: quoted-printable Message-Id: <1E175195-5A2F-417A-B989-BF7DB66979DA@bsdimp.com> References: <87215828.20130809124922@serebryakov.spb.ru> To: lev@FreeBSD.org X-Mailer: Apple Mail (2.1085) Cc: freebsd-embedded@FreeBSD.org X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Aug 2013 16:27:24 -0000 On Aug 9, 2013, at 2:49 AM, Lev Serebryakov wrote: > Hello, Freebsd-current. >=20 > 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=3D"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