DREAMPLUG-1001 revision 262905
1# Kernel config for GlobalScale Technologies DreamPlug version 1001. 2# 3# This is for units that are version 10, revision 01, with NOR SPI flash. 4# These units are identified with the number "1001" on the S/N label. 5# 6# For more information on this file, please read the handbook section on 7# Kernel Configuration Files: 8# 9# http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html 10# 11# The handbook is also available locally in /usr/share/doc/handbook 12# if you've installed the doc distribution, otherwise always see the 13# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the 14# latest information. 15# 16# An exhaustive list of options and more detailed explanations of the 17# device lines is also present in the ../../conf/NOTES and NOTES files. 18# If you are in doubt as to the purpose or necessity of a line, check first 19# in NOTES. 20# 21# $FreeBSD: head/sys/arm/conf/DREAMPLUG-1001 262905 2014-03-07 21:36:49Z ian $ 22# 23 24ident DREAMPLUG-1001 25 26include "../mv/kirkwood/std.db88f6xxx" 27 28makeoptions FDT_DTS_FILE=dreamplug-1001.dts 29 30makeoptions MODULES_OVERRIDE="" 31 32options SOC_MV_KIRKWOOD 33 34options SCHED_4BSD #4BSD scheduler 35options INET #InterNETworking 36options INET6 #IPv6 communications protocols 37options SOFTUPDATES 38options TMPFS #Efficient memory filesystem 39options CD9660 #ISO 9660 filesystem 40options FFS #Berkeley Fast Filesystem 41options MSDOSFS #MS DOS File System (FAT, FAT32) 42options NULLFS #NULL filesystem 43options SYSVSHM #SYSV-style shared memory 44options SYSVMSG #SYSV-style message queues 45options SYSVSEM #SYSV-style semaphores 46options _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions 47options GEOM_PART_BSD #BSD partition scheme 48options GEOM_PART_MBR #MBR partition scheme 49options GEOM_ELI # Disk encryption. 50options GEOM_LABEL # Providers labelization. 51options GEOM_PART_GPT # GPT partitioning 52 53# Flattened Device Tree 54device fdt 55options FDT 56options FDT_DTB_STATIC 57 58# Misc pseudo devices 59device bpf #Required for DHCP 60device faith #IPv6-to-IPv4 relaying (translation) 61device firmware #firmware(9) required for USB wlan 62device gif #IPv6 and IPv4 tunneling 63device loop #Network loopback 64device md #Memory/malloc disk 65device pty #BSD-style compatibility pseudo ttys 66device random #Entropy device 67device tun #Packet tunnel. 68device ether #Required for all ethernet devices 69device vlan #802.1Q VLAN support 70device wlan #802.11 WLAN support 71 72# cam support for umass and ahci 73device scbus 74device pass 75device da 76device cd 77 78# Serial ports 79device uart 80 81# Networking 82device mge # Marvell Gigabit Ethernet controller 83device mii 84device e1000phy 85 86# USB 87options USB_HOST_ALIGN=32 # Align DMA to cacheline 88#options USB_DEBUG # Compile in USB debug support 89device usb # Basic usb support 90device ehci # USB host controller 91device umass # Mass storage 92device uhid # Human-interface devices 93device rum # Ralink Technology RT2501USB wireless NICs 94device uath # Atheros AR5523 wireless NICs 95device ural # Ralink Technology RT2500USB wireless NICs 96device zyd # ZyDAS zb1211/zb1211b wireless NICs 97device urtw # Realtek RTL8187B/L USB 98device upgt # Conexant/Intersil PrismGT SoftMAC USB 99device u3g # USB-based 3G modems (Option, Huawei, Sierra) 100 101# I2C (TWSI) 102device iic 103device iicbus 104 105# SATA 106device mvs 107device ahci 108 109# Sound 110device sound 111device snd_uaudio 112 113#crypto 114device cesa # Marvell security engine 115device crypto 116device cryptodev 117 118# IPSec 119device enc 120options IPSEC 121options IPSEC_NAT_T 122options TCP_SIGNATURE #include support for RFC 2385 123 124# IPFW 125options IPFIREWALL 126options IPFIREWALL_DEFAULT_TO_ACCEPT 127options IPFIREWALL_VERBOSE 128options IPFIREWALL_VERBOSE_LIMIT=100 129options IPFIREWALL_NAT 130options LIBALIAS 131options DUMMYNET 132options IPDIVERT 133 134#PF 135device pf 136device pflog 137device pfsync 138 139# ALTQ, required for PF 140options ALTQ # Basic ALTQ support 141options ALTQ_CBQ # Class Based Queueing 142options ALTQ_RED # Random Early Detection 143options ALTQ_RIO # RED In/Out 144options ALTQ_HFSC # Hierarchical Packet Scheduler 145options ALTQ_CDNR # Traffic conditioner 146options ALTQ_PRIQ # Priority Queueing 147options ALTQ_NOPCC # Required if the TSC is unusable 148#options ALTQ_DEBUG 149 150# Debugging 151makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols 152options BREAK_TO_DEBUGGER 153options ALT_BREAK_TO_DEBUGGER 154options DDB 155options KDB 156options DIAGNOSTIC 157options INVARIANTS #Enable calls of extra sanity checking 158options INVARIANT_SUPPORT #Extra sanity checks of internal structures, required by INVARIANTS 159#options WITNESS #Enable checks to detect deadlocks and cycles 160#options WITNESS_SKIPSPIN #Don't run witness on spinlocks for speed 161#options WITNESS_KDB 162 163# Enable these options for nfs root configured via BOOTP. 164options NFSCL #Network Filesystem Client 165options NFSLOCKD #Network Lock Manager 166#options NFS_ROOT #NFS usable as /, requires NFSCLIENT 167#options BOOTP 168#options BOOTP_NFSROOT 169#options BOOTP_NFSV3 170#options BOOTP_WIRED_TO=mge0 171 172# If not using BOOTP, use something like one of these... 173#options ROOTDEVNAME=\"ufs:/dev/da1a\" 174options ROOTDEVNAME=\"ufs:/dev/da1s1a\" 175#options ROOTDEVNAME=\"ufs:/dev/da1p10\" 176#options ROOTDEVNAME=\"nfs:192.168.0.254/dreamplug\" 177 178# To use this configuration with the (rare) model 1001N (nand flash), 179# create a kernel config file that looks like this: 180# 181# include DREAMPLUG-1001 182# nomakeoptions FDT_DTS_FILE 183# makeoptions FDT_DTS_FILE=dreamplug-1001N.dts 184# device nand 185 186