2014-12-21 11:37:00 +00:00
|
|
|
#
|
2014-03-16 15:22:46 +00:00
|
|
|
# ZEDBOARD -- Custom configuration for the Xilinx Zynq-7000 based
|
2015-11-13 15:36:40 +00:00
|
|
|
# ZedBoard (www.zedboard.org) and similar Zynq boards.
|
2014-12-21 11:37:00 +00:00
|
|
|
#
|
|
|
|
# For more information on this file, please read the config(5) manual page,
|
|
|
|
# and/or the handbook section on Kernel Configuration Files:
|
|
|
|
#
|
2017-10-29 08:17:03 +00:00
|
|
|
# https://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
|
2014-12-21 11:37:00 +00:00
|
|
|
#
|
2014-03-16 15:22:46 +00:00
|
|
|
# The handbook is also available locally in /usr/share/doc/handbook
|
|
|
|
# if you've installed the doc distribution, otherwise always see the
|
2017-10-29 08:17:03 +00:00
|
|
|
# FreeBSD World Wide Web server (https://www.FreeBSD.org/) for the
|
2014-03-16 15:22:46 +00:00
|
|
|
# latest information.
|
2014-12-21 11:37:00 +00:00
|
|
|
#
|
2014-03-16 15:22:46 +00:00
|
|
|
# An exhaustive list of options and more detailed explanations of the
|
2014-12-21 11:37:00 +00:00
|
|
|
# device lines is also present in the ../../conf/NOTES and NOTES files.
|
|
|
|
# If you are in doubt as to the purpose or necessity of a line, check first
|
2014-03-16 15:22:46 +00:00
|
|
|
# in NOTES.
|
2014-12-21 11:37:00 +00:00
|
|
|
#
|
2014-03-16 15:22:46 +00:00
|
|
|
# $FreeBSD$
|
2013-04-27 22:38:29 +00:00
|
|
|
|
|
|
|
ident ZEDBOARD
|
|
|
|
|
2017-10-05 23:01:50 +00:00
|
|
|
include "std.armv7"
|
2016-02-11 10:48:15 +00:00
|
|
|
include "../xilinx/std.zynq7"
|
2013-04-27 22:38:29 +00:00
|
|
|
|
2016-04-26 21:11:52 +00:00
|
|
|
makeoptions MODULES_EXTRA="dtb/zynq"
|
|
|
|
|
2015-01-03 23:57:03 +00:00
|
|
|
options SCHED_ULE # ULE scheduler
|
2017-06-03 19:11:32 +00:00
|
|
|
options PLATFORM # Platform based SoC
|
2014-12-21 11:37:00 +00:00
|
|
|
#options NFSSD # Network Filesystem Server
|
|
|
|
options SMP # Enable multiple cores
|
2013-04-27 22:38:29 +00:00
|
|
|
|
2014-12-21 11:37:00 +00:00
|
|
|
# NFS root from boopt/dhcp
|
|
|
|
#options BOOTP
|
|
|
|
#options BOOTP_NFSROOT
|
|
|
|
#options BOOTP_COMPAT
|
|
|
|
#options BOOTP_NFSV3
|
2013-04-27 22:38:29 +00:00
|
|
|
|
2014-12-21 11:37:00 +00:00
|
|
|
options ROOTDEVNAME=\"ufs:mmcsd0s2a\"
|
2013-04-27 22:38:29 +00:00
|
|
|
|
2015-05-10 12:13:27 +00:00
|
|
|
# Interrupt controller
|
|
|
|
device gic
|
2016-02-11 18:01:10 +00:00
|
|
|
|
2015-11-20 16:43:21 +00:00
|
|
|
# Cache controller
|
|
|
|
device pl310 # PL310 L2 cache controller
|
2015-11-21 16:23:56 +00:00
|
|
|
# ARM MPCore timer
|
|
|
|
device mpcore_timer
|
2015-05-10 12:13:27 +00:00
|
|
|
|
2013-04-27 22:38:29 +00:00
|
|
|
device loop
|
|
|
|
device random
|
|
|
|
device ether
|
2014-09-03 17:51:03 +00:00
|
|
|
device cgem # Zynq-7000 gig ethernet device
|
2013-04-27 22:38:29 +00:00
|
|
|
device mii
|
2014-09-03 17:51:03 +00:00
|
|
|
device e1000phy
|
2015-11-13 15:36:40 +00:00
|
|
|
device rgephy # Zybo uses Realtek RTL8211E
|
2013-04-27 22:38:29 +00:00
|
|
|
device pty
|
|
|
|
device uart
|
|
|
|
device gpio
|
|
|
|
|
|
|
|
device md
|
|
|
|
device mmc # mmc/sd bus
|
|
|
|
device mmcsd # mmc/sd flash cards
|
|
|
|
device sdhci # generic sdhci
|
|
|
|
device bpf # Berkeley packet filter
|
|
|
|
|
|
|
|
# USB support
|
|
|
|
device usb
|
|
|
|
device ehci
|
|
|
|
device umass
|
2014-09-01 03:49:21 +00:00
|
|
|
device scbus # SCSI bus (required for ATA/SCSI)
|
2013-04-27 22:38:29 +00:00
|
|
|
device da # Direct Access (disks)
|
|
|
|
device axe # USB-Ethernet
|
|
|
|
|
|
|
|
|
|
|
|
# Flattened Device Tree
|
2014-12-21 11:37:00 +00:00
|
|
|
options FDT # Configure using FDT/DTB data
|
|
|
|
#options FDT_DTB_STATIC
|
|
|
|
#makeoptions FDT_DTS_FILE=zedboard.dts
|
2013-04-27 22:38:29 +00:00
|
|
|
|