summaryrefslogtreecommitdiff
path: root/recipes/images/trdx-extra.inc
blob: 28e1b00459aafbcac36d6fb90a65d88fea3084fa (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
#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 \
    util-linux-fstrim \
    kernel-module-fusion-f0710a \
"

IMAGE_INSTALL_MACHINE_apalis-t30 = " \
    ${IMAGE_INSTALL_T20_T30} \
    pciutils \
    iproute2 \
    canutils \
    lvds-ctrl \
    fs-init \
    util-linux-fstrim \
    kernel-module-adv7180 \
    kernel-module-max9526 \
    kernel-module-tegra-v4l2-camera \
    kernel-module-videobuf2-dma-nvmap \
    kernel-module-videobuf2-memops \
    kernel-module-fusion-f0710a \
"

IMAGE_INSTALL_MACHINE_colibri-vf = " \
    iproute2 \
    canutils \
    mtd-utils-ubifs \
    kernel-module-fusion-f0710a \
"

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 \
    \
    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}
}