blob: b3f65c0313cd6a4de3cfab393b0604ba571e1785 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
|
#@TYPE: Machine
#@NAME: Toradex Colibri iMX8X
#@DESCRIPTION: Toradex Colibri iMX8X powered by a i.MX 8X SoC
#@MAINTAINER: Max Krummenacher <max.krummenacherr@toradex.com>
MACHINE_NAME = "Colibri-iMX8X"
# for C0 silicon add mx8qxpc0 to the right of mx8qxp
MACHINEOVERRIDES =. "mx8:mx8x:mx8qxp:"
MACHINEOVERRIDES_append_upstream = ":use-mainline-bsp"
require conf/machine/include/imx-base.inc
# if one wants cortexa35-crypto, set DEFAULTTUNE accordingly
DEFAULTTUNE_mx8qxp = "aarch64"
require conf/machine/include/tune-cortexa35.inc
# Don't include kernels in standard images
RDEPENDS_${KERNEL_PACKAGE_NAME}-base = ""
LOADADDR = ""
# we do not want to have getty running on tty1 as we run
# auto-serial-console there
USE_VT = "0"
KERNEL_DEVICETREE = " \
freescale/fsl-imx8qxp-colibri-eval-v3.dtb \
freescale/fsl-imx8qxp-colibri-dsihdmi-eval-v3.dtb \
freescale/fsl-imx8qxp-colibri-lvds-dual-eval-v3.dtb \
freescale/fsl-imx8qxp-colibri-lvds-single-eval-v3.dtb \
freescale/fsl-imx8qxp-colibri-aster.dtb \
"
KERNEL_DEVICETREE_use-mainline-bsp = "freescale/imx8qxp-colibri-eval-v3.dtb"
UBOOT_SUFFIX = "bin"
UBOOT_CONFIG ??= "sd"
UBOOT_CONFIG[sd] = "colibri-imx8qxp_config,sdcard"
UBOOT_ENTRYPOINT = "0x80280000"
UBOOT_RD_LOADADDRESS = "0xA0000000"
BOOT_SPACE = "65536"
IMAGE_BOOTLOADER = "imx-boot"
IMX_BOOT_SEEK = "32"
MACHINE_BOOT_FILES = "boot.scr"
IMAGE_BOOT_FILES_append = " ${MACHINE_BOOT_FILES}"
WKS_FILE_DEPENDS_append = " u-boot-distro-boot"
PREFERRED_PROVIDER_virtual/kernel = "linux-toradex"
PREFERRED_PROVIDER_virtual/kernel_preempt-rt = "linux-toradex-rt"
PREFERRED_PROVIDER_virtual/kernel_use-mainline-bsp = "linux-toradex-mainline"
PREFERRED_PROVIDER_virtual/kernel_use-mainline-bsp_preempt-rt = "linux-toradex-mainline"
PREFERRED_PROVIDER_virtual/bootloader = "u-boot-toradex"
PREFERRED_PROVIDER_u-boot-fw-utils ?= "u-boot-toradex-fw-utils"
# Currently we use the nxp 2018.03 downstream for mx8 as some features are
# not yet available in 2019.03.
PREFERRED_VERSION_u-boot-toradex = "2018.03"
PREFERRED_VERSION_u-boot-toradex-fw-utils = "2018.03"
MACHINE_FIRMWARE_append = " linux-firmware-pcie8997"
MACHINE_FIRMWARE_append = " firmware-imx-vpu-imx8"
IMXBOOT_TARGETS = "flash"
BOARD_TYPE = "colibri"
IMAGE_CLASSES_append = " image_type_tezi"
IMAGE_FSTYPES += "teziimg"
# The imx-boot container takes care for the i.MX 8 offset, so the container
# has to be flashed at offset 0 directly
UBOOT_BINARY_TEZI_EMMC="imx-boot"
OFFSET_BOOTROM_PAYLOAD="0"
TORADEX_PRODUCT_IDS = "0038 0050 0051 0052"
TORADEX_PRODUCT_IDS[0038] = "fsl-imx8qxp-colibri-eval-v3.dtb"
TORADEX_PRODUCT_IDS[0050] = "fsl-imx8qxp-colibri-eval-v3.dtb"
TORADEX_PRODUCT_IDS[0051] = "fsl-imx8qxp-colibri-eval-v3.dtb"
TORADEX_PRODUCT_IDS[0052] = "fsl-imx8qxp-colibri-eval-v3.dtb"
|