Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Apr 2009 01:13:19 +0200
From:      Bernd Walter <ticso@cicely7.cicely.de>
To:        Hans Petter Selasky <hselasky@c2i.net>
Cc:        freebsd-arm@freebsd.org, Bernd Walter <ticso@cicely7.cicely.de>, ticso@cicely.de
Subject:   Re: no da* with umass on RM9200
Message-ID:  <20090418231319.GG16463@cicely7.cicely.de>
In-Reply-To: <200904182212.52142.hselasky@c2i.net>
References:  <20090418190824.GC16463@cicely7.cicely.de> <200904182212.52142.hselasky@c2i.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Apr 18, 2009 at 10:12:51PM +0200, Hans Petter Selasky wrote:
> On Saturday 18 April 2009, Bernd Walter wrote:
> > Just updated to recent current today - mainly to try the new USB code
> > on RM9200.
> > USB devices are detected fine, but with umass I don't get any disk
> > devices, although support for pass and da is compiled into the kernel.
> > I tried a few different umass flash reader, which are all know to work.
> >
> 
> The new USB code also supports the UDP (USB Device Port).
> 
> How does your kernel config file look?

# BWCT -- Custom kernel configuration for the AT91RM9200 boards from bwct.de.
#
# For more information on this file, please read the handbook section on
# Kernel Configuration Files:
#
#    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: head/sys/arm/conf/BWCT 188944 2009-02-23 18:34:56Z thompsa $

ident		BWCT

options	VERBOSE_INIT_ARM

options		AT91_BWCT
include		"../at91/std.bwct"

#To statically compile in device wiring instead of /boot/device.hints
#hints		"hints.at91rm9200"
hints		"BWCT.hints"
makeoptions	MODULES_OVERRIDE=""

#makeoptions	DEBUG=-g		#Build kernel with gdb(1) debug symbols
#options		DDB
#options		KDB
#options 	BREAK_TO_DEBUGGER
#options 	ALT_BREAK_TO_DEBUGGER

device		at91rm9200
options		HZ=1024
options 	SCHED_4BSD		#4BSD scheduler
options 	INET			#InterNETworking
#options 	INET6			#IPv6 communications protocols
options 	FFS			#Berkeley Fast Filesystem
options 	SOFTUPDATES		#Enable FFS soft updates support
#options 	UFS_ACL			#Support for access control lists
#options 	UFS_DIRHASH		#Improve performance on big directories
#options 	MD_ROOT			#MD is a potential root device
#options	MD_ROOT_SIZE=4096	# 3MB ram disk
#options 	ROOTDEVNAME=\"ufs:md0\"
options 	ROOTDEVNAME=\"ufs:/dev/mmcsd0s1a\"
options 	NFSCLIENT		#Network Filesystem Client
#options 	NFSSERVER		#Network Filesystem Server
#options 	NFSLOCKD		#Network Lock Manager
options		NFS_ROOT		#NFS usable as /, requires NFSCLIENT
options		BOOTP_NFSROOT
options		BOOTP
options         LIBALIAS
options         IPFIREWALL
options         IPFIREWALL_VERBOSE
options         IPFIREWALL_DEFAULT_TO_ACCEPT
options         IPFIREWALL_FORWARD
options         IPFIREWALL_NAT          #ipfw kernel nat support
options         IPDIVERT
options         DUMMYNET

#options 	MSDOSFS			#MSDOS Filesystem
#options 	CD9660			#ISO 9660 Filesystem
#options 	PROCFS			#Process filesystem (requires PSEUDOFS)
options 	PSEUDOFS		#Pseudo-filesystem framework
#options 	SCSI_DELAY=5000		#Delay (in ms) before probing SCSI
#options 	KTRACE			#ktrace(1) support
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 	SYSCTL_OMIT_DESCR
options 	MUTEX_NOINLINE
options		RWLOCK_NOINLINE
options 	NO_FFS_SNAPSHOT
options 	NO_SWAPPING
device		loop
device		random
device		gif
device		ether
device		vlan
device		pty
device		uart
device		ate
device		mii
device		rlswitch

# Debugging for use in -current
#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		DIAGNOSTIC

options         NETGRAPH
options         NETGRAPH_ETHER
options         NETGRAPH_GIF
options         NETGRAPH_GIF_DEMUX
options         NETGRAPH_IFACE
options         NETGRAPH_KSOCKET
options         NETGRAPH_SOCKET
options         NETGRAPH_PPPOE
#options        NETGRAPH_BRIDGE
options         NETGRAPH_PPP
options         NETGRAPH_BPF
options         NETGRAPH_TCPMSS
options         NETGRAPH_VJC
options         NETGRAPH_PPTPGRE
# MPPC compression requires proprietary files (not included)
#options        NETGRAPH_MPPC_COMPRESSION
options         NETGRAPH_MPPC_ENCRYPTION
options         NETGRAPH_L2TP
#options        NETGRAPH_DEFLATE

device		md
device		at91_twi		# TWI: Two Wire Interface
device		at91_spi		# SPI:
device		at91_ssc
device		at91_mci
device		mmc			# mmc/sd bus
device		mmcsd			# mmc/sd flash cards
# iic
device		iic
device		iicbus
device		ds1672		# DS1672 on I2C bus
#device		iicsmb			# smb over i2c bridge
#device		smbus			# Bus support, required for smb below.
#device		smb
# SPI bus
device		spibus
#device  	at45d		# at45db642 and maybe others

device		bpf		# Berkeley packet filter

# SCSI peripherals
device          scbus           # SCSI bus (required for SCSI)
device          da              # Direct Access (disks)
device          cd              # CD
device          pass            # Passthrough device (direct SCSI access)

#options USB_DEBUG
device		ohci
device		usb
device		umass		# Disks/Mass storage - Requires scbus and da
device          ulpt            # Printer
device          ucom
device          uftdi
device          uplcom

-- 
B.Walter <bernd@bwct.de> http://www.bwct.de
Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm.



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