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>
After a disconnection from network side, ModemManager can reconnect
itself if the modem requests it. This commit makes sure that a
reconnection of the modem makes the GSM connection active in NM.
BugzID: 60029
Allowing configuration of default bearer through modemamanger (0001)
Replacing the old dirty hack for default context by a better handling
specific to ublox devices. (0002 and 0003).
Handling reconnect requests from the modem (0004).
BugzID: 59580
dnsmasq being now used for dns caching we add the google dns server
as fallback if other DNS are not reachable.
In case no DNS at all is configured in NM, dnsmasq will not be
started and in this case the google dns cannot be used either.
BugzID: 59522
This new release fixes the issue of an IP address change on the
modem that is not noticed by ModemManager for u-blox modems.
BugzID: 59189
Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
Avoid using machine branches which can lead into failling bitbake
parsing process when branch does not exists.
Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
wlconf-bin is fetching from git repository with branch name which is
derivied from MACHINE variable.
wlconf-bin is used for ti wl18xx bt/wifi chip which use mainly used on
nmhw21 and similar boards. On imx8-nmhw23 we are using u-blox jody-w1.
Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
These variables may change in updates either in poky repo or
meta-openembedded, using directly the variable instead of the
static string name make it more failsafe to future upgrades.
Having external patch in Yocto means we need to maintain it and check
that it applies without conflicts after every device tree change.
Let's move this temporary change to kernel git instead.
This reverts commit 2bfe8d31c7.
BugzID: 58086