ATMEL revision 238880
1133819Stjr# Kernel configuration to test compile all the atmel bits with one 2133819Stjr# configuration. This kernel will not (presently) boot. Do not copy 3133819Stjr# it to create your own custom config file. 4133819Stjr# 5133819Stjr# $FreeBSD: head/sys/arm/conf/ATMEL 238880 2012-07-29 04:26:24Z imp $ 6147142Ssobomax 7133819Stjrident ATMEL 8133819Stjr 9146807Srwatsoninclude "../at91/std.atmel" 10133819Stjr 11133819Stjr# Arbitrary values for testing purposes. 12133819Stjroptions STARTUP_PAGETABLE_ADDR=0x20800000 13133819Stjrmakeoptions KERNPHYSADDR=0x20000000 14143198Ssobomaxmakeoptions KERNVIRTADDR=0xc0000000 15133819Stjroptions KERNPHYSADDR=0x20000000 16133819Stjroptions KERNVIRTADDR=0xc0000000 17133819Stjr 18133819Stjrmakeoptions MODULES_OVERRIDE="" 19133819Stjr 20133819Stjr# list all boards here, but not just yet (no multiboard in mainline). 21133819Stjroptions ARM_MANY_BOARD 22143198Ssobomaxdevice at91_board_bwct 23146807Srwatsondevice at91_board_ethernut5 24146807Srwatsondevice at91_board_hl200 25146807Srwatsondevice at91_board_hl201 26146807Srwatsondevice at91_board_kb920x 27146807Srwatsondevice at91_board_qila9g20 28146807Srwatsondevice at91_board_sam9260ek 29146807Srwatsondevice at91_board_sam9g20ek 30146807Srwatsondevice at91_board_sam9x25ek 31146807Srwatsondevice at91_board_sn9g45 32146807Srwatsondevice at91_board_tsc4370 33146807Srwatson 34146807Srwatson#makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols 35146807Srwatson 36146807Srwatsonoptions SCHED_4BSD # 4BSD scheduler 37146807Srwatson#options PREEMPTION # Enable kernel thread preemption 38146807Srwatsonoptions INET # InterNETworking 39146807Srwatsonoptions INET6 # IPv6 communications protocols 40146807Srwatsonoptions SCTP # Stream Control Transmission Protocol 41146807Srwatsonoptions FFS # Berkeley Fast Filesystem 42146807Srwatsonoptions SOFTUPDATES # Enable FFS soft updates support 43146807Srwatsonoptions UFS_ACL # Support for access control lists 44146807Srwatsonoptions UFS_DIRHASH # Improve performance on big directories 45146807Srwatsonoptions UFS_GJOURNAL # Enable gjournal-based UFS journaling 46146807Srwatsonoptions MD_ROOT # MD is a potential root device 47146807Srwatsonoptions NFSCL # New Network Filesystem Client 48146807Srwatsonoptions NFSD # New Network Filesystem Server 49146807Srwatsonoptions NFSLOCKD # Network Lock Manager 50146807Srwatsonoptions NFS_ROOT # NFS usable as /, requires NFSCL 51146807Srwatsonoptions MSDOSFS # MSDOS Filesystem 52146807Srwatsonoptions CD9660 # ISO 9660 Filesystem 53146807Srwatsonoptions PROCFS # Process filesystem (requires PSEUDOFS) 54146807Srwatsonoptions PSEUDOFS # Pseudo-filesystem framework 55146807Srwatsonoptions GEOM_PART_GPT # GUID Partition Tables. 56146807Srwatsonoptions GEOM_LABEL # Provides labelization 57146807Srwatsonoptions COMPAT_FREEBSD5 # Compatible with FreeBSD5 58146807Srwatsonoptions COMPAT_FREEBSD6 # Compatible with FreeBSD6 59146807Srwatsonoptions COMPAT_FREEBSD7 # Compatible with FreeBSD7 60146807Srwatsonoptions SCSI_DELAY=5000 # Delay (in ms) before probing SCSI 61146807Srwatsonoptions KTRACE # ktrace(1) support 62146807Srwatsonoptions STACK # stack(9) support 63146807Srwatsonoptions SYSVSHM # SYSV-style shared memory 64146807Srwatsonoptions SYSVMSG # SYSV-style message queues 65146807Srwatsonoptions SYSVSEM # SYSV-style semaphores 66146807Srwatsonoptions _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions 67146807Srwatsonoptions PRINTF_BUFR_SIZE=128 # Prevent printf output being interspersed. 68146807Srwatson#options HWPMC_HOOKS # Necessary kernel hooks for hwpmc(4) 69146807Srwatson#options AUDIT # Security event auditing 70146807Srwatson#options CAPABILITY_MODE # Capsicum capability mode 71146807Srwatson#options CAPABILITIES # Capsicum capabilities 72146807Srwatson#options MAC # TrustedBSD MAC Framework 73146807Srwatson#options INCLUDE_CONFIG_FILE # Include this file in kernel 74146807Srwatson 75146807Srwatson# required for netbooting 76146807Srwatsonoptions BOOTP 77146807Srwatsonoptions BOOTP_COMPAT 78146807Srwatsonoptions BOOTP_NFSROOT 79146807Srwatsonoptions BOOTP_NFSV3 80146807Srwatsonoptions BOOTP_WIRED_TO=ate0 81146807Srwatson 82146807Srwatson# alternatively, boot from a MMC/SD memory card 83146807Srwatson#options ROOTDEVNAME=\"ufs:/dev/mmcsd0a\" 84146807Srwatson 85146807Srwatson# kernel/memory size reduction 86146807Srwatsonoptions MUTEX_NOINLINE 87146807Srwatsonoptions NO_FFS_SNAPSHOT 88146807Srwatsonoptions NO_SWAPPING 89146807Srwatsonoptions NO_SYSCTL_DESCR 90146807Srwatsonoptions RWLOCK_NOINLINE 91146807Srwatson 92146807Srwatson# Debugging support. Always need this: 93146807Srwatsonoptions KDB # Enable kernel debugger support. 94146807Srwatson# For minimum debugger support (stable branch) use: 95146807Srwatsonoptions KDB_TRACE # Print a stack trace for a panic. 96146807Srwatson# For full debugger support use this instead: 97146807Srwatsonoptions DDB # Support DDB. 98146807Srwatsonoptions GDB # Support remote GDB. 99146807Srwatson#options DEADLKRES # Enable the deadlock resolver 100146807Srwatson#options INVARIANTS # Enable calls of extra sanity checking 101146807Srwatson#options INVARIANT_SUPPORT # Extra sanity checks of internal structures, required by INVARIANTS 102146807Srwatson#options WITNESS # Enable checks to detect deadlocks and cycles 103146807Srwatson#options WITNESS_SKIPSPIN # Don't run witness on spinlocks for speed 104146807Srwatson#options MALLOC_DEBUG_MAXZONES=8 # Separate malloc(9) zones 105146807Srwatson 106146807Srwatson# The `bpf' device enables the Berkeley Packet Filter. 107146807Srwatson# Be aware of the administrative consequences of enabling this! 108146807Srwatson# Note that 'bpf' is required for DHCP. 109146807Srwatsondevice bpf # Berkeley packet filter 110146807Srwatson 111146807Srwatson# Ethernet 112146807Srwatsondevice mii # Minimal MII support 113146807Srwatsondevice ate # Atmel AT91 Ethernet friver 114146807Srwatson 115146807Srwatson# I2C 116146807Srwatsondevice at91_twi # Atmel AT91 Two-wire Interface 117146807Srwatsondevice iic # I2C generic I/O device driver 118146807Srwatsondevice iicbus # I2C bus system 119147142Ssobomaxdevice pcf8563 # NXP PCF8563 clock/calendar 120146807Srwatson 121146807Srwatson# MMC/SD 122146807Srwatsondevice at91_mci # Atmel AT91 Multimedia Card Interface 123146807Srwatsonoptions AT91_MCI_HAS_4WIRE 124146807Srwatsondevice mmc # MMC/SD bus 125146807Srwatsondevice mmcsd # MMC/SD memory card 126146807Srwatson 127146807Srwatson# DataFlash 128146807Srwatsondevice at91_spi # Atmel AT91 Serial Peripheral Interface 129146807Srwatsondevice spibus # SPI bus 130146807Srwatsondevice at45d # Atmel AT45D 131146807Srwatsondevice geom_map # GEOM partition mapping 132146807Srwatson 133146807Srwatson# Pseudo devices. 134146807Srwatsondevice loop # Network loopback 135146807Srwatsondevice random # Entropy device 136146807Srwatsondevice ether # Ethernet support 137146807Srwatsondevice vlan # 802.1Q VLAN support 138146807Srwatsondevice tun # Packet tunnel. 139146807Srwatsondevice md # Memory "disks" 140146807Srwatsondevice gif # IPv6 and IPv4 tunneling 141146807Srwatsondevice faith # IPv6-to-IPv4 relaying (translation) 142146807Srwatson#device firmware # firmware assist module 143146807Srwatson 144146807Srwatson# SCSI peripherals 145146807Srwatsondevice scbus # SCSI bus (required for ATA/SCSI) 146146807Srwatsondevice ch # SCSI media changers 147146807Srwatsondevice da # Direct Access (disks) 148146807Srwatsondevice sa # Sequential Access (tape etc) 149146807Srwatsondevice cd # CD 150146807Srwatsondevice pass # Passthrough device (direct ATA/SCSI access) 151146807Srwatsondevice ses # Enclosure Services (SES and SAF-TE) 152146807Srwatsondevice ctl # CAM Target Layer 153146807Srwatson 154146807Srwatson# Serial (COM) ports 155146807Srwatsondevice uart # Multi-uart driver 156146807Srwatsonoptions ALT_BREAK_TO_DEBUGGER 157146807Srwatson 158146807Srwatson# USB support 159146807Srwatsonoptions USB_DEBUG # enable debug msgs 160146807Srwatsondevice ohci # OHCI USB interface 161146807Srwatsondevice usb # USB Bus (required) 162146807Srwatsondevice umass # Disks/Mass storage - Requires scbus and da 163146807Srwatson 164146807Srwatson# USB device (gadget) support 165146807Srwatsondevice at91_dci # Atmel's usb device 166146807Srwatsondevice usfs # emulate a flash 167146807Srwatsondevice cdce # emulate an ethernet 168146807Srwatsondevice usb_template # Control of the gadget 169146807Srwatson 170146807Srwatson# watchdog 171146807Srwatsondevice at91_wdt # Atmel AT91 Watchdog Timer 172146807Srwatson 173146807Srwatsondevice at91_rtc 174146807Srwatsondevice at91_ssc 175146807Srwatson#device at91_tc # missing? 176146807Srwatson