1 # Kernel configuration for Atmel AT91SAM9G20EK Rev B. development card
2 # Many after-market boards follow its conventions.
4 # For more information on this file, please read the handbook section on
5 # Kernel Configuration Files:
7 # http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
9 # The handbook is also available locally in /usr/share/doc/handbook
10 # if you've installed the doc distribution, otherwise always see the
11 # FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
14 # An exhaustive list of options and more detailed explanations of the
15 # device lines is also present in the ../../conf/NOTES and NOTES files.
16 # If you are in doubt as to the purpose or necessity of a line, check first
24 include "../at91/std.sam9g20ek"
26 #To statically compile in device wiring instead of /boot/device.hints
27 hints "SAM9G20EK.hints"
28 makeoptions MODULES_OVERRIDE=""
30 makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols
32 options SCHED_4BSD # 4BSD scheduler
33 options INET # InterNETworking
34 #options INET6 # IPv6 communications protocols
35 options TMPFS # Efficient memory filesystem
36 options FFS # Berkeley Fast Filesystem
37 #options SOFTUPDATES # Enable FFS soft updates support
38 #options UFS_ACL # Support for access control lists
39 #options UFS_DIRHASH # Improve performance on big directories
40 #options MD_ROOT # MD is a potential root device
41 #options MD_ROOT_SIZE=4096 # 4MB ram disk
42 options NANDFS # NAND file system
43 options NFSCL # Network Filesystem Client
44 options NFSD # Network Filesystem Server
45 options NFSLOCKD # Network Lock Manager
46 #options NFS_ROOT # NFS usable as /, requires NFSCL
47 #options MSDOSFS # MSDOS Filesystem
48 #options CD9660 # ISO 9660 Filesystem
49 #options PROCFS # Process filesystem (requires PSEUDOFS)
50 #options PSEUDOFS # Pseudo-filesystem framework
51 options GEOM_PART_BSD # BSD partition scheme
52 options GEOM_PART_MBR # MBR partition scheme
53 #options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI
54 #options KTRACE # ktrace(1) support
55 options SYSVSHM # SYSV-style shared memory
56 options SYSVMSG # SYSV-style message queues
57 options SYSVSEM # SYSV-style semaphores
58 options _KPOSIX_PRIORITY_SCHEDULING # Posix P1003_1B real-time extensions
60 # Debugging support. Always need this:
61 options KDB # Enable kernel debugger support
62 options DDB # Enable the kernel debugger
63 # Always turn these off, even in -current builds, they are too slow.
64 #options INVARIANTS # Enable calls of extra sanity checking
65 #options INVARIANT_SUPPORT # Extra sanity checks of internal structures, required by INVARIANTS
66 #options WITNESS # Enable checks to detect deadlocks and cycles
67 #options WITNESS_SKIPSPIN # Don't run witness on spinlocks for speed
70 # NFS root from boopt/dhcp
72 #options BOOTP_NFSROOT
75 #options BOOTP_WIRED_TO=ate0
77 # s2 because s1 is reserved for the DOS parittions sometimes needed to
78 # boot off SD cards on the G20 and newer chips.
79 options ROOTDEVNAME=\"ufs:/dev/mmcsd0s2a\"
81 # kernel/memory size reduction
82 options MUTEX_NOINLINE
83 options NO_FFS_SNAPSHOT
85 options NO_SYSCTL_DESCR
86 options RWLOCK_NOINLINE
88 # The `bpf' device enables the Berkeley Packet Filter.
89 # Be aware of the administrative consequences of enabling this!
90 # Note that 'bpf' is required for DHCP.
91 device bpf # Berkeley packet filter
94 device mii # Minimal MII support
95 device ate # Atmel AT91 Ethernet driver
96 options AT91_ATE_USE_RMII
99 device at91_twi # Atmel AT91 Two-wire Interface
100 device iic # I2C generic I/O device driver
101 device iicbus # I2C bus system
105 device at91_mci # Atmel AT91 Multimedia Card Interface
106 options AT91_MCI_HAS_4WIRE
107 options AT91_MCI_SLOT_B
108 device mmc # MMC/SD bus
109 device mmcsd # MMC/SD memory card
112 # NOTE: SPI DataFlash and mci/mmc/mmcsd have hardware
113 # confilict on this card. Use one or the other.
114 # see board_sam9g20ek.c
115 #device at91_spi # Atmel AT91 Serial Peripheral Interface
116 #device spibus # SPI bus
117 #device at45d # at45db642 and maybe others
120 device loop # Network loopback
121 device random # Entropy device
122 device ether # Ethernet support
123 device md # Memory "disks"
126 device scbus # SCSI bus (required for ATA/SCSI)
127 device da # Direct Access (disks)
129 device pass # Passthrough device (direct ATA/SCSI access)
132 device uart # Multi-uart driver
133 options ALT_BREAK_TO_DEBUGGER
136 device ohci # OHCI USB interface
137 device usb # USB Bus (required)
138 device umass # Disks/Mass storage - Requires scbus and da
139 device uhid # "Human Interface Devices"
140 #device ulpt # Printer
141 #device udbp # USB Double Bulk Pipe devices
143 # USB Ethernet, requires miibus
145 #device aue # ADMtek USB Ethernet
146 #device axe # ASIX Electronics USB Ethernet
147 #device cdce # Generic USB over Ethernet
148 #device cue # CATC USB Ethernet
149 #device kue # Kawasaki LSI USB Ethernet
150 #device rue # RealTek RTL8150 USB Ethernet
151 #device udav # Davicom DM9601E USB
154 #device rum # Ralink Technology RT2501USB wireless NICs
155 #device uath # Atheros AR5523 wireless NICs
156 #device ural # Ralink Technology RT2500USB wireless NICs
157 #device zyd # ZyDAS zd1211/zd1211b wireless NICs
160 #device wlan # 802.11 support
161 #device wlan_wep # 802.11 WEP support
162 #device wlan_ccmp # 802.11 CCMP support
163 #device wlan_tkip # 802.11 TKIP support
164 #device wlan_amrr # AMRR transmit rate control algorithm
167 device at91_wdt # Atmel AT91 Watchdog Timer
169 # NAND Flash - Reference design has Samsung 256MB but others possible
170 device nand # NAND interface on CS3