From owner-svn-src-all@FreeBSD.ORG Fri Feb 27 19:23:56 2009 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 523EB106566C; Fri, 27 Feb 2009 19:23:56 +0000 (UTC) (envelope-from sam@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 405078FC22; Fri, 27 Feb 2009 19:23:56 +0000 (UTC) (envelope-from sam@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n1RJNut2080578; Fri, 27 Feb 2009 19:23:56 GMT (envelope-from sam@svn.freebsd.org) Received: (from sam@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n1RJNui7080576; Fri, 27 Feb 2009 19:23:56 GMT (envelope-from sam@svn.freebsd.org) Message-Id: <200902271923.n1RJNui7080576@svn.freebsd.org> From: Sam Leffler Date: Fri, 27 Feb 2009 19:23:56 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r189116 - head/tools/tools/nanobsd/gateworks X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Feb 2009 19:23:56 -0000 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)