It can happen that hciattach fails because of timeout.
Reexecuting the service in this case makes sure that the bluetooth
device is handled by bluetoothctl.
BugzID: 65391
It may happen that the service is failing, because the modem is in an
unpredictable state. To avoid this kind of cases and increase the
resilience of the system, systemd will now restart the service if it
fails, leading to a full power cycle of the modem.
BugzID: 63740
scons was called manually in do_install step with different parameters
than in do_compile step, leading to a recompilation in do_install (but
without -j4), leading it to take very long.
BugzID: 62046
Get rid of issue: Fix overlapping ranges for Switzerland and
Liechtenstein
Fixed with upstream commit: 5dd4dbf709d38aab21cba0183cf26510054449f0
BugzID: 61219
Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
Making it clear what is related to netmodule version and what can be
appended to any gpsd version.
Additional small changes:
1. Removed udev rules createing /dev/gps0
Not needed since we have proper udev rules in their own repo now.
2. Removed patch 0001-gps_shm_close-Free-privdata.patch
It was not used referenced anywhere, probably a remans of an old
version.
3. Use gnss0 as default TTY device on all targets.
It avoids rebuilding everything when changing MACHINE
4. Update checksums for mainline gpsd archive.
This recipe alone is still not building but at least the checksums are
now correct.
BugzID: 62684
These definitions were here since the beginning of the project and
nobody really knows what they are used for.
Now it is the source of a build error because it is overwritting
definitions from upstream yocto.
Removing is fixing error and seems to fix other warnings related to
licenses too.
BugzID: 62473
neom8tool is part of gps-utils, the gnss0.ubx config file
is now part of the newly created gps-utils-congf package.
BugzID: 62085
Signed-off-by: Tobias Jäggi <tobias.jaeggi@netmodule.com>
Issue: after a reboot with no power cycle the gnss reveiver
was in the wrong state and did not send any NMEA data for gpsd to use.
Solution: Added a controlled GNSS start on boot to make sure that
the receiver is in the correct state.
BugzID: 62382
Signed-off-by: Tobias Jäggi <tobias.jaeggi@netmodule.com>
This tool is parsing first sector of MMC to find bootloaders, and then
reports the data of these bootloaders to /run/bootloader.
It also creates the file /dev/bootloaderX for each bootloader, allowing
to do a safe and redundant update.
BugzID: 62317
Adoption of recent changes in udev rules and gpsd build recipe
to gnss-config script.
BugzID: 62295
Signed-off-by: Tobias Jäggi <tobias.jaeggi@netmodule.com>
The pythonpath is now fixed in 3.20/netmodule branch on netmodule
gpsd gitlab repository. therfore the patch is no longer needed in the recipe.
BugzID: 61939
Signed-off-by: Tobias Jäggi <tobias.jaeggi@netmodule.com>
Signed-off-by: Patrick Zysset <patrick.zysset@netmodule.com>
This tool is not used anymore and has been replaced by the more
generic nmhw-fwupdate tool.
BugzID: 62102
Signed-off-by: Patrick Zysset <patrick.zysset@netmodule.com>
gnss-save-on-shutdown is a service, makes gnss receiver state persistent
before shut down and check if state got loaded again upon boot
on shutdown:
contents of receiver ram gets dumped to receiver flash
on boot:
checks if ram dump got loaded from receiver flash back into receiver ram
BugzID: 60669
Signed-off-by: Tobias Jäggi <tobias.jaeggi@netmodule.com>
The gnss0.config file still used the old name for gnss-config.service.
Changed it to the current name.
BugzID: 61707
Signed-off-by: Tobias Jäggi <tobias.jaeggi@netmodule.com>
wwan-config is a rework of ublox-gsm-config.
It is more generic and allows better extension and customization.
BugzID: 61873
Signed-off-by: Patrick Zysset <patrick.zysset@netmodule.com>
we are only using hardware specific rules from now. Generic rules don't make sense.
Some rules can be common to different hardwares but none can
be completely generic.
BugzID: 61729
Signed-off-by: Patrick Zysset <patrick.zysset@netmodule.com>
Add packageconfig to keep only the ublox tool.
Missing files if this config is applied are:
- firmware itself (UBX_M8_301_ADR_421_NEO_M8L.bin)
- map of the flash (ubx-fw-flash.xml)
- wrapper to flash the modem easily (gnss-fw-update)
BugzID: 60600
Signed-off-by: Patrick Zysset <patrick.zysset@netmodule.com>
Vendor, model, firmware, ubx-protocol version, supported satelite
systems and supported augmentation services ar now dumped into a config
file at /run/gnss
Renamed gnss.config to gnss0.config to be in line with wwan rework.
Add grep as depency because -P option is required and is not available
in busybox grep.
BugzID: 61707
Signed-off-by: Tobias Jäggi <tobias.jaeggi@netmodule.com>
Added patch that reverts patch from gpsd mainline,
because it messes with the buildflags.
BugzID: 60987
Signed-off-by: Lucien Mueller <lucien.mueller@netmodule.com>
Changes to baud rate config script:
+ more appropriate name
+ only one service
+ baud rate detector is faster in special case
+ shellcheck conform
- no longer creates default config file if file is missing, instead
throws error
BugzID: 60698
Signed-off-by: Tobias Jäggi <tobias.jaeggi@netmodule.com>
The SERIAL_CONSOLES defaults to ttyS0 and
therefore a getty on ttyS0 is opened by systemd.
set USE_VT to 0 because we don't have virtual ttys.
BugzID: 61141
Signed-off-by: Lucien Mueller <lucien.mueller@netmodule.com>
M4 CPU is not used, leave all the pads and peripherals to the main CPU.
Reference: f010eb32247e0b06cfd63294ad8099f1889e3430
Remote: git.netmodule.intranet:hancock/imx8-scfw.git
BugzID: 61160
added patch file to ubxtool. Since ubxtool is now patched, assigning
the path of python3 env to PYTHONPATH and then exporting it in the
receiver config script is no longer needed.
BugzID: 61081
Signed-off-by: Tobias Jäggi <tobias.jaeggi@netmodule.com>
Added recipes aswell as scripts to automatically configure the baud
rate of ttyS3 and the GNSS receiver (NEO-M8L) with the baud rate
specified in a new config file called /etc/gnss.conf
tty interface also configured if receiver config gets launched manually.
If config-gnss-receiver was launched manually it now executes
config-gnss-tty to configure the tty interface before starting gpsd.
BugzID: 60698
Signed-off-by: Tobias Jäggi <tobias.jaeggi@netmodule.com>
Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
With this whitelist, we make sure that only toby-l2 devices are
handled by ModemManager and that it won't mess up with other serial
or net devices.
BugzID: 59772
BugzID: 59771