Since these tools are related to user-module, they are better together
than mixed up with all recipes-extended.
BugzID: 73593
Signed-off-by: Patrick Zysset <patrick.zysset@netmodule.com>
The patch is only related to service file and will likely be required
with any version. Making the bbappend more generic will simplify further
yocto upgrades.
BugzID: 69636
If no device is detected or available do no exit script with error which
leads to failing systemd service.
BugzID: 63562
Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
Do status check before ping and exit immediately.
Add timeout to ping of 1s (-W option)
Reduce retry from max 3min down to 1min
BugzID: 63535
Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
Configuration is not possible while buffer mode is ongoing. The previous
code was making sure that it was disabled but was always enabling it
once done, even if it was not enabled before. But if only the sampling
frequency has been set, it could happen that enabling was not possible.
For example, if no channel was selected. Leading to error messages in
the logs.
BugzID: 62694
Required for HW23.
The code is not really clean but helps make the difference between HW21
and HW23. Polling creates a device /dev/imu0 giving the poll frequency.
BugzID: 61346
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>
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>
This service will mount /usr as an overlay partition when this
partition is available.
This script replaces a step what was previously done in ostree
initrd before loading systemd.
All serial based services gets their network configuration through
/etc/user-module/network.conf file
Introduced systemd target user-module
BugzID: 56443
Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
User module provides few information over i2c bus, e.g. ip, version,..
Access /proc/device-tree/user_module/ for checking availability of user
module and get information and stores settings under /etc/user-module/
Port definitions for each services is provided through this recipe
and not through device tree. Would be nice feature for future improvements.
socket-uart and cannelloni depends on that recipe.
BugzID: 56443
Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
Start systemd services for providing serial interfaces of remote machine:
- UART (ttyUM0)
- KLINE (ttyUM1)
- LIN (ttyUM2)
Caution: UserModule connection settings are hardcoded within the services!
BugzID: 56441
Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
Systemd service file Type "forking" leads to service restart which
caused socket disconnection. ExecStart process was never forked.
Now Type=simple fixed this issue. It' anyway recommended for
long running tasks.
Socat:
- Fixed typo rawer to raw
- Set echo off
- Defined bitrate
BugzID: 52063
Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
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>
hydra receipt has been divided into two separated recipes:
- 'hydra' for kernel module
- 'hydra-util' for user utility
hydra is currently fetched from sumo branch on hydra repository
hydra is added as default package to nrhw20-fct image
Signed-off-by: Patrick Zysset <patrick.zysset@netmodule.com>