DREAMPLUG-1001 revision 262877
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 262877 2014-03-07 00:25:23Z 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 CD9660 #ISO 9660 filesystem 39options FFS #Berkeley Fast Filesystem 40options MSDOSFS #MS DOS File System (FAT, FAT32) 41options NULLFS #NULL filesystem 42options SYSVSHM #SYSV-style shared memory 43options SYSVMSG #SYSV-style message queues 44options SYSVSEM #SYSV-style semaphores 45options _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions 46options GEOM_ELI # Disk encryption. 47options GEOM_LABEL # Providers labelization. 48options GEOM_PART_GPT # GPT partitioning 49 50# Flattened Device Tree 51device fdt 52options FDT 53options FDT_DTB_STATIC 54 55# Misc pseudo devices 56device bpf #Required for DHCP 57device faith #IPv6-to-IPv4 relaying (translation) 58device firmware #firmware(9) required for USB wlan 59device gif #IPv6 and IPv4 tunneling 60device loop #Network loopback 61device md #Memory/malloc disk 62device pty #BSD-style compatibility pseudo ttys 63device random #Entropy device 64device tun #Packet tunnel. 65device ether #Required for all ethernet devices 66device vlan #802.1Q VLAN support 67device wlan #802.11 WLAN support 68 69# cam support for umass and ahci 70device scbus 71device pass 72device da 73device cd 74 75# Serial ports 76device uart 77 78# Networking 79device mge # Marvell Gigabit Ethernet controller 80device mii 81device e1000phy 82 83# USB 84options USB_HOST_ALIGN=32 # Align DMA to cacheline 85#options USB_DEBUG # Compile in USB debug support 86device usb # Basic usb support 87device ehci # USB host controller 88device umass # Mass storage 89device uhid # Human-interface devices 90device rum # Ralink Technology RT2501USB wireless NICs 91device uath # Atheros AR5523 wireless NICs 92device ural # Ralink Technology RT2500USB wireless NICs 93device zyd # ZyDAS zb1211/zb1211b wireless NICs 94device urtw # Realtek RTL8187B/L USB 95device upgt # Conexant/Intersil PrismGT SoftMAC USB 96device u3g # USB-based 3G modems (Option, Huawei, Sierra) 97 98# I2C (TWSI) 99device iic 100device iicbus 101 102# SATA 103device mvs 104device ahci 105 106# Sound 107device sound 108device snd_uaudio 109 110#crypto 111device cesa # Marvell security engine 112device crypto 113device cryptodev 114 115# IPSec 116device enc 117options IPSEC 118options IPSEC_NAT_T 119options TCP_SIGNATURE #include support for RFC 2385 120 121# IPFW 122options IPFIREWALL 123options IPFIREWALL_DEFAULT_TO_ACCEPT 124options IPFIREWALL_VERBOSE 125options IPFIREWALL_VERBOSE_LIMIT=100 126options IPFIREWALL_NAT 127options LIBALIAS 128options DUMMYNET 129options IPDIVERT 130 131#PF 132device pf 133device pflog 134device pfsync 135 136# ALTQ, required for PF 137options ALTQ # Basic ALTQ support 138options ALTQ_CBQ # Class Based Queueing 139options ALTQ_RED # Random Early Detection 140options ALTQ_RIO # RED In/Out 141options ALTQ_HFSC # Hierarchical Packet Scheduler 142options ALTQ_CDNR # Traffic conditioner 143options ALTQ_PRIQ # Priority Queueing 144options ALTQ_NOPCC # Required if the TSC is unusable 145#options ALTQ_DEBUG 146 147# Debugging 148makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols 149options BREAK_TO_DEBUGGER 150options ALT_BREAK_TO_DEBUGGER 151options DDB 152options KDB 153options DIAGNOSTIC 154options INVARIANTS #Enable calls of extra sanity checking 155options INVARIANT_SUPPORT #Extra sanity checks of internal structures, required by INVARIANTS 156#options WITNESS #Enable checks to detect deadlocks and cycles 157#options WITNESS_SKIPSPIN #Don't run witness on spinlocks for speed 158#options WITNESS_KDB 159 160# Enable these options for nfs root configured via BOOTP. 161options NFSCL #Network Filesystem Client 162options NFSLOCKD #Network Lock Manager 163#options NFS_ROOT #NFS usable as /, requires NFSCLIENT 164#options BOOTP 165#options BOOTP_NFSROOT 166#options BOOTP_NFSV3 167#options BOOTP_WIRED_TO=mge0 168 169# If not using BOOTP, use something like one of these... 170#options ROOTDEVNAME=\"ufs:/dev/da1a\" 171options ROOTDEVNAME=\"ufs:/dev/da1s1a\" 172#options ROOTDEVNAME=\"ufs:/dev/da1p10\" 173#options ROOTDEVNAME=\"nfs:192.168.0.254/dreamplug\" 174 175# To use this configuration with the (rare) model 1001N (nand flash), 176# create a kernel config file that looks like this: 177# 178# include DREAMPLUG-1001 179# nomakeoptions FDT_DTS_FILE 180# makeoptions FDT_DTS_FILE=dreamplug-1001N.dts 181# device nand 182 183