DREAMPLUG-1001 revision 294413
1245955Sian# Kernel config for GlobalScale Technologies DreamPlug version 1001. 2245955Sian# 3245955Sian# This is for units that are version 10, revision 01, with NOR SPI flash. 4245955Sian# These units are identified with the number "1001" on the S/N label. 5245955Sian# 6245955Sian# For more information on this file, please read the handbook section on 7245955Sian# Kernel Configuration Files: 8245955Sian# 9245955Sian# http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html 10245955Sian# 11245955Sian# The handbook is also available locally in /usr/share/doc/handbook 12245955Sian# if you've installed the doc distribution, otherwise always see the 13245955Sian# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the 14245955Sian# latest information. 15245955Sian# 16245955Sian# An exhaustive list of options and more detailed explanations of the 17245955Sian# device lines is also present in the ../../conf/NOTES and NOTES files. 18245955Sian# If you are in doubt as to the purpose or necessity of a line, check first 19245955Sian# in NOTES. 20245955Sian# 21245955Sian# $FreeBSD: head/sys/arm/conf/DREAMPLUG-1001 294413 2016-01-20 11:57:11Z zbb $ 22245955Sian# 23279850Sian#NO_UNIVERSE 24245955Sian 25245955Sianident DREAMPLUG-1001 26245955Sian 27282576Sandrewinclude "std.arm" 28282576Sandrewinclude "../mv/kirkwood/std.db88f6xxx" 29245955Sian 30245955Sianoptions SOC_MV_KIRKWOOD 31245955Sian 32263245Simpoptions SCHED_4BSD # 4BSD scheduler 33263245Simpoptions INET # InterNETworking 34263245Simpoptions INET6 # IPv6 communications protocols 35282714Sandrewoptions FFS # Berkeley Fast Filesystem 36282714Sandrewoptions SOFTUPDATES # Enable FFS soft updates support 37282714Sandrewoptions NFSCL # Network Filesystem Client 38282714Sandrewoptions NFSLOCKD # Network Lock Manager 39282714Sandrew#options NFS_ROOT # NFS usable as /, requires NFSCL 40282714Sandrewoptions MSDOSFS # MSDOS Filesystem 41263245Simpoptions CD9660 # ISO 9660 filesystem 42263245Simpoptions NULLFS # NULL filesystem 43282714Sandrewoptions TMPFS # Efficient memory filesystem 44282714Sandrewoptions GEOM_PART_GPT # GUID Partition Tables 45282714Sandrewoptions GEOM_PART_BSD # BSD partition scheme 46282714Sandrewoptions GEOM_PART_MBR # MBR partition scheme 47282714Sandrewoptions GEOM_LABEL # Provides labelization 48282714Sandrewoptions GEOM_ELI # Disk encryption 49263245Simpoptions SYSVSHM # SYSV-style shared memory 50263245Simpoptions SYSVMSG # SYSV-style message queues 51263245Simpoptions SYSVSEM # SYSV-style semaphores 52282714Sandrewoptions _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions 53245955Sian 54282714Sandrew# Debugging for use in -current 55282714Sandrewmakeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols 56282714Sandrewoptions ALT_BREAK_TO_DEBUGGER 57282714Sandrewoptions KDB # Enable kernel debugger support 58282714Sandrewoptions DDB # Enable the kernel debugger 59282714Sandrewoptions INVARIANTS # Enable calls of extra sanity checking 60282714Sandrewoptions INVARIANT_SUPPORT # Extra sanity checks of internal structures, required by INVARIANTS 61282714Sandrew#options WITNESS # Enable checks to detect deadlocks and cycles 62282714Sandrew#options WITNESS_SKIPSPIN # Don't run witness on spinlocks for speed 63282714Sandrew#options WITNESS_KDB 64282714Sandrew#options DIAGNOSTIC 65245955Sian 66282714Sandrew# Enable these options for nfs root configured via BOOTP. 67282714Sandrew#options BOOTP 68282714Sandrew#options BOOTP_NFSROOT 69282714Sandrew#options BOOTP_NFSV3 70282714Sandrew#options BOOTP_WIRED_TO=mge0 71282714Sandrew 72282714Sandrew# If not using BOOTP, use something like one of these... 73282714Sandrew#options ROOTDEVNAME=\"ufs:/dev/da1a\" 74282714Sandrewoptions ROOTDEVNAME=\"ufs:/dev/da1s1a\" 75282714Sandrew#options ROOTDEVNAME=\"ufs:/dev/da1p10\" 76282714Sandrew#options ROOTDEVNAME=\"nfs:192.168.0.254/dreamplug\" 77282714Sandrew 78245955Sian# Misc pseudo devices 79263245Simpdevice bpf # Required for DHCP 80276004Sandrewdevice firmware # firmware(9) required for USB wlan 81276004Sandrewdevice gif # IPv6 and IPv4 tunneling 82263245Simpdevice loop # Network loopback 83276004Sandrewdevice md # Memory/malloc disk 84263245Simpdevice pty # BSD-style compatibility pseudo ttys 85263245Simpdevice random # Entropy device 86276004Sandrewdevice tun # Packet tunnel. 87263245Simpdevice ether # Required for all ethernet devices 88276004Sandrewdevice vlan # 802.1Q VLAN support 89263245Simpdevice wlan # 802.11 WLAN support 90245955Sian 91245955Sian# cam support for umass and ahci 92245955Siandevice scbus 93245955Siandevice pass 94245955Siandevice da 95276004Sandrewdevice cd 96245955Sian 97245955Sian# Serial ports 98245955Siandevice uart 99245955Sian 100245955Sian# Networking 101245955Siandevice mge # Marvell Gigabit Ethernet controller 102245955Siandevice mii 103289945Szbbdevice mdio 104245955Siandevice e1000phy 105245955Sian 106245955Sian# USB 107245955Sianoptions USB_HOST_ALIGN=32 # Align DMA to cacheline 108276004Sandrew#options USB_DEBUG # Compile in USB debug support 109276004Sandrewdevice usb # Basic usb support 110276004Sandrewdevice ehci # USB host controller 111276004Sandrewdevice umass # Mass storage 112276004Sandrewdevice uhid # Human-interface devices 113276004Sandrewdevice rum # Ralink Technology RT2501USB wireless NICs 114276004Sandrewdevice uath # Atheros AR5523 wireless NICs 115276004Sandrewdevice ural # Ralink Technology RT2500USB wireless NICs 116276004Sandrewdevice zyd # ZyDAS zb1211/zb1211b wireless NICs 117276004Sandrewdevice urtw # Realtek RTL8187B/L USB 118276004Sandrewdevice upgt # Conexant/Intersil PrismGT SoftMAC USB 119276004Sandrewdevice u3g # USB-based 3G modems (Option, Huawei, Sierra) 120245955Sian 121245955Sian# I2C (TWSI) 122245955Siandevice iic 123245955Siandevice iicbus 124245955Sian 125294413Szbb# GPIO 126294413Szbbdevice gpio 127294413Szbb 128245955Sian# SATA 129245955Siandevice mvs 130245955Siandevice ahci 131245955Sian 132245955Sian# Sound 133276004Sandrewdevice sound 134276004Sandrewdevice snd_uaudio 135245955Sian 136245955Sian#crypto 137276004Sandrewdevice cesa # Marvell security engine 138276004Sandrewdevice crypto 139276004Sandrewdevice cryptodev 140245955Sian 141245955Sian# IPSec 142276004Sandrewdevice enc 143276004Sandrewoptions IPSEC 144276004Sandrewoptions IPSEC_NAT_T 145276004Sandrewoptions TCP_SIGNATURE # include support for RFC 2385 146245955Sian 147245955Sian# IPFW 148276004Sandrewoptions IPFIREWALL 149276004Sandrewoptions IPFIREWALL_DEFAULT_TO_ACCEPT 150276004Sandrewoptions IPFIREWALL_VERBOSE 151276004Sandrewoptions IPFIREWALL_VERBOSE_LIMIT=100 152276004Sandrewoptions IPFIREWALL_NAT 153276004Sandrewoptions LIBALIAS 154276004Sandrewoptions DUMMYNET 155276004Sandrewoptions IPDIVERT 156245955Sian 157245955Sian#PF 158276004Sandrewdevice pf 159276004Sandrewdevice pflog 160276004Sandrewdevice pfsync 161245955Sian 162245955Sian# ALTQ, required for PF 163276004Sandrewoptions ALTQ # Basic ALTQ support 164276004Sandrewoptions ALTQ_CBQ # Class Based Queueing 165276004Sandrewoptions ALTQ_RED # Random Early Detection 166276004Sandrewoptions ALTQ_RIO # RED In/Out 167276004Sandrewoptions ALTQ_HFSC # Hierarchical Packet Scheduler 168276004Sandrewoptions ALTQ_CDNR # Traffic conditioner 169276004Sandrewoptions ALTQ_PRIQ # Priority Queueing 170276004Sandrewoptions ALTQ_NOPCC # Required if the TSC is unusable 171245955Sian#options ALTQ_DEBUG 172245955Sian 173245955Sian# To use this configuration with the (rare) model 1001N (nand flash), 174245955Sian# create a kernel config file that looks like this: 175245955Sian# 176245955Sian# include DREAMPLUG-1001 177276004Sandrew# nomakeoptions FDT_DTS_FILE 178245955Sian# makeoptions FDT_DTS_FILE=dreamplug-1001N.dts 179245955Sian# device nand 180245955Sian 181282714Sandrew# Flattened Device Tree 182282714Sandrewoptions FDT # Configure using FDT/DTB data 183282714Sandrewoptions FDT_DTB_STATIC 184282714Sandrewmakeoptions FDT_DTS_FILE=dreamplug-1001.dts 185