summaryrefslogtreecommitdiff
path: root/recipes-images/images/tdx-extra.inc
blob: 6ada46f9dc17ab44b3fe0ec395f9d3a3faf1e42d (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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
#additional packages to include in our Toradex images

# Copy Licenses to image /usr/share/common-licenses, on vybrid for flash size reasons only the manifest
COPY_LIC_MANIFEST ?= "1"
#Bug with several MACHINES build, license files for all arch packages stored wrongly
COPY_LIC_DIRS ?= "1"
COPY_LIC_DIRS_colibri-vf = "0"

add_rootfs_version () {
    echo -n "${IMAGE_NAME} ${PV}" >> ${IMAGE_ROOTFS}/etc/issue
    echo " ${TDX_VERDATE}" | sed 's/-//' >>${IMAGE_ROOTFS}/etc/issue
    echo "" >> ${IMAGE_ROOTFS}/etc/issue
}

# add the rootfs version to the welcome banner
ROOTFS_POSTPROCESS_COMMAND += " add_rootfs_version;"

IMAGE_INSTALL_append_tegra124 = " \
    aspell \
    e2fsprogs \
    e2fsprogs-mke2fs \
    e2fsprogs-tune2fs \
    file \
    fs-init \
    hdmi-hotplug \
    kernel-modules \
    linuxptp \
    lvds-tegra124 \
    pciutils \
    ptpd \
    tegrastats \
    u-boot-toradex-fw-utils \
    usb-rndis-systemd \
    perf \
"
IMAGE_INSTALL_append_tegra124m = " \
    aspell \
    e2fsprogs \
    e2fsprogs-mke2fs \
    e2fsprogs-tune2fs \
    file \
    fs-init \
    hdmi-hotplug \
    kernel-modules \
    linuxptp \
    lvds-tegra124 \
    pciutils \
    ptpd \
    u-boot-toradex-fw-utils \
    perf \
"

#note that the kernel-modules meta package gets installed from
#meta-fsl-arm/conf/machine/include/imx-base.inc
IMAGE_INSTALL-MX6QDL = " \
    bmode-usb \
    libusbgx \
    libusbgx-examples \
    linuxptp \
    gpio-export \
    file \
    aspell \
    ptpd \
    fs-init \
    e2fsprogs \
    e2fsprogs-mke2fs \
    e2fsprogs-resize2fs \
    e2fsprogs-tune2fs \
    mimetypes \
"
IMAGE_INSTALL_append_mx6q = "${IMAGE_INSTALL-MX6QDL}"
IMAGE_INSTALL_append_mx6dl = "${IMAGE_INSTALL-MX6QDL}"

IMAGE_INSTALL_append_apalis-imx6 = " \
    u-boot-toradex-fw-utils \
    perf \
"
IMAGE_INSTALL_append_colibri-imx6 = " \
    u-boot-toradex-fw-utils \
    perf \
"

IMAGE_INSTALL_append_mx6ull = " \
    libusbgx \
    libusbgx-examples \
    linuxptp \
    ptpd \
    mtd-utils-ubifs \
"

#note that the kernel-modules meta package gets installed from
#meta-fsl-arm/conf/machine/include/imx-base.inc
IMAGE_INSTALL_append_apalis-imx6 = " \
    pciutils \
"

IMAGE_INSTALL_append_vf = " \
    linuxptp \
    libusbgx \
    libusbgx-examples \
    ptpd \
    mtd-utils-ubifs \
    kernel-modules \
    usb-suspend-resume \
"

IMAGE_INSTALL_append_colibri-vf = " \
    u-boot-toradex-fw-utils \
"

IMAGE_INSTALL_append_mx7 = " \
    linuxptp \
    libusbgx \
    libusbgx-examples \
    file \
    aspell \
    ptpd \
"

IMAGE_INSTALL_append_colibri-imx7-emmc = " \
    u-boot-toradex-fw-utils \
    perf \
"

IMAGE_INSTALL_append_colibri-imx7 = " \
    u-boot-toradex-fw-utils \
    mtd-utils-ubifs \
"

IMAGE_INSTALL_append_colibri-imx6ull = " \
    u-boot-toradex-fw-utils \
    mtd-utils-ubifs \
    bluez-alsa \
    mwifiexap \
"

IMAGE_INSTALL += " \
    packagegroup-dotnet-deps \
    \
    wireless-regdb-static \
    \
    alsa-utils \
    alsa-utils-aplay \
    alsa-utils-amixer \
    \
    sqlite3 \
    \
    ${BACKPORTS_WIFI} \
    curl \
    can-utils iproute2 \
    nfs-utils-client \
    openssh-scp \
    openssh-sftp \
    \
    bzip2 \
    gdbserver \
    grep \
    joe \
    minicom \
    ldd \
    lsof \
    mtd-utils \
    dosfstools \
    util-linux-fstrim \
    \
    devmem2 \
    ethtool \
    evtest \
    hdparm \
    iperf3 \
    i2c-tools \
    libsoc \
    lmbench \
    memtester \
    mmc-utils-cos \
    nbench-byte \
    rt-tests \
    stress \
    tinymembench \
    util-linux-lsblk \
    \
    tdx-oak-sensors \
"

IMAGE_INSTALL_append_mx8 = " \
    util-linux \
"

#Backports

BACKPORTS_WIFI = " \
    backports \
    linux-firmware-ath10k    \
    linux-firmware-sd8686    \
    linux-firmware-sd8688    \
    linux-firmware-sd8787    \
    linux-firmware-sd8797    \
    linux-firmware-sd8887    \
    linux-firmware-sd8997    \
    linux-firmware-ralink    \
    linux-firmware-rtl8192cu \
    linux-firmware-rtl8188eu \
    hostapd \
"
BACKPORTS_WIFI_EXTRA = " \
    linux-firmware-ath9k     \
    linux-firmware-iwlwifi   \
"

IMAGE_INSTALL_append_apalis-tk1 = " \
     ${BACKPORTS_WIFI_EXTRA} \
"

IMAGE_INSTALL_append_apalis-tk1-mainline = " \
     ${BACKPORTS_WIFI_EXTRA} \
"

IMAGE_INSTALL_remove_apalis-tk1-mainline = " \
    backports \
"

IMAGE_INSTALL_append_apalis-imx6 = " \
    ${BACKPORTS_WIFI_EXTRA} \
"

IMAGE_INSTALL_remove_mx8 = " \
    backports \
"

IMAGE_INSTALL_remove_use-mainline-bsp = " \
    backports \
"

IMAGE_INSTALL_remove_qemuall = " \
    backports \
"