Commit Graph

148 Commits

Author SHA1 Message Date
Lucien Mueller ba7c13cbc8 distro: added yocto version name as prefix on the ostree branchname for "normal" and "dev" image.
BugzID: 59761

Signed-off-by: Lucien Mueller <lucien.mueller@netmodule.com>
2019-10-28 14:09:35 +01:00
Alexandre Bard 5b1d348ce8 Rename package ublox-configuration to ublox-gsm-config
BugzID: 57325
2019-06-13 15:56:45 +02:00
Alexandre Bard fa7e258511 netmodule-linux-image: Add libgpiod python bindings
BugzID: 57325
2019-06-13 11:33:46 +02:00
Alexandre Bard 285d8e97dc netmodule-linux-image: Remove deprecated modem config related scripts
All features are now merged in ublox-configuration

BugzID: 57325
2019-06-12 13:48:15 +02:00
Moesching 2966a58bea image-preprocessing: dnsmasqlease: remove useless mkdir command
Directory is already created through recipe.

Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
2019-04-30 10:55:25 +02:00
Ramon Moesching 3f9a68e40f dnsmasq lease: add image tasks for creating tmpfiles.d configuration
Since user move directories in /var/lib aren't deployed in sota images.
So create them by systemd's tmpfiles.d.

/var/lib/misc is required for dnsmasq lease file.

BugzID: 56729

Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
2019-04-24 09:46:21 +02:00
Ramon Moesching b485212300 netmodule-linux-image: move additional image tasks out of recipe
Declare additional image tasks from now in seperate include file

Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
2019-04-24 09:43:14 +02:00
Alexandre Bard 004fa88b74 dev-image: Add tmate
tmate is a terminal sharing tool based on tmux. It will help us
understand and help remotely
2019-04-11 16:57:45 +02:00
Alexandre Bard de7a92cdca sw-update: Fix spl update 2019-04-11 16:57:45 +02:00
Alexandre Bard 6668e24305 hw16: hw20: Add wlconf
This configuration binary was removed from linux-firmware and
has now it how recipe
2019-04-09 10:56:23 +02:00
Alexandre Bard e13bb7edfe busybox: Make syslog service stop later
It will avoid some applications log to come to the console when
stopping the system
BugzID: 55006
2019-04-02 19:02:20 +02:00
Alexandre Bard e596289652 hw21:netmodule-linux-image: Add sim-config
BugzID: 56371
2019-04-02 14:58:41 +02:00
Alexandre Bard 3c9a5b02d3 hw21:netmodule-linux-image: Add mac-address-set
BugzID: 54514
2019-04-02 14:51:15 +02:00
Alexandre Bard f4d745f2f2 hw21:netmodule-linux-image: Add modem-config-dump
BugzID: 56305
2019-04-02 14:50:39 +02:00
Ramon Moesching 8b67634527 socket-uart: refelct origin uart as pseudo tty device on local host
Bind pseudo tty and origin uart with socat usage (tcp socket)
Socat is started by systemd service.
BugzID: 52063

Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
2019-02-14 13:54:29 +01:00
Patrick Zysset 477ae213e0 board-descriptor: remove bd tool from rel images
This tool have been provided for debugging purposes. Therefore it is
removed from release and minimal images and only used in development
images.

BugzID: 55615

Signed-off-by: Patrick Zysset <patrick.zysset@netmodule.com>
2019-02-07 12:58:02 +01:00
Patrick Zysset 448b9f8b3e recipes-core: add more benchmark tools to dev img
adding stress-ng and rt-tests default recipes from openembedded:
https://layers.openembedded.org/layerindex/recipe/72405/
https://layers.openembedded.org/layerindex/recipe/742/

BugzId: 55188

Signed-off-by: Patrick Zysset <patrick.zysset@netmodule.com>
2019-01-15 14:49:34 +01:00
Lucien Mueller 84eb8da797 ostree/rpm: Add symlink /var/lib/rpm -> /usr/lib/rpm
BugzID: 54869

Signed-off-by: Lucien Mueller <lucien.mueller@netmodule.com>
2018-12-20 16:37:57 +01:00
Alexandre Bard f83a9b93f0 sw-update: Update config to use mmcblk1 on all devices
A change in latest kernel made the name of the mmc memory
to change from mmc0 to mmc1 at least for HW16, 20 and 21
2018-12-19 08:38:46 +01:00
Alexandre Bard 867b7b74cd hw21:dev-image: Add ublox gnss fw update tool an firmware
BugzID: 54544
2018-12-18 13:27:18 +01:00
Alexandre Bard 45e0d28fdf Fix nmcli warning: terminal not fully functional 2018-11-30 16:51:20 +01:00
Ramon Moesching 95dd5a5a3b systemd bbappend: add config file for nmhw21 and decrease default timeout
Deploy pre defined configuration file for nmhw21 and set default
timeout to 10s instead of 90s.

BugzID: 53646

Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
2018-11-21 14:41:34 +01:00
Alexandre Bard 9e9a7c8fae Move OSTREE_BRANCHNAME to image recipe 2018-11-20 15:22:25 +01:00
Ramon Moesching dbb45e6faa netmodule-linux-image: get rid of athk* firmware packages
Hardware nmhw21 doesn't have any atheros wifi nor bluetooth chip. So remove
these two firmware packages.

BugzID: 53810

Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
2018-11-20 14:44:05 +01:00
Ramon Moesching 8e73405d5e base_files bbappend: Quiet basehash errors, removed DATE variable
Previous fixes didn't helped so remove DATE variable from recipe
to get some silence in here. Also removed do_configure and
do_install_remove [nostamp] since they are not really necessary.
But let do_comile and do_install [nostamp] stay for forcing rebuild and
installation to keep files in final rootfs up to date.

Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
2018-11-19 15:17:43 +01:00
Alexandre Bard 81d05cf8e8 battery-test: Always use master branch
Using ${MACHINE} directly in the recipe is problematic
when building recipes for MACHINE for which there is no branch
on the battery-test repo.

Even if the recipe is not used, bitbake will fail while before doing
anything during the parsing step.

Workaround would be to overwrite this SRC_URI in machine.conf file.
2018-11-16 11:58:44 +01:00
Alexandre Bard c51ece98cc netmodule-linux-image:hw21: Add cryptodev
BugzID: 54246
It enables the crypto HW acceleration
2018-11-16 11:51:58 +01:00
Alexandre Bard de693de98d hw18: Add sota capabilities 2018-11-14 21:11:21 +01:00
Alexandre Bard a720f3150e nrhw18 : Enable watchdog support in systemd 2018-11-14 21:11:21 +01:00
Alexandre Bard 44701bdfdf Remove useless recipes
devmem2:
 recipe in meta-openembedded vs static C file

gettext:
 0.19.8.1 in meta-openembedded vs 0.19.7

keyutils: not used

libxcrypt: useless dependency
2018-11-14 21:10:48 +01:00
Lucien Mueller 4123626a3d auto-part: Renamed the script and improved it
BugzID: 54215
2018-11-14 11:14:02 +01:00
Alexandre Bard d6d3201465 minimal-image: Add bash
BugzID: 54221
To fix warning from nmcli :
WARNING: terminal is not fully functional
2018-11-14 08:15:35 +01:00
Ramon Moesching e1429bf2f8 base-files bbappend: remove EXTERNALSRC_GIT_SRCREV variable from vardeps-remove
EXTERNALSRC_GIT_SRCREV is not longer used in recipe and can be removed



Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
2018-11-13 09:35:26 +01:00
Ramon Moesching 106c78159b base-file bbappend: Remove git tag and show only version related to distro
Remove rundandent distro name from externalgitsrc.bbclass.

Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
2018-11-12 18:22:37 +01:00
Alexandre Bard 5a5c9eb328 hw21: Add ublox configuration to all images
BugzID: 54242
2018-11-12 17:33:35 +01:00
Ramon Moesching 79a870021f base-files bbappend: force package rebuild and remove variables from basehash
Set configure, compile and install task to nostamp will force rebuild even
if sstate is available

Remove dynamic variables from bashhash
which can change basehash during install process

BugzID: 54217

Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
2018-11-12 17:01:12 +01:00
Ramon Moesching d840fa2892 netmodule-linux-image: and image-vcu: add battery test package to image
Battery test tool for get e.g. remaining battery voltage.

BugzID: 54085

Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
2018-11-09 09:17:11 +01:00
Ramon Moesching f46a07a047 battery-test_git.bb: Add new battery test recipe
Get battery values from cli e.g. voltage, current and remaining
capacity. Depends on python3-smbus.

BugzID: 54085


Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
2018-11-09 09:15:34 +01:00
Alexandre Bard 326b2247fb Fix /etc/version
BugzID: 54169
2018-11-08 23:26:23 +01:00
Patrick Zysset 291e8603f9 nmhw21: update sw_update config
fix naming - the tool might be still useful for bootloader updates ...

Signed-off-by: Patrick Zysset <patrick.zysset@netmodule.com>
2018-11-08 18:07:38 +01:00
Ramon Moesching e3756b6500 netmodule-linux-image: firmware: remove wl12xx firmware package
wl12xx package is providing old TI bluetooth abbreviation file (.bts) that
is used for wl18xx bluetooth part and
some wl18xx firmware files for wifi part.
Newer abbreviation file is installed
by tibluetooth.bb recipe from bsp layer.
Wifi firmware files are installed by firmware-wl18xx package.

BugzID: 53969

Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
2018-11-08 10:07:41 +01:00
Ramon Moesching 8e9882cd06 netmodule-linux-image: Add wlconf-bin package which provides wl18xx config
Configuration binary for wl18xx is now hosted on git repository.
Removed unknown binary from linux-firmware bbappend file.


BugzID: 53969

Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
2018-11-07 15:08:16 +01:00
Patrick Zysset 3a43edccc8 python: remove python 2.7 dependencies
- remove packages from image recipe
- change speedtest dependencies

BugzID: 53706

Signed-off-by: Patrick Zysset <patrick.zysset@netmodule.com>
2018-11-07 01:16:09 +01:00
Lucien Mueller 418dab1608 Auto-partitioning: added auto-partitioning recipe.
This reduces the size of the wic file to a minimum and therefor reduce the time to flash it to the eMMC.
The user can now partition the disk with partition.sh

BugzID: 53923
2018-11-06 13:20:29 +01:00
Alexandre Bard 9ad09482f9 netmodule-linux-images: Add buildname to images
buildname moved from local.conf files to image recipes
to avoid redundancy
2018-11-05 18:43:36 +01:00
Alexandre Bard ab25febdb9 hw16: Rename from nbhw to nrhw 2018-10-30 23:02:16 +01:00
Alexandre Bard c5a0003d8c images: Use GNU less instead of busybox
Busybox less does not support colors and tools
like nmcli output to less and has it does not support
colors characters escape characters are printed and the pager is
open instead of just printing out to the console

See : https://github.com/resin-os/meta-resin/pull/964
2018-10-29 21:06:57 +01:00
Ramon Moesching 950c35b01e base-files: show verbose distro information
base-file bbappend: console login promt: show more related distro information
By appling this bbappend,the context of /etc/issue and /etc/issue.net
are written by DISTROVERSION-ISSUE variable.
If this bbappend file not available then the base recipes takes
over these issue* files.
EXTERNALSRC_GIT_SRCREV depends on externalgitsrc.bbclass

BugzID: 53629

Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
2018-10-29 21:05:14 +01:00
Patrick Zysset f51f1b4db8 distro: add parted package to default images
Signed-off-by: Patrick Zysset <patrick.zysset@netmodule.com>
2018-10-27 01:49:23 +02:00
Patrick Zysset 05c8d7afa5 image: fix nmhw21 append rule name
Signed-off-by: Patrick Zysset <patrick.zysset@netmodule.com>
2018-10-26 00:47:52 +02:00