aboutsummaryrefslogtreecommitdiffstats
path: root/conf/distro/include/nitrogen6x.conf
blob: 542e1597b9dd9df7e6daa9bd9d926636bb8c4a20 (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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
##############################################################################
##
## Copyright (C) 2016 The Qt Company Ltd.
## Contact: http://www.qt.io/licensing/
##
## This file is part of the Boot to Qt meta layer.
##
## $QT_BEGIN_LICENSE:COMM$
##
## Commercial License Usage
## Licensees holding valid commercial Qt licenses may use this file in
## accordance with the commercial license agreement provided with the
## Software or, alternatively, in accordance with the terms contained in
## a written agreement between you and The Qt Company. For licensing terms
## and conditions see http://www.qt.io/terms-conditions. For further
## information use the contact form at http://www.qt.io/contact-us.
##
## $QT_END_LICENSE$
##
##############################################################################

include conf/distro/include/imx6.inc

DEPLOY_CONF_NAME = "Boundary Devices i.MX6"

BOOTFS_CONTENT = "\
    ${KERNEL_IMAGETYPE}:${KERNEL_IMAGETYPE} \
    ${KERNEL_IMAGETYPE}-imx6q-${MACHINE}.dtb:imx6q-${MACHINE}.dtb \
    ${KERNEL_IMAGETYPE}-imx6dl-${MACHINE}.dtb:imx6dl-${MACHINE}.dtb \
    ${KERNEL_IMAGETYPE}-imx6q-sabrelite.dtb:imx6q-sabrelite.dtb \
    ${KERNEL_IMAGETYPE}-imx6dl-nit6xlite.dtb:imx6dl-nit6xlite.dtb \
    ${KERNEL_IMAGETYPE}-imx6q-nitrogen6_max.dtb:imx6q-nitrogen6_max.dtb \
    6x_bootscript-${MACHINE}:6x_bootscript \
    6x_upgrade-${MACHINE}:6x_upgrade \
    u-boot-${MACHINE}.imx:u-boot.imx \
    "
BOOTFS_DEPENDS = "u-boot:do_deploy virtual/kernel:do_deploy u-boot-script-boundary:do_deploy"
BOOT_SPACE = "16384"
BOOT_SCRIPTS += "6x_upgrade-${MACHINE}:6x_upgrade \
                 u-boot-nit6xlite-*.imx:u-boot.nit6xlite \
                 u-boot-nit6xlite1g-*.imx:u-boot.nit6xlite1g \
                 u-boot-nitrogen6dl-*.imx:u-boot.nitrogen6dl \
                 u-boot-nitrogen6dl2g-*.imx:u-boot.nitrogen6dl2g \
                 u-boot-nitrogen6q2g-*.imx:u-boot.nitrogen6q2g \
                 u-boot-nitrogen6q-*.imx:u-boot.nitrogen6q \
                 u-boot-nitrogen6q_fl-*.imx:u-boot.nitrogen6q_fl \
                 u-boot-nitrogen6qp_max-*.imx:u-boot.nitrogen6qp_max \
                 u-boot-nitrogen6s1g-*.imx:u-boot.nitrogen6s1g \
                 u-boot-nitrogen6s-*.imx:u-boot.nitrogen6s \
                 u-boot-nitrogen6sx-*.imx:u-boot.nitrogen6sx \
                 u-boot-nitrogen6_lum_dl1-*.imx:u-boot.nitrogen6_lum_dl1 \
                 u-boot-nitrogen6_max-*.imx:u-boot.nitrogen6_max \
                 u-boot-nitrogen6_vm1g-*.imx:u-boot.nitrogen6_vm1g \
                 u-boot-nitrogen6_vm-*.imx:u-boot.nitrogen6_vm \
                "

UBOOT_MACHINE = ""
UBOOT_CONFIG ??= "nit6xlite nit6xlite1g \
                  nitrogen6dl nitrogen6dl2g \
                  nitrogen6q2g nitrogen6q nitrogen6q_fl nitrogen6qp_max \
                  nitrogen6s1g nitrogen6s nitrogen6sx \
                  nitrogen6_lum_dl1 nitrogen6_max \
                  nitrogen6_vm1g nitrogen6_vm \
                 "

UBOOT_CONFIG[nit6xlite] = "nit6xlite_config"
UBOOT_CONFIG[nit6xlite1g] = "nit6xlite1g_config"
UBOOT_CONFIG[nitrogen6dl] = "nitrogen6dl_config"
UBOOT_CONFIG[nitrogen6dl2g] = "nitrogen6dl2g_config"
UBOOT_CONFIG[nitrogen6q2g] = "nitrogen6q2g_config"
UBOOT_CONFIG[nitrogen6q] = "nitrogen6q_config"
UBOOT_CONFIG[nitrogen6q_fl] = "nitrogen6q_fl_config"
UBOOT_CONFIG[nitrogen6qp_max] = "nitrogen6qp_max_config"
UBOOT_CONFIG[nitrogen6s1g] = "nitrogen6s1g_config"
UBOOT_CONFIG[nitrogen6s] = "nitrogen6s_config"
UBOOT_CONFIG[nitrogen6sx] = "nitrogen6sx_config"
UBOOT_CONFIG[nitrogen6_lum_dl1] = "nitrogen6_lum_dl1_config"
UBOOT_CONFIG[nitrogen6_max] = "nitrogen6_max_config"
UBOOT_CONFIG[nitrogen6_vm1g] = "nitrogen6_vm1g_config"
UBOOT_CONFIG[nitrogen6_vm] = "nitrogen6_vm_config"

EXTRA_IMAGEDEPENDS += "u-boot-script-boundary"

KERNEL_DEVICETREE += "imx6dl-nit6xlite.dtb"

DISTRO_FEATURES_DEFAULT += "wayland"

MACHINE_EXTRA_INSTALL = "\
        libgal-mx6 \
        libegl-mx6 \
        libgles2-mx6 \
        ${@base_contains("DISTRO_FEATURES", "gstreamer010", "gst-fsl-plugin", "", d)} \
        ${@base_contains("DISTRO_FEATURES", "gstreamer", "gstreamer1.0-plugins-imx-meta", "", d)} \
        bcm4330-nvram-config \
        libopencv-core \
        libopencv-imgproc \
        libopencv-objdetect \
        "

MACHINE_EXTRA_INSTALL_SDK += " \
        libgal-mx6 \
        libegl-mx6 \
        libegl-mx6-dev \
        libgles2-mx6 \
        libgles2-mx6-dev \
        opencv-dev \
        "

ADB_PRODUCTID = "0x0d02"