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
31 lines
717 B
Plaintext
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
|