Re: HP 9000/332 support?
David Brownlee <[email protected]> Tue, 12 May 2020 10:46:10 +0100
| Newsgroups | gmane.os.netbsd.ports.hp300 |
|---|---|
| Message-ID | <CAGN_6pZWUm5mfLbjcfqdnn+Kt_h=S8Uuv7sArb8wucJ_mBpPJA@mail.gmail.com> |
On Tue, 12 May 2020 at 03:06, Chris Hanson <[email protected]> wro= te: > > I=E2=80=99ve booted my HP 9000-332 to single-user, here=E2=80=99s my dmes= g! It still thinks the HP 98543A framebuffer is 1024x400x4 rather than 512x= 400x4 so the text is a bit off, but I can make it sufficiently legible to u= se. > > It seems like if I could build a stripped down kernel, and possibly use l= ocal HP-IB storage for swap, it would work fine. And I bet if I put an HP 9= 8550A in it the display would be perfect, just as it is on my HP 9000-433s = and 425t. > > -- Chris > > [ 1.000000] bootinfo found at 0xff802000 > [ 1.000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2= 003, 2004, 2005, > [ 1.000000] 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014,= 2015, 2016, 2017, > [ 1.000000] 2018, 2019, 2020 The NetBSD Foundation, Inc. All rig= hts reserved. > [ 1.000000] Copyright (c) 1982, 1986, 1989, 1991, 1993 > [ 1.000000] The Regents of the University of California. All rig= hts reserved. > [ 1.000000] NetBSD 9.0 (GENERIC) #1: Sat Apr 4 16:56:22 PDT 2020 > [ 1.000000] [email protected]:/usr/obj/sys/arch= /hp300/compile/GENERIC > [ 1.000000] HP 9000/340 (16.67MHz MC68030 CPU+MMU, 16.67MHz MC68882 F= PU<2147483552>) > [ 1.000000] total memory =3D 8176 KB > [ 1.000000] avail memory =3D 3664 KB > [ 1.000000] timecounter: Timecounters tick every 10.000 msec > [ 1.000000] Kernelized RAIDframe activated > [ 1.000000] mainbus0 (root) > [ 1.000000] intio0 at mainbus0 > [ 1.000000] rtc0 at intio0 addr 0x420000 > [ 1.000000] hil0 at intio0 addr 0x428000 ipl 1 > [ 1.000000] nhpib1 at intio0 addr 0x478000 ipl 3: internal HP-IB > [ 1.000000] hpibbus1 at nhpib1 > [ 1.000000] dma0 at intio0 addr 0x500000 ipl 1: 98620C, 2 channels, 3= 2-bit DMA > [ 1.000000] topcat0 at intio0 addr 0x560000: 1024x400x4 HP98543 topca= t frame buffer > [ 1.000000] wsdisplay0 at topcat0 kbdmux 1: console (std, vt100 emula= tion) > [ 1.000000] wsmux1: connecting to wsdisplay0 > [ 1.000000] dio0 at mainbus0 > [ 1.000000] com0 at dio0 scode 9 ipl 5: ns8250 or ns16450, no fifo > [ 1.000000] 98622A at dio0 scode 12 ipl 3 not configured > [ 1.000000] le0 at dio0 scode 21 ipl 5: address 08:00:09:02:39:57 > [ 1.000000] le0: 8 receive buffers, 2 transmit buffers > [ 1.000000] timecounter: Timecounter "clockinterrupt" frequency 100 H= z quality 0 > [ 1.000009] timecounter: Timecounter "mc6840" frequency 250000 Hz qua= lity 100 > [ 2.104865] hilkbd0 at hil0 code 1: 109-key keyboard, layout 1f > [ 2.154833] wskbd0 at hilkbd0 mux 1 > [ 2.189885] wskbd0: connecting to wsdisplay0 > [ 6.573065] boot device: le0 > [ 6.593061] root on le0 > [ 6.633605] nfs_boot: trying DHCP/BOOTP > [ 9.691805] nfs_boot: BOOTP next-server: 10.0.1.130 > [ 9.704173] nfs_boot: my_name=3Dhp9k332 > [ 9.718801] nfs_boot: my_addr=3D10.0.1.77 > [ 9.724505] nfs_boot: my_mask=3D255.0.0.0 > [ 9.740185] nfs_boot: gateway=3D10.0.1.1 > [ 15.919333] root on pi3bsd.eschatologist.net:/export/NetBSD/9.0/root/= hp9k332 > [ 15.932213] root file system type: nfs > [ 15.947829] kern.module.path=3D/stand/hp300/9.0/modules > [ 15.989281] WARNING: preposterous TOD clock time > [ 16.000921] WARNING: using filesystem time > [ 16.019341] WARNING: CHECK AND RESET THE DATE! Awesome - I love to see NetBSD on new^Wold-but-different hardware :-p In terms of having it show as an HP332 I assume the easy bit would be adding HP_332 to sys/arch/hp300/include/hp300spu.h and then looking for all the cases of HP_340 in sys/arch/hp300 and adding an HP_332 as required. The hard part would be working out how to tell them apart and updating the assembly in hp300/locore.s stand/common/srt0.S :) Presumably HP-UX could tell them apart so presumably there must be some way to probe it... David