summaryrefslogtreecommitdiff
path: root/recipes-core/images/mlinux-mtrv1-image.bb
blob: d60c9e04828d0088225aa08e67d63a5e7a6e8af9 (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
require mtr-modules.inc
DESCRIPTION = "mLinux base mtr image"
LICENSE = "MIT"

require mlinux-minimal-image.bb

CONSOLE = "sysvinit-inittab-start-open"

TEST_FEATURES = "i2c-tools \
                  spitools \
                  libgpiod-tools \
                  strace \
                  devmem2 \
                 "

FILESYSTEM_FEATURES = "dosfstools \
                 cifs-utils \
				 lsof \
                 "

NETWORKING_FEATURES_append = " bridge-utils \
                       inetutils-ftp \
                       openssl \
                       rsync \
                       iperf3 \
                       ppp-radioresetwait \
                       radio-reset-background \
					   mii-diag \
					   tcpdump \
					   netcat \
					   wget \
					   strongswan \
					   busybox-ifplugd \
                       "

WIFI_FEATURES = " \
                libnl \
                wpa-supplicant \
                iw \
                hostapd \
                hostapd-cfg \
                "

BLUETOOTH_FEATURES = "bluez5 bluez5-pand bluez5-mlinit"

# Add all timezones available
# ntpdate will sync time every 30 min by default via cron
TIME_FEATURES = "tzdata-core tzdata-africa tzdata-americas tzdata-antarctica tzdata-arctic \
				 tzdata-asia tzdata-atlantic tzdata-australia tzdata-europe tzdata-pacific \
				 tzdata-misc \
				 cronie \
                 ntpdate \
                 "

# u-boot-linux-utils: U-Boot environment access from Linux
# mlinux-scripts: sample scripts for setting up Conduit for various tasks
# reset-handler: default reset button handler
# radio-cmd: supports cellular radio activation and other configuration commands
# radio-query: queries cellular radio for common info (IMEI, RSSI, etc)
# jsparser: command line tool to parse JSON files
MULTITECH_FEATURES_append = " \
                     u-boot-linux-utils \
                     mlinux-scripts \
					 reset-handler \
					 radio-cmd radio-query \
					 jsparser \
                     "

MISC_FEATURES = "minicom lrzsz nano pps-tools"

# Extra stuff to install
IMAGE_INSTALL_append = " kernel-module-rs9113 rs9113-util rs9113-autostart"
IMAGE_INSTALL_append = " gpsd gpsd-conf gpsd-gpsctl libgps ntp ntp-utils gpspipe gps-utils python3-pygps-pyc"

IMAGE_INSTALL_append = " \
				${TEST_FEATURES} \
				${WIFI_FEATURES} \
				${BLUETOOTH_FEATURES} \
				${FILESYSTEM_FEATURES} \
                ${TIME_FEATURES} \
                ${MISC_FEATURES} \
                "