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
The wowlan feature is broken in the driver provided by cypress,
and although we don't need this feature for the moment, networkmanager
is calling some related functions when stopping which leads a kernel
crash.
BugzID: 58213
serial gnss receiver baudrate configuration with gpsctl tool is too
shaky and not reliable. gps CLI tools calls are reconfigure
baudrate back to 9600 instead of forced 115200 baud.
Configuration is then blocking whole gpsd action and no gnss positon
data are delivered.
BugzID: 60550
Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
This new recipe can be configured using PACKAGECONFIG to enable
different config option like DHCP or unmanaged devices.
BugzID: 60752
Signed-off-by: Patrick Zysset <patrick.zysset@netmodule.com>
When running the script through RPM installer, the cat process
does not stop when receiving the TERM signal. So the KILL signal
has to be used to make sure that the script is not blocking.
BugzID: 60344
ubxtool is required for gnss receiver configuration
fork gpsd recipe from openembedded:
ubxtool was introduced in version 3.18
BugzID: 60545
Signed-off-by: Tobias Jäggi <tobias.jaeggi@netmodule.com>
Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
configure baudrate of serial gnss receiver with gpsctl.
Todo: generic solutions for all hardware
future-proof: support for more that one gnss module
BugzID: 60330
Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
This feature had been disabled to prevent use of random mac address.
But apparently the random mac is only used for scanning and, when
actualy connecting to an AP, the real mac address is used.
Furthermore this config is generating errors in some cases when
using access point mode.
BugzID: 60405
Make wl12xx and wl18xx main package RDEPENDS on minimal package.
Because of package split content of minimal package is not out of the
box also in main package.
FILES_${PN} package defintions doesn't allow to assaign same file to
different packages. During parsing process files are assaign only first
(from left to right). Futher infos FILES in yocto manual.
BugzID: 60410
Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
Get rid of rootfs postinstall scripts for removing manually unused
TI wl12xx and 18xx firmware binaries. So let's define new packages
with only necessary files and call it *-minimal.
BugzID: 60410
Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>