ATMEL revision 282576
1# Kernel configuration to test compile all the atmel bits with one 2# configuration. This kernel will not (presently) boot. Do not copy 3# it to create your own custom config file. 4# 5# $FreeBSD: head/sys/arm/conf/ATMEL 282576 2015-05-07 12:38:23Z andrew $ 6 7ident ATMEL 8 9include "std.arm" 10include "../at91/std.atmel" 11 12# Typical values for most SoCs and board configurations. Will not work for 13# at91sam9g45 or on some boards with non u-boot boot loaders. 14makeoptions KERNPHYSADDR=0x20000000 15makeoptions KERNVIRTADDR=0xc0000000 16options KERNPHYSADDR=0x20000000 17options KERNVIRTADDR=0xc0000000 18 19makeoptions MODULES_OVERRIDE="dtb/atmel" 20 21# list all boards here, but not just yet (no multiboard in mainline). 22options ARM_MANY_BOARD 23device at91_board_bwct 24device at91_board_ethernut5 25device at91_board_hl200 26device at91_board_hl201 27device at91_board_kb920x 28device at91_board_qila9g20 29device at91_board_sam9260ek 30device at91_board_sam9g20ek 31device at91_board_sam9x25ek 32device at91_board_sn9g45 33device at91_board_tsc4370 34 35#makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols 36 37options SCHED_4BSD # 4BSD scheduler 38#options PREEMPTION # Enable kernel thread preemption 39options INET # InterNETworking 40options INET6 # IPv6 communications protocols 41options SCTP # Stream Control Transmission Protocol 42options FFS # Berkeley Fast Filesystem 43options SOFTUPDATES # Enable FFS soft updates support 44options UFS_ACL # Support for access control lists 45options UFS_DIRHASH # Improve performance on big directories 46options UFS_GJOURNAL # Enable gjournal-based UFS journaling 47options MD_ROOT # MD is a potential root device 48options NFSCL # Network Filesystem Client 49options NFSD # Network Filesystem Server 50options NFSLOCKD # Network Lock Manager 51options NFS_ROOT # NFS usable as /, requires NFSCL 52options TMPFS # Efficient memory filesystem 53options MSDOSFS # MSDOS Filesystem 54options CD9660 # ISO 9660 Filesystem 55options PROCFS # Process filesystem (requires PSEUDOFS) 56options PSEUDOFS # Pseudo-filesystem framework 57options GEOM_PART_BSD # BSD partition scheme 58options GEOM_PART_MBR # MBR partition scheme 59options GEOM_PART_GPT # GUID Partition Tables. 60options GEOM_LABEL # Provides labelization 61options COMPAT_FREEBSD5 # Compatible with FreeBSD5 62options COMPAT_FREEBSD6 # Compatible with FreeBSD6 63options COMPAT_FREEBSD7 # Compatible with FreeBSD7 64options COMPAT_FREEBSD9 # Compatible with FreeBSD9 65options COMPAT_FREEBSD10 # Compatible with FreeBSD10 66options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI 67options KTRACE # ktrace(1) support 68options STACK # stack(9) support 69options SYSVSHM # SYSV-style shared memory 70options SYSVMSG # SYSV-style message queues 71options SYSVSEM # SYSV-style semaphores 72options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions 73options PRINTF_BUFR_SIZE=128 # Prevent printf output being interspersed. 74#options HWPMC_HOOKS # Necessary kernel hooks for hwpmc(4) 75#options AUDIT # Security event auditing 76#options CAPABILITY_MODE # Capsicum capability mode 77#options CAPABILITIES # Capsicum capabilities 78#options MAC # TrustedBSD MAC Framework 79#options INCLUDE_CONFIG_FILE # Include this file in kernel 80 81# Debugging support. Always need this: 82options KDB # Enable kernel debugger support 83# For minimum debugger support (stable branch) use: 84options KDB_TRACE # Print a stack trace for a panic 85# For full debugger support use this instead: 86options DDB # Enable the kernel debugger 87options GDB # Support remote GDB 88#options DEADLKRES # Enable the deadlock resolver 89#options INVARIANTS # Enable calls of extra sanity checking 90#options INVARIANT_SUPPORT # Extra sanity checks of internal structures, required by INVARIANTS 91#options WITNESS # Enable checks to detect deadlocks and cycles 92#options WITNESS_SKIPSPIN # Don't run witness on spinlocks for speed 93#options MALLOC_DEBUG_MAXZONES=8 # Separate malloc(9) zones 94 95# NFS root from boopt/dhcp 96options BOOTP 97options BOOTP_NFSROOT 98options BOOTP_COMPAT 99options BOOTP_NFSV3 100options BOOTP_WIRED_TO=ate0 101 102# alternatively, boot from a MMC/SD memory card 103#options ROOTDEVNAME=\"ufs:/dev/mmcsd0a\" 104 105# kernel/memory size reduction 106options MUTEX_NOINLINE 107options NO_FFS_SNAPSHOT 108options NO_SWAPPING 109options NO_SYSCTL_DESCR 110options RWLOCK_NOINLINE 111 112# The `bpf' device enables the Berkeley Packet Filter. 113# Be aware of the administrative consequences of enabling this! 114# Note that 'bpf' is required for DHCP. 115device bpf # Berkeley packet filter 116 117# Ethernet 118device mii # Minimal MII support 119device ate # Atmel AT91 Ethernet driver 120 121# I2C 122device at91_twi # Atmel AT91 Two-wire Interface 123device iic # I2C generic I/O device driver 124device iicbus # I2C bus system 125device pcf8563 # NXP PCF8563 clock/calendar 126 127# MMC/SD 128device at91_mci # Atmel AT91 Multimedia Card Interface 129options AT91_MCI_HAS_4WIRE 130device mmc # MMC/SD bus 131device mmcsd # MMC/SD memory card 132 133# DataFlash 134device at91_spi # Atmel AT91 Serial Peripheral Interface 135device spibus # SPI bus 136device at45d # Atmel AT45D 137device geom_map # GEOM partition mapping 138 139# Pseudo devices. 140device loop # Network loopback 141device random # Entropy device 142device ether # Ethernet support 143device vlan # 802.1Q VLAN support 144device tun # Packet tunnel. 145device md # Memory "disks" 146device gif # IPv6 and IPv4 tunneling 147#device firmware # firmware assist module 148 149# SCSI peripherals 150device scbus # SCSI bus (required for ATA/SCSI) 151device ch # SCSI media changers 152device da # Direct Access (disks) 153device sa # Sequential Access (tape etc) 154device cd # CD 155device pass # Passthrough device (direct ATA/SCSI access) 156device ses # Enclosure Services (SES and SAF-TE) 157#device ctl # CAM Target Layer 158 159# Serial (COM) ports 160device uart # Multi-uart driver 161options ALT_BREAK_TO_DEBUGGER 162 163# USB support 164options USB_DEBUG # enable debug msgs 165device ohci # OHCI USB interface 166device usb # USB Bus (required) 167device umass # Disks/Mass storage - Requires scbus and da 168 169# USB device (gadget) support 170device at91_dci # Atmel's usb device 171device usfs # emulate a flash 172device cdce # emulate an ethernet 173device usb_template # Control of the gadget 174 175# watchdog 176device at91_wdt # Atmel AT91 Watchdog Timer 177 178device at91_rtc 179device at91_ssc 180#device at91_tc # missing? 181 182# NAND Flash - Reference design has Samsung 256MB but others possible 183device nand # NAND interface on CS3 184