Port-hp300 archive

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

Re: HP 9000 Series 332 support. Hardware request.



On Mon, Sep 9, 2013 at 7:26 AM, Joerg M. Sigle 
<joerg.sigle%jsigle.com@localhost> wrote:
>
> I remember that back then, I finally managed to get *some* NetBSD
> running on the HP 9000/318 - limited to built in 4 MB memory, no local
> disk drive, swap over 10 MBit/sec Ethernet, console via serial port, no
> graphics monitor available.
>
> Even X11-Clients would work on the machine - although swapping would
> take very long.
>
> Not all kernels would work however; I remember I had to try quite a bit.
> I should have archived the netboot-setup and my logs from back then, so
> I might be able to look up details if required.

I don't have ethernet yet, but I'll try a few more kernels to find a small one
that works as a starting point on this hardware.

I needed a small patch to 6.1.1 to compile without any 68040 systems enabled.
Index: pmap_bootstrap.c
===================================================================
RCS file: /cvsroot/src/sys/arch/hp300/hp300/pmap_bootstrap.c,v
retrieving revision 1.57
diff -u -r1.57 pmap_bootstrap.c
--- pmap_bootstrap.c    10 Feb 2012 06:28:39 -0000    1.57
+++ pmap_bootstrap.c    9 Sep 2013 17:56:25 -0000
@@ -411,8 +411,10 @@
      */
     RELOC(Sysseg, st_entry_t *) = (st_entry_t *)(kstpa - firstpa);
     RELOC(Sysseg_pa, paddr_t) = kstpa;
+#if defined(M68040) || defined(M68060)
     if (RELOC(mmutype, int) == MMU_68040)
         RELOC(protostfree, u_int) = stfree;
+#endif
     /*
      * Sysptmap: base of kernel page table map
      */

I can file a proper PR once I get the system working, in case there
are any other patches
needed.

-Andrew


Home | Main Index | Thread Index | Old Index