From owner-freebsd-arm@FreeBSD.ORG Sun Jan 18 06:32:55 2015 Return-Path: Delivered-To: FreeBSD-arm@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 87339F32 for ; Sun, 18 Jan 2015 06:32:55 +0000 (UTC) Received: from vps.rulingia.com (vps.rulingia.com [103.243.244.15]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "vps.rulingia.com", Issuer "CAcert Class 3 Root" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 1CC09140 for ; Sun, 18 Jan 2015 06:32:51 +0000 (UTC) Received: from server.rulingia.com (c220-239-242-83.belrs5.nsw.optusnet.com.au [220.239.242.83]) by vps.rulingia.com (8.14.9/8.14.9) with ESMTP id t0I5qB0X001810 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Sun, 18 Jan 2015 16:52:46 +1100 (AEDT) (envelope-from peter@rulingia.com) X-Bogosity: Ham, spamicity=0.000000 Received: from server.rulingia.com (localhost.rulingia.com [127.0.0.1]) by server.rulingia.com (8.14.9/8.14.9) with ESMTP id t0I5q49f065411 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Sun, 18 Jan 2015 16:52:05 +1100 (AEDT) (envelope-from peter@server.rulingia.com) Received: (from peter@localhost) by server.rulingia.com (8.14.9/8.14.9/Submit) id t0I5q4Xa065410 for FreeBSD-arm@FreeBSD.org; Sun, 18 Jan 2015 16:52:04 +1100 (AEDT) (envelope-from peter) Date: Sun, 18 Jan 2015 16:52:04 +1100 From: Peter Jeremy To: FreeBSD-arm@FreeBSD.org Subject: Getting a video console on a RPi Message-ID: <20150118055204.GC23499@server.rulingia.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="LTeJQqWS0MN7I/qa" Content-Disposition: inline X-PGP-Key: http://www.rulingia.com/keys/peter.pgp User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Jan 2015 06:32:55 -0000 --LTeJQqWS0MN7I/qa Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable How do I configure a RPi to use the video console, instead of the serial console, as the primary (high-level) console? I'm running head r277291. So far I've (unsuccessfully) tried the following in loader.conf: console=3D"vidconsole" Rejected because the only available console is "uboot". hint.uart.0.flags=3D"0" No effect that I can see. hint.uart.0.disabled=3D"1" uart0 is reported as disabled but is still the console. There are boot_serial and boot_multi variables but they are all aimed at forcing either a serial console or multi-console mode. There doesn't seem to be any way to get out of multi-console mode. Looking at the dmesg and code, I have a nasty suspicion that the problem is related to the line: VT: init without driver. (with a later 'VT: initialize with new VT driver "fb".' line). I gather that, at the time cninit() is called, there's no driver attached to VT so it eliminates itself as a potential console. There's a vt_early_fb.c that sounds promising but it's only supported on the Freescale i.MX51 and i.MX53. Putting "kern.console=3Dttyv0" in /etc/sysctl.conf will flip the console for normal operation but is too late for single-user mode or rc script output. --=20 Peter Jeremy --LTeJQqWS0MN7I/qa Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQJ8BAEBCgBmBQJUu0oEXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRFRUIyOTg2QzMwNjcxRTc0RTY1QzIyN0Ux NkE1OTdBMEU0QTIwQjM0AAoJEBall6Dkogs0jvAP/37C6lsXGxXarXmAIM1pNs9e ishB9RSwPib1h/UnYPOYLIKo1+GpY/yGRZFKqDtqDC9OL4i1yZAgtYjrHZUlOzLy DJlYuQLsdNksJuZSU177VqP/Wg46DErxv8geuyfdwYZf6g+Vc++nTzHdGr1vXrk7 ivQ6Zg9xoLj+nbOYUy3zOEfC38UKVMkIDgGOJnlOquOjmI6R+VyesxI5DRN8aHY6 IpjwLQl8gGJfsm0KwhtCISwVtCitjDm38ytewKLOQYoN8iIuixuM3/BgJyH2zE55 h2NwK4sLm+CP4LDPmeyxCbjHyF9lt2d2FWsX6IzyPMNmqWcQ/6TEhUsyzkH3S8jf 1p5YSzMWfVwUx5WH3R39YzW4X8aYJQTr6t86fvsNY25XZs3s1O2DeSbYwKfeyeXe AG5CzYVNZV97LZ/WXDkc5Ttw4FHUP9+XeWCa97SxalYUiXkcjOjSpICxF4+99eBt x1MptdvswC/LL8ee6B1NmBjpri6cNne9rwot2q7ZRSCDptK6J2TzbEaFDA5W6OOf Zgav8J7jC2Ep9E4NSkO/TavekckI4JGiiZM6X4sI97zGSXWGrKWCoq18eDjJKSVb n2K8CXfFqFKVIQIMBwBDr8oP+qzfimlLfsLmeIb6PHYZSNadWH9yHXJj5WLiLk8j EB5JTIqj6JNvMuNo7fHp =3sKP -----END PGP SIGNATURE----- --LTeJQqWS0MN7I/qa--