Commit Graph

553 Commits

Author SHA1 Message Date
Patrick Zysset e9ae851dfe nmhw24: machine config: use default defconfig
renamed defconfig from <machine>-fct_defconfig to <machine>_defconfig.

BugzID: 60559

Signed-off-by: Patrick Zysset <patrick.zysset@netmodule.com>
2019-12-12 14:50:12 +01:00
Patrick Zysset c2aa550101 kernel: adjust kernel v4.19.y version identifier
netmodule default kernel branch have been merged with 4.19.88.

BugzID: 60485

Signed-off-by: Patrick Zysset <patrick.zysset@netmodule.com>
2019-12-11 22:16:10 +01:00
Ramon Moesching b6a8d83b23 linux-firmware bbappend: fix: make main package depends on minimal
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>
2019-12-10 17:13:40 +01:00
Alexandre Bard 70e60e2815 ublox-gsm-fw-update: Put all firmware data in an archive file
It avoids hardwritten data like md5 and fw version in the script
itself.

BugzID: 60230
2019-12-06 16:33:58 +01:00
Ramon Moesching 3d94a73f3f linux-firmware append: introduce wl12xx and wl18xx minimal packages
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>
2019-12-02 17:22:09 +01:00
Lucien Mueller 70e4f77ead udev: source from gitlab
BugzID: 59413

Signed-off-by: Lucien Mueller <lucien.mueller@netmodule.com>
2019-11-25 14:59:50 +01:00
Alexandre Bard e828bdcd38 Add ublox gsm firmware update tool
And latest firmware for Toby-L210

BugzID: 60230
2019-11-23 13:50:17 +01:00
Alexandre Bard 7fb4bf5d51 networkmanager: Add patch: reactivate GSM connection when MM reconnects
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
2019-11-19 15:20:34 +01:00
Alexandre Bard 440c447a2d modemmanager: Use own repo instead of patch files
All our patches are available in this repo.
It make it easier to maintain than to add patches over and over
in yocto environnement.

BugzID: 59859
2019-11-12 15:31:33 +01:00
Alexandre Bard 23ce58fd32 modemmanager: Upgrade to 1.10.8
BugzID: 59580
2019-11-01 18:01:48 +01:00
Alexandre Bard 25bdb8c717 modemmanager: Add new patches
0005: Improved handling of reconnect requests
0006: Increase timeout to avoid modem lock

BugzID: 59580
2019-11-01 16:11:41 +01:00
Lucien Mueller 2202714f71 gpsd: start gpsd service on system boot.
BugzID: 59834

Signed-off-by: Lucien Mueller <lucien.mueller@netmodule.com>
2019-11-01 13:43:01 +01:00
Alexandre Bard d87135fa32 gnss-fw-update: Remove lines demanding to connect safeboot pin
The safeboot pin is not required: the tool is automaticaly
requesting the module to reboot in safeboot mode.

BugzID:54544
2019-10-30 14:58:33 +01:00
Alexandre Bard 044bba17d0 hw24: Use common kernel branch
BugzID: 59702
2019-10-22 17:32:38 +02:00
Alexandre Bard b43b5ad630 modemmanager: Update patches
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
2019-10-21 12:45:45 +02:00
Alexandre Bard a015e1d748 networkmanager: Add google dns as fallback
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
2019-10-11 14:09:32 +02:00
Alexandre Bard dba889aac7 networkmanager: Get rid of unwanted auto connections
BugzID: 59531
2019-10-11 14:09:32 +02:00
Alexandre Bard cd2a4787d3 networkmanager: Use dnsmasq as DNS caching service
Since we removed systemd-resolvd, there is no caching service
anymore. dnsmasq being already in the system, it make sense
to use it.

BugzID: 59521
2019-10-11 14:09:32 +02:00
Alexandre Bard 1b87b138cd hw24: uboot: change u-boot defconfig name
u-boot defconfig name changed from nmhw24 to nrhw24

BugzID: 59516

Signed-off-by: Patrick Zysset <patrick.zysset@netmodule.com>
2019-10-11 11:22:49 +02:00
Alexandre Bard f5914ea51c Upgrade ModemManager to latest release (1.10.6) 2019-09-30 21:54:58 +02:00
Ramon Moesching 2b318e2dd6 modemmanager v. 1.10: upstream master
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>
2019-09-30 16:08:55 +02:00
Ramon Moesching 497e6283e8 wlconf-bin: repository reorganization: get rid of machine branches
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>
2019-09-18 09:33:50 +02:00
Alexandre Bard a440f9b0b4 Add atsha to MACHINE_FEATURES
atsha is the security chip used on NetModule HW
BugzID: 58663
2019-09-13 10:44:05 +02:00
Ramon Moesching 3dbf7afbd9 udev-rules-nmhw: initial commit: udev rules for common platforms
install udev rules for common hardware/platforms

BugzID: 58758

Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
2019-08-30 14:57:33 +02:00
Ramon Moesching 1148132513 layer.conf: mask out non-related recipes for imx8
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>
2019-08-20 13:23:52 +02:00
Alexandre Bard 2cd6676823 gpsd.bbappend: Use the same SRC_URI definition as the main recipe
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.
2019-08-19 17:12:48 +02:00
Andrejs Cainikovs a7824ac32b Revert "linux: dts: remove cts and rts pin configuration from dts"
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
2019-08-19 13:47:59 +02:00
Ramon Moesching ce333c7510 wlconf-bin recipe: install config binary symlink to top dir
Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
2019-08-16 11:44:01 +02:00
Ramon Moesching badd7036ac wlconf: assign commit id to nmhw21 and autorev for everything else
Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
2019-08-15 10:57:42 +02:00
Ramon Moesching 3bba371c5b gpsd bbappend: define gps tty name
nmhw24 has on ttyS3 gps attached

BugzID: 58182

Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
2019-08-14 14:42:01 +02:00
Ramon Moesching 4093099103 am335x-nmhw24: inital machine configuration
BugzID: 58178

Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
2019-08-14 11:42:39 +02:00
Ramon Moesching a8ff9e15a6 tibluetooth: initial nmhw24 bluetooth service
BugzID: 58405

Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
2019-08-14 11:40:44 +02:00
Ramon Moesching d172af6f30 linux-netmodule: 4.19 dev branch for nmhw24
linux 4.19 for nmhw24 development

BugzID: 58398 58180

Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
2019-08-14 10:36:08 +02:00
Ramon Moesching 21fe9db20c u-boot recipe: inital nmhw24 u-boot
BugzID: 58178 57912

Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
2019-08-14 10:34:48 +02:00
Ramon Moesching 6cd203ba44 gnss-init service: bring up gnss
bring up gnss module ublox neo

BugzID: 57871

Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
2019-08-08 18:16:38 +02:00
Ramon Moesching a01e4f5694 gpsd append: new udev rule for dev gps0
assign ublox neo gnss always name gps0 (/dev/gps0)
typ fix in url removement

BugzID: 58211

Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
2019-08-08 17:05:05 +02:00
Ramon Moesching 887c963070 layer.conf: mask board depend recipes out
todo: instead of specifire architecture use board e.g. nmhw23

Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
2019-08-06 11:01:15 +02:00
Ramon Moesching d9f2029c38 jody-w1-bt init service: jody bluetooth patchram and init script
initialize jody with patchram file and bring up hci0 interface

use systemd for enabling and disabling:
(requests BT_EN pin)
systemctl start jody-w1-bt-init (default after boot)
systemctl stop jody-w1-bt-init

BugzID: 58086

Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
2019-07-30 14:26:23 +02:00
Ramon Moesching ccae66f679 jody-w1 pcie driver: enable driver and load default firmware
use ublox modprobe.d config file for firmware loading

BugzID: 58087

Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
2019-07-30 09:17:33 +02:00
Ramon Moesching 2bfe8d31c7 linux: dts: remove cts and rts pin configuration from dts
Temporary workaround until issues are found.
rts and cts blocking serial communications, without rts and cts
serial communication works fine

BugzID: 58086

Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
2019-07-29 16:00:26 +02:00
Ramon Moesching 899e555d31 imx8-nmhw23 conf: add jody-w1 pcie to ublox features (driver support)
meta-ublox-modules driver installation by packagegroups

BugzID: 58087

Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
2019-07-29 10:30:16 +02:00
Alexandre Bard df39850735 ublox-gsm-config: Create a daemon to keep control of gpios 2019-07-25 08:19:21 +02:00
Ramon Moesching 97b9c7c32e scfw_tcm firmware: workaround: delayed power on of v2x
v2x power is enabled 40s after scu is starting.
v2x needs firmware binary loaded, request dfu mode.

Reference: f897899100ff6bafda187d22209dd6dc7a40dcf8
Remote: git.netmodule.intranet:hancock/imx8-scfw.git
Build machine: debian9-rm

Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
2019-07-23 13:48:19 +02:00
Alexandre Bard c5c26793f6 hw21 and 23: Add neo-m8l to MACHINE_FEATURES 2019-07-23 11:49:11 +02:00
Alexandre Bard 667fbe16d9 tibluetooth: Cleanup and use MACHINE_FEATURES 2019-07-23 11:29:40 +02:00
Alexandre Bard bacd0b86b1 modemmanager: Patch for all targets using toby-l2 modem 2019-07-22 16:29:13 +02:00
Ramon Moesching 18db17544b scfw_tcm firmware: latest binary, use internal pcie clock
Reference: a08f9aeec6391763f8298e9a60df9666164a82a2
Remote: git.netmodule.intranet:hancock/imx8-scfw.git
Build machine: debian9-rm

Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
2019-07-19 09:34:48 +02:00
Alexandre Bard f72bea9848 imx8: Move all recipes in main layer and use generic conf files from distro layer
To avoid problems when meta-freescale is not present, recipes-imx is masked
when building for other HWs.

meta-freescale us now dynamically added to bblayers when building for HW23.

BugzID: 57911
2019-07-16 18:14:35 +02:00
Alexandre Bard 83ab5b38c2 hw20: Add toby-l2 MACHINE_FEATURE 2019-07-15 14:18:05 +02:00
Alexandre Bard 2fd3b9559f ublox-gsm-config: Initialize sim switch line
This line needs to be enable to connect the physical SIM first.
Because it is only possible to detect if a physical SIM is present
or not. The eSIM will always be shown as present, even if not
configured.

BugzID: 57829
2019-07-10 15:44:43 +02:00