Commit Graph

533 Commits

Author SHA1 Message Date
Lucien Mueller 3356bef529 imu-setup: start service before gpsd.
since gpsd is not setting imu sampling rate anymore it is not required
anymore to start gpsd first and then overwrite imu settings. anyway, starting
imu config before gpsd looks more reliable by design.

BugzID: 57164

Signed-off-by: Lucien Mueller <lucien.mueller@netmodule.com>
Signed-off-by: Patrick Zysset <patrick.zysset@netmodule.com>
2019-11-01 17:52:13 +01:00
Lucien Mueller 4365296dc9 nmhw24: added can-utils to base-image
BugzID: 59500

Signed-off-by: Lucien Mueller <lucien.mueller@netmodule.com>
2019-10-25 16:37:36 +02:00
Lucien Mueller 6a65b37b45 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-25 14:36:09 +02:00
Ramon Moesching 3328fdd349 netmodule-linux-image -dev: add imu-setup for sampling rate config
BugzID: 59524

Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
2019-10-22 10:38:49 +02:00
Lucien Mueller fd6835ac82 imu: addded configuration service.
BugzID: 59524

Signed-off-by: Lucien Mueller <lucien.mueller@netmodule.com>
2019-10-17 13:27:47 +02:00
Alexandre Bard b1184a24a2 systemd: Disable internal resolver
systemd resolver is not properly handling all the name server
properly. Be completely removing it, NetworkManager will be
able to handle the file /etc/resolv.conf by itself in a better
way.

BugzID: 59236
2019-10-02 13:45:02 +02:00
Ramon Moesching c9d4ffb61c systemd bbappend: add config file for nmhw24 and timeout to 10s
Deploy pre defined configuration file for nmhw21 and set default
timeout to 10s instead of 90s.

BugzID: 58669

Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
2019-09-13 12:38:41 +02:00
Alexandre Bard f4ed563e67 hydra: Use AUTOREV
BugzID: 58663
2019-09-13 10:46:21 +02:00
Lucien Mueller 69d9491998 nmhw-auto-part: added mke2fs dependency.
BugzID: 58963

Signed-off-by: Lucien Mueller <lucien.mueller@netmodule.com>
2019-09-11 13:39:33 +02:00
Lucien Mueller 60f8f8824f um-service-config: added adc port.
BugzID: 58299

Signed-off-by: Lucien Mueller <lucien.mueller@netmodule.com>
2019-09-11 09:28:10 +02:00
Lucien Mueller 7c92dfe982 um-service-config: Added um probing.
BugzID: 58693

Signed-off-by: Lucien Mueller <lucien.mueller@netmodule.com>
2019-09-11 09:28:10 +02:00
Ramon Moesching 2aaded1232 haveged: workaround for starting daemon on imx8
Some ARM cpus does not report the cache size or say it is -1 in sysfs.

BugzID: 58665

Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
2019-09-06 15:13:54 +02:00
Ramon Moesching 39c59edc74 netmodule-linux-image/minimal: add entropy daemon
Sometimes linux can not produce enough entropy for e.g. creating ssh
keys. This daemon generates more entropy from cpu as source.

BugzID: 58665

Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
2019-09-05 17:06:14 +02:00
Lucien Mueller 6ec8037799 nmhw-auto-part: now works as systemd service.
BugzID: 58796

Signed-off-by: Lucien Mueller <lucien.mueller@netmodule.com>
2019-08-30 10:22:24 +02:00
Ramon Moesching d00af34b14 netmodule-linux-image: remove all firmware binaries and save some space
Firmware binaries are taking around of 500MB space

BugzID: 58789

Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
2019-08-29 13:49:13 +02:00
Ramon Moesching aac1d127a0 netmodule-linux-image: add missing hardware packages
can and spi tools for device access and read

BugzID: 58778

Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
2019-08-29 10:48:27 +02:00
Lucien Mueller c17db4a11a um-service-config: Added new um-ports. Added differation between old and new um software.
BugzID: 58298

Signed-off-by: Lucien Mueller <lucien.mueller@netmodule.com>
2019-08-22 11:37:50 +02:00
Ramon Moesching 5da0e352b1 netmodule-linux-image: firmware: install only TI wl12xx and wl18xx
do not install all firmware files and get some space back (~500MB)

BugzID: 58178

Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
2019-08-15 10:39:12 +02:00
Ramon Moesching 794a6548bf netmodule-linux-image: add gnss-init package
BugzID: 57871

Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
2019-08-08 18:17:55 +02:00
Ramon Moesching ec34bee968 archiver-dev bbclass: fix sstate issue
merged with latest upstream original class

BugzID: 57939

Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
2019-08-07 16:25:01 +02:00
Ramon Moesching 2fd3dd3d73 netmodule-linux-image: install bluez5 and jody-w1 driver
packagegroup depends on UBLOX_FEATURES

BugzID: 58087 58086

Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
2019-07-29 10:50:42 +02:00
Alexandre Bard 038f477532 netmodule-linux-image: Cleanup 2019-07-23 14:59:34 +02:00
Alexandre Bard ccec226f3c netmodule-linux-image: Use MACHINE_FEATURES for ublox gnss tool 2019-07-23 11:49:39 +02:00
Alexandre Bard bb87bf441f netmodule-linux-image: Use MACHINE_FEATURES for bluetooth packages 2019-07-23 11:30:26 +02:00
Alexandre Bard 74053cab62 image-minimal: Package ublox-gsm-config based on MACHINE_FEATURES=toby-l2 2019-07-23 11:07:00 +02:00
Alexandre Bard 09f3ce74a4 image-mdev: Derive from minimal image to avoid redundancy 2019-07-23 11:01:58 +02:00
Ramon Moesching aeb0cbfeda nmhw-auto-part: identify mmc dev automatically
BugzID: 57868

Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
2019-07-10 09:17:18 +02:00
Ramon Moesching 6184e87018 netmodule-linux-image: add dfu-util for v2x firmware load
BugzID: 57866

Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
2019-07-09 09:09:44 +02:00
Alexandre Bard 57e585e25a Use MACHINE_FEATURE to include ublox-gsm-config
BugzID: 57829
2019-07-09 08:42:13 +02:00
Ramon Moesching 0fc172c016 minimal dev: add udev-hwdb for usbutils
Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
2019-07-04 13:43:26 +02:00
Ramon Moesching 72991e7947 minimal dev image: minimal image for accessing hardware
Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
2019-07-04 13:24:10 +02:00
Alexandre Bard 64fca49a82 minimal-image: Build only specified image types
As it was before (+=) some other types could be built and a config
file in meta-freescale is request .wic format which requires kernel.

It was then creating a dependency loop: fitImage requesting minimal
image and minimal image requesting kernel for wic file.

BugzID: 57682
2019-07-02 14:11:26 +02:00
Alexandre Bard 16a803a1b2 netmodule-linux-image: Add libgpiod python bindings
BugzID: 57325
2019-07-01 10:21:02 +02:00
Ramon Moesching 16faf05d2f netmodule-linux-image-dev: remove benchmarking-cpu for aarch64
benchmarking-cpu doesn't support aarch64 architecture

BugzID: 57544

Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
2019-06-18 21:22:05 +02:00
Alexandre Bard 42ea7a1749 Rename package ublox-configuration to ublox-gsm-config
BugzID: 57325
2019-06-13 15:55:51 +02:00
Alexandre Bard 7953293a6a netmodule-distro: Add python bindings for libgpiod
libgpiod simplify access to gpios from ublox-config script.
Usage: Power off and on ublox modem

BugzID: 57325
2019-06-12 09:17:49 +02:00
Alexandre Bard 00b76bd1d1 netmodule-linux-image: Remove deprecated modem config related scripts
All features are now merged in ublox-configuration

BugzID: 57325
2019-06-05 10:17:49 +02:00
Alexandre Bard e17916797b bblayers: Remove unused layers 2019-05-28 13:49:29 +02:00
Ramon Moesching 685ba11b36 python-oe: python3-periphery: remove redundant recipe
python3-periphery was not available on meta-openembedded branch sumo.
Since thud this recipe is available in recipes-python and can
be here removed.

Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
2019-05-23 15:16:32 +02:00
Moesching 3e79ab4c8c image-preprocessing: dnsmasqlease: remove useless mkdir command
Directory is already created through recipe.

Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
2019-05-23 14:16:48 +02:00
Ramon Moesching ca38821343 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-05-23 14:16:48 +02:00
Ramon Moesching 5f3fbff033 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-05-23 14:16:48 +02:00
Ramon Moesching 35df445c0a dsnmasq bbappend: disable systemd service and create dir /var/lib/misc
dnsmasq is started by systemd service during booting. This process is
preventing networkmanager for e.g. bring up any wifi access point where
dnsmasq acts as dhcp server.

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

BugzID: 56729

Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
2019-05-23 14:16:48 +02:00
Ramon Moesching f9e7fa9418 um-service-config: remove availability check
FCT Hotfix: Remove unnecessary ping check and fix zerobyte warning.

ip=dhcp is affecting init system and services are failing even when
target is started with/after network-online.target
Needs further investigations!

Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
2019-05-23 14:16:48 +02:00
Ramon Moesching c67ef8dfe9 local.conf.sample: use correct variable EXTRA_IMAGE_FEATURES
The EXTRA_IMAGE_FEATURES variable is used for local.conf
and IMAGE_FEATURES within recipes.

This separation can avoid overriding.
Described in YP mega-manual.

Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
2019-05-23 10:49:22 +02:00
Alexandre Bard 92ef35faf8 Systemd: Add version to be compatible with meta 2019-05-16 16:40:58 +02:00
Alexandre Bard 61f1dd6900 layer.conf : Update compatiblity to warrior 2019-05-13 14:37:57 +02:00
Alexandre Bard 61c6b43889 distro: Remove INITRAMFS_IMAGE_BUNDLE
This flag made the initramfs to be bundle along with the
zImage which was then included in the fitImage that already
contains the initramfs. So the initramfs was present twice
and the fitImage was twice as big.
2019-05-07 13:40:42 +02:00
Alexandre Bard cea39e1ba9 images: Add FS type config to image recipes
It was previously defined in machine configurations
2019-05-06 10:05:14 +02:00
Alexandre Bard 0fd67556f9 Add minimal distro to pack minimal image in kernel fitImage 2019-05-06 08:48:48 +02:00