summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorticso <ticso@FreeBSD.org>2007-01-05 02:08:35 +0000
committerticso <ticso@FreeBSD.org>2007-01-05 02:08:35 +0000
commitb2a331b15eb8607e44f1b5570712db1d50966ee2 (patch)
tree0bc87d358349768e9df0ba1bc297a5c368f6a374
parent616c9e84da12e71f9d08ef3aba7f284cde45dfc4 (diff)
downloadFreeBSD-src-b2a331b15eb8607e44f1b5570712db1d50966ee2.zip
FreeBSD-src-b2a331b15eb8607e44f1b5570712db1d50966ee2.tar.gz
MFp4: add BWCT kernel configuration
-rw-r--r--sys/arm/conf/BWCT116
-rw-r--r--sys/arm/conf/BWCT.hints9
-rw-r--r--sys/conf/options.arm1
3 files changed, 126 insertions, 0 deletions
diff --git a/sys/arm/conf/BWCT b/sys/arm/conf/BWCT
new file mode 100644
index 0000000..3b5a8244
--- /dev/null
+++ b/sys/arm/conf/BWCT
@@ -0,0 +1,116 @@
+# 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$
+
+machine arm
+ident BWCT
+
+options VERBOSE_INIT_ARM
+
+options AT91_BWCT
+include "../at91/std.kb920x"
+
+#To statically compile in device wiring instead of /boot/device.hints
+hints "hints.at91rm9200"
+hints "BWCT.hints"
+
+#makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols
+options DDB
+options KDB
+options BREAK_TO_DEBUGGER
+options ALT_BREAK_TO_DEBUGGER
+
+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 NFS_ROOT #NFS usable as /, requires NFSCLIENT
+options BOOTP_NFSROOT
+options BOOTP
+
+#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 genclock
+device loop
+device random
+device ether
+device vlan
+device pty
+device nexus
+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
+
+device mem # Memory and kernel memory devices
+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
+
+#options USB_DEBUG
+#device ohci
+#device usb
+#device ugen
+#device umass # Disks/Mass storage - Requires scbus and da
+
+#device at91_qdmmc
diff --git a/sys/arm/conf/BWCT.hints b/sys/arm/conf/BWCT.hints
new file mode 100644
index 0000000..d127778
--- /dev/null
+++ b/sys/arm/conf/BWCT.hints
@@ -0,0 +1,9 @@
+# $FreeBSD$
+
+# Dallas Semiconductor DS1672 RTC sitting on the I2C bus
+hint.ds1672.0.at="iicbus0"
+hint.ds1672.0.addr=0xd0
+
+# NAtional Semiconductor LM75 temperature sensor sitting on the I2C bus
+hint.lm75.0.at="iicbus0"
+hint.lm75.0.addr=0x9e
diff --git a/sys/conf/options.arm b/sys/conf/options.arm
index 26fbf0b..cc20453 100644
--- a/sys/conf/options.arm
+++ b/sys/conf/options.arm
@@ -19,5 +19,6 @@ STARTUP_PAGETABLE_ADDR opt_global.h
XSCALE_CACHE_READ_WRITE_ALLOCATE opt_global.h
XSACLE_DISABLE_CCNT opt_timer.h
VERBOSE_INIT_ARM opt_global.h
+AT91_BWCT opt_at91.h
AT91_TSC opt_at91.h
AT91_KWIKBYTE opt_at91.h
OpenPOWER on IntegriCloud