On Sun, Jun 06, 2021 at 10:42:59PM +0200, Frederic Cambus wrote:
> On Wed, Jun 02, 2021 at 07:56:07PM -0600, Theo de Raadt wrote:
> > I am satisfied.
> > 
> > That is one architecture.  I suggest checking which others can use
> > the same treatment.
> 
> I was going to build i386 releases, but then realized we don't have
> efifb on this platform, so we don't need the fonts on RAMDISKs.
> 
> This leaves us with armv7 and arm64. Unfortunately I currently do not
> have access to hardware to build releases on, so I would need help on
> this front. Anyone willing to try building either version 1) or 2) of
> the diffs below (depending if we decide to add only the 16x32 font or
> both the 12x24 and 16x32)? Thanks in advance.

Here is an update on this, I've been kindly given access (thanks!) to an
arm64 system and successfully built a release with the diff below adding
both the 12x24 and 16x32 versions.

Result of running df -h on the mounted miniroot image produced:

/dev/vnd0a    18.9M   16.7M    2.3M    88%    /mnt

Let's skip armv7 for now, very few of the armv7 hardware we support even
has video output anyway.

So I'm now asking for OKs for the following diff taking care of amd64 and
arm64:

Index: sys/arch/amd64/conf/RAMDISK_CD
===================================================================
RCS file: /cvs/src/sys/arch/amd64/conf/RAMDISK_CD,v
retrieving revision 1.190
diff -u -p -r1.190 RAMDISK_CD
--- sys/arch/amd64/conf/RAMDISK_CD      27 Dec 2020 23:05:37 -0000      1.190
+++ sys/arch/amd64/conf/RAMDISK_CD      5 Jun 2021 21:45:58 -0000
@@ -20,6 +20,10 @@ option               MSDOSFS
 option         INET6
 option         CRYPTO
 
+option         FONT_SPLEEN8x16
+option         FONT_SPLEEN12x24
+option         FONT_SPLEEN16x32
+
 option         RAMDISK_HOOKS
 option         MINIROOTSIZE=7360
 
Index: sys/arch/arm64/conf/RAMDISK
===================================================================
RCS file: /cvs/src/sys/arch/arm64/conf/RAMDISK,v
retrieving revision 1.153
diff -u -p -r1.153 RAMDISK
--- sys/arch/arm64/conf/RAMDISK 29 May 2021 08:50:07 -0000      1.153
+++ sys/arch/arm64/conf/RAMDISK 5 Jun 2021 21:45:58 -0000
@@ -9,6 +9,10 @@ option         SMALL_KERNEL
 option         NO_PROPOLICE
 option         BOOT_CONFIG
 
+option         FONT_SPLEEN8x16
+option         FONT_SPLEEN12x24
+option         FONT_SPLEEN16x32
+
 option         RAMDISK_HOOKS
 option         MINIROOTSIZE=24576
 
Comments? OK?

Reply via email to