NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

PR/3528 CVS commit: [netbsd-6] src/sys

The following reply was made to PR port-hp300/3528; it has been noted by GNATS.

From: "Manuel Bouyer" <>
Subject: PR/3528 CVS commit: [netbsd-6] src/sys
Date: Wed, 21 May 2014 20:56:37 +0000

 Module Name:   src
 Committed By:  bouyer
 Date:          Wed May 21 20:56:37 UTC 2014
 Modified Files:
        src/sys/arch/hp300/conf [netbsd-6]: GENERIC INSTALL files.hp300
        src/sys/arch/hp300/dev [netbsd-6]: com_frodo.c dnkbd.c frodo.c
            frodoreg.h rtc.c
        src/sys/arch/hp300/hp300 [netbsd-6]: autoconf.c machdep.c
        src/sys/arch/hp300/include [netbsd-6]: autoconf.h
        src/sys/arch/hp300/stand [netbsd-6]: Makefile.buildboot
        src/sys/arch/hp300/stand/common [netbsd-6]: apci.c clock.c dnkbd.c
            ite.c itevar.h samachdep.h
        src/sys/arch/hp300/stand/inst [netbsd-6]: version
        src/sys/arch/hp300/stand/uboot [netbsd-6]: version
        src/sys/dev/ic [netbsd-6]: sti.c stivar.h
 Added Files:
        src/sys/arch/hp300/dev [netbsd-6]: mcclock_frodo.c sti_sgc.c
        src/sys/arch/hp300/stand/common [netbsd-6]: ite_sti.c
 Log Message:
 Pull up following revision(s) (requested by tsutsui in ticket #1058):
        sys/arch/hp300/conf/files.hp300: revision 1.88
        sys/arch/hp300/include/autoconf.h: revision 1.13
        sys/dev/ic/sti.c: revision 1.17
        sys/arch/hp300/dev/frodo.c: revision 1.31
        sys/arch/hp300/conf/GENERIC: revision 1.173
        sys/arch/hp300/hp300/machdep.c: revision 1.229
        sys/arch/hp300/dev/frodo.c: revision 1.32
        sys/arch/hp300/hp300/autoconf.c: revision 1.102
        sys/arch/hp300/dev/frodoreg.h: revision 1.5
        sys/arch/hp300/stand/common/ite_sti.c: revision 1.1
        sys/arch/hp300/stand/common/itevar.h: revision 1.16
        sys/arch/hp300/hp300/autoconf.c: revision 1.105
        sys/arch/hp300/dev/sti_sgcvar.h: revision 1.1
        sys/arch/hp300/stand/common/apci.c: revision 1.12
        sys/arch/hp300/stand/common/apci.c: revision 1.13
        sys/arch/hp300/dev/dnkbd.c: revision 1.6
        sys/arch/hp300/dev/dnkbd.c: revision 1.7
        sys/arch/hp300/stand/inst/version: revision 1.12
        sys/arch/hp300/dev/com_frodo.c: revision 1.9
        sys/arch/hp300/stand/common/ite.c: revision 1.17
        sys/arch/hp300/conf/GENERIC: revision 1.181
        sys/arch/hp300/dev/sti_sgc.c: revision 1.1
        sys/arch/hp300/stand/common/dnkbd.c: revision 1.13
        sys/arch/hp300/dev/sti_sgc.c: revision 1.2
        sys/dev/ic/stivar.h: revision 1.8
        sys/arch/hp300/dev/rtc.c: revision 1.21
        sys/arch/hp300/conf/INSTALL: revision 1.56
        sys/arch/hp300/conf/INSTALL: revision 1.58
        sys/arch/hp300/stand/uboot/version: revision 1.19
        sys/arch/hp300/stand/common/samachdep.h: revision 1.17
        sys/arch/hp300/stand/common/clock.c: revision 1.12
        sys/arch/hp300/dev/mcclock_frodo.c: revision 1.1
        sys/arch/hp300/stand/Makefile.buildboot: revision 1.34
        sys/arch/hp300/conf/files.hp300: revision 1.87
 Add sti at sgc framebuffer.
 Ported from OpenBSD by kiyohara@.
 Fix a botch on switching from apci (and dca) to MI com(4) 10 years ago.
 I.e. fix apci device address per FRODO_BASE macro change
 in frodoreg.h rev 1.2.  Now bootloader works with serial console
 on HP425e (which has only com at frodo).
 Thanks to miod@openbsd for providing his 425e.
 Add sti(4) at sgc screen console support.  From (the late) OpenBSD/hp300.
 Tested on HP9000/425e, which was sent from Miod Vallat and
 demonstrated at Open Source unConference 2014 Kagawa.
 Check the service switch on 425e to select apci serial console.
 Taken from OpenBSD/hp300.  See the following comment for details:
 > * Check the service switch. On the 425e, this is a physical
 > * switch, unlike other frodo-based machines, so we can use it
 > * as a serial vs internal video selector, since the PROM can not
 > * be configured for serial console.
 Add proper RealTime Clock support for HP9000/425e.
 As the OpenBSD/hp300 page says 425e doesn't have the traditional
 RTC at intio (as it also lacks DCA 16550 serial at intio?),
 but after a few hour investigation it turns out that
 425e uses mc146818 compatible calendar clock in
 the Apollo "frodo" utility chip and the frodo chip on
 425e actually has the 32kHz OSC and is actually backed up
 by the onboard lithium battery.
 Tested on HP425e (with mcclock) and HP362 (with old rtc).
 Add RTC support for HP9000/425e to bootloader too.
 Also put several cleanup:
 - make local functions and variables static
 - use proper variable types
 - some KNF
 Note it turns out that extreme slowness of netboot on hp300 is
 caused by the too slow access of the traditional RTC chip at intio
 (i.e. netboot on 425e is so much faster than others). Oh well.
 Add proper consinit(9) support for sti(4) at sgc framebuffer on hp300.
 The cnattach functions for sti(4) and service switch check method
 for 425e in com_frodo.c are taken from OpenBSD.
 The strategy how to choose the console device in hp300_cninit() is
 quite diverged from 4.4BSD and OpenBSD so it's tweaked by me.
 Also put several changes in sti_sgc.c to reduce diffs from OpenBSD/hp300.
 Tested on 425e and 362 (which still uses gendiofb(4), not sti(4)).
 XXX: sti(4) requires uvm_km_alloc(9) and uvm_map_protect(9)
      to copy and call ROM functions on the executable memory region, so
      it can be called before UVM and related initializations are complete.
      Probably it's time to consider about MI "deferred consinit()" API
      in init_main.c (or elsewhere) for modern complicated VM system...
 Also fix the apci device address in dnkbd.c as apci.c rev 1.12:
 Finally dnkbd(4) is confirmed working at least on bootloader.
 Thanks again to Miod Vallat.
 Make the Apollo Domain keyboard actually work.
 Tested on HP9000/425e and the keyboard model A1630-82001 R2 (RX-60857-HW)
 provided by Miod Vallat.  Mouse support needs more work.
 Pull random notes on the Apollo Domain keyboard from ancient PR/3528.
 Bump versions to denote recent 425e related changes.
 Probe mcclock only on 425e to avoid an extra "not configured" message.
 Add and enable sti(4) at sgc in install kernels for 425e.
 Tested on both serial console and framebuffer console.
 (switched by the service switch on the back panel)
 To generate a diff of this commit:
 cvs rdiff -u -r1.169 -r1.169.2.1 src/sys/arch/hp300/conf/GENERIC
 cvs rdiff -u -r1.48.2.1 -r1.48.2.2 src/sys/arch/hp300/conf/INSTALL
 cvs rdiff -u -r1.85 -r1.85.8.1 src/sys/arch/hp300/conf/files.hp300
 cvs rdiff -u -r1.8 -r1.8.40.1 src/sys/arch/hp300/dev/com_frodo.c
 cvs rdiff -u -r1.5 -r1.5.14.1 src/sys/arch/hp300/dev/dnkbd.c
 cvs rdiff -u -r1.30 -r1.30.10.1 src/sys/arch/hp300/dev/frodo.c
 cvs rdiff -u -r1.4 -r1.4.102.1 src/sys/arch/hp300/dev/frodoreg.h
 cvs rdiff -u -r0 -r1.1.4.2 src/sys/arch/hp300/dev/mcclock_frodo.c \
 cvs rdiff -u -r1.20 -r1.20.10.1 src/sys/arch/hp300/dev/rtc.c
 cvs rdiff -u -r0 -r1.2.2.2 src/sys/arch/hp300/dev/sti_sgc.c
 cvs rdiff -u -r1.99.2.1 -r1.99.2.2 src/sys/arch/hp300/hp300/autoconf.c
 cvs rdiff -u -r1.224 -r1.224.2.1 src/sys/arch/hp300/hp300/machdep.c
 cvs rdiff -u -r1.12 -r1.12.10.1 src/sys/arch/hp300/include/autoconf.h
 cvs rdiff -u -r1.32 -r1.32.10.1 src/sys/arch/hp300/stand/Makefile.buildboot
 cvs rdiff -u -r1.11 -r1.11.10.1 src/sys/arch/hp300/stand/common/apci.c \
 cvs rdiff -u -r1.12 -r1.12.40.1 src/sys/arch/hp300/stand/common/dnkbd.c
 cvs rdiff -u -r1.16 -r1.16.10.1 src/sys/arch/hp300/stand/common/ite.c
 cvs rdiff -u -r0 -r1.1.4.2 src/sys/arch/hp300/stand/common/ite_sti.c
 cvs rdiff -u -r1.15 -r1.15.10.1 src/sys/arch/hp300/stand/common/itevar.h
 cvs rdiff -u -r1.16 -r1.16.34.1 src/sys/arch/hp300/stand/common/samachdep.h
 cvs rdiff -u -r1.11 -r1.11.10.1 src/sys/arch/hp300/stand/inst/version
 cvs rdiff -u -r1.18 -r1.18.10.1 src/sys/arch/hp300/stand/uboot/version
 cvs rdiff -u -r1.16 -r1.16.8.1 src/sys/dev/ic/sti.c
 cvs rdiff -u -r1.7 -r1.7.8.1 src/sys/dev/ic/stivar.h
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

Home | Main Index | Thread Index | Old Index