CVS commit: [netbsd-9] src/sys/arch/zaurus
Module Name:src Committed By: martin Date: Sat Nov 16 16:59:15 UTC 2019 Modified Files: src/sys/arch/zaurus/conf [netbsd-9]: GENERIC INSTALL src/sys/arch/zaurus/stand/zbsdmod [netbsd-9]: zbsdmod.c src/sys/arch/zaurus/zaurus [netbsd-9]: machdep.c Log Message: Pull up following revision(s) (requested by tsutsui in ticket #431): sys/arch/zaurus/conf/GENERIC: revision 1.89 sys/arch/zaurus/stand/zbsdmod/zbsdmod.c: revision 1.12 sys/arch/zaurus/conf/INSTALL: revision 1.40 sys/arch/zaurus/zaurus/machdep.c: revision 1.45 Make zaurus kernels use symbol tables loaded by the bootloader. Now COPY_SYMTAB is no longer necessary and it saves ~500kbytes of GENERIC, so re-enable options DDB (i.e. revert GENERIC rev 1.85). Also fix zbsdmod.o (a kernel loader for Zaurus Linux) to load symbols at a proper address as the MI sys/lib/libsa/loadfile_elf32.c does. No particular comment on port-zaurus@: https://mail-index.netbsd.org/port-zaurus/2019/11/11/msg86.html Note zbsdmod.c (derived from OpenBSD/zaurus) assumed that the loaded kernels had "esym" variable at the top of its data section and implicitly overwrote it with the address of loaded symbol tables. OpenBSD/zaurus kernels used the esym value written by the zbsdmod.o to initialize ksyms(4) on startup, but we will avoid such implicit MD interface between the bootloader and kernels (though we don't bother to add a symbol address value into bootinfo but just assume symbols are loaded at end[] of a loaded kernel, as per the MI libsa loadfile() implementation). Worth to pullup to both netbsd-8 and netbsd-9. To generate a diff of this commit: cvs rdiff -u -r1.86.2.1 -r1.86.2.2 src/sys/arch/zaurus/conf/GENERIC cvs rdiff -u -r1.39 -r1.39.4.1 src/sys/arch/zaurus/conf/INSTALL cvs rdiff -u -r1.9.34.1 -r1.9.34.2 \ src/sys/arch/zaurus/stand/zbsdmod/zbsdmod.c cvs rdiff -u -r1.42 -r1.42.2.1 src/sys/arch/zaurus/zaurus/machdep.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/arch/zaurus/conf/GENERIC diff -u src/sys/arch/zaurus/conf/GENERIC:1.86.2.1 src/sys/arch/zaurus/conf/GENERIC:1.86.2.2 --- src/sys/arch/zaurus/conf/GENERIC:1.86.2.1 Mon Nov 4 14:34:28 2019 +++ src/sys/arch/zaurus/conf/GENERIC Sat Nov 16 16:59:15 2019 @@ -1,4 +1,4 @@ -# $NetBSD: GENERIC,v 1.86.2.1 2019/11/04 14:34:28 martin Exp $ +# $NetBSD: GENERIC,v 1.86.2.2 2019/11/16 16:59:15 martin Exp $ # # GENERIC machine description file # @@ -150,11 +150,10 @@ options WSDISPLAY_COMPAT_RAWKBD # can options DIAGNOSTIC # internal consistency checks #options DEBUG #options VERBOSE_INIT_ARM # verbose bootstraping messages -#options DDB # in-kernel debugger -#options DDB_HISTORY_SIZE=100 # Enable history editing in DDB +options DDB # in-kernel debugger +options DDB_HISTORY_SIZE=100 # Enable history editing in DDB #options KGDB #makeoptions DEBUG="-g" # compile full symbol table -makeoptions COPY_SYMTAB=1 # Kernel root file system and dump configuration. Index: src/sys/arch/zaurus/conf/INSTALL diff -u src/sys/arch/zaurus/conf/INSTALL:1.39 src/sys/arch/zaurus/conf/INSTALL:1.39.4.1 --- src/sys/arch/zaurus/conf/INSTALL:1.39 Thu Feb 7 20:56:27 2019 +++ src/sys/arch/zaurus/conf/INSTALL Sat Nov 16 16:59:15 2019 @@ -1,4 +1,4 @@ -# $NetBSD: INSTALL,v 1.39 2019/02/07 20:56:27 rin Exp $ +# $NetBSD: INSTALL,v 1.39.4.1 2019/11/16 16:59:15 martin Exp $ # # INSTALL config file (GENERIC with memory disk root) # @@ -59,7 +59,6 @@ options RASOPS_SMALL no options DIAGNOSTIC no options DDB no options DDB_HISTORY_SIZE -no makeoptions COPY_SYMTAB no options PXA2X0_DMAC_DMOVER_CONCURRENCY Index: src/sys/arch/zaurus/stand/zbsdmod/zbsdmod.c diff -u src/sys/arch/zaurus/stand/zbsdmod/zbsdmod.c:1.9.34.1 src/sys/arch/zaurus/stand/zbsdmod/zbsdmod.c:1.9.34.2 --- src/sys/arch/zaurus/stand/zbsdmod/zbsdmod.c:1.9.34.1 Sun Nov 3 11:36:56 2019 +++ src/sys/arch/zaurus/stand/zbsdmod/zbsdmod.c Sat Nov 16 16:59:15 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: zbsdmod.c,v 1.9.34.1 2019/11/03 11:36:56 martin Exp $ */ +/* $NetBSD: zbsdmod.c,v 1.9.34.2 2019/11/16 16:59:15 martin Exp $ */ /* $OpenBSD: zbsdmod.c,v 1.7 2005/05/02 02:45:29 uwe Exp $ */ /* @@ -139,8 +139,8 @@ elf32bsdboot(void) if (maxv < posv) maxv = posv; } - if (IS_DATA(phdr[i]) && IS_BSS(phdr[i])) { - posv += phdr[i].p_memsz; + if (IS_BSS(phdr[i])) { + posv += phdr[i].p_memsz - phdr[i].p_filesz; if (maxv < posv) maxv = posv; } Index: src/sys/arch/zaurus/zaurus/machdep.c diff -u src/sys/arch/zaurus/zaurus/machdep.c:1.42 src/sys/arch/zaurus/zaurus/machdep.c:1.42.2.1 --- src/sys/arch/zaurus/zaurus/machdep.c:1.42 Tue Jul 16 14:41:49 2019 +++ src/sys/arch/zaurus/zaurus/machdep.c Sat Nov 16 16:59:15 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: machdep.c,v 1.42 2019/07/16 14:41:49 skrll Exp $ */ +/* $NetBSD: machdep.c,v 1.42.2.1 2019/11/16 16:59:15 martin Exp $ */
CVS commit: [netbsd-9] src/sys/arch/zaurus
Module Name:src Committed By: martin Date: Sat Nov 16 16:59:15 UTC 2019 Modified Files: src/sys/arch/zaurus/conf [netbsd-9]: GENERIC INSTALL src/sys/arch/zaurus/stand/zbsdmod [netbsd-9]: zbsdmod.c src/sys/arch/zaurus/zaurus [netbsd-9]: machdep.c Log Message: Pull up following revision(s) (requested by tsutsui in ticket #431): sys/arch/zaurus/conf/GENERIC: revision 1.89 sys/arch/zaurus/stand/zbsdmod/zbsdmod.c: revision 1.12 sys/arch/zaurus/conf/INSTALL: revision 1.40 sys/arch/zaurus/zaurus/machdep.c: revision 1.45 Make zaurus kernels use symbol tables loaded by the bootloader. Now COPY_SYMTAB is no longer necessary and it saves ~500kbytes of GENERIC, so re-enable options DDB (i.e. revert GENERIC rev 1.85). Also fix zbsdmod.o (a kernel loader for Zaurus Linux) to load symbols at a proper address as the MI sys/lib/libsa/loadfile_elf32.c does. No particular comment on port-zaurus@: https://mail-index.netbsd.org/port-zaurus/2019/11/11/msg86.html Note zbsdmod.c (derived from OpenBSD/zaurus) assumed that the loaded kernels had "esym" variable at the top of its data section and implicitly overwrote it with the address of loaded symbol tables. OpenBSD/zaurus kernels used the esym value written by the zbsdmod.o to initialize ksyms(4) on startup, but we will avoid such implicit MD interface between the bootloader and kernels (though we don't bother to add a symbol address value into bootinfo but just assume symbols are loaded at end[] of a loaded kernel, as per the MI libsa loadfile() implementation). Worth to pullup to both netbsd-8 and netbsd-9. To generate a diff of this commit: cvs rdiff -u -r1.86.2.1 -r1.86.2.2 src/sys/arch/zaurus/conf/GENERIC cvs rdiff -u -r1.39 -r1.39.4.1 src/sys/arch/zaurus/conf/INSTALL cvs rdiff -u -r1.9.34.1 -r1.9.34.2 \ src/sys/arch/zaurus/stand/zbsdmod/zbsdmod.c cvs rdiff -u -r1.42 -r1.42.2.1 src/sys/arch/zaurus/zaurus/machdep.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-9] src/sys/arch/zaurus/conf
Module Name:src Committed By: martin Date: Mon Nov 4 14:34:28 UTC 2019 Modified Files: src/sys/arch/zaurus/conf [netbsd-9]: GENERIC Log Message: Pull up following revision(s) (requested by tsutsui in ticket #396): sys/arch/zaurus/conf/GENERIC: revision 1.88 Put back options WSDISPLAY_COMPAT_RAWKBD. It's required by Xorg server. Should be pulled up to netbsd-9. To generate a diff of this commit: cvs rdiff -u -r1.86 -r1.86.2.1 src/sys/arch/zaurus/conf/GENERIC Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/arch/zaurus/conf/GENERIC diff -u src/sys/arch/zaurus/conf/GENERIC:1.86 src/sys/arch/zaurus/conf/GENERIC:1.86.2.1 --- src/sys/arch/zaurus/conf/GENERIC:1.86 Fri Jul 26 07:09:47 2019 +++ src/sys/arch/zaurus/conf/GENERIC Mon Nov 4 14:34:28 2019 @@ -1,4 +1,4 @@ -# $NetBSD: GENERIC,v 1.86 2019/07/26 07:09:47 martin Exp $ +# $NetBSD: GENERIC,v 1.86.2.1 2019/11/04 14:34:28 martin Exp $ # # GENERIC machine description file # @@ -143,7 +143,7 @@ options WS_KERNEL_FG=WSCOL_GREEN # compatibility to other console drivers options WSDISPLAY_COMPAT_PCVT # emulate some ioctls options WSDISPLAY_COMPAT_USL # wsconscfg VT handling -# options WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes +options WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes # Development and Debugging options
CVS commit: [netbsd-9] src/sys/arch/zaurus/conf
Module Name:src Committed By: martin Date: Mon Nov 4 14:34:28 UTC 2019 Modified Files: src/sys/arch/zaurus/conf [netbsd-9]: GENERIC Log Message: Pull up following revision(s) (requested by tsutsui in ticket #396): sys/arch/zaurus/conf/GENERIC: revision 1.88 Put back options WSDISPLAY_COMPAT_RAWKBD. It's required by Xorg server. Should be pulled up to netbsd-9. To generate a diff of this commit: cvs rdiff -u -r1.86 -r1.86.2.1 src/sys/arch/zaurus/conf/GENERIC Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-9] src/sys/arch/zaurus/dev
Module Name:src Committed By: martin Date: Mon Nov 4 14:29:26 UTC 2019 Modified Files: src/sys/arch/zaurus/dev [netbsd-9]: zrc.c Log Message: Pull up following revision(s) (requested by tsutsui in ticket #395): sys/arch/zaurus/dev/zrc.c: revision 1.10 Fix build errors with options WSDISPLAY_COMPAT_RAWKBD. - Add missing RAWKEY_* macro definitions (taken from OpenBSD) - Explicitly include "opt_wsdisplay_compat.h" for #ifdef WSDISPLAY_COMPAT_RAWKBD conditionals. (it is not properly pulled at least in netbsd-8) https://mail-index.netbsd.org/port-zaurus/2019/11/02/msg83.html Should be pulled up to netbsd-8 and netbsd-9. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.9.42.1 src/sys/arch/zaurus/dev/zrc.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-9] src/sys/arch/zaurus/dev
Module Name:src Committed By: martin Date: Mon Nov 4 14:29:26 UTC 2019 Modified Files: src/sys/arch/zaurus/dev [netbsd-9]: zrc.c Log Message: Pull up following revision(s) (requested by tsutsui in ticket #395): sys/arch/zaurus/dev/zrc.c: revision 1.10 Fix build errors with options WSDISPLAY_COMPAT_RAWKBD. - Add missing RAWKEY_* macro definitions (taken from OpenBSD) - Explicitly include "opt_wsdisplay_compat.h" for #ifdef WSDISPLAY_COMPAT_RAWKBD conditionals. (it is not properly pulled at least in netbsd-8) https://mail-index.netbsd.org/port-zaurus/2019/11/02/msg83.html Should be pulled up to netbsd-8 and netbsd-9. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.9.42.1 src/sys/arch/zaurus/dev/zrc.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/arch/zaurus/dev/zrc.c diff -u src/sys/arch/zaurus/dev/zrc.c:1.9 src/sys/arch/zaurus/dev/zrc.c:1.9.42.1 --- src/sys/arch/zaurus/dev/zrc.c:1.9 Sat Oct 27 17:18:14 2012 +++ src/sys/arch/zaurus/dev/zrc.c Mon Nov 4 14:29:26 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: zrc.c,v 1.9 2012/10/27 17:18:14 chs Exp $ */ +/* $NetBSD: zrc.c,v 1.9.42.1 2019/11/04 14:29:26 martin Exp $ */ /* $OpenBSD: zaurus_remote.c,v 1.1 2005/11/17 05:26:31 uwe Exp $ */ /* @@ -17,8 +17,10 @@ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ +#include "opt_wsdisplay_compat.h" + #include -__KERNEL_RCSID(0, "$NetBSD: zrc.c,v 1.9 2012/10/27 17:18:14 chs Exp $"); +__KERNEL_RCSID(0, "$NetBSD: zrc.c,v 1.9.42.1 2019/11/04 14:29:26 martin Exp $"); #include #include @@ -131,6 +133,11 @@ static const keysym_t zrc_keydesc[] = { }; #ifdef WSDISPLAY_COMPAT_RAWKBD +/* XXX see OpenBSD's */ +#define RAWKEY_Null 0x00 +#define RAWKEY_AudioMute 0x85 +#define RAWKEY_AudioLower 0x86 +#define RAWKEY_AudioRaise 0x87 #define RAWKEY_AudioRewind 0xa0 #define RAWKEY_AudioForward 0xa1 #define RAWKEY_AudioPlay 0xa2
CVS commit: [netbsd-9] src/sys/arch/zaurus
Module Name:src Committed By: martin Date: Sun Nov 3 11:36:56 UTC 2019 Modified Files: src/sys/arch/zaurus/conf [netbsd-9]: Makefile.zaurus.inc src/sys/arch/zaurus/stand/zbsdmod [netbsd-9]: Makefile compat_linux.h zbsdmod.c Log Message: Pull up following revision(s) (requested by tsutsui in ticket #391): sys/arch/zaurus/stand/zbsdmod/Makefile: revision 1.12 sys/arch/zaurus/stand/zbsdmod/zbsdmod.c: revision 1.10 sys/arch/zaurus/conf/Makefile.zaurus.inc: revision 1.10 sys/arch/zaurus/stand/zbsdmod/zbsdmod.c: revision 1.11 sys/arch/zaurus/stand/zbsdmod/compat_linux.h: revision 1.7 Explicitly set empty LINKENTRY to keep ENTRY address specified in ldscript. This fixes kernel boot failures of NetBSD/zaurus 8.x and later. While here, also set empty TEXTADDR also specified in ldscript. See my post in port-zaurus@ for details: https://mail-index.netbsd.org/port-zaurus/2019/10/22/msg69.html Should be pulled up to netbsd-8 and netbsd-9. - Fix another boot failure issue of NetBSD/zaurus 8.x and later. It looks some cacheline alignment restriction so that zbsdmod.o in NetBSD/zaurus 8.x release cannot jump to a loaded kernel properly. Adding an explicit alingment pseudo op to put all instructions between I-cache flush and jumping to the loaded kernel into the same cacheline solves the issue. See my post in port-zaurus@ for details: https://mail-index.netbsd.org/port-zaurus/2019/10/22/msg69.html Should be pulled up to netbsd-8 and netbsd-9. - Misc cleanup to avoid future confusion. - Remove more unnecessary debug sections - Use DBG instead of COPTS to specify -Os as defined in bsd.prog.mk - Use CFLAGS and CPPFLAGS correctly - Explicitly set -ffreestanding - Make sure to clear bss before jumping to a kernel copied from load buffer. This will fix yet another boot failure issue "screen white-out after loading a kernel" https://mail-index.netbsd.org/port-zaurus/2019/10/26/msg72.html Should be pulled up to netbsd-8 and netbsd-9. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.9.22.1 src/sys/arch/zaurus/conf/Makefile.zaurus.inc cvs rdiff -u -r1.10 -r1.10.22.1 src/sys/arch/zaurus/stand/zbsdmod/Makefile cvs rdiff -u -r1.6 -r1.6.52.1 \ src/sys/arch/zaurus/stand/zbsdmod/compat_linux.h cvs rdiff -u -r1.9 -r1.9.34.1 src/sys/arch/zaurus/stand/zbsdmod/zbsdmod.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/arch/zaurus/conf/Makefile.zaurus.inc diff -u src/sys/arch/zaurus/conf/Makefile.zaurus.inc:1.9 src/sys/arch/zaurus/conf/Makefile.zaurus.inc:1.9.22.1 --- src/sys/arch/zaurus/conf/Makefile.zaurus.inc:1.9 Tue Aug 25 02:38:15 2015 +++ src/sys/arch/zaurus/conf/Makefile.zaurus.inc Sun Nov 3 11:36:56 2019 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.zaurus.inc,v 1.9 2015/08/25 02:38:15 uebayasi Exp $ +# $NetBSD: Makefile.zaurus.inc,v 1.9.22.1 2019/11/03 11:36:56 martin Exp $ MACHINE_ARCH?= arm CPPFLAGS+= -D${MACHINE} @@ -20,6 +20,8 @@ SYSTEM_LD_TAIL_EXTRA+=; \ KERNEL_BASE_VIRT= $(LOADADDRESS) KERNLDSCRIPT= ldscript +TEXTADDR= # defined in ldscript +LINKENTRY= # defined in ldscript EXTRA_CLEAN+= netbsd.map assym.d ldscript tmp Index: src/sys/arch/zaurus/stand/zbsdmod/Makefile diff -u src/sys/arch/zaurus/stand/zbsdmod/Makefile:1.10 src/sys/arch/zaurus/stand/zbsdmod/Makefile:1.10.22.1 --- src/sys/arch/zaurus/stand/zbsdmod/Makefile:1.10 Sun Jan 31 15:32:13 2016 +++ src/sys/arch/zaurus/stand/zbsdmod/Makefile Sun Nov 3 11:36:56 2019 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.10 2016/01/31 15:32:13 christos Exp $ +# $NetBSD: Makefile,v 1.10.22.1 2019/11/03 11:36:56 martin Exp $ WARNS?= 4 @@ -10,8 +10,18 @@ OBJS= zbsdmod.o SRCS= zbsdmod.c NOMAN= # defined +OBJCOPY_FLAGS= \ + -R .debug_abbrev \ + -R .debug_aranges \ + -R .debug_info \ + -R .debug_line \ + -R .debug_loc \ + -R .debug_ranges \ + -R .debug_str \ + -R .eh_frame + realall: ${OBJS} - ${OBJCOPY} -R .eh_frame ${.OBJDIR}/zbsdmod.o + ${OBJCOPY} ${OBJCOPY_FLAGS} ${.OBJDIR}/zbsdmod.o .include .include @@ -21,11 +31,12 @@ afterinstall: ${OBJS} ${DESTDIR}/${BINDIR} CPUFLAGS= -COPTS= -Os +DBG= -Os CFLAGS+= -fno-strict-aliasing -CFLAGS+= -DMACHINE=\"${MACHINE}\" -DUTS_RELEASE=\"2.4.20\" -CPPFLAGS+= ${ARM_APCS_FLAGS} -mcpu=xscale -CPPFLAGS+= -nostdinc -D_STANDALONE +CFLAGS+= -ffreestanding -nostdinc +CFLAGS+= ${ARM_APCS_FLAGS} -mcpu=xscale +CPPFLAGS+= -DMACHINE=\"${MACHINE}\" -DUTS_RELEASE=\"2.4.20\" +CPPFLAGS+= -D_STANDALONE CPPFLAGS+= -I${.OBJDIR} -I${S} release: check_RELEASEDIR Index: src/sys/arch/zaurus/stand/zbsdmod/compat_linux.h diff -u src/sys/arch/zaurus/stand/zbsdmod/compat_linux.h:1.6 src/sys/arch/zaurus/stand/zbsdmod/compat_linux.h:1.6.52.1 --- src/sys/arch/zaurus/stand/zbsdmod/compat_linux.h:1.6 Sun Dec 11 14:05:39 2011 +++ src/sys/arch/zaurus/stand/zbsdmod/compat_linux.h Sun Nov 3 11:36:56 2019 @@
CVS commit: [netbsd-9] src/sys/arch/zaurus
Module Name:src Committed By: martin Date: Sun Nov 3 11:36:56 UTC 2019 Modified Files: src/sys/arch/zaurus/conf [netbsd-9]: Makefile.zaurus.inc src/sys/arch/zaurus/stand/zbsdmod [netbsd-9]: Makefile compat_linux.h zbsdmod.c Log Message: Pull up following revision(s) (requested by tsutsui in ticket #391): sys/arch/zaurus/stand/zbsdmod/Makefile: revision 1.12 sys/arch/zaurus/stand/zbsdmod/zbsdmod.c: revision 1.10 sys/arch/zaurus/conf/Makefile.zaurus.inc: revision 1.10 sys/arch/zaurus/stand/zbsdmod/zbsdmod.c: revision 1.11 sys/arch/zaurus/stand/zbsdmod/compat_linux.h: revision 1.7 Explicitly set empty LINKENTRY to keep ENTRY address specified in ldscript. This fixes kernel boot failures of NetBSD/zaurus 8.x and later. While here, also set empty TEXTADDR also specified in ldscript. See my post in port-zaurus@ for details: https://mail-index.netbsd.org/port-zaurus/2019/10/22/msg69.html Should be pulled up to netbsd-8 and netbsd-9. - Fix another boot failure issue of NetBSD/zaurus 8.x and later. It looks some cacheline alignment restriction so that zbsdmod.o in NetBSD/zaurus 8.x release cannot jump to a loaded kernel properly. Adding an explicit alingment pseudo op to put all instructions between I-cache flush and jumping to the loaded kernel into the same cacheline solves the issue. See my post in port-zaurus@ for details: https://mail-index.netbsd.org/port-zaurus/2019/10/22/msg69.html Should be pulled up to netbsd-8 and netbsd-9. - Misc cleanup to avoid future confusion. - Remove more unnecessary debug sections - Use DBG instead of COPTS to specify -Os as defined in bsd.prog.mk - Use CFLAGS and CPPFLAGS correctly - Explicitly set -ffreestanding - Make sure to clear bss before jumping to a kernel copied from load buffer. This will fix yet another boot failure issue "screen white-out after loading a kernel" https://mail-index.netbsd.org/port-zaurus/2019/10/26/msg72.html Should be pulled up to netbsd-8 and netbsd-9. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.9.22.1 src/sys/arch/zaurus/conf/Makefile.zaurus.inc cvs rdiff -u -r1.10 -r1.10.22.1 src/sys/arch/zaurus/stand/zbsdmod/Makefile cvs rdiff -u -r1.6 -r1.6.52.1 \ src/sys/arch/zaurus/stand/zbsdmod/compat_linux.h cvs rdiff -u -r1.9 -r1.9.34.1 src/sys/arch/zaurus/stand/zbsdmod/zbsdmod.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.