summaryrefslogtreecommitdiffstats
path: root/sys/arm/conf
diff options
context:
space:
mode:
authoremax <emax@FreeBSD.org>2010-09-08 19:50:47 +0000
committeremax <emax@FreeBSD.org>2010-09-08 19:50:47 +0000
commitbaa1b2ead9f286d654cb83e970e87b92fd08f5e4 (patch)
tree41728f649f31fdd208bf99d27166e1c31024fae7 /sys/arm/conf
parent04e78f792b67eaf98e1cb3ccbee56c317030b616 (diff)
downloadFreeBSD-src-baa1b2ead9f286d654cb83e970e87b92fd08f5e4.zip
FreeBSD-src-baa1b2ead9f286d654cb83e970e87b92fd08f5e4.tar.gz
Add custom kernel configuration and device tree source files for
Seagate FreeAgent DockStar(tm) device. It seems to be a dumb down version of Marvell SheevaPlug. Device tree source file could use more tweaking, but at least it wll network boot and run FreeBSD/arm.
Diffstat (limited to 'sys/arm/conf')
-rw-r--r--sys/arm/conf/DOCKSTAR76
1 files changed, 76 insertions, 0 deletions
diff --git a/sys/arm/conf/DOCKSTAR b/sys/arm/conf/DOCKSTAR
new file mode 100644
index 0000000..780cb78
--- /dev/null
+++ b/sys/arm/conf/DOCKSTAR
@@ -0,0 +1,76 @@
+#
+# Custom kernel for Seagate DockStar (Marvell SheevaPlug based) devices.
+#
+# $FreeBSD$
+#
+
+ident DOCKSTAR
+include "../mv/kirkwood/std.sheevaplug"
+
+options SOC_MV_KIRKWOOD
+makeoptions MODULES_OVERRIDE=""
+
+#makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols
+makeoptions WERROR="-Werror"
+
+options SCHED_4BSD #4BSD scheduler
+options INET #InterNETworking
+options INET6 #IPv6 communications protocols
+options FFS #Berkeley Fast Filesystem
+options NFSCLIENT #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_COMPAT
+options BOOTP_WIRED_TO=mge0
+
+# Root fs on USB device
+#options ROOTDEVNAME=\"ufs:/dev/da0a\"
+
+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
+
+# Debugging
+options ALT_BREAK_TO_DEBUGGER
+options DDB
+options KDB
+
+# Pseudo devices
+device md
+device random
+device pty
+device loop
+
+# 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
+
+# USB
+options USB_DEBUG # enable debug msgs
+device usb
+device ehci
+device umass
+device scbus
+device pass
+device da
+
+# Flattened Device Tree
+options FDT
+options FDT_DTB_STATIC
+makeoptions FDT_DTS_FILE=dockstar.dts
OpenPOWER on IntegriCloud