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

2024-04-07 Thread Andrius Varanavicius
Module Name:src
Committed By:   andvar
Date:   Sun Apr  7 19:51:49 UTC 2024

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

Log Message:
Remove extra whitespace after P-4032.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/evbmips/conf/README.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/README.evbmips
diff -u src/sys/arch/evbmips/conf/README.evbmips:1.1 src/sys/arch/evbmips/conf/README.evbmips:1.2
--- src/sys/arch/evbmips/conf/README.evbmips:1.1	Sun Apr  7 19:39:24 2024
+++ src/sys/arch/evbmips/conf/README.evbmips	Sun Apr  7 19:51:49 2024
@@ -1,4 +1,4 @@
-$NetBSD: README.evbmips,v 1.1 2024/04/07 19:39:24 andvar Exp $
+$NetBSD: README.evbmips,v 1.2 2024/04/07 19:51:49 andvar Exp $
 
 The documentation is not final, more updates are coming.
 
@@ -29,7 +29,7 @@ MIPSSIM64	2021/01/27	evbmips(n)64-el,eb	
 MTX-1		2006/02/23	evbmips-el		4G Systems MTX-1 (MeshCube / AccessCube, Alchemy Au1500).
 OCTEON		2015/04/29	evbmips(n)64-eb		Cavium Octeon and Octeon Plus SoC based devices like Ubiquiti Networks EdgeRouter Lite.
 OMSAL400	2006/02/23	evbmips-el		Plat'Home OpenMicroServer (OMS-AL400, Alchemy Au1550).
-P4032		2001/06/01	evbmips-el		Algorithmics MIPS P-4032  evaluation board (QED RM4xxx).
+P4032		2001/06/01	evbmips-el		Algorithmics MIPS P-4032 evaluation board (QED RM4xxx).
 P5064		2001/05/28	evbmips-el		Algorithmics MIPS P-5064 evaluation board (QED RM52xx).
 P5064-64	2009/12/14	evbmips(n)64-el		P5064 64-bit kernel configuration.
 P6032		2001/06/22	evbmips-el		Algorithmics MIPS P-6032 evaluation board.



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

2024-04-07 Thread Andrius Varanavicius
Module Name:src
Committed By:   andvar
Date:   Sun Apr  7 19:51:49 UTC 2024

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

Log Message:
Remove extra whitespace after P-4032.


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

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



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

2024-04-07 Thread Andrius Varanavicius
Module Name:src
Committed By:   andvar
Date:   Sun Apr  7 19:39:24 UTC 2024

Added Files:
src/sys/arch/evbmips/conf: README.evbmips

Log Message:
Initial version of evbmips kernel configuration files documentation.
The goal is to give a better understanding which hardware they represent
and how to build them. Also not to lose this information over the years.

Loosely based on a README.evbarm, however has additional notes on building
targets. The file is not final, some discussion came up about the need of
*32 kernel configs. simon is planning to review.


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

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/README.evbmips
diff -u /dev/null src/sys/arch/evbmips/conf/README.evbmips:1.1
--- /dev/null	Sun Apr  7 19:39:24 2024
+++ src/sys/arch/evbmips/conf/README.evbmips	Sun Apr  7 19:39:24 2024
@@ -0,0 +1,64 @@
+$NetBSD: README.evbmips,v 1.1 2024/04/07 19:39:24 andvar Exp $
+
+The documentation is not final, more updates are coming.
+
+config		date		targets			boards
+-
+ADM5210		2007/03/20	evbmips-el		Infineon ADM5120 (MIPS32 4Kc) based boards and routers, 
+			including RouterBOARD 100 series.
+ADM5210-NB	2007/03/20	evbmips-el		ADM5120 netboot kernel.
+ADM5210-USB	2007/03/20	evbmips-el		ADM5120 netboot kernel with USB support.
+AP30		2006/06/06	evbmips-el,eb		Atheros AP30 development board (AR5312).
+CI20		2014/11/22	evbmips-eb		MIPS Creator CI20 (Ingenic JZ4780).
+CPMBR1400	2011/07/28	evbmips-el		CradlePoint MBR1400 Router (Ralink RT3883 MIPS74K).
+DB120		2011/07/07	evbmips-eb		Qualcomm Atheros AR9344 (MIPS74K) DB120 evaluation board.
+DBAU1500	2006/02/08	evbmips-el,eb		AMD Alchemy DBAu1500 evaluation board.
+DBAU1550	2006/02/08	evbmips-el,eb		AMD Alchemy DBAu1550 evaluation board.
+GDIUM		2009/08/06	evbmips-el		EMTEC Gdium netbook 32-bit kernel.
+GDIUM64		2011/08/24	evbmips(n)64-el		EMTEC Gdium netbook 64-bit kernel.
+LINKITSMART7688	2016/10/05	evbmips-el		Seeed Studio LinkIt Smart 7688 compact controller board (MediaTek MT7688).
+LOONGSON	2011/08/27	evbmips64-el		Loongson 2F/2E based devices (Lemote Fuloong, Yeelong).
+MALTA		2002/03/07	evbmips-el,eb		MIPS Malta evaluation board 4Kc (MIPS32) or 5Kc (MIPS64).
+MALTA32		2009/12/14	evbmips64-el,eb		MALTA N32 ABI kernel configuration.
+MALTA32.MP	2009/12/14	evbmips64-el,eb		MALTA N32 ABI MP kernel configuration.
+MALTA64		2009/12/14	evbmips(n)64-el,eb	MALTA 64-bit kernel configuration.
+MALTA64.MP	2009/12/14	evbmips(n)64-el,eb	MALTA MP 64-bit kernel configuration.
+MERAKI		2006/09/26	evbmips-eb		Meraki Mini (Atheros AR2315).
+MIPSSIM		2021/01/27	evbmips-el,eb		QEMU MIPS "mipssim" simulator.
+MIPSSIM64	2021/01/27	evbmips(n)64-el,eb	MIPSSIM 64-bit kernel.
+MTX-1		2006/02/23	evbmips-el		4G Systems MTX-1 (MeshCube / AccessCube, Alchemy Au1500).
+OCTEON		2015/04/29	evbmips(n)64-eb		Cavium Octeon and Octeon Plus SoC based devices like Ubiquiti Networks EdgeRouter Lite.
+OMSAL400	2006/02/23	evbmips-el		Plat'Home OpenMicroServer (OMS-AL400, Alchemy Au1550).
+P4032		2001/06/01	evbmips-el		Algorithmics MIPS P-4032  evaluation board (QED RM4xxx).
+P5064		2001/05/28	evbmips-el		Algorithmics MIPS P-5064 evaluation board (QED RM52xx).
+P5064-64	2009/12/14	evbmips(n)64-el		P5064 64-bit kernel configuration.
+P6032		2001/06/22	evbmips-el		Algorithmics MIPS P-6032 evaluation board.
+RB153		2007/03/20	evbmips-el		MikroTik RouterBOARD 153 (Infineon ADM5120).
+RB433UAH	2011/07/07	evbmips-eb		MikroTik RouterBOARD 433(UAH) AR71xx (MIPS24K core).
+SBMIPS		2002/03/06	evbmips-el,eb		Broadcom/SiByte SB1250 evaluation board.
+SBMIPS.MP	2011/02/20	evbmips-el,eb		SBMIPS MP kernel configuration.
+SBMIPS64	2009/12/14	evbmips(n)64-el,eb	SBMIPS 64-bit kernel configuration.
+SBMIPS64.MP	2011/02/20	evbmips(n)64-el,eb	SBMIPS 64-bit MP kernel configuration.
+WGT624V3	2007/02/18	evbmips-eb		Netgear WGT624 v3 wireless router (example config).
+XLSATX		2009/12/14RMI (NetLogic) XLS/XLR models (base for other XLSATX* kernel configs).
+XLSATX32	2011/02/20	evbmips64-el,eb		XLSATX N32 kernel configuration.
+XLSATX64	2009/12/14	evbmips(n)64-el,eb	XLSATX 64-bit kernel configuration.
+XLSATX64.MP	2011/02/20	evbmips(n)64-el,eb	XLSATX 64-bit MP kernel configuration.
+ZYXELKX		2014/04/30	evbmips-el		Zyxel Keenetic Extra router (MediaTek MT7620A).
+
+Configuration file notes:
+* "INSALL_*"	installation kernel configuration files.
+		(typically enables hooks for initializing the root memory-disk).
+* "*.MP"	configuration files with the multiprocessor support enabled.
+* "*32"		N32 ABI kernel configuration files
+		(can be built using evbmips64-* targets).
+Building target notes:
+* "*-el"	represent targets for building little-endian 

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

2024-04-07 Thread Andrius Varanavicius
Module Name:src
Committed By:   andvar
Date:   Sun Apr  7 19:39:24 UTC 2024

Added Files:
src/sys/arch/evbmips/conf: README.evbmips

Log Message:
Initial version of evbmips kernel configuration files documentation.
The goal is to give a better understanding which hardware they represent
and how to build them. Also not to lose this information over the years.

Loosely based on a README.evbarm, however has additional notes on building
targets. The file is not final, some discussion came up about the need of
*32 kernel configs. simon is planning to review.


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

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



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

2024-03-26 Thread Andrius Varanavicius
Module Name:src
Committed By:   andvar
Date:   Tue Mar 26 10:23:42 UTC 2024

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

Log Message:
Revert accidental change for root file system in previous commit.


To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34 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-NB
diff -u src/sys/arch/evbmips/conf/ADM5120-NB:1.33 src/sys/arch/evbmips/conf/ADM5120-NB:1.34
--- src/sys/arch/evbmips/conf/ADM5120-NB:1.33	Tue Mar 26 10:16:47 2024
+++ src/sys/arch/evbmips/conf/ADM5120-NB	Tue Mar 26 10:23:42 2024
@@ -1,11 +1,11 @@
-#	$NetBSD: ADM5120-NB,v 1.33 2024/03/26 10:16:47 andvar Exp $
+#	$NetBSD: ADM5120-NB,v 1.34 2024/03/26 10:23:42 andvar 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.33 $"
+#ident 		"GENERIC-$Revision: 1.34 $"
 
 maxusers	32
 
@@ -101,7 +101,7 @@ options 	INET		# Internet protocols
 options 	NFS_BOOT_DHCP
 
 # Pretty much only one device to use for the root file system.
-config		netbsd		root on ? type ?
+config		netbsd-admsw0	root on admsw0 type nfs
 
 mainbus0 	at root
 



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

2024-03-26 Thread Andrius Varanavicius
Module Name:src
Committed By:   andvar
Date:   Tue Mar 26 10:23:42 UTC 2024

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

Log Message:
Revert accidental change for root file system in previous commit.


To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34 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.



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

2024-03-26 Thread Andrius Varanavicius
Module Name:src
Committed By:   andvar
Date:   Tue Mar 26 10:16:47 UTC 2024

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

Log Message:
Remove netgraph options which are not supported and have no effect in NetBSD.

While here, reposition extio to reduce diff between ADM5120 and ADM5120-NB.


To generate a diff of this commit:
cvs rdiff -u -r1.32 -r1.33 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-NB
diff -u src/sys/arch/evbmips/conf/ADM5120-NB:1.32 src/sys/arch/evbmips/conf/ADM5120-NB:1.33
--- src/sys/arch/evbmips/conf/ADM5120-NB:1.32	Mon Jan 29 18:27:11 2024
+++ src/sys/arch/evbmips/conf/ADM5120-NB	Tue Mar 26 10:16:47 2024
@@ -1,11 +1,11 @@
-#	$NetBSD: ADM5120-NB,v 1.32 2024/01/29 18:27:11 christos Exp $
+#	$NetBSD: ADM5120-NB,v 1.33 2024/03/26 10:16:47 andvar 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.32 $"
+#ident 		"GENERIC-$Revision: 1.33 $"
 
 maxusers	32
 
@@ -77,30 +77,6 @@ options 	BUFQ_PRIOCSCAN
 # Networking options
 options 	GATEWAY		# IP packet forwarding
 options 	INET		# Internet protocols
-options 	NETGRAPH	# Netgraph
-options 	NETGRAPH_ASYNC
-options 	NETGRAPH_BPF
-options 	NETGRAPH_CISCO
-options 	NETGRAPH_ECHO
-options 	NETGRAPH_EIFACE
-options 	NETGRAPH_ETF
-options 	NETGRAPH_ETHER
-options 	NETGRAPH_FRAME_RELAY
-options 	NETGRAPH_HOLE
-options 	NETGRAPH_HUB
-options 	NETGRAPH_IFACE
-options 	NETGRAPH_KSOCKET
-options 	NETGRAPH_L2TP
-options 	NETGRAPH_LMI
-options 	NETGRAPH_ONE2MANY
-options 	NETGRAPH_PPP
-options 	NETGRAPH_PPPOE
-options 	NETGRAPH_PPTPGRE
-options 	NETGRAPH_RFC1490
-options 	NETGRAPH_TEE
-options 	NETGRAPH_UI
-options 	NETGRAPH_VJC
-options 	NETGRAPH_VLAN
 #options 	INET6		# IPV6
 #options 	IPSEC		# IP security
 #options 	IPSEC_DEBUG	# debug for IP security
@@ -125,7 +101,7 @@ options 	NETGRAPH_VLAN
 options 	NFS_BOOT_DHCP
 
 # Pretty much only one device to use for the root file system.
-config		netbsd-admsw0	root on admsw0 type nfs
+config		netbsd		root on ? type ?
 
 mainbus0 	at root
 
@@ -151,9 +127,8 @@ pseudo-device	pty# pseudo-terminals
 pseudo-device	ksyms
 
 obio*		at mainbus?
-extio*		at mainbus?
 gpio*		at mainbus?
-
+extio*		at mainbus?
 uart*		at obio? addr ?
 admsw*		at obio? addr ?
 #admflash*	at obio? addr ?



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

2024-03-26 Thread Andrius Varanavicius
Module Name:src
Committed By:   andvar
Date:   Tue Mar 26 10:16:47 UTC 2024

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

Log Message:
Remove netgraph options which are not supported and have no effect in NetBSD.

While here, reposition extio to reduce diff between ADM5120 and ADM5120-NB.


To generate a diff of this commit:
cvs rdiff -u -r1.32 -r1.33 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.



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

2024-02-11 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun Feb 11 17:17:05 UTC 2024

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

Log Message:
put quotes back


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 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.8 src/sys/arch/evbmips/conf/Makefile.evbmips.inc:1.9
--- src/sys/arch/evbmips/conf/Makefile.evbmips.inc:1.8	Sun Feb 11 12:13:02 2024
+++ src/sys/arch/evbmips/conf/Makefile.evbmips.inc	Sun Feb 11 12:17:05 2024
@@ -40,7 +40,7 @@ MKUBOOTIMAGEARGS+=	-e $(TEXTADDR)
 .endif
 MKUBOOTIMAGEARGS+=  -n "$(MACHINE) ${_OSRELEASE} ($(KERNEL_BUILD:T))"
 .if ${MKREPRO_TIMESTAMP:Uno} != "no"
-MKUBOOTIMAGEARGS+=	-t ${MKREPRO_TIMESTAMP}
+MKUBOOTIMAGEARGS+=	-t "${MKREPRO_TIMESTAMP}"
 .endif
 
 .if ${NEED_UBOOTIMAGE:Mgz} == "gz"



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

2024-02-11 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun Feb 11 17:17:05 UTC 2024

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

Log Message:
put quotes back


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 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.



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

2024-02-11 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun Feb 11 17:13:02 UTC 2024

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

Log Message:
PR/57923: Jan-Benedict Glaw: Use $MKREPRO_TIMESTAMP for mkubootimage


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 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.7 src/sys/arch/evbmips/conf/Makefile.evbmips.inc:1.8
--- src/sys/arch/evbmips/conf/Makefile.evbmips.inc:1.7	Fri Jun 26 17:56:31 2015
+++ src/sys/arch/evbmips/conf/Makefile.evbmips.inc	Sun Feb 11 12:13:02 2024
@@ -39,6 +39,9 @@ MKUBOOTIMAGEARGS+=	-E $(TEXTADDR)
 MKUBOOTIMAGEARGS+=	-e $(TEXTADDR)
 .endif
 MKUBOOTIMAGEARGS+=  -n "$(MACHINE) ${_OSRELEASE} ($(KERNEL_BUILD:T))"
+.if ${MKREPRO_TIMESTAMP:Uno} != "no"
+MKUBOOTIMAGEARGS+=	-t ${MKREPRO_TIMESTAMP}
+.endif
 
 .if ${NEED_UBOOTIMAGE:Mgz} == "gz"
 MKUBOOTIMAGEARGS+=	-C gz



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

2024-02-11 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun Feb 11 17:13:02 UTC 2024

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

Log Message:
PR/57923: Jan-Benedict Glaw: Use $MKREPRO_TIMESTAMP for mkubootimage


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 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.



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

2023-11-02 Thread Simon Burge
Module Name:src
Committed By:   simonb
Date:   Fri Nov  3 00:24:20 UTC 2023

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

Log Message:
All other install kernels use a 6MB RAM disk.  Stop with the teeny
frequent bumps and jump straight to the size everything is using.


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

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_OMSAL400
diff -u src/sys/arch/evbmips/conf/INSTALL_OMSAL400:1.4 src/sys/arch/evbmips/conf/INSTALL_OMSAL400:1.5
--- src/sys/arch/evbmips/conf/INSTALL_OMSAL400:1.4	Tue Oct 10 10:36:42 2023
+++ src/sys/arch/evbmips/conf/INSTALL_OMSAL400	Fri Nov  3 00:24:20 2023
@@ -1,8 +1,8 @@
-# $NetBSD: INSTALL_OMSAL400,v 1.4 2023/10/10 10:36:42 martin Exp $
+# $NetBSD: INSTALL_OMSAL400,v 1.5 2023/11/03 00:24:20 simonb Exp $
 
 include		"arch/evbmips/conf/OMSAL400"
 
-#ident 		"INSTALL_OMSAL400-$Revision: 1.4 $"
+#ident 		"INSTALL_OMSAL400-$Revision: 1.5 $"
 
 # Enable the hooks used for initializing the root memory-disk.
 # The ramdisk size must be kept in sync manually with the size of
@@ -11,5 +11,5 @@ 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=8350	# size of memory disk, in blocks
+options 	MEMORY_DISK_ROOT_SIZE=12288	# size of memory disk, in blocks
 options 	MEMORY_DISK_RBFLAGS=RB_SINGLE	# boot in single-user mode



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

2023-11-02 Thread Simon Burge
Module Name:src
Committed By:   simonb
Date:   Fri Nov  3 00:24:20 UTC 2023

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

Log Message:
All other install kernels use a 6MB RAM disk.  Stop with the teeny
frequent bumps and jump straight to the size everything is using.


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

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



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

2023-10-10 Thread Havard Eidnes
Module Name:src
Committed By:   he
Date:   Tue Oct 10 16:23:56 UTC 2023

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

Log Message:
INSTALL_CI20: bump ramdisk image size since contents grew a bit recently.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/evbmips/conf/INSTALL_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/INSTALL_CI20
diff -u src/sys/arch/evbmips/conf/INSTALL_CI20:1.2 src/sys/arch/evbmips/conf/INSTALL_CI20:1.3
--- src/sys/arch/evbmips/conf/INSTALL_CI20:1.2	Fri Jun  9 21:33:16 2023
+++ src/sys/arch/evbmips/conf/INSTALL_CI20	Tue Oct 10 16:23:56 2023
@@ -1,8 +1,8 @@
-# $NetBSD: INSTALL_CI20,v 1.2 2023/06/09 21:33:16 gutteridge Exp $
+# $NetBSD: INSTALL_CI20,v 1.3 2023/10/10 16:23:56 he Exp $
 
 include		"arch/evbmips/conf/CI20"
 
-#ident 		"INSTALL_CI20-$Revision: 1.2 $"
+#ident 		"INSTALL_CI20-$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
@@ -11,4 +11,4 @@ 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 	MEMORY_DISK_ROOT_SIZE=12416	# size of memory disk, in blocks



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

2023-10-10 Thread Havard Eidnes
Module Name:src
Committed By:   he
Date:   Tue Oct 10 16:23:56 UTC 2023

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

Log Message:
INSTALL_CI20: bump ramdisk image size since contents grew a bit recently.


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

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



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

2023-10-10 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Tue Oct 10 10:36:42 UTC 2023

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

Log Message:
Make more room for ramdisk image (which recently grew a bit)


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

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_OMSAL400
diff -u src/sys/arch/evbmips/conf/INSTALL_OMSAL400:1.3 src/sys/arch/evbmips/conf/INSTALL_OMSAL400:1.4
--- src/sys/arch/evbmips/conf/INSTALL_OMSAL400:1.3	Fri Jun  9 21:33:16 2023
+++ src/sys/arch/evbmips/conf/INSTALL_OMSAL400	Tue Oct 10 10:36:42 2023
@@ -1,8 +1,8 @@
-# $NetBSD: INSTALL_OMSAL400,v 1.3 2023/06/09 21:33:16 gutteridge Exp $
+# $NetBSD: INSTALL_OMSAL400,v 1.4 2023/10/10 10:36:42 martin Exp $
 
 include		"arch/evbmips/conf/OMSAL400"
 
-#ident 		"INSTALL_OMSAL400-$Revision: 1.3 $"
+#ident 		"INSTALL_OMSAL400-$Revision: 1.4 $"
 
 # Enable the hooks used for initializing the root memory-disk.
 # The ramdisk size must be kept in sync manually with the size of
@@ -11,5 +11,5 @@ 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=8192	# size of memory disk, in blocks
+options 	MEMORY_DISK_ROOT_SIZE=8350	# size of memory disk, in blocks
 options 	MEMORY_DISK_RBFLAGS=RB_SINGLE	# boot in single-user mode



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

2023-10-10 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Tue Oct 10 10:36:42 UTC 2023

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

Log Message:
Make more room for ramdisk image (which recently grew a bit)


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

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



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

2023-06-09 Thread David H. Gutteridge
Module Name:src
Committed By:   gutteridge
Date:   Fri Jun  9 21:33:16 UTC 2023

Modified Files:
src/sys/arch/evbmips/conf: INSTALL_CI20 INSTALL_CPMBR1400
INSTALL_LOONGSON INSTALL_MALTA INSTALL_MALTA32 INSTALL_MALTA64
INSTALL_OCTEON INSTALL_OMSAL400 INSTALL_XLSATX32 INSTALL_XLSATX64
INSTALL_ZYXELKX

Log Message:
INSTALL_*: correct a path in a comment


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/evbmips/conf/INSTALL_CI20 \
src/sys/arch/evbmips/conf/INSTALL_LOONGSON \
src/sys/arch/evbmips/conf/INSTALL_ZYXELKX
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/evbmips/conf/INSTALL_CPMBR1400 \
src/sys/arch/evbmips/conf/INSTALL_MALTA \
src/sys/arch/evbmips/conf/INSTALL_MALTA64 \
src/sys/arch/evbmips/conf/INSTALL_OCTEON \
src/sys/arch/evbmips/conf/INSTALL_OMSAL400
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/evbmips/conf/INSTALL_MALTA32 \
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_CI20
diff -u src/sys/arch/evbmips/conf/INSTALL_CI20:1.1 src/sys/arch/evbmips/conf/INSTALL_CI20:1.2
--- src/sys/arch/evbmips/conf/INSTALL_CI20:1.1	Mon Apr  6 14:18:09 2015
+++ src/sys/arch/evbmips/conf/INSTALL_CI20	Fri Jun  9 21:33:16 2023
@@ -1,12 +1,12 @@
-# $NetBSD: INSTALL_CI20,v 1.1 2015/04/06 14:18:09 joerg Exp $
+# $NetBSD: INSTALL_CI20,v 1.2 2023/06/09 21:33:16 gutteridge Exp $
 
 include		"arch/evbmips/conf/CI20"
 
-#ident 		"INSTALL_CI20-$Revision: 1.1 $"
+#ident 		"INSTALL_CI20-$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
-# the `ramdisk' image (which is built in distrib/evbmips/ramdisk/ramdisk).
+# the `ramdisk' image (which is built in distrib/evbmips/instkernel/ramdisk).
 pseudo-device	md# memory disk device
 options 	MEMORY_DISK_HOOKS
 options 	MEMORY_DISK_IS_ROOT		# force root on memory disk
Index: src/sys/arch/evbmips/conf/INSTALL_LOONGSON
diff -u src/sys/arch/evbmips/conf/INSTALL_LOONGSON:1.1 src/sys/arch/evbmips/conf/INSTALL_LOONGSON:1.2
--- src/sys/arch/evbmips/conf/INSTALL_LOONGSON:1.1	Mon Aug 29 18:32:18 2011
+++ src/sys/arch/evbmips/conf/INSTALL_LOONGSON	Fri Jun  9 21:33:16 2023
@@ -1,12 +1,12 @@
-# $NetBSD: INSTALL_LOONGSON,v 1.1 2011/08/29 18:32:18 bouyer Exp $
+# $NetBSD: INSTALL_LOONGSON,v 1.2 2023/06/09 21:33:16 gutteridge Exp $
 
 include		"arch/evbmips/conf/LOONGSON"
 
-#ident		"INSTALL_LOONGSON-$Revision: 1.1 $"   
+#ident		"INSTALL_LOONGSON-$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
-# the `ramdisk' image (which is built in distrib/evbmips/ramdisk/ramdisk).
+# the `ramdisk' image (which is built in distrib/evbmips/instkernel/ramdisk).
 pseudo-device	md# memory disk device
 options 	MEMORY_DISK_HOOKS
 options 	MEMORY_DISK_IS_ROOT		# force root on memory disk
Index: src/sys/arch/evbmips/conf/INSTALL_ZYXELKX
diff -u src/sys/arch/evbmips/conf/INSTALL_ZYXELKX:1.1 src/sys/arch/evbmips/conf/INSTALL_ZYXELKX:1.2
--- src/sys/arch/evbmips/conf/INSTALL_ZYXELKX:1.1	Wed Apr 30 01:01:04 2014
+++ src/sys/arch/evbmips/conf/INSTALL_ZYXELKX	Fri Jun  9 21:33:16 2023
@@ -1,12 +1,12 @@
-# $NetBSD: INSTALL_ZYXELKX,v 1.1 2014/04/30 01:01:04 matt Exp $
+# $NetBSD: INSTALL_ZYXELKX,v 1.2 2023/06/09 21:33:16 gutteridge Exp $
 
 include		"arch/evbmips/conf/ZYXELKX"
 
-#ident 		"INSTALL_ZYXELKX-$Revision: 1.1 $"
+#ident 		"INSTALL_ZYXELKX-$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
-# the `ramdisk' image (which is built in distrib/evbmips/ramdisk/ramdisk).
+# the `ramdisk' image (which is built in distrib/evbmips/instkernel/ramdisk).
 pseudo-device	md# memory disk device
 options 	MEMORY_DISK_HOOKS
 options 	MEMORY_DISK_IS_ROOT		# force root on memory disk

Index: src/sys/arch/evbmips/conf/INSTALL_CPMBR1400
diff -u src/sys/arch/evbmips/conf/INSTALL_CPMBR1400:1.2 src/sys/arch/evbmips/conf/INSTALL_CPMBR1400:1.3
--- src/sys/arch/evbmips/conf/INSTALL_CPMBR1400:1.2	Thu Jul 28 15:50:13 2011
+++ src/sys/arch/evbmips/conf/INSTALL_CPMBR1400	Fri Jun  9 21:33:16 2023
@@ -1,12 +1,12 @@
-# $NetBSD: INSTALL_CPMBR1400,v 1.2 2011/07/28 15:50:13 matt Exp $
+# $NetBSD: INSTALL_CPMBR1400,v 1.3 2023/06/09 21:33:16 gutteridge Exp $
 
 include		"arch/evbmips/conf/CPMBR1400"
 
-#ident 		"INSTALL_MALTA-$Revision: 1.2 $"
+#ident 		"INSTALL_MALTA-$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
-# the `ramdisk' image (which is built in 

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

2023-06-09 Thread David H. Gutteridge
Module Name:src
Committed By:   gutteridge
Date:   Fri Jun  9 21:33:16 UTC 2023

Modified Files:
src/sys/arch/evbmips/conf: INSTALL_CI20 INSTALL_CPMBR1400
INSTALL_LOONGSON INSTALL_MALTA INSTALL_MALTA32 INSTALL_MALTA64
INSTALL_OCTEON INSTALL_OMSAL400 INSTALL_XLSATX32 INSTALL_XLSATX64
INSTALL_ZYXELKX

Log Message:
INSTALL_*: correct a path in a comment


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/evbmips/conf/INSTALL_CI20 \
src/sys/arch/evbmips/conf/INSTALL_LOONGSON \
src/sys/arch/evbmips/conf/INSTALL_ZYXELKX
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/evbmips/conf/INSTALL_CPMBR1400 \
src/sys/arch/evbmips/conf/INSTALL_MALTA \
src/sys/arch/evbmips/conf/INSTALL_MALTA64 \
src/sys/arch/evbmips/conf/INSTALL_OCTEON \
src/sys/arch/evbmips/conf/INSTALL_OMSAL400
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/evbmips/conf/INSTALL_MALTA32 \
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.



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

2022-11-27 Thread Havard Eidnes
Module Name:src
Committed By:   he
Date:   Sun Nov 27 14:54:25 UTC 2022

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

Log Message:
Bump MSGBUFSIZE to 32k; 4k just about overflows "by default" with qemu
and mipssim-virtio machine type.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 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.7 src/sys/arch/evbmips/conf/MIPSSIM:1.8
--- src/sys/arch/evbmips/conf/MIPSSIM:1.7	Tue Nov 15 14:49:14 2022
+++ src/sys/arch/evbmips/conf/MIPSSIM	Sun Nov 27 14:54:25 2022
@@ -1,4 +1,4 @@
-# $NetBSD: MIPSSIM,v 1.7 2022/11/15 14:49:14 simonb Exp $
+# $NetBSD: MIPSSIM,v 1.8 2022/11/27 14:54:25 he Exp $
 #
 # Kernel config for the QEMU MIPS "mipssim" simulator
 #
@@ -8,7 +8,7 @@
 
 include 	"arch/evbmips/conf/std.mipssim"
 
-#ident 		"GENERIC-$Revision: 1.7 $"
+#ident 		"GENERIC-$Revision: 1.8 $"
 
 maxusers	32
 
@@ -25,6 +25,8 @@ options 	TCP_CSUM_COUNTERS
 options 	UDP_CSUM_COUNTERS
 options 	TCP_OUTPUT_COUNTERS
 
+options 	MSGBUFSIZE=32768 # need a bit more than 4K for virtio qemu
+
 options 	NTP		# network time protocol
 
 # Debugging options



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

2022-11-27 Thread Havard Eidnes
Module Name:src
Committed By:   he
Date:   Sun Nov 27 14:54:25 UTC 2022

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

Log Message:
Bump MSGBUFSIZE to 32k; 4k just about overflows "by default" with qemu
and mipssim-virtio machine type.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 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.



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

2022-11-15 Thread Simon Burge
Module Name:src
Committed By:   simonb
Date:   Tue Nov 15 14:49:14 UTC 2022

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

Log Message:
Enable CD9660; noticed by he@.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 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.6 src/sys/arch/evbmips/conf/MIPSSIM:1.7
--- src/sys/arch/evbmips/conf/MIPSSIM:1.6	Sun Aug  7 02:52:25 2022
+++ src/sys/arch/evbmips/conf/MIPSSIM	Tue Nov 15 14:49:14 2022
@@ -1,4 +1,4 @@
-# $NetBSD: MIPSSIM,v 1.6 2022/08/07 02:52:25 simonb Exp $
+# $NetBSD: MIPSSIM,v 1.7 2022/11/15 14:49:14 simonb Exp $
 #
 # Kernel config for the QEMU MIPS "mipssim" simulator
 #
@@ -8,7 +8,7 @@
 
 include 	"arch/evbmips/conf/std.mipssim"
 
-#ident 		"GENERIC-$Revision: 1.6 $"
+#ident 		"GENERIC-$Revision: 1.7 $"
 
 maxusers	32
 
@@ -61,7 +61,7 @@ file-system	FDESC		# user file descripto
 #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)



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

2022-11-15 Thread Simon Burge
Module Name:src
Committed By:   simonb
Date:   Tue Nov 15 14:49:14 UTC 2022

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

Log Message:
Enable CD9660; noticed by he@.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 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.



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

2021-11-15 Thread Simon Burge
Module Name:src
Committed By:   simonb
Date:   Tue Nov 16 06:46:41 UTC 2021

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

Log Message:
Use 50Hz ticks so that time works accurately on hosts with 100Hz ticks.

Note: The 20Kc CPU isn't handled correctly by QEMU, use the 5Kc CPU for
a 64-bit guest for accurate time.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 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.4 src/sys/arch/evbmips/conf/MIPSSIM:1.5
--- src/sys/arch/evbmips/conf/MIPSSIM:1.4	Tue Jun 15 16:43:48 2021
+++ src/sys/arch/evbmips/conf/MIPSSIM	Tue Nov 16 06:46:41 2021
@@ -1,4 +1,4 @@
-# $NetBSD: MIPSSIM,v 1.4 2021/06/15 16:43:48 nia Exp $
+# $NetBSD: MIPSSIM,v 1.5 2021/11/16 06:46:41 simonb Exp $
 #
 # Kernel config for the QEMU MIPS "mipssim" simulator
 #
@@ -8,7 +8,7 @@
 
 include 	"arch/evbmips/conf/std.mipssim"
 
-#ident 		"GENERIC-$Revision: 1.4 $"
+#ident 		"GENERIC-$Revision: 1.5 $"
 
 maxusers	32
 
@@ -16,7 +16,7 @@ options 	MIPS32
 options 	MIPS32R2
 options 	NOFPU		# No FPU
 options 	FPEMUL		# emulate FPU insn
-#options 	HZ=512		# for profiling
+options 	HZ=50		# half usual host speed
 
 #options 	LOCKDEBUG
 options 	SOSEND_COUNTERS



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

2021-11-15 Thread Simon Burge
Module Name:src
Committed By:   simonb
Date:   Tue Nov 16 06:46:41 UTC 2021

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

Log Message:
Use 50Hz ticks so that time works accurately on hosts with 100Hz ticks.

Note: The 20Kc CPU isn't handled correctly by QEMU, use the 5Kc CPU for
a 64-bit guest for accurate time.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 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.



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-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.



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-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.



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.



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-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.



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.



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

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.



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.



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.



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-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.



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-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.



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.



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.



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

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.



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 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.



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 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.



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

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.



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

2018-12-30 Thread Jason Thorpe



> On Dec 30, 2018, at 4:34 PM, Sevan Janiyan  wrote:
> 
> On 30/12/2018 16:16, Jason Thorpe wrote:
>> Maybe create a std.evmips that the various std. files can
>> include to get options that you want for everything?
> 
> Noted, I was thinking about the pull up to the 8 branch and making that
> as easy as possible. I don't have anything else further at the moment,
> should I go ahead any way?

I would say pull this up to -8, and then make another cleanup pass.

> 
> 
> Sevan

-- thorpej



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

2018-12-30 Thread Sevan Janiyan
On 30/12/2018 16:16, Jason Thorpe wrote:
> Maybe create a std.evmips that the various std. files can
> include to get options that you want for everything?

Noted, I was thinking about the pull up to the 8 branch and making that
as easy as possible. I don't have anything else further at the moment,
should I go ahead any way?


Sevan


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

2018-12-30 Thread Jason Thorpe



> On Dec 30, 2018, at 6:51 AM, Sevan Janiyan  wrote:
> 
> 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

Maybe create a std.evmips that the various std. files can include to get 
options that you want for everything?

-- thorpej



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-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.



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.



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.



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-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.



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.



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

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.



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: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.



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.



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-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.



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-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.



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

2017-08-08 Thread coypu
On Tue, Aug 08, 2017 at 12:22:21PM +, Maya Rashish wrote:
> 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."

Currently we do not do the empty jumps. the code claims it is flushing
the BTB but it's hard to tell as the docs are in Chinese.

Linux does this:
/*
 * Clear BTB (branch target buffer), forbid RAS (return address
 * stack) to workaround the Out-of-order Issue in Loongson2F
 * via its diagnostic register.
 */
movek0, ra
jal 1f
 nop
1:  jal 1f
 nop
1:  jal 1f
 nop
1:  jal 1f
 nop
1:  movera, k0
li  k0, 3
mtc0k0, $22

I've changed the code be effectively:
li k0, 3
mtc0 k0 $22

Also not sure if it's necessary to do on user_return...


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.



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.



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-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.



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

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.



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-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.



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-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.



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.



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.



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-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.



  1   2   3   >