svn commit: r189116 - head/tools/tools/nanobsd/gateworks

Sam Leffler sam at FreeBSD.org
Fri Feb 27 11:23:56 PST 2009


Author: sam
Date: Fri Feb 27 19:23:55 2009
New Revision: 189116
URL: http://svn.freebsd.org/changeset/base/189116

Log:
  o enable PREEMPTION
  o turn off a bunch of stuff that's unlikely to be used
  o add flash support
  o use mii instead of miibus to save space
  o enable tdma support
  o configure legacy usb as usb2 works only on 2348 w/ 64M configs

Modified:
  head/tools/tools/nanobsd/gateworks/G2348
  head/tools/tools/nanobsd/gateworks/G2358

Modified: head/tools/tools/nanobsd/gateworks/G2348
==============================================================================
--- head/tools/tools/nanobsd/gateworks/G2348	Fri Feb 27 19:21:35 2009	(r189115)
+++ head/tools/tools/nanobsd/gateworks/G2348	Fri Feb 27 19:23:55 2009	(r189116)
@@ -21,7 +21,7 @@ makeoptions	DEBUG=-g		#Build kernel with
 makeoptions	CONF_CFLAGS=-mcpu=xscale
 
 options		HZ=100
-options		DEVICE_POLLING
+#options		DEVICE_POLLING
 
 # Debugging for use in -current
 options		KDB
@@ -33,22 +33,22 @@ options 	DDB			#Enable the kernel debugg
 #options		DIAGNOSTIC
 
 options 	SCHED_4BSD		#4BSD scheduler
-#options		PREEMPTION
+options		PREEMPTION
 
 options 	INET			#InterNETworking
 #options 	INET6			#IPv6 communications protocols
 options 	FFS			#Berkeley Fast Filesystem
-options 	SOFTUPDATES		#Enable FFS soft updates support
+#options 	SOFTUPDATES		#Enable FFS soft updates support
 #options 	UFS_ACL			#Support for access control lists
-options 	UFS_DIRHASH		#Improve performance on big directories
+#options 	UFS_DIRHASH		#Improve performance on big directories
 options 	NFSCLIENT		#Network Filesystem Client
 options 	NFSLOCKD		#Network Lock Manager
 options 	KTRACE			#ktrace(1) support
-options 	SYSVSHM			#SYSV-style shared memory
-options 	SYSVMSG			#SYSV-style message queues
-options 	SYSVSEM			#SYSV-style semaphores
+#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 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev
+#options 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev
 #options		VERBOSE_SYSINIT
 
 #device		saarm
@@ -56,18 +56,20 @@ options 	KBD_INSTALL_CDEV	# install a CD
 device		pci
 device		uart
 
-# I2C Bus
+# I2C support
 device		iicbus
 device		iicbb
 device		iic
-
 device		ixpiic
-device		ixpwdog		# watchdog timer
-device		ds1672		# DS1672 on I2C bus
-device		ad7418		# AD7418 on I2C bus
+device		ds1672		# DS1672 on ipxiic
+device		ad7418		# AD7418 on ipxiic
 
+device		ixpwdog		# watchdog timer
 device		avila_led
 
+device		cfi		# flash support
+#options		CFI_SUPPORT_STRATAFLASH
+
 device		ata
 device		atadisk         # ATA disk drives
 device		avila_ata	# Gateworks CF/IDE support
@@ -76,7 +78,7 @@ device		npe		# Network Processing Engine
 device		npe_fw
 device		firmware
 device		qmgr		# Q Manager (required by npe)
-device		miibus		# NB: required by npe
+device		mii		# NB: required by npe
 device		ether
 device		bpf
 
@@ -91,12 +93,14 @@ device          random          # Entrop
 device		wlan		# 802.11 support
 options		IEEE80211_DEBUG		# enable debugging msgs
 options		IEEE80211_AMPDU_AGE	# age frames in AMPDU reorder q's
+options		IEEE80211_SUPPORT_TDMA
 device		wlan_wep	# 802.11 WEP support
 device		wlan_ccmp	# 802.11 CCMP support
 device		wlan_tkip	# 802.11 TKIP support
 
 device		ath		# Atheros pci/cardbus NIC's
 device		ath_rate_sample	# SampleRate tx rate control for ath
+options		ATH_SUPPORT_TDMA
 options		ATH_DEBUG	# enable athdebug msgs
 options		ATH_DIAGAPI	# enable api for athregs
 
@@ -105,16 +109,16 @@ options		AH_DEBUG
 #options		AH_ASSERT
 options		AH_SUPPORT_AR5416
 
-#device		crypto
-#device		cryptodev
-#device		hifn		# NB: Soekris minipci card known to work
-
-device		usb
-options 	USB_DEBUG
-device		uhci
-device		ohci
-device		ehci
-device		ugen
-device		umass
-device		scbus		# SCSI bus (required for SCSI)
-device		da		# Direct Access (disks)
+# NB: must use old usb stack; new one does not work
+makeoptions	WITH_LEGACY	# NB: required to get includes
+device		ousb
+#options		USB_DEBUG
+device		oohci
+device		oehci
+device		ougen
+
+device		oaxe
+
+device		oumass
+device		scbus           # SCSI bus (required for SCSI)
+device		da              # Direct Access (disks)

Modified: head/tools/tools/nanobsd/gateworks/G2358
==============================================================================
--- head/tools/tools/nanobsd/gateworks/G2358	Fri Feb 27 19:21:35 2009	(r189115)
+++ head/tools/tools/nanobsd/gateworks/G2358	Fri Feb 27 19:23:55 2009	(r189116)
@@ -21,7 +21,7 @@ makeoptions	DEBUG=-g		#Build kernel with
 makeoptions	CONF_CFLAGS=-mcpu=xscale
 
 options		HZ=100
-options		DEVICE_POLLING
+#options		DEVICE_POLLING
 
 # Debugging for use in -current
 options		KDB
@@ -33,22 +33,22 @@ options 	DDB			#Enable the kernel debugg
 #options		DIAGNOSTIC
 
 options 	SCHED_4BSD		#4BSD scheduler
-#options		PREEMPTION
+options		PREEMPTION
 
 options 	INET			#InterNETworking
 #options 	INET6			#IPv6 communications protocols
 options 	FFS			#Berkeley Fast Filesystem
-options 	SOFTUPDATES		#Enable FFS soft updates support
+#options 	SOFTUPDATES		#Enable FFS soft updates support
 #options 	UFS_ACL			#Support for access control lists
-options 	UFS_DIRHASH		#Improve performance on big directories
+#options 	UFS_DIRHASH		#Improve performance on big directories
 options 	NFSCLIENT		#Network Filesystem Client
 options 	NFSLOCKD		#Network Lock Manager
 options 	KTRACE			#ktrace(1) support
-options 	SYSVSHM			#SYSV-style shared memory
-options 	SYSVMSG			#SYSV-style message queues
-options 	SYSVSEM			#SYSV-style semaphores
+#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 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev
+#options 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev
 #options		VERBOSE_SYSINIT
 
 #device		saarm
@@ -56,23 +56,25 @@ options 	KBD_INSTALL_CDEV	# install a CD
 device		pci
 device		uart
 
-# I2C Bus
+# I2C support
 device		iicbus
 device		iicbb
 device		iic
-
 device		ixpiic
-device		ixpwdog		# watchdog timer
-device		ds1672		# DS1672 on I2C bus
-device		ad7418		# AD7418 on I2C bus
+device		ds1672		# DS1672 on ipxiic
+device		ad7418		# AD7418 on ipxiic
 
-device		cambria_led
-device		cambria_fled
+device		ixpwdog		# watchdog timer
+device		cambria_fled	# front panel led
+device		cambria_led	# octal led latch
 
 device		ata
 device		atadisk         # ATA disk drives
 device		avila_ata	# Gateworks CF/IDE support
 
+device		cfi		# flash support
+#options		CFI_SUPPORT_STRATAFLASH
+
 device		npe		# Network Processing Engine
 device		npe_fw
 device		firmware
@@ -92,6 +94,7 @@ device          random          # Entrop
 device		wlan		# 802.11 support
 options		IEEE80211_DEBUG		# enable debugging msgs
 options		IEEE80211_AMPDU_AGE	# age frames in AMPDU reorder q's
+options		IEEE80211_SUPPORT_TDMA
 device		wlan_wep	# 802.11 WEP support
 device		wlan_ccmp	# 802.11 CCMP support
 device		wlan_tkip	# 802.11 TKIP support
@@ -100,6 +103,7 @@ device		ath		# Atheros pci/cardbus NIC's
 device		ath_rate_sample	# SampleRate tx rate control for ath
 options		ATH_DEBUG	# enable athdebug msgs
 options		ATH_DIAGAPI	# enable api for athregs
+options		ATH_SUPPORT_TDMA
 
 device		ath_hal		# Atheros HAL (includes binary component)
 options		AH_DEBUG
@@ -110,12 +114,15 @@ options		AH_SUPPORT_AR5416
 #device		cryptodev
 #device		hifn		# NB: Soekris minipci card known to work
 
-device		usb
-options 	USB_DEBUG
-device		uhci
-device		ohci
-device		ehci
-device		ugen
-device		umass
-device		scbus		# SCSI bus (required for SCSI)
-device		da		# Direct Access (disks)
+# NB: must use old usb stack; new one does not work
+#device		ousb
+#options		USB_DEBUG
+#device		oohci
+#device		oehci
+#device		ougen
+
+#device		oaxe
+
+#device		umass
+#device		scbus           # SCSI bus (required for SCSI)
+#device		da              # Direct Access (disks)


More information about the svn-src-head mailing list