2 # ALLWINNER -- Custom configuration for the Allwinner A20, A31, A31S, A83T,
5 # For more information on this file, please read the config(5) manual page,
6 # and/or the handbook section on Kernel Configuration Files:
8 # http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
10 # The handbook is also available locally in /usr/share/doc/handbook
11 # if you've installed the doc distribution, otherwise always see the
12 # FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
15 # An exhaustive list of options and more detailed explanations of the
16 # device lines is also present in the ../../conf/NOTES and NOTES files.
17 # If you are in doubt as to the purpose or necessity of a line, check first
25 include "../allwinner/std.allwinner"
29 options SOC_ALLWINNER_A20
30 options SOC_ALLWINNER_A31
31 options SOC_ALLWINNER_A31S
32 options SOC_ALLWINNER_A83T
33 options SOC_ALLWINNER_H3
36 options SCHED_ULE # ULE scheduler
37 options SMP # Enable multiple cores
42 # Debugging for use in -current
43 makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols
44 options ALT_BREAK_TO_DEBUGGER
45 #options VERBOSE_SYSINIT # Enable verbose sysinit messages
46 options KDB # Enable kernel debugger support
47 # For minimum debugger support (stable branch) use:
48 #options KDB_TRACE # Print a stack trace for a panic
49 # For full debugger support use this instead:
50 options DDB # Enable the kernel debugger
51 options INVARIANTS # Enable calls of extra sanity checking
52 options INVARIANT_SUPPORT # Extra sanity checks of internal structures, required by INVARIANTS
53 options WITNESS # Enable checks to detect deadlocks and cycles
54 options WITNESS_SKIPSPIN # Don't run witness on spinlocks for speed
57 # NFS root from boopt/dhcp
59 #options BOOTP_NFSROOT
62 #options BOOTP_WIRED_TO=dwc0
64 # EXT_RESOURCES pseudo devices
71 # Interrupt controller
77 # MMC/SD/SDIO Card slot support
78 device mmc # mmc/sd bus
79 device mmcsd # mmc/sd flash cards
82 device ahci # AHCI-compatible SATA controllers
83 #device ata # Legacy ATA/SATA controllers
91 device random # Entropy device
98 device axp209 # AXP209 Power Management Unit
99 device axp81x # AXP813/818 Power Management Unit
105 device scbus # SCSI bus (required for ATA/SCSI)
106 device da # Direct Access (disks)
107 device pass # Passthrough device (direct ATA/SCSI access)
110 options USB_HOST_ALIGN=64 # Align usb buffers to cache line size.
113 #options USB_REQ_DEBUG
127 #device emac # 10/100 integrated EMAC controller
128 device dwc # 10/100/1000 integrated GMAC controller
129 device awg # 10/100/1000 integrated EMAC controller
131 # USB ethernet support, requires miibus
137 # Framebuffer support
148 # Flattened Device Tree
149 options FDT # Configure using FDT/DTB data
150 makeoptions MODULES_EXTRA=dtb/allwinner