[Zrouter-src] ZRouter.org: push to ZRouter socs/Cavium/CN5010/soc.mk

zrouter-src at zrouter.org zrouter-src at zrouter.org
Tue Dec 6 22:57:25 UTC 2011


details:   http://zrouter.org/hg/zrouter//rev/fed307809604
changeset: 250:fed307809604
user:      ray at terran.dlink.ua
date:      Wed Dec 07 00:57:29 2011 +0200
description:
Cavium CN5010 SoC
MIPS64 CPU
Used in D-Link:
DSR-500
DSR-500N
DSR-1000
DSR-1000

diffstat:

 socs/Cavium/CN5010/soc.mk |  116 ++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 116 insertions(+), 0 deletions(-)

diffs (120 lines):

diff -r f09dd113530c -r fed307809604 socs/Cavium/CN5010/soc.mk
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/socs/Cavium/CN5010/soc.mk	Wed Dec 07 00:57:29 2011 +0200
@@ -0,0 +1,116 @@
+
+#XXX testing
+LZMA=lzma
+KERNEL_PATH=/usr/obj/kernel
+
+TARGET=			mips
+TARGET_ARCH=		mips64eb
+
+KERNCONF_MACHINE=	${TARGET} ${TARGET_ARCH}
+KERNCONF_IDENT?=	CN5010
+KERNCONF_CPU=		CPU_CNMIPS
+KERNCONF_OPTIONS+=	ISA_MIPS64
+KERNCONF_OPTIONS+=	OCTEON_VENDOR_D_LINK
+KERNCONF_OPTIONS+=	OCTEON_BOARD_DSR_1000N
+KERNCONF_FILES+=	"../cavium/files.octeon1"
+KERNCONF_HINTS=		"OCTEON1.hints"
+
+KERNCONF_MAKEOPTIONS+=	"ARCH_FLAGS=\"-march=octeon -mabi=64\""
+KERNCONF_MAKEOPTIONS+=	"MIPS_BIG_ENDIAN=defined"
+KERNCONF_MAKEOPTIONS+=	"LDSCRIPT_NAME=ldscript.mips.octeon1"
+KERNCONF_MAKEOPTIONS+=	"KERNLOADADDR=0xffffffff80100000"
+
+KERNCONF_OPTIONS+=	MALLOC_DEBUG_MAXZONES=8
+
+KERNCONF_OPTIONS+=		SMP
+KERNCONF_OPTIONS+=		MAXUSERS=3
+KERNCONF_OPTIONS+=		MAXFILES=512
+KERNCONF_OPTIONS+=		NSFBUFS=1024
+KERNCONF_OPTIONS+=		SHMALL=128
+KERNCONF_OPTIONS+=		MSGBUF_SIZE=65536
+
+# Options for making kernel smallest 
+KERNCONF_OPTIONS+=		NO_SYSCTL_DESCR
+KERNCONF_OPTIONS+=		NO_FFS_SNAPSHOT
+KERNCONF_OPTIONS+=		SCSI_NO_SENSE_STRINGS
+KERNCONF_OPTIONS+=		SCSI_NO_OP_STRINGS
+
+# Debug definitions
+##KERNCONF_MAKEOPTIONS+=	"DEBUG=-g"
+KERNCONF_OPTIONS+=		DDB
+KERNCONF_OPTIONS+=		KDB
+##KERNCONF_OPTIONS+=		KTRACE
+#KERNCONF_OPTIONS+=		LOCK_PROFILING
+#KERNCONF_OPTIONS+=		KTR
+
+KERNCONF_OPTIONS+=		PREEMPTION
+
+# Board definitions
+KERNCONF_OPTIONS+=	INET
+KERNCONF_OPTIONS+= 	IPSTEALTH
+KERNCONF_OPTIONS+= 	CD9660
+#KERNCONF_OPTIONS+= 	GEOM_LABEL
+KERNCONF_OPTIONS+= 	SCHED_ULE
+#KERNCONF_OPTIONS+= 	SCHED_4BSD
+#KERNCONF_OPTIONS+= 	NFSCLIENT
+#KERNCONF_OPTIONS+= 	NFS_ROOT
+KERNCONF_OPTIONS+= 	PSEUDOFS
+KERNCONF_OPTIONS+=	IPFIREWALL_DEFAULT_TO_ACCEPT
+KERNCONF_OPTIONS+= 	ZERO_COPY_SOCKETS
+KERNCONF_OPTIONS+=	_KPOSIX_PRIORITY_SCHEDULING
+KERNCONF_OPTIONS+=		ROOTDEVNAME=\\\"cd9660:/dev/map/rootfs.uncompress\\\"
+
+KERNCONF_DEVICES+=	random
+KERNCONF_DEVICES+=	loop
+KERNCONF_DEVICES+=	pty
+KERNCONF_DEVICES+=	ether
+KERNCONF_DEVICES+=	bpf
+KERNCONF_DEVICES+=	vlan
+KERNCONF_DEVICES+=	uart
+KERNCONF_DEVICES+=	tun
+
+KERNCONF_DEVICES+=	pci
+
+KERNCONF_DEVICES+=	mii
+KERNCONF_DEVICES+=	octe
+KERNCONF_DEVICES+=	octm
+KERNCONF_DEVICES+=	octeon_wdog
+
+
+KERNCONF_DEVICES+=	gpio
+KERNCONF_DEVICES+=	gpioled
+
+KERNCONF_DEVICES+=	cfi
+KERNCONF_DEVICES+=	cfid
+#KERNCONF_DEVICES+=	nvram2env
+KERNCONF_DEVICES+=	geom_map
+KERNCONF_DEVICES+=	geom_uncompress
+
+
+KERNCONF_OPTIONS+=	SCSI_DELAY=1000
+
+.if defined(WITH_IPSEC)
+KERNCONF_OPTIONS+=         IPSEC
+KERNCONF_OPTIONS+=         IPSEC_NAT_T
+
+KERNCONF_DEVICES+=		enc
+#KERNCONF_DEVICES+=		gif
+KERNCONF_DEVICES+=		ipsec
+KERNCONF_DEVICES+=		crypto
+KERNCONF_DEVICES+=		cryptodev	# /dev/crypto for access to h/w
+KERNCONF_DEVICES+=		cryptocteon
+
+##KERNCONF_DEVICES+=		rndtest		# FIPS 140-2 entropy tester
+.endif
+
+.if defined(WITH_USB)
+KERNCONF_DEVICES+=	usb
+#KERNCONF_OPTIONS+=	USB_DEBUG
+KERNCONF_DEVICES+=	cndotg
+.endif
+
+
+
+
+
+


More information about the Zrouter-src mailing list