SAM9260EK revision 266328
1266087Sian# Kernel configuration for Atmel SAM9260-EK eval board 2235348Smarius# 3235348Smarius# For more information on this file, please read the config(5) manual page, 4235348Smarius# and/or the handbook section on Kernel Configuration Files: 5235348Smarius# 6235348Smarius# http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html 7235348Smarius# 8235348Smarius# The handbook is also available locally in /usr/share/doc/handbook 9235348Smarius# if you've installed the doc distribution, otherwise always see the 10235348Smarius# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the 11235348Smarius# latest information. 12235348Smarius# 13235348Smarius# An exhaustive list of options and more detailed explanations of the 14235348Smarius# device lines is also present in the ../../conf/NOTES and NOTES files. 15235348Smarius# If you are in doubt as to the purpose or necessity of a line, check first 16235348Smarius# in NOTES. 17235348Smarius# 18235348Smarius# $FreeBSD: stable/10/sys/arm/conf/SAM9260EK 266328 2014-05-17 16:46:15Z ian $ 19235348Smarius 20238785Simpident SAM9260EK 21235348Smarius 22238785Simpinclude "../at91/std.sam9260ek" 23235348Smarius 24235348Smarius# To statically compile in device wiring instead of /boot/device.hints 25238785Simphints "SAM9260EK.hints" 26235348Smarius 27235348Smarius#makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols 28266277Sianmakeoptions MODULES_OVERRIDE="" 29235348Smarius 30235348Smariusoptions SCHED_4BSD # 4BSD scheduler 31235348Smarius#options PREEMPTION # Enable kernel thread preemption 32235348Smariusoptions INET # InterNETworking 33235348Smarius#options INET6 # IPv6 communications protocols 34235348Smarius#options SCTP # Stream Control Transmission Protocol 35235348Smariusoptions FFS # Berkeley Fast Filesystem 36235348Smariusoptions SOFTUPDATES # Enable FFS soft updates support 37235348Smarius#options UFS_ACL # Support for access control lists 38235348Smariusoptions UFS_DIRHASH # Improve performance on big directories 39235348Smarius#options UFS_GJOURNAL # Enable gjournal-based UFS journaling 40235348Smarius#options MD_ROOT # MD is a potential root device 41266087Sianoptions NANDFS # NAND file system 42235348Smariusoptions NFSCL # New Network Filesystem Client 43235348Smarius#options NFSD # New Network Filesystem Server 44235348Smariusoptions NFSLOCKD # Network Lock Manager 45235348Smariusoptions NFS_ROOT # NFS usable as /, requires NFSCL 46266328Sianoptions TMPFS # Efficient memory filesystem 47235348Smarius#options MSDOSFS # MSDOS Filesystem 48235348Smarius#options CD9660 # ISO 9660 Filesystem 49235348Smarius#options PROCFS # Process filesystem (requires PSEUDOFS) 50235348Smarius#options PSEUDOFS # Pseudo-filesystem framework 51266328Sianoptions GEOM_PART_BSD # BSD partition scheme 52266328Sianoptions GEOM_PART_MBR # MBR partition scheme 53235348Smarius#options GEOM_PART_GPT # GUID Partition Tables. 54235348Smarius#options GEOM_LABEL # Provides labelization 55235348Smarius#options COMPAT_FREEBSD5 # Compatible with FreeBSD5 56235348Smarius#options COMPAT_FREEBSD6 # Compatible with FreeBSD6 57235348Smarius#options COMPAT_FREEBSD7 # Compatible with FreeBSD7 58235348Smariusoptions SCSI_DELAY=5000 # Delay (in ms) before probing SCSI 59235348Smariusoptions KTRACE # ktrace(1) support 60235348Smarius#options STACK # stack(9) support 61235348Smariusoptions SYSVSHM # SYSV-style shared memory 62235348Smariusoptions SYSVMSG # SYSV-style message queues 63235348Smariusoptions SYSVSEM # SYSV-style semaphores 64235348Smariusoptions _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions 65235348Smariusoptions PRINTF_BUFR_SIZE=128 # Prevent printf output being interspersed. 66235348Smarius#options HWPMC_HOOKS # Necessary kernel hooks for hwpmc(4) 67235348Smarius#options AUDIT # Security event auditing 68235348Smarius#options CAPABILITY_MODE # Capsicum capability mode 69235348Smarius#options CAPABILITIES # Capsicum capabilities 70235348Smarius#options MAC # TrustedBSD MAC Framework 71235348Smarius#options INCLUDE_CONFIG_FILE # Include this file in kernel 72235348Smarius 73235348Smarius# required for netbooting 74238823Simp#options BOOTP 75238823Simp#options BOOTP_COMPAT 76238823Simp#options BOOTP_NFSROOT 77238823Simp#options BOOTP_NFSV3 78238823Simp#options BOOTP_WIRED_TO=ate0 79235348Smarius 80235348Smarius# alternatively, boot from a MMC/SD memory card 81238823Simp#options ROOTDEVNAME=\"ufs:/dev/mmcsd0s1a\" 82235348Smarius 83238823Simp# Alternatively, boot from a USB card. 84238823Simpoptions ROOTDEVNAME=\"ufs:/dev/da0s1a\" 85238823Simp 86235348Smarius# kernel/memory size reduction 87235348Smariusoptions MUTEX_NOINLINE 88235348Smariusoptions NO_FFS_SNAPSHOT 89235348Smariusoptions NO_SWAPPING 90235348Smariusoptions NO_SYSCTL_DESCR 91235348Smariusoptions RWLOCK_NOINLINE 92235348Smarius 93235348Smarius# Debugging support. Always need this: 94235348Smarius#options KDB # Enable kernel debugger support. 95235348Smarius# For minimum debugger support (stable branch) use: 96235348Smarius#options KDB_TRACE # Print a stack trace for a panic. 97235348Smarius# For full debugger support use this instead: 98235348Smarius#options DDB # Support DDB. 99235348Smarius#options GDB # Support remote GDB. 100235348Smarius#options DEADLKRES # Enable the deadlock resolver 101235348Smarius#options INVARIANTS # Enable calls of extra sanity checking 102235348Smarius#options INVARIANT_SUPPORT # Extra sanity checks of internal structures, required by INVARIANTS 103235348Smarius#options WITNESS # Enable checks to detect deadlocks and cycles 104235348Smarius#options WITNESS_SKIPSPIN # Don't run witness on spinlocks for speed 105235348Smarius#options MALLOC_DEBUG_MAXZONES=8 # Separate malloc(9) zones 106235348Smarius 107235348Smarius# The `bpf' device enables the Berkeley Packet Filter. 108235348Smarius# Be aware of the administrative consequences of enabling this! 109235348Smarius# Note that 'bpf' is required for DHCP. 110266328Siandevice bpf # Berkeley packet filter 111235348Smarius 112235348Smarius# Ethernet 113266328Siandevice mii # Minimal MII support 114266328Siandevice ate # Atmel AT91 Ethernet driver 115235348Smarius 116235348Smarius# I2C 117266328Siandevice at91_twi # Atmel AT91 Two-wire Interface 118266328Siandevice iic # I2C generic I/O device driver 119266328Siandevice iicbus # I2C bus system 120266328Siandevice icee # I2C eeprom 121235348Smarius 122235348Smarius# MMC/SD 123238823Simp# See comment for DataFlash below 124266328Siandevice at91_mci # Atmel AT91 Multimedia Card Interface 125238823Simpoptions AT91_MCI_HAS_4WIRE # 4 wires 126238823Simpoptions AT91_MCI_SLOT_B # Wired to slot B 127266328Siandevice mmc # MMC/SD bus 128266328Siandevice mmcsd # MMC/SD memory card 129235348Smarius 130236497Smarius# DataFlash 131238823Simp# The DataFlash and MMC card are wired together, so we must pick one or the 132238823Simp# other. This is due to pin mux, and also due to the design of the 133238823Simp# SAM9260EK board. SLOT A wouldn't have this issue. 134266328Sian#device at91_spi # Atmel AT91 Serial Peripheral Interface 135266328Sian#device spibus # SPI bus 136266328Sian#device at45d # Atmel AT45D 137266328Sian#device geom_map # GEOM partition mapping 138235348Smarius 139235348Smarius# Pseudo devices. 140266328Siandevice loop # Network loopback 141266328Siandevice random # Entropy device 142266328Siandevice ether # Ethernet support 143266328Sian#device vlan # 802.1Q VLAN support 144266328Sian#device tun # Packet tunnel. 145266328Sian#device md # Memory "disks" 146266328Sian#device gif # IPv6 and IPv4 tunneling 147266328Sian#device faith # IPv6-to-IPv4 relaying (translation) 148266328Sian#device firmware # firmware assist module 149235348Smarius 150235348Smarius# SCSI peripherals 151266328Siandevice scbus # SCSI bus (required for ATA/SCSI) 152266328Sian#device ch # SCSI media changers 153266328Siandevice da # Direct Access (disks) 154266328Sian#device sa # Sequential Access (tape etc) 155266328Siandevice cd # CD/DVD 156266328Siandevice pass # Passthrough device (direct ATA/SCSI access) 157266328Siandevice ses # Enclosure Services (SES and SAF-TE) 158266328Sian#device ctl # CAM Target Layer 159235348Smarius 160235348Smarius# Serial (COM) ports 161266328Siandevice uart # Multi-uart driver 162235348Smariusoptions ALT_BREAK_TO_DEBUGGER 163235348Smarius 164235348Smarius# USB support 165266328Sian#options USB_DEBUG # enable debug msgs 166266328Siandevice ohci # OHCI USB interface 167266328Siandevice usb # USB Bus (required) 168266328Siandevice umass # Disks/Mass storage - Requires scbus and da 169235348Smarius 170235348Smarius# watchdog 171266328Siandevice at91_wdt # Atmel AT91 Watchdog Timer 172266087Sian 173266087Sian# NAND Flash - Reference design has Samsung 256MB but others possible 174266087Siandevice nand # NAND interface on CS3 175266277Sian 176266277Sian# Coming soon, but not yet 177266277Sian#options FDT 178266277Sian#options FDT_DTB_STATIC 179266277Sian#makeoptions FDT_DTS_FILE=sam9260ek.dts 180266277Sian 181266277Sianoptions EARLY_PRINTF 182266277Sianoptions SOCDEV_PA=0xfc000000 183266277Sianoptions SOCDEV_VA=0xdc000000 184