1# Kernel configuration for Atmel AT91SAM9G20EK Rev B. development card 2# 3# For more information on this file, please read the handbook section on 4# Kernel Configuration Files: 5# 6# http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html 7# 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 11# latest information. 12# 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 16# in NOTES. 17#
| 1# Kernel configuration for Atmel AT91SAM9G20EK Rev B. development card 2# 3# For more information on this file, please read the handbook section on 4# Kernel Configuration Files: 5# 6# http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html 7# 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 11# latest information. 12# 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 16# in NOTES. 17#
|
18# $FreeBSD: stable/10/sys/arm/conf/SAM9G20EK 278676 2015-02-13 15:27:46Z ian $
| 18# $FreeBSD: stable/10/sys/arm/conf/SAM9G20EK 266086 2014-05-14 20:17:31Z ian $
|
19 20ident SAM9G20EK 21 22include "../at91/std.sam9g20ek" 23 24#To statically compile in device wiring instead of /boot/device.hints 25hints "SAM9G20EK.hints" 26makeoptions MODULES_OVERRIDE="" 27
| 19 20ident SAM9G20EK 21 22include "../at91/std.sam9g20ek" 23 24#To statically compile in device wiring instead of /boot/device.hints 25hints "SAM9G20EK.hints" 26makeoptions MODULES_OVERRIDE="" 27
|
28makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols
| 28makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols
|
29options DDB 30options KDB 31
| 29options DDB 30options KDB 31
|
32options SCHED_4BSD # 4BSD scheduler 33options INET # InterNETworking 34#options INET6 # IPv6 communications protocols 35options GEOM_PART_BSD # BSD partition scheme 36options GEOM_PART_MBR # MBR partition scheme 37options TMPFS # Efficient memory filesystem 38options FFS # Berkeley Fast Filesystem 39#options SOFTUPDATES # Enable FFS soft updates support 40#options UFS_ACL # Support for access control lists 41#options UFS_DIRHASH # Improve performance on big directories 42#options MD_ROOT # MD is a potential root device 43#options MD_ROOT_SIZE=4096 # 4MB ram disk 44options NANDFS # NAND file system 45options NFSCL # New Network Filesystem Client 46#options NFSD # New Network Filesystem Server 47#options NFSLOCKD # Network Lock Manager 48#options NFS_ROOT # NFS usable as /, requires NFSCL
| 32options SCHED_4BSD #4BSD scheduler 33options INET #InterNETworking 34#options INET6 #IPv6 communications protocols 35options FFS #Berkeley Fast Filesystem 36#options SOFTUPDATES #Enable FFS soft updates support 37#options UFS_ACL #Support for access control lists 38#options UFS_DIRHASH #Improve performance on big directories 39#options MD_ROOT #MD is a potential root device 40#options MD_ROOT_SIZE=4096 # 3MB ram disk 41options NFSCL #New Network Filesystem Client 42#options NFSD #New Network Filesystem Server 43#options NFSLOCKD #Network Lock Manager 44#options NFS_ROOT #NFS usable as /, requires NFSCL
|
49#options BOOTP_NFSROOT 50#options BOOTP 51#options BOOTP_NFSV3 52#options BOOTP_WIRED_TO=ate0 53#options BOOTP_COMPAT 54 55options ROOTDEVNAME=\"ufs:/dev/mmcsd0s1a\" 56 57options ALT_BREAK_TO_DEBUGGER 58
| 45#options BOOTP_NFSROOT 46#options BOOTP 47#options BOOTP_NFSV3 48#options BOOTP_WIRED_TO=ate0 49#options BOOTP_COMPAT 50 51options ROOTDEVNAME=\"ufs:/dev/mmcsd0s1a\" 52 53options ALT_BREAK_TO_DEBUGGER 54
|
59#options MSDOSFS # MSDOS Filesystem 60#options CD9660 # ISO 9660 Filesystem 61#options PROCFS # Process filesystem (requires PSEUDOFS) 62#options PSEUDOFS # Pseudo-filesystem framework 63#options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI 64#options KTRACE # ktrace(1) support 65options SYSVSHM # SYSV-style shared memory 66options SYSVMSG # SYSV-style message queues 67options SYSVSEM # SYSV-style semaphores 68options _KPOSIX_PRIORITY_SCHEDULING # Posix P1003_1B real-time extensions
| 55#options MSDOSFS #MSDOS Filesystem 56#options CD9660 #ISO 9660 Filesystem 57#options PROCFS #Process filesystem (requires PSEUDOFS) 58#options PSEUDOFS #Pseudo-filesystem framework 59#options SCSI_DELAY=5000 #Delay (in ms) before probing SCSI 60#options KTRACE #ktrace(1) support 61options SYSVSHM #SYSV-style shared memory 62options SYSVMSG #SYSV-style message queues 63options SYSVSEM #SYSV-style semaphores 64options _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions 65#options SYSCTL_OMIT_DESCR
|
69options MUTEX_NOINLINE 70options RWLOCK_NOINLINE 71options NO_FFS_SNAPSHOT 72options NO_SWAPPING 73 74# Debugging for use in -current
| 66options MUTEX_NOINLINE 67options RWLOCK_NOINLINE 68options NO_FFS_SNAPSHOT 69options NO_SWAPPING 70 71# Debugging for use in -current
|
75#options INVARIANTS # Enable calls of extra sanity checking 76#options INVARIANT_SUPPORT # Extra sanity checks of internal structures, required by INVARIANTS 77#options WITNESS # Enable checks to detect deadlocks and cycles 78#options WITNESS_SKIPSPIN # Don't run witness on spinlocks for speed
| 72#options INVARIANTS #Enable calls of extra sanity checking 73#options INVARIANT_SUPPORT #Extra sanity checks of internal structures, required by INVARIANTS 74#options WITNESS #Enable checks to detect deadlocks and cycles 75#options WITNESS_SKIPSPIN #Don't run witness on spinlocks for speed
|
79#options DIAGNOSTIC 80 81device random 82device loop 83device bpf 84device ether 85device md 86 87device uart # Serial Ports 88 89# Ethernet
| 76#options DIAGNOSTIC 77 78device random 79device loop 80device bpf 81device ether 82device md 83 84device uart # Serial Ports 85 86# Ethernet
|
90device ate # Ethernet Driver
| 87device ate # Ethernet Driver
|
91device mii 92option AT91_ATE_USE_RMII 93 94device at91_twi # TWI: Two Wire Interface (EEPROM) 95device at91_wdt # WDT: Watchdog timer 96
| 88device mii 89option AT91_ATE_USE_RMII 90 91device at91_twi # TWI: Two Wire Interface (EEPROM) 92device at91_wdt # WDT: Watchdog timer 93
|
97# NAND Flash - Reference design has Samsung 256MB but others possible 98device nand # NAND interface on CS3 99
| |
100# NOTE: SPI DataFlash and mci/mmc/mmcsd have hardware 101# confilict on this card. Use one or the other. 102# see board_sam9g20ek.c 103 104# SPI: Data Flash 105#device at91_spi # SPI: 106#device spibus 107#device at45d # at45db642 and maybe others 108 109# MMC/SD 110device at91_mci 111device mmc 112device mmcsd 113option AT91_MCI_SLOT_B
| 94# NOTE: SPI DataFlash and mci/mmc/mmcsd have hardware 95# confilict on this card. Use one or the other. 96# see board_sam9g20ek.c 97 98# SPI: Data Flash 99#device at91_spi # SPI: 100#device spibus 101#device at45d # at45db642 and maybe others 102 103# MMC/SD 104device at91_mci 105device mmc 106device mmcsd 107option AT91_MCI_SLOT_B
|
114option AT91_MCI_HAS_4WIRE
| 108#option AT91_MCI_HAS_4WIRE
|
115 116# iic 117device iic 118device iicbus 119device icee 120 121# SCSI peripherals
| 109 110# iic 111device iic 112device iicbus 113device icee 114 115# SCSI peripherals
|
122device scbus # SCSI bus (required for ATA/SCSI) 123device da # Direct Access (disks) 124device cd # CD 125device pass # Passthrough device (direct ATA/SCSI access)
| 116device scbus # SCSI bus (required for SCSI) 117device da # Direct Access (disks) 118device cd # CD 119device pass # Passthrough device (direct SCSI access)
|
126 127# USB support
| 120 121# USB support
|
128device ohci # OHCI localbus->USB interface 129device usb # USB Bus (required) 130device umass # Disks/Mass storage - Requires scbus and da 131device uhid # "Human Interface Devices" 132#device ulpt # Printer 133#device udbp # USB Double Bulk Pipe devices
| 122options USB_HOST_ALIGN=32 # Align usb buffers to cache line size. 123device ohci # OHCI localbus->USB interface 124device usb # USB Bus (required) 125device umass # Disks/Mass storage - Requires scbus and da 126device uhid # "Human Interface Devices" 127#device ulpt # Printer 128#device udbp # USB Double Bulk Pipe devices
|
134 135# USB Ethernet, requires miibus
| 129 130# USB Ethernet, requires miibus
|
136#device miibus 137#device aue # ADMtek USB Ethernet 138#device axe # ASIX Electronics USB Ethernet 139#device cdce # Generic USB over Ethernet 140#device cue # CATC USB Ethernet 141#device kue # Kawasaki LSI USB Ethernet 142#device rue # RealTek RTL8150 USB Ethernet 143#device udav # Davicom DM9601E USB
| 131device miibus 132#device aue # ADMtek USB Ethernet 133#device axe # ASIX Electronics USB Ethernet 134#device cdce # Generic USB over Ethernet 135#device cue # CATC USB Ethernet 136#device kue # Kawasaki LSI USB Ethernet 137#device rue # RealTek RTL8150 USB Ethernet 138device udav # Davicom DM9601E USB
|
144 145# USB Wireless
| 139 140# USB Wireless
|
146#device rum # Ralink Technology RT2501USB wireless NICs 147#device uath # Atheros AR5523 wireless NICs 148#device ural # Ralink Technology RT2500USB wireless NICs 149#device zyd # ZyDAS zd1211/zd1211b wireless NICs
| 141#device rum # Ralink Technology RT2501USB wireless NICs 142#device uath # Atheros AR5523 wireless NICs 143#device ural # Ralink Technology RT2500USB wireless NICs 144#device zyd # ZyDAS zd1211/zd1211b wireless NICs
|
150 151# Wireless NIC cards
| 145 146# Wireless NIC cards
|
152#device wlan # 802.11 support 153#device wlan_wep # 802.11 WEP support 154#device wlan_ccmp # 802.11 CCMP support 155#device wlan_tkip # 802.11 TKIP support 156#device wlan_amrr # AMRR transmit rate control algorithm
| 147#device wlan # 802.11 support 148#device wlan_wep # 802.11 WEP support 149#device wlan_ccmp # 802.11 CCMP support 150#device wlan_tkip # 802.11 TKIP support 151#device wlan_amrr # AMRR transmit rate control algorithm 152
|
| |