1 # Kernel configuration for Atmel SAM9260-EK eval board
3 # For more information on this file, please read the config(5) manual page,
4 # and/or the handbook section on Kernel Configuration Files:
6 # http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
8 # The handbook is also available locally in /usr/share/doc/handbook
9 # if you've installed the doc distribution, otherwise always see the
10 # FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
13 # An exhaustive list of options and more detailed explanations of the
14 # device lines is also present in the ../../conf/NOTES and NOTES files.
15 # If you are in doubt as to the purpose or necessity of a line, check first
24 include "../at91/std.sam9260ek"
26 # To statically compile in device wiring instead of /boot/device.hints
27 hints "SAM9260EK.hints"
29 #makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols
30 makeoptions MODULES_OVERRIDE=""
32 options SCHED_4BSD # 4BSD scheduler
33 #options PREEMPTION # Enable kernel thread preemption
34 options INET # InterNETworking
35 #options INET6 # IPv6 communications protocols
36 #options SCTP # Stream Control Transmission Protocol
37 options FFS # Berkeley Fast Filesystem
38 options SOFTUPDATES # Enable FFS soft updates support
39 #options UFS_ACL # Support for access control lists
40 options UFS_DIRHASH # Improve performance on big directories
41 #options UFS_GJOURNAL # Enable gjournal-based UFS journaling
42 #options MD_ROOT # MD is a potential root device
43 options NANDFS # NAND file system
44 options NFSCL # Network Filesystem Client
45 #options NFSD # Network Filesystem Server
46 options NFSLOCKD # Network Lock Manager
47 options NFS_ROOT # NFS usable as /, requires NFSCL
48 options TMPFS # Efficient memory filesystem
49 #options MSDOSFS # MSDOS Filesystem
50 #options CD9660 # ISO 9660 Filesystem
51 #options PROCFS # Process filesystem (requires PSEUDOFS)
52 #options PSEUDOFS # Pseudo-filesystem framework
53 options GEOM_PART_BSD # BSD partition scheme
54 options GEOM_PART_MBR # MBR partition scheme
55 #options GEOM_PART_GPT # GUID Partition Tables.
56 #options GEOM_LABEL # Provides labelization
57 #options COMPAT_FREEBSD5 # Compatible with FreeBSD5
58 #options COMPAT_FREEBSD6 # Compatible with FreeBSD6
59 #options COMPAT_FREEBSD7 # Compatible with FreeBSD7
60 options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI
61 options KTRACE # ktrace(1) support
62 #options STACK # stack(9) support
63 options SYSVSHM # SYSV-style shared memory
64 options SYSVMSG # SYSV-style message queues
65 options SYSVSEM # SYSV-style semaphores
66 options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
67 options PRINTF_BUFR_SIZE=128 # Prevent printf output being interspersed.
68 #options HWPMC_HOOKS # Necessary kernel hooks for hwpmc(4)
69 #options AUDIT # Security event auditing
70 #options CAPABILITY_MODE # Capsicum capability mode
71 #options CAPABILITIES # Capsicum capabilities
72 #options MAC # TrustedBSD MAC Framework
73 #options INCLUDE_CONFIG_FILE # Include this file in kernel
75 # required for netbooting
78 #options BOOTP_NFSROOT
80 #options BOOTP_WIRED_TO=ate0
82 # alternatively, boot from a MMC/SD memory card
83 #options ROOTDEVNAME=\"ufs:/dev/mmcsd0s1a\"
85 # Alternatively, boot from a USB card.
86 options ROOTDEVNAME=\"ufs:/dev/da0s1a\"
88 # kernel/memory size reduction
89 options MUTEX_NOINLINE
90 options NO_FFS_SNAPSHOT
92 options NO_SYSCTL_DESCR
93 options RWLOCK_NOINLINE
95 # Debugging support. Always need this:
96 #options KDB # Enable kernel debugger support.
97 # For minimum debugger support (stable branch) use:
98 #options KDB_TRACE # Print a stack trace for a panic.
99 # For full debugger support use this instead:
100 #options DDB # Support DDB.
101 #options GDB # Support remote GDB.
102 #options DEADLKRES # Enable the deadlock resolver
103 #options INVARIANTS # Enable calls of extra sanity checking
104 #options INVARIANT_SUPPORT # Extra sanity checks of internal structures, required by INVARIANTS
105 #options WITNESS # Enable checks to detect deadlocks and cycles
106 #options WITNESS_SKIPSPIN # Don't run witness on spinlocks for speed
107 #options MALLOC_DEBUG_MAXZONES=8 # Separate malloc(9) zones
109 # The `bpf' device enables the Berkeley Packet Filter.
110 # Be aware of the administrative consequences of enabling this!
111 # Note that 'bpf' is required for DHCP.
112 device bpf # Berkeley packet filter
115 device mii # Minimal MII support
116 device ate # Atmel AT91 Ethernet driver
119 device at91_twi # Atmel AT91 Two-wire Interface
120 device iic # I2C generic I/O device driver
121 device iicbus # I2C bus system
122 device icee # I2C eeprom
125 # See comment for DataFlash below
126 device at91_mci # Atmel AT91 Multimedia Card Interface
127 options AT91_MCI_HAS_4WIRE # 4 wires
128 options AT91_MCI_SLOT_B # Wired to slot B
129 device mmc # MMC/SD bus
130 device mmcsd # MMC/SD memory card
133 # The DataFlash and MMC card are wired together, so we must pick one or the
134 # other. This is due to pin mux, and also due to the design of the
135 # SAM9260EK board. SLOT A wouldn't have this issue.
136 #device at91_spi # Atmel AT91 Serial Peripheral Interface
137 #device spibus # SPI bus
138 #device at45d # Atmel AT45D
139 #device geom_map # GEOM partition mapping
142 device loop # Network loopback
143 device random # Entropy device
144 device ether # Ethernet support
145 #device vlan # 802.1Q VLAN support
146 #device tun # Packet tunnel.
147 #device md # Memory "disks"
148 #device gif # IPv6 and IPv4 tunneling
149 #device firmware # firmware assist module
152 device scbus # SCSI bus (required for ATA/SCSI)
153 #device ch # SCSI media changers
154 device da # Direct Access (disks)
155 #device sa # Sequential Access (tape etc)
157 device pass # Passthrough device (direct ATA/SCSI access)
158 device ses # Enclosure Services (SES and SAF-TE)
159 #device ctl # CAM Target Layer
162 device uart # Multi-uart driver
163 options ALT_BREAK_TO_DEBUGGER
166 #options USB_DEBUG # enable debug msgs
167 device ohci # OHCI USB interface
168 device usb # USB Bus (required)
169 device umass # Disks/Mass storage - Requires scbus and da
172 device at91_wdt # Atmel AT91 Watchdog Timer
174 # NAND Flash - Reference design has Samsung 256MB but others possible
175 device nand # NAND interface on CS3
177 # Coming soon, but not yet
179 #options FDT_DTB_STATIC
180 #makeoptions FDT_DTS_FILE=sam9260ek.dts
183 options SOCDEV_PA=0xfc000000
184 options SOCDEV_VA=0xdc000000