freebsd-skq/sys/mips/conf/MT7628_FDT
Stanislav Galabov 3e4b91800a In order to build a kernel with one of these configs the user should do
the following:

1. Give the appropriate board dts file to be used by either:
1.1. edit the SoC kernel config required (e.g., MT7620A_FDT) and include
the required FDT_DTS_FILE makeoption; or
1.2. simply supply FDT_DTS_FILE="xx.dts" on the command line when building
the kernel
Of course, the user can also create a completely new kernel config to
match the desired board and include the SoC kernel config from within
it.

If required, edit the MEDIATEK config file, which includes optional
drivers and comment out the unneeded ones.
2.1. this would only make sense if kernel size is a concern. Even if we
build the kernel with all drivers, if we lzma it and package it as a uImage,
its size is still around 1.1MiB.

The user will have to choose a dts file (or create a new one) from
sys/gnu/dts/mips , where all Mediatek/Ralink dts files will be imported via
a later revision.

Approved by:	adrian (mentor)
Sponsored by:	Smartcom - Bulgaria AD
Differential Revision:	https://reviews.freebsd.org/D5966
2016-04-15 15:20:41 +00:00

31 lines
717 B
Plaintext

#
# MT7628_FDT -- Kernel configuration file for FreeBSD/MIPS MT7628/MT7688 SoCs
#
# This includes all the configurable parts of the kernel. Please read through
# MEDIATEK kernel config and customize the options to fit your board if needed.
#
# $FreeBSD$
#
#NO_UNIVERSE
#
# FDT_DTS_FILE should be modified to suit the target board type.
#
#makeoptions FDT_DTS_FILE=MT7628.dts
#
# The user should never have to edit what's below this line.
# If customizations are needed, they should be done to the MEDIATEK kernel
# configuration.
#
# Start with a base configuration
include MEDIATEK_BASE
ident MT7628
cpu CPU_MIPS24K
# Include optional configuration (to be edited by the user if needed)
include MEDIATEK