CVS commit: src/sys/arch/evbmips/conf

2021-06-15 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Tue Jun 15 16:43:48 UTC 2021

Modified Files:
src/sys/arch/evbmips/conf: MIPSSIM

Log Message:
Add some more useful options to MIPSSIM

In particular, MAKEDEV fails if tmpfs isn't available, and having
compat_netbsd32 but no SysV shared memory causes some dmesg spam.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/evbmips/conf/MIPSSIM

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/evbmips/conf/MIPSSIM
diff -u src/sys/arch/evbmips/conf/MIPSSIM:1.3 src/sys/arch/evbmips/conf/MIPSSIM:1.4
--- src/sys/arch/evbmips/conf/MIPSSIM:1.3	Tue Feb 16 10:58:32 2021
+++ src/sys/arch/evbmips/conf/MIPSSIM	Tue Jun 15 16:43:48 2021
@@ -1,4 +1,4 @@
-# $NetBSD: MIPSSIM,v 1.3 2021/02/16 10:58:32 reinoud Exp $
+# $NetBSD: MIPSSIM,v 1.4 2021/06/15 16:43:48 nia Exp $
 #
 # Kernel config for the QEMU MIPS "mipssim" simulator
 #
@@ -8,7 +8,7 @@
 
 include 	"arch/evbmips/conf/std.mipssim"
 
-#ident 		"GENERIC-$Revision: 1.3 $"
+#ident 		"GENERIC-$Revision: 1.4 $"
 
 maxusers	32
 
@@ -25,7 +25,7 @@ options 	TCP_CSUM_COUNTERS
 options 	UDP_CSUM_COUNTERS
 options 	TCP_OUTPUT_COUNTERS
 
-#options 	NTP		# network time protocol
+options 	NTP		# network time protocol
 
 # Debugging options
 options 	DIAGNOSTIC	# extra kernel sanity checking
@@ -45,23 +45,29 @@ include "conf/compat_netbsd50.co
 #options 	EXEC_ECOFF	# exec ECOFF binaries
 #options 	COMPAT_ULTRIX	# binary compatibility with Ultrix
 
+options 	SYSVMSG		# System V-like message queues
+options 	SYSVSEM		# System V-like semaphores
+options 	SYSVSHM		# System V-like memory sharing
+
 # File systems
 file-system	FFS		# Berkeley Fast Filesystem
 #file-system	MFS		# memory-based filesystem
 #file-system 	EXT2FS		# second extended file system (linux)
 file-system	NFS		# Sun NFS-compatible filesystem client
-#file-system	KERNFS		# kernel data-structure filesystem
-#file-system	NULLFS		# NULL layered filesystem
-#file-system 	OVERLAY		# overlay file system
-#file-system	FDESC		# user file descriptor filesystem
+file-system	KERNFS		# kernel data-structure filesystem
+file-system	NULLFS		# NULL layered filesystem
+file-system 	OVERLAY		# overlay file system
+file-system	FDESC		# user file descriptor filesystem
 #file-system	UMAPFS		# uid/gid remapping filesystem
 #file-system	LFS		# Log-based filesystem (still experimental)
-#file-system	PROCFS		# /proc
+file-system	PROCFS		# /proc
 #file-system	CD9660		# ISO 9660 + Rock Ridge file system
-#file-system	UNION		# union file system
+file-system	UNION		# union file system
 #file-system	MSDOSFS		# MS-DOS FAT filesystem(s).
 #file-system 	CODA		# Coda File System; also needs vcoda (below)
 file-system	PTYFS		# /dev/pts/N support
+file-system	MFS		# memory-based filesystem
+file-system	TMPFS		# Efficient memory file-system
 
 # File system options
 #options 	NFSSERVER	# Sun NFS-compatible filesystem server
@@ -69,7 +75,7 @@ file-system	PTYFS		# /dev/pts/N support
 #options 	QUOTA2		# new, in-filesystem UFS quotas
 options 	DISKLABEL_EI	# disklabel Endian Independent support
 options 	FFS_EI		# FFS Endian Independent support
-#options 	WAPBL		# File system journaling support
+options 	WAPBL		# File system journaling support
 #options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
 # immutable) behave as system flags.
 
@@ -81,7 +87,7 @@ options 	FFS_EI		# FFS Endian Independen
 # Networking options
 #options 	GATEWAY		# IP packet forwarding
 options 	INET		# Internet protocols
-#options 	INET6		# IPV6
+options 	INET6		# IPV6
 #options 	IPSEC		# IP security
 #options 	IPSEC_DEBUG	# debug for IP security
 #options 	MROUTING	# packet forwarding of multicast packets



CVS commit: src/sys/arch/evbmips/conf

2021-04-29 Thread Simon Burge
Module Name:src
Committed By:   simonb
Date:   Thu Apr 29 08:47:26 UTC 2021

Modified Files:
src/sys/arch/evbmips/conf: std.malta

Log Message:
Don't force all MALTA kernels to be compiled with -mips64 when they
also support MIPS32-only CPU configs.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/sys/arch/evbmips/conf/std.malta

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/evbmips/conf/std.malta
diff -u src/sys/arch/evbmips/conf/std.malta:1.9 src/sys/arch/evbmips/conf/std.malta:1.10
--- src/sys/arch/evbmips/conf/std.malta:1.9	Thu Apr 11 04:28:17 2019
+++ src/sys/arch/evbmips/conf/std.malta	Thu Apr 29 08:47:26 2021
@@ -1,4 +1,4 @@
-# $NetBSD: std.malta,v 1.9 2019/04/11 04:28:17 simonb Exp $
+# $NetBSD: std.malta,v 1.10 2021/04/29 08:47:26 simonb Exp $
 
 machine evbmips mips
 include		"conf/std"	# MI standard options
@@ -11,8 +11,6 @@ options	MIPS_MALTA
 options	EXEC_ELF32	# exec ELF32 binaries
 options	EXEC_SCRIPT	# exec #! scripts
 
-makeoptions	CFLAGS+="-mips64"
-makeoptions	AFLAGS+="-mips64"
 makeoptions	DEFTEXTADDR="0x8010"
 makeoptions	BOARDTYPE="malta"
 makeoptions	NEED_SREC=yes



CVS commit: src/sys/arch/evbmips/conf

2021-04-18 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sun Apr 18 10:45:22 UTC 2021

Modified Files:
src/sys/arch/evbmips/conf: OCTEON

Log Message:
enable a few more "generic" items in this configuration, mostly
from what pmax GENERIC enables, but not nearly all of it:

- enable OVERLAY, UMAPFS, FDESC, LFS, UNION, PUFFS (and putter),
  and add some more commented out entries
- enable DISKLABEL_EI and FFS_EI
- turn on GATEWAY and ppp(4) options
- add commented ALTQ section


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/sys/arch/evbmips/conf/OCTEON

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/evbmips/conf/OCTEON
diff -u src/sys/arch/evbmips/conf/OCTEON:1.9 src/sys/arch/evbmips/conf/OCTEON:1.10
--- src/sys/arch/evbmips/conf/OCTEON:1.9	Sun Sep 27 13:48:50 2020
+++ src/sys/arch/evbmips/conf/OCTEON	Sun Apr 18 10:45:22 2021
@@ -1,11 +1,11 @@
-#	$NetBSD: OCTEON,v 1.9 2020/09/27 13:48:50 roy Exp $
+#	$NetBSD: OCTEON,v 1.10 2021/04/18 10:45:22 mrg Exp $
 
 include 	"arch/mips/conf/std.octeon"
 include 	"arch/evbmips/conf/files.octeon"
 
 #options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident 		"OCTEON-$Revision: 1.9 $"
+#ident 		"OCTEON-$Revision: 1.10 $"
 
 maxusers	32
 
@@ -45,7 +45,6 @@ makeoptions	COPY_SYMTAB=1	# size for emb
 # Compatibility options
 
 include "conf/compat_netbsd50.config"
-#options 	COMPAT_386BSD_MBRPART # recognize old partition ID
 
 #options 	EXEC_ECOFF	# exec ECOFF binaries
 #options 	COMPAT_ULTRIX	# binary compatibility with Ultrix
@@ -57,28 +56,30 @@ options 	DKWEDGE_METHOD_GPT	# Supports G
 # File systems
 file-system	FFS		# Berkeley Fast Filesystem
 file-system	MFS		# memory-based filesystem
-file-system	EXT2FS		# second extended file system (linux)
 file-system	NFS		# Sun NFS-compatible filesystem client
-file-system	TMPFS		# Efficient memory file-system
+file-system	LFS		# Log-based filesystem (still experimental)
+file-system	EXT2FS		# second extended file system (linux)
+file-system	CD9660		# ISO 9660 + Rock Ridge file system
+#file-system	FDESC		# user file descriptor filesystem
 file-system	KERNFS		# kernel data-structure filesystem
 file-system	NULLFS		# NULL layered filesystem
-#file-system	OVERLAY		# overlay file system
-#file-system	FDESC		# user file descriptor filesystem
-#file-system	UMAPFS		# uid/gid remapping filesystem
-#file-system	LFS		# Log-based filesystem (still experimental)
+file-system	OVERLAY		# overlay file system
+file-system	PUFFS		# Userspace file systems (e.g. ntfs-3g & sshfs)
 file-system	PROCFS		# /proc
-file-system	CD9660		# ISO 9660 + Rock Ridge file system
-#file-system	UNION		# union file system
+file-system	UMAPFS		# uid/gid remapping filesystem
+file-system	UNION		# union file system
+file-system	TMPFS		# Efficient memory file-system
+file-system	PTYFS		# /dev/pts/N support
 file-system	MSDOSFS		# MS-DOS FAT filesystem(s).
 #file-system	CODA		# Coda File System; also needs vcoda (below)
-file-system	PTYFS		# /dev/pts/N support
+#file-system	UDF		# experimental - OSTA UDF CD/DVD file-system
 
 # File system options
 options 	NFSSERVER	# Sun NFS-compatible filesystem server
 #options 	QUOTA		# legacy UFS quotas
 #options 	QUOTA2		# new, in-filesystem UFS quotas
-#options 	DISKLABEL_EI	# disklabel Endian Independent support
-#options 	FFS_EI		# FFS Endian Independent support
+options 	DISKLABEL_EI	# disklabel Endian Independent support
+options 	FFS_EI		# FFS Endian Independent support
 options 	WAPBL		# File system journaling support
 #options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
 #options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
@@ -90,7 +91,7 @@ options 	WAPBL		# File system journaling
 options 	BUFQ_PRIOCSCAN
 
 # Networking options
-#options 	GATEWAY		# IP packet forwarding
+options 	GATEWAY		# IP packet forwarding
 options 	INET		# Internet protocols
 options 	INET6		# IPV6
 #options 	IPSEC		# IP security
@@ -98,9 +99,24 @@ options 	INET6		# IPV6
 #options 	MROUTING	# packet forwarding of multicast packets
 #options 	PIM		# Protocol Independent Multicast
 #options 	NETATALK	# AppleTalk (over Ethernet) protocol
-#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)
+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)
+
+#options 	ALTQ		# Manipulate network interfaces' output queues
+#options 	ALTQ_BLUE	# Stochastic Fair Blue
+#options 	ALTQ_CBQ	# Class-Based Queueing
+#options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
+#options 	ALTQ_FIFOQ	# First-In First-Out Queue
+#options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
+#options 	ALTQ_HFSC	# Hierarchical Fair Service Curve

CVS commit: src/sys/arch/evbmips/conf

2021-02-16 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Tue Feb 16 10:58:33 UTC 2021

Modified Files:
src/sys/arch/evbmips/conf: MIPSSIM files.mipssim

Log Message:
I forgot to add the needed conf files for the mipssim virtio addition


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/evbmips/conf/MIPSSIM
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/evbmips/conf/files.mipssim

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/evbmips/conf/MIPSSIM
diff -u src/sys/arch/evbmips/conf/MIPSSIM:1.2 src/sys/arch/evbmips/conf/MIPSSIM:1.3
--- src/sys/arch/evbmips/conf/MIPSSIM:1.2	Mon Feb  8 00:47:53 2021
+++ src/sys/arch/evbmips/conf/MIPSSIM	Tue Feb 16 10:58:32 2021
@@ -1,10 +1,14 @@
-# $NetBSD: MIPSSIM,v 1.2 2021/02/08 00:47:53 simonb Exp $
+# $NetBSD: MIPSSIM,v 1.3 2021/02/16 10:58:32 reinoud Exp $
 #
 # Kernel config for the QEMU MIPS "mipssim" simulator
+#
+# The QEMU virtio support is experimental and subject to change
+# and will likely be removed when qemu gains a MIPS "virt" target.
+#
 
 include 	"arch/evbmips/conf/std.mipssim"
 
-#ident 		"GENERIC-$Revision: 1.2 $"
+#ident 		"GENERIC-$Revision: 1.3 $"
 
 maxusers	32
 
@@ -63,8 +67,8 @@ file-system	PTYFS		# /dev/pts/N support
 #options 	NFSSERVER	# Sun NFS-compatible filesystem server
 #options 	QUOTA		# legacy UFS quotas
 #options 	QUOTA2		# new, in-filesystem UFS quotas
-#options 	DISKLABEL_EI	# disklabel Endian Independent support
-#options 	FFS_EI		# FFS Endian Independent support
+options 	DISKLABEL_EI	# disklabel Endian Independent support
+options 	FFS_EI		# FFS Endian Independent support
 #options 	WAPBL		# File system journaling support
 #options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
 # immutable) behave as system flags.
@@ -105,6 +109,29 @@ com*		at mainbus?
 # mipsnet*	at mainbus?
 # options 	MIPSSIM_ETH_MACADDR="ba:bb:1e:01:23:45"
 
+
+# Virtio devices
+virtio*		at mainbus?		# Virtio PCI device
+#viomb*		at virtio?		# Virtio memory balloon device
+ld*		at virtio?		# Virtio disk device
+vioif*		at virtio?		# Virtio network device
+viornd*		at virtio?		# Virtio entropy device
+vioscsi*	at virtio?		# Virtio SCSI device
+#vio9p*		at virtio?		# Virtio 9P device
+
+# SCSI bus support
+scsibus* at scsi?
+
+# SCSI devices
+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 autochangers
+#ses*	at scsibus? target ? lun ?	# SCSI Enclosure Services devices
+#ss*	at scsibus? target ? lun ?	# SCSI scanners
+#uk*	at scsibus? target ? lun ?	# SCSI unknown
+
+
 # Network pseudo-devices
 pseudo-device	bpfilter			# Berkeley packet filter
 #pseudo-device 	carp# Common Address Redundancy Protocol

Index: src/sys/arch/evbmips/conf/files.mipssim
diff -u src/sys/arch/evbmips/conf/files.mipssim:1.1 src/sys/arch/evbmips/conf/files.mipssim:1.2
--- src/sys/arch/evbmips/conf/files.mipssim:1.1	Wed Jan 27 05:24:16 2021
+++ src/sys/arch/evbmips/conf/files.mipssim	Tue Feb 16 10:58:33 2021
@@ -1,15 +1,19 @@
-# $NetBSD: files.mipssim,v 1.1 2021/01/27 05:24:16 simonb Exp $
+# $NetBSD: files.mipssim,v 1.2 2021/02/16 10:58:33 reinoud Exp $
 
 file	arch/evbmips/mipssim/autoconf.c
 file	arch/evbmips/mipssim/machdep.c
 file	arch/evbmips/mipssim/mipssim_intr.c
+file	arch/evbmips/mipssim/mipssim_dma.c
 file	arch/evbmips/mipssim/mipssim_bus_io.c
 
 file	arch/evbmips/evbmips/interrupt.c
 
+file	arch/mips/mips/bus_dma.c
 file	arch/mips/mips/mips3_clock.c
 file	arch/mips/mips/mips3_clockintr.c
 
+file	kern/subr_disk_mbr.c			disk
+
 # System bus
 device	mainbus {}
 attach	mainbus at root
@@ -27,5 +31,12 @@ attach	mipsnet at mainbus
 file	arch/evbmips/mipssim/if_mipsnet.c	mipsnet
 defparam opt_mipsnet.hMIPSSIM_ETH_MACADDR
 
+attach	virtio at mainbus with virtio_mainbus:	virtio_mmio
+file	arch/evbmips/mipssim/virtio_mainbus.c	virtio_mainbus
+
 # Memory Disk
 file	dev/md_root.cmemory_disk_hooks
+
+# SCSI support
+include "dev/scsipi/files.scsipi"
+



CVS commit: src/sys/arch/evbmips/conf

2021-02-07 Thread Simon Burge
Module Name:src
Committed By:   simonb
Date:   Mon Feb  8 00:47:53 UTC 2021

Modified Files:
src/sys/arch/evbmips/conf: ADM5120 ADM5120-NB ADM5120-USB ALCHEMY
MIPSSIM

Log Message:
Comment out HZ=512.  This was only intended to be enabled for profiling.


To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 src/sys/arch/evbmips/conf/ADM5120 \
src/sys/arch/evbmips/conf/ADM5120-USB
cvs rdiff -u -r1.29 -r1.30 src/sys/arch/evbmips/conf/ADM5120-NB
cvs rdiff -u -r1.70 -r1.71 src/sys/arch/evbmips/conf/ALCHEMY
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/evbmips/conf/MIPSSIM

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/evbmips/conf/ADM5120
diff -u src/sys/arch/evbmips/conf/ADM5120:1.31 src/sys/arch/evbmips/conf/ADM5120:1.32
--- src/sys/arch/evbmips/conf/ADM5120:1.31	Mon Feb  8 00:35:25 2021
+++ src/sys/arch/evbmips/conf/ADM5120	Mon Feb  8 00:47:53 2021
@@ -1,11 +1,11 @@
-#	$NetBSD: ADM5120,v 1.31 2021/02/08 00:35:25 simonb Exp $
+#	$NetBSD: ADM5120,v 1.32 2021/02/08 00:47:53 simonb Exp $
 #
 # Kernel config for the ADM5120 based boards and routers,
 # including the RouterBOARD 100 series.
 
 include 	"arch/evbmips/conf/std.adm5120"
 
-#ident 		"GENERIC-$Revision: 1.31 $"
+#ident 		"GENERIC-$Revision: 1.32 $"
 
 maxusers	32
 
@@ -13,7 +13,7 @@ options 	MIPS32
 options 	NOFPU		# No FPU
 options 	FPEMUL		# emulate FPU insn
 #options 	CONSPEED=115200	# YAMON default
-options 	HZ=512		# for profiling
+#options 	HZ=512		# for profiling
 options 	MEMSIZE="(16*1024*1024)"
 
 #options 	LOCKDEBUG
Index: src/sys/arch/evbmips/conf/ADM5120-USB
diff -u src/sys/arch/evbmips/conf/ADM5120-USB:1.31 src/sys/arch/evbmips/conf/ADM5120-USB:1.32
--- src/sys/arch/evbmips/conf/ADM5120-USB:1.31	Mon Feb  8 00:35:25 2021
+++ src/sys/arch/evbmips/conf/ADM5120-USB	Mon Feb  8 00:47:53 2021
@@ -1,11 +1,11 @@
-#	$NetBSD: ADM5120-USB,v 1.31 2021/02/08 00:35:25 simonb Exp $
+#	$NetBSD: ADM5120-USB,v 1.32 2021/02/08 00:47:53 simonb Exp $
 #
 # Kernel config for the ADM5120 based boards and routers,
 # including the RouterBOARD 100 series.
 
 include 	"arch/evbmips/conf/std.adm5120"
 
-#ident 		"GENERIC-$Revision: 1.31 $"
+#ident 		"GENERIC-$Revision: 1.32 $"
 
 maxusers	32
 
@@ -13,7 +13,7 @@ options 	MIPS32
 options 	NOFPU		# No FPU
 options 	FPEMUL		# emulate FPU insn
 options		CONSPEED=115200	# YAMON default
-options 	HZ=512		# for profiling
+#options 	HZ=512		# for profiling
 
 #options 	LOCKDEBUG
 options 	SOSEND_COUNTERS

Index: src/sys/arch/evbmips/conf/ADM5120-NB
diff -u src/sys/arch/evbmips/conf/ADM5120-NB:1.29 src/sys/arch/evbmips/conf/ADM5120-NB:1.30
--- src/sys/arch/evbmips/conf/ADM5120-NB:1.29	Mon Feb  8 00:35:25 2021
+++ src/sys/arch/evbmips/conf/ADM5120-NB	Mon Feb  8 00:47:53 2021
@@ -1,11 +1,11 @@
-#	$NetBSD: ADM5120-NB,v 1.29 2021/02/08 00:35:25 simonb Exp $
+#	$NetBSD: ADM5120-NB,v 1.30 2021/02/08 00:47:53 simonb Exp $
 #
 # Kernel config for the ADM5120 based boards and routers,
 # including the RouterBOARD 100 series.
 
 include 	"arch/evbmips/conf/std.adm5120"
 
-#ident 		"GENERIC-$Revision: 1.29 $"
+#ident 		"GENERIC-$Revision: 1.30 $"
 
 maxusers	32
 
@@ -13,7 +13,7 @@ options 	MIPS32
 options 	NOFPU		# No FPU
 options 	FPEMUL		# emulate FPU insn
 #options 	CONSPEED=115200	# YAMON default
-options 	HZ=512		# for profiling
+#options 	HZ=512		# for profiling
 options 	MEMSIZE="(16*1024*1024)"
 
 #options 	LOCKDEBUG

Index: src/sys/arch/evbmips/conf/ALCHEMY
diff -u src/sys/arch/evbmips/conf/ALCHEMY:1.70 src/sys/arch/evbmips/conf/ALCHEMY:1.71
--- src/sys/arch/evbmips/conf/ALCHEMY:1.70	Sun Sep 27 13:48:50 2020
+++ src/sys/arch/evbmips/conf/ALCHEMY	Mon Feb  8 00:47:53 2021
@@ -1,11 +1,11 @@
-#	$NetBSD: ALCHEMY,v 1.70 2020/09/27 13:48:50 roy Exp $
+#	$NetBSD: ALCHEMY,v 1.71 2021/02/08 00:47:53 simonb Exp $
 #
 # Kernel config for the Alchemy Semiconductor (AMD) PB1000, PB1500,
 # DBAu1000 and DBAu1500 evaluation boards.
 
 include 	"arch/evbmips/conf/std.alchemy"
 
-#ident 		"ALCHEMY-$Revision: 1.70 $"
+#ident 		"ALCHEMY-$Revision: 1.71 $"
 
 maxusers	32
 
@@ -13,7 +13,7 @@ options 	MIPS32
 options 	NOFPU		# No FPU
 options 	FPEMUL		# emulate FPU insn
 #options 	CONSPEED=115200	# YAMON default
-options 	HZ=512		# for profiling
+#options 	HZ=512		# for profiling
 
 # CPU support
 options 	ALCHEMY_AU1000

Index: src/sys/arch/evbmips/conf/MIPSSIM
diff -u src/sys/arch/evbmips/conf/MIPSSIM:1.1 src/sys/arch/evbmips/conf/MIPSSIM:1.2
--- src/sys/arch/evbmips/conf/MIPSSIM:1.1	Wed Jan 27 05:24:16 2021
+++ src/sys/arch/evbmips/conf/MIPSSIM	Mon Feb  8 00:47:53 2021
@@ -1,10 +1,10 @@
-# $NetBSD: MIPSSIM,v 1.1 2021/01/27 05:24:16 simonb Exp $
+# $NetBSD: MIPSSIM,v 1.2 2021/02/08 00:47:53 simonb Exp $
 #
 # Kernel config for the QEMU MIPS "mipssim" simulator
 
 include 	"arch/evbmips/conf/std.mipssim"
 
-#ident 		"GENERIC-$Revision: 1.1 $"
+#ident 		"GENERIC-$Revision: 1.2 $"
 
 maxusers	32
 
@@ -12,7 +12,7 

CVS commit: src/sys/arch/evbmips/conf

2021-02-07 Thread Simon Burge
Module Name:src
Committed By:   simonb
Date:   Mon Feb  8 00:35:26 UTC 2021

Modified Files:
src/sys/arch/evbmips/conf: ADM5120 ADM5120-NB ADM5120-USB

Log Message:
Correct the comment at the top of these config files identifying what
they run on.


To generate a diff of this commit:
cvs rdiff -u -r1.30 -r1.31 src/sys/arch/evbmips/conf/ADM5120 \
src/sys/arch/evbmips/conf/ADM5120-USB
cvs rdiff -u -r1.28 -r1.29 src/sys/arch/evbmips/conf/ADM5120-NB

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/evbmips/conf/ADM5120
diff -u src/sys/arch/evbmips/conf/ADM5120:1.30 src/sys/arch/evbmips/conf/ADM5120:1.31
--- src/sys/arch/evbmips/conf/ADM5120:1.30	Tue May 19 09:26:44 2020
+++ src/sys/arch/evbmips/conf/ADM5120	Mon Feb  8 00:35:25 2021
@@ -1,11 +1,11 @@
-#	$NetBSD: ADM5120,v 1.30 2020/05/19 09:26:44 rin Exp $
+#	$NetBSD: ADM5120,v 1.31 2021/02/08 00:35:25 simonb Exp $
 #
-# Kernel config for the Alchemy Semiconductor (AMD) PB1000, PB1500,
-# DBAu1000 and DBAu1500 evaluation boards.
+# Kernel config for the ADM5120 based boards and routers,
+# including the RouterBOARD 100 series.
 
 include 	"arch/evbmips/conf/std.adm5120"
 
-#ident 		"GENERIC-$Revision: 1.30 $"
+#ident 		"GENERIC-$Revision: 1.31 $"
 
 maxusers	32
 
Index: src/sys/arch/evbmips/conf/ADM5120-USB
diff -u src/sys/arch/evbmips/conf/ADM5120-USB:1.30 src/sys/arch/evbmips/conf/ADM5120-USB:1.31
--- src/sys/arch/evbmips/conf/ADM5120-USB:1.30	Tue May 19 09:26:44 2020
+++ src/sys/arch/evbmips/conf/ADM5120-USB	Mon Feb  8 00:35:25 2021
@@ -1,11 +1,11 @@
-#	$NetBSD: ADM5120-USB,v 1.30 2020/05/19 09:26:44 rin Exp $
+#	$NetBSD: ADM5120-USB,v 1.31 2021/02/08 00:35:25 simonb Exp $
 #
-# Kernel config for the Alchemy Semiconductor (AMD) PB1000, PB1500,
-# DBAu1000 and DBAu1500 evaluation boards.
+# Kernel config for the ADM5120 based boards and routers,
+# including the RouterBOARD 100 series.
 
 include 	"arch/evbmips/conf/std.adm5120"
 
-#ident 		"GENERIC-$Revision: 1.30 $"
+#ident 		"GENERIC-$Revision: 1.31 $"
 
 maxusers	32
 

Index: src/sys/arch/evbmips/conf/ADM5120-NB
diff -u src/sys/arch/evbmips/conf/ADM5120-NB:1.28 src/sys/arch/evbmips/conf/ADM5120-NB:1.29
--- src/sys/arch/evbmips/conf/ADM5120-NB:1.28	Tue May 19 09:26:44 2020
+++ src/sys/arch/evbmips/conf/ADM5120-NB	Mon Feb  8 00:35:25 2021
@@ -1,11 +1,11 @@
-#	$NetBSD: ADM5120-NB,v 1.28 2020/05/19 09:26:44 rin Exp $
+#	$NetBSD: ADM5120-NB,v 1.29 2021/02/08 00:35:25 simonb Exp $
 #
-# Kernel config for the Alchemy Semiconductor (AMD) PB1000, PB1500,
-# DBAu1000 and DBAu1500 evaluation boards.
+# Kernel config for the ADM5120 based boards and routers,
+# including the RouterBOARD 100 series.
 
 include 	"arch/evbmips/conf/std.adm5120"
 
-#ident 		"GENERIC-$Revision: 1.28 $"
+#ident 		"GENERIC-$Revision: 1.29 $"
 
 maxusers	32
 



CVS commit: src/sys/arch/evbmips/conf

2020-07-17 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Fri Jul 17 14:58:17 UTC 2020

Modified Files:
src/sys/arch/evbmips/conf: INSTALL_OCTEON

Log Message:
ERLITE -> OCTEON


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/evbmips/conf/INSTALL_OCTEON

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/evbmips/conf/INSTALL_OCTEON
diff -u src/sys/arch/evbmips/conf/INSTALL_OCTEON:1.1 src/sys/arch/evbmips/conf/INSTALL_OCTEON:1.2
--- src/sys/arch/evbmips/conf/INSTALL_OCTEON:1.1	Wed Jul 15 12:15:30 2020
+++ src/sys/arch/evbmips/conf/INSTALL_OCTEON	Fri Jul 17 14:58:17 2020
@@ -1,8 +1,8 @@
-# $NetBSD: INSTALL_OCTEON,v 1.1 2020/07/15 12:15:30 simonb Exp $
+# $NetBSD: INSTALL_OCTEON,v 1.2 2020/07/17 14:58:17 jmcneill Exp $
 
 include		"arch/evbmips/conf/OCTEON"
 
-#ident 		"INSTALL_ERLITE-$Revision: 1.1 $"
+#ident 		"INSTALL_OCTEON-$Revision: 1.2 $"
 
 # Enable the hooks used for initializing the root memory-disk.
 # The ramdisk size must be kept in sync manually with the size of



CVS commit: src/sys/arch/evbmips/conf

2020-07-17 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Fri Jul 17 14:57:54 UTC 2020

Modified Files:
src/sys/arch/evbmips/conf: OCTEON

Log Message:
ERLITE -> OCTEON


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/arch/evbmips/conf/OCTEON

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/evbmips/conf/OCTEON
diff -u src/sys/arch/evbmips/conf/OCTEON:1.6 src/sys/arch/evbmips/conf/OCTEON:1.7
--- src/sys/arch/evbmips/conf/OCTEON:1.6	Fri Jul 17 14:56:47 2020
+++ src/sys/arch/evbmips/conf/OCTEON	Fri Jul 17 14:57:54 2020
@@ -1,11 +1,11 @@
-#	$NetBSD: OCTEON,v 1.6 2020/07/17 14:56:47 jmcneill Exp $
+#	$NetBSD: OCTEON,v 1.7 2020/07/17 14:57:54 jmcneill Exp $
 
 include 	"arch/mips/conf/std.octeon"
 include 	"arch/evbmips/conf/files.octeon"
 
 #options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident 		"ERLITE-$Revision: 1.6 $"
+#ident 		"OCTEON-$Revision: 1.7 $"
 
 maxusers	32
 



CVS commit: src/sys/arch/evbmips/conf

2020-07-17 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Fri Jul 17 14:56:47 UTC 2020

Modified Files:
src/sys/arch/evbmips/conf: OCTEON

Log Message:
Add wedge support


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/evbmips/conf/OCTEON

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/evbmips/conf/OCTEON
diff -u src/sys/arch/evbmips/conf/OCTEON:1.5 src/sys/arch/evbmips/conf/OCTEON:1.6
--- src/sys/arch/evbmips/conf/OCTEON:1.5	Thu Jul 16 21:34:52 2020
+++ src/sys/arch/evbmips/conf/OCTEON	Fri Jul 17 14:56:47 2020
@@ -1,11 +1,11 @@
-#	$NetBSD: OCTEON,v 1.5 2020/07/16 21:34:52 jmcneill Exp $
+#	$NetBSD: OCTEON,v 1.6 2020/07/17 14:56:47 jmcneill Exp $
 
 include 	"arch/mips/conf/std.octeon"
 include 	"arch/evbmips/conf/files.octeon"
 
 #options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident 		"ERLITE-$Revision: 1.5 $"
+#ident 		"ERLITE-$Revision: 1.6 $"
 
 maxusers	32
 
@@ -50,6 +50,10 @@ include "conf/compat_netbsd50.co
 #options 	EXEC_ECOFF	# exec ECOFF binaries
 #options 	COMPAT_ULTRIX	# binary compatibility with Ultrix
 
+# Wedge support
+options 	DKWEDGE_AUTODISCOVER	# Automatically add dk(4) instances
+options 	DKWEDGE_METHOD_GPT	# Supports GPT partitions as wedges
+
 # File systems
 file-system	FFS		# Berkeley Fast Filesystem
 file-system	MFS		# memory-based filesystem



CVS commit: src/sys/arch/evbmips/conf

2020-07-16 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Thu Jul 16 16:39:54 UTC 2020

Modified Files:
src/sys/arch/evbmips/conf: OCTEON

Log Message:
Use uart0 for stdout-path


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/evbmips/conf/OCTEON

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/evbmips/conf/OCTEON
diff -u src/sys/arch/evbmips/conf/OCTEON:1.2 src/sys/arch/evbmips/conf/OCTEON:1.3
--- src/sys/arch/evbmips/conf/OCTEON:1.2	Thu Jul 16 11:49:37 2020
+++ src/sys/arch/evbmips/conf/OCTEON	Thu Jul 16 16:39:54 2020
@@ -1,15 +1,16 @@
-#	$NetBSD: OCTEON,v 1.2 2020/07/16 11:49:37 jmcneill Exp $
+#	$NetBSD: OCTEON,v 1.3 2020/07/16 16:39:54 jmcneill Exp $
 
 include 	"arch/mips/conf/std.octeon"
 include 	"arch/evbmips/conf/files.octeon"
 
 #options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident 		"ERLITE-$Revision: 1.2 $"
+#ident 		"ERLITE-$Revision: 1.3 $"
 
 maxusers	32
 
 options 	FDT
+options 	FDT_DEFAULT_STDOUT_PATH="\"uart0:115200n8\""
 
 # Options for necessary to use MD
 #options 	MEMORY_DISK_HOOKS



CVS commit: src/sys/arch/evbmips/conf

2020-06-19 Thread Simon Burge
Module Name:src
Committed By:   simonb
Date:   Fri Jun 19 12:24:39 UTC 2020

Modified Files:
src/sys/arch/evbmips/conf: files.octeon

Log Message:
OCTEON_MEMSIZE isn't used now, remove declaration.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/arch/evbmips/conf/files.octeon

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/evbmips/conf/files.octeon
diff -u src/sys/arch/evbmips/conf/files.octeon:1.6 src/sys/arch/evbmips/conf/files.octeon:1.7
--- src/sys/arch/evbmips/conf/files.octeon:1.6	Wed Dec 28 03:27:08 2016
+++ src/sys/arch/evbmips/conf/files.octeon	Fri Jun 19 12:24:39 2020
@@ -1,4 +1,4 @@
-#	$NetBSD: files.octeon,v 1.6 2016/12/28 03:27:08 mrg Exp $
+#	$NetBSD: files.octeon,v 1.7 2020/06/19 12:24:39 simonb Exp $
 
 file	arch/evbmips/cavium/autoconf.c
 file	arch/evbmips/cavium/machdep.c
@@ -18,6 +18,3 @@ include	"external/bsd/sljit/conf/files.s
 
 # Memory Disk
 file	dev/md_root.cmemory_disk_hooks
-
-# workaround Cavium 50x0 problem vs uvm freelists
-defparam opt_cavium.h		OCTEON_MEMSIZE



CVS commit: src/sys/arch/evbmips/conf

2020-05-04 Thread Simon Burge
Module Name:src
Committed By:   simonb
Date:   Mon May  4 12:15:43 UTC 2020

Modified Files:
src/sys/arch/evbmips/conf: ALCHEMY MALTA

Log Message:
Enable PTYFS.


To generate a diff of this commit:
cvs rdiff -u -r1.68 -r1.69 src/sys/arch/evbmips/conf/ALCHEMY
cvs rdiff -u -r1.100 -r1.101 src/sys/arch/evbmips/conf/MALTA

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/evbmips/conf/ALCHEMY
diff -u src/sys/arch/evbmips/conf/ALCHEMY:1.68 src/sys/arch/evbmips/conf/ALCHEMY:1.69
--- src/sys/arch/evbmips/conf/ALCHEMY:1.68	Sun Jan 19 01:25:05 2020
+++ src/sys/arch/evbmips/conf/ALCHEMY	Mon May  4 12:15:43 2020
@@ -1,11 +1,11 @@
-#	$NetBSD: ALCHEMY,v 1.68 2020/01/19 01:25:05 thorpej Exp $
+#	$NetBSD: ALCHEMY,v 1.69 2020/05/04 12:15:43 simonb Exp $
 #
 # Kernel config for the Alchemy Semiconductor (AMD) PB1000, PB1500,
 # DBAu1000 and DBAu1500 evaluation boards.
 
 include 	"arch/evbmips/conf/std.alchemy"
 
-#ident 		"ALCHEMY-$Revision: 1.68 $"
+#ident 		"ALCHEMY-$Revision: 1.69 $"
 
 maxusers	32
 
@@ -68,7 +68,7 @@ file-system	FDESC		# user file descripto
 #file-system	UNION		# union file system
 #file-system	MSDOSFS		# MS-DOS FAT filesystem(s).
 #file-system 	CODA		# Coda File System; also needs vcoda (below)
-#file-system	PTYFS		# /dev/pts/N support
+file-system	PTYFS		# /dev/pts/N support
 
 # File system options
 #options 	NFSSERVER	# Sun NFS-compatible filesystem server

Index: src/sys/arch/evbmips/conf/MALTA
diff -u src/sys/arch/evbmips/conf/MALTA:1.100 src/sys/arch/evbmips/conf/MALTA:1.101
--- src/sys/arch/evbmips/conf/MALTA:1.100	Sat Jan 25 18:38:35 2020
+++ src/sys/arch/evbmips/conf/MALTA	Mon May  4 12:15:43 2020
@@ -1,10 +1,10 @@
-#	$NetBSD: MALTA,v 1.100 2020/01/25 18:38:35 thorpej Exp $
+#	$NetBSD: MALTA,v 1.101 2020/05/04 12:15:43 simonb Exp $
 
 include 	"arch/evbmips/conf/std.malta"
 
 #options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident 		"MALTA-$Revision: 1.100 $"
+#ident 		"MALTA-$Revision: 1.101 $"
 
 maxusers	32
 
@@ -64,7 +64,7 @@ file-system	TMPFS		# Efficient memory fi
 #file-system	UNION		# union file system
 #file-system	MSDOSFS		# MS-DOS FAT filesystem(s).
 #file-system 	CODA		# Coda File System; also needs vcoda (below)
-#file-system	PTYFS		# /dev/pts/N support
+file-system	PTYFS		# /dev/pts/N support
 
 # File system options
 #options 	NFSSERVER	# Sun NFS-compatible filesystem server



CVS commit: src/sys/arch/evbmips/conf

2020-04-02 Thread Tohru Nishimura
Module Name:src
Committed By:   nisimura
Date:   Thu Apr  2 13:03:54 UTC 2020

Modified Files:
src/sys/arch/evbmips/conf: CI20

Log Message:
add ukphy as the last resort. enable dmphy for dme


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 src/sys/arch/evbmips/conf/CI20

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/evbmips/conf/CI20
diff -u src/sys/arch/evbmips/conf/CI20:1.29 src/sys/arch/evbmips/conf/CI20:1.30
--- src/sys/arch/evbmips/conf/CI20:1.29	Sun Jan 19 01:25:05 2020
+++ src/sys/arch/evbmips/conf/CI20	Thu Apr  2 13:03:53 2020
@@ -1,4 +1,4 @@
-#	$NetBSD: CI20,v 1.29 2020/01/19 01:25:05 thorpej Exp $
+#	$NetBSD: CI20,v 1.30 2020/04/02 13:03:53 nisimura Exp $
 #
 # MIPS Creator CI20
 #
@@ -7,7 +7,7 @@ include 	"arch/evbmips/conf/std.ingenic"
 
 #options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident 		"CI20-$Revision: 1.29 $"
+#ident 		"CI20-$Revision: 1.30 $"
 
 maxusers	32
 
@@ -219,7 +219,7 @@ jzrng0	at apbus0
 # MII/PHY support
 #acphy*		at mii? phy ?		# DAltima AC101 and AMD Am79c874 PHYs
 #amhphy* 	at mii? phy ?		# AMD 79c901 Ethernet PHYs
-#dmphy*		at mii? phy ?		# Davicom DM9101 PHYs
+dmphy*		at mii? phy ?		# Davicom DM9101 PHYs
 #glxtphy*	at mii? phy ?		# Level One LXT-1000 PHYs
 #gphyter*	at mii? phy ?		# NS83861 Gig-E PHY
 #icsphy* 	at mii? phy ?		# Integrated Circuit Systems ICS1890
@@ -233,7 +233,7 @@ jzrng0	at apbus0
 #tlphy*		at mii? phy ?		# ThunderLAN PHYs
 #tqphy*		at mii? phy ?		# TDK Semiconductor PHYs
 #rlphy*		at mii? phy ?		# RealTek PHYs
-#ukphy*		at mii? phy ?		# generic unknown PHYs
+ukphy*		at mii? phy ?		# generic unknown PHYs
 
 
 # Pseudo-devices



CVS commit: src/sys/arch/evbmips/conf

2019-04-10 Thread Simon Burge
Module Name:src
Committed By:   simonb
Date:   Thu Apr 11 04:28:17 UTC 2019

Modified Files:
src/sys/arch/evbmips/conf: std.malta

Log Message:
Generate SREC kernels that YAMON can load.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/sys/arch/evbmips/conf/std.malta

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/evbmips/conf/std.malta
diff -u src/sys/arch/evbmips/conf/std.malta:1.8 src/sys/arch/evbmips/conf/std.malta:1.9
--- src/sys/arch/evbmips/conf/std.malta:1.8	Sun Feb 20 07:48:34 2011
+++ src/sys/arch/evbmips/conf/std.malta	Thu Apr 11 04:28:17 2019
@@ -1,4 +1,4 @@
-# $NetBSD: std.malta,v 1.8 2011/02/20 07:48:34 matt Exp $
+# $NetBSD: std.malta,v 1.9 2019/04/11 04:28:17 simonb Exp $
 
 machine evbmips mips
 include		"conf/std"	# MI standard options
@@ -15,6 +15,7 @@ makeoptions	CFLAGS+="-mips64"
 makeoptions	AFLAGS+="-mips64"
 makeoptions	DEFTEXTADDR="0x8010"
 makeoptions	BOARDTYPE="malta"
+makeoptions	NEED_SREC=yes
 
 include "arch/evbmips/conf/files.malta"
 



CVS commit: src/sys/arch/evbmips/conf

2019-04-10 Thread Simon Burge
Module Name:src
Committed By:   simonb
Date:   Thu Apr 11 02:01:53 UTC 2019

Modified Files:
src/sys/arch/evbmips/conf: files.sbmips

Log Message:
Be consistent with file^I and include^I.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/evbmips/conf/files.sbmips

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/evbmips/conf/files.sbmips
diff -u src/sys/arch/evbmips/conf/files.sbmips:1.2 src/sys/arch/evbmips/conf/files.sbmips:1.3
--- src/sys/arch/evbmips/conf/files.sbmips:1.2	Mon Jul 24 09:56:45 2017
+++ src/sys/arch/evbmips/conf/files.sbmips	Thu Apr 11 02:01:53 2019
@@ -1,20 +1,20 @@
-# $NetBSD: files.sbmips,v 1.2 2017/07/24 09:56:45 mrg Exp $
+# $NetBSD: files.sbmips,v 1.3 2019/04/11 02:01:53 simonb Exp $
 
 maxpartitions 8
 
 #maxusers 1 8 64
 
-file arch/evbmips/sbmips/autoconf.c
-file arch/evbmips/sbmips/machdep.c
-file arch/evbmips/sbmips/console.c
-file arch/evbmips/sbmips/disksubr.c
-file arch/evbmips/sbmips/systemsw.c
-
-file arch/evbmips/sbmips/sb1250_icu.c
-
-file arch/mips/cfe/cfe_api.c
-file arch/mips/mips/mips3_clock.c
-file arch/mips/mips/bus_dma.c
+file	arch/evbmips/sbmips/autoconf.c
+file	arch/evbmips/sbmips/machdep.c
+file	arch/evbmips/sbmips/console.c
+file	arch/evbmips/sbmips/disksubr.c
+file	arch/evbmips/sbmips/systemsw.c
+
+file	arch/evbmips/sbmips/sb1250_icu.c
+
+file	arch/mips/cfe/cfe_api.c
+file	arch/mips/mips/mips3_clock.c
+file	arch/mips/mips/bus_dma.c
 
 ###
 ### MI device inclusion
@@ -24,24 +24,24 @@ file arch/mips/mips/bus_dma.c
 include	"external/bsd/sljit/conf/files.sljit"
 
 # Machine-independent I2O drivers.
-include "dev/i2o/files.i2o"
+include	"dev/i2o/files.i2o"
 
 # Machine-independent SCSI drivers
-include "dev/scsipi/files.scsipi"
+include	"dev/scsipi/files.scsipi"
 
 # Machine-independent ATA drivers
-include "dev/ata/files.ata"
+include	"dev/ata/files.ata"
 
 # Memory Disk
 file	dev/md_root.c			memory_disk_hooks
 
 # ISA Bus support
-include "dev/pci/files.pci"	# XXX some ISA devs are 'at pci' too.
-include "dev/isa/files.isa"
+include	"dev/pci/files.pci"	# XXX some ISA devs are 'at pci' too.
+include	"dev/isa/files.isa"
 # XXXCGD machdep isa files
 
 # PC Keyboard Controller support
-include "dev/pckbport/files.pckbport"
+include	"dev/pckbport/files.pckbport"
 
 # XXXCGD lots of junk isa devices, e.g. fd
 
@@ -78,7 +78,7 @@ attach	pcic at pci with pcic_pci
 file	dev/pci/i82365_pci.c		pcic_pci
 
 # PCIC pcmcia controller on PnP board
-attach pcic at isapnp with pcic_isapnp
+attach	pcic at isapnp with pcic_isapnp
 file	dev/isapnp/i82365_isapnp.c	pcic_isapnp
 
 # Code common to ISA and ISAPnP attachments
@@ -93,7 +93,7 @@ file	dev/isa/i82365_isasubr.c	pcic_isa |
 #
 # Machine-independent USB device support
 #
-include "dev/usb/files.usb"
+include	"dev/usb/files.usb"
 
 ###
 ### SBMIPS DEVICES



CVS commit: src/sys/arch/evbmips/conf

2019-04-10 Thread Roy Marples
Module Name:src
Committed By:   roy
Date:   Wed Apr 10 15:19:09 UTC 2019

Modified Files:
src/sys/arch/evbmips/conf: ERLITE

Log Message:
ELRITE is a router  enable gif(4) by default.


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/sys/arch/evbmips/conf/ERLITE

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/evbmips/conf/ERLITE
diff -u src/sys/arch/evbmips/conf/ERLITE:1.21 src/sys/arch/evbmips/conf/ERLITE:1.22
--- src/sys/arch/evbmips/conf/ERLITE:1.21	Sun Dec 30 14:51:36 2018
+++ src/sys/arch/evbmips/conf/ERLITE	Wed Apr 10 15:19:09 2019
@@ -1,11 +1,11 @@
-#	$NetBSD: ERLITE,v 1.21 2018/12/30 14:51:36 sevan Exp $
+#	$NetBSD: ERLITE,v 1.22 2019/04/10 15:19:09 roy Exp $
 
 include 	"arch/mips/conf/std.octeon"
 include 	"arch/evbmips/conf/files.octeon"
 
 #options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident 		"ERLITE-$Revision: 1.21 $"
+#ident 		"ERLITE-$Revision: 1.22 $"
 
 maxusers	32
 
@@ -159,7 +159,7 @@ pseudo-device	tun# network tunneling
 pseudo-device	tap# virtual Ethernet
 #pseudo-device	gre# generic L3 over IP tunnel
 #pseudo-device	ipip# RFC 2003 IP Encapsulation
-#pseudo-device	gif# RFC1933 tunnel
+pseudo-device	gif# RFC1933 tunnel
 #pseudo-device	faith# IPv[46] tcp relay translation
 #pseudo-device	stf# 6to4 IPv6 over IPv4 encapsulation
 pseudo-device	vlan# IEEE 802.1q encapsulation



CVS commit: src/sys/arch/evbmips/conf

2018-12-30 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Sun Dec 30 14:51:36 UTC 2018

Modified Files:
src/sys/arch/evbmips/conf: ADM5120 ADM5120-NB ADM5120-USB ALCHEMY AP30
CI20 CPMBR1400 DB120 ERLITE GDIUM LINKITSMART7688 LOONGSON MALTA
MERAKI RB153 RB433UAH SBMIPS WGT624V3 XLSATX ZYXELKX

Log Message:
Enable the per-priority cyclical scan buffer queue strategy on evbmips kernels.

time results of a Lemote Fuloong 2F extracting the pkgsrc tree
brick$ time tar -jxf pkgsrc.tar.bz2
priocscan + log
612.90 real   103.45 user   194.98 sys
priocscan   nolog
1345.48 real   103.57 user   274.32 sys
fcfs + log
736.02 real   101.71 user   192.95 sys
fcfs   nolog
1475.16 real   103.06 user   271.14 sys


To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 src/sys/arch/evbmips/conf/ADM5120 \
src/sys/arch/evbmips/conf/ADM5120-USB src/sys/arch/evbmips/conf/CI20
cvs rdiff -u -r1.24 -r1.25 src/sys/arch/evbmips/conf/ADM5120-NB
cvs rdiff -u -r1.64 -r1.65 src/sys/arch/evbmips/conf/ALCHEMY
cvs rdiff -u -r1.37 -r1.38 src/sys/arch/evbmips/conf/AP30
cvs rdiff -u -r1.29 -r1.30 src/sys/arch/evbmips/conf/CPMBR1400
cvs rdiff -u -r1.20 -r1.21 src/sys/arch/evbmips/conf/DB120 \
src/sys/arch/evbmips/conf/ERLITE
cvs rdiff -u -r1.34 -r1.35 src/sys/arch/evbmips/conf/GDIUM
cvs rdiff -u -r1.9 -r1.10 src/sys/arch/evbmips/conf/LINKITSMART7688
cvs rdiff -u -r1.40 -r1.41 src/sys/arch/evbmips/conf/LOONGSON
cvs rdiff -u -r1.93 -r1.94 src/sys/arch/evbmips/conf/MALTA
cvs rdiff -u -r1.31 -r1.32 src/sys/arch/evbmips/conf/MERAKI
cvs rdiff -u -r1.21 -r1.22 src/sys/arch/evbmips/conf/RB153
cvs rdiff -u -r1.17 -r1.18 src/sys/arch/evbmips/conf/RB433UAH
cvs rdiff -u -r1.7 -r1.8 src/sys/arch/evbmips/conf/SBMIPS
cvs rdiff -u -r1.28 -r1.29 src/sys/arch/evbmips/conf/WGT624V3
cvs rdiff -u -r1.27 -r1.28 src/sys/arch/evbmips/conf/XLSATX
cvs rdiff -u -r1.14 -r1.15 src/sys/arch/evbmips/conf/ZYXELKX

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/evbmips/conf/ADM5120
diff -u src/sys/arch/evbmips/conf/ADM5120:1.26 src/sys/arch/evbmips/conf/ADM5120:1.27
--- src/sys/arch/evbmips/conf/ADM5120:1.26	Wed Aug  1 20:04:11 2018
+++ src/sys/arch/evbmips/conf/ADM5120	Sun Dec 30 14:51:36 2018
@@ -1,11 +1,11 @@
-#	$NetBSD: ADM5120,v 1.26 2018/08/01 20:04:11 maxv Exp $
+#	$NetBSD: ADM5120,v 1.27 2018/12/30 14:51:36 sevan Exp $
 #
 # Kernel config for the Alchemy Semiconductor (AMD) PB1000, PB1500,
 # DBAu1000 and DBAu1500 evaluation boards.
 
 include 	"arch/evbmips/conf/std.adm5120"
 
-#ident 		"GENERIC-$Revision: 1.26 $"
+#ident 		"GENERIC-$Revision: 1.27 $"
 
 maxusers	32
 
@@ -69,6 +69,11 @@ file-system	NFS		# Sun NFS-compatible fi
 #options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
 # immutable) behave as system flags.
 
+# Alternate buffer queue strategies for better responsiveness under high
+# disk I/O load.
+#options 	BUFQ_READPRIO
+options 	BUFQ_PRIOCSCAN
+
 # Networking options
 options 	GATEWAY		# IP packet forwarding
 options 	INET		# Internet protocols
Index: src/sys/arch/evbmips/conf/ADM5120-USB
diff -u src/sys/arch/evbmips/conf/ADM5120-USB:1.26 src/sys/arch/evbmips/conf/ADM5120-USB:1.27
--- src/sys/arch/evbmips/conf/ADM5120-USB:1.26	Tue Oct 23 19:58:52 2018
+++ src/sys/arch/evbmips/conf/ADM5120-USB	Sun Dec 30 14:51:36 2018
@@ -1,11 +1,11 @@
-#	$NetBSD: ADM5120-USB,v 1.26 2018/10/23 19:58:52 jdolecek Exp $
+#	$NetBSD: ADM5120-USB,v 1.27 2018/12/30 14:51:36 sevan Exp $
 #
 # Kernel config for the Alchemy Semiconductor (AMD) PB1000, PB1500,
 # DBAu1000 and DBAu1500 evaluation boards.
 
 include 	"arch/evbmips/conf/std.adm5120"
 
-#ident 		"GENERIC-$Revision: 1.26 $"
+#ident 		"GENERIC-$Revision: 1.27 $"
 
 maxusers	32
 
@@ -68,6 +68,11 @@ file-system	NFS		# Sun NFS-compatible fi
 #options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
 # immutable) behave as system flags.
 
+# Alternate buffer queue strategies for better responsiveness under high
+# disk I/O load.
+#options 	BUFQ_READPRIO
+options 	BUFQ_PRIOCSCAN
+
 # Networking options
 #options 	GATEWAY		# IP packet forwarding
 options 	INET		# Internet protocols
Index: src/sys/arch/evbmips/conf/CI20
diff -u src/sys/arch/evbmips/conf/CI20:1.26 src/sys/arch/evbmips/conf/CI20:1.27
--- src/sys/arch/evbmips/conf/CI20:1.26	Wed Aug  1 20:04:11 2018
+++ src/sys/arch/evbmips/conf/CI20	Sun Dec 30 14:51:36 2018
@@ -1,4 +1,4 @@
-#	$NetBSD: CI20,v 1.26 2018/08/01 20:04:11 maxv Exp $
+#	$NetBSD: CI20,v 1.27 2018/12/30 14:51:36 sevan Exp $
 #
 # MIPS Creator CI20
 #
@@ -7,7 +7,7 @@ include 	"arch/evbmips/conf/std.ingenic"
 
 #options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident 		"CI20-$Revision: 1.26 $"
+#ident 		"CI20-$Revision: 1.27 $"
 
 maxusers	32
 
@@ -91,6 +91,11 @@ options 	FFS_NO_SNAPSHOT	# No FFS snapsh
 #options 	EXT2FS_SYSTEM_FLAGS # makes 

CVS commit: src/sys/arch/evbmips/conf

2018-12-29 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Sun Dec 30 00:42:09 UTC 2018

Modified Files:
src/sys/arch/evbmips/conf: GDIUM

Log Message:
Update description, nfc


To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34 src/sys/arch/evbmips/conf/GDIUM

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/evbmips/conf/GDIUM
diff -u src/sys/arch/evbmips/conf/GDIUM:1.33 src/sys/arch/evbmips/conf/GDIUM:1.34
--- src/sys/arch/evbmips/conf/GDIUM:1.33	Wed Sep 19 23:22:17 2018
+++ src/sys/arch/evbmips/conf/GDIUM	Sun Dec 30 00:42:09 2018
@@ -1,6 +1,6 @@
-# $NetBSD: GDIUM,v 1.33 2018/09/19 23:22:17 rin Exp $
+# $NetBSD: GDIUM,v 1.34 2018/12/30 00:42:09 sevan Exp $
 #
-# GENERIC machine description file
+# GDIUM machine description file
 # 
 # This machine description file is used to generate the default NetBSD
 # kernel.  The generic kernel does not include all options, subsystems
@@ -22,7 +22,7 @@ include 	"arch/evbmips/conf/std.gdium"
 
 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident 		"GDIUM-$Revision: 1.33 $"
+#ident 		"GDIUM-$Revision: 1.34 $"
 
 maxusers	16
 



CVS commit: src/sys/arch/evbmips/conf

2018-09-19 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Wed Sep 19 23:22:17 UTC 2018

Modified Files:
src/sys/arch/evbmips/conf: GDIUM LOONGSON

Log Message:
Remove invalid option copy-paste from hpcmips.


To generate a diff of this commit:
cvs rdiff -u -r1.32 -r1.33 src/sys/arch/evbmips/conf/GDIUM
cvs rdiff -u -r1.39 -r1.40 src/sys/arch/evbmips/conf/LOONGSON

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/evbmips/conf/GDIUM
diff -u src/sys/arch/evbmips/conf/GDIUM:1.32 src/sys/arch/evbmips/conf/GDIUM:1.33
--- src/sys/arch/evbmips/conf/GDIUM:1.32	Wed Aug  1 20:04:11 2018
+++ src/sys/arch/evbmips/conf/GDIUM	Wed Sep 19 23:22:17 2018
@@ -1,4 +1,4 @@
-# $NetBSD: GDIUM,v 1.32 2018/08/01 20:04:11 maxv Exp $
+# $NetBSD: GDIUM,v 1.33 2018/09/19 23:22:17 rin Exp $
 #
 # GENERIC machine description file
 # 
@@ -22,7 +22,7 @@ include 	"arch/evbmips/conf/std.gdium"
 
 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident 		"GDIUM-$Revision: 1.32 $"
+#ident 		"GDIUM-$Revision: 1.33 $"
 
 maxusers	16
 
@@ -136,11 +136,6 @@ options 	WSDISPLAY_COMPAT_USL		# wsconsc
 options 	FONT_GALLANT12x22
 # compatibility to other console drivers
 options 	WSDISPLAY_COMPAT_RAWKBD		# can get raw scancodes
-#
-# Hpckbd will set key board layout appropriately. You can use option
-# 'PCKBD_LAYOUT' to overrite the default layout.
-#
-#options 	PCKBD_LAYOUT="(KB_US | KB_SWAPCTRLCAPS | KB_MACHDEP)"
 
 mainbus0	at root
 cpu0		at mainbus0

Index: src/sys/arch/evbmips/conf/LOONGSON
diff -u src/sys/arch/evbmips/conf/LOONGSON:1.39 src/sys/arch/evbmips/conf/LOONGSON:1.40
--- src/sys/arch/evbmips/conf/LOONGSON:1.39	Wed Aug  1 20:04:11 2018
+++ src/sys/arch/evbmips/conf/LOONGSON	Wed Sep 19 23:22:17 2018
@@ -1,4 +1,4 @@
-# $NetBSD: LOONGSON,v 1.39 2018/08/01 20:04:11 maxv Exp $
+# $NetBSD: LOONGSON,v 1.40 2018/09/19 23:22:17 rin Exp $
 #
 # LOONGSON machine description file
 # 
@@ -22,7 +22,7 @@ include 	"arch/evbmips/conf/std.loongson
 
 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident 		"LOONGSON-$Revision: 1.39 $"
+#ident 		"LOONGSON-$Revision: 1.40 $"
 
 maxusers	16
 
@@ -150,11 +150,6 @@ options 	FONT_GALLANT12x22
 options 	FONT_BOLD8x16
 # compatibility to other console drivers
 options 	WSDISPLAY_COMPAT_RAWKBD		# can get raw scancodes
-#
-# Hpckbd will set key board layout appropriately. You can use option
-# 'PCKBD_LAYOUT' to overrite the default layout.
-#
-#options 	PCKBD_LAYOUT="(KB_US | KB_SWAPCTRLCAPS | KB_MACHDEP)"
 
 mainbus0	at root
 cpu0		at mainbus0



CVS commit: src/sys/arch/evbmips/conf

2018-09-16 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sun Sep 16 10:15:22 UTC 2018

Modified Files:
src/sys/arch/evbmips/conf: ERLITE

Log Message:
enable ext2fs, nullfs, cd9660, disable FFS_NO_SNAPSHOT, and remove
not relevant PCI IDE stuff.


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/sys/arch/evbmips/conf/ERLITE

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/evbmips/conf/ERLITE
diff -u src/sys/arch/evbmips/conf/ERLITE:1.19 src/sys/arch/evbmips/conf/ERLITE:1.20
--- src/sys/arch/evbmips/conf/ERLITE:1.19	Wed Aug  1 20:04:11 2018
+++ src/sys/arch/evbmips/conf/ERLITE	Sun Sep 16 10:15:22 2018
@@ -1,11 +1,11 @@
-#	$NetBSD: ERLITE,v 1.19 2018/08/01 20:04:11 maxv Exp $
+#	$NetBSD: ERLITE,v 1.20 2018/09/16 10:15:22 mrg Exp $
 
 include 	"arch/mips/conf/std.octeon"
 include 	"arch/evbmips/conf/files.octeon"
 
 #options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident 		"ERLITE-$Revision: 1.19 $"
+#ident 		"ERLITE-$Revision: 1.20 $"
 
 maxusers	32
 
@@ -54,17 +54,17 @@ include "conf/compat_netbsd50.co
 # File systems
 file-system	FFS		# Berkeley Fast Filesystem
 file-system	MFS		# memory-based filesystem
-#file-system	EXT2FS		# second extended file system (linux)
+file-system	EXT2FS		# second extended file system (linux)
 file-system	NFS		# Sun NFS-compatible filesystem client
 file-system	TMPFS		# Efficient memory file-system
 file-system	KERNFS		# kernel data-structure filesystem
-#file-system	NULLFS		# NULL layered filesystem
+file-system	NULLFS		# NULL layered filesystem
 #file-system	OVERLAY		# overlay file system
 #file-system	FDESC		# user file descriptor filesystem
 #file-system	UMAPFS		# uid/gid remapping filesystem
 #file-system	LFS		# Log-based filesystem (still experimental)
 file-system	PROCFS		# /proc
-#file-system	CD9660		# ISO 9660 + Rock Ridge file system
+file-system	CD9660		# ISO 9660 + Rock Ridge file system
 #file-system	UNION		# union file system
 file-system	MSDOSFS		# MS-DOS FAT filesystem(s).
 #file-system	CODA		# Coda File System; also needs vcoda (below)
@@ -77,7 +77,7 @@ options 	NFSSERVER	# Sun NFS-compatible 
 #options 	DISKLABEL_EI	# disklabel Endian Independent support
 #options 	FFS_EI		# FFS Endian Independent support
 options 	WAPBL		# File system journaling support
-options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
+#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
 #options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
 # immutable) behave as system flags.
 
@@ -100,13 +100,6 @@ options 	SLJIT
 # Warning, these may compile large string tables into the kernel!
 options 	MIIVERBOSE	# verbose PHY autoconfig messages
 
-# Bitmask for enabling the PCI IDE channels in the southbridge.
-# Set bit 0 (0x01) for channel 0, bit 1 (0x02) for channel 1.
-#
-# Do this if your firmware (usually PMON and YAMON) doens't enable the IDE
-# channels for you (thus causing the NetBSD `pciide' driver to ignore them).
-#options 	PCI_NETBSD_ENABLE_IDE=0x1
-
 options 	NFS_BOOT_DHCP
 
 config		netbsd	root on ? type ?



CVS commit: src/sys/arch/evbmips/conf

2018-05-14 Thread Jason R Thorpe
Module Name:src
Committed By:   thorpej
Date:   Mon May 14 21:50:02 UTC 2018

Modified Files:
src/sys/arch/evbmips/conf: GDIUM LOONGSON

Log Message:
Fully specifiy the location of indirectly-configured I2C devices. In
particular, the parent spec must not be wild-carded, as doing so doesn't
work well on systems where more than one I2C bus is present.


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 src/sys/arch/evbmips/conf/GDIUM
cvs rdiff -u -r1.36 -r1.37 src/sys/arch/evbmips/conf/LOONGSON

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/evbmips/conf/GDIUM
diff -u src/sys/arch/evbmips/conf/GDIUM:1.29 src/sys/arch/evbmips/conf/GDIUM:1.30
--- src/sys/arch/evbmips/conf/GDIUM:1.29	Thu Sep 14 07:58:40 2017
+++ src/sys/arch/evbmips/conf/GDIUM	Mon May 14 21:50:02 2018
@@ -1,4 +1,4 @@
-# $NetBSD: GDIUM,v 1.29 2017/09/14 07:58:40 mrg Exp $
+# $NetBSD: GDIUM,v 1.30 2018/05/14 21:50:02 thorpej Exp $
 #
 # GENERIC machine description file
 # 
@@ -22,7 +22,7 @@ include 	"arch/evbmips/conf/std.gdium"
 
 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident 		"GDIUM-$Revision: 1.29 $"
+#ident 		"GDIUM-$Revision: 1.30 $"
 
 maxusers	16
 
@@ -152,11 +152,11 @@ bonito0		at mainbus0
 pci0		at bonito0
 voyager0	at pci0 dev ? function ?
 voyagerfb0	at voyager0
-iic*		at voyager0
-strtc*	at iic? addr 0x68
+iic0		at voyager0
+strtc*	at iic0 addr 0x68
 options	STRTC_NO_USERRAM
-lmtemp*	at iic? addr 0x48
-#stvii*	at iic? addr 0x40
+lmtemp*	at iic0 addr 0x48
+#stvii*	at iic0 addr 0x40
 #genfb0		at pci0 dev ? function ?
 wsdisplay0	at wsemuldisplaydev?
 ehci*		at pci0 dev ? function ?

Index: src/sys/arch/evbmips/conf/LOONGSON
diff -u src/sys/arch/evbmips/conf/LOONGSON:1.36 src/sys/arch/evbmips/conf/LOONGSON:1.37
--- src/sys/arch/evbmips/conf/LOONGSON:1.36	Thu Jan 18 23:17:09 2018
+++ src/sys/arch/evbmips/conf/LOONGSON	Mon May 14 21:50:02 2018
@@ -1,4 +1,4 @@
-# $NetBSD: LOONGSON,v 1.36 2018/01/18 23:17:09 maya Exp $
+# $NetBSD: LOONGSON,v 1.37 2018/05/14 21:50:02 thorpej Exp $
 #
 # LOONGSON machine description file
 # 
@@ -22,7 +22,7 @@ include 	"arch/evbmips/conf/std.loongson
 
 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident 		"LOONGSON-$Revision: 1.36 $"
+#ident 		"LOONGSON-$Revision: 1.37 $"
 
 maxusers	16
 
@@ -168,11 +168,11 @@ sisfb0		at pci0 dev ? function ?
 voyager0	at pci0 dev ? function ?	# SM502 on GDIUM
 voyagerfb0	at voyager0			# framebuffer portion
 pwmclock0	at voyager0			# clock and CPU freq scaling
-iic*		at voyager0
-strtc*		at iic? addr 0x68		# GDIUM's real time clock
+iic0		at voyager0
+strtc*		at iic0 addr 0x68		# GDIUM's real time clock
 options 	STRTC_NO_USERRAM
-lmtemp*		at iic? addr 0x48		# GDIUM's temperature sensor
-stvii*		at iic? addr 0x40		# GDIUM's onboard microcontroller
+lmtemp*		at iic0 addr 0x48		# GDIUM's temperature sensor
+stvii*		at iic0 addr 0x40		# GDIUM's onboard microcontroller
 lynxfb0		at pci0 dev ? function ?	# SM712 on Yeeloong Notebook
 #genfb0		at pci0 dev ? function ?
 wsdisplay*	at wsemuldisplaydev?



CVS commit: src/sys/arch/evbmips/conf

2018-01-18 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Thu Jan 18 23:17:09 UTC 2018

Modified Files:
src/sys/arch/evbmips/conf: LOONGSON

Log Message:
Use usbdevices. add midi needed to build umidi.
Remove now redundant USB entries.

So we will stop missing random USB drivers.


To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.36 src/sys/arch/evbmips/conf/LOONGSON

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/evbmips/conf/LOONGSON
diff -u src/sys/arch/evbmips/conf/LOONGSON:1.35 src/sys/arch/evbmips/conf/LOONGSON:1.36
--- src/sys/arch/evbmips/conf/LOONGSON:1.35	Thu Sep 14 07:58:40 2017
+++ src/sys/arch/evbmips/conf/LOONGSON	Thu Jan 18 23:17:09 2018
@@ -1,4 +1,4 @@
-# $NetBSD: LOONGSON,v 1.35 2017/09/14 07:58:40 mrg Exp $
+# $NetBSD: LOONGSON,v 1.36 2018/01/18 23:17:09 maya Exp $
 #
 # LOONGSON machine description file
 # 
@@ -22,7 +22,7 @@ include 	"arch/evbmips/conf/std.loongson
 
 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident 		"LOONGSON-$Revision: 1.35 $"
+#ident 		"LOONGSON-$Revision: 1.36 $"
 
 maxusers	16
 
@@ -176,11 +176,21 @@ stvii*		at iic? addr 0x40		# GDIUM's onb
 lynxfb0		at pci0 dev ? function ?	# SM712 on Yeeloong Notebook
 #genfb0		at pci0 dev ? function ?
 wsdisplay*	at wsemuldisplaydev?
+
 ehci*		at pci0 dev ? function ?
 #options 	EHCI_DEBUG
 ohci*		at pci0 dev ? function ?
 #options 	OHCI_DEBUG, USB_DEBUG, UHUB_DEBUG
 
+# USB
+usb*	at ehci?
+usb*	at ohci?
+
+include "dev/usb/usbdevices.config"
+midi*		at midibus?
+
+options		GDIUM_KEYBOARD_HACK	# support Fn key on Gdium
+
 gcscpcib*	at pci? dev ? function ?	# AMD CS5535/CS5536 PCI-ISA w/
 gpio*		at gcscpcib?			# timecounter, watchdog and GPIO
 isa0		at gcscpcib?
@@ -246,62 +256,6 @@ rgephy*	at mii? phy ?			# Realtek 8169S/
 rlphy*	at mii? phy ?			# Realtek 8139/8201L PHYs
 ukphy*	at mii? phy ?			# generic unknown PHYs
 
-# USB Hubs
-usb*	at ehci?
-usb*	at ohci?
-uhub*	at usb?
-uhub*	at uhub? port ?
-
-# USB HID device
-uhidev*	at uhub? port ? configuration ? interface ?
-
-# USB Mice
-ums*		at uhidev? reportid ?
-wsmouse*	at ums? mux 0
-
-# USB Keyboards
-ukbd*	at uhidev? reportid ?
-wskbd*	at ukbd? console ? mux 1
-options	GDIUM_KEYBOARD_HACK	# support Fn key on Gdium
-
-# USB Generic HID devices
-uhid*	at uhidev? reportid ?
-
-# USB serial adapter
-uftdi*	at uhub? port ? configuration ?
-
-# USB Printer
-ulpt*	at uhub? port ? configuration ? interface ?
-
-# USB Modem
-umodem*	at uhub? port ? configuration ?
-ucom*	at umodem?
-
-# Option N.V. Wireless WAN modems
-uhso*	at uhub? port ? configuration ?
-
-# USB Mass Storage
-umass*	at uhub? port ? configuration ? interface ?
-scsibus*	at umass? channel ?
-sd*		at scsibus? target ? lun ?	# SCSI disk drives
-cd*		at scsibus? target ? lun ?	# SCSI CD-ROM drives
-
-# FTDI FT8U100AX serial adapter
-uftdi*	at uhub? port ?
-ucom*	at uftdi? portno ?
-
-uplcom*	at uhub? port ?		# I/O DATA USB-RSAQ2 serial adapter
-ucom*	at uplcom? portno ?
-
-umct*	at uhub? port ?		# MCT USB-RS232 serial adapter
-ucom*	at umct? portno ?
-
-# Realtek RTL8187/RTL8187B 802.11b/g USB wireless adapter
-urtw*	at uhub? port ?
-
-# USB Generic driver
-ugen*	at uhub? port ?
-
 #
 # accept filters
 pseudo-device   accf_data		# "dataready" accept filter



CVS commit: src/sys/arch/evbmips/conf

2017-08-24 Thread Simon Burge
Module Name:src
Committed By:   simonb
Date:   Thu Aug 24 22:48:06 UTC 2017

Modified Files:
src/sys/arch/evbmips/conf: MALTA32 MALTA64

Log Message:
Remove the NOFPU option.  The main MALTA config file has this now.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/evbmips/conf/MALTA32
cvs rdiff -u -r1.7 -r1.8 src/sys/arch/evbmips/conf/MALTA64

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/evbmips/conf/MALTA32
diff -u src/sys/arch/evbmips/conf/MALTA32:1.3 src/sys/arch/evbmips/conf/MALTA32:1.4
--- src/sys/arch/evbmips/conf/MALTA32:1.3	Thu Feb  9 18:58:44 2012
+++ src/sys/arch/evbmips/conf/MALTA32	Thu Aug 24 22:48:06 2017
@@ -1,11 +1,10 @@
-# $NetBSD: MALTA32,v 1.3 2012/02/09 18:58:44 matt Exp $
+# $NetBSD: MALTA32,v 1.4 2017/08/24 22:48:06 simonb Exp $
 #
 include "arch/evbmips/conf/MALTA"
 
 makeoptions	LP64="no"
 
 no options	MIPS32
-options 	NOFPU		# No FPU
 #options 	EXEC_ELF64
 
 no ath*

Index: src/sys/arch/evbmips/conf/MALTA64
diff -u src/sys/arch/evbmips/conf/MALTA64:1.7 src/sys/arch/evbmips/conf/MALTA64:1.8
--- src/sys/arch/evbmips/conf/MALTA64:1.7	Sun Aug 17 21:17:43 2014
+++ src/sys/arch/evbmips/conf/MALTA64	Thu Aug 24 22:48:06 2017
@@ -1,11 +1,10 @@
-# $NetBSD: MALTA64,v 1.7 2014/08/17 21:17:43 joerg Exp $
+# $NetBSD: MALTA64,v 1.8 2017/08/24 22:48:06 simonb Exp $
 #
 include "arch/evbmips/conf/MALTA"
 
 makeoptions	LP64="yes"
 
 no options 	MIPS32
-options 	NOFPU			# No FPU
 options 	EXEC_ELF64
 options 	COMPAT_NETBSD32
 no makeoptions	COPY_SYMTAB



CVS commit: src/sys/arch/evbmips/conf

2017-08-24 Thread Simon Burge
Module Name:src
Committed By:   simonb
Date:   Thu Aug 24 22:46:54 UTC 2017

Modified Files:
src/sys/arch/evbmips/conf: MALTA

Log Message:
Re-enable the NOFPU and (renamed) FPEMUL options.  None of the Malta
CPU daughter cards currently supported by NetBSD have an FPU.

Detected on real hardware.  gxemul wrongly supports an FPU on the
4Kc and 5Kc CPUs.


To generate a diff of this commit:
cvs rdiff -u -r1.87 -r1.88 src/sys/arch/evbmips/conf/MALTA

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/evbmips/conf/MALTA
diff -u src/sys/arch/evbmips/conf/MALTA:1.87 src/sys/arch/evbmips/conf/MALTA:1.88
--- src/sys/arch/evbmips/conf/MALTA:1.87	Sat Aug 19 09:10:24 2017
+++ src/sys/arch/evbmips/conf/MALTA	Thu Aug 24 22:46:54 2017
@@ -1,17 +1,18 @@
-#	$NetBSD: MALTA,v 1.87 2017/08/19 09:10:24 maya Exp $
+#	$NetBSD: MALTA,v 1.88 2017/08/24 22:46:54 simonb Exp $
 
 include 	"arch/evbmips/conf/std.malta"
 
 #options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident 		"MALTA-$Revision: 1.87 $"
+#ident 		"MALTA-$Revision: 1.88 $"
 
 maxusers	32
 
 options 	MIPS32
 options 	MIPS64
-#options 	NOFPU		# No FPU
-#options 	FPEMUL		# emulate FPU insn
+
+options 	NOFPU		# No FPU
+options 	FPEMUL		# emulate FPU insn
 
 # Options for necessary to use MD
 # options 	MEMORY_DISK_HOOKS



CVS commit: src/sys/arch/evbmips/conf

2017-08-20 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Sun Aug 20 09:00:15 UTC 2017

Modified Files:
src/sys/arch/evbmips/conf: LOONGSON

Log Message:
Get rid of ATADEBUG on LOONGSON


To generate a diff of this commit:
cvs rdiff -u -r1.32 -r1.33 src/sys/arch/evbmips/conf/LOONGSON

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/evbmips/conf/LOONGSON
diff -u src/sys/arch/evbmips/conf/LOONGSON:1.32 src/sys/arch/evbmips/conf/LOONGSON:1.33
--- src/sys/arch/evbmips/conf/LOONGSON:1.32	Sun Aug 13 08:48:30 2017
+++ src/sys/arch/evbmips/conf/LOONGSON	Sun Aug 20 09:00:15 2017
@@ -1,4 +1,4 @@
-# $NetBSD: LOONGSON,v 1.32 2017/08/13 08:48:30 christos Exp $
+# $NetBSD: LOONGSON,v 1.33 2017/08/20 09:00:15 maya Exp $
 #
 # LOONGSON machine description file
 # 
@@ -22,7 +22,7 @@ include		"arch/evbmips/conf/std.loongson
 
 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident 		"LOONGSON-$Revision: 1.32 $"
+#ident 		"LOONGSON-$Revision: 1.33 $"
 
 maxusers	16
 
@@ -222,7 +222,7 @@ options  	WDC_NO_IDS #workaround CS5536+
 
 # ATA (IDE) bus support
 atabus* at ata?
-options 	ATADEBUG
+#options 	ATADEBUG
 
 # IDE drives
 # Flags are used only with controllers that support DMA operations



CVS commit: src/sys/arch/evbmips/conf

2017-08-19 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Sat Aug 19 09:10:24 UTC 2017

Modified Files:
src/sys/arch/evbmips/conf: ADM5120 ALCHEMY CPMBR1400 DB120 ERLITE MALTA
RB153 RB433UAH XLSATX ZYXELKX

Log Message:
Comment out 'options DEBUG' on all evbmips kernels

We aren't using DEBUG on other archs, mips is stable enough now, etc.


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/sys/arch/evbmips/conf/ADM5120 \
src/sys/arch/evbmips/conf/XLSATX
cvs rdiff -u -r1.61 -r1.62 src/sys/arch/evbmips/conf/ALCHEMY
cvs rdiff -u -r1.25 -r1.26 src/sys/arch/evbmips/conf/CPMBR1400
cvs rdiff -u -r1.17 -r1.18 src/sys/arch/evbmips/conf/DB120
cvs rdiff -u -r1.16 -r1.17 src/sys/arch/evbmips/conf/ERLITE
cvs rdiff -u -r1.86 -r1.87 src/sys/arch/evbmips/conf/MALTA
cvs rdiff -u -r1.18 -r1.19 src/sys/arch/evbmips/conf/RB153
cvs rdiff -u -r1.14 -r1.15 src/sys/arch/evbmips/conf/RB433UAH
cvs rdiff -u -r1.10 -r1.11 src/sys/arch/evbmips/conf/ZYXELKX

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/evbmips/conf/ADM5120
diff -u src/sys/arch/evbmips/conf/ADM5120:1.23 src/sys/arch/evbmips/conf/ADM5120:1.24
--- src/sys/arch/evbmips/conf/ADM5120:1.23	Sat Jul 29 12:28:27 2017
+++ src/sys/arch/evbmips/conf/ADM5120	Sat Aug 19 09:10:24 2017
@@ -1,11 +1,11 @@
-#	$NetBSD: ADM5120,v 1.23 2017/07/29 12:28:27 maxv Exp $
+#	$NetBSD: ADM5120,v 1.24 2017/08/19 09:10:24 maya Exp $
 #
 # Kernel config for the Alchemy Semiconductor (AMD) PB1000, PB1500,
 # DBAu1000 and DBAu1500 evaluation boards.
 
 include 	"arch/evbmips/conf/std.adm5120"
 
-#ident 		"GENERIC-$Revision: 1.23 $"
+#ident 		"GENERIC-$Revision: 1.24 $"
 
 maxusers	32
 
@@ -27,7 +27,7 @@ options 	TCP_OUTPUT_COUNTERS
 
 # Debugging options
 options 	DIAGNOSTIC	# extra kernel sanity checking
-options 	DEBUG		# extra kernel debugging support
+#options 	DEBUG		# extra kernel debugging support
 options 	DDB		# kernel dynamic debugger
 options 	DDB_HISTORY_SIZE=100 # enable history editing in DDB
 makeoptions 	DEBUG="-g"	# compile full symbol table
Index: src/sys/arch/evbmips/conf/XLSATX
diff -u src/sys/arch/evbmips/conf/XLSATX:1.23 src/sys/arch/evbmips/conf/XLSATX:1.24
--- src/sys/arch/evbmips/conf/XLSATX:1.23	Sat Jul 29 12:28:27 2017
+++ src/sys/arch/evbmips/conf/XLSATX	Sat Aug 19 09:10:24 2017
@@ -1,8 +1,8 @@
-#	$NetBSD: XLSATX,v 1.23 2017/07/29 12:28:27 maxv Exp $
+#	$NetBSD: XLSATX,v 1.24 2017/08/19 09:10:24 maya Exp $
 
 include 	"arch/evbmips/conf/std.rmixl"
 
-#ident 		"XLSATX-$Revision: 1.23 $"
+#ident 		"XLSATX-$Revision: 1.24 $"
 
 #options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
@@ -33,7 +33,7 @@ options 	NTP		# network time protocol
 
 # Debugging options
 options 	DIAGNOSTIC	# extra kernel sanity checking
-options 	DEBUG		# extra kernel debugging support
+#options 	DEBUG		# extra kernel debugging support
 options 	MSGBUFSIZE=65536 # kernel dmesg buffer
 options 	USERCONF	# userconf(4) support
 #options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel

Index: src/sys/arch/evbmips/conf/ALCHEMY
diff -u src/sys/arch/evbmips/conf/ALCHEMY:1.61 src/sys/arch/evbmips/conf/ALCHEMY:1.62
--- src/sys/arch/evbmips/conf/ALCHEMY:1.61	Sat Jul 29 18:08:57 2017
+++ src/sys/arch/evbmips/conf/ALCHEMY	Sat Aug 19 09:10:24 2017
@@ -1,11 +1,11 @@
-#	$NetBSD: ALCHEMY,v 1.61 2017/07/29 18:08:57 maxv Exp $
+#	$NetBSD: ALCHEMY,v 1.62 2017/08/19 09:10:24 maya Exp $
 #
 # Kernel config for the Alchemy Semiconductor (AMD) PB1000, PB1500,
 # DBAu1000 and DBAu1500 evaluation boards.
 
 include 	"arch/evbmips/conf/std.alchemy"
 
-#ident 		"ALCHEMY-$Revision: 1.61 $"
+#ident 		"ALCHEMY-$Revision: 1.62 $"
 
 maxusers	32
 
@@ -40,7 +40,7 @@ options 	NTP		# network time protocol
 
 # Debugging options
 options 	DIAGNOSTIC	# extra kernel sanity checking
-options 	DEBUG		# extra kernel debugging support
+#options 	DEBUG		# extra kernel debugging support
 options 	DDB		# kernel dynamic debugger
 options 	DDB_HISTORY_SIZE=100 # enable history editing in DDB
 makeoptions 	DEBUG="-g"	# compile full symbol table

Index: src/sys/arch/evbmips/conf/CPMBR1400
diff -u src/sys/arch/evbmips/conf/CPMBR1400:1.25 src/sys/arch/evbmips/conf/CPMBR1400:1.26
--- src/sys/arch/evbmips/conf/CPMBR1400:1.25	Tue Aug  1 16:12:32 2017
+++ src/sys/arch/evbmips/conf/CPMBR1400	Sat Aug 19 09:10:24 2017
@@ -1,4 +1,4 @@
-#	$NetBSD: CPMBR1400,v 1.25 2017/08/01 16:12:32 maya Exp $
+#	$NetBSD: CPMBR1400,v 1.26 2017/08/19 09:10:24 maya Exp $
 
 include		"arch/evbmips/conf/std.rasoc"
 
@@ -44,7 +44,7 @@ options 	NTP		# NTP phase/frequency lock
 options 	DIAGNOSTIC	# expensive kernel consistency checks
 #options 	LOCKDEBUG
 #options 	KSTACK_CHECK_MAGIC
-options 	DEBUG		# expensive debugging checks/support
+#options 	DEBUG		# expensive debugging checks/support
 options 	DDB			# in-kernel debugger
 options 	DDB_ONPANIC=1		# see also sysctl(7): `ddb.onpanic'
 #options 	

CVS commit: src/sys/arch/evbmips/conf

2017-08-08 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Tue Aug  8 12:22:21 UTC 2017

Modified Files:
src/sys/arch/evbmips/conf: std.loongson

Log Message:
Build the loongson kernels with all the binutils loongson2f errata workarounds

>From Zhang Fuxin via https://sourceware.org/ml/binutils/2009-11/msg00387.html

  - The NOP issue

"The nature of the erratum is deeply related to the microarchitecture of
Loongson-2. It uses roughly a 4-way superscalar dynamically scheduled core,
instructions are excuted as much as possible in parallel with technics like
branch prediction etc. We use a 8-entry internal branch prediction queue to
keep track of each predicted branches, if some branches are proved to be
wrongly predicted, all the instructions following it will be cancelled,together
with the resources used by them, including the registers used for renaming, and
the queue entry will be freeed. There is a bug that might cause a hang when the
queue is full(some resources might been leaked due to conflict branch entries),
the workaround is to reduce the possiblity of branch queue full by using
renaming registers(they are also limited, can prevent too many simutaneos
branches). In theory this is still not enough to fully eliminate possible
hangs, but the possiblity is extremely low now and hard to be hit in real
code."

  - The JUMP instructions issue

"The Loongson-2 series processors have quite complex micro-architecture, it will
try to execute instructions from the predicated branch of coming instruction
stream before they are confirmed to be run, if the predication of branch
direction is proved wrong later, the instructions will be cancelled, but if the
instructions is a read from memory, the read action might not be cancelled(but
the changes to register will) to enable some prefetch. This will lead to some
problems when compining with some chipsets. E.g. the AMD CS5536 used in
Yeeloong/Fuloong will hang if it gets an address in the physical address range
of 0x10-0x20(might be more other ranges). Speculative reads can perform
read at any address in theory(due to wrong prediction of branch directions and
the use of branch target buffer), thus in very few occasions they might cause a
hard lock of the machine.

To prevent this, we need to prevent some addresses from entering branch
target buffers. A way to do this is that to modify all jump targets, e.g.,
 calulations of t9
 ...
 jalr t9  =>
 calculations of t9
 or t9, t9, 0x8000;  // to make sure t9 is in kseg0
 jalr t9
Of course, we have to consider 64/32bit, and modules addresses etc.

This only need to be performed on kernel code, because only there we can have
accesses not translated/limited by TLB. For user code, it is impossible to
generate accesses to unwanted physical address. So it is safe.

Also, to prevent addresses generated by user mode code to be used by the
kernel, we add a few empty jumps to flush the BTB upon entrance to kernel."


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/evbmips/conf/std.loongson

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/evbmips/conf/std.loongson
diff -u src/sys/arch/evbmips/conf/std.loongson:1.1 src/sys/arch/evbmips/conf/std.loongson:1.2
--- src/sys/arch/evbmips/conf/std.loongson:1.1	Sat Aug 27 13:42:44 2011
+++ src/sys/arch/evbmips/conf/std.loongson	Tue Aug  8 12:22:21 2017
@@ -1,4 +1,4 @@
-# $NetBSD: std.loongson,v 1.1 2011/08/27 13:42:44 bouyer Exp $
+# $NetBSD: std.loongson,v 1.2 2017/08/08 12:22:21 maya Exp $
 
 machine evbmips mips
 include		"conf/std"	# MI standard options
@@ -21,10 +21,7 @@ options		EXEC_ELF32	# exec ELF32 binarie
 options		EXEC_SCRIPT	# exec #! scripts
 options 	COMPAT_NETBSD32
 
-#makeoptions	AFLAGS+="-Wa,-mfix-loongson2f-jump -Wa,-mfix-loongson2f-nop"
-#makeoptions	CFLAGS+="-Wa,-mfix-loongson2f-jump -Wa,-mfix-loongson2f-nop"
-#makeoptions	CPUFLAGS="-mips3 -mdivide-breaks" # CPU codegen options
-makeoptions	CPUFLAGS="-mips3 -mdivide-breaks -Wa,-mfix-loongson2f-btb" # CPU codegen options
+makeoptions	CPUFLAGS="-mips3 -mdivide-breaks -Wa,-mfix-loongson2f-btb -Wa,-mfix-loongson2f-jump -Wa,-mfix-loongson2f-nop" # CPU codegen options
 makeoptions	DEFTEXTADDR="0x8020"
 makeoptions	BOARDTYPE="loongson"
 



CVS commit: src/sys/arch/evbmips/conf

2017-08-01 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Tue Aug  1 16:12:33 UTC 2017

Modified Files:
src/sys/arch/evbmips/conf: CPMBR1400 LINKITSMART7688 ZYXELKX

Log Message:
Wrong architecture for IBCS2 compat! it's stringly an x86 thing.


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 src/sys/arch/evbmips/conf/CPMBR1400
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/evbmips/conf/LINKITSMART7688
cvs rdiff -u -r1.9 -r1.10 src/sys/arch/evbmips/conf/ZYXELKX

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/evbmips/conf/CPMBR1400
diff -u src/sys/arch/evbmips/conf/CPMBR1400:1.24 src/sys/arch/evbmips/conf/CPMBR1400:1.25
--- src/sys/arch/evbmips/conf/CPMBR1400:1.24	Tue Aug  1 14:23:42 2017
+++ src/sys/arch/evbmips/conf/CPMBR1400	Tue Aug  1 16:12:32 2017
@@ -1,4 +1,4 @@
-#	$NetBSD: CPMBR1400,v 1.24 2017/08/01 14:23:42 maxv Exp $
+#	$NetBSD: CPMBR1400,v 1.25 2017/08/01 16:12:32 maya Exp $
 
 include		"arch/evbmips/conf/std.rasoc"
 
@@ -77,7 +77,6 @@ options 	COMPAT_70	# NetBSD 7.0 binary c
 #options 	COMPAT_386BSD_MBRPART # recognize old partition ID
 
 #options 	COMPAT_SVR4	# binary compatibility with SVR4
-#options 	COMPAT_IBCS2	# binary compatibility with SCO and ISC
 #options 	COMPAT_LINUX	# binary compatibility with Linux
 #options 	COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
 

Index: src/sys/arch/evbmips/conf/LINKITSMART7688
diff -u src/sys/arch/evbmips/conf/LINKITSMART7688:1.4 src/sys/arch/evbmips/conf/LINKITSMART7688:1.5
--- src/sys/arch/evbmips/conf/LINKITSMART7688:1.4	Tue Aug  1 14:23:42 2017
+++ src/sys/arch/evbmips/conf/LINKITSMART7688	Tue Aug  1 16:12:32 2017
@@ -1,4 +1,4 @@
-#	$NetBSD: LINKITSMART7688,v 1.4 2017/08/01 14:23:42 maxv Exp $
+#	$NetBSD: LINKITSMART7688,v 1.5 2017/08/01 16:12:32 maya Exp $
 #
 # MediaTek MT7688
 #
@@ -77,7 +77,6 @@ options 	COMPAT_70	# NetBSD 7.0 binary c
 #options 	COMPAT_386BSD_MBRPART # recognize old partition ID
 
 #options 	COMPAT_SVR4	# binary compatibility with SVR4
-#options 	COMPAT_IBCS2	# binary compatibility with SCO and ISC
 #options 	COMPAT_LINUX	# binary compatibility with Linux
 #options 	COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
 

Index: src/sys/arch/evbmips/conf/ZYXELKX
diff -u src/sys/arch/evbmips/conf/ZYXELKX:1.9 src/sys/arch/evbmips/conf/ZYXELKX:1.10
--- src/sys/arch/evbmips/conf/ZYXELKX:1.9	Tue Aug  1 14:23:42 2017
+++ src/sys/arch/evbmips/conf/ZYXELKX	Tue Aug  1 16:12:32 2017
@@ -1,4 +1,4 @@
-#	$NetBSD: ZYXELKX,v 1.9 2017/08/01 14:23:42 maxv Exp $
+#	$NetBSD: ZYXELKX,v 1.10 2017/08/01 16:12:32 maya Exp $
 
 include		"arch/evbmips/conf/std.rasoc"
 
@@ -73,7 +73,6 @@ options 	COMPAT_70	# NetBSD 7.0 binary c
 #options 	COMPAT_386BSD_MBRPART # recognize old partition ID
 
 #options 	COMPAT_SVR4	# binary compatibility with SVR4
-#options 	COMPAT_IBCS2	# binary compatibility with SCO and ISC
 #options 	COMPAT_LINUX	# binary compatibility with Linux
 #options 	COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
 



CVS commit: src/sys/arch/evbmips/conf

2017-07-25 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Tue Jul 25 06:44:22 UTC 2017

Modified Files:
src/sys/arch/evbmips/conf: CI20

Log Message:
don't set NEED_MDSETIMAGE when we don't enable the md_root.  move the
option in with the commented md_root options.

part 2 of the CI20 kernel build fix.  now evbmips builds completes
sanely for me.


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 src/sys/arch/evbmips/conf/CI20

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/evbmips/conf/CI20
diff -u src/sys/arch/evbmips/conf/CI20:1.22 src/sys/arch/evbmips/conf/CI20:1.23
--- src/sys/arch/evbmips/conf/CI20:1.22	Sun Feb 19 07:47:00 2017
+++ src/sys/arch/evbmips/conf/CI20	Tue Jul 25 06:44:22 2017
@@ -1,4 +1,4 @@
-#	$NetBSD: CI20,v 1.22 2017/02/19 07:47:00 rin Exp $
+#	$NetBSD: CI20,v 1.23 2017/07/25 06:44:22 mrg Exp $
 #
 # MIPS Creator CI20
 #
@@ -7,7 +7,7 @@ include 	"arch/evbmips/conf/std.ingenic"
 
 #options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident 		"CI20-$Revision: 1.22 $"
+#ident 		"CI20-$Revision: 1.23 $"
 
 maxusers	32
 
@@ -15,13 +15,13 @@ maxusers	32
 
 options 	MIPS32R2
 makeoptions	CPUFLAGS+="-mips32r2"
-makeoptions	NEED_MDSETIMAGE="yes"
 makeoptions	NEED_BINARY="yes"
 makeoptions	NEED_UBOOTIMAGE="gz"
 options 	COM_TOLERANCE=50	# +/- 5%
 options 	CONSPEED=115200	# u-boot default
 
 # Options for necessary to use MD
+#makeoptions	NEED_MDSETIMAGE="yes"
 #options 	MEMORY_DISK_HOOKS
 #options 	MEMORY_DISK_IS_ROOT	# force root on memory disk
 #options 	MEMORY_DISK_SERVER=0	# no userspace memory disk support



CVS commit: src/sys/arch/evbmips/conf

2017-05-11 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Thu May 11 07:56:43 UTC 2017

Modified Files:
src/sys/arch/evbmips/conf: LOONGSON

Log Message:
COPY_SYMTAB=1 so ddb commands ps, bt work


To generate a diff of this commit:
cvs rdiff -u -r1.30 -r1.31 src/sys/arch/evbmips/conf/LOONGSON

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/evbmips/conf/LOONGSON
diff -u src/sys/arch/evbmips/conf/LOONGSON:1.30 src/sys/arch/evbmips/conf/LOONGSON:1.31
--- src/sys/arch/evbmips/conf/LOONGSON:1.30	Sun Feb 19 07:47:00 2017
+++ src/sys/arch/evbmips/conf/LOONGSON	Thu May 11 07:56:43 2017
@@ -1,4 +1,4 @@
-# $NetBSD: LOONGSON,v 1.30 2017/02/19 07:47:00 rin Exp $
+# $NetBSD: LOONGSON,v 1.31 2017/05/11 07:56:43 maya Exp $
 #
 # LOONGSON machine description file
 # 
@@ -22,7 +22,7 @@ include		"arch/evbmips/conf/std.loongson
 
 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident 		"LOONGSON-$Revision: 1.30 $"
+#ident 		"LOONGSON-$Revision: 1.31 $"
 
 maxusers	16
 
@@ -36,6 +36,7 @@ options 	DIAGNOSTIC		# extra kernel debu
 #options 	PMAP_FAULTINFO
 #options 	LOCKDEBUG
 makeoptions	DEBUG="-g"
+makeoptions	COPY_SYMTAB=1		# size for embedded symbol table
 options 	KTRACE			# system call tracing support
 options 	MSGBUFSIZE=8192		# dmesg buffer size
 



CVS commit: src/sys/arch/evbmips/conf

2016-12-27 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Wed Dec 28 03:49:16 UTC 2016

Modified Files:
src/sys/arch/evbmips/conf: ERLITE

Log Message:
enable a few things that make sense for a router-style box:

BPFJIT, SJIT, bpf, ppp, pppoe, tun, tap, vlan, and bridge.

add a commented out OCTEON_MEMSIZE setting for users who see
that problem.


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/sys/arch/evbmips/conf/ERLITE

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/evbmips/conf/ERLITE
diff -u src/sys/arch/evbmips/conf/ERLITE:1.13 src/sys/arch/evbmips/conf/ERLITE:1.14
--- src/sys/arch/evbmips/conf/ERLITE:1.13	Thu Sep 22 08:09:40 2016
+++ src/sys/arch/evbmips/conf/ERLITE	Wed Dec 28 03:49:16 2016
@@ -1,14 +1,18 @@
-#	$NetBSD: ERLITE,v 1.13 2016/09/22 08:09:40 roy Exp $
+#	$NetBSD: ERLITE,v 1.14 2016/12/28 03:49:16 mrg Exp $
 
 include 	"arch/mips/conf/std.octeon"
 include 	"arch/evbmips/conf/files.octeon"
 
 #options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident 		"ERLITE-$Revision: 1.13 $"
+#ident 		"ERLITE-$Revision: 1.14 $"
 
 maxusers	32
 
+# XXX UVM freelists vs 4GB issue.  Enable this if you see hangs
+# waiting for memory when there are actual free pages around.
+#options 	OCTEON_MEMSIZE="(256*1024*1024)"
+
 # Options for necessary to use MD
 #options 	MEMORY_DISK_HOOKS
 #options 	MEMORY_DISK_IS_ROOT	# force root on memory disk
@@ -98,6 +102,8 @@ options 	INET6		# IPV6
 #options 	PPP_DEFLATE	# Deflate compression support for PPP
 #options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
 #options 	IPFILTER_LOG	# ipmon(8) log support
+options 	BPFJIT
+options 	SLJIT
 
 # Compatibility with 4.2BSD implementation of TCP/IP.  Not recommended.
 #options 	TCP_COMPAT_42
@@ -158,19 +164,21 @@ ukphy*		at mii? phy ?		# generic unknown
 # Network pseudo-devices
 pseudo-device	bpfilter			# Berkeley packet filter
 #pseudo-device	ipfilter			# IP filter (firewall) and NAT
+pseudo-device	npf# NPF packet filter
 pseudo-device	loop# network loopback
-#pseudo-device	ppp# Point-to-Point Protocol
+pseudo-device	ppp# Point-to-Point Protocol
+pseudo-device	pppoe# Point-to-Point Protocol over Ethernet
 #pseudo-device	sl# Serial Line IP
 #pseudo-device	strip# Starmode Radio IP (Metricom)
-#pseudo-device	tun# network tunneling over tty
-#pseudo-device	tap# virtual Ethernet
+pseudo-device	tun# network tunneling over tty
+pseudo-device	tap# virtual Ethernet
 #pseudo-device	gre# generic L3 over IP tunnel
 #pseudo-device	ipip# RFC 2003 IP Encapsulation
 #pseudo-device	gif# RFC1933 tunnel
 #pseudo-device	faith# IPv[46] tcp relay translation
 #pseudo-device	stf# 6to4 IPv6 over IPv4 encapsulation
-#pseudo-device	vlan# IEEE 802.1q encapsulation
-#pseudo-device	bridge# simple inter-network bridging
+pseudo-device	vlan# IEEE 802.1q encapsulation
+pseudo-device	bridge# simple inter-network bridging
 
 # Miscellaneous pseudo-devices
 pseudo-device	pty# pseudo-terminals



CVS commit: src/sys/arch/evbmips/conf

2016-12-09 Thread Roy Marples
Module Name:src
Committed By:   roy
Date:   Fri Dec  9 10:30:48 UTC 2016

Modified Files:
src/sys/arch/evbmips/conf: files.octeon

Log Message:
Include sljit on octeon so we can use OPTIONS BPFJIT to speed up NPF on ERLITE.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/evbmips/conf/files.octeon

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/evbmips/conf/files.octeon
diff -u src/sys/arch/evbmips/conf/files.octeon:1.4 src/sys/arch/evbmips/conf/files.octeon:1.5
--- src/sys/arch/evbmips/conf/files.octeon:1.4	Mon Jun  1 22:55:12 2015
+++ src/sys/arch/evbmips/conf/files.octeon	Fri Dec  9 10:30:48 2016
@@ -1,4 +1,4 @@
-#	$NetBSD: files.octeon,v 1.4 2015/06/01 22:55:12 matt Exp $
+#	$NetBSD: files.octeon,v 1.5 2016/12/09 10:30:48 roy Exp $
 
 file	arch/evbmips/cavium/autoconf.c
 file	arch/evbmips/cavium/machdep.c
@@ -9,6 +9,9 @@ file	arch/evbmips/evbmips/interrupt.c
 
 file	kern/subr_disk_mbr.c
 
+# Stack-less Just-In-Time compiler
+include	"external/bsd/sljit/conf/files.sljit"
+
 #device	cpu
 #attach	cpu at mainbus
 #file	arch/evbmips/evbmips/cpu.c		cpu



CVS commit: src/sys/arch/evbmips/conf

2016-09-22 Thread Roy Marples
Module Name:src
Committed By:   roy
Date:   Thu Sep 22 08:09:40 UTC 2016

Modified Files:
src/sys/arch/evbmips/conf: ERLITE

Log Message:
Add COMPAT_70 to ERLITE for ifa_msghdr changes.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/sys/arch/evbmips/conf/ERLITE

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/evbmips/conf/ERLITE
diff -u src/sys/arch/evbmips/conf/ERLITE:1.12 src/sys/arch/evbmips/conf/ERLITE:1.13
--- src/sys/arch/evbmips/conf/ERLITE:1.12	Fri Aug 21 12:26:54 2015
+++ src/sys/arch/evbmips/conf/ERLITE	Thu Sep 22 08:09:40 2016
@@ -1,11 +1,11 @@
-#	$NetBSD: ERLITE,v 1.12 2015/08/21 12:26:54 jmcneill Exp $
+#	$NetBSD: ERLITE,v 1.13 2016/09/22 08:09:40 roy Exp $
 
 include 	"arch/mips/conf/std.octeon"
 include 	"arch/evbmips/conf/files.octeon"
 
 #options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident 		"ERLITE-$Revision: 1.12 $"
+#ident 		"ERLITE-$Revision: 1.13 $"
 
 maxusers	32
 
@@ -51,6 +51,7 @@ makeoptions	COPY_SYMTAB=1	# size for emb
 #options 	COMPAT_20	# NetBSD 2.0 binary compatibility
 #options 	COMPAT_30	# NetBSD 3.0 compatibility.
 #options 	COMPAT_40	# NetBSD 4.0 compatibility.
+options 	COMPAT_70	# NetBSD 7.0 binary compatibility.
 #options 	EXEC_ECOFF	# exec ECOFF binaries
 #options 	COMPAT_ULTRIX	# binary compatibility with Ultrix
 #options 	COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.



CVS commit: src/sys/arch/evbmips/conf

2016-07-13 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Wed Jul 13 11:12:56 UTC 2016

Modified Files:
src/sys/arch/evbmips/conf: LOONGSON

Log Message:
add drvctl(4)


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 src/sys/arch/evbmips/conf/LOONGSON

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/evbmips/conf/LOONGSON
diff -u src/sys/arch/evbmips/conf/LOONGSON:1.25 src/sys/arch/evbmips/conf/LOONGSON:1.26
--- src/sys/arch/evbmips/conf/LOONGSON:1.25	Sat Aug 23 20:26:57 2014
+++ src/sys/arch/evbmips/conf/LOONGSON	Wed Jul 13 11:12:56 2016
@@ -1,4 +1,4 @@
-# $NetBSD: LOONGSON,v 1.25 2014/08/23 20:26:57 dholland Exp $
+# $NetBSD: LOONGSON,v 1.26 2016/07/13 11:12:56 jmcneill Exp $
 #
 # LOONGSON machine description file
 # 
@@ -22,7 +22,7 @@ include		"arch/evbmips/conf/std.loongson
 
 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident 		"LOONGSON-$Revision: 1.25 $"
+#ident 		"LOONGSON-$Revision: 1.26 $"
 
 maxusers	16
 
@@ -352,6 +352,7 @@ pseudo-device	bridge
 #options	BRIDGE_IPF		# bridge uses IP/IPv6 pfil hooks too
 pseudo-device	agr			# IEEE 802.3ad link aggregation
 pseudo-device	ksyms			# /dev/ksyms
+pseudo-device	drvctl			# driver control
 #pseudo-device	pf			# PF packet filter
 #pseudo-device	pflog			# PF log if
 



CVS commit: src/sys/arch/evbmips/conf

2016-07-10 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Mon Jul 11 03:45:59 UTC 2016

Modified Files:
src/sys/arch/evbmips/conf: INSTALL_MALTA32

Log Message:
Add makeoptionsNEED_MDSETIMAGE="yes"


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/evbmips/conf/INSTALL_MALTA32

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/evbmips/conf/INSTALL_MALTA32
diff -u src/sys/arch/evbmips/conf/INSTALL_MALTA32:1.2 src/sys/arch/evbmips/conf/INSTALL_MALTA32:1.3
--- src/sys/arch/evbmips/conf/INSTALL_MALTA32:1.2	Mon Dec 14 00:46:01 2009
+++ src/sys/arch/evbmips/conf/INSTALL_MALTA32	Mon Jul 11 03:45:59 2016
@@ -1,8 +1,8 @@
-# $NetBSD: INSTALL_MALTA32,v 1.2 2009/12/14 00:46:01 matt Exp $
+# $NetBSD: INSTALL_MALTA32,v 1.3 2016/07/11 03:45:59 matt Exp $
 
 include		"arch/evbmips/conf/MALTA32"
 
-#ident 		"INSTALL_MALTA32-$Revision: 1.2 $"
+#ident 		"INSTALL_MALTA32-$Revision: 1.3 $"
 
 # Enable the hooks used for initializing the root memory-disk.
 # The ramdisk size must be kept in sync manually with the size of
@@ -12,3 +12,7 @@ options 	MEMORY_DISK_HOOKS
 options 	MEMORY_DISK_IS_ROOT		# force root on memory disk
 options 	MEMORY_DISK_SERVER=0		# no userspace memory disk
 options 	MEMORY_DISK_ROOT_SIZE=12288	# size of memory disk, in blocks
+
+#options 	UVMHIST
+#options 	UVMHIST_PRINT
+makeoptions	NEED_MDSETIMAGE="yes"



CVS commit: src/sys/arch/evbmips/conf

2016-01-02 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Sat Jan  2 16:55:46 UTC 2016

Modified Files:
src/sys/arch/evbmips/conf: CI20

Log Message:
enable ehci, now that it works properly


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/sys/arch/evbmips/conf/CI20

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/evbmips/conf/CI20
diff -u src/sys/arch/evbmips/conf/CI20:1.18 src/sys/arch/evbmips/conf/CI20:1.19
--- src/sys/arch/evbmips/conf/CI20:1.18	Thu Oct 29 00:15:48 2015
+++ src/sys/arch/evbmips/conf/CI20	Sat Jan  2 16:55:46 2016
@@ -1,4 +1,4 @@
-#	$NetBSD: CI20,v 1.18 2015/10/29 00:15:48 mrg Exp $
+#	$NetBSD: CI20,v 1.19 2016/01/02 16:55:46 macallan Exp $
 #
 # MIPS Creator CI20
 #
@@ -7,7 +7,7 @@ include 	"arch/evbmips/conf/std.ingenic"
 
 #options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident 		"CI20-$Revision: 1.18 $"
+#ident 		"CI20-$Revision: 1.19 $"
 
 maxusers	32
 
@@ -142,12 +142,12 @@ cpu0 		at mainbus?
 #wdog0		at mainbus?
 apbus0		at mainbus?
 
-# EFUSE Slave Interface
-efuse* 		at apbus?
-
 # On-chip UARTs
 com*		at apbus?
 
+# EFUSE
+efuse* 		at apbus?
+
 # On-chip USB
 dwctwo* 	at apbus?
 #options 	DWC2_DEBUG
@@ -157,12 +157,12 @@ ohci*		at apbus?
 usb* 		at ohci?
 
 # this one doesn't work right just yet
-#ehci*		at apbus?
+ehci*		at apbus?
 #options 	INGENIC_EHCI_DEBUG
 #options 	EHCI_DEBUG
 #options 	USBVERBOSE
-#options 	USB_DEBUG
-#usb* 		at ehci?
+#options 	USBHIST
+usb* 		at ehci?
 
 # onboard ethernet
 dme*		at apbus?
@@ -220,7 +220,8 @@ sd*		at scsibus? target ? lun ?	# SCSI d
 cd*		at scsibus? target ? lun ?	# SCSI CD-ROM drives
 
 # Ethernet
-axe*	at uhub? port ?
+#axe*	at uhub? port ?
+#urtwn*	at uhub? port ?
 
 # Random number generator
 jzrng0	at apbus0



CVS commit: src/sys/arch/evbmips/conf

2016-01-02 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Sun Jan  3 06:23:25 UTC 2016

Modified Files:
src/sys/arch/evbmips/conf: CI20

Log Message:
comment out ukphy


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/sys/arch/evbmips/conf/CI20

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/evbmips/conf/CI20
diff -u src/sys/arch/evbmips/conf/CI20:1.19 src/sys/arch/evbmips/conf/CI20:1.20
--- src/sys/arch/evbmips/conf/CI20:1.19	Sat Jan  2 16:55:46 2016
+++ src/sys/arch/evbmips/conf/CI20	Sun Jan  3 06:23:25 2016
@@ -1,4 +1,4 @@
-#	$NetBSD: CI20,v 1.19 2016/01/02 16:55:46 macallan Exp $
+#	$NetBSD: CI20,v 1.20 2016/01/03 06:23:25 macallan Exp $
 #
 # MIPS Creator CI20
 #
@@ -7,7 +7,7 @@ include 	"arch/evbmips/conf/std.ingenic"
 
 #options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident 		"CI20-$Revision: 1.19 $"
+#ident 		"CI20-$Revision: 1.20 $"
 
 maxusers	32
 
@@ -243,7 +243,7 @@ jzrng0	at apbus0
 #tlphy*		at mii? phy ?		# ThunderLAN PHYs
 #tqphy*		at mii? phy ?		# TDK Semiconductor PHYs
 #rlphy*		at mii? phy ?		# RealTek PHYs
-ukphy*		at mii? phy ?		# generic unknown PHYs
+#ukphy*		at mii? phy ?		# generic unknown PHYs
 
 
 # Pseudo-devices



CVS commit: src/sys/arch/evbmips/conf

2015-10-08 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Thu Oct  8 17:58:51 UTC 2015

Modified Files:
src/sys/arch/evbmips/conf: CI20

Log Message:
add efuse driver


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/sys/arch/evbmips/conf/CI20

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/evbmips/conf/CI20
diff -u src/sys/arch/evbmips/conf/CI20:1.16 src/sys/arch/evbmips/conf/CI20:1.17
--- src/sys/arch/evbmips/conf/CI20:1.16	Wed Aug 12 07:53:57 2015
+++ src/sys/arch/evbmips/conf/CI20	Thu Oct  8 17:58:51 2015
@@ -1,4 +1,4 @@
-#	$NetBSD: CI20,v 1.16 2015/08/12 07:53:57 maxv Exp $
+#	$NetBSD: CI20,v 1.17 2015/10/08 17:58:51 macallan Exp $
 #
 # MIPS Creator CI20
 #
@@ -7,7 +7,7 @@ include 	"arch/evbmips/conf/std.ingenic"
 
 #options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident 		"CI20-$Revision: 1.16 $"
+#ident 		"CI20-$Revision: 1.17 $"
 
 maxusers	32
 
@@ -142,6 +142,9 @@ cpu0 		at mainbus?
 #wdog0		at mainbus?
 apbus0		at mainbus?
 
+# EFUSE Slave Interface
+efuse* 		at apbus?
+
 # On-chip UARTs
 com*		at apbus?
 



CVS commit: src/sys/arch/evbmips/conf

2015-08-21 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Fri Aug 21 12:26:54 UTC 2015

Modified Files:
src/sys/arch/evbmips/conf: ERLITE

Log Message:
enable NFSSERVER


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/sys/arch/evbmips/conf/ERLITE

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/evbmips/conf/ERLITE
diff -u src/sys/arch/evbmips/conf/ERLITE:1.11 src/sys/arch/evbmips/conf/ERLITE:1.12
--- src/sys/arch/evbmips/conf/ERLITE:1.11	Tue Jun 16 09:37:48 2015
+++ src/sys/arch/evbmips/conf/ERLITE	Fri Aug 21 12:26:54 2015
@@ -1,11 +1,11 @@
-#	$NetBSD: ERLITE,v 1.11 2015/06/16 09:37:48 martin Exp $
+#	$NetBSD: ERLITE,v 1.12 2015/08/21 12:26:54 jmcneill Exp $
 
 include 	arch/mips/conf/std.octeon
 include 	arch/evbmips/conf/files.octeon
 
 #options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident 		ERLITE-$Revision: 1.11 $
+#ident 		ERLITE-$Revision: 1.12 $
 
 maxusers	32
 
@@ -75,7 +75,7 @@ file-system	MSDOSFS		# MS-DOS FAT filesy
 file-system	PTYFS		# /dev/pts/N support
 
 # File system options
-#options 	NFSSERVER	# Sun NFS-compatible filesystem server
+options 	NFSSERVER	# Sun NFS-compatible filesystem server
 #options 	QUOTA		# legacy UFS quotas
 #options 	QUOTA2		# new, in-filesystem UFS quotas
 #options 	FFS_EI		# FFS Endian Independent support



CVS commit: src/sys/arch/evbmips/conf

2015-08-07 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Fri Aug  7 17:41:43 UTC 2015

Modified Files:
src/sys/arch/evbmips/conf: CI20

Log Message:
add jzrng


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/sys/arch/evbmips/conf/CI20

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/evbmips/conf/CI20
diff -u src/sys/arch/evbmips/conf/CI20:1.14 src/sys/arch/evbmips/conf/CI20:1.15
--- src/sys/arch/evbmips/conf/CI20:1.14	Sat Jul 11 19:00:04 2015
+++ src/sys/arch/evbmips/conf/CI20	Fri Aug  7 17:41:43 2015
@@ -1,4 +1,4 @@
-#	$NetBSD: CI20,v 1.14 2015/07/11 19:00:04 macallan Exp $
+#	$NetBSD: CI20,v 1.15 2015/08/07 17:41:43 macallan Exp $
 #
 # MIPS Creator CI20
 #
@@ -7,7 +7,7 @@ include 	arch/evbmips/conf/std.ingenic
 
 #options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident 		CI20-$Revision: 1.14 $
+#ident 		CI20-$Revision: 1.15 $
 
 maxusers	32
 
@@ -220,6 +220,9 @@ cd*		at scsibus? target ? lun ?	# SCSI C
 # Ethernet
 axe*	at uhub? port ?
 
+# Random number generator
+jzrng0	at apbus0
+
 # MII/PHY support
 #acphy*		at mii? phy ?		# DAltima AC101 and AMD Am79c874 PHYs
 #amhphy* 	at mii? phy ?		# AMD 79c901 Ethernet PHYs



CVS commit: src/sys/arch/evbmips/conf

2015-07-11 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Sat Jul 11 19:01:17 UTC 2015

Modified Files:
src/sys/arch/evbmips/conf: std.ingenic

Log Message:
include files.sdmmc


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/evbmips/conf/std.ingenic

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/evbmips/conf/std.ingenic
diff -u src/sys/arch/evbmips/conf/std.ingenic:1.1 src/sys/arch/evbmips/conf/std.ingenic:1.2
--- src/sys/arch/evbmips/conf/std.ingenic:1.1	Sat Nov 22 15:17:02 2014
+++ src/sys/arch/evbmips/conf/std.ingenic	Sat Jul 11 19:01:17 2015
@@ -1,4 +1,4 @@
-# $NetBSD: std.ingenic,v 1.1 2014/11/22 15:17:02 macallan Exp $
+# $NetBSD: std.ingenic,v 1.2 2015/07/11 19:01:17 macallan Exp $
 
 machine evbmips mips
 include		conf/std	# MI standard options
@@ -12,4 +12,4 @@ makeoptions	BOARDTYPE=ingenic
 
 include 	arch/evbmips/conf/files.ingenic
 include 	arch/mips/conf/files.ingenic
-
+include 	dev/sdmmc/files.sdmmc			# SD/MMC devices



CVS commit: src/sys/arch/evbmips/conf

2015-06-26 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Fri Jun 26 21:56:31 UTC 2015

Modified Files:
src/sys/arch/evbmips/conf: Makefile.evbmips.inc

Log Message:
if NEED_MDSETIMAGE != no and the ramdisk.fs exists
add ramdisk.fs to SYSTEM_DEP
if DEBUG is defined, mdsetimage the ramdisk image into the .gdb copy


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/arch/evbmips/conf/Makefile.evbmips.inc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/evbmips/conf/Makefile.evbmips.inc
diff -u src/sys/arch/evbmips/conf/Makefile.evbmips.inc:1.6 src/sys/arch/evbmips/conf/Makefile.evbmips.inc:1.7
--- src/sys/arch/evbmips/conf/Makefile.evbmips.inc:1.6	Tue Aug  5 15:40:59 2014
+++ src/sys/arch/evbmips/conf/Makefile.evbmips.inc	Fri Jun 26 21:56:31 2015
@@ -4,9 +4,15 @@ RAMDISKDIR!=	cd ${NETBSDSRCDIR}/distrib/
 
 .if defined(NEED_MDSETIMAGE)  ${NEED_MDSETIMAGE} != no \
  exists(${RAMDISKDIR}/ramdisk.fs)
+SYSTEM_DEP+= ${RAMDISKDIR}/ramdisk.fs
 SYSTEM_LD_TAIL_EXTRA+=; \
 	echo ${TOOL_MDSETIMAGE} -s $@ ${RAMDISKDIR}/ramdisk.fs; \
 	${TOOL_MDSETIMAGE} -s $@ ${RAMDISKDIR}/ramdisk.fs
+.if defined(DEBUG)
+SYSTEM_LD_TAIL_EXTRA+=; \
+	echo ${TOOL_MDSETIMAGE} -s $@.gdb ${RAMDISKDIR}/ramdisk.fs; \
+	${TOOL_MDSETIMAGE} -s $@.gdb ${RAMDISKDIR}/ramdisk.fs
+.endif
 .endif
 
 .if defined(NEED_SREC)  ${NEED_SREC} != no



CVS commit: src/sys/arch/evbmips/conf

2015-06-16 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Tue Jun 16 09:37:48 UTC 2015

Modified Files:
src/sys/arch/evbmips/conf: ERLITE

Log Message:
Remove options NFS_V2_ONLY


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/sys/arch/evbmips/conf/ERLITE

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/evbmips/conf/ERLITE
diff -u src/sys/arch/evbmips/conf/ERLITE:1.10 src/sys/arch/evbmips/conf/ERLITE:1.11
--- src/sys/arch/evbmips/conf/ERLITE:1.10	Mon Jun  8 14:42:38 2015
+++ src/sys/arch/evbmips/conf/ERLITE	Tue Jun 16 09:37:48 2015
@@ -1,11 +1,11 @@
-#	$NetBSD: ERLITE,v 1.10 2015/06/08 14:42:38 matt Exp $
+#	$NetBSD: ERLITE,v 1.11 2015/06/16 09:37:48 martin Exp $
 
 include 	arch/mips/conf/std.octeon
 include 	arch/evbmips/conf/files.octeon
 
 #options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident 		ERLITE-$Revision: 1.10 $
+#ident 		ERLITE-$Revision: 1.11 $
 
 maxusers	32
 
@@ -113,7 +113,6 @@ options 	MIIVERBOSE	# verbose PHY autoco
 #options 	PCI_NETBSD_ENABLE_IDE=0x1
 
 options 	NFS_BOOT_DHCP
-options 	NFS_V2_ONLY
 
 config		netbsd	root on ? type ?
 #config		netbsd	root on cnmac0 type nfs



CVS commit: src/sys/arch/evbmips/conf

2015-06-08 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Mon Jun  8 14:42:38 UTC 2015

Modified Files:
src/sys/arch/evbmips/conf: ERLITE

Log Message:
Add wdog0


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/sys/arch/evbmips/conf/ERLITE

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/evbmips/conf/ERLITE
diff -u src/sys/arch/evbmips/conf/ERLITE:1.9 src/sys/arch/evbmips/conf/ERLITE:1.10
--- src/sys/arch/evbmips/conf/ERLITE:1.9	Mon Jun  1 22:55:12 2015
+++ src/sys/arch/evbmips/conf/ERLITE	Mon Jun  8 14:42:38 2015
@@ -1,11 +1,11 @@
-#	$NetBSD: ERLITE,v 1.9 2015/06/01 22:55:12 matt Exp $
+#	$NetBSD: ERLITE,v 1.10 2015/06/08 14:42:38 matt Exp $
 
 include 	arch/mips/conf/std.octeon
 include 	arch/evbmips/conf/files.octeon
 
 #options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident 		ERLITE-$Revision: 1.9 $
+#ident 		ERLITE-$Revision: 1.10 $
 
 maxusers	32
 
@@ -121,6 +121,7 @@ config		netbsd	root on ? type ?
 mainbus0	at root
 cpunode0	at mainbus?
 cpu*		at cpunode? core ?
+wdog0		at cpunode0 flags 0		# flags 1 will enable it on boot
 
 iobus0		at mainbus?
 bootbus0	at mainbus?



CVS commit: src/sys/arch/evbmips/conf

2015-06-07 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Sun Jun  7 21:05:33 UTC 2015

Modified Files:
src/sys/arch/evbmips/conf: files.malta

Log Message:
Add bluetooth


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/sys/arch/evbmips/conf/files.malta

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/evbmips/conf/files.malta
diff -u src/sys/arch/evbmips/conf/files.malta:1.19 src/sys/arch/evbmips/conf/files.malta:1.20
--- src/sys/arch/evbmips/conf/files.malta:1.19	Sun Jul 20 10:22:54 2014
+++ src/sys/arch/evbmips/conf/files.malta	Sun Jun  7 21:05:33 2015
@@ -1,4 +1,4 @@
-#	$NetBSD: files.malta,v 1.19 2014/07/20 10:22:54 alnsn Exp $
+#	$NetBSD: files.malta,v 1.20 2015/06/07 21:05:33 matt Exp $
 
 file	arch/evbmips/malta/malta_bus_io.c
 file	arch/evbmips/malta/malta_bus_mem.c
@@ -41,6 +41,9 @@ include dev/ata/files.ata
 # Machine-independent PC-style keyboard controller drivers
 include dev/pckbport/files.pckbport
 
+# Machine-independent bluetooth device support
+include dev/bluetooth/files.bluetooth
+
 # Machine-independent USB device support
 include dev/usb/files.usb
 



CVS commit: src/sys/arch/evbmips/conf

2015-05-21 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Thu May 21 09:53:05 UTC 2015

Modified Files:
src/sys/arch/evbmips/conf: ERLITE

Log Message:
add drvctl


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/sys/arch/evbmips/conf/ERLITE

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/evbmips/conf/ERLITE
diff -u src/sys/arch/evbmips/conf/ERLITE:1.7 src/sys/arch/evbmips/conf/ERLITE:1.8
--- src/sys/arch/evbmips/conf/ERLITE:1.7	Tue May 19 02:30:57 2015
+++ src/sys/arch/evbmips/conf/ERLITE	Thu May 21 09:53:05 2015
@@ -1,11 +1,11 @@
-#	$NetBSD: ERLITE,v 1.7 2015/05/19 02:30:57 matt Exp $
+#	$NetBSD: ERLITE,v 1.8 2015/05/21 09:53:05 jmcneill Exp $
 
 include 	arch/mips/conf/std.octeon
 include 	arch/evbmips/conf/files.octeon
 
 #options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident 		ERLITE-$Revision: 1.7 $
+#ident 		ERLITE-$Revision: 1.8 $
 
 maxusers	32
 
@@ -174,6 +174,7 @@ pseudo-device	loop# network loopback
 pseudo-device	pty# pseudo-terminals
 pseudo-device	clockctl			# user control of clock subsystem
 pseudo-device	ksyms# /dev/ksyms
+pseudo-device	drvctl# driver control
 
 # A pseudo device needed for Coda		# also needs CODA (above)
 #pseudo-device	vcoda# coda minicache - venus comm.



CVS commit: src/sys/arch/evbmips/conf

2015-05-18 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Tue May 19 02:30:57 UTC 2015

Modified Files:
src/sys/arch/evbmips/conf: ERLITE

Log Message:
Enable MSDOSFS since the kernel lives on a MSDOS fs.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/arch/evbmips/conf/ERLITE

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/evbmips/conf/ERLITE
diff -u src/sys/arch/evbmips/conf/ERLITE:1.6 src/sys/arch/evbmips/conf/ERLITE:1.7
--- src/sys/arch/evbmips/conf/ERLITE:1.6	Sun May 17 14:17:52 2015
+++ src/sys/arch/evbmips/conf/ERLITE	Tue May 19 02:30:57 2015
@@ -1,11 +1,11 @@
-#	$NetBSD: ERLITE,v 1.6 2015/05/17 14:17:52 martin Exp $
+#	$NetBSD: ERLITE,v 1.7 2015/05/19 02:30:57 matt Exp $
 
 include 	arch/mips/conf/std.octeon
 include 	arch/evbmips/conf/files.octeon
 
 #options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident 		ERLITE-$Revision: 1.6 $
+#ident 		ERLITE-$Revision: 1.7 $
 
 maxusers	32
 
@@ -70,7 +70,7 @@ file-system	KERNFS		# kernel data-struct
 file-system	PROCFS		# /proc
 #file-system	CD9660		# ISO 9660 + Rock Ridge file system
 #file-system	UNION		# union file system
-#file-system	MSDOSFS		# MS-DOS FAT filesystem(s).
+file-system	MSDOSFS		# MS-DOS FAT filesystem(s).
 #file-system	CODA		# Coda File System; also needs vcoda (below)
 file-system	PTYFS		# /dev/pts/N support
 



CVS commit: src/sys/arch/evbmips/conf

2015-05-17 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Mon May 18 01:53:50 UTC 2015

Modified Files:
src/sys/arch/evbmips/conf: files.octeon

Log Message:
Use kern/disk_subr_mbr.c instead of evbmips/disksubr.c


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/evbmips/conf/files.octeon

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/evbmips/conf/files.octeon
diff -u src/sys/arch/evbmips/conf/files.octeon:1.2 src/sys/arch/evbmips/conf/files.octeon:1.3
--- src/sys/arch/evbmips/conf/files.octeon:1.2	Fri May  1 21:34:17 2015
+++ src/sys/arch/evbmips/conf/files.octeon	Mon May 18 01:53:50 2015
@@ -1,13 +1,14 @@
-#	$NetBSD: files.octeon,v 1.2 2015/05/01 21:34:17 matt Exp $
+#	$NetBSD: files.octeon,v 1.3 2015/05/18 01:53:50 matt Exp $
 
 file	arch/evbmips/cavium/autoconf.c
 file	arch/evbmips/cavium/machdep.c
 file	arch/evbmips/cavium/mach_intr.c
 file	arch/evbmips/cavium/octeon_bootbus_machdep.c	bootbus
 
-file	arch/evbmips/evbmips/disksubr.c
 file	arch/evbmips/evbmips/interrupt.c
 
+file	kern/subr_disk_mbr.c
+
 device	cpu
 attach	cpu at mainbus
 file	arch/evbmips/evbmips/cpu.c		cpu



CVS commit: src/sys/arch/evbmips/conf

2015-05-17 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Mon May 18 01:53:21 UTC 2015

Modified Files:
src/sys/arch/evbmips/conf: INSTALL_ERLITE

Log Message:
Allow automatic insertion of ramdisk image.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/evbmips/conf/INSTALL_ERLITE

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/evbmips/conf/INSTALL_ERLITE
diff -u src/sys/arch/evbmips/conf/INSTALL_ERLITE:1.1 src/sys/arch/evbmips/conf/INSTALL_ERLITE:1.2
--- src/sys/arch/evbmips/conf/INSTALL_ERLITE:1.1	Fri May  1 20:15:43 2015
+++ src/sys/arch/evbmips/conf/INSTALL_ERLITE	Mon May 18 01:53:21 2015
@@ -1,8 +1,8 @@
-# $NetBSD: INSTALL_ERLITE,v 1.1 2015/05/01 20:15:43 matt Exp $
+# $NetBSD: INSTALL_ERLITE,v 1.2 2015/05/18 01:53:21 matt Exp $
 
 include		arch/evbmips/conf/ERLITE
 
-#ident 		INSTALL_ERLITE-$Revision: 1.1 $
+#ident 		INSTALL_ERLITE-$Revision: 1.2 $
 
 # Enable the hooks used for initializing the root memory-disk.
 # The ramdisk size must be kept in sync manually with the size of
@@ -12,3 +12,5 @@ options 	MEMORY_DISK_HOOKS
 options 	MEMORY_DISK_IS_ROOT		# force root on memory disk
 options 	MEMORY_DISK_SERVER=0		# no userspace memory disk
 options 	MEMORY_DISK_ROOT_SIZE=12288	# size of memory disk, in blocks
+
+makeoptions	NEED_MDSETIMAGE=yes



CVS commit: src/sys/arch/evbmips/conf

2015-05-17 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Sun May 17 19:36:52 UTC 2015

Modified Files:
src/sys/arch/evbmips/conf: INSTALL_XLSATX32 INSTALL_XLSATX64

Log Message:
No need for other kernel configs


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/evbmips/conf/INSTALL_XLSATX32 \
src/sys/arch/evbmips/conf/INSTALL_XLSATX64

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/evbmips/conf/INSTALL_XLSATX32
diff -u src/sys/arch/evbmips/conf/INSTALL_XLSATX32:1.2 src/sys/arch/evbmips/conf/INSTALL_XLSATX32:1.3
--- src/sys/arch/evbmips/conf/INSTALL_XLSATX32:1.2	Sun Feb 20 07:48:33 2011
+++ src/sys/arch/evbmips/conf/INSTALL_XLSATX32	Sun May 17 19:36:52 2015
@@ -1,8 +1,8 @@
-# $NetBSD: INSTALL_XLSATX32,v 1.2 2011/02/20 07:48:33 matt Exp $
+# $NetBSD: INSTALL_XLSATX32,v 1.3 2015/05/17 19:36:52 matt Exp $
 
 include		arch/evbmips/conf/XLSATX32
 
-#ident		INSTALL_XLSATX32-$Revision: 1.2 $   
+#ident		INSTALL_XLSATX32-$Revision: 1.3 $   
 
 # Enable the hooks used for initializing the root memory-disk.
 # The ramdisk size must be kept in sync manually with the size of
@@ -12,3 +12,7 @@ options 	MEMORY_DISK_HOOKS
 options 	MEMORY_DISK_IS_ROOT		# force root on memory disk
 options 	MEMORY_DISK_SERVER=0		# no userspace memory disk
 options 	MEMORY_DISK_ROOT_SIZE=12288	# size of memory disk, in blocks
+
+no config netbsd-wm0
+no config netbsd-msk0
+no config netbsd-sd0a
Index: src/sys/arch/evbmips/conf/INSTALL_XLSATX64
diff -u src/sys/arch/evbmips/conf/INSTALL_XLSATX64:1.2 src/sys/arch/evbmips/conf/INSTALL_XLSATX64:1.3
--- src/sys/arch/evbmips/conf/INSTALL_XLSATX64:1.2	Sun Feb 20 07:48:33 2011
+++ src/sys/arch/evbmips/conf/INSTALL_XLSATX64	Sun May 17 19:36:52 2015
@@ -1,8 +1,8 @@
-# $NetBSD: INSTALL_XLSATX64,v 1.2 2011/02/20 07:48:33 matt Exp $
+# $NetBSD: INSTALL_XLSATX64,v 1.3 2015/05/17 19:36:52 matt Exp $
 
 include		arch/evbmips/conf/XLSATX64
 
-#ident		INSTALL_XLSATX64-$Revision: 1.2 $   
+#ident		INSTALL_XLSATX64-$Revision: 1.3 $   
 
 # Enable the hooks used for initializing the root memory-disk.
 # The ramdisk size must be kept in sync manually with the size of
@@ -12,3 +12,7 @@ options 	MEMORY_DISK_HOOKS
 options 	MEMORY_DISK_IS_ROOT		# force root on memory disk
 options 	MEMORY_DISK_SERVER=0		# no userspace memory disk
 options 	MEMORY_DISK_ROOT_SIZE=12288	# size of memory disk, in blocks
+
+no config netbsd-wm0
+no config netbsd-msk0
+no config netbsd-sd0a



CVS commit: src/sys/arch/evbmips/conf

2015-05-15 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Fri May 15 08:19:48 UTC 2015

Modified Files:
src/sys/arch/evbmips/conf: ERLITE

Log Message:
Enable ktrace by default


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/evbmips/conf/ERLITE

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/evbmips/conf/ERLITE
diff -u src/sys/arch/evbmips/conf/ERLITE:1.4 src/sys/arch/evbmips/conf/ERLITE:1.5
--- src/sys/arch/evbmips/conf/ERLITE:1.4	Fri May  8 07:45:53 2015
+++ src/sys/arch/evbmips/conf/ERLITE	Fri May 15 08:19:48 2015
@@ -1,11 +1,11 @@
-#	$NetBSD: ERLITE,v 1.4 2015/05/08 07:45:53 martin Exp $
+#	$NetBSD: ERLITE,v 1.5 2015/05/15 08:19:48 martin Exp $
 
 include 	arch/mips/conf/std.octeon
 include 	arch/evbmips/conf/files.octeon
 
 #options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident 		ERLITE-$Revision: 1.4 $
+#ident 		ERLITE-$Revision: 1.5 $
 
 maxusers	32
 
@@ -23,7 +23,7 @@ maxusers	32
 #options 	SOSEND_NO_LOAN
 
 # Standard system options
-#options 	KTRACE		# system call tracing support
+options 	KTRACE		# system call tracing support
 #options 	SYSVMSG		# System V message queues
 #options 	SYSVSEM		# System V semaphores
 #options 	SYSVSHM		# System V shared memory



CVS commit: src/sys/arch/evbmips/conf

2015-05-08 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Fri May  8 07:45:53 UTC 2015

Modified Files:
src/sys/arch/evbmips/conf: ERLITE

Log Message:
Add COPY_SYMTAB


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/evbmips/conf/ERLITE

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/evbmips/conf/ERLITE
diff -u src/sys/arch/evbmips/conf/ERLITE:1.3 src/sys/arch/evbmips/conf/ERLITE:1.4
--- src/sys/arch/evbmips/conf/ERLITE:1.3	Wed May  6 19:47:59 2015
+++ src/sys/arch/evbmips/conf/ERLITE	Fri May  8 07:45:53 2015
@@ -1,11 +1,11 @@
-#	$NetBSD: ERLITE,v 1.3 2015/05/06 19:47:59 martin Exp $
+#	$NetBSD: ERLITE,v 1.4 2015/05/08 07:45:53 martin Exp $
 
 include 	arch/mips/conf/std.octeon
 include 	arch/evbmips/conf/files.octeon
 
 #options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident 		ERLITE-$Revision: 1.3 $
+#ident 		ERLITE-$Revision: 1.4 $
 
 maxusers	32
 
@@ -37,7 +37,7 @@ options 	DEBUG		# extra kernel debugging
 options 	DDB		# kernel dynamic debugger
 options 	DDB_HISTORY_SIZE=100 # enable history editing in DDB
 makeoptions 	DEBUG=-g	# compile full symbol table
-options 	SYMTAB_SPACE=36	# size for embedded symbol table
+makeoptions	COPY_SYMTAB=1	# size for embedded symbol table
 
 # Compatibility options
 #options 	COMPAT_43	# compatibility with 4.3BSD binaries



CVS commit: src/sys/arch/evbmips/conf

2015-05-06 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Wed May  6 19:47:59 UTC 2015

Modified Files:
src/sys/arch/evbmips/conf: ERLITE

Log Message:
Enable INET6 by default


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/evbmips/conf/ERLITE

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/evbmips/conf/ERLITE
diff -u src/sys/arch/evbmips/conf/ERLITE:1.2 src/sys/arch/evbmips/conf/ERLITE:1.3
--- src/sys/arch/evbmips/conf/ERLITE:1.2	Fri May  1 07:23:47 2015
+++ src/sys/arch/evbmips/conf/ERLITE	Wed May  6 19:47:59 2015
@@ -1,11 +1,11 @@
-#	$NetBSD: ERLITE,v 1.2 2015/05/01 07:23:47 hikaru Exp $
+#	$NetBSD: ERLITE,v 1.3 2015/05/06 19:47:59 martin Exp $
 
 include 	arch/mips/conf/std.octeon
 include 	arch/evbmips/conf/files.octeon
 
 #options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident 		ERLITE-$Revision: 1.2 $
+#ident 		ERLITE-$Revision: 1.3 $
 
 maxusers	32
 
@@ -87,7 +87,7 @@ options 	FFS_NO_SNAPSHOT	# No FFS snapsh
 # Networking options
 #options 	GATEWAY		# IP packet forwarding
 options 	INET		# Internet protocols
-#options 	INET6		# IPV6
+options 	INET6		# IPV6
 #options 	IPSEC		# IP security
 #options 	IPSEC_DEBUG	# debug for IP security
 #options 	MROUTING	# packet forwarding of multicast packets



CVS commit: src/sys/arch/evbmips/conf

2015-05-01 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Fri May  1 20:15:43 UTC 2015

Added Files:
src/sys/arch/evbmips/conf: INSTALL_ERLITE

Log Message:
Add INSTALL kernel for ERLITE


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 src/sys/arch/evbmips/conf/INSTALL_ERLITE

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: src/sys/arch/evbmips/conf/INSTALL_ERLITE
diff -u /dev/null src/sys/arch/evbmips/conf/INSTALL_ERLITE:1.1
--- /dev/null	Fri May  1 20:15:43 2015
+++ src/sys/arch/evbmips/conf/INSTALL_ERLITE	Fri May  1 20:15:43 2015
@@ -0,0 +1,14 @@
+# $NetBSD: INSTALL_ERLITE,v 1.1 2015/05/01 20:15:43 matt Exp $
+
+include		arch/evbmips/conf/ERLITE
+
+#ident 		INSTALL_ERLITE-$Revision: 1.1 $
+
+# Enable the hooks used for initializing the root memory-disk.
+# The ramdisk size must be kept in sync manually with the size of
+# the `ramdisk' image (which is built in distrib/evbmips/ramdisk/ramdisk).
+pseudo-device	md# memory disk device
+options 	MEMORY_DISK_HOOKS
+options 	MEMORY_DISK_IS_ROOT		# force root on memory disk
+options 	MEMORY_DISK_SERVER=0		# no userspace memory disk
+options 	MEMORY_DISK_ROOT_SIZE=12288	# size of memory disk, in blocks



CVS commit: src/sys/arch/evbmips/conf

2015-05-01 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Fri May  1 21:34:17 UTC 2015

Modified Files:
src/sys/arch/evbmips/conf: files.octeon

Log Message:
Add md_root.c


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/evbmips/conf/files.octeon

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/evbmips/conf/files.octeon
diff -u src/sys/arch/evbmips/conf/files.octeon:1.1 src/sys/arch/evbmips/conf/files.octeon:1.2
--- src/sys/arch/evbmips/conf/files.octeon:1.1	Wed Apr 29 08:32:00 2015
+++ src/sys/arch/evbmips/conf/files.octeon	Fri May  1 21:34:17 2015
@@ -1,4 +1,4 @@
-#	$NetBSD: files.octeon,v 1.1 2015/04/29 08:32:00 hikaru Exp $
+#	$NetBSD: files.octeon,v 1.2 2015/05/01 21:34:17 matt Exp $
 
 file	arch/evbmips/cavium/autoconf.c
 file	arch/evbmips/cavium/machdep.c
@@ -11,3 +11,6 @@ file	arch/evbmips/evbmips/interrupt.c
 device	cpu
 attach	cpu at mainbus
 file	arch/evbmips/evbmips/cpu.c		cpu
+
+# Memory Disk
+file	dev/md_root.cmemory_disk_hooks



CVS commit: src/sys/arch/evbmips/conf

2015-04-06 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Mon Apr  6 14:12:28 UTC 2015

Modified Files:
src/sys/arch/evbmips/conf: CI20

Log Message:
Allow local overrides in a CI20.local file


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/sys/arch/evbmips/conf/CI20

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/evbmips/conf/CI20
diff -u src/sys/arch/evbmips/conf/CI20:1.12 src/sys/arch/evbmips/conf/CI20:1.13
--- src/sys/arch/evbmips/conf/CI20:1.12	Sat Apr  4 12:32:34 2015
+++ src/sys/arch/evbmips/conf/CI20	Mon Apr  6 14:12:28 2015
@@ -1,4 +1,4 @@
-#	$NetBSD: CI20,v 1.12 2015/04/04 12:32:34 macallan Exp $
+#	$NetBSD: CI20,v 1.13 2015/04/06 14:12:28 martin Exp $
 #
 # MIPS Creator CI20
 #
@@ -7,7 +7,7 @@ include 	arch/evbmips/conf/std.ingenic
 
 #options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident 		CI20-$Revision: 1.12 $
+#ident 		CI20-$Revision: 1.13 $
 
 maxusers	32
 
@@ -262,3 +262,7 @@ pseudo-device	ksyms# /dev/ksyms
 
 # A pseudo device needed for Coda		# also needs CODA (above)
 #pseudo-device	vcoda# coda minicache - venus comm.
+
+
+cinclude 	arch/evbmips/conf/CI20.local
+



CVS commit: src/sys/arch/evbmips/conf

2015-04-04 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Sat Apr  4 12:32:34 UTC 2015

Modified Files:
src/sys/arch/evbmips/conf: CI20

Log Message:
add jziic and RTC drivers


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/sys/arch/evbmips/conf/CI20

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/evbmips/conf/CI20
diff -u src/sys/arch/evbmips/conf/CI20:1.11 src/sys/arch/evbmips/conf/CI20:1.12
--- src/sys/arch/evbmips/conf/CI20:1.11	Tue Mar 17 07:28:18 2015
+++ src/sys/arch/evbmips/conf/CI20	Sat Apr  4 12:32:34 2015
@@ -1,4 +1,4 @@
-#	$NetBSD: CI20,v 1.11 2015/03/17 07:28:18 macallan Exp $
+#	$NetBSD: CI20,v 1.12 2015/04/04 12:32:34 macallan Exp $
 #
 # MIPS Creator CI20
 #
@@ -7,7 +7,7 @@ include 	arch/evbmips/conf/std.ingenic
 
 #options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident 		CI20-$Revision: 1.11 $
+#ident 		CI20-$Revision: 1.12 $
 
 maxusers	32
 
@@ -136,6 +136,7 @@ config		netbsd	root on sd0a type ffs
 #config		netbsd	root on axe0 type nfs
 
 mainbus0 	at root
+#options 	MULTIPROCESSOR
 cpu0 		at mainbus?
 #wdog0		at mainbus?
 com*		at mainbus?
@@ -156,11 +157,31 @@ usb* 		at ohci?
 # onboard ethernet
 dme*		at apbus?
 
+# I2C/SMBus
+# Work in progress - can't do transfers over 15 bytes per direction,
+# no interrupts etc.
+# Good enough for talking to an RTC though, so it's enabled.
+jziic* 		at apbus?
+#options 	JZIIC_DEBUG	# spammy
+iic* 		at jziic?
+
+# voltage control and the like, no driver yet
+#act8600pm0 	at iic0 addr 0x5a
+
+# XXX
+# the manual says there's a Pericom RTC at SMB4 addr 0x68
+# on my preproduction CI20 that's not the case, instead there's something that
+# looks like a PCF8563 at addr 0x51
+ 
+# the Pericom PT7C4337 seems to be a DS1339 clone
+#dsrtc0 	at iic4 addr 0x68 flags 1339
+
+# at least some CI20 have this instead
+pcf8563rtc0	at iic4 addr 0x51
+
 #jzgpio* 	at apbus? addr ?
 #gpio*		at jzgpio?
 
-# no RTC!  so fake with a stub (required to prevent evbmips panic)
-
 # USB stuff
 uhub*		at usb?
 uhub*		at uhub? port ?



CVS commit: src/sys/arch/evbmips/conf

2015-03-17 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Tue Mar 17 07:28:18 UTC 2015

Modified Files:
src/sys/arch/evbmips/conf: CI20

Log Message:
do as arm does and get rid of addresses in kernel config


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/sys/arch/evbmips/conf/CI20

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/evbmips/conf/CI20
diff -u src/sys/arch/evbmips/conf/CI20:1.10 src/sys/arch/evbmips/conf/CI20:1.11
--- src/sys/arch/evbmips/conf/CI20:1.10	Tue Mar 10 18:20:20 2015
+++ src/sys/arch/evbmips/conf/CI20	Tue Mar 17 07:28:18 2015
@@ -1,4 +1,4 @@
-#	$NetBSD: CI20,v 1.10 2015/03/10 18:20:20 macallan Exp $
+#	$NetBSD: CI20,v 1.11 2015/03/17 07:28:18 macallan Exp $
 #
 # MIPS Creator CI20
 #
@@ -7,7 +7,7 @@ include 	arch/evbmips/conf/std.ingenic
 
 #options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident 		CI20-$Revision: 1.10 $
+#ident 		CI20-$Revision: 1.11 $
 
 maxusers	32
 
@@ -142,19 +142,19 @@ com*		at mainbus?
 apbus0		at mainbus?
 
 # On-board USB
-dwctwo* 	at apbus? addr 0x1350
+dwctwo* 	at apbus?
 #options 	DWC2_DEBUG
 usb* 		at dwctwo?
 
-ohci*		at apbus? addr 0x134a
+ohci*		at apbus?
 usb* 		at ohci?
 
 # this one doesn't work yet
-#ehci*		at apbus? addr 0x1349
+#ehci*		at apbus?
 #usb* 		at ehci?
 
 # onboard ethernet
-dme*		at apbus? addr 0x1600
+dme*		at apbus?
 
 #jzgpio* 	at apbus? addr ?
 #gpio*		at jzgpio?



CVS commit: src/sys/arch/evbmips/conf

2015-03-12 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Tue Mar 10 18:20:20 UTC 2015

Modified Files:
src/sys/arch/evbmips/conf: CI20

Log Message:
add dme at apbus ( onboard ethernet )


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/sys/arch/evbmips/conf/CI20

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/evbmips/conf/CI20
diff -u src/sys/arch/evbmips/conf/CI20:1.9 src/sys/arch/evbmips/conf/CI20:1.10
--- src/sys/arch/evbmips/conf/CI20:1.9	Sun Mar  8 17:15:58 2015
+++ src/sys/arch/evbmips/conf/CI20	Tue Mar 10 18:20:20 2015
@@ -1,4 +1,4 @@
-#	$NetBSD: CI20,v 1.9 2015/03/08 17:15:58 macallan Exp $
+#	$NetBSD: CI20,v 1.10 2015/03/10 18:20:20 macallan Exp $
 #
 # MIPS Creator CI20
 #
@@ -7,7 +7,7 @@ include 	arch/evbmips/conf/std.ingenic
 
 #options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident 		CI20-$Revision: 1.9 $
+#ident 		CI20-$Revision: 1.10 $
 
 maxusers	32
 
@@ -153,13 +153,18 @@ usb* 		at ohci?
 #ehci*		at apbus? addr 0x1349
 #usb* 		at ehci?
 
-uhub*		at usb?
-uhub*		at uhub? port ?
+# onboard ethernet
+dme*		at apbus? addr 0x1600
+
 #jzgpio* 	at apbus? addr ?
 #gpio*		at jzgpio?
 
 # no RTC!  so fake with a stub (required to prevent evbmips panic)
 
+# USB stuff
+uhub*		at usb?
+uhub*		at uhub? port ?
+
 # USB HID device
 uhidev*	at uhub? port ? configuration ? interface ?
 



CVS commit: src/sys/arch/evbmips/conf

2015-03-08 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Sun Mar  8 17:15:58 UTC 2015

Modified Files:
src/sys/arch/evbmips/conf: CI20

Log Message:
add ohci and commented out ehci


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/sys/arch/evbmips/conf/CI20

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/evbmips/conf/CI20
diff -u src/sys/arch/evbmips/conf/CI20:1.8 src/sys/arch/evbmips/conf/CI20:1.9
--- src/sys/arch/evbmips/conf/CI20:1.8	Sat Mar  7 15:39:57 2015
+++ src/sys/arch/evbmips/conf/CI20	Sun Mar  8 17:15:58 2015
@@ -1,4 +1,4 @@
-#	$NetBSD: CI20,v 1.8 2015/03/07 15:39:57 macallan Exp $
+#	$NetBSD: CI20,v 1.9 2015/03/08 17:15:58 macallan Exp $
 #
 # MIPS Creator CI20
 #
@@ -7,7 +7,7 @@ include 	arch/evbmips/conf/std.ingenic
 
 #options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident 		CI20-$Revision: 1.8 $
+#ident 		CI20-$Revision: 1.9 $
 
 maxusers	32
 
@@ -145,6 +145,14 @@ apbus0		at mainbus?
 dwctwo* 	at apbus? addr 0x1350
 #options 	DWC2_DEBUG
 usb* 		at dwctwo?
+
+ohci*		at apbus? addr 0x134a
+usb* 		at ohci?
+
+# this one doesn't work yet
+#ehci*		at apbus? addr 0x1349
+#usb* 		at ehci?
+
 uhub*		at usb?
 uhub*		at uhub? port ?
 #jzgpio* 	at apbus? addr ?



CVS commit: src/sys/arch/evbmips/conf

2015-03-07 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Sat Mar  7 15:39:57 UTC 2015

Modified Files:
src/sys/arch/evbmips/conf: CI20

Log Message:
comment out debug spam, add more filesystems


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/sys/arch/evbmips/conf/CI20

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/evbmips/conf/CI20
diff -u src/sys/arch/evbmips/conf/CI20:1.7 src/sys/arch/evbmips/conf/CI20:1.8
--- src/sys/arch/evbmips/conf/CI20:1.7	Thu Dec 25 05:15:42 2014
+++ src/sys/arch/evbmips/conf/CI20	Sat Mar  7 15:39:57 2015
@@ -1,4 +1,4 @@
-#	$NetBSD: CI20,v 1.7 2014/12/25 05:15:42 macallan Exp $
+#	$NetBSD: CI20,v 1.8 2015/03/07 15:39:57 macallan Exp $
 #
 # MIPS Creator CI20
 #
@@ -7,7 +7,7 @@ include 	arch/evbmips/conf/std.ingenic
 
 #options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident 		CI20-$Revision: 1.7 $
+#ident 		CI20-$Revision: 1.8 $
 
 maxusers	32
 
@@ -52,8 +52,8 @@ options 	DDB_HISTORY_SIZE=100 # enable h
 makeoptions 	DEBUG=-g	# compile full symbol table
 makeoptions	COPY_SYMTAB=1	# size for embedded symbol table
 
-options 	INGENIC_DEBUG
-options 	INGENIC_CLOCK_DEBUG
+#options 	INGENIC_DEBUG
+#options 	INGENIC_CLOCK_DEBUG
 #options 	INGENIC_INTR_DEBUG	# *very* spammy
 
 # Compatibility options
@@ -75,21 +75,22 @@ options 	INGENIC_CLOCK_DEBUG
 
 # File systems
 file-system	FFS		# Berkeley Fast Filesystem
-file-system	MFS		# memory-based filesystem
+#file-system	MFS		# memory-based filesystem
 #file-system 	EXT2FS		# second extended file system (linux)
 file-system	NFS		# Sun NFS-compatible filesystem client
-#file-system	KERNFS		# kernel data-structure filesystem
+file-system	KERNFS		# kernel data-structure filesystem
 #file-system	NULLFS		# NULL layered filesystem
 #file-system 	OVERLAY		# overlay file system
 #file-system	FDESC		# user file descriptor filesystem
 #file-system	UMAPFS		# uid/gid remapping filesystem
 #file-system	LFS		# Log-based filesystem (still experimental)
-#file-system	PROCFS		# /proc
+file-system	PROCFS		# /proc
 #file-system	CD9660		# ISO 9660 + Rock Ridge file system
 #file-system	UNION		# union file system
-#file-system	MSDOSFS		# MS-DOS FAT filesystem(s).
+file-system	MSDOSFS		# MS-DOS FAT filesystem(s).
 #file-system 	CODA		# Coda File System; also needs vcoda (below)
-#file-system	PTYFS		# /dev/pts/N support
+file-system	PTYFS		# /dev/pts/N support
+file-system	TMPFS		# Efficient memory file-system
 
 # File system options
 #options 	NFSSERVER	# Sun NFS-compatible filesystem server
@@ -104,7 +105,7 @@ options 	FFS_NO_SNAPSHOT	# No FFS snapsh
 # Networking options
 #options 	GATEWAY		# IP packet forwarding
 options 	INET		# Internet protocols
-#options 	INET6		# IPV6
+options 	INET6		# IPV6
 #options 	IPSEC		# IP security
 #options 	IPSEC_DEBUG	# debug for IP security
 #options 	MROUTING	# packet forwarding of multicast packets
@@ -128,10 +129,11 @@ options 	INET		# Internet protocols
 options 	MIIVERBOSE	# verbose PHY autoconfig messages
 
 options 	NFS_BOOT_BOOTP
-#options 	NFS_BOOT_DHCP
+options 	NFS_BOOT_DHCP
 #options 	NFS_V2_ONLY
 
-config		netbsd	root on ? type ?
+config		netbsd	root on sd0a type ffs
+#config		netbsd	root on axe0 type nfs
 
 mainbus0 	at root
 cpu0 		at mainbus?



CVS commit: src/sys/arch/evbmips/conf

2014-12-26 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Fri Dec 26 17:45:27 UTC 2014

Modified Files:
src/sys/arch/evbmips/conf: files.ingenic

Log Message:
use generic subr_disk_mbr.c


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/evbmips/conf/files.ingenic

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/evbmips/conf/files.ingenic
diff -u src/sys/arch/evbmips/conf/files.ingenic:1.4 src/sys/arch/evbmips/conf/files.ingenic:1.5
--- src/sys/arch/evbmips/conf/files.ingenic:1.4	Tue Dec 23 16:16:49 2014
+++ src/sys/arch/evbmips/conf/files.ingenic	Fri Dec 26 17:45:27 2014
@@ -1,9 +1,8 @@
-#	$NetBSD: files.ingenic,v 1.4 2014/12/23 16:16:49 macallan Exp $
+#	$NetBSD: files.ingenic,v 1.5 2014/12/26 17:45:27 macallan Exp $
 
 
 file	arch/mips/mips/bus_dma.c
-
-file	arch/evbmips/evbmips/disksubr.c
+file	kern/subr_disk_mbr.c
 file	arch/evbmips/evbmips/interrupt.c
 
 defflag	opt_ingenic.h	INGENIC_DEBUG INGENIC_CLOCK_DEBUG



CVS commit: src/sys/arch/evbmips/conf

2014-12-24 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Thu Dec 25 05:15:42 UTC 2014

Modified Files:
src/sys/arch/evbmips/conf: CI20

Log Message:
add some more USB devices


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/arch/evbmips/conf/CI20

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/evbmips/conf/CI20
diff -u src/sys/arch/evbmips/conf/CI20:1.6 src/sys/arch/evbmips/conf/CI20:1.7
--- src/sys/arch/evbmips/conf/CI20:1.6	Tue Dec 23 16:16:49 2014
+++ src/sys/arch/evbmips/conf/CI20	Thu Dec 25 05:15:42 2014
@@ -1,4 +1,4 @@
-#	$NetBSD: CI20,v 1.6 2014/12/23 16:16:49 macallan Exp $
+#	$NetBSD: CI20,v 1.7 2014/12/25 05:15:42 macallan Exp $
 #
 # MIPS Creator CI20
 #
@@ -7,7 +7,7 @@ include 	arch/evbmips/conf/std.ingenic
 
 #options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident 		CI20-$Revision: 1.6 $
+#ident 		CI20-$Revision: 1.7 $
 
 maxusers	32
 
@@ -141,18 +141,37 @@ apbus0		at mainbus?
 
 # On-board USB
 dwctwo* 	at apbus? addr 0x1350
-options 	DWC2_DEBUG
+#options 	DWC2_DEBUG
 usb* 		at dwctwo?
 uhub*		at usb?
 uhub*		at uhub? port ?
-umass*		at uhub? port ? configuration ? interface ?
-scsibus*	at umass? channel ?
-sd*		at scsibus? target ? lun ?
 #jzgpio* 	at apbus? addr ?
 #gpio*		at jzgpio?
 
 # no RTC!  so fake with a stub (required to prevent evbmips panic)
 
+# USB HID device
+uhidev*	at uhub? port ? configuration ? interface ?
+
+# USB Mice
+ums*		at uhidev? reportid ?
+wsmouse*	at ums? mux 0
+
+# USB Keyboards
+ukbd*	at uhidev? reportid ?
+wskbd*	at ukbd? console ? mux 1
+
+# USB Generic HID devices
+uhid*	at uhidev? reportid ?
+
+# USB Mass Storage
+umass*	at uhub? port ? configuration ? interface ?
+scsibus*	at umass? channel ?
+sd*		at scsibus? target ? lun ?	# SCSI disk drives
+cd*		at scsibus? target ? lun ?	# SCSI CD-ROM drives
+
+# Ethernet
+axe*	at uhub? port ?
 
 # MII/PHY support
 #acphy*		at mii? phy ?		# DAltima AC101 and AMD Am79c874 PHYs
@@ -171,7 +190,7 @@ sd*		at scsibus? target ? lun ?
 #tlphy*		at mii? phy ?		# ThunderLAN PHYs
 #tqphy*		at mii? phy ?		# TDK Semiconductor PHYs
 #rlphy*		at mii? phy ?		# RealTek PHYs
-#ukphy*		at mii? phy ?		# generic unknown PHYs
+ukphy*		at mii? phy ?		# generic unknown PHYs
 
 
 # Pseudo-devices



CVS commit: src/sys/arch/evbmips/conf

2014-12-23 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Tue Dec 23 15:05:09 UTC 2014

Modified Files:
src/sys/arch/evbmips/conf: files.ingenic

Log Message:
defflag debug options


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/evbmips/conf/files.ingenic

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/evbmips/conf/files.ingenic
diff -u src/sys/arch/evbmips/conf/files.ingenic:1.2 src/sys/arch/evbmips/conf/files.ingenic:1.3
--- src/sys/arch/evbmips/conf/files.ingenic:1.2	Sat Dec  6 14:31:27 2014
+++ src/sys/arch/evbmips/conf/files.ingenic	Tue Dec 23 15:05:09 2014
@@ -1,4 +1,4 @@
-#	$NetBSD: files.ingenic,v 1.2 2014/12/06 14:31:27 macallan Exp $
+#	$NetBSD: files.ingenic,v 1.3 2014/12/23 15:05:09 macallan Exp $
 
 
 file	arch/mips/mips/bus_dma.c
@@ -6,6 +6,8 @@ file	arch/mips/mips/bus_dma.c
 file	arch/evbmips/evbmips/disksubr.c
 file	arch/evbmips/evbmips/interrupt.c
 
+defflag	opt_ingenic.h	INGENIC_DEBUG INGENIC_CLOCK_DEBUG
+
 file	arch/evbmips/ingenic/autoconf.c
 file	arch/evbmips/ingenic/machdep.c
 file	arch/evbmips/ingenic/intr.c



CVS commit: src/sys/arch/evbmips/conf

2014-12-23 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Tue Dec 23 15:06:01 UTC 2014

Modified Files:
src/sys/arch/evbmips/conf: CI20

Log Message:
set debug options
uncomment USB ( not functional yet but some hardware setup is done )


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/evbmips/conf/CI20

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/evbmips/conf/CI20
diff -u src/sys/arch/evbmips/conf/CI20:1.4 src/sys/arch/evbmips/conf/CI20:1.5
--- src/sys/arch/evbmips/conf/CI20:1.4	Sat Dec  6 14:31:27 2014
+++ src/sys/arch/evbmips/conf/CI20	Tue Dec 23 15:06:01 2014
@@ -1,4 +1,4 @@
-#	$NetBSD: CI20,v 1.4 2014/12/06 14:31:27 macallan Exp $
+#	$NetBSD: CI20,v 1.5 2014/12/23 15:06:01 macallan Exp $
 #
 # MIPS Creator CI20
 #
@@ -7,7 +7,7 @@ include 	arch/evbmips/conf/std.ingenic
 
 #options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident 		CI20-$Revision: 1.4 $
+#ident 		CI20-$Revision: 1.5 $
 
 maxusers	32
 
@@ -52,6 +52,9 @@ options 	DDB_HISTORY_SIZE=100 # enable h
 makeoptions 	DEBUG=-g	# compile full symbol table
 makeoptions	COPY_SYMTAB=1	# size for embedded symbol table
 
+options 	INGENIC_DEBUG
+options 	INGENIC_CLOCK_DEBUG
+
 # Compatibility options
 #options 	COMPAT_43	# compatibility with 4.3BSD binaries
 #options 	COMPAT_09	# NetBSD 0.9,
@@ -136,13 +139,14 @@ com*		at mainbus?
 apbus0		at mainbus?
 
 # On-board USB
-#dwctwo* 	at apbus? addr 0x1350
-#usb* 		at dwctwo?
-#uhub*		at usb?
-#uhub*		at uhub? port ?
-#umass*		at uhub? port ? configuration ? interface ?
-#scsibus*	at umass? channel ?
-#sd*		at scsibus? target ? lun ?
+dwctwo* 	at apbus? addr 0x1350
+options 	DWC2_DEBUG
+usb* 		at dwctwo?
+uhub*		at usb?
+uhub*		at uhub? port ?
+umass*		at uhub? port ? configuration ? interface ?
+scsibus*	at umass? channel ?
+sd*		at scsibus? target ? lun ?
 #jzgpio* 	at apbus? addr ?
 #gpio*		at jzgpio?
 



CVS commit: src/sys/arch/evbmips/conf

2014-12-23 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Tue Dec 23 16:16:49 UTC 2014

Modified Files:
src/sys/arch/evbmips/conf: CI20 files.ingenic

Log Message:
more debug defflag-ing


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/evbmips/conf/CI20
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/evbmips/conf/files.ingenic

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/evbmips/conf/CI20
diff -u src/sys/arch/evbmips/conf/CI20:1.5 src/sys/arch/evbmips/conf/CI20:1.6
--- src/sys/arch/evbmips/conf/CI20:1.5	Tue Dec 23 15:06:01 2014
+++ src/sys/arch/evbmips/conf/CI20	Tue Dec 23 16:16:49 2014
@@ -1,4 +1,4 @@
-#	$NetBSD: CI20,v 1.5 2014/12/23 15:06:01 macallan Exp $
+#	$NetBSD: CI20,v 1.6 2014/12/23 16:16:49 macallan Exp $
 #
 # MIPS Creator CI20
 #
@@ -7,7 +7,7 @@ include 	arch/evbmips/conf/std.ingenic
 
 #options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident 		CI20-$Revision: 1.5 $
+#ident 		CI20-$Revision: 1.6 $
 
 maxusers	32
 
@@ -54,6 +54,7 @@ makeoptions	COPY_SYMTAB=1	# size for emb
 
 options 	INGENIC_DEBUG
 options 	INGENIC_CLOCK_DEBUG
+#options 	INGENIC_INTR_DEBUG	# *very* spammy
 
 # Compatibility options
 #options 	COMPAT_43	# compatibility with 4.3BSD binaries

Index: src/sys/arch/evbmips/conf/files.ingenic
diff -u src/sys/arch/evbmips/conf/files.ingenic:1.3 src/sys/arch/evbmips/conf/files.ingenic:1.4
--- src/sys/arch/evbmips/conf/files.ingenic:1.3	Tue Dec 23 15:05:09 2014
+++ src/sys/arch/evbmips/conf/files.ingenic	Tue Dec 23 16:16:49 2014
@@ -1,4 +1,4 @@
-#	$NetBSD: files.ingenic,v 1.3 2014/12/23 15:05:09 macallan Exp $
+#	$NetBSD: files.ingenic,v 1.4 2014/12/23 16:16:49 macallan Exp $
 
 
 file	arch/mips/mips/bus_dma.c
@@ -7,6 +7,7 @@ file	arch/evbmips/evbmips/disksubr.c
 file	arch/evbmips/evbmips/interrupt.c
 
 defflag	opt_ingenic.h	INGENIC_DEBUG INGENIC_CLOCK_DEBUG
+defflag	opt_ingenic.h	INGENIC_INTR_DEBUG
 
 file	arch/evbmips/ingenic/autoconf.c
 file	arch/evbmips/ingenic/machdep.c



CVS commit: src/sys/arch/evbmips/conf

2014-12-06 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Sat Dec  6 14:31:27 UTC 2014

Modified Files:
src/sys/arch/evbmips/conf: CI20 files.ingenic

Log Message:
pull in intr.c, attach apbus


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/evbmips/conf/CI20
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/evbmips/conf/files.ingenic

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/evbmips/conf/CI20
diff -u src/sys/arch/evbmips/conf/CI20:1.3 src/sys/arch/evbmips/conf/CI20:1.4
--- src/sys/arch/evbmips/conf/CI20:1.3	Tue Nov 25 04:55:13 2014
+++ src/sys/arch/evbmips/conf/CI20	Sat Dec  6 14:31:27 2014
@@ -1,4 +1,4 @@
-#	$NetBSD: CI20,v 1.3 2014/11/25 04:55:13 macallan Exp $
+#	$NetBSD: CI20,v 1.4 2014/12/06 14:31:27 macallan Exp $
 #
 # MIPS Creator CI20
 #
@@ -7,7 +7,7 @@ include 	arch/evbmips/conf/std.ingenic
 
 #options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident 		CI20-$Revision: 1.3 $
+#ident 		CI20-$Revision: 1.4 $
 
 maxusers	32
 
@@ -133,10 +133,10 @@ mainbus0 	at root
 cpu0 		at mainbus?
 #wdog0		at mainbus?
 com*		at mainbus?
-#apbus0 	at mainbus?
+apbus0		at mainbus?
 
 # On-board USB
-#dwctwo* 	at apbus?
+#dwctwo* 	at apbus? addr 0x1350
 #usb* 		at dwctwo?
 #uhub*		at usb?
 #uhub*		at uhub? port ?

Index: src/sys/arch/evbmips/conf/files.ingenic
diff -u src/sys/arch/evbmips/conf/files.ingenic:1.1 src/sys/arch/evbmips/conf/files.ingenic:1.2
--- src/sys/arch/evbmips/conf/files.ingenic:1.1	Sat Nov 22 15:17:02 2014
+++ src/sys/arch/evbmips/conf/files.ingenic	Sat Dec  6 14:31:27 2014
@@ -1,13 +1,14 @@
-#	$NetBSD: files.ingenic,v 1.1 2014/11/22 15:17:02 macallan Exp $
+#	$NetBSD: files.ingenic,v 1.2 2014/12/06 14:31:27 macallan Exp $
 
-#file	arch/evbmips/ingenic/intr.c
-
-file	arch/evbmips/ingenic/autoconf.c
-file	arch/evbmips/ingenic/machdep.c
 
 file	arch/mips/mips/bus_dma.c
+
 file	arch/evbmips/evbmips/disksubr.c
 file	arch/evbmips/evbmips/interrupt.c
+
+file	arch/evbmips/ingenic/autoconf.c
+file	arch/evbmips/ingenic/machdep.c
+file	arch/evbmips/ingenic/intr.c
 file	arch/evbmips/ingenic/clock.c
 
 # System bus



CVS commit: src/sys/arch/evbmips/conf

2014-11-24 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Tue Nov 25 04:55:13 UTC 2014

Modified Files:
src/sys/arch/evbmips/conf: CI20

Log Message:
remove some cargoculted goop


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/evbmips/conf/CI20

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/evbmips/conf/CI20
diff -u src/sys/arch/evbmips/conf/CI20:1.2 src/sys/arch/evbmips/conf/CI20:1.3
--- src/sys/arch/evbmips/conf/CI20:1.2	Sat Nov 22 19:48:36 2014
+++ src/sys/arch/evbmips/conf/CI20	Tue Nov 25 04:55:13 2014
@@ -1,14 +1,13 @@
-#	$NetBSD: CI20,v 1.2 2014/11/22 19:48:36 martin Exp $
+#	$NetBSD: CI20,v 1.3 2014/11/25 04:55:13 macallan Exp $
 #
 # MIPS Creator CI20
 #
 
-# for now
 include 	arch/evbmips/conf/std.ingenic
 
 #options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident 		CI20-$Revision: 1.2 $
+#ident 		CI20-$Revision: 1.3 $
 
 maxusers	32
 
@@ -19,10 +18,8 @@ makeoptions	CPUFLAGS+=-mips32r2
 makeoptions	NEED_MDSETIMAGE=yes
 makeoptions	NEED_BINARY=yes
 makeoptions	NEED_UBOOTIMAGE=gz
-options 	COM_16650,COM_TOLERANCE=50	# +/- 5%
+options 	COM_TOLERANCE=50	# +/- 5%
 options 	CONSPEED=115200	# u-boot default
-options		CONSADDR=0x1003
-options 	MEMSIZE=(256*1024*1024)
 
 # Options for necessary to use MD
 #options 	MEMORY_DISK_HOOKS
@@ -126,13 +123,6 @@ options 	INET		# Internet protocols
 # Warning, these may compile large string tables into the kernel!
 options 	MIIVERBOSE	# verbose PHY autoconfig messages
 
-# Bitmask for enabling the PCI IDE channels in the southbridge.
-# Set bit 0 (0x01) for channel 0, bit 1 (0x02) for channel 1.
-#
-# Do this if your firmware (usually PMON and YAMON) doens't enable the IDE
-# channels for you (thus causing the NetBSD `pciide' driver to ignore them).
-#options 	PCI_NETBSD_ENABLE_IDE=0x1
-
 options 	NFS_BOOT_BOOTP
 #options 	NFS_BOOT_DHCP
 #options 	NFS_V2_ONLY
@@ -142,20 +132,19 @@ config		netbsd	root on ? type ?
 mainbus0 	at root
 cpu0 		at mainbus?
 #wdog0		at mainbus?
-#options		COM_REGMAP
 com*		at mainbus?
-#ehci*		at arbus? addr ?
-#usb*		at ehci?
+#apbus0 	at mainbus?
+
+# On-board USB
+#dwctwo* 	at apbus?
+#usb* 		at dwctwo?
 #uhub*		at usb?
 #uhub*		at uhub? port ?
 #umass*		at uhub? port ? configuration ? interface ?
 #scsibus*	at umass? channel ?
 #sd*		at scsibus? target ? lun ?
-#ae*		at arbus? addr ?
-#ath*		at arbus? addr ?
-#athflash*	at arbus? addr ?
-#argpio* 	at arbus? addr ?
-#gpio*		at argpio?
+#jzgpio* 	at apbus? addr ?
+#gpio*		at jzgpio?
 
 # no RTC!  so fake with a stub (required to prevent evbmips panic)
 



CVS commit: src/sys/arch/evbmips/conf

2014-11-22 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sat Nov 22 19:48:36 UTC 2014

Modified Files:
src/sys/arch/evbmips/conf: CI20

Log Message:
Fix copy and pasto in #ident


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/evbmips/conf/CI20

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/evbmips/conf/CI20
diff -u src/sys/arch/evbmips/conf/CI20:1.1 src/sys/arch/evbmips/conf/CI20:1.2
--- src/sys/arch/evbmips/conf/CI20:1.1	Sat Nov 22 15:17:02 2014
+++ src/sys/arch/evbmips/conf/CI20	Sat Nov 22 19:48:36 2014
@@ -1,4 +1,4 @@
-#	$NetBSD: CI20,v 1.1 2014/11/22 15:17:02 macallan Exp $
+#	$NetBSD: CI20,v 1.2 2014/11/22 19:48:36 martin Exp $
 #
 # MIPS Creator CI20
 #
@@ -8,7 +8,7 @@ include 	arch/evbmips/conf/std.ingenic
 
 #options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident 		DB120-$Revision: 1.1 $
+#ident 		CI20-$Revision: 1.2 $
 
 maxusers	32
 



CVS commit: src/sys/arch/evbmips/conf

2014-04-29 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Tue Apr 29 17:24:11 UTC 2014

Modified Files:
src/sys/arch/evbmips/conf: files.rasoc

Log Message:
Add opt_rasoc.h


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/evbmips/conf/files.rasoc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/evbmips/conf/files.rasoc
diff -u src/sys/arch/evbmips/conf/files.rasoc:1.2 src/sys/arch/evbmips/conf/files.rasoc:1.3
--- src/sys/arch/evbmips/conf/files.rasoc:1.2	Thu Jul 28 15:50:13 2011
+++ src/sys/arch/evbmips/conf/files.rasoc	Tue Apr 29 17:24:11 2014
@@ -1,4 +1,6 @@
-#	$NetBSD: files.rasoc,v 1.2 2011/07/28 15:50:13 matt Exp $
+#	$NetBSD: files.rasoc,v 1.3 2014/04/29 17:24:11 matt Exp $
+
+defflag opt_rasoc.hRT3050 RT3052 RT3883 MT7620
 
 file	arch/mips/mips/bus_dma.c
 file	arch/mips/mips/mips3_clock.c



CVS commit: src/sys/arch/evbmips/conf

2014-04-29 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Wed Apr 30 00:58:54 UTC 2014

Modified Files:
src/sys/arch/evbmips/conf: CPMBR1400 std.rasoc

Log Message:
Localize the bsentry ubootimage kludge needed for the CPMBR1400
doesn't spread beyong the CPMBR1400.


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/sys/arch/evbmips/conf/CPMBR1400
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/evbmips/conf/std.rasoc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/evbmips/conf/CPMBR1400
diff -u src/sys/arch/evbmips/conf/CPMBR1400:1.15 src/sys/arch/evbmips/conf/CPMBR1400:1.16
--- src/sys/arch/evbmips/conf/CPMBR1400:1.15	Mon Mar 24 14:15:37 2014
+++ src/sys/arch/evbmips/conf/CPMBR1400	Wed Apr 30 00:58:54 2014
@@ -2,12 +2,14 @@ include		arch/evbmips/conf/std.rasoc
 
 options 	SYMTAB_SPACE=45		# size for embedded symbol table
 
-#options 	RA_CONSOLE_EARLY
+#options 	RALINK_CONSOLE_EARLY
 options 	RT3883
 #options 	SLICKROCK
 options 	RALINK_ETH_NUM_SW_PARTITIONS=5
 options 	CONSPEED=57600
 #options 	SYSCALL_DEBUG
+no makeoptions	NEED_UBOOTIMAGE
+makeoptions	NEED_UBOOTIMAGE=bsentry
 
 maxusers	8
 

Index: src/sys/arch/evbmips/conf/std.rasoc
diff -u src/sys/arch/evbmips/conf/std.rasoc:1.3 src/sys/arch/evbmips/conf/std.rasoc:1.4
--- src/sys/arch/evbmips/conf/std.rasoc:1.3	Tue Aug 16 07:01:37 2011
+++ src/sys/arch/evbmips/conf/std.rasoc	Wed Apr 30 00:58:54 2014
@@ -1,4 +1,4 @@
-#	$NetBSD: std.rasoc,v 1.3 2011/08/16 07:01:37 matt Exp $
+#	$NetBSD: std.rasoc,v 1.4 2014/04/30 00:58:54 matt Exp $
 
 machine 	evbmips mips
 include 	conf/std	# MI standard options
@@ -15,6 +15,6 @@ options 	EXEC_SCRIPT	# exec #! scripts
 makeoptions	CPUFLAGS+=-march=mips32r2
 makeoptions	DEFTEXTADDR=0x8001
 makeoptions	NEED_BINARY=yes
-makeoptions	NEED_UBOOTIMAGE=bsentry
+makeoptions	NEED_UBOOTIMAGE=yes
 
 include	arch/evbmips/conf/files.rasoc



CVS commit: src/sys/arch/evbmips/conf

2014-04-29 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Wed Apr 30 01:01:04 UTC 2014

Added Files:
src/sys/arch/evbmips/conf: INSTALL_ZYXELKX ZYXELKX

Log Message:
Add configs for the Zyxel Keenetic Extra.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 src/sys/arch/evbmips/conf/INSTALL_ZYXELKX \
src/sys/arch/evbmips/conf/ZYXELKX

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: src/sys/arch/evbmips/conf/INSTALL_ZYXELKX
diff -u /dev/null src/sys/arch/evbmips/conf/INSTALL_ZYXELKX:1.1
--- /dev/null	Wed Apr 30 01:01:04 2014
+++ src/sys/arch/evbmips/conf/INSTALL_ZYXELKX	Wed Apr 30 01:01:04 2014
@@ -0,0 +1,24 @@
+# $NetBSD: INSTALL_ZYXELKX,v 1.1 2014/04/30 01:01:04 matt Exp $
+
+include		arch/evbmips/conf/ZYXELKX
+
+#ident 		INSTALL_ZYXELKX-$Revision: 1.1 $
+
+# Enable the hooks used for initializing the root memory-disk.
+# The ramdisk size must be kept in sync manually with the size of
+# the `ramdisk' image (which is built in distrib/evbmips/ramdisk/ramdisk).
+pseudo-device	md# memory disk device
+options 	MEMORY_DISK_HOOKS
+options 	MEMORY_DISK_IS_ROOT		# force root on memory disk
+options 	MEMORY_DISK_SERVER=0		# no userspace memory disk
+options 	MEMORY_DISK_ROOT_SIZE=12288	# size of memory disk, in blocks
+
+#options 	UVMHIST
+#options 	UVMHIST_PRINT
+makeoptions	DEBUG=-g
+makeoptions	NEED_MDSETIMAGE=yes
+#makeoptions	NEED_UBOOTIMAGE=yes
+no config	netbsd-sd0a
+no config	netbsd-reth0
+
+no options 	VMSWAP
Index: src/sys/arch/evbmips/conf/ZYXELKX
diff -u /dev/null src/sys/arch/evbmips/conf/ZYXELKX:1.1
--- /dev/null	Wed Apr 30 01:01:04 2014
+++ src/sys/arch/evbmips/conf/ZYXELKX	Wed Apr 30 01:01:04 2014
@@ -0,0 +1,246 @@
+include		arch/evbmips/conf/std.rasoc
+
+options 	SYMTAB_SPACE=45		# size for embedded symbol table
+
+options 	RALINK_CONSOLE_EARLY
+options 	MT7620
+options 	RALINK_ETH_NUM_SW_PARTITIONS=5
+options 	CONSPEED=57600
+
+maxusers	8
+
+# Size reduction options
+#options 	VNODE_OP_NOINLINE
+#options 	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
+#options 	SOSEND_NO_LOAN
+
+# Standard system options
+
+options 	INSECURE	# disable kernel security levels - X needs this
+
+options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
+options 	NTP		# NTP phase/frequency locked loop
+
+#options 	KTRACE		# system call tracing via ktrace(1)
+
+#options 	SYSVMSG		# System V-like message queues
+#options 	SYSVSEM		# System V-like semaphores
+#options 	SYSVSHM		# System V-like memory sharing
+#options 	SHMMAXPGS=2048	# 2048 pages is the default
+
+#options 	NMBCLUSTERS=1024
+#options 	MCLSHIFT=12 # 4k mbuf clusters (increases pool max's to 4k as well)
+
+#options 	USERCONF	# userconf(4) support
+#options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
+
+# Diagnostic/debugging support options
+options 	DIAGNOSTIC	# expensive kernel consistency checks
+#options 	LOCKDEBUG
+#options 	KSTACK_CHECK_MAGIC
+options 	DEBUG		# expensive debugging checks/support
+options 	KMEMSTATS		# kernel memory statistics (vmstat -m)
+options 	DDB			# in-kernel debugger
+options 	DDB_ONPANIC=1		# see also sysctl(7): `ddb.onpanic'
+#options 	DDB_HISTORY_SIZE=512	# enable history editing in DDB
+#options 	DDB_COMMANDONENTER=w/b 0x9128 0 ; bt	# disable watchdog  drop history on enter
+#options 	KGDB		# remote debugger
+#options 	KGDB_DEVNAME=\com\,KGDB_DEVADDR=0x2f8,KGDB_DEVRATE=9600
+#makeoptions 	DEBUG=-g2	# compile full symbol table
+#makeoptions 	COPTS=-Os	# Optimise for space.
+
+#makeoptions PROF=-p		# build profiling in 
+#options 	GPROF
+
+# Compatibility options
+#options 	COMPAT_NOMID	# NetBSD 0.8, 386BSD, and BSDI
+#options 	COMPAT_09	# NetBSD 0.9
+#options 	COMPAT_10	# NetBSD 1.0
+#options 	COMPAT_11	# NetBSD 1.1
+#options 	COMPAT_12	# NetBSD 1.2, 386BSD, and BSDI
+#options 	COMPAT_13	# NetBSD 1.3, 386BSD, and BSDI
+#options 	COMPAT_14	# NetBSD 1.4
+#options 	COMPAT_15	# NetBSD 1.5
+#options 	COMPAT_16	# NetBSD 1.6
+#options 	COMPAT_20	# NetBSD 2.0
+#options 	COMPAT_30	# NetBSD 3.0 compatibility.
+#options 	COMPAT_40	# NetBSD 4.0
+options 	COMPAT_50	# NetBSD 5.0 compatibility.
+options 	COMPAT_60	# NetBSD 6.0 compatibility.
+#options 	COMPAT_43	# 4.3BSD, 386BSD, and BSDI
+#options 	COMPAT_386BSD_MBRPART # recognize old partition ID
+#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
+
+#options 	COMPAT_SVR4	# binary compatibility with SVR4
+#options 	COMPAT_IBCS2	# binary compatibility with SCO and ISC
+#options 	COMPAT_LINUX	# binary compatibility with Linux
+#options 	COMPAT_FREEBSD	# binary compatibility with FreeBSD
+#options 	COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
+
+# File systems
+file-system	FFS		# UFS
+#file-system	EXT2FS		# second extended file system (linux)
+#file-system	LFS		# log-structured file system
+file-system	MFS		# memory file system
+file-system	NFS		# Network File System client
+#file-system	CD9660		# ISO 9660 + Rock Ridge file 

CVS commit: src/sys/arch/evbmips/conf

2014-03-16 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Mon Mar 17 01:03:51 UTC 2014

Modified Files:
src/sys/arch/evbmips/conf: MALTA

Log Message:
enable FFS_EI.


To generate a diff of this commit:
cvs rdiff -u -r1.76 -r1.77 src/sys/arch/evbmips/conf/MALTA

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/evbmips/conf/MALTA
diff -u src/sys/arch/evbmips/conf/MALTA:1.76 src/sys/arch/evbmips/conf/MALTA:1.77
--- src/sys/arch/evbmips/conf/MALTA:1.76	Sun Jun 30 21:38:56 2013
+++ src/sys/arch/evbmips/conf/MALTA	Mon Mar 17 01:03:51 2014
@@ -1,10 +1,10 @@
-#	$NetBSD: MALTA,v 1.76 2013/06/30 21:38:56 rmind Exp $
+#	$NetBSD: MALTA,v 1.77 2014/03/17 01:03:51 mrg Exp $
 
 include 	arch/evbmips/conf/std.malta
 
 #options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident 		MALTA-$Revision: 1.76 $
+#ident 		MALTA-$Revision: 1.77 $
 
 maxusers	32
 
@@ -81,7 +81,7 @@ file-system	TMPFS		# Efficient memory fi
 #options 	NFSSERVER	# Sun NFS-compatible filesystem server
 #options 	QUOTA		# legacy UFS quotas
 #options 	QUOTA2		# new, in-filesystem UFS quotas
-#options 	FFS_EI		# FFS Endian Independent support
+options 	FFS_EI		# FFS Endian Independent support
 options 	WAPBL		# File system journaling support
 options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
 #options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and



CVS commit: src/sys/arch/evbmips/conf

2014-01-18 Thread Manuel Bouyer
Module Name:src
Committed By:   bouyer
Date:   Sat Jan 18 19:26:41 UTC 2014

Modified Files:
src/sys/arch/evbmips/conf: LOONGSON

Log Message:
Add FONT_BOLD8x16, which will help to have a 80x25 tty on sisfb
(which is limited to 640x400 pixels at this time).


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/sys/arch/evbmips/conf/LOONGSON

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/evbmips/conf/LOONGSON
diff -u src/sys/arch/evbmips/conf/LOONGSON:1.21 src/sys/arch/evbmips/conf/LOONGSON:1.22
--- src/sys/arch/evbmips/conf/LOONGSON:1.21	Sun Jun 30 21:38:56 2013
+++ src/sys/arch/evbmips/conf/LOONGSON	Sat Jan 18 19:26:41 2014
@@ -1,4 +1,4 @@
-# $NetBSD: LOONGSON,v 1.21 2013/06/30 21:38:56 rmind Exp $
+# $NetBSD: LOONGSON,v 1.22 2014/01/18 19:26:41 bouyer Exp $
 #
 # LOONGSON machine description file
 # 
@@ -22,7 +22,7 @@ include		arch/evbmips/conf/std.loongson
 
 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident 		LOONGSON-$Revision: 1.21 $
+#ident 		LOONGSON-$Revision: 1.22 $
 
 maxusers	16
 
@@ -152,6 +152,7 @@ options		WSDISPLAY_SCROLLSUPPORT
 options		WS_KERNEL_FG=WSCOL_GREEN
 #options 	WSDISPLAY_DEFAULTSCREENS=4
 options 	FONT_GALLANT12x22
+options 	FONT_BOLD8x16
 # compatibility to other console drivers
 options 	WSDISPLAY_COMPAT_RAWKBD		# can get raw scancodes
 #



CVS commit: src/sys/arch/evbmips/conf

2013-04-26 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Apr 26 18:35:43 UTC 2013

Modified Files:
src/sys/arch/evbmips/conf: majors.evbmips

Log Message:
spiflash is mi now


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 src/sys/arch/evbmips/conf/majors.evbmips

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/evbmips/conf/majors.evbmips
diff -u src/sys/arch/evbmips/conf/majors.evbmips:1.27 src/sys/arch/evbmips/conf/majors.evbmips:1.28
--- src/sys/arch/evbmips/conf/majors.evbmips:1.27	Thu Jun 30 16:09:29 2011
+++ src/sys/arch/evbmips/conf/majors.evbmips	Fri Apr 26 14:35:43 2013
@@ -1,4 +1,4 @@
-#	$NetBSD: majors.evbmips,v 1.27 2011/06/30 20:09:29 wiz Exp $
+#	$NetBSD: majors.evbmips,v 1.28 2013/04/26 18:35:43 christos Exp $
 #
 # Device majors for evbmips
 #
@@ -80,7 +80,6 @@ device-major	uart		char 77			uart
 
 device-major	nsmb		char 98			nsmb
 device-major	athflash	char 99			athflash
-device-major	spiflash	char 100 block 19	spiflash
 
 # Majors up to 143 are reserved for machine-dependent drivers.
 # New machine-independent driver majors are assigned in 



CVS commit: src/sys/arch/evbmips/conf

2013-02-28 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Thu Feb 28 12:51:19 UTC 2013

Modified Files:
src/sys/arch/evbmips/conf: LOONGSON

Log Message:
add COMPAT_PCVT and pwmclock


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/sys/arch/evbmips/conf/LOONGSON

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/evbmips/conf/LOONGSON
diff -u src/sys/arch/evbmips/conf/LOONGSON:1.13 src/sys/arch/evbmips/conf/LOONGSON:1.14
--- src/sys/arch/evbmips/conf/LOONGSON:1.13	Wed Oct 17 14:48:11 2012
+++ src/sys/arch/evbmips/conf/LOONGSON	Thu Feb 28 12:51:18 2013
@@ -1,4 +1,4 @@
-# $NetBSD: LOONGSON,v 1.13 2012/10/17 14:48:11 apb Exp $
+# $NetBSD: LOONGSON,v 1.14 2013/02/28 12:51:18 macallan Exp $
 #
 # LOONGSON machine description file
 # 
@@ -22,7 +22,7 @@ include		arch/evbmips/conf/std.loongson
 
 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident 		LOONGSON-$Revision: 1.13 $
+#ident 		LOONGSON-$Revision: 1.14 $
 
 maxusers	16
 
@@ -149,7 +149,10 @@ config		netbsd		root on ? type ?
 
 # WS console uses SUN or VT100 terminal emulation
 options 	WSEMUL_VT100
-options 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
+options		WSDISPLAY_COMPAT_PCVT
+options 	WSDISPLAY_COMPAT_SYSCONS
+options		WSDISPLAY_COMPAT_USL
+options		WSDISPLAY_SCROLLSUPPORT
 options		WS_KERNEL_FG=WSCOL_GREEN
 #options 	WSDISPLAY_DEFAULTSCREENS=4
 options 	FONT_GALLANT12x22
@@ -168,6 +171,7 @@ pci0		at bonito0
 sisfb0		at pci0 dev ? function ?
 voyager0	at pci0 dev ? function ?	# SM502 on GDIUM
 voyagerfb0	at voyager0			# framebuffer portion
+pwmclock0	at voyager0			# clock and CPU freq scaling
 iic*		at voyager0
 strtc*		at iic? addr 0x68		# GDIUM's real time clock
 options 	STRTC_NO_USERRAM



CVS commit: src/sys/arch/evbmips/conf

2013-02-28 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Thu Feb 28 13:02:20 UTC 2013

Modified Files:
src/sys/arch/evbmips/conf: LOONGSON

Log Message:
add INSECURE so X can map PCI memory and registers


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/sys/arch/evbmips/conf/LOONGSON

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/evbmips/conf/LOONGSON
diff -u src/sys/arch/evbmips/conf/LOONGSON:1.14 src/sys/arch/evbmips/conf/LOONGSON:1.15
--- src/sys/arch/evbmips/conf/LOONGSON:1.14	Thu Feb 28 12:51:18 2013
+++ src/sys/arch/evbmips/conf/LOONGSON	Thu Feb 28 13:02:20 2013
@@ -1,4 +1,4 @@
-# $NetBSD: LOONGSON,v 1.14 2013/02/28 12:51:18 macallan Exp $
+# $NetBSD: LOONGSON,v 1.15 2013/02/28 13:02:20 macallan Exp $
 #
 # LOONGSON machine description file
 # 
@@ -22,7 +22,7 @@ include		arch/evbmips/conf/std.loongson
 
 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident 		LOONGSON-$Revision: 1.14 $
+#ident 		LOONGSON-$Revision: 1.15 $
 
 maxusers	16
 
@@ -69,6 +69,8 @@ options 	USERCONF		# userconf(4) support
 #options	PIPE_SOCKETPAIR		# smaller, but slower pipe(2)
 options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
 
+options 	INSECURE	# disable kernel security levels
+
 # Filesystem options
 file-system 	FFS		# fast filesystem with user and group quotas
 file-system 	MFS		# memory-based filesystem



CVS commit: src/sys/arch/evbmips/conf

2013-01-27 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Mon Jan 28 06:38:50 UTC 2013

Modified Files:
src/sys/arch/evbmips/conf: XLSATX

Log Message:
Enable INET6


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/sys/arch/evbmips/conf/XLSATX

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/evbmips/conf/XLSATX
diff -u src/sys/arch/evbmips/conf/XLSATX:1.10 src/sys/arch/evbmips/conf/XLSATX:1.11
--- src/sys/arch/evbmips/conf/XLSATX:1.10	Thu Feb  9 18:58:14 2012
+++ src/sys/arch/evbmips/conf/XLSATX	Mon Jan 28 06:38:50 2013
@@ -1,8 +1,8 @@
-#	$NetBSD: XLSATX,v 1.10 2012/02/09 18:58:14 matt Exp $
+#	$NetBSD: XLSATX,v 1.11 2013/01/28 06:38:50 matt Exp $
 
 include 	arch/evbmips/conf/std.rmixl
 
-#ident 		XLSATX-$Revision: 1.10 $
+#ident 		XLSATX-$Revision: 1.11 $
 
 #options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
@@ -95,7 +95,7 @@ options 	FFS_NO_SNAPSHOT	# No FFS snapsh
 # Networking options
 #options 	GATEWAY		# IP packet forwarding
 options 	INET		# Internet protocols
-#options 	INET6		# IPV6
+options 	INET6		# IPV6
 #options 	IPSEC		# IP security
 #options 	IPSEC_ESP	# IP security (encryption part; define w/IPSEC)
 #options 	IPSEC_NAT_T	# IPsec NAT traversal (NAT-T)



CVS commit: src/sys/arch/evbmips/conf

2012-10-13 Thread Jeff Rizzo
Module Name:src
Committed By:   riz
Date:   Sat Oct 13 06:08:11 UTC 2012

Modified Files:
src/sys/arch/evbmips/conf: MALTA64

Log Message:
Bump SYMTAB_SPACE 48-49


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/evbmips/conf/MALTA64

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/evbmips/conf/MALTA64
diff -u src/sys/arch/evbmips/conf/MALTA64:1.5 src/sys/arch/evbmips/conf/MALTA64:1.6
--- src/sys/arch/evbmips/conf/MALTA64:1.5	Thu Feb  9 18:58:44 2012
+++ src/sys/arch/evbmips/conf/MALTA64	Sat Oct 13 06:08:11 2012
@@ -1,4 +1,4 @@
-# $NetBSD: MALTA64,v 1.5 2012/02/09 18:58:44 matt Exp $
+# $NetBSD: MALTA64,v 1.6 2012/10/13 06:08:11 riz Exp $
 #
 include arch/evbmips/conf/MALTA
 
@@ -9,7 +9,7 @@ options 	NOFPU			# No FPU
 options 	EXEC_ELF64
 options 	COMPAT_NETBSD32
 no options 	SYMTAB_SPACE
-options 	SYMTAB_SPACE=48	# size for embedded symbol table
+options 	SYMTAB_SPACE=49	# size for embedded symbol table
 
 #options 	UVMHIST, UVMHIST_PRINT
 



CVS commit: src/sys/arch/evbmips/conf

2012-09-17 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Mon Sep 17 15:47:47 UTC 2012

Modified Files:
src/sys/arch/evbmips/conf: MALTA

Log Message:
Bump SYMTAB_SPACE by 30K


To generate a diff of this commit:
cvs rdiff -u -r1.67 -r1.68 src/sys/arch/evbmips/conf/MALTA

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/evbmips/conf/MALTA
diff -u src/sys/arch/evbmips/conf/MALTA:1.67 src/sys/arch/evbmips/conf/MALTA:1.68
--- src/sys/arch/evbmips/conf/MALTA:1.67	Mon Jul 30 19:31:06 2012
+++ src/sys/arch/evbmips/conf/MALTA	Mon Sep 17 15:47:47 2012
@@ -1,10 +1,10 @@
-#	$NetBSD: MALTA,v 1.67 2012/07/30 19:31:06 pgoyette Exp $
+#	$NetBSD: MALTA,v 1.68 2012/09/17 15:47:47 matt Exp $
 
 include 	arch/evbmips/conf/std.malta
 
 #options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident 		MALTA-$Revision: 1.67 $
+#ident 		MALTA-$Revision: 1.68 $
 
 maxusers	32
 
@@ -37,7 +37,7 @@ options 	USERCONF	# userconf(4) support
 options 	DDB		# kernel dynamic debugger
 options 	DDB_HISTORY_SIZE=100 # enable history editing in DDB
 makeoptions 	DEBUG=-g	# compile full symbol table
-options 	SYMTAB_SPACE=445000	# size for embedded symbol table
+options 	SYMTAB_SPACE=475000	# size for embedded symbol table
 
 # Compatibility options
 #options 	COMPAT_43	# compatibility with 4.3BSD binaries



CVS commit: src/sys/arch/evbmips/conf

2012-08-20 Thread Jeff Rizzo
Module Name:src
Committed By:   riz
Date:   Tue Aug 21 03:18:39 UTC 2012

Modified Files:
src/sys/arch/evbmips/conf: ALCHEMY

Log Message:
Bump SYMTAB_SPACE.


To generate a diff of this commit:
cvs rdiff -u -r1.43 -r1.44 src/sys/arch/evbmips/conf/ALCHEMY

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/evbmips/conf/ALCHEMY
diff -u src/sys/arch/evbmips/conf/ALCHEMY:1.43 src/sys/arch/evbmips/conf/ALCHEMY:1.44
--- src/sys/arch/evbmips/conf/ALCHEMY:1.43	Mon Jul 30 19:31:06 2012
+++ src/sys/arch/evbmips/conf/ALCHEMY	Tue Aug 21 03:18:39 2012
@@ -1,11 +1,11 @@
-#	$NetBSD: ALCHEMY,v 1.43 2012/07/30 19:31:06 pgoyette Exp $
+#	$NetBSD: ALCHEMY,v 1.44 2012/08/21 03:18:39 riz Exp $
 #
 # Kernel config for the Alchemy Semiconductor (AMD) PB1000, PB1500,
 # DBAu1000 and DBAu1500 evaluation boards.
 
 include 	arch/evbmips/conf/std.alchemy
 
-#ident 		ALCHEMY-$Revision: 1.43 $
+#ident 		ALCHEMY-$Revision: 1.44 $
 
 maxusers	32
 
@@ -45,7 +45,7 @@ options 	DEBUG		# extra kernel debugging
 options 	DDB		# kernel dynamic debugger
 options 	DDB_HISTORY_SIZE=100 # enable history editing in DDB
 makeoptions 	DEBUG=-g	# compile full symbol table
-options 	SYMTAB_SPACE=485000	# size for embedded symbol table
+options 	SYMTAB_SPACE=495000	# size for embedded symbol table
 
 # Compatibility options
 #options 	COMPAT_43	# compatibility with 4.3BSD binaries



CVS commit: src/sys/arch/evbmips/conf

2012-07-30 Thread KIYOHARA Takashi
Module Name:src
Committed By:   kiyohara
Date:   Mon Jul 30 13:50:06 UTC 2012

Modified Files:
src/sys/arch/evbmips/conf: ALCHEMY MALTA

Log Message:
Enable INET6.  Avoid build failed when enable ipf and disable INET6.


To generate a diff of this commit:
cvs rdiff -u -r1.41 -r1.42 src/sys/arch/evbmips/conf/ALCHEMY
cvs rdiff -u -r1.65 -r1.66 src/sys/arch/evbmips/conf/MALTA

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/evbmips/conf/ALCHEMY
diff -u src/sys/arch/evbmips/conf/ALCHEMY:1.41 src/sys/arch/evbmips/conf/ALCHEMY:1.42
--- src/sys/arch/evbmips/conf/ALCHEMY:1.41	Sat Feb  4 19:03:49 2012
+++ src/sys/arch/evbmips/conf/ALCHEMY	Mon Jul 30 13:50:06 2012
@@ -1,11 +1,11 @@
-#	$NetBSD: ALCHEMY,v 1.41 2012/02/04 19:03:49 christos Exp $
+#	$NetBSD: ALCHEMY,v 1.42 2012/07/30 13:50:06 kiyohara Exp $
 #
 # Kernel config for the Alchemy Semiconductor (AMD) PB1000, PB1500,
 # DBAu1000 and DBAu1500 evaluation boards.
 
 include 	arch/evbmips/conf/std.alchemy
 
-#ident 		ALCHEMY-$Revision: 1.41 $
+#ident 		ALCHEMY-$Revision: 1.42 $
 
 maxusers	32
 
@@ -96,7 +96,7 @@ options 	FFS_NO_SNAPSHOT	# No FFS snapsh
 # Networking options
 #options 	GATEWAY		# IP packet forwarding
 options 	INET		# Internet protocols
-#options 	INET6		# IPV6
+options 	INET6		# IPV6
 #options 	IPSEC		# IP security
 #options 	IPSEC_ESP	# IP security (encryption part; define w/IPSEC)
 #options 	IPSEC_NAT_T	# IPsec NAT traversal (NAT-T)

Index: src/sys/arch/evbmips/conf/MALTA
diff -u src/sys/arch/evbmips/conf/MALTA:1.65 src/sys/arch/evbmips/conf/MALTA:1.66
--- src/sys/arch/evbmips/conf/MALTA:1.65	Thu Feb  9 18:58:14 2012
+++ src/sys/arch/evbmips/conf/MALTA	Mon Jul 30 13:50:06 2012
@@ -1,10 +1,10 @@
-#	$NetBSD: MALTA,v 1.65 2012/02/09 18:58:14 matt Exp $
+#	$NetBSD: MALTA,v 1.66 2012/07/30 13:50:06 kiyohara Exp $
 
 include 	arch/evbmips/conf/std.malta
 
 #options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident 		MALTA-$Revision: 1.65 $
+#ident 		MALTA-$Revision: 1.66 $
 
 maxusers	32
 
@@ -89,7 +89,7 @@ options 	FFS_NO_SNAPSHOT	# No FFS snapsh
 # Networking options
 #options 	GATEWAY		# IP packet forwarding
 options 	INET		# Internet protocols
-#options 	INET6		# IPV6
+options 	INET6		# IPV6
 #options 	IPSEC		# IP security
 #options 	IPSEC_ESP	# IP security (encryption part; define w/IPSEC)
 #options 	IPSEC_NAT_T	# IPsec NAT traversal (NAT-T)



CVS commit: src/sys/arch/evbmips/conf

2012-07-30 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Mon Jul 30 19:31:07 UTC 2012

Modified Files:
src/sys/arch/evbmips/conf: ALCHEMY MALTA

Log Message:
Revert previous - ipf has been fixed to build without INET6


To generate a diff of this commit:
cvs rdiff -u -r1.42 -r1.43 src/sys/arch/evbmips/conf/ALCHEMY
cvs rdiff -u -r1.66 -r1.67 src/sys/arch/evbmips/conf/MALTA

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/evbmips/conf/ALCHEMY
diff -u src/sys/arch/evbmips/conf/ALCHEMY:1.42 src/sys/arch/evbmips/conf/ALCHEMY:1.43
--- src/sys/arch/evbmips/conf/ALCHEMY:1.42	Mon Jul 30 13:50:06 2012
+++ src/sys/arch/evbmips/conf/ALCHEMY	Mon Jul 30 19:31:06 2012
@@ -1,11 +1,11 @@
-#	$NetBSD: ALCHEMY,v 1.42 2012/07/30 13:50:06 kiyohara Exp $
+#	$NetBSD: ALCHEMY,v 1.43 2012/07/30 19:31:06 pgoyette Exp $
 #
 # Kernel config for the Alchemy Semiconductor (AMD) PB1000, PB1500,
 # DBAu1000 and DBAu1500 evaluation boards.
 
 include 	arch/evbmips/conf/std.alchemy
 
-#ident 		ALCHEMY-$Revision: 1.42 $
+#ident 		ALCHEMY-$Revision: 1.43 $
 
 maxusers	32
 
@@ -96,7 +96,7 @@ options 	FFS_NO_SNAPSHOT	# No FFS snapsh
 # Networking options
 #options 	GATEWAY		# IP packet forwarding
 options 	INET		# Internet protocols
-options 	INET6		# IPV6
+#options 	INET6		# IPV6
 #options 	IPSEC		# IP security
 #options 	IPSEC_ESP	# IP security (encryption part; define w/IPSEC)
 #options 	IPSEC_NAT_T	# IPsec NAT traversal (NAT-T)

Index: src/sys/arch/evbmips/conf/MALTA
diff -u src/sys/arch/evbmips/conf/MALTA:1.66 src/sys/arch/evbmips/conf/MALTA:1.67
--- src/sys/arch/evbmips/conf/MALTA:1.66	Mon Jul 30 13:50:06 2012
+++ src/sys/arch/evbmips/conf/MALTA	Mon Jul 30 19:31:06 2012
@@ -1,10 +1,10 @@
-#	$NetBSD: MALTA,v 1.66 2012/07/30 13:50:06 kiyohara Exp $
+#	$NetBSD: MALTA,v 1.67 2012/07/30 19:31:06 pgoyette Exp $
 
 include 	arch/evbmips/conf/std.malta
 
 #options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident 		MALTA-$Revision: 1.66 $
+#ident 		MALTA-$Revision: 1.67 $
 
 maxusers	32
 
@@ -89,7 +89,7 @@ options 	FFS_NO_SNAPSHOT	# No FFS snapsh
 # Networking options
 #options 	GATEWAY		# IP packet forwarding
 options 	INET		# Internet protocols
-options 	INET6		# IPV6
+#options 	INET6		# IPV6
 #options 	IPSEC		# IP security
 #options 	IPSEC_ESP	# IP security (encryption part; define w/IPSEC)
 #options 	IPSEC_NAT_T	# IPsec NAT traversal (NAT-T)



CVS commit: src/sys/arch/evbmips/conf

2012-05-29 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Tue May 29 14:12:28 UTC 2012

Modified Files:
src/sys/arch/evbmips/conf: LOONGSON

Log Message:
add the realtek usb driver from jmcneill


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/sys/arch/evbmips/conf/LOONGSON

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/evbmips/conf/LOONGSON
diff -u src/sys/arch/evbmips/conf/LOONGSON:1.9 src/sys/arch/evbmips/conf/LOONGSON:1.10
--- src/sys/arch/evbmips/conf/LOONGSON:1.9	Fri Mar  2 08:20:57 2012
+++ src/sys/arch/evbmips/conf/LOONGSON	Tue May 29 10:12:28 2012
@@ -1,4 +1,4 @@
-# $NetBSD: LOONGSON,v 1.9 2012/03/02 13:20:57 nonaka Exp $
+# $NetBSD: LOONGSON,v 1.10 2012/05/29 14:12:28 christos Exp $
 #
 # LOONGSON machine description file
 # 
@@ -22,7 +22,7 @@ include		arch/evbmips/conf/std.loongson
 
 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident 		LOONGSON-$Revision: 1.9 $
+#ident 		LOONGSON-$Revision: 1.10 $
 
 maxusers	16
 
@@ -285,6 +285,9 @@ ucom*	at uplcom? portno ?
 umct*	at uhub? port ?		# MCT USB-RS232 serial adapter
 ucom*	at umct? portno ?
 
+# Realtek RTL8187/RTL8187B 802.11b/g USB wireless adapter
+urtw*	at uhub? port ?
+
 # USB Generic driver
 ugen*	at uhub? port ?
 



CVS commit: src/sys/arch/evbmips/conf

2012-05-29 Thread NONAKA Kimihiro
Module Name:src
Committed By:   nonaka
Date:   Tue May 29 20:02:42 UTC 2012

Modified Files:
src/sys/arch/evbmips/conf: LOONGSON

Log Message:
Add SYSV{MSG,SEM,SHM} options.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/sys/arch/evbmips/conf/LOONGSON

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/evbmips/conf/LOONGSON
diff -u src/sys/arch/evbmips/conf/LOONGSON:1.10 src/sys/arch/evbmips/conf/LOONGSON:1.11
--- src/sys/arch/evbmips/conf/LOONGSON:1.10	Tue May 29 14:12:28 2012
+++ src/sys/arch/evbmips/conf/LOONGSON	Tue May 29 20:02:42 2012
@@ -1,4 +1,4 @@
-# $NetBSD: LOONGSON,v 1.10 2012/05/29 14:12:28 christos Exp $
+# $NetBSD: LOONGSON,v 1.11 2012/05/29 20:02:42 nonaka Exp $
 #
 # LOONGSON machine description file
 # 
@@ -22,7 +22,7 @@ include		arch/evbmips/conf/std.loongson
 
 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident 		LOONGSON-$Revision: 1.10 $
+#ident 		LOONGSON-$Revision: 1.11 $
 
 maxusers	16
 
@@ -58,6 +58,11 @@ options 	NTP			# network time protocol
 
 #options 	WINCE_DEFAULT_SETTING	# Debugging use
 
+# Note: SysV IPC parameters can be changed dynamically; see sysctl(8).
+options 	SYSVMSG		# System V-like message queues
+options 	SYSVSEM		# System V-like semaphores
+options 	SYSVSHM		# System V-like memory sharing
+
 #options 	SYSCALL_DEBUG		# for debug
 #options 	HPCMIPS_L1CACHE_DISABLE	# disable L1 cache for debug
 options 	USERCONF		# userconf(4) support



CVS commit: src/sys/arch/evbmips/conf

2012-05-25 Thread Ryo Shimizu
Module Name:src
Committed By:   ryo
Date:   Fri May 25 14:59:17 UTC 2012

Modified Files:
src/sys/arch/evbmips/conf: CPMBR1400

Log Message:
fix typo


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/sys/arch/evbmips/conf/CPMBR1400

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/evbmips/conf/CPMBR1400
diff -u src/sys/arch/evbmips/conf/CPMBR1400:1.8 src/sys/arch/evbmips/conf/CPMBR1400:1.9
--- src/sys/arch/evbmips/conf/CPMBR1400:1.8	Sat Mar 10 21:51:51 2012
+++ src/sys/arch/evbmips/conf/CPMBR1400	Fri May 25 14:59:16 2012
@@ -156,7 +156,7 @@ options 	PFIL_HOOKS	# pfil(9) packet fil
 #options 	MEMORY_RBFLAGS=0		# keep the kernel from forcing single user mode
 
 # Options for NFS root boot
-options 	NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM,NFS_BOOT_STATIC
+options 	NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM,NFS_BOOT_BOOTSTATIC
 #options 	NFS_BOOTSTATIC_MYIP=\192.168.0.1\
 #options 	NFS_BOOTSTATIC_GWIP=\192.168.0.1\
 #options 	NFS_BOOTSTATIC_MASK=\255.255.255.0\



CVS commit: src/sys/arch/evbmips/conf

2012-02-09 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Thu Feb  9 18:58:15 UTC 2012

Modified Files:
src/sys/arch/evbmips/conf: ADM5120 AP30 MALTA XLSATX

Log Message:
Bump SYMTAB_SPACE
Disable NOFPU on MALTA


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/sys/arch/evbmips/conf/ADM5120
cvs rdiff -u -r1.23 -r1.24 src/sys/arch/evbmips/conf/AP30
cvs rdiff -u -r1.64 -r1.65 src/sys/arch/evbmips/conf/MALTA
cvs rdiff -u -r1.9 -r1.10 src/sys/arch/evbmips/conf/XLSATX

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/evbmips/conf/ADM5120
diff -u src/sys/arch/evbmips/conf/ADM5120:1.10 src/sys/arch/evbmips/conf/ADM5120:1.11
--- src/sys/arch/evbmips/conf/ADM5120:1.10	Tue Nov 22 21:25:10 2011
+++ src/sys/arch/evbmips/conf/ADM5120	Thu Feb  9 18:58:14 2012
@@ -1,11 +1,11 @@
-#	$NetBSD: ADM5120,v 1.10 2011/11/22 21:25:10 tls Exp $
+#	$NetBSD: ADM5120,v 1.11 2012/02/09 18:58:14 matt Exp $
 #
 # Kernel config for the Alchemy Semiconductor (AMD) PB1000, PB1500,
 # DBAu1000 and DBAu1500 evaluation boards.
 
 include 	arch/evbmips/conf/std.adm5120
 
-#ident 		GENERIC-$Revision: 1.10 $
+#ident 		GENERIC-$Revision: 1.11 $
 
 maxusers	32
 
@@ -33,7 +33,7 @@ options 	DDB		# kernel dynamic debugger
 options 	DDB_HISTORY_SIZE=100 # enable history editing in DDB
 makeoptions 	DEBUG=-g	# compile full symbol table
 makeoptions 	CPUFLAGS=-march=4kc
-options 	SYMTAB_SPACE=28	# size for embedded symbol table
+options 	SYMTAB_SPACE=29	# size for embedded symbol table
 
 #options 	MEMORY_DISK_HOOKS
 #options 	MEMORY_DISK_IS_ROOT	# Force root on ram-disk

Index: src/sys/arch/evbmips/conf/AP30
diff -u src/sys/arch/evbmips/conf/AP30:1.23 src/sys/arch/evbmips/conf/AP30:1.24
--- src/sys/arch/evbmips/conf/AP30:1.23	Sun Dec 18 05:49:26 2011
+++ src/sys/arch/evbmips/conf/AP30	Thu Feb  9 18:58:14 2012
@@ -1,10 +1,10 @@
-#	$NetBSD: AP30,v 1.23 2011/12/18 05:49:26 dholland Exp $
+#	$NetBSD: AP30,v 1.24 2012/02/09 18:58:14 matt Exp $
 
 include 	arch/evbmips/conf/std.atheros
 
 #options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident 		AP30-$Revision: 1.23 $
+#ident 		AP30-$Revision: 1.24 $
 
 maxusers	32
 
@@ -45,7 +45,7 @@ options 	DIAGNOSTIC	# extra kernel sanit
 options 	DDB		# kernel dynamic debugger
 options 	DDB_HISTORY_SIZE=100 # enable history editing in DDB
 makeoptions 	DEBUG=-g	# compile full symbol table
-options 	SYMTAB_SPACE=351000	# size for embedded symbol table
+options 	SYMTAB_SPACE=355000	# size for embedded symbol table
 
 # Compatibility options
 #options 	COMPAT_43	# compatibility with 4.3BSD binaries

Index: src/sys/arch/evbmips/conf/MALTA
diff -u src/sys/arch/evbmips/conf/MALTA:1.64 src/sys/arch/evbmips/conf/MALTA:1.65
--- src/sys/arch/evbmips/conf/MALTA:1.64	Sun Dec 18 05:49:26 2011
+++ src/sys/arch/evbmips/conf/MALTA	Thu Feb  9 18:58:14 2012
@@ -1,16 +1,16 @@
-#	$NetBSD: MALTA,v 1.64 2011/12/18 05:49:26 dholland Exp $
+#	$NetBSD: MALTA,v 1.65 2012/02/09 18:58:14 matt Exp $
 
 include 	arch/evbmips/conf/std.malta
 
 #options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident 		MALTA-$Revision: 1.64 $
+#ident 		MALTA-$Revision: 1.65 $
 
 maxusers	32
 
 options 	MIPS32
 options 	MIPS64
-options 	NOFPU		# No FPU
+#options 	NOFPU		# No FPU
 #options 	FPEMUL		# emulate FPU insn
 
 # Options for necessary to use MD
@@ -37,7 +37,7 @@ options 	USERCONF	# userconf(4) support
 options 	DDB		# kernel dynamic debugger
 options 	DDB_HISTORY_SIZE=100 # enable history editing in DDB
 makeoptions 	DEBUG=-g	# compile full symbol table
-options 	SYMTAB_SPACE=435000	# size for embedded symbol table
+options 	SYMTAB_SPACE=445000	# size for embedded symbol table
 
 # Compatibility options
 #options 	COMPAT_43	# compatibility with 4.3BSD binaries

Index: src/sys/arch/evbmips/conf/XLSATX
diff -u src/sys/arch/evbmips/conf/XLSATX:1.9 src/sys/arch/evbmips/conf/XLSATX:1.10
--- src/sys/arch/evbmips/conf/XLSATX:1.9	Sun Dec 18 05:49:26 2011
+++ src/sys/arch/evbmips/conf/XLSATX	Thu Feb  9 18:58:14 2012
@@ -1,8 +1,8 @@
-#	$NetBSD: XLSATX,v 1.9 2011/12/18 05:49:26 dholland Exp $
+#	$NetBSD: XLSATX,v 1.10 2012/02/09 18:58:14 matt Exp $
 
 include 	arch/evbmips/conf/std.rmixl
 
-#ident 		XLSATX-$Revision: 1.9 $
+#ident 		XLSATX-$Revision: 1.10 $
 
 #options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
@@ -41,7 +41,7 @@ options 	USERCONF	# userconf(4) support
 options 	DDB		# kernel dynamic debugger
 options 	DDB_HISTORY_SIZE=100 # enable history editing in DDB
 makeoptions 	DEBUG=-g	# compile full symbol table
-options 	SYMTAB_SPACE=51	# size for embedded symbol table
+options 	SYMTAB_SPACE=52	# size for embedded symbol table
 #options 	DDB_COMMANDONENTER=trace;show registers
 options 	DB_MAX_LINE=-1
 



CVS commit: src/sys/arch/evbmips/conf

2012-02-09 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Thu Feb  9 18:58:44 UTC 2012

Modified Files:
src/sys/arch/evbmips/conf: MALTA32 MALTA64

Log Message:
Enable NOFPU option for N32/N64 MALTA kernels


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/evbmips/conf/MALTA32
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/evbmips/conf/MALTA64

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/evbmips/conf/MALTA32
diff -u src/sys/arch/evbmips/conf/MALTA32:1.2 src/sys/arch/evbmips/conf/MALTA32:1.3
--- src/sys/arch/evbmips/conf/MALTA32:1.2	Mon Dec 14 00:46:01 2009
+++ src/sys/arch/evbmips/conf/MALTA32	Thu Feb  9 18:58:44 2012
@@ -1,10 +1,11 @@
-# $NetBSD: MALTA32,v 1.2 2009/12/14 00:46:01 matt Exp $
+# $NetBSD: MALTA32,v 1.3 2012/02/09 18:58:44 matt Exp $
 #
 include arch/evbmips/conf/MALTA
 
 makeoptions	LP64=no
 
 no options	MIPS32
+options 	NOFPU		# No FPU
 #options 	EXEC_ELF64
 
 no ath*

Index: src/sys/arch/evbmips/conf/MALTA64
diff -u src/sys/arch/evbmips/conf/MALTA64:1.4 src/sys/arch/evbmips/conf/MALTA64:1.5
--- src/sys/arch/evbmips/conf/MALTA64:1.4	Mon May 30 20:34:04 2011
+++ src/sys/arch/evbmips/conf/MALTA64	Thu Feb  9 18:58:44 2012
@@ -1,14 +1,15 @@
-# $NetBSD: MALTA64,v 1.4 2011/05/30 20:34:04 oster Exp $
+# $NetBSD: MALTA64,v 1.5 2012/02/09 18:58:44 matt Exp $
 #
 include arch/evbmips/conf/MALTA
 
 makeoptions	LP64=yes
 
 no options 	MIPS32
+options 	NOFPU			# No FPU
 options 	EXEC_ELF64
 options 	COMPAT_NETBSD32
 no options 	SYMTAB_SPACE
-options 	SYMTAB_SPACE=47	# size for embedded symbol table
+options 	SYMTAB_SPACE=48	# size for embedded symbol table
 
 #options 	UVMHIST, UVMHIST_PRINT
 



CVS commit: src/sys/arch/evbmips/conf

2012-02-04 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Feb  4 19:03:49 UTC 2012

Modified Files:
src/sys/arch/evbmips/conf: ALCHEMY

Log Message:
bump SYMTAB_SPACE


To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 src/sys/arch/evbmips/conf/ALCHEMY

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/evbmips/conf/ALCHEMY
diff -u src/sys/arch/evbmips/conf/ALCHEMY:1.40 src/sys/arch/evbmips/conf/ALCHEMY:1.41
--- src/sys/arch/evbmips/conf/ALCHEMY:1.40	Sun Dec 18 00:49:26 2011
+++ src/sys/arch/evbmips/conf/ALCHEMY	Sat Feb  4 14:03:49 2012
@@ -1,11 +1,11 @@
-#	$NetBSD: ALCHEMY,v 1.40 2011/12/18 05:49:26 dholland Exp $
+#	$NetBSD: ALCHEMY,v 1.41 2012/02/04 19:03:49 christos Exp $
 #
 # Kernel config for the Alchemy Semiconductor (AMD) PB1000, PB1500,
 # DBAu1000 and DBAu1500 evaluation boards.
 
 include 	arch/evbmips/conf/std.alchemy
 
-#ident 		ALCHEMY-$Revision: 1.40 $
+#ident 		ALCHEMY-$Revision: 1.41 $
 
 maxusers	32
 
@@ -45,7 +45,7 @@ options 	DEBUG		# extra kernel debugging
 options 	DDB		# kernel dynamic debugger
 options 	DDB_HISTORY_SIZE=100 # enable history editing in DDB
 makeoptions 	DEBUG=-g	# compile full symbol table
-options 	SYMTAB_SPACE=483000	# size for embedded symbol table
+options 	SYMTAB_SPACE=485000	# size for embedded symbol table
 
 # Compatibility options
 #options 	COMPAT_43	# compatibility with 4.3BSD binaries



CVS commit: src/sys/arch/evbmips/conf

2011-12-16 Thread KIYOHARA Takashi
Module Name:src
Committed By:   kiyohara
Date:   Fri Dec 16 15:59:57 UTC 2011

Modified Files:
src/sys/arch/evbmips/conf: MALTA

Log Message:
Increase SYMTAB_SPACE.


To generate a diff of this commit:
cvs rdiff -u -r1.62 -r1.63 src/sys/arch/evbmips/conf/MALTA

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/evbmips/conf/MALTA
diff -u src/sys/arch/evbmips/conf/MALTA:1.62 src/sys/arch/evbmips/conf/MALTA:1.63
--- src/sys/arch/evbmips/conf/MALTA:1.62	Tue Nov 22 21:25:11 2011
+++ src/sys/arch/evbmips/conf/MALTA	Fri Dec 16 15:59:57 2011
@@ -1,10 +1,10 @@
-#	$NetBSD: MALTA,v 1.62 2011/11/22 21:25:11 tls Exp $
+#	$NetBSD: MALTA,v 1.63 2011/12/16 15:59:57 kiyohara Exp $
 
 include 	arch/evbmips/conf/std.malta
 
 #options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident 		MALTA-$Revision: 1.62 $
+#ident 		MALTA-$Revision: 1.63 $
 
 maxusers	32
 
@@ -37,7 +37,7 @@ options 	USERCONF	# userconf(4) support
 options 	DDB		# kernel dynamic debugger
 options 	DDB_HISTORY_SIZE=100 # enable history editing in DDB
 makeoptions 	DEBUG=-g	# compile full symbol table
-options 	SYMTAB_SPACE=43	# size for embedded symbol table
+options 	SYMTAB_SPACE=435000	# size for embedded symbol table
 
 # Compatibility options
 #options 	COMPAT_43	# compatibility with 4.3BSD binaries



CVS commit: src/sys/arch/evbmips/conf

2011-12-15 Thread Masaru OKI
Module Name:src
Committed By:   oki
Date:   Thu Dec 15 16:14:18 UTC 2011

Modified Files:
src/sys/arch/evbmips/conf: ALCHEMY

Log Message:
increase SYMTAB_SPACE.


To generate a diff of this commit:
cvs rdiff -u -r1.38 -r1.39 src/sys/arch/evbmips/conf/ALCHEMY

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/evbmips/conf/ALCHEMY
diff -u src/sys/arch/evbmips/conf/ALCHEMY:1.38 src/sys/arch/evbmips/conf/ALCHEMY:1.39
--- src/sys/arch/evbmips/conf/ALCHEMY:1.38	Tue Nov 22 21:25:10 2011
+++ src/sys/arch/evbmips/conf/ALCHEMY	Thu Dec 15 16:14:17 2011
@@ -1,11 +1,11 @@
-#	$NetBSD: ALCHEMY,v 1.38 2011/11/22 21:25:10 tls Exp $
+#	$NetBSD: ALCHEMY,v 1.39 2011/12/15 16:14:17 oki Exp $
 #
 # Kernel config for the Alchemy Semiconductor (AMD) PB1000, PB1500,
 # DBAu1000 and DBAu1500 evaluation boards.
 
 include 	arch/evbmips/conf/std.alchemy
 
-#ident 		ALCHEMY-$Revision: 1.38 $
+#ident 		ALCHEMY-$Revision: 1.39 $
 
 maxusers	32
 
@@ -45,7 +45,7 @@ options 	DEBUG		# extra kernel debugging
 options 	DDB		# kernel dynamic debugger
 options 	DDB_HISTORY_SIZE=100 # enable history editing in DDB
 makeoptions 	DEBUG=-g	# compile full symbol table
-options 	SYMTAB_SPACE=482000	# size for embedded symbol table
+options 	SYMTAB_SPACE=483000	# size for embedded symbol table
 
 # Compatibility options
 #options 	COMPAT_43	# compatibility with 4.3BSD binaries



CVS commit: src/sys/arch/evbmips/conf

2011-11-02 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Thu Nov  3 02:44:36 UTC 2011

Modified Files:
src/sys/arch/evbmips/conf: LOONGSON

Log Message:
add options GDIUM_KEYBOARD_HACK


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/evbmips/conf/LOONGSON

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/evbmips/conf/LOONGSON
diff -u src/sys/arch/evbmips/conf/LOONGSON:1.5 src/sys/arch/evbmips/conf/LOONGSON:1.6
--- src/sys/arch/evbmips/conf/LOONGSON:1.5	Fri Sep  2 22:42:27 2011
+++ src/sys/arch/evbmips/conf/LOONGSON	Thu Nov  3 02:44:36 2011
@@ -1,4 +1,4 @@
-# $NetBSD: LOONGSON,v 1.5 2011/09/02 22:42:27 macallan Exp $
+# $NetBSD: LOONGSON,v 1.6 2011/11/03 02:44:36 macallan Exp $
 #
 # LOONGSON machine description file
 # 
@@ -22,7 +22,7 @@ include		arch/evbmips/conf/std.loongson
 
 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident 		GDIUM-$Revision: 1.5 $
+#ident 		GDIUM-$Revision: 1.6 $
 
 maxusers	16
 
@@ -239,6 +239,7 @@ wsmouse*	at ums? mux 0
 # USB Keyboards
 ukbd*	at uhidev? reportid ?
 wskbd*	at ukbd? console ? mux 1
+options	GDIUM_KEYBOARD_HACK	# support Fn key on Gdium
 
 # USB Generic HID devices
 uhid*	at uhidev? reportid ?



CVS commit: src/sys/arch/evbmips/conf

2011-09-02 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Fri Sep  2 22:19:35 UTC 2011

Modified Files:
src/sys/arch/evbmips/conf: GDIUM

Log Message:
add new voyager driver, follow related changes from LOONGSON
now this builds again
thanks he for noticing


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/sys/arch/evbmips/conf/GDIUM

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/evbmips/conf/GDIUM
diff -u src/sys/arch/evbmips/conf/GDIUM:1.12 src/sys/arch/evbmips/conf/GDIUM:1.13
--- src/sys/arch/evbmips/conf/GDIUM:1.12	Sun Mar  6 17:08:23 2011
+++ src/sys/arch/evbmips/conf/GDIUM	Fri Sep  2 22:19:35 2011
@@ -1,4 +1,4 @@
-# $NetBSD: GDIUM,v 1.12 2011/03/06 17:08:23 bouyer Exp $
+# $NetBSD: GDIUM,v 1.13 2011/09/02 22:19:35 macallan Exp $
 #
 # GENERIC machine description file
 # 
@@ -22,7 +22,7 @@
 
 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident 		GDIUM-$Revision: 1.12 $
+#ident 		GDIUM-$Revision: 1.13 $
 
 maxusers	16
 
@@ -156,7 +156,13 @@
 cpu0		at mainbus0
 bonito0		at mainbus0
 pci0		at bonito0
-voyagerfb0	at pci0 dev ? function ?
+voyager0	at pci0 dev ? function ?
+voyagerfb0	at voyager0
+iic*		at voyager0
+strtc*	at iic? addr 0x68
+options	STRTC_NO_USERRAM
+lmtemp*	at iic? addr 0x48
+#stvii*	at iic? addr 0x40
 #genfb0		at pci0 dev ? function ?
 wsdisplay0	at wsemuldisplaydev?
 ehci*		at pci0 dev ? function ?



CVS commit: src/sys/arch/evbmips/conf

2011-08-31 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Wed Aug 31 16:55:41 UTC 2011

Modified Files:
src/sys/arch/evbmips/conf: LOONGSON

Log Message:
add voyager, voyagerfb and drivers for Gdium's rtc and temperature sensor


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/evbmips/conf/LOONGSON

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/evbmips/conf/LOONGSON
diff -u src/sys/arch/evbmips/conf/LOONGSON:1.2 src/sys/arch/evbmips/conf/LOONGSON:1.3
--- src/sys/arch/evbmips/conf/LOONGSON:1.2	Sat Aug 27 17:05:57 2011
+++ src/sys/arch/evbmips/conf/LOONGSON	Wed Aug 31 16:55:41 2011
@@ -1,4 +1,4 @@
-# $NetBSD: LOONGSON,v 1.2 2011/08/27 17:05:57 bouyer Exp $
+# $NetBSD: LOONGSON,v 1.3 2011/08/31 16:55:41 macallan Exp $
 #
 # LOONGSON machine description file
 # 
@@ -22,7 +22,7 @@
 
 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident 		GDIUM-$Revision: 1.2 $
+#ident 		GDIUM-$Revision: 1.3 $
 
 maxusers	16
 
@@ -158,7 +158,12 @@
 bonito0		at mainbus0
 pci0		at bonito0
 sisfb0		at pci0 dev ? function ?
-#X#voyagerfb0	at pci0 dev ? function ?
+voyager0	at pci0 dev ? function ?
+voyagerfb0	at voyager0
+iic*		at voyager0
+strtc*	at iic? addr 0x68
+options	STRTC_NO_USERRAM
+lmtemp*	at iic? addr 0x48
 #genfb0		at pci0 dev ? function ?
 wsdisplay*	at wsemuldisplaydev?
 ehci*		at pci0 dev ? function ?



CVS commit: src/sys/arch/evbmips/conf

2011-08-31 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Wed Aug 31 16:58:10 UTC 2011

Modified Files:
src/sys/arch/evbmips/conf: LOONGSON

Log Message:
turn kernel output green


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/evbmips/conf/LOONGSON

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/evbmips/conf/LOONGSON
diff -u src/sys/arch/evbmips/conf/LOONGSON:1.3 src/sys/arch/evbmips/conf/LOONGSON:1.4
--- src/sys/arch/evbmips/conf/LOONGSON:1.3	Wed Aug 31 16:55:41 2011
+++ src/sys/arch/evbmips/conf/LOONGSON	Wed Aug 31 16:58:10 2011
@@ -1,4 +1,4 @@
-# $NetBSD: LOONGSON,v 1.3 2011/08/31 16:55:41 macallan Exp $
+# $NetBSD: LOONGSON,v 1.4 2011/08/31 16:58:10 macallan Exp $
 #
 # LOONGSON machine description file
 # 
@@ -22,7 +22,7 @@
 
 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident 		GDIUM-$Revision: 1.3 $
+#ident 		GDIUM-$Revision: 1.4 $
 
 maxusers	16
 
@@ -143,6 +143,7 @@
 
 # WS console uses SUN or VT100 terminal emulation
 options 	WSEMUL_VT100
+options		WS_KERNEL_FG=WSCOL_GREEN
 #options 	WSDISPLAY_DEFAULTSCREENS=4
 options 	FONT_GALLANT12x22
 # compatibility to other console drivers



CVS commit: src/sys/arch/evbmips/conf

2011-08-24 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Wed Aug 24 16:02:27 UTC 2011

Added Files:
src/sys/arch/evbmips/conf: GDIUM64

Log Message:
Add a 64-bit GDIUM configuration.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 src/sys/arch/evbmips/conf/GDIUM64

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: src/sys/arch/evbmips/conf/GDIUM64
diff -u /dev/null src/sys/arch/evbmips/conf/GDIUM64:1.1
--- /dev/null	Wed Aug 24 16:02:27 2011
+++ src/sys/arch/evbmips/conf/GDIUM64	Wed Aug 24 16:02:26 2011
@@ -0,0 +1,12 @@
+# $NetBSD: GDIUM64,v 1.1 2011/08/24 16:02:26 matt Exp $
+#
+include arch/evbmips/conf/GDIUM
+
+makeoptions	LP64=yes
+
+options 	EXEC_ELF64
+options 	COMPAT_NETBSD32
+#no options 	SYMTAB_SPACE
+#options 	SYMTAB_SPACE=47	# size for embedded symbol table
+
+#options 	UVMHIST, UVMHIST_PRINT



CVS commit: src/sys/arch/evbmips/conf

2011-08-16 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Tue Aug 16 07:01:38 UTC 2011

Modified Files:
src/sys/arch/evbmips/conf: Makefile.evbmips.inc std.rasoc

Log Message:
Deal the brokenness of some u-boot (bsentry [byte swapped entry]) and add
some support for varying compressions schemes.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/evbmips/conf/Makefile.evbmips.inc
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/evbmips/conf/std.rasoc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/evbmips/conf/Makefile.evbmips.inc
diff -u src/sys/arch/evbmips/conf/Makefile.evbmips.inc:1.4 src/sys/arch/evbmips/conf/Makefile.evbmips.inc:1.5
--- src/sys/arch/evbmips/conf/Makefile.evbmips.inc:1.4	Sun Jul 10 23:33:59 2011
+++ src/sys/arch/evbmips/conf/Makefile.evbmips.inc	Tue Aug 16 07:01:37 2011
@@ -25,11 +25,16 @@
 
 .if defined(NEED_UBOOTIMAGE)  ${NEED_UBOOTIMAGE} != no
 _OSRELEASE!=		${HOST_SH} $S/conf/osrelease.sh
-MKUBOOTIMAGEARGS=   -A mips -T kernel -C none
-MKUBOOTIMAGEARGS+=  -a ${TEXTADDR:C/$//} -e $(TEXTADDR)
+MKUBOOTIMAGEARGS=   -A mips -T kernel
+MKUBOOTIMAGEARGS+=  -a ${TEXTADDR:C/$//}
+.if ${NEED_UBOOTIMAGE:Mbsentry} == bsentry
+MKUBOOTIMAGEARGS+=	-E $(TEXTADDR)
+.else
+MKUBOOTIMAGEARGS+=	-e $(TEXTADDR)
+.endif
 MKUBOOTIMAGEARGS+=  -n $(MACHINE) ${_OSRELEASE} ($(KERNEL_BUILD:T))
 
-.if ${NEED_UBOOTIMAGE} == gz
+.if ${NEED_UBOOTIMAGE:Mgz} == gz
 MKUBOOTIMAGEARGS+=	-C gz
 
 SYSTEM_LD_TAIL_EXTRA+=; \
@@ -39,7 +44,29 @@
 	${TOOL_MKUBOOTIMAGE} ${MKUBOOTIMAGEARGS} $@.bin.gz $@.ub
 
 EXTRA_KERNELS+= ${KERNELS:@.KERNEL.@${.KERNEL.}.bin.gz@}
+.elif ${NEED_UBOOTIMAGE:Mlzma} == lzma
+#TOOL_LZMA?=		/usr/pkg/bin/lzma e
+#LZMA_ARGS?=		-d20 -pb4
+TOOL_XZ?=		xz -F lzma
+XZ_ARGS?=		-kf --lzma1=dict=1048576,lc=0,lp=0,pb=0
+MKUBOOTIMAGEARGS+=	-C lzma
+
+#	echo ${TOOL_LZMA} e $@.bin $@.bin.lzma -d20 -pb4; \
+#	${TOOL_LZMA} e $@.bin $@.bin.lzma -d20 -pb4; \
+
+SYSTEM_LD_TAIL_EXTRA+=; \
+	(set -e 1; \
+	rm -f $@.bin.lzma; \
+	echo ${TOOL_XZ} ${XZ_ARGS} $@.bin; \
+	${TOOL_XZ} ${XZ_ARGS} $@.bin; \
+	lzmainfo $@.bin.lzma; \
+	echo ${TOOL_MKUBOOTIMAGE} ${MKUBOOTIMAGEARGS} $@.bin.lzma $@.ub; \
+	${TOOL_MKUBOOTIMAGE} ${MKUBOOTIMAGEARGS} $@.bin.lzma $@.ub) || \
+	(rm $@ ; exit 1)
+
+EXTRA_KERNELS+= ${KERNELS:@.KERNEL.@${.KERNEL.}.bin.lzma@}
 .else
+MKUBOOTIMAGEARGS+=	-C none
 SYSTEM_LD_TAIL_EXTRA+=; \
 	echo ${TOOL_MKUBOOTIMAGE} ${MKUBOOTIMAGEARGS} $@.bin $@.ub; \
 	${TOOL_MKUBOOTIMAGE} ${MKUBOOTIMAGEARGS} $@.bin $@.ub; \

Index: src/sys/arch/evbmips/conf/std.rasoc
diff -u src/sys/arch/evbmips/conf/std.rasoc:1.2 src/sys/arch/evbmips/conf/std.rasoc:1.3
--- src/sys/arch/evbmips/conf/std.rasoc:1.2	Thu Jul 28 15:50:13 2011
+++ src/sys/arch/evbmips/conf/std.rasoc	Tue Aug 16 07:01:37 2011
@@ -1,4 +1,4 @@
-#	$NetBSD: std.rasoc,v 1.2 2011/07/28 15:50:13 matt Exp $
+#	$NetBSD: std.rasoc,v 1.3 2011/08/16 07:01:37 matt Exp $
 
 machine 	evbmips mips
 include 	conf/std	# MI standard options
@@ -15,6 +15,6 @@
 makeoptions	CPUFLAGS+=-march=mips32r2
 makeoptions	DEFTEXTADDR=0x8001
 makeoptions	NEED_BINARY=yes
-makeoptions	NEED_UBOOTIMAGE=yes
+makeoptions	NEED_UBOOTIMAGE=bsentry
 
 include	arch/evbmips/conf/files.rasoc



CVS commit: src/sys/arch/evbmips/conf

2011-08-03 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Wed Aug  3 16:26:05 UTC 2011

Modified Files:
src/sys/arch/evbmips/conf: CPMBR1400

Log Message:
No need to specify MEMSIZE since we read it from SYSCTL_CFG0.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/evbmips/conf/CPMBR1400

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/evbmips/conf/CPMBR1400
diff -u src/sys/arch/evbmips/conf/CPMBR1400:1.5 src/sys/arch/evbmips/conf/CPMBR1400:1.6
--- src/sys/arch/evbmips/conf/CPMBR1400:1.5	Tue Aug  2 20:42:42 2011
+++ src/sys/arch/evbmips/conf/CPMBR1400	Wed Aug  3 16:26:05 2011
@@ -2,8 +2,8 @@
 
 options 	SYMTAB_SPACE=45		# size for embedded symbol table
 
+#options 	RA_CONSOLE_EARLY
 options 	RT3883
-options 	RTMEMSIZE=128
 #options 	SLICKROCK
 options 	RALINK_ETH_NUM_SW_PARTITIONS=5
 options 	CONSPEED=57600



CVS commit: src/sys/arch/evbmips/conf

2011-08-02 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Tue Aug  2 16:12:44 UTC 2011

Modified Files:
src/sys/arch/evbmips/conf: std.gdium

Log Message:
Pass -mfix-loongson2f-jump -mfix-loongson2f-nop to assembler to workaround
loongson2f j[la]r issues.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/evbmips/conf/std.gdium

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/evbmips/conf/std.gdium
diff -u src/sys/arch/evbmips/conf/std.gdium:1.4 src/sys/arch/evbmips/conf/std.gdium:1.5
--- src/sys/arch/evbmips/conf/std.gdium:1.4	Wed Oct 21 21:11:59 2009
+++ src/sys/arch/evbmips/conf/std.gdium	Tue Aug  2 16:12:44 2011
@@ -1,4 +1,4 @@
-# $NetBSD: std.gdium,v 1.4 2009/10/21 21:11:59 rmind Exp $
+# $NetBSD: std.gdium,v 1.5 2011/08/02 16:12:44 matt Exp $
 
 machine evbmips mips
 include		conf/std	# MI standard options
@@ -15,6 +15,8 @@
 options		EXEC_ELF32	# exec ELF32 binaries
 options		EXEC_SCRIPT	# exec #! scripts
 
+makeoptions	AFLAGS+=-Wa,-mfix-loongson2f-jump -Wa,-mfix-loongson2f-nop
+makeoptions	CFLAGS+=-Wa,-mfix-loongson2f-jump -Wa,-mfix-loongson2f-nop
 makeoptions	DEFTEXTADDR=0x8020
 makeoptions	BOARDTYPE=gdium
 



CVS commit: src/sys/arch/evbmips/conf

2011-08-02 Thread Cliff Neighbors
Module Name:src
Committed By:   cliff
Date:   Tue Aug  2 20:42:42 UTC 2011

Modified Files:
src/sys/arch/evbmips/conf: CPMBR1400

Log Message:
remove unused option RTNORFLASH


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/evbmips/conf/CPMBR1400

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/evbmips/conf/CPMBR1400
diff -u src/sys/arch/evbmips/conf/CPMBR1400:1.4 src/sys/arch/evbmips/conf/CPMBR1400:1.5
--- src/sys/arch/evbmips/conf/CPMBR1400:1.4	Tue Aug  2 05:08:31 2011
+++ src/sys/arch/evbmips/conf/CPMBR1400	Tue Aug  2 20:42:42 2011
@@ -3,7 +3,6 @@
 options 	SYMTAB_SPACE=45		# size for embedded symbol table
 
 options 	RT3883
-options 	RTNORFLASH
 options 	RTMEMSIZE=128
 #options 	SLICKROCK
 options 	RALINK_ETH_NUM_SW_PARTITIONS=5



  1   2   >