> From: Archimedes Gaviola <archimedes.gavi...@gmail.com>
> Date: Sat, 5 Sep 2020 17:29:59 +0800
> Cc: arm@openbsd.org
> Content-Type: text/plain; charset="UTF-8"
> 
> I don't yet have a patch to submit, but it looks like adding the generation
> > of a
> > simple /etc/boot.conf to /distrib/arm64/ramdisk/install.md, inside
> > md_installboot(), may solve the post-install problem for the Pinebook.
> > (Did you
> > have to add this on your Raspi system?)
> 
> 
> Hi Brett,
> 
> Yes I added the line "set tty fb0" in the /etc/boot.conf after I finished
> the installation so that every time I rebooted my system it would always
> display the boot messages until login prompts.

Basically what needs to be done for this is the inverse of what we do
on amd64: Check whether the installer ramdisk kernel uses the glass
console and ask a question that offers to use fb0 as the console.

To make this work, look at the md_consoleinfo() function in the
src/distrib/arm64/ramdisk/install.md file.  This needs to scan dmesg
for a wsdisplay0 device that is marked as "console" and then set CDEV
to "wsdisplay0" and CPROM to "fb0".

Reply via email to