ATMEL revision 266277
1146985Sthompsa# Kernel configuration to test compile all the atmel bits with one 2146985Sthompsa# configuration. This kernel will not (presently) boot. Do not copy 3146985Sthompsa# it to create your own custom config file. 4146985Sthompsa# 5146985Sthompsa# $FreeBSD: stable/10/sys/arm/conf/ATMEL 266277 2014-05-17 00:53:12Z ian $ 6146985Sthompsa 7146985Sthompsaident ATMEL 8146985Sthompsa 9146985Sthompsainclude "../at91/std.atmel" 10146985Sthompsa 11146985Sthompsa# Typical values for most SoCs and board configurations. Will not work for 12146985Sthompsa# at91sam9g45 or on some boards with non u-boot boot loaders. 13146985Sthompsamakeoptions KERNPHYSADDR=0x20000000 14146985Sthompsamakeoptions KERNVIRTADDR=0xc0000000 15146985Sthompsaoptions KERNPHYSADDR=0x20000000 16146985Sthompsaoptions KERNVIRTADDR=0xc0000000 17146985Sthompsa 18146985Sthompsamakeoptions MODULES_OVERRIDE="" 19146985Sthompsa 20146985Sthompsa# list all boards here, but not just yet (no multiboard in mainline). 21146985Sthompsaoptions ARM_MANY_BOARD 22146985Sthompsadevice at91_board_bwct 23146985Sthompsadevice at91_board_ethernut5 24146985Sthompsadevice at91_board_hl200 25146985Sthompsadevice at91_board_hl201 26146985Sthompsadevice at91_board_kb920x 27146985Sthompsadevice at91_board_qila9g20 28146985Sthompsadevice at91_board_sam9260ek 29146985Sthompsadevice at91_board_sam9g20ek 30146985Sthompsadevice at91_board_sam9x25ek 31146985Sthompsadevice at91_board_sn9g45 32146985Sthompsadevice at91_board_tsc4370 33146985Sthompsa 34146985Sthompsa#makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols 35146985Sthompsa 36146985Sthompsaoptions SCHED_4BSD # 4BSD scheduler 37146985Sthompsa#options PREEMPTION # Enable kernel thread preemption 38146985Sthompsaoptions INET # InterNETworking 39146985Sthompsaoptions INET6 # IPv6 communications protocols 40146985Sthompsaoptions SCTP # Stream Control Transmission Protocol 41146985Sthompsaoptions FFS # Berkeley Fast Filesystem 42146985Sthompsaoptions SOFTUPDATES # Enable FFS soft updates support 43146985Sthompsaoptions UFS_ACL # Support for access control lists 44146985Sthompsaoptions UFS_DIRHASH # Improve performance on big directories 45146985Sthompsaoptions UFS_GJOURNAL # Enable gjournal-based UFS journaling 46146985Sthompsaoptions MD_ROOT # MD is a potential root device 47146985Sthompsaoptions NFSCL # New Network Filesystem Client 48146985Sthompsaoptions NFSD # New Network Filesystem Server 49146985Sthompsaoptions NFSLOCKD # Network Lock Manager 50146985Sthompsaoptions NFS_ROOT # NFS usable as /, requires NFSCL 51146985Sthompsaoptions TMPFS #Efficient memory filesystem 52146985Sthompsaoptions MSDOSFS # MSDOS Filesystem 53146985Sthompsaoptions CD9660 # ISO 9660 Filesystem 54146985Sthompsaoptions PROCFS # Process filesystem (requires PSEUDOFS) 55146985Sthompsaoptions PSEUDOFS # Pseudo-filesystem framework 56146985Sthompsaoptions GEOM_PART_BSD #BSD partition scheme 57146985Sthompsaoptions GEOM_PART_MBR #MBR partition scheme 58146985Sthompsaoptions GEOM_PART_GPT # GUID Partition Tables. 59146985Sthompsaoptions GEOM_LABEL # Provides labelization 60146985Sthompsaoptions COMPAT_FREEBSD5 # Compatible with FreeBSD5 61146985Sthompsaoptions COMPAT_FREEBSD6 # Compatible with FreeBSD6 62146985Sthompsaoptions COMPAT_FREEBSD7 # Compatible with FreeBSD7 63146985Sthompsaoptions SCSI_DELAY=5000 # Delay (in ms) before probing SCSI 64164653Sthompsaoptions KTRACE # ktrace(1) support 65164653Sthompsaoptions STACK # stack(9) support 66164653Sthompsaoptions SYSVSHM # SYSV-style shared memory 67164653Sthompsaoptions SYSVMSG # SYSV-style message queues 68164653Sthompsaoptions SYSVSEM # SYSV-style semaphores 69164653Sthompsaoptions _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions 70164653Sthompsaoptions PRINTF_BUFR_SIZE=128 # Prevent printf output being interspersed. 71164653Sthompsa#options HWPMC_HOOKS # Necessary kernel hooks for hwpmc(4) 72164653Sthompsa#options AUDIT # Security event auditing 73164653Sthompsa#options CAPABILITY_MODE # Capsicum capability mode 74163863Sthompsa#options CAPABILITIES # Capsicum capabilities 75163863Sthompsa#options MAC # TrustedBSD MAC Framework 76163863Sthompsa#options INCLUDE_CONFIG_FILE # Include this file in kernel 77163863Sthompsa 78163863Sthompsa# required for netbooting 79163863Sthompsaoptions BOOTP 80163863Sthompsaoptions BOOTP_COMPAT 81163863Sthompsaoptions BOOTP_NFSROOT 82163863Sthompsaoptions BOOTP_NFSV3 83163863Sthompsaoptions BOOTP_WIRED_TO=ate0 84163863Sthompsa 85163863Sthompsa# alternatively, boot from a MMC/SD memory card 86163863Sthompsa#options ROOTDEVNAME=\"ufs:/dev/mmcsd0a\" 87163863Sthompsa 88163863Sthompsa# kernel/memory size reduction 89163863Sthompsaoptions MUTEX_NOINLINE 90163863Sthompsaoptions NO_FFS_SNAPSHOT 91163863Sthompsaoptions NO_SWAPPING 92163863Sthompsaoptions NO_SYSCTL_DESCR 93163863Sthompsaoptions RWLOCK_NOINLINE 94163863Sthompsa 95146985Sthompsa# Debugging support. Always need this: 96146985Sthompsaoptions KDB # Enable kernel debugger support. 97146985Sthompsa# For minimum debugger support (stable branch) use: 98146985Sthompsaoptions KDB_TRACE # Print a stack trace for a panic. 99146985Sthompsa# For full debugger support use this instead: 100146985Sthompsaoptions DDB # Support DDB. 101146985Sthompsaoptions GDB # Support remote GDB. 102146985Sthompsa#options DEADLKRES # Enable the deadlock resolver 103146985Sthompsa#options INVARIANTS # Enable calls of extra sanity checking 104146985Sthompsa#options INVARIANT_SUPPORT # Extra sanity checks of internal structures, required by INVARIANTS 105146985Sthompsa#options WITNESS # Enable checks to detect deadlocks and cycles 106146985Sthompsa#options WITNESS_SKIPSPIN # Don't run witness on spinlocks for speed 107146985Sthompsa#options MALLOC_DEBUG_MAXZONES=8 # Separate malloc(9) zones 108146985Sthompsa 109146985Sthompsa# The `bpf' device enables the Berkeley Packet Filter. 110146985Sthompsa# Be aware of the administrative consequences of enabling this! 111146985Sthompsa# Note that 'bpf' is required for DHCP. 112146985Sthompsadevice bpf # Berkeley packet filter 113146985Sthompsa 114146985Sthompsa# Ethernet 115146985Sthompsadevice mii # Minimal MII support 116146985Sthompsadevice ate # Atmel AT91 Ethernet friver 117146985Sthompsa 118146985Sthompsa# I2C 119146985Sthompsadevice at91_twi # Atmel AT91 Two-wire Interface 120146985Sthompsadevice iic # I2C generic I/O device driver 121146985Sthompsadevice iicbus # I2C bus system 122146985Sthompsadevice pcf8563 # NXP PCF8563 clock/calendar 123146985Sthompsa 124146985Sthompsa# MMC/SD 125146985Sthompsadevice at91_mci # Atmel AT91 Multimedia Card Interface 126146985Sthompsaoptions AT91_MCI_HAS_4WIRE 127146985Sthompsadevice mmc # MMC/SD bus 128146985Sthompsadevice mmcsd # MMC/SD memory card 129146985Sthompsa 130146985Sthompsa# DataFlash 131146985Sthompsadevice at91_spi # Atmel AT91 Serial Peripheral Interface 132146985Sthompsadevice spibus # SPI bus 133146985Sthompsadevice at45d # Atmel AT45D 134146985Sthompsadevice geom_map # GEOM partition mapping 135146985Sthompsa 136146985Sthompsa# Pseudo devices. 137146985Sthompsadevice loop # Network loopback 138146985Sthompsadevice random # Entropy device 139146985Sthompsadevice ether # Ethernet support 140146985Sthompsadevice vlan # 802.1Q VLAN support 141146985Sthompsadevice tun # Packet tunnel. 142146985Sthompsadevice md # Memory "disks" 143146985Sthompsadevice gif # IPv6 and IPv4 tunneling 144146985Sthompsadevice faith # IPv6-to-IPv4 relaying (translation) 145151040Sthompsa#device firmware # firmware assist module 146146985Sthompsa 147146985Sthompsa# SCSI peripherals 148146985Sthompsadevice scbus # SCSI bus (required for ATA/SCSI) 149146985Sthompsadevice ch # SCSI media changers 150151040Sthompsadevice da # Direct Access (disks) 151146985Sthompsadevice sa # Sequential Access (tape etc) 152146985Sthompsadevice cd # CD 153151040Sthompsadevice pass # Passthrough device (direct ATA/SCSI access) 154151040Sthompsadevice ses # Enclosure Services (SES and SAF-TE) 155151040Sthompsa#device ctl # CAM Target Layer 156151040Sthompsa 157151040Sthompsa# Serial (COM) ports 158151040Sthompsadevice uart # Multi-uart driver 159151040Sthompsaoptions ALT_BREAK_TO_DEBUGGER 160151040Sthompsa 161151040Sthompsa# USB support 162146985Sthompsaoptions USB_DEBUG # enable debug msgs 163146985Sthompsadevice ohci # OHCI USB interface 164146985Sthompsadevice usb # USB Bus (required) 165146985Sthompsadevice umass # Disks/Mass storage - Requires scbus and da 166146985Sthompsa 167146985Sthompsa# USB device (gadget) support 168146985Sthompsadevice at91_dci # Atmel's usb device 169146985Sthompsadevice usfs # emulate a flash 170146985Sthompsadevice cdce # emulate an ethernet 171146985Sthompsadevice usb_template # Control of the gadget 172146985Sthompsa 173146985Sthompsa# watchdog 174146985Sthompsadevice at91_wdt # Atmel AT91 Watchdog Timer 175146985Sthompsa 176146985Sthompsadevice at91_rtc 177146985Sthompsadevice at91_ssc 178146985Sthompsa#device at91_tc # missing? 179146985Sthompsa 180173320Sthompsa# NAND Flash - Reference design has Samsung 256MB but others possible 181173320Sthompsadevice nand # NAND interface on CS3 182173320Sthompsa