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