#@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 = "${MACHINE}.dtb"
|
|
# Device tree overlay files generated during kernel compilation
|
KERNEL_DTOVERLAY = " \
|
${MACHINE}/adc.dtbo \
|
${MACHINE}/cam.dtbo \
|
${MACHINE}/can1.dtbo \
|
${MACHINE}/can2.dtbo \
|
${MACHINE}/i2c1.dtbo \
|
${MACHINE}/lcd.dtbo \
|
${MACHINE}/nbiot-4g.dtbo \
|
${MACHINE}/pwm7.dtbo \
|
${MACHINE}/pwm8.dtbo \
|
${MACHINE}/spi1.dtbo \
|
${MACHINE}/uart2.dtbo \
|
${MACHINE}/uart3.dtbo \
|
${MACHINE}/uart4.dtbo \
|
${MACHINE}/uart7.dtbo \
|
${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} \
|
${KERNEL_DEVICETREE} \
|
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"
|