54 lines
1.5 KiB
C++
54 lines
1.5 KiB
C++
#@TYPE: Machine
|
|
#@NAME: ConnectCore 8X module.
|
|
#@DESCRIPTION: Machine configuration for Digi's ConnectCore 8X module.
|
|
|
|
DIGI_FAMILY = "ccimx8x"
|
|
MACHINEOVERRIDES =. "mx8:mx8x:mx8qxp:mx8dxp:mx8dx:${DIGI_FAMILY}:"
|
|
|
|
include conf/machine/include/imx-digi-base.inc
|
|
include conf/machine/include/arm/arch-arm64.inc
|
|
|
|
# Platform u-boot settings
|
|
UBOOT_SUFFIX = "bin"
|
|
UBOOT_SYMLINK = "u-boot-${MACHINE}.${UBOOT_SUFFIX}"
|
|
|
|
# The bootloader image that gets flashed consists of U-Boot and several fw binaries
|
|
EXTRA_IMAGEDEPENDS = "imx-boot"
|
|
IMAGE_BOOTLOADER = "imx-boot"
|
|
# BOOTLOADER_SEEK is 33 for step A of the silicon and 32 for step B
|
|
BOOTLOADER_SEEK = "32"
|
|
SDIMG_BOOTLOADER = "${DEPLOY_DIR_IMAGE}/imx-boot-${MACHINE}.bin"
|
|
|
|
# Linux kernel configuration
|
|
KERNEL_DEFCONFIG ?= "arch/arm64/configs/ccimx8x_defconfig"
|
|
|
|
# Wireless external module
|
|
WIRELESS_MODULE ?= ""
|
|
|
|
# Firmware
|
|
MACHINE_FIRMWARE ?= "firmware-imx-vpu-imx8 firmware-imx-sdma"
|
|
|
|
MACHINE_EXTRA_RDEPENDS += " \
|
|
e2fsprogs-mke2fs \
|
|
e2fsprogs-resize2fs \
|
|
mca-tool \
|
|
parted \
|
|
u-boot-fw-utils \
|
|
"
|
|
|
|
MACHINE_EXTRA_RRECOMMENDS += " \
|
|
${MACHINE_FIRMWARE} \
|
|
${WIRELESS_MODULE} \
|
|
cryptodev-module \
|
|
cryptoauthlib \
|
|
"
|
|
|
|
MACHINE_FEATURES += "accel-graphics accel-video wifi bluetooth cryptochip"
|
|
|
|
# AARCH64 doesn't support self-extracting zImage
|
|
KERNEL_IMAGETYPE = "Image.gz"
|
|
|
|
# Adding 'wayland' along with 'x11' enables the xwayland backend
|
|
# Vulkan is necessary for wayland to build
|
|
DISTRO_FEATURES_append = " wayland vulkan"
|