#@TYPE : Machine
|
#@NAME : LingYun IoT Gatway Kits Boards based on i.MX6ULL
|
#@SOC : i.MX6ULL
|
#@DESCRIPTION: Machine configuration for LingYun IGKBoard-IMX6ULL
|
#@MAINTAINER : Wenxue Guo <guowenxue@gmail.com>
|
#@REFERENCE : meta-imx/meta-bsp/conf/machine/imx6ull9x9evk.conf
|
|
# Add new machine igkboard-imx6ull
|
MACHINEOVERRIDES =. "mx6:mx6ul:mx6ull:igkboardbase:igkboard-imx6ull"
|
|
include conf/machine/include/imx-base.inc
|
include conf/machine/include/arm/armv7a/tune-cortexa7.inc
|
|
# Device tree file generated during kernel compilation
|
KERNEL_DEVICETREE = "nxp/imx/${MACHINE}.dtb"
|
|
# Device tree overlay files generated during kernel compilation
|
KERNEL_DTOVERLAY = " \
|
nxp/imx/${MACHINE}/adc.dtbo \
|
nxp/imx/${MACHINE}/cam.dtbo \
|
nxp/imx/${MACHINE}/can1.dtbo \
|
nxp/imx/${MACHINE}/can2.dtbo \
|
nxp/imx/${MACHINE}/i2c1.dtbo \
|
nxp/imx/${MACHINE}/lcd.dtbo \
|
nxp/imx/${MACHINE}/nbiot-4g.dtbo \
|
nxp/imx/${MACHINE}/pwm7.dtbo \
|
nxp/imx/${MACHINE}/pwm8.dtbo \
|
nxp/imx/${MACHINE}/spi1.dtbo \
|
nxp/imx/${MACHINE}/uart2.dtbo \
|
nxp/imx/${MACHINE}/uart3.dtbo \
|
nxp/imx/${MACHINE}/uart4.dtbo \
|
nxp/imx/${MACHINE}/uart7.dtbo \
|
nxp/imx/${MACHINE}/w1.dtbo \
|
"
|
|
# Uboot configuration
|
UBOOT_CONFIG ??= "sd"
|
UBOOT_CONFIG[sd] = "${MACHINE}_defconfig,sdcard"
|
|
# Add wic image in deploy folder
|
SOC_DEFAULT_IMAGE_FSTYPES:append = " wic"
|
|
# Define the kernel boot file
|
WKS_FILE_DEPENDS:append = " uenv"
|
IMAGE_BOOT_FILES = " \
|
${KERNEL_IMAGETYPE} \
|
${MACHINE}.dtb \
|
overlays/*;overlays/ \
|
config.txt \
|
"
|
# Remove unused optee bcm4339 bcm43455
|
MACHINE_FEATURES += "wifi bluetooth"
|
|
# Refer to linux-imx/drivers/tty/serial/imx.c
|
SERIAL_CONSOLES = "115200;ttymxc0"
|
|
# /etc/hostname (uname -a)
|
hostname:pn-base-files = "igkboard"
|