mirror of
https://github.com/Freescale/meta-freescale-3rdparty.git
synced 2025-07-05 05:15:24 +02:00
55 lines
1.8 KiB
Plaintext
55 lines
1.8 KiB
Plaintext
#@TYPE: Machine
|
|
#@NAME: Toradex Colibri iMX7D/S (NAND)
|
|
#@SOC: i.MX 7Dual / i.MX 7Solo
|
|
#@DESCRIPTION: Machine configuration for Toradex Colibri iMX7 SOM (NAND)
|
|
#@MAINTAINER: Max Krummenacher <max.krummenacher@toradex.com>
|
|
|
|
MACHINEOVERRIDES =. "mx7:mx7d:colibri-imx7:"
|
|
|
|
include conf/machine/include/imx-base.inc
|
|
include conf/machine/include/tune-cortexa7.inc
|
|
|
|
PREFERRED_PROVIDER_virtual/kernel_use-nxp-bsp ??= "linux-toradex"
|
|
|
|
KERNEL_IMAGETYPE = "zImage"
|
|
|
|
KERNEL_DEVICETREE = " \
|
|
imx7d-colibri-eval-v3.dtb \
|
|
imx7s-colibri-eval-v3.dtb \
|
|
"
|
|
|
|
KERNEL_DEVICETREE:append:use-nxp-bsp = " \
|
|
imx7d-colibri-aster.dtb \
|
|
imx7s-colibri-aster.dtb \
|
|
"
|
|
|
|
# U-Boot of our newer release read the Kernel and device tree from static UBI
|
|
# volumes, hence no need to deploy the kernel binary in the image itself
|
|
RDEPENDS:${KERNEL_PACKAGE_NAME}-base = ""
|
|
|
|
PREFERRED_PROVIDER_u-boot ?= "u-boot-toradex"
|
|
PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot-toradex"
|
|
PREFERRED_PROVIDER_u-boot-fw-utils ?= "u-boot-toradex-fw-utils"
|
|
PREFERRED_RPROVIDER_u-boot-fw-utils ?= "u-boot-toradex-fw-utils"
|
|
PREFERRED_PROVIDER_u-boot-default-script ?= "u-boot-script-toradex"
|
|
|
|
# U-Boot NAND binary includes 0x400 padding required for NAND boot
|
|
UBOOT_BINARY = "u-boot-nand.imx"
|
|
UBOOT_MAKE_TARGET = "u-boot.imx"
|
|
UBOOT_MACHINE ?= "colibri_imx7_defconfig"
|
|
|
|
IMAGE_FSTYPES += "tar.xz"
|
|
# wic support
|
|
IMAGE_BOOT_FILES:append = " boot.scr-${MACHINE};boot.scr"
|
|
WKS_FILE_DEPENDS:append = " u-boot-default-script"
|
|
WKS_FILE = "sdimage-bootpart.wks"
|
|
|
|
# Enable free --space-fixup (-F) by default, this allows DFU updates
|
|
MKUBIFS_ARGS = " -c 8112 -e 124KiB -m 2KiB -F"
|
|
UBINIZE_ARGS = " -p 128KiB -m 2048 -s 2048"
|
|
UBI_VOLNAME = "rootfs"
|
|
|
|
SERIAL_CONSOLES = "115200;ttymxc0"
|
|
|
|
MACHINE_FEATURES += "screen usbgadget usbhost vfat ext2 alsa touchscreen wifi bluetooth 3g"
|