Add INSTALL and GENERIC kernel configuration wrappers for IP12 family.
Note that devices are defined in the IP2x configuration file; the IP12 is 99.5% the same as the IP20/22/24. Indeed, the only reason to have a separate config file for IP12 is to sort out the MIPS1/MIPS3 locore bits. To that end, the wrappers include the IP2x GENERIC config, undefine a few directives, and define the appropriate bits for IP12.
This commit is contained in:
parent
b659e3ae0f
commit
a061928d83
19
sys/arch/sgimips/conf/GENERIC32_IP12
Normal file
19
sys/arch/sgimips/conf/GENERIC32_IP12
Normal file
@ -0,0 +1,19 @@
|
||||
#
|
||||
# sgimips GENERIC kernel for IP12
|
||||
#
|
||||
# The IP12 is very, very similar to the IP2x, with one important difference:
|
||||
# it is MIPS1. This means that we cannot produce a kernel that works on both
|
||||
# architectures.
|
||||
#
|
||||
# To keep things simple, include the IP2x kernel config and "no option" the
|
||||
# offending bits.
|
||||
|
||||
# Pull in standard `install' config
|
||||
include "arch/sgimips/conf/GENERIC32_IP2x"
|
||||
|
||||
no options MIPS3
|
||||
options MIPS1
|
||||
no options INDY_R4600_CACHE
|
||||
|
||||
no makeoptions TEXTADDR
|
||||
makeoptions TEXTADDR=0x80002000
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: GENERIC32_IP2x,v 1.23 2004/11/10 17:54:07 christos Exp $
|
||||
# $NetBSD: GENERIC32_IP2x,v 1.24 2004/11/13 03:20:37 sekiya Exp $
|
||||
#
|
||||
# GENERIC32_IP2x machine description file
|
||||
#
|
||||
@ -29,7 +29,7 @@ makeoptions TEXTADDR=0x88069000 # entry point
|
||||
|
||||
options INCLUDE_CONFIG_FILE # embed config file in kernel binary
|
||||
|
||||
#ident "GENERIC32-IP2x-$Revision: 1.23 $"
|
||||
#ident "GENERIC32-IP2x-$Revision: 1.24 $"
|
||||
|
||||
maxusers 32
|
||||
|
||||
@ -205,6 +205,10 @@ ss* at scsibus? target ? lun ? # SCSI scanners
|
||||
ses* at scsibus? target ? lun ? # SCSI SES/SAF-TE devices
|
||||
uk* at scsibus? target ? lun ? # unknown SCSI
|
||||
|
||||
# Personal Iris / Indigo R3k
|
||||
pic0 at mainbus0 addr 0x1fa00000
|
||||
gio0 at pic0
|
||||
|
||||
# Indy / Indigo^2
|
||||
imc0 at mainbus0 addr 0x1fa00000
|
||||
gio0 at imc0
|
||||
@ -224,9 +228,9 @@ wsdisplay* at grtwo? console ?
|
||||
# HPC devices
|
||||
sq* at hpc0 offset ?
|
||||
wdsc* at hpc0 offset ?
|
||||
dpclock* at hpc0 offset ? # IP20
|
||||
dsclock* at hpc0 offset ? # IP22/24
|
||||
haltwo* at hpc0 offset ?
|
||||
dpclock* at hpc0 offset ? # IP12 / IP20
|
||||
dsclock* at hpc0 offset ? # IP22 / 24
|
||||
haltwo* at hpc0 offset ? # IP22 / 24
|
||||
pckbc* at hpc0 offset ?
|
||||
|
||||
pckbd* at pckbc?
|
||||
|
14
sys/arch/sgimips/conf/INSTALL32_IP12
Normal file
14
sys/arch/sgimips/conf/INSTALL32_IP12
Normal file
@ -0,0 +1,14 @@
|
||||
#
|
||||
# sgimips install kernel with ramdisk added.
|
||||
#
|
||||
|
||||
# Pull in standard `install' config
|
||||
include "arch/sgimips/conf/GENERIC32_IP12"
|
||||
|
||||
makeoptions COPTS="-Os"
|
||||
|
||||
# Enable the hooks used for initializing the root memory-disk.
|
||||
options MEMORY_DISK_HOOKS
|
||||
options MEMORY_DISK_IS_ROOT # force root on memory disk
|
||||
options MEMORY_DISK_SERVER=0 # no userspace memory disk support
|
||||
options MEMORY_DISK_ROOT_SIZE=6144# size of memory disk, in blocks (3MB)
|
Loading…
Reference in New Issue
Block a user