Getting a video console on a RPi

Peter Jeremy peter at rulingia.com
Sun Jan 18 06:32:55 UTC 2015


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="vidconsole"
  Rejected because the only available console is "uboot".
hint.uart.0.flags="0"
  No effect that I can see.
hint.uart.0.disabled="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=ttyv0" in /etc/sysctl.conf will flip the console
for normal operation but is too late for single-user mode or rc script
output.

-- 
Peter Jeremy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 949 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-arm/attachments/20150118/ead7867d/attachment.sig>


More information about the freebsd-arm mailing list