#@TYPE: Machine
|
#@NAME: LingYun IoT Gateway Kit Board
|
#@SOC: i.MX6ULL
|
#@DESCRIPTION: Machine configuration for LingYun IoT Gateway Kit Board
|
|
# Add new machine igkboard-6ull
|
MACHINEOVERRIDES =. "mx6:mx6ul:mx6ull:igkboardbase:igkboard-6ull"
|
|
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 comfiguration
|
UBOOT_CONFIG ??= "sd"
|
UBOOT_CONFIG[sd] = "${MACHINE}_defconfig,sdcard"
|
|
# Define the kernel boot file
|
IMAGE_BOOT_FILES = " \
|
${KERNEL_IMAGETYPE} \
|
${KERNEL_DEVICETREE} \
|
overlays/*;overlays/ \
|
"
|
# 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"
|