summaryrefslogtreecommitdiff
path: root/recipes-core/images
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2019-12-04 13:35:28 -0600
committerJohn Klug <john.klug@multitech.com>2020-06-18 20:16:35 -0500
commita5794b79a6b633d3932ec0304ffa9865ad7a237e (patch)
tree0b9e4ffbc63d7d54ef276e1cd9a3eb03416402fe /recipes-core/images
parenta7db882bb8023057fbbcaab111b5bbf5c291f602 (diff)
downloadmeta-mlinux-a5794b79a6b633d3932ec0304ffa9865ad7a237e.tar.gz
meta-mlinux-a5794b79a6b633d3932ec0304ffa9865ad7a237e.tar.bz2
meta-mlinux-a5794b79a6b633d3932ec0304ffa9865ad7a237e.zip
Create mlinux-basetest-image which has no login for console
Diffstat (limited to 'recipes-core/images')
-rw-r--r--recipes-core/images/mlinux-basetest-image.bb72
-rw-r--r--recipes-core/images/mlinux-minimal-image.bb3
2 files changed, 75 insertions, 0 deletions
diff --git a/recipes-core/images/mlinux-basetest-image.bb b/recipes-core/images/mlinux-basetest-image.bb
new file mode 100644
index 0000000..6e000c1
--- /dev/null
+++ b/recipes-core/images/mlinux-basetest-image.bb
@@ -0,0 +1,72 @@
+# Conduit 0.0 or 0.1 without RS9113
+DESCRIPTION = "mLinux base image"
+LICENSE = "MIT"
+
+require mlinux-minimal-image.bb
+
+# Open console for test image
+CONSOLE = "sysvinit-inittab-start-open"
+
+FILESYSTEM_FEATURES = "dosfstools \
+ cifs-utils \
+ lsof \
+ "
+
+NETWORKING_FEATURES += "bridge-utils \
+ inetutils-ftp \
+ openssl \
+ rsync \
+ iperf \
+ lldpd \
+ mii-diag \
+ tcpdump \
+ netcat \
+ wget \
+ strongswan \
+ busybox-ifplugd \
+ "
+
+WIFI_FEATURES = " \
+ libnl \
+ wpa-supplicant \
+ wireless-tools \
+ iw \
+ hostap-daemon hostap-utils \
+ "
+
+BLUETOOTH_FEATURES = "bluez5"
+
+# Add all timezones available
+# ntpdate will sync time every 30 min by default via cron
+TIME_FEATURES = "tzdata 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 += " \
+ u-boot-linux-utils \
+ mlinux-scripts \
+ reset-handler \
+ radio-cmd radio-query \
+ jsparser \
+ "
+
+MISC_FEATURES = "minicom lrzsz nano"
+
+# Extra stuff to install
+IMAGE_INSTALL += " \
+ kernel-modules \
+ ${WIFI_FEATURES} \
+ ${BLUETOOTH_FEATURES} \
+ ${FILESYSTEM_FEATURES} \
+ ${TIME_FEATURES} \
+ ${MISC_FEATURES} \
+ "
diff --git a/recipes-core/images/mlinux-minimal-image.bb b/recipes-core/images/mlinux-minimal-image.bb
index 8090f57..0e1d4a3 100644
--- a/recipes-core/images/mlinux-minimal-image.bb
+++ b/recipes-core/images/mlinux-minimal-image.bb
@@ -57,10 +57,13 @@ MULTITECH_MTAC = "kernel-module-mtac \
UPGRADE_FEATURES = "upgrade-reboot mtd-utils-static"
+CONSOLE = "sysvinit-inittab-start"
+
IMAGE_INSTALL = "${CORE_FEATURES} \
${NETWORKING_FEATURES} \
${UPGRADE_FEATURES} \
${MULTITECH_FEATURES} \
${MULTITECH_MTAC} \
+ ${CONSOLE} \
"