73 lines
2.2 KiB
PHP
73 lines
2.2 KiB
PHP
#@TYPE: Machine
|
|
#@NAME: ConnectCore 8M Nano module.
|
|
#@DESCRIPTION: Machine configuration for Digi's ConnectCore 8M Nano module.
|
|
|
|
DIGI_FAMILY = "ccimx8mn"
|
|
MACHINEOVERRIDES =. "mx8:mx8m:mx8mn:ccimx8m:${DIGI_FAMILY}:"
|
|
|
|
include conf/machine/include/imx-digi-base.inc
|
|
include conf/machine/include/arm/arch-arm64.inc
|
|
|
|
# Platform u-boot settings
|
|
UBOOT_PREFIX = "imx-boot"
|
|
UBOOT_SUFFIX = "bin"
|
|
UBOOT_HAS_FASTBOOT = "true"
|
|
|
|
# The bootloader image that gets flashed consists of U-Boot and several fw binaries
|
|
EXTRA_IMAGEDEPENDS = "imx-boot"
|
|
BOOTLOADER_IMAGE_RECIPE = "imx-boot"
|
|
BOOTLOADER_SEEK = "32"
|
|
BOOTABLE_FILENAME = "${UBOOT_PREFIX}-${MACHINE}.bin"
|
|
SDIMG_BOOTLOADER = "${DEPLOY_DIR_IMAGE}/${BOOTABLE_FILENAME}"
|
|
|
|
# Set LPDDR4 FIRMWARE
|
|
DDR_FIRMWARE_NAME = "lpddr4_pmu_train_1d_imem.bin lpddr4_pmu_train_1d_dmem.bin lpddr4_pmu_train_2d_imem.bin lpddr4_pmu_train_2d_dmem.bin"
|
|
|
|
# Linux kernel configuration
|
|
KERNEL_DEFCONFIG ?= "arch/arm64/configs/ccimx8_defconfig"
|
|
|
|
STORAGE_MEDIA = "mmc"
|
|
|
|
# Wireless external module
|
|
WIRELESS_MODULE ?= ""
|
|
WIRELESS_MODULE_append = " ${@oe.utils.conditional('HAVE_WIFI', '1', 'kernel-module-qualcomm', '', d)}"
|
|
HAS_WIFI_VIRTWLANS = "true"
|
|
|
|
# Firmware
|
|
MACHINE_FIRMWARE ?= "firmware-imx-sdma firmware-imx-easrc"
|
|
MACHINE_FIRMWARE_append = " ${@oe.utils.conditional('HAVE_BT', '1', 'firmware-qualcomm-qca6564-bt', '', d)}"
|
|
MACHINE_FIRMWARE_append = " ${@oe.utils.conditional('HAVE_WIFI', '1', 'firmware-qualcomm-qca6564-wifi', '', d)}"
|
|
|
|
MACHINE_EXTRA_RDEPENDS += " \
|
|
e2fsprogs-mke2fs \
|
|
e2fsprogs-resize2fs \
|
|
parted \
|
|
u-boot-fw-utils \
|
|
xbee-init \
|
|
"
|
|
|
|
MACHINE_EXTRA_RRECOMMENDS += " \
|
|
${MACHINE_FIRMWARE} \
|
|
${WIRELESS_MODULE} \
|
|
cryptodev-module \
|
|
cryptoauthlib \
|
|
"
|
|
|
|
MACHINE_FEATURES += "accel-graphics accel-video wifi bluetooth cryptochip mca"
|
|
|
|
# AARCH64 doesn't support self-extracting zImage
|
|
KERNEL_IMAGETYPE = "Image.gz"
|
|
|
|
VIRTUAL-RUNTIME_init_manager ?= "systemd"
|
|
VIRTUAL-RUNTIME_initscripts ?= "initscripts"
|
|
|
|
# TrustFence
|
|
TRUSTFENCE_SIGN_MODE = "HAB"
|
|
# TODO: not yet supported
|
|
TRUSTFENCE_ENCRYPT_ENVIRONMENT = "0"
|
|
|
|
# Adding 'wayland' along with 'x11' enables the xwayland backend
|
|
# Vulkan is necessary for wayland to build
|
|
DISTRO_FEATURES_append = " wayland vulkan systemd pam"
|
|
DISTRO_FEATURES_BACKFILL_CONSIDERED = "sysvinit"
|