summaryrefslogtreecommitdiff
path: root/recipes/images/trdx-extra.inc
blob: 5ebcd01e2aa450dfcbdb742779aed247dcd82cd7 (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
#additional packages to include in our Toradex images

# Copy Licenses to image /usr/share/common-licenses, on tegra with individual licenses
COPY_LIC_MANIFEST = "1"
COPY_LIC_DIRS_tegra = "1"

#build some ipk which are needed together with CAN, but do not yet install them
DEPENDS += "canutils libsocketcan iproute2"

#the following builds cross gdb and gdbserver
DEPENDS += "gdb-cross"

# angstrom and oe-core disagree on the format
rootfs_update_timestamp_classic () {
	date -u +%2m%2d%2H%2M%4Y >${IMAGE_ROOTFS}/etc/timestamp
}
#create the file /etc/timestamp
IMAGE_PREPROCESS_COMMAND = "rootfs_update_timestamp_classic"

IMAGE_INSTALL_T20_T30 = " \
    gpioconfig \
    tegrastats \
    trdx-nv-binaries \
    trdx-nv-binaries-nv-gstapps \
    trdx-nv-binaries-restricted-codecs \
    usb-rndis-systemd \
    hdmi-hotplug \
    \
    curl \
    file \
    aspell \
"

IMAGE_INSTALL_MACHINE_colibri-t20 = " \
    ${IMAGE_INSTALL_T20_T30} \
    u-boot-fw-utils \
    kernel-module-fusion-f0710a \
"

IMAGE_INSTALL_MACHINE_colibri-t30 = " \
    ${IMAGE_INSTALL_T20_T30} \
    fs-init \
    e2fsprogs \
    e2fsprogs-mke2fs \
    e2fsprogs-tune2fs \
    kernel-module-fusion-f0710a \
"

IMAGE_INSTALL_MACHINE_apalis-t30 = " \
    ${IMAGE_INSTALL_T20_T30} \
    pciutils \
    ptpd \
    iproute2 \
    canutils \
    lvds-ctrl \
    fs-init \
    e2fsprogs \
    e2fsprogs-mke2fs \
    e2fsprogs-tune2fs \
    kernel-module-adv7180 \
    kernel-module-max9526 \
    kernel-module-ov7670soc \
    kernel-module-tvp5150soc \
    kernel-module-as0260soc \
    kernel-module-tegra-v4l2-camera \
    kernel-module-videobuf2-dma-nvmap \
    kernel-module-videobuf2-memops \
    kernel-module-fusion-f0710a \
"

IMAGE_INSTALL_MACHINE_apalis-imx6 = " \
    curl \
    file \
    aspell \
    pciutils \
    ptpd \
    iproute2 \
    canutils \
    fs-init \
    e2fsprogs \
    e2fsprogs-mke2fs \
    e2fsprogs-tune2fs \
    mimetypes \
"

IMAGE_INSTALL_MACHINE_colibri-vf = " \
    gpioconfig \
    ptpd \
    iproute2 \
    canutils \
    mtd-utils-ubifs \
    mqxboot \
    libmcc \
    kernel-module-fusion-f0710a \
    kernel-module-mcc \
    kernel-module-snd-ac97-codec \
    kernel-module-snd-soc-mvf \
    kernel-module-mvf-sai-ac97 \
    kernel-module-snd-soc-wm9712 \
"

IMAGE_INSTALL_MACHINE = ""

IMAGE_INSTALL += " \
    max9526-i2c \
    linux-firmware-ralink \
    \
    alsa-utils \
    alsa-utils-aplay \
    alsa-utils-amixer \
    \
    consolekit \
    sqlite3 \
    \
    curl \
    ntp \
    nfs-utils-client \
    openssh-scp \
    openssh-sftp \
    \
    bzip2 \
    gdbserver \
    grep \
    joe \
    minicom \
    ldd \
    lsof \
    mtd-utils \
    udisks \
    dosfstools \
    util-linux-fstrim \
    \
    devmem2 \
    evtest \
    hdparm \
    iperf \
    i2c-tools \
    memtester \
    stress \
    lmbench \
    nbench-byte \
    ethtool \
    \
    ${IMAGE_INSTALL_MACHINE} \
    \
    trdx-oak-sensors \
"
#    openssl-conf 
#    ntpclient 

do_rootfs_prepend () {
    export NATIVE_ROOT=${STAGING_DIR_NATIVE}
}