Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Jan 2014 20:50:01 GMT
From:      dfilter@FreeBSD.ORG (dfilter service)
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: kern/181975: commit references a PR
Message-ID:  <201401052050.s05Ko1cn024980@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/181975; it has been noted by GNATS.

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: kern/181975: commit references a PR
Date: Sun,  5 Jan 2014 20:44:18 +0000 (UTC)

 Author: ian
 Date: Sun Jan  5 20:44:10 2014
 New Revision: 260333
 URL: http://svnweb.freebsd.org/changeset/base/260333
 
 Log:
   Enable the cesa security/crypto device by providing the required property
   in the dts source, and adding the right devices to the kernel config. Also
   generally bring the kernel config into line with what we have for other
   Marvell/Kirkwood systems (add lots of useful devices and options).
   
   One particularly notable addition amongst the kernel config changes is
   USB_HOST_ALIGN=32, which may help eliminate data corruption on USB drives.
   
   PR:		kern/181975 arm/162159
 
 Modified:
   head/sys/arm/conf/DOCKSTAR
   head/sys/boot/fdt/dts/dockstar.dts
 
 Modified: head/sys/arm/conf/DOCKSTAR
 ==============================================================================
 --- head/sys/arm/conf/DOCKSTAR	Sun Jan  5 20:33:44 2014	(r260332)
 +++ head/sys/arm/conf/DOCKSTAR	Sun Jan  5 20:44:10 2014	(r260333)
 @@ -3,73 +3,165 @@
  #
  # $FreeBSD$
  #
 +#    http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
 +#
 +# The handbook is also available locally in /usr/share/doc/handbook
 +# if you've installed the doc distribution, otherwise always see the
 +# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
 +# latest information.
 +#
 +# An exhaustive list of options and more detailed explanations of the
 +# device lines is also present in the ../../conf/NOTES and NOTES files. 
 +# If you are in doubt as to the purpose or necessity of a line, check first 
 +# in NOTES.
 +#
 +# $FreeBSD$
 +#
  
  ident		DOCKSTAR
 +
  include		"../mv/kirkwood/std.db88f6xxx"
  
 -options 	SOC_MV_KIRKWOOD
 +makeoptions	FDT_DTS_FILE=dockstar.dts
 +
  makeoptions	MODULES_OVERRIDE=""
  
 -#makeoptions	DEBUG=-g		#Build kernel with gdb(1) debug symbols
 -makeoptions	WERROR="-Werror"
 +options 	SOC_MV_KIRKWOOD
  
  options 	SCHED_4BSD		#4BSD scheduler
  options 	INET			#InterNETworking
  options 	INET6			#IPv6 communications protocols
 +options 	SOFTUPDATES
 +options 	CD9660			#ISO 9660 filesystem
  options 	FFS			#Berkeley Fast Filesystem
 -options 	NFSCL			#New Network Filesystem Client
 -options 	NFSLOCKD		#Network Lock Manager
 -options 	NFS_ROOT		#NFS usable as /, requires NFSCL
 -options 	BOOTP
 -options 	BOOTP_NFSROOT
 -options 	BOOTP_NFSV3
 -options 	BOOTP_COMPAT
 -options 	BOOTP_WIRED_TO=mge0
 -
 -# Root fs on USB device
 -#options        ROOTDEVNAME=\"ufs:/dev/da0a\"
 -
 +options 	MSDOSFS			#MS DOS File System (FAT, FAT32)
 +options 	NULLFS			#NULL filesystem
 +options 	TMPFS			#Efficient memory filesystem
  options 	SYSVSHM			#SYSV-style shared memory
  options 	SYSVMSG			#SYSV-style message queues
  options 	SYSVSEM			#SYSV-style semaphores
  options 	_KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions
 -options 	MUTEX_NOINLINE
 -options 	RWLOCK_NOINLINE
 -options 	NO_FFS_SNAPSHOT
 -options 	NO_SWAPPING
 +options 	GEOM_ELI		# Disk encryption.
 +options 	GEOM_LABEL		# Providers labelization.
 +options 	GEOM_PART_GPT		# GPT partitioning
  
 -# Debugging
 -options 	ALT_BREAK_TO_DEBUGGER
 -options 	DDB
 -options 	KDB
 +# Flattened Device Tree
 +device		fdt
 +options 	FDT
 +options 	FDT_DTB_STATIC
 +
 +# Misc pseudo devices
 +device		bpf			#Required for DHCP
 +device  	faith			#IPv6-to-IPv4 relaying (translation)
 +device  	firmware		#firmware(9) required for USB wlan
 +device  	gif			#IPv6 and IPv4 tunneling
 +device		loop			#Network loopback
 +device  	md			#Memory/malloc disk
 +device		pty			#BSD-style compatibility pseudo ttys
 +device		random			#Entropy device
 +device  	tun			#Packet tunnel.
 +device		ether			#Required for all ethernet devices
 +device  	vlan			#802.1Q VLAN support
 +device		wlan			#802.11 WLAN support
  
 -# Pseudo devices
 -device		md
 -device		random
 -device		loop
 +# cam support for umass and ahci
 +device		scbus
 +device		pass
 +device		da
  
  # Serial ports
  device		uart
  
  # Networking
 -device		ether
  device		mge			# Marvell Gigabit Ethernet controller
  device		mii
 -device		bpf
 -options 	HZ=1000
 -options 	DEVICE_POLLING
 -device		vlan
 +device		e1000phy
  
  # USB
 -options 	USB_DEBUG	# enable debug msgs
 -device		usb
 -device		ehci
 -device		umass
 -device		scbus
 -device		pass
 -device		da
 +options 	USB_HOST_ALIGN=32	# Align DMA to cacheline
 +#options	USB_DEBUG       	# Compile in USB debug support
 +device  	usb  			# Basic usb support			
 +device  	ehci 			# USB host controller
 +device  	umass			# Mass storage
 +device  	uhid 			# Human-interface devices
 +device  	rum  			# Ralink Technology RT2501USB wireless NICs
 +device  	uath 			# Atheros AR5523 wireless NICs
 +device  	ural 			# Ralink Technology RT2500USB wireless NICs
 +device  	zyd  			# ZyDAS zb1211/zb1211b wireless NICs
 +device  	urtw 			# Realtek RTL8187B/L USB
 +device  	upgt 			# Conexant/Intersil PrismGT SoftMAC USB
 +device  	u3g  			# USB-based 3G modems (Option, Huawei, Sierra)
 +
 +# I2C (TWSI)
 +device		iic
 +device		iicbus
 +
 +# Sound
 +device 		sound
 +device 		snd_uaudio
 +
 +#crypto
 +device  	cesa			# Marvell security engine
 +device  	crypto
 +device  	cryptodev
 +
 +# IPSec
 +device  	enc
 +options  	IPSEC
 +options  	IPSEC_NAT_T
 +options  	TCP_SIGNATURE           #include support for RFC 2385
 +
 +# IPFW
 +options  	IPFIREWALL
 +options  	IPFIREWALL_DEFAULT_TO_ACCEPT
 +options  	IPFIREWALL_VERBOSE
 +options  	IPFIREWALL_VERBOSE_LIMIT=100
 +options  	IPFIREWALL_NAT
 +options  	LIBALIAS
 +options  	DUMMYNET
 +options  	IPDIVERT
 +
 +#PF 
 +device  	pf
 +device  	pflog
 +device  	pfsync
 +
 +# ALTQ, required for PF
 +options  	ALTQ      	      # Basic ALTQ support
 +options  	ALTQ_CBQ  	      # Class Based Queueing
 +options  	ALTQ_RED  	      # Random Early Detection
 +options  	ALTQ_RIO  	      # RED In/Out
 +options  	ALTQ_HFSC 	      # Hierarchical Packet Scheduler
 +options  	ALTQ_CDNR 	      # Traffic conditioner
 +options  	ALTQ_PRIQ 	      # Priority Queueing
 +options  	ALTQ_NOPCC	      # Required if the TSC is unusable
 +#options 	ALTQ_DEBUG
 +
 +# Debugging
 +makeoptions 	DEBUG=-g		#Build kernel with gdb(1) debug symbols
 +options 	BREAK_TO_DEBUGGER
 +options 	ALT_BREAK_TO_DEBUGGER
 +options 	DDB
 +options 	KDB
 +options 	DIAGNOSTIC
 +options 	INVARIANTS		#Enable calls of extra sanity checking
 +options 	INVARIANT_SUPPORT	#Extra sanity checks of internal structures, required by INVARIANTS
 +#options 	WITNESS			#Enable checks to detect deadlocks and cycles
 +#options 	WITNESS_SKIPSPIN	#Don't run witness on spinlocks for speed
 +#options 	WITNESS_KDB
 +
 +# Enable these options for nfs root configured via BOOTP.
 +options 	NFSCL			#Network Filesystem Client
 +options 	NFSLOCKD		#Network Lock Manager
 +#options 	NFS_ROOT		#NFS usable as /, requires NFSCLIENT
 +#options 	BOOTP
 +#options 	BOOTP_NFSROOT
 +#options 	BOOTP_NFSV3
 +#options 	BOOTP_WIRED_TO=mge0
 +
 +# If not using BOOTP, use something like one of these...
 +#options 	ROOTDEVNAME=\"ufs:/dev/da0a\"
 +options 	ROOTDEVNAME=\"ufs:/dev/da0s1a\"
 +#options 	ROOTDEVNAME=\"ufs:/dev/da0p10\"
 +#options 	ROOTDEVNAME=\"nfs:192.168.0.254/dreamplug\"
  
 -# Flattened Device Tree
 -options 	FDT
 -options 	FDT_DTB_STATIC
 -makeoptions	FDT_DTS_FILE=dockstar.dts
 
 Modified: head/sys/boot/fdt/dts/dockstar.dts
 ==============================================================================
 --- head/sys/boot/fdt/dts/dockstar.dts	Sun Jan  5 20:33:44 2014	(r260332)
 +++ head/sys/boot/fdt/dts/dockstar.dts	Sun Jan  5 20:44:10 2014	(r260333)
 @@ -209,6 +209,8 @@
  			reg = <0x30000 0x10000>;
  			interrupts = <22>;
  			interrupt-parent = <&PIC>;
 +
 +			sram-handle = <&SRAM>;
  		};
  
  		usb@50000 {
 _______________________________________________
 svn-src-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401052050.s05Ko1cn024980>