DREAMPLUG-1001 revision 282714
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 282714 2015-05-10 09:23:49Z andrew $ 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 BREAK_TO_DEBUGGER 57282714Sandrewoptions ALT_BREAK_TO_DEBUGGER 58282714Sandrewoptions KDB # Enable kernel debugger support 59282714Sandrewoptions DDB # Enable the kernel debugger 60282714Sandrewoptions INVARIANTS # Enable calls of extra sanity checking 61282714Sandrewoptions INVARIANT_SUPPORT # Extra sanity checks of internal structures, required by INVARIANTS 62282714Sandrew#options WITNESS # Enable checks to detect deadlocks and cycles 63282714Sandrew#options WITNESS_SKIPSPIN # Don't run witness on spinlocks for speed 64282714Sandrew#options WITNESS_KDB 65282714Sandrew#options DIAGNOSTIC 66245955Sian 67282714Sandrew# Enable these options for nfs root configured via BOOTP. 68282714Sandrew#options BOOTP 69282714Sandrew#options BOOTP_NFSROOT 70282714Sandrew#options BOOTP_NFSV3 71282714Sandrew#options BOOTP_WIRED_TO=mge0 72282714Sandrew 73282714Sandrew# If not using BOOTP, use something like one of these... 74282714Sandrew#options ROOTDEVNAME=\"ufs:/dev/da1a\" 75282714Sandrewoptions ROOTDEVNAME=\"ufs:/dev/da1s1a\" 76282714Sandrew#options ROOTDEVNAME=\"ufs:/dev/da1p10\" 77282714Sandrew#options ROOTDEVNAME=\"nfs:192.168.0.254/dreamplug\" 78282714Sandrew 79245955Sian# Misc pseudo devices 80263245Simpdevice bpf # Required for DHCP 81276004Sandrewdevice firmware # firmware(9) required for USB wlan 82276004Sandrewdevice gif # IPv6 and IPv4 tunneling 83263245Simpdevice loop # Network loopback 84276004Sandrewdevice md # Memory/malloc disk 85263245Simpdevice pty # BSD-style compatibility pseudo ttys 86263245Simpdevice random # Entropy device 87276004Sandrewdevice tun # Packet tunnel. 88263245Simpdevice ether # Required for all ethernet devices 89276004Sandrewdevice vlan # 802.1Q VLAN support 90263245Simpdevice wlan # 802.11 WLAN support 91245955Sian 92245955Sian# cam support for umass and ahci 93245955Siandevice scbus 94245955Siandevice pass 95245955Siandevice da 96276004Sandrewdevice cd 97245955Sian 98245955Sian# Serial ports 99245955Siandevice uart 100245955Sian 101245955Sian# Networking 102245955Siandevice mge # Marvell Gigabit Ethernet controller 103245955Siandevice mii 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 125245955Sian# SATA 126245955Siandevice mvs 127245955Siandevice ahci 128245955Sian 129245955Sian# Sound 130276004Sandrewdevice sound 131276004Sandrewdevice snd_uaudio 132245955Sian 133245955Sian#crypto 134276004Sandrewdevice cesa # Marvell security engine 135276004Sandrewdevice crypto 136276004Sandrewdevice cryptodev 137245955Sian 138245955Sian# IPSec 139276004Sandrewdevice enc 140276004Sandrewoptions IPSEC 141276004Sandrewoptions IPSEC_NAT_T 142276004Sandrewoptions TCP_SIGNATURE # include support for RFC 2385 143245955Sian 144245955Sian# IPFW 145276004Sandrewoptions IPFIREWALL 146276004Sandrewoptions IPFIREWALL_DEFAULT_TO_ACCEPT 147276004Sandrewoptions IPFIREWALL_VERBOSE 148276004Sandrewoptions IPFIREWALL_VERBOSE_LIMIT=100 149276004Sandrewoptions IPFIREWALL_NAT 150276004Sandrewoptions LIBALIAS 151276004Sandrewoptions DUMMYNET 152276004Sandrewoptions IPDIVERT 153245955Sian 154245955Sian#PF 155276004Sandrewdevice pf 156276004Sandrewdevice pflog 157276004Sandrewdevice pfsync 158245955Sian 159245955Sian# ALTQ, required for PF 160276004Sandrewoptions ALTQ # Basic ALTQ support 161276004Sandrewoptions ALTQ_CBQ # Class Based Queueing 162276004Sandrewoptions ALTQ_RED # Random Early Detection 163276004Sandrewoptions ALTQ_RIO # RED In/Out 164276004Sandrewoptions ALTQ_HFSC # Hierarchical Packet Scheduler 165276004Sandrewoptions ALTQ_CDNR # Traffic conditioner 166276004Sandrewoptions ALTQ_PRIQ # Priority Queueing 167276004Sandrewoptions ALTQ_NOPCC # Required if the TSC is unusable 168245955Sian#options ALTQ_DEBUG 169245955Sian 170245955Sian# To use this configuration with the (rare) model 1001N (nand flash), 171245955Sian# create a kernel config file that looks like this: 172245955Sian# 173245955Sian# include DREAMPLUG-1001 174276004Sandrew# nomakeoptions FDT_DTS_FILE 175245955Sian# makeoptions FDT_DTS_FILE=dreamplug-1001N.dts 176245955Sian# device nand 177245955Sian 178282714Sandrew# Flattened Device Tree 179282714Sandrewoptions FDT # Configure using FDT/DTB data 180282714Sandrewoptions FDT_DTB_STATIC 181282714Sandrewmakeoptions FDT_DTS_FILE=dreamplug-1001.dts 182