Date: Sun, 18 Jan 2015 16:52:04 +1100 From: Peter Jeremy <peter@rulingia.com> To: FreeBSD-arm@FreeBSD.org Subject: Getting a video console on a RPi Message-ID: <20150118055204.GC23499@server.rulingia.com>
next in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150118055204.GC23499>