2014-12-21 11:37:00 +00:00
|
|
|
#
|
2012-12-16 00:20:16 +00:00
|
|
|
# VERSATILEPB - Configuration for QEMU version of Versatile Platform Board
|
2012-12-13 23:19:13 +00:00
|
|
|
#
|
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:
|
2012-12-13 23:19:13 +00:00
|
|
|
#
|
2017-10-29 08:17:03 +00:00
|
|
|
# https://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
|
2012-12-13 23:19:13 +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
|
2012-12-13 23:19:13 +00:00
|
|
|
# latest information.
|
|
|
|
#
|
|
|
|
# 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
|
2012-12-13 23:19:13 +00:00
|
|
|
# in NOTES.
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
ident VERSATILEPB
|
|
|
|
machine arm armv6
|
2012-12-20 04:32:02 +00:00
|
|
|
cpu CPU_ARM1176
|
2012-12-13 23:19:13 +00:00
|
|
|
|
2015-05-07 12:38:23 +00:00
|
|
|
include "std.armv6"
|
2012-12-13 23:19:13 +00:00
|
|
|
files "../versatile/files.versatile"
|
|
|
|
makeoptions MODULES_OVERRIDE=""
|
|
|
|
|
|
|
|
options KERNVIRTADDR=0xc0100000
|
|
|
|
makeoptions KERNVIRTADDR=0xc0100000
|
|
|
|
|
2014-03-16 15:22:46 +00:00
|
|
|
options SCHED_4BSD # 4BSD scheduler
|
2014-12-21 11:37:00 +00:00
|
|
|
options LINUX_BOOT_ABI # Process metadata passed from Linux boot loaders
|
2012-12-13 23:19:13 +00:00
|
|
|
|
2014-12-21 11:37:00 +00:00
|
|
|
options ROOTDEVNAME=\"ufs:da0s1a\"
|
2012-12-13 23:19:13 +00:00
|
|
|
|
|
|
|
device bpf
|
|
|
|
device loop
|
|
|
|
device mii
|
|
|
|
device mii_bitbang
|
|
|
|
device smc
|
|
|
|
device smcphy
|
|
|
|
device ether
|
|
|
|
device uart
|
|
|
|
device pl011
|
|
|
|
device pl190
|
|
|
|
|
|
|
|
device pty
|
2014-12-21 11:37:00 +00:00
|
|
|
device snp
|
2012-12-13 23:19:13 +00:00
|
|
|
|
|
|
|
device pci
|
|
|
|
|
|
|
|
# SCSI Controllers
|
2014-03-16 15:22:46 +00:00
|
|
|
device sym # NCR/Symbios/LSI Logic 53C8XX/53C1010/53C1510D
|
2012-12-13 23:19:13 +00:00
|
|
|
|
|
|
|
# ATA/SCSI peripherals
|
2014-03-16 15:22:46 +00:00
|
|
|
device scbus # SCSI bus (required for ATA/SCSI)
|
|
|
|
device da # Direct Access (disks)
|
|
|
|
device pass # Passthrough device (direct ATA/SCSI access)
|
2012-12-13 23:19:13 +00:00
|
|
|
|
|
|
|
# NOTE: serial console is disabled if syscons enabled
|
|
|
|
# Comment following lines for headless setup
|
|
|
|
device sc
|
|
|
|
device kbdmux
|
2014-12-21 11:55:40 +00:00
|
|
|
options SC_DFLT_FONT # compile font in
|
|
|
|
makeoptions SC_DFLT_FONT=cp437
|
2012-12-13 23:19:13 +00:00
|
|
|
|
|
|
|
device md
|
|
|
|
|
2017-07-04 12:17:49 +00:00
|
|
|
options PLATFORM
|
2017-04-01 20:10:08 +00:00
|
|
|
|
2012-12-13 23:19:13 +00:00
|
|
|
# Flattened Device Tree
|
2014-12-21 11:37:00 +00:00
|
|
|
options FDT # Configure using FDT/DTB data
|
|
|
|
options FDT_DTB_STATIC
|
2017-04-01 20:10:08 +00:00
|
|
|
makeoptions FDT_DTS_FILE=versatile-pb.dts
|