ATMEL revision 249410
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 249410 2013-04-12 16:25:03Z trasz $ 6 7ident ATMEL 8 9include "../at91/std.atmel" 10 11# Typical values for most SoCs and board configurations. Will not work for 12# at91sam9g45 or on some boards with non u-boot boot loaders. 13options STARTUP_PAGETABLE_ADDR=0x20800000 14makeoptions KERNPHYSADDR=0x20000000 15makeoptions KERNVIRTADDR=0xc0000000 16options KERNPHYSADDR=0x20000000 17options KERNVIRTADDR=0xc0000000 18 19makeoptions MODULES_OVERRIDE="" 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 # New Network Filesystem Client 49options NFSD # New Network Filesystem Server 50options NFSLOCKD # Network Lock Manager 51options NFS_ROOT # NFS usable as /, requires NFSCL 52options MSDOSFS # MSDOS Filesystem 53options CD9660 # ISO 9660 Filesystem 54options PROCFS # Process filesystem (requires PSEUDOFS) 55options PSEUDOFS # Pseudo-filesystem framework 56options GEOM_PART_GPT # GUID Partition Tables. 57options GEOM_LABEL # Provides labelization 58options COMPAT_FREEBSD5 # Compatible with FreeBSD5 59options COMPAT_FREEBSD6 # Compatible with FreeBSD6 60options COMPAT_FREEBSD7 # Compatible with FreeBSD7 61options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI 62options KTRACE # ktrace(1) support 63options STACK # stack(9) support 64options SYSVSHM # SYSV-style shared memory 65options SYSVMSG # SYSV-style message queues 66options SYSVSEM # SYSV-style semaphores 67options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions 68options PRINTF_BUFR_SIZE=128 # Prevent printf output being interspersed. 69#options HWPMC_HOOKS # Necessary kernel hooks for hwpmc(4) 70#options AUDIT # Security event auditing 71#options CAPABILITY_MODE # Capsicum capability mode 72#options CAPABILITIES # Capsicum capabilities 73#options MAC # TrustedBSD MAC Framework 74#options INCLUDE_CONFIG_FILE # Include this file in kernel 75 76# required for netbooting 77options BOOTP 78options BOOTP_COMPAT 79options BOOTP_NFSROOT 80options BOOTP_NFSV3 81options BOOTP_WIRED_TO=ate0 82 83# alternatively, boot from a MMC/SD memory card 84#options ROOTDEVNAME=\"ufs:/dev/mmcsd0a\" 85 86# kernel/memory size reduction 87options MUTEX_NOINLINE 88options NO_FFS_SNAPSHOT 89options NO_SWAPPING 90options NO_SYSCTL_DESCR 91options RWLOCK_NOINLINE 92 93# Debugging support. Always need this: 94options KDB # Enable kernel debugger support. 95# For minimum debugger support (stable branch) use: 96options KDB_TRACE # Print a stack trace for a panic. 97# For full debugger support use this instead: 98options DDB # Support DDB. 99options GDB # Support remote GDB. 100#options DEADLKRES # Enable the deadlock resolver 101#options INVARIANTS # Enable calls of extra sanity checking 102#options INVARIANT_SUPPORT # Extra sanity checks of internal structures, required by INVARIANTS 103#options WITNESS # Enable checks to detect deadlocks and cycles 104#options WITNESS_SKIPSPIN # Don't run witness on spinlocks for speed 105#options MALLOC_DEBUG_MAXZONES=8 # Separate malloc(9) zones 106 107# The `bpf' device enables the Berkeley Packet Filter. 108# Be aware of the administrative consequences of enabling this! 109# Note that 'bpf' is required for DHCP. 110device bpf # Berkeley packet filter 111 112# Ethernet 113device mii # Minimal MII support 114device ate # Atmel AT91 Ethernet friver 115 116# I2C 117device at91_twi # Atmel AT91 Two-wire Interface 118device iic # I2C generic I/O device driver 119device iicbus # I2C bus system 120device pcf8563 # NXP PCF8563 clock/calendar 121 122# MMC/SD 123device at91_mci # Atmel AT91 Multimedia Card Interface 124options AT91_MCI_HAS_4WIRE 125device mmc # MMC/SD bus 126device mmcsd # MMC/SD memory card 127 128# DataFlash 129device at91_spi # Atmel AT91 Serial Peripheral Interface 130device spibus # SPI bus 131device at45d # Atmel AT45D 132device geom_map # GEOM partition mapping 133 134# Pseudo devices. 135device loop # Network loopback 136device random # Entropy device 137device ether # Ethernet support 138device vlan # 802.1Q VLAN support 139device tun # Packet tunnel. 140device md # Memory "disks" 141device gif # IPv6 and IPv4 tunneling 142device faith # IPv6-to-IPv4 relaying (translation) 143#device firmware # firmware assist module 144 145# SCSI peripherals 146device scbus # SCSI bus (required for ATA/SCSI) 147device ch # SCSI media changers 148device da # Direct Access (disks) 149device sa # Sequential Access (tape etc) 150device cd # CD 151device pass # Passthrough device (direct ATA/SCSI access) 152device ses # Enclosure Services (SES and SAF-TE) 153#device ctl # CAM Target Layer 154 155# Serial (COM) ports 156device uart # Multi-uart driver 157options ALT_BREAK_TO_DEBUGGER 158 159# USB support 160options USB_DEBUG # enable debug msgs 161device ohci # OHCI USB interface 162device usb # USB Bus (required) 163device umass # Disks/Mass storage - Requires scbus and da 164 165# USB device (gadget) support 166device at91_dci # Atmel's usb device 167device usfs # emulate a flash 168device cdce # emulate an ethernet 169device usb_template # Control of the gadget 170 171# watchdog 172device at91_wdt # Atmel AT91 Watchdog Timer 173 174device at91_rtc 175device at91_ssc 176#device at91_tc # missing? 177