From 0eb01da9c9499480288a3e9c401f2fa769db273e Mon Sep 17 00:00:00 2001 From: reinoud Date: Thu, 5 Apr 2001 22:34:28 +0000 Subject: [PATCH] Two preliminary NC kernel definition files.... --- sys/arch/arm32/conf/NC | 281 +++++++++++++++++++++++++++++++ sys/arch/arm32/conf/NC_WSCONS | 306 ++++++++++++++++++++++++++++++++++ 2 files changed, 587 insertions(+) create mode 100644 sys/arch/arm32/conf/NC create mode 100644 sys/arch/arm32/conf/NC_WSCONS diff --git a/sys/arch/arm32/conf/NC b/sys/arch/arm32/conf/NC new file mode 100644 index 000000000000..6e5861bed48d --- /dev/null +++ b/sys/arch/arm32/conf/NC @@ -0,0 +1,281 @@ +# $NetBSD: NC,v 1.1 2001/04/05 22:34:28 reinoud Exp $ +# +# NC - with vidcconsole +# + +include "arch/arm32/conf/std.arm32" + +# estimated number of users + +maxusers 16 + +# Standard system options + +options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT +#options NTP # NTP phase/frequency locked loop + +# CPU options + +# For standard RiscPC's +#options CPU_SA110 # Support the SA110 core +#options CPU_ARM6 # Support the ARM6 core +#options CPU_ARM7 # Support the ARM7 core +#options CPU_ARM8 # Support the ARM8 core +#options ARM6_LATE_ABORT # ARM6XX late abort support + +# For A7000, Stork and other ARM7500 machines +options CPU_ARM7 # Support the ARM7 core +options CPU_ARM7500 # We are actually an ARM7500 + +# Architecture options +options IOMD # We have an IOMD +options RISCPC # We are a RiscPC +#options RC7500 # We are a RC7500 +options NC + +# FPA options + +#options ARMFPE # ARM Ltd FPE + +# File systems + +#file-system FFS # UFS +#file-system LFS # log-structured file system +file-system MFS # memory file system +file-system NFS # Network file system +#file-system ADOSFS # AmigaDOS-compatible file system +#file-system EXT2FS # second extended file system (linux) +#file-system CD9660 # ISO 9660 + Rock Ridge file system +#file-system MSDOSFS # MS-DOS file system +#file-system FDESC # /dev/fd +#file-system FILECORE # Acorn filecore file system +file-system KERNFS # /kern +#file-system NULLFS # loopback file system +#file-system PORTAL # portal filesystem (still experimental) +file-system PROCFS # /proc +#file-system UMAPFS # NULLFS + uid and gid remapping +#file-system UNION # union file system + +# File system options +#options QUOTA # UFS quotas +#options NFSSERVER + +# Networking options + +#options GATEWAY # packet forwarding +#options INET6 # IPV6 +#options IPSEC # IP security +#options IPSEC_ESP # IP security (encryption part; define w/ IPSEC) +#options IPSEC_DEBUG # debug for IP security +options INET # IP + ICMP + TCP + UDP +#options MROUTING # IP multicast routing +#options NS # XNS +#options NSIP # XNS tunneling over IP +#options ISO,TPIP # OSI +#options EON # OSI tunneling over IP +#options CCITT,LLC,HDLC # X.25 +#options NETATALK # AppleTalk networking +#options PFIL_HOOKS # pfil(9) packet filter hooks +#options PPP_BSDCOMP # BSD-Compress compression support for PPP +#options PPP_DEFLATE # Deflate compression support for PPP +#options PPP_FILTER # Active filter support for PPP (requires bpf) + +# Compatibility options + +options COMPAT_43 # 4.3BSD compatibility. +options COMPAT_14 # NetBSD 1.4 compatibility. +#options COMPAT_13 # NetBSD 1.3 compatibility. +#options COMPAT_12 # NetBSD 1.2 compatibility. +#options COMPAT_11 # NetBSD 1.1 compatibility. +#options COMPAT_10 # NetBSD 1.0 compatibility. +#options COMPAT_09 # NetBSD 0.9 compatibility. +#options TCP_COMPAT_42 # TCP bug compatibility with 4.2BSD + +# Bootloader options +#options COMPAT_OLD_BOOTLOADER + + +# Shared memory options + +options SYSVMSG # System V-like message queues +options SYSVSEM # System V-like semaphores +options SYSVSHM # System V-like memory sharing +options SHMMAXPGS=1024 # 1024 pages is the default + +# Device options + +options MEMORY_DISK_HOOKS # boottime setup of ramdisk +#options MEMORY_DISK_SIZE=0 # Size in blocks +#options MINIROOTSIZE=3400 # Size in blocks +#options MEMORY_DISK_IS_ROOT # use memory disk as root + +# Miscellaneous kernel options +options KTRACE # system call tracing, a la ktrace(1) +options IRQSTATS # manage IRQ statistics +#options LKM # loadable kernel modules +options KMEMSTATS # kernel memory statistics + +# Development and Debugging options + +#options ARM700BUGTRACK # track the ARM700 swi bug +#options PORTMASTER # Enable PortMaster only options +options DIAGNOSTIC # internally consistency checks +#options PMAP_DEBUG # Enable pmap_debug_level code +#options IPKDB # remote kernel debugging +#options DDB # in-kernel debugger +#options DDB_HISTORY_SIZE=100 # Enable history editing in DDB +#makeoptions DEBUG="-g" # compile full symbol table + +config netbsd root on ne0 type nfs +options NFS_BOOT_DHCP +#options NFS_BOOTPARAM +#options COMCONSOLE=0,CONADDR=0x3f8,CONUNIT=0,CONSPEED=9600 + +# The main bus device +mainbus0 at root + +# The boot cpu +cpu0 at mainbus? + +# The IOMD +iomd0 at mainbus? + +# system clock via IOMD +clock* at iomd? + +# kbd via IOMD +kbd* at iomd? + +# quadrature mouse via IOMD +#qms* at iomd? + +# PS2 mouse via IOMD +opms* at iomd? + +# IIC bus device +iic* at iomd? + +# RTC device via IIC bus +rtc* at iic? addr 0xa0 + +# time-of-day device via rtc device +todclock0 at rtc? + +# VIDC device +vidc0 at mainbus? + +# The vidc +vidcconsole0 at vidc? + +# generic VT console device +vt0 at vidc? +vt1 at vidc? +#vt2 at vidc? +#vt3 at vidc? +#vt4 at vidc? +#vt5 at vidc? + +# Peripheral IO Controller +pioc0 at mainbus? base 0x00210000 + +# IDE disk controller +#wdc0 at pioc? offset 0x01f0 irq 9 +#wdc* at pioc? offset 0x0170 irq -1 +#wd* at wdc? channel ? drive ? +#atapibus* at wdc? channel ? +#cd* at atapibus? drive ? +#sd* at atapibus? drive ? + +# Floppy disk controller +#fdc* at pioc? offset 0x03f0 irq 12 dack 0x2000 +#fdc* at pioc? offset 0x0370 irq -1 dack 0x2000 +#fd0 at fdc? drive ? + +# Serial ports +#com* at pioc? offset 0x03f8 irq 10 +#com* at pioc? offset 0x02f8 irq -1 +#com* at pioc? offset 0x0338 irq -1 +#com* at pioc? offset 0x0238 irq -1 + +# Parallel ports +lpt* at pioc? offset 0x0278 irq 0 +#lpt* at pioc? offset 0x0378 irq -1 +#lpt* at pioc? offset 0x03bc irq -1 + +# Crude sound device +beep0 at vidc? + +# Audio device +vidcaudio0 at vidc? +audio* at vidcaudio0 + +# System beep +sysbeep0 at vidc? + +# Podule bus device +podulebus0 at root + +#asc* at podulebus? # Acorn SCSI card +#scsibus* at asc? + +#cosc* at podulebus? # MCS Connect32 SCSI II card +#scsibus* at cosc? + +#ptsc* at podulebus? # Power-Tec SCSI II card +#scsibus* at ptsc? + +#csc* at podulebus? # Cumana SCSI II card +#scsibus* at csc? + +#oak* at podulebus? # Oak SCSI I card +#scsibus* at oak? + +#csa* at podulebus? # Cumana SCSI I adpater +#scsibus* at csa? + +#sd* at scsibus? target ? lun ? # SCSI disk drives +#st* at scsibus? target ? lun ? # SCSI tape drives +#cd* at scsibus? target ? lun ? # SCSI CD-ROM drives +#ch* at scsibus? target ? lun ? # SCSI auto-changers +#uk* at scsibus? target ? lun ? # SCSI unknown device +#ss* at scsibus? target ? lun ? # SCSI scanner + +#icside* at podulebus? # ICS IDE card +#wd* at icside? channel ? drive ? +#atapibus* at icside? channel ? + +#rapide* at podulebus? # Yellowstone RapIDE card +#wd* at rapide? channel ? drive ? +#atapibus* at rapide? channel ? + +#simide* at podulebus? # Simtec IDE card +#wd* at simide? channel ? drive ? +#atapibus* at simide? channel ? + +#amps* at podulebus? # Atomwide Multi-Port Serial card +#com* at amps? + +#ie* at podulebus? # Ether1 podules +#ea* at podulebus? # Ether3 podules +#eb0 at podulebus? # EtherB network slot cards +ne* at podulebus? # NE2000 clone cards + +pseudo-device loop 1 # network loopback +#pseudo-device bpfilter 8 # packet filter +#pseudo-device sl 2 # CSLIP +#pseudo-device ppp 2 # PPP +#pseudo-device tun 2 # network tunneling over tty +#pseudo-device ipfilter 1 # ip filter +#pseudo-device strip 4 # STRIP +pseudo-device pty # pseudo-terminals +#pseudo-device tb 1 # tablet line discipline +pseudo-device vnd 4 # disk-like interface to files +#pseudo-device ccd 2 # concatenated disk devices +pseudo-device md 1 # Ramdisk driver +pseudo-device rnd # /dev/random and /dev/urandom + +#makeoptions MONITOR="Taxan875+LR" +makeoptions MONITOR="AKF85" +#makeoptions MODES="800,600,60" +makeoptions MODES="640,480,70" +#makeoptions MODES="1024,768,60" diff --git a/sys/arch/arm32/conf/NC_WSCONS b/sys/arch/arm32/conf/NC_WSCONS new file mode 100644 index 000000000000..93d1fd8fe0eb --- /dev/null +++ b/sys/arch/arm32/conf/NC_WSCONS @@ -0,0 +1,306 @@ +# $NetBSD: NC_WSCONS,v 1.1 2001/04/05 22:34:28 reinoud Exp $ +# +# NC - with wscons +# + +include "arch/arm32/conf/std.arm32" + +# estimated number of users + +maxusers 16 + +# Standard system options + +options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT +#options NTP # NTP phase/frequency locked loop + +# CPU options + +# For standard RiscPC's +#options CPU_SA110 # Support the SA110 core +#options CPU_ARM6 # Support the ARM6 core +#options CPU_ARM7 # Support the ARM7 core +#options CPU_ARM8 # Support the ARM8 core +#options ARM6_LATE_ABORT # ARM6XX late abort support + +# For A7000, Stork and other ARM7500 machines +options CPU_ARM7 # Support the ARM7 core +options CPU_ARM7500 # We are actually an ARM7500 + +# Architecture options +options IOMD # We have an IOMD +options RISCPC # We are a RiscPC +#options RC7500 # We are a RC7500 +options NC + +# FPA options + +#options ARMFPE # ARM Ltd FPE + +# File systems + +#file-system FFS # UFS +#file-system LFS # log-structured file system +file-system MFS # memory file system +file-system NFS # Network file system +#file-system ADOSFS # AmigaDOS-compatible file system +#file-system EXT2FS # second extended file system (linux) +#file-system CD9660 # ISO 9660 + Rock Ridge file system +#file-system MSDOSFS # MS-DOS file system +#file-system FDESC # /dev/fd +#file-system FILECORE # Acorn filecore file system +file-system KERNFS # /kern +#file-system NULLFS # loopback file system +#file-system PORTAL # portal filesystem (still experimental) +file-system PROCFS # /proc +#file-system UMAPFS # NULLFS + uid and gid remapping +#file-system UNION # union file system + +# File system options +#options QUOTA # UFS quotas +#options NFSSERVER + +# Networking options + +#options GATEWAY # packet forwarding +#options INET6 # IPV6 +#options IPSEC # IP security +#options IPSEC_ESP # IP security (encryption part; define w/ IPSEC) +#options IPSEC_DEBUG # debug for IP security +options INET # IP + ICMP + TCP + UDP +#options MROUTING # IP multicast routing +#options NS # XNS +#options NSIP # XNS tunneling over IP +#options ISO,TPIP # OSI +#options EON # OSI tunneling over IP +#options CCITT,LLC,HDLC # X.25 +#options NETATALK # AppleTalk networking +#options PFIL_HOOKS # pfil(9) packet filter hooks +#options PPP_BSDCOMP # BSD-Compress compression support for PPP +#options PPP_DEFLATE # Deflate compression support for PPP +#options PPP_FILTER # Active filter support for PPP (requires bpf) + +# Compatibility options + +options COMPAT_43 # 4.3BSD compatibility. +options COMPAT_14 # NetBSD 1.4 compatibility. +#options COMPAT_13 # NetBSD 1.3 compatibility. +#options COMPAT_12 # NetBSD 1.2 compatibility. +#options COMPAT_11 # NetBSD 1.1 compatibility. +#options COMPAT_10 # NetBSD 1.0 compatibility. +#options COMPAT_09 # NetBSD 0.9 compatibility. +#options TCP_COMPAT_42 # TCP bug compatibility with 4.2BSD + +# Bootloader options +#options COMPAT_OLD_BOOTLOADER + + +# Shared memory options + +options SYSVMSG # System V-like message queues +options SYSVSEM # System V-like semaphores +options SYSVSHM # System V-like memory sharing +options SHMMAXPGS=1024 # 1024 pages is the default + +# Device options + +options MEMORY_DISK_HOOKS # boottime setup of ramdisk +#options MEMORY_DISK_SIZE=0 # Size in blocks +#options MINIROOTSIZE=3400 # Size in blocks +#options MEMORY_DISK_IS_ROOT # use memory disk as root + +# Miscellaneous kernel options +options KTRACE # system call tracing, a la ktrace(1) +options IRQSTATS # manage IRQ statistics +#options LKM # loadable kernel modules +options KMEMSTATS # kernel memory statistics + +# Development and Debugging options + +#options ARM700BUGTRACK # track the ARM700 swi bug +#options PORTMASTER # Enable PortMaster only options +options DIAGNOSTIC # internally consistency checks +#options PMAP_DEBUG # Enable pmap_debug_level code +#options IPKDB # remote kernel debugging +#options DDB # in-kernel debugger +#options DDB_HISTORY_SIZE=100 # Enable history editing in DDB +#makeoptions DEBUG="-g" # compile full symbol table + +config netbsd root on ne0 type nfs +options NFS_BOOT_DHCP +#options NFS_BOOTPARAM +#options COMCONSOLE=0,CONADDR=0x3f8,CONUNIT=0,CONSPEED=9600 + +# The main bus device +mainbus0 at root + +# The boot cpu +cpu0 at mainbus? + +# The IOMD +iomd0 at mainbus? + +# system clock via IOMD +clock* at iomd? + +# quadrature mouse via IOMD +#qms* at iomd? + +# IIC bus device +iic* at iomd? + +# RTC device via IIC bus +rtc* at iic? addr 0xa0 + +# time-of-day device via rtc device +todclock0 at rtc? + +# VIDC device +vidc0 at mainbus? + +# WSCONS +# ws console uses DUMB, SUN or VT100 terminal emulation +#options WSEMUL_NODUMB +#options WSEMUL_SUN +options WSEMUL_VT100 + +#options FONT_BOLD8x16 +#options FONT_GALLANT12x22 # Very nice font +#options FONT_LUCIDA16x29 +#options FONT_OMRON12x20 # looks funny +#options FONT_QVSS8x15 # broken ? +options FONT_SONY12x25 # looks like VT220 font +options FONT_SONY8x16 # not tested +#options FONT_VT220L8x8 # 8x8 font as in Arch. cons +#options FONT_VT220L8x16 # 8x(2x8) font as in Arch. cons +#options FONT_VT220L8x10 # not tested +#options FONT_VT220L8x20 # not tested + +vidcvideo0 at vidc? # wscons driver for VIDC +wsdisplay* at vidcvideo? console ? # display itself + +rpckbd* at iomd? # based on old `kbd' driver +wskbd* at rpckbd? # wskbd on RiscPC keyboard + +pseudo-device wsmux 2 # why 2 ? + + +# The origional vidcconsole : +# vidcconsole kbd at IOMD +# vidcconsole PS2 mouse at IOMD +#vidcconsole0 at vidc? # display + vt100 emulation +#kbd* at iomd? # PS/2 keyboard for vidcconsole +#opms* at iomd? # RiscPC mouse for vidcconsole + +# generic VT console device +#vt0 at vidc? +#vt1 at vidc? +#vt2 at vidc? +#vt3 at vidc? +#vt4 at vidc? +#vt5 at vidc? + +# Peripheral IO Controller +pioc0 at mainbus? base 0x00210000 + +# IDE disk controller +#wdc0 at pioc? offset 0x01f0 irq 9 +#wdc* at pioc? offset 0x0170 irq -1 +#wd* at wdc? channel ? drive ? +#atapibus* at wdc? channel ? +#cd* at atapibus? drive ? +#sd* at atapibus? drive ? + +# Floppy disk controller +#fdc* at pioc? offset 0x03f0 irq 12 dack 0x2000 +#fdc* at pioc? offset 0x0370 irq -1 dack 0x2000 +#fd0 at fdc? drive ? + +# Serial ports +#com* at pioc? offset 0x03f8 irq 10 +#com* at pioc? offset 0x02f8 irq -1 +#com* at pioc? offset 0x0338 irq -1 +#com* at pioc? offset 0x0238 irq -1 + +# Parallel ports +lpt* at pioc? offset 0x0278 irq 0 +#lpt* at pioc? offset 0x0378 irq -1 +#lpt* at pioc? offset 0x03bc irq -1 + +# Crude sound device +beep0 at vidc? + +# Audio device +vidcaudio0 at vidc? +audio* at vidcaudio0 + +# System beep +sysbeep0 at vidc? + +# Podule bus device +podulebus0 at root + +#asc* at podulebus? # Acorn SCSI card +#scsibus* at asc? + +#cosc* at podulebus? # MCS Connect32 SCSI II card +#scsibus* at cosc? + +#ptsc* at podulebus? # Power-Tec SCSI II card +#scsibus* at ptsc? + +#csc* at podulebus? # Cumana SCSI II card +#scsibus* at csc? + +#oak* at podulebus? # Oak SCSI I card +#scsibus* at oak? + +#csa* at podulebus? # Cumana SCSI I adpater +#scsibus* at csa? + +#sd* at scsibus? target ? lun ? # SCSI disk drives +#st* at scsibus? target ? lun ? # SCSI tape drives +#cd* at scsibus? target ? lun ? # SCSI CD-ROM drives +#ch* at scsibus? target ? lun ? # SCSI auto-changers +#uk* at scsibus? target ? lun ? # SCSI unknown device +#ss* at scsibus? target ? lun ? # SCSI scanner + +#icside* at podulebus? # ICS IDE card +#wd* at icside? channel ? drive ? +#atapibus* at icside? channel ? + +#rapide* at podulebus? # Yellowstone RapIDE card +#wd* at rapide? channel ? drive ? +#atapibus* at rapide? channel ? + +#simide* at podulebus? # Simtec IDE card +#wd* at simide? channel ? drive ? +#atapibus* at simide? channel ? + +#amps* at podulebus? # Atomwide Multi-Port Serial card +#com* at amps? + +#ie* at podulebus? # Ether1 podules +#ea* at podulebus? # Ether3 podules +#eb0 at podulebus? # EtherB network slot cards +ne* at podulebus? # NE2000 clone cards + +pseudo-device loop 1 # network loopback +#pseudo-device bpfilter 8 # packet filter +#pseudo-device sl 2 # CSLIP +#pseudo-device ppp 2 # PPP +#pseudo-device tun 2 # network tunneling over tty +#pseudo-device ipfilter 1 # ip filter +#pseudo-device strip 4 # STRIP +pseudo-device pty # pseudo-terminals +#pseudo-device tb 1 # tablet line discipline +pseudo-device vnd 4 # disk-like interface to files +#pseudo-device ccd 2 # concatenated disk devices +pseudo-device md 1 # Ramdisk driver +pseudo-device rnd # /dev/random and /dev/urandom + +#makeoptions MONITOR="Taxan875+LR" +makeoptions MONITOR="AKF85" +#makeoptions MODES="800,600,60" +makeoptions MODES="640,480,70" +#makeoptions MODES="1024,768,60"