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.
Hi,
> 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
This is an obvious bug (by me) so I've committed a fix
(without 68060 because hp300 doesn't have it) to HEAD.
I'll send a pullup request.
I've also put an HP330 specific shrinked kernel binary (untested):
ftp://ftp.netbsd.org/pub/NetBSD/misc/tsutsui/hp300/netbsd-6_20130921/
size(1) shows:
---
% size -A netbsd
netbsd :
section size addr
.text 1173688 0
.rodata 104355 1173688
link_set_modules 80 1278044
link_set_bufq_strats 12 1278124
link_set_sysctl_funcs 52 1278136
link_set_dkwedge_methods 4 1278188
link_set_malloc_types 120 1278192
link_set_evcnts 40 1278312
link_set_domains 24 1278352
link_set_prop_linkpools 32 1278376
.data 43476 1286656
.bss 84800 1330176
.comment 33 0
.ident 24942 0
.note.netbsd.ident 24 0
Total 1431682
---
so hope 4MB system accepts it.
---
Izumi Tsutsui
Home |
Main Index |
Thread Index |
Old Index