Home | History | Annotate | Download | only in conf
History log of /src/sys/arch/hp300/conf/INSTALL
RevisionDateAuthorComments
 1.72  01-May-2025  tsutsui Add sti(4) support for 9000/362 and 9000/382 on-board framebuffers.

Mostly pulled from OpenBSD/hp300.

This supersedes old and dumb gendiofb. Currently there is no mmap
or cmap (palette) support, but I'll investigate how Bt474 RAMDAC
should be handled.

Tested on 382 with 640x480 and 1024x768 variants, and 362 with 640x480.
No visible regression on 425e (EVRX) and 425t (CRX).
 1.71  29-Jan-2024  christos PR/57889: Ricardo Branco: ext2fs does not have user immutable and append
file flags, only system ones. Restrict those to the superuser. Before
the behavior was controlled by EXT2FS_SYSTEM_FLAGS. Make that behavior the
default.
 1.70  07-Aug-2022  simonb UFS/LFS dirhash:
- Enable UFS_DIRHASH if the architecture or kernel model specific config
file can use 128MB of RAM or more.
- Remove experimental tag from UFS_DIRHASH; it's been with RUMP kernel
and by a number of NetBSD developers for years.
- Add LFS_DIRHASH if LFS was enabled.
- Be somewhat consistent with FS options order.
 1.69  29-May-2021  tsutsui Reduce diffs from GENERIC for maintainability.

No functional change intended.
 1.68  29-May-2021  tsutsui Reduce maxusers to 8 as GENERIC.

Should be pulled up to netbsd-9 and netbsd-8.
 1.67  29-May-2021  tsutsui Add missed 'nhpib at intio' for internal HP-IB. Found on testing HPDisk.

Also fix comments for HP-IB devices.
Should be pulled up to netbsd-8 and netbsd-9.
 1.66  12-Dec-2020  tsutsui branches: 1.66.4; 1.66.6;
Remove options (NVNODE, NBUF, and BUFPAGES) for small RAM machines.

These options make extracting binary sets much slower even on miniroot.
Instead, use "options BUFCACHE=5" (use 5% of memory for buffercache) and
also specify "-fno-unwind-tables" for COPTS to shrink INSTALL kernel.

Worth to pullup to netbsd-9.
 1.65  27-Sep-2020  roy branches: 1.65.2;
vether: Add to kernel configurations

It's only enabled if the kernel enabled bridge AND tap.
Otherwise it's commented out.
 1.64  14-Mar-2019  thorpej branches: 1.64.4;
G/C "MAPPECOPY". It is the deadest of wood, and never actually worked in
NetBSD.
 1.63  01-Aug-2018  maxv Unreference IPF/PF from all the config files, and enable NPF instead when
wanted. This also fixes some inconsistencies I saw in several files (eg
IPF options while IPF was not compiled, IPF+PF enabled by default, etc).
 1.62  14-Sep-2017  mrg branches: 1.62.2; 1.62.4;
clean up COMPAT_* options for native netbsd code:
- new series of files that are useful for saying "i want everything
since netbsd 1.4", etc.
- use the fact COMPAT_* options have future dependancies to remove
many redundant options.

removes about 3000 lines total across kernel configuration files.
tested about 30 random kernels in the changed list.
 1.61  28-Jul-2017  maxv Remove TCP_COMPAT_42 from the config files. Pass 1.
 1.60  23-Aug-2014  dholland branches: 1.60.2; 1.60.12;
Systematize (and in many cases, fix) the comments on options COMPAT_NN.

There are quite a few configs that are missing some COMPAT_NN options
in ways that don't make sense; this should probably get cleaned up
too, but for the time being I've not added or removed anything.
 1.59  16-Aug-2014  apb Add commented out "#options COMPAT_70" to all kernel configuration
files that already had commented out "#options COMPAT_60".
 1.58  30-Apr-2014  tsutsui 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)
 1.57  29-Apr-2014  tsutsui Add "pseudo-device wsmux" in INSTALL (and RAMDISK) kernels.

On NetBSD/hp300, hilkbd(4) is probed in config_interrupts(9)
so it's always attached after wsdisplay(4). In that case,
wskbd can't be used as a console input device without wsmux(4).
(i.e. keyboard didn't work on installer using screen console)

Should be pulled up to all netbsd-6* branches.
 1.56  19-Apr-2014  tsutsui 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).
 1.55  30-Jun-2013  rmind branches: 1.55.4;
G/C PFIL_HOOKS from the kernel configs.
 1.54  05-Jun-2013  christos branches: 1.54.2;
remove obsolete networking options
 1.53  27-Apr-2013  christos the bogus number police
 1.52  27-Apr-2013  christos remove confusing numeric locators where they are unused.
 1.51  02-Mar-2013  christos Under FAST_IPSEC, IPSEC_ESP is mandatory; GC it.
 1.50  17-Oct-2012  apb Add commented out "#options COMPAT_60" to all kernel configuration files
that already had commented out "#options COMPAT_50".
 1.49  17-Aug-2012  abs branches: 1.49.2;
Update all kernel configs mentioning WSEMUL_* but not already including
WSDISPLAY_COMPAT_USL using the following rules:
- If WSEMUL_ is commented out, add commented out out WSDISPLAY_COMPAT_USL
- If INSTALL or obviously memory constrained, add WSDISPLAY_DEFAULTSCREENS=1
and commented out WSDISPLAY_COMPAT_USL
- Otherwise add WSDISPLAY_COMPAT_USL

Some of the INSTALL configs for larger memory machines are probably suitable
for adding WSDISPLAY_COMPAT_USL.

Now wsconscfg(8) should be able to switch VTs when expected.

Implemented after no objection from tech-kern to the following:

On 5 June 2012 09:47, David Brownlee <abs@absd.org> wrote:
> wsconscfg(8) requires WSDISPLAY_COMPAT_USL in order to switch virtual
> terminals.
>
> Except when in an exceptionally memory or space constrained
> environment (INSTALL being the obvious case), is there any reason why
> all GENERIC and GENERIC-like kernels which have wscons enabled
> shouldn't also have WSDISPLAY_COMPAT_USL?
 1.48  18-Dec-2011  dholland branches: 1.48.2;
WABPL is no longer considered experimental (has not been for some time)
so update its comment in config files.
 1.47  22-Nov-2011  tls branches: 1.47.2;

The rnd pseudo-device is not really optional, because it is in the same
source file as the entropy-pool code itself. Move it to std. This
will be cleaned up more when I split the sources up as they should be.

This fixes build breaks on several ports. Thanks to Havard Eidnes for
pointing them out.
 1.46  30-Jun-2011  wiz branches: 1.46.2;
dependant -> dependent
 1.45  06-Mar-2011  bouyer merge the bouyer-quota2 branch. This adds a new on-disk format
to store disk quota usage and limits, integrated with ffs
metadata. Usage is checked by fsck_ffs (no more quotacheck)
and is covered by the WAPBL journal. Enabled with kernel
option QUOTA2 (added where QUOTA was enabled in kernel config files),
turned on with tunefs(8) on a per-filesystem
basis. mount_mfs(8) can also turn quotas on.

See http://mail-index.netbsd.org/tech-kern/2011/02/19/msg010025.html
for details.
 1.44  12-Feb-2011  tsutsui Pull basic SGC bus attachment from OpenBSD to test devices.
Disabled by default since there is no SGC drivers yet.
 1.43  12-Feb-2011  tsutsui Add dumb framebuffer (no acceleration, no colormap) support
for HP362 and HP382.

Tested on A1473-69510 (HP362 VGA-res) and A1474-69511 (HP382 mid-res).
 1.42  06-Feb-2011  tsutsui Switch NetBSD/hp300 to wscons with rasops. Simply ported from OpenBSD/hp300.

- Only A1416 Kathmandu (topcat) framebuffer on 425t is tested, but
all other variants (TigerShark, Hyperion, DaVinci, GatorBox, Renaissance)
should also work if they are working on OpenBSD/hp300.
- sti(4) and SGC bus support are not pulled because I don't have 425e
and I can't confirm that 362 and 382 actually have SGC bus.
(I'll commit a DIO based dumb driver for 362 and 382 framebuffers later)
- Xorg server with wsfb driver will also be integrated soon
once after keycode with NoSymbol problem is addressed.
(We have to re-think what code should be used on WSDISPLAY_COMPAT_RAWKBD)
- MI HIL keyboard and mouse drivers are working fine though
cngetc via hilkbd has some problem (still we can input commands).
- No old HP-UX like HIL ioctl compatibility (we removed COMPAT_HPUX anyway).
grfinfo(8) and hilinfo(8) will be removed shortly.

Demonstrated on NetBSD booth at Open Source Conference 2011 Kagawa.
 1.41  16-Apr-2010  pooka branches: 1.41.2; 1.41.4;
Remove unused count (invariably "4") from pseudo-device fss.
 1.40  08-Feb-2010  joerg branches: 1.40.2;
Remove separate mb_map. The nmbclusters is computed at boot time based
on the amount of physical memory and limited by NMBCLUSTERS if present.
Architectures without direct mapping also limit it based on the kmem_map
size, which is used as backing store. On i386 and ARM, the maximum KVA
used for mbuf clusters is limited to 64MB by default.

The old default limits and limits based on GATEWAY have been removed.
key_registered_sb_max is hard-wired to a value derived from 2048
clusters.
 1.39  12-Jan-2009  tsutsui branches: 1.39.4;
Add options COMPAT_50.
 1.38  24-Nov-2008  ad Remove softdep, pass 1. We are focused on improving journalling.

Proposed on tech-kern@.
 1.37  12-Nov-2008  ad Remove LKMs and switch to the module framework, pass 1.

Proposed on tech-kern@.
 1.36  31-Jul-2008  simonb branches: 1.36.2;
Add "options WAPBL" to standard GENERIC/INSTALL type configs.
 1.35  17-Oct-2007  garbled branches: 1.35.16; 1.35.20; 1.35.22; 1.35.26;
Merge the ppcoea-renovation branch to HEAD.

This branch was a major cleanup and rototill of many of the various OEA
cpu based PPC ports that focused on sharing as much code as possible
between the various ports to eliminate near-identical copies of files in
every tree. Additionally there is a new PIC system that unifies the
interface to interrupt code for all different OEA ppc arches. The work
for this branch was done by a variety of people, too long to list here.

TODO:
bebox still needs work to complete the transition to -renovation.
ofppc still needs a bunch of work, which I will be looking at.
ev64260 still needs to be renovated
amigappc was not attempted.

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.
 1.34  25-Jun-2007  tsutsui branches: 1.34.10;
Add options COMPAT_40.
 1.33  02-Oct-2006  chs branches: 1.33.8; 1.33.10; 1.33.16;
remove MALLOC_NOINLINE, it doesn't do anything anymore.
 1.32  20-Jul-2006  tsutsui branches: 1.32.4; 1.32.6;
Identify models HP362 and HP382. From OpenBSD, tested on my HP382.

Note now options HP362 and options HP382 are required for these models
in your kernel config file.
 1.31  21-Mar-2006  tsutsui Disable KERNFS since installer will use dmesg(8).
 1.30  05-Feb-2006  cube branches: 1.30.2; 1.30.4; 1.30.6;
Remove 'count' argument for pseudo-devices that ignore it
(vnd, bpfilter, ppp, gif, gre, tun, sl, strip, faith, stf).
 1.29  04-Feb-2006  rpaulo bpfilter doesn't accept count anymore.
 1.28  07-Dec-2005  tsutsui branches: 1.28.2; 1.28.4; 1.28.6;
Remove obsolete options VNODE_OP_NOINLINE.
 1.27  07-Dec-2005  tsutsui Adjust comments for options FFS_NO_SNAPSHOT.

XXX: This option should be mentioned in options(4).
 1.26  19-Aug-2005  christos Enable ptyfs by default on the non-install and non small/tiny/ramdisk kernels
 1.25  19-Aug-2005  christos 64 bit inode changes.
 1.24  07-Jul-2005  tron Add (commented out) IPSEC_NAT_T option.
 1.23  18-Feb-2005  dsl branches: 1.23.4; 1.23.6;
Invert FFS_SNAPSHOT to FFS_NO_SNAPSHOT
 1.22  11-Feb-2005  dsl Add 'option FFS_SNAPSHOT' to most of the config files.
Commented out for kernels that appear to hace space constraints.
 1.21  31-Jan-2005  hannken Add file system snapshots to kernel configs.

- Ffs internal snapshots get compiled in unconditionally.

- File system snapshot device fss(4) added to all kernel configs that
have a disk. Device is commented out on all non-GENERIC kernels.

Reviewed by: Jason Thorpe <thorpej@netbsd.org>
 1.20  05-Jan-2005  tsutsui branches: 1.20.2; 1.20.4;
options<space><tab>
 1.19  10-Nov-2004  christos Add COMPAT_BSDPTY to the rest of the config files.
 1.18  04-Sep-2004  manu IPv4 PIM support, based on a submission from Pavlin Radoslavov posted on
tech-net@
 1.17  28-Aug-2004  thorpej Remove the last vestiges of COMPAT_NOLABEL. It's been 10 years; label
your disks already.
 1.16  18-Jul-2004  tsutsui Add options COMPAT_20.
 1.15  15-Jul-2004  atatat Add "options SYSCTL_INCLUDE_DESCR" to a lot of configs, but commented
out in most of them.
 1.14  22-Nov-2003  tsutsui branches: 1.14.2;
Add an entry of "com0 at dio0 scode 9" so that /dev/ttyC0 and
compat symlink (/dev/tty0) are always reserved for DCA serial.
 1.13  08-Nov-2003  tsutsui Switch DCA and APCI serial devices to use MI com(4) driver.

DCA is tested on HP362 and HP382 with serial console,
but APCI on HP4xx is not tested yet.
 1.12  22-Sep-2003  cl add COMPAT_15/COMPAT_16
 1.11  06-Sep-2003  itojun add rnd(4) device to installation media.
necessary for many purposes, including password seeding, tcp sequence number,
and more. see tech-security
 1.10  01-Aug-2003  tsutsui Switch hp300 to MI SCSI with MI mb89352 SPC SCSI driver (at last),
and remove old hp300 MD oscsi support derived from 4.4BSD-Lite2.
 1.9  22-Dec-2002  gmcgarry branches: 1.9.2;
Make the DMA controller a separate device attached to intio. Intio
devices can use the DMA controller too.
 1.8  18-Sep-2002  lukem enable USERCONF by default; it's small and extremely useful to have available.
 1.7  05-Jul-2002  abs Ensure all INSTALL config files consistantly include PIPE_SOCKETPAIR,
MALLOC_NOINLINE, and VNODE_OP_NOINLINE. The exceptions are when they
include another config files that already defines the options, or if
they are for an embedded board, just define a few extra options, and
do not already define PIPE_SOCKETPAIR.
 1.6  07-May-2002  gmcgarry branches: 1.6.2;
FPSP required. Noted by Michael Wolfson.
 1.5  25-Apr-2002  atatat Add the INCLUDE_CONFIG_FILE option to all config files. In config
files that are generic (ie, GENERIC, GENERICSBC, GENERIC32, ALL, or
ALPHA), it is uncommented.
 1.4  12-Apr-2002  gmcgarry Add commented-out USERCONF option. Mainly useful for install media
and can be optionally enabled based on miniroot and ramdisk size
requirements.
 1.3  17-Mar-2002  gmcgarry Include MFS in the INSTALL kernel for the miniroot install.
 1.2  23-Feb-2002  gmcgarry branches: 1.2.2; 1.2.8;
Don't need printer support during installation.
 1.1  10-Feb-2002  gmcgarry Up-to-date kernels for installation media.
 1.2.8.5  10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.2.8.4  06-Sep-2002  jdolecek sync kqueue branch with HEAD
 1.2.8.3  23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.2.8.2  16-Mar-2002  jdolecek Catch up with -current.
 1.2.8.1  23-Feb-2002  jdolecek file INSTALL was added on branch kqueue on 2002-03-16 15:57:32 +0000
 1.2.2.8  29-Dec-2002  thorpej Sync with HEAD.
 1.2.2.7  18-Oct-2002  nathanw Catch up to -current.
 1.2.2.6  01-Aug-2002  nathanw Catch up to -current.
 1.2.2.5  20-Jun-2002  nathanw Catch up to -current.
 1.2.2.4  17-Apr-2002  nathanw Catch up to -current.
 1.2.2.3  01-Apr-2002  nathanw Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
 1.2.2.2  28-Feb-2002  nathanw Catch up to -current.
 1.2.2.1  23-Feb-2002  nathanw file INSTALL was added on branch nathanw_sa on 2002-02-28 04:09:22 +0000
 1.6.2.1  16-Jul-2002  gehenna catch up with -current.
 1.9.2.11  11-Dec-2005  christos Sync with head.
 1.9.2.10  10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.9.2.9  04-Mar-2005  skrll Sync with HEAD.

Hi Perry!
 1.9.2.8  15-Feb-2005  skrll Sync with HEAD.
 1.9.2.7  04-Feb-2005  skrll Sync with HEAD.
 1.9.2.6  17-Jan-2005  skrll Sync with HEAD.
 1.9.2.5  14-Nov-2004  skrll Sync with HEAD.
 1.9.2.4  21-Sep-2004  skrll Fix the sync with head I botched.
 1.9.2.3  18-Sep-2004  skrll Sync with HEAD.
 1.9.2.2  03-Sep-2004  skrll Sync with HEAD
 1.9.2.1  03-Aug-2004  skrll Sync with HEAD
 1.14.2.1  15-Jul-2004  he Pull up revision 1.15 (requested by atatat in ticket #663):
Add "options SYSCTL_INCLUDE_DESCR" to a lot of configurations,
but commented out in most of them.
 1.20.4.2  19-Mar-2005  yamt sync with head. xen and whitespace. xen part is not finished.
 1.20.4.1  12-Feb-2005  yamt sync with head.
 1.20.2.1  29-Apr-2005  kent sync with -current
 1.23.6.3  03-Sep-2007  yamt sync with head.
 1.23.6.2  30-Dec-2006  yamt sync with head.
 1.23.6.1  21-Jun-2006  yamt sync with head.
 1.23.4.1  18-Jul-2005  riz Pull up revision 1.24 (requested by tron in ticket #566):
Add (commented out) IPSEC_NAT_T option.
 1.28.6.1  22-Apr-2006  simonb Sync with head.
 1.28.4.1  09-Sep-2006  rpaulo sync with head
 1.28.2.1  18-Feb-2006  yamt sync with head.
 1.30.6.1  28-Mar-2006  tron Merge 2006-03-28 NetBSD-current into the "peter-altq" branch.
 1.30.4.1  19-Apr-2006  elad sync with head - hopefully this will work
 1.30.2.2  11-Aug-2006  yamt sync with head
 1.30.2.1  01-Apr-2006  yamt sync with head.
 1.32.6.1  22-Oct-2006  yamt sync with head
 1.32.4.1  18-Nov-2006  ad Sync with head.
 1.33.16.1  26-Jun-2007  garbled Sync with HEAD.
 1.33.10.1  11-Jul-2007  mjf Sync with head.
 1.33.8.1  15-Jul-2007  ad Sync with head.
 1.34.10.1  06-Nov-2007  matt sync with HEAD
 1.35.26.2  13-Dec-2008  haad Update haad-dm branch to haad-dm-base2.
 1.35.26.1  19-Oct-2008  haad Sync with HEAD.
 1.35.22.1  18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.35.20.3  11-Aug-2010  yamt sync with head.
 1.35.20.2  11-Mar-2010  yamt sync with head
 1.35.20.1  04-May-2009  yamt sync with head.
 1.35.16.2  17-Jan-2009  mjf Sync with HEAD.
 1.35.16.1  28-Sep-2008  mjf Sync with HEAD.
 1.36.2.1  19-Jan-2009  skrll Sync with HEAD.
 1.39.4.1  30-Apr-2010  uebayasi Sync with HEAD.
 1.40.2.3  21-Apr-2011  rmind sync with head
 1.40.2.2  05-Mar-2011  rmind sync with head
 1.40.2.1  30-May-2010  rmind sync with head
 1.41.4.3  17-Feb-2011  bouyer Sync with HEAD
 1.41.4.2  08-Feb-2011  bouyer Add QUOTA2 where QUOTA is enabled (and QUOTA2 commented out where QUOTA
is commented out)
 1.41.4.1  08-Feb-2011  bouyer Sync with HEAD
 1.41.2.1  06-Jun-2011  jruoho Sync with HEAD.
 1.46.2.3  22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.46.2.2  30-Oct-2012  yamt sync with head
 1.46.2.1  17-Apr-2012  yamt sync with head
 1.47.2.1  18-Feb-2012  mrg merge to -current.
 1.48.2.2  21-May-2014  bouyer 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:
http://mail-index.netbsd.org/source-changes/2014/04/10/msg053940.html
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)
 1.48.2.1  21-May-2014  bouyer Pull up following revision(s) (requested by tsutsui in ticket #1057):
sys/arch/hp300/conf/RAMDISK: revision 1.14
sys/arch/hp300/conf/INSTALL: revision 1.57
Add "pseudo-device wsmux" in INSTALL (and RAMDISK) kernels.
On NetBSD/hp300, hilkbd(4) is probed in config_interrupts(9)
so it's always attached after wsdisplay(4). In that case,
wskbd can't be used as a console input device without wsmux(4).
(i.e. keyboard didn't work on installer using screen console)
Should be pulled up to all netbsd-6* branches.
Disable options NVNODE, NBUF and BUFPAGES in the RAMDISK kernel.
These options were specified in the INSTALL kernel for 4MB machines,
but nowadays even the INSTALL kernel would not boot on such machines
and the RAMDISK kernel assumes the target machine has more memories.
Furthermore, these options makes extracting binary sets much slower
and also could cause "wapbl_register_deallocation: out of resources"
panic during extracting binaries into a 32GB SSD with 4KB fragments.
Should be pulled up to netbsd-6* branches.
 1.49.2.4  03-Dec-2017  jdolecek update from HEAD
 1.49.2.3  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.49.2.2  23-Jun-2013  tls resync from head
 1.49.2.1  20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.54.2.2  18-May-2014  rmind sync with head
 1.54.2.1  28-Aug-2013  rmind sync with head
 1.55.4.1  10-Aug-2014  tls Rebase.
 1.60.12.1  05-Jun-2021  martin Pull up following revision(s) (requested by tsutsui in ticket #1680):

sys/arch/hp300/conf/INSTALL: revision 1.67
sys/arch/hp300/conf/INSTALL: revision 1.68

Add missed 'nhpib at intio' for internal HP-IB. Found on testing HPDisk.
Also fix comments for HP-IB devices.
Should be pulled up to netbsd-8 and netbsd-9.

Reduce maxusers to 8 as GENERIC.
Should be pulled up to netbsd-9 and netbsd-8.
 1.60.2.1  28-Aug-2017  skrll Sync with HEAD
 1.62.4.1  10-Jun-2019  christos Sync with HEAD
 1.62.2.1  06-Sep-2018  pgoyette Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)
 1.64.4.2  05-Jun-2021  martin Pull up following revision(s) (requested by tsutsui in ticket #1280):

sys/arch/hp300/conf/INSTALL: revision 1.67
sys/arch/hp300/conf/INSTALL: revision 1.68

Add missed 'nhpib at intio' for internal HP-IB. Found on testing HPDisk.
Also fix comments for HP-IB devices.
Should be pulled up to netbsd-8 and netbsd-9.

Reduce maxusers to 8 as GENERIC.
Should be pulled up to netbsd-9 and netbsd-8.
 1.64.4.1  14-Dec-2020  martin Pull up following revision(s) (requested by tsutsui in ticket #1152):

sys/arch/hp300/conf/RAMDISK: revision 1.16
sys/arch/hp300/conf/INSTALL: revision 1.66

Remove options (NVNODE, NBUF, and BUFPAGES) for small RAM machines.

These options make extracting binary sets much slower even on miniroot.

Instead, use "options BUFCACHE=5" (use 5% of memory for buffercache) and
also specify "-fno-unwind-tables" for COPTS to shrink INSTALL kernel.

Worth to pullup to netbsd-9.
 1.65.2.1  14-Dec-2020  thorpej Sync w/ HEAD.
 1.66.6.1  31-May-2021  cjep sync with head
 1.66.4.1  17-Jun-2021  thorpej Sync w/ HEAD.

RSS XML Feed