2 # ALLWINNER -- Custom configuration for the Allwinner A20 and A31 ARM SoC
4 # For more information on this file, please read the config(5) manual page,
5 # and/or the handbook section on Kernel Configuration Files:
7 # http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
9 # The handbook is also available locally in /usr/share/doc/handbook
10 # if you've installed the doc distribution, otherwise always see the
11 # FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
14 # An exhaustive list of options and more detailed explanations of the
15 # device lines is also present in the ../../conf/NOTES and NOTES files.
16 # If you are in doubt as to the purpose or necessity of a line, check first
24 include "../allwinner/std.allwinner"
28 options SOC_ALLWINNER_A20
29 options SOC_ALLWINNER_A31
30 options SOC_ALLWINNER_A31S
33 options SCHED_ULE # ULE scheduler
34 options SMP # Enable multiple cores
38 # Debugging for use in -current
39 makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols
40 options ALT_BREAK_TO_DEBUGGER
41 #options VERBOSE_SYSINIT # Enable verbose sysinit messages
42 options KDB # Enable kernel debugger support
43 # For minimum debugger support (stable branch) use:
44 #options KDB_TRACE # Print a stack trace for a panic
45 # For full debugger support use this instead:
46 options DDB # Enable the kernel debugger
47 options INVARIANTS # Enable calls of extra sanity checking
48 options INVARIANT_SUPPORT # Extra sanity checks of internal structures, required by INVARIANTS
49 options WITNESS # Enable checks to detect deadlocks and cycles
50 options WITNESS_SKIPSPIN # Don't run witness on spinlocks for speed
53 # NFS root from boopt/dhcp
55 #options BOOTP_NFSROOT
58 #options BOOTP_WIRED_TO=dwc0
60 # EXT_RESOURCES pseudo devices
67 # Interrupt controller
73 # MMC/SD/SDIO Card slot support
74 device mmc # mmc/sd bus
75 device mmcsd # mmc/sd flash cards
78 device ahci # AHCI-compatible SATA controllers
79 #device ata # Legacy ATA/SATA controllers
87 device random # Entropy device
93 device axp209 # AXP209 Power Management Unit
99 device scbus # SCSI bus (required for ATA/SCSI)
100 device da # Direct Access (disks)
101 device pass # Passthrough device (direct ATA/SCSI access)
104 options USB_HOST_ALIGN=64 # Align usb buffers to cache line size.
107 #options USB_REQ_DEBUG
121 #device emac # 10/100 integrated EMAC controller
122 device dwc # 10/100/1000 integrated GMAC controller
124 # USB ethernet support, requires miibus
130 # Framebuffer support
141 # Flattened Device Tree
142 options FDT # Configure using FDT/DTB data
143 makeoptions MODULES_EXTRA=dtb/allwinner