SAM9G20EK revision 283127
1# Kernel configuration for Atmel AT91SAM9G20EK Rev B. development card 2# Many after-market boards follow its conventions. 3# 4# For more information on this file, please read the handbook section on 5# Kernel Configuration Files: 6# 7# http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html 8# 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 12# latest information. 13# 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 17# in NOTES. 18# 19# $FreeBSD: head/sys/arm/conf/SAM9G20EK 283127 2015-05-19 21:16:51Z imp $ 20 21ident SAM9G20EK 22 23include "std.arm" 24include "../at91/std.sam9g20ek" 25 26#To statically compile in device wiring instead of /boot/device.hints 27hints "SAM9G20EK.hints" 28makeoptions MODULES_OVERRIDE="" 29 30makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols 31 32options SCHED_4BSD # 4BSD scheduler 33options INET # InterNETworking 34#options INET6 # IPv6 communications protocols 35options TMPFS # Efficient memory filesystem 36options 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 42options NANDFS # NAND file system 43options NFSCL # Network Filesystem Client 44options NFSD # Network Filesystem Server 45options 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 51options GEOM_PART_BSD # BSD partition scheme 52options GEOM_PART_MBR # MBR partition scheme 53#options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI 54#options KTRACE # ktrace(1) support 55options SYSVSHM # SYSV-style shared memory 56options SYSVMSG # SYSV-style message queues 57options SYSVSEM # SYSV-style semaphores 58options _KPOSIX_PRIORITY_SCHEDULING # Posix P1003_1B real-time extensions 59 60# Debugging support. Always need this: 61options KDB # Enable kernel debugger support 62options 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 68#options DIAGNOSTIC 69 70# NFS root from boopt/dhcp 71#options BOOTP 72#options BOOTP_NFSROOT 73#options BOOTP_COMPAT 74#options BOOTP_NFSV3 75#options BOOTP_WIRED_TO=ate0 76 77# s2 because s1 is reserved for the DOS parittions sometimes needed to 78# boot off SD cards on the G20 and newer chips. 79options ROOTDEVNAME=\"ufs:/dev/mmcsd0s2a\" 80 81# kernel/memory size reduction 82options MUTEX_NOINLINE 83options NO_FFS_SNAPSHOT 84options NO_SWAPPING 85options NO_SYSCTL_DESCR 86options RWLOCK_NOINLINE 87 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. 91device bpf # Berkeley packet filter 92 93# Ethernet 94device mii # Minimal MII support 95device ate # Atmel AT91 Ethernet driver 96options AT91_ATE_USE_RMII 97 98# I2C 99device at91_twi # Atmel AT91 Two-wire Interface 100device iic # I2C generic I/O device driver 101device iicbus # I2C bus system 102device icee 103 104# MMC/SD 105device at91_mci # Atmel AT91 Multimedia Card Interface 106options AT91_MCI_HAS_4WIRE 107options AT91_MCI_SLOT_B 108device mmc # MMC/SD bus 109device mmcsd # MMC/SD memory card 110 111# DataFlash 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 118 119# Pseudo devices. 120device loop # Network loopback 121device random # Entropy device 122device ether # Ethernet support 123device md # Memory "disks" 124 125# SCSI peripherals 126device scbus # SCSI bus (required for ATA/SCSI) 127device da # Direct Access (disks) 128device cd # CD 129device pass # Passthrough device (direct ATA/SCSI access) 130 131# Serial (COM) ports 132device uart # Multi-uart driver 133options ALT_BREAK_TO_DEBUGGER 134 135# USB support 136device ohci # OHCI USB interface 137device usb # USB Bus (required) 138device umass # Disks/Mass storage - Requires scbus and da 139device uhid # "Human Interface Devices" 140#device ulpt # Printer 141#device udbp # USB Double Bulk Pipe devices 142 143# USB Ethernet, requires miibus 144#device 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 152 153# USB Wireless 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 158 159# Wireless NIC cards 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 165 166# watchdog 167device at91_wdt # Atmel AT91 Watchdog Timer 168 169# NAND Flash - Reference design has Samsung 256MB but others possible 170device nand # NAND interface on CS3 171