Commit Graph

453 Commits

Author SHA1 Message Date
Ramon Moesching e59cbfccc5 wl1271-nvs.bin: add bluetooth binary for ti-wl18xx chip
picked from:
origin: git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git
commit id: 07b925b450bfb4cf3e141c612ec5b104658cd020

BugzID: 67825

Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
2020-11-11 12:50:48 +01:00
Ramon Moesching fed151500e firmware-ti-wl18xx.bbappend: install wl1271-nvs.bin into package
BugzID: 67825

Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
2020-11-11 12:50:48 +01:00
Ramon Moesching 24abcaf6d0 iw.bbappnd: depends on libnl and change build flags
bbappend for iw recipe from meta-netmodule-wlan

BugzID: 67825

Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
2020-11-11 12:50:48 +01:00
Ramon Moesching de8b39110d wpa-supplicant.bbappend: add dependencies, CFLAGS and systemd services
BugzID: 67825

Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
2020-11-11 12:50:48 +01:00
Ramon Moesching 743eaa233d hostapd.bbappend: CFLAGS and dependencies
BugzID: 67825

Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
2020-11-11 12:50:48 +01:00
Ramon Moesching 84df6d93ae linux-netmodule: add wlan.cfg kernel config fragment
Used for disabling built in wlan into kernel, instead use
backport

BugzID: 67825

Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
2020-11-11 12:50:48 +01:00
Ramon Moesching 3b651b1605 linux-netmodule: add config merge functionality
BugzID: 67825

Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
2020-11-11 12:50:48 +01:00
Ramon Moesching 1c88d5b97a ti33x.inc: add NM_TARGET and add it to MACHINEOVERRIDES
BugzID: 67825

Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
2020-11-11 12:50:48 +01:00
Ramon Moesching 1faf92f794 armada.inc: add NM_TARGET and add it to MACHINEOVERRIDES
BugzID: 67825

Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
2020-11-11 12:50:48 +01:00
Ramon Moesching 1d23c603d7 hostapd: remove recipe, use meta-netmodule-wlan layer
hostapd is now maintained by meta-netmodule-wlan layer

BugzID: 67576

Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
2020-11-11 12:50:48 +01:00
Ramon Moesching 39810b981b tibluetooth: remove firmware file, handled speratly
The wifi and bluetooth chip ti wl18xx firmware files are handled by seperate
meta-netmodule-wlan layer.

BugzID: 67576

Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
2020-11-11 12:50:48 +01:00
Alexandre Bard e49f0152b8 gnss-mgr: Use python service file instead of the old bash one
BugzID: 67743
2020-11-09 22:46:56 +01:00
Alexandre Bard 1125597f8a HW25: Remove bluetooth tools
Bluetooth is not supported on this board, therefor the related tools are
not required.

BugzID: 66158
2020-10-21 10:19:05 +02:00
Alexandre Bard 8a46892b27 hw25: Fix console definition
BugzID: 66158
2020-10-20 12:57:13 +02:00
Alexandre Bard a171b1c96a Add HW25 machine.conf
BugzID: 66158
2020-09-30 16:08:07 +02:00
Alexandre Bard a55783bb20 Add u-boot recipe for HW25
BugzID: 66158
2020-09-30 16:02:40 +02:00
Alexandre Bard 3538141bb0 DLM: Remove V2X support
The DLM board does not have V2X module. Therefor we must remove related
software components. These components will there be enabled by looking
at v2x in MACHINE_FEATURES.

BugzID: 66088
2020-09-23 17:35:10 +02:00
Alexandre Bard bedc347bcf layer.conf: Improve dependencies to u-blox layer
Instead of checking if we are building for an IMX target to include or
not the jody bbappends, we are now including them only when the ublox
meta-layer is present, which offer more scalability for futur HW design.

BugzID: 65947
2020-09-10 11:24:33 +02:00
Alexandre Bard a72bba45b3 imx-sc-firmware: Add scu firmware for DLM board
DLM board requires a different SCU firmware than HW23.
This firmware includes changes in the branch "dlm" from imx8-scfw repo:

https://git.netmodule.intranet/hancock/imx8-scfw/src/branch/dlm
(latest revision : 0356a979932ae24ef1b9d6f0c3b33c82abd42948)

BugzID: 65899
2020-09-09 17:19:56 +02:00
Alexandre Bard 83eae69159 Add new machine HW23-DLM
Variant of HW23 with different CPU

BugzID: 65899
2020-09-09 17:19:56 +02:00
Alexandre Bard 5bc7c2e9cc gpsd: hw21: Fix gpsd starting in autodetect mode
BugzID: 65905
2020-09-08 17:34:14 +02:00
Alexandre Bard 3349f227a0 hw26: Use machine overrides from HW21
Since HW26 is sharing a lot with HW21, we can avoid redefining
everything twice by using this feature.

BugzID: 63682
2020-09-08 14:35:33 +02:00
Ramon Moesching 64cbcbd2cd am335x-hw26.conf: initial machine configuration
Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
2020-09-08 13:37:49 +02:00
Alexandre Bard 9051b7c4ea gpsd: Disable systemd service only for HW21
gnss-mgr is only present on HW21 and therefor gpsd will not be started
on other HWs if the service is disabled.

Also the bitrate is configured by gnss-mgr so we must keep gpsd with
default bitrate detection mode.
2020-08-28 12:31:11 +02:00
Marc Mattmueller f26ef41692 wlanconf: adapted SRC_URI from gitea to gitlab
BugzID: 65572

Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2020-08-28 07:49:53 +02:00
Alexandre Bard 7139363337 gpsd: Use gnss0 instead of tty number 2020-08-26 19:11:48 +02:00
Alexandre Bard c7be0e4d01 gnss-mgr: Add test package
This package contains a script that is able to read the configuration of
the receiver. This option is not part of the main tool.

BugzID: 65664
2020-08-25 19:07:10 +02:00
Alexandre Bard 89428f1358 gnss-mgr: Add service wrapper and new config file 2020-08-24 23:20:32 +02:00
Alexandre Bard 2612c50926 gpsd: Start after gnss-mgr with fix baudrate
gnss-mgr will start gpsd automatically when it is done.

BugzID: 65640
2020-08-24 01:53:26 +02:00
Alexandre Bard cbf6593672 wwan-config: Use systemd logging library
The tool was previously just printing log messages. Using this log
library, the timestamps in journald will be more precise and it will be
possible to filter by log level.

BugzID: 65586
2020-08-20 11:22:09 +02:00
Alexandre Bard 1e80e38269 gpsd: Remove neom8tool and config
This tool has been replaced by gnss-mgr.

BugzID: 65566
2020-08-19 15:27:06 +02:00
Alexandre Bard 72088c2c2c gnss-mgr: Add example config file
The default config file has been emptied to not set dummy values
A example file has been added so the user knows which fields can be set.

BugzID: 65564
2020-08-19 14:40:11 +02:00
Marc Mattmueller 332881d5c8 ubxlib: renaming ubxlib into nmubxlib
Our used ubxlib was forked and diverged too much from the original
one. Now there is a naming conflict when installing our image in
the car drive tests.
Therefore our ubxlib is renamed to nmubxlib

BugzID: 65478

Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2020-08-13 08:01:26 +02:00
Andrejs Cainikovs 6aba86efae scfw_tcm firmware: implement system state machine
Reference: 3cd993f466efe7da8558f97f01188b81298273ff
Remote: git.netmodule.intranet:hancock/imx8-scfw.git
2020-08-10 14:10:51 +02:00
Alexandre Bard 7a107f2695 tibluetooth: Restart on failure
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
2020-08-06 23:09:57 +02:00
Alexandre Bard 5bf5cd79a6 wwan: Make ModemManager be started by wwan-config
wwan-config is also monitoring ModemManager to detect potential
failures.

BugzID: 65396
2020-08-06 14:48:43 +02:00
Alexandre Bard 07a3d136d7 gpsd: Move python gps library to python3
The library is required for gnss-mgr to check when gpsd is ready.

BugzID: 63624
2020-07-07 20:59:07 +02:00
Ramon Moesching 6f1f6a73ee u-boot-imx8-mek: remove recipe
BSP is not longer available.

BugzID: 63879

Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
2020-06-30 16:38:26 +02:00
Alexandre Bard 57486cf692 Remove gnss-config and gnss-save-on-shutdown
They are replaced by gnss-mgr

BugzID: 63624
2020-06-26 16:38:22 +02:00
Alexandre Bard 415028fbdc Add gnssm-mgr
BugzID: 63624
2020-06-26 16:30:19 +02:00
Alexandre Bard 23de70f4da Add ubxlib
This is a python library used to talk to u-blox gnss modems.

BugzID: 63624
2020-06-25 08:31:53 +02:00
Ramon Moesching 7397bb8e90 tibluetooth: hw26 initial bsp
Forked from nmhw21

BugzID: 63686

Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
2020-06-24 15:54:47 +02:00
Ramon Moesching b9f6f0e3f7 am335x-hw26.conf: new machine configuration
Require nmhw21 as base machine

BugzID: 63681

Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
2020-06-24 15:54:32 +02:00
Alexandre Bard 07f045cac2 wwan-config: Automatically restart service when it fails
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
2020-06-23 16:59:28 +02:00
Alexandre Bard af1e36b559 gpsd: Fix do_install taking ages
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
2020-06-23 13:50:27 +02:00
Ramon Moesching 4c87031b2b wireless-regdb: backport version 2020.04.29 into warrior
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>
2020-06-05 11:22:03 +02:00
Andrejs Cainikovs 69fd3f7762 scfw_tcm firmware: reset v2x power on soft reboot
Reference: b5943a3639241941cbe86de3a1f453cc5e7e49e6
Remote: git.netmodule.intranet:hancock/imx8-scfw.git
2020-05-16 22:17:58 +02:00
Andrejs Cainikovs 61e1d23292 scfw_tcm firmware: fix ignition switch logic
Reference: 32229e7869e0068a5da511c045f94149e1d330ac
Remote: git.netmodule.intranet:hancock/imx8-scfw.git

BugzID: 62892
2020-05-12 19:29:03 +02:00
Alexandre Bard c1ec2a0207 Revert "gpsd: Clearly separate NetModule from mainline version"
This reverts commit 791d40ccd7.

It is bringing licenses problem, leading to errors. This has to be fixed
first.

BugzID: 62684
2020-04-30 09:52:21 +02:00
Alexandre Bard 791d40ccd7 gpsd: Clearly separate NetModule from mainline version
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
2020-04-24 17:15:18 +02:00