Commit Graph

532 Commits

Author SHA1 Message Date
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
Alexandre Bard 661ed9e904 Revert "Add libgpiod_1.2"
This reverts commit dc30f20654.
It was required in sumo branch but it is not anymore, since
version 1.3 is present in meta-oe
2019-07-10 13:01:01 +02:00
Alexandre Bard 926c514d23 gpsd: Clean recipe and add support for HW23
BugzID: 57871
2019-07-09 10:29:06 +02:00
Alexandre Bard e6ad5c5a93 Use MACHINE_FEATURE to include ublox-gsm-config
BugzID: 57829
2019-07-09 10:29:06 +02:00
Ramon Moesching 45113e0b90 linux-netmodule: PV: revert PV to 4.14.125
With current src revision we are checking out kernel 4.14.78
Clearing cache and sstate won't fix issue

Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
2019-07-08 17:11:55 +02:00
Ramon Moesching c979bab719 scfw_tcm firmware: latest binary, PMIC enable all peripherals
Reference: 7b583ec797b05bf5ca199c5bac7d4a64b4936e6a
Remote: git.netmodule.intranet:hancock/imx8-scfw.git
2019-07-05 16:14:40 +02:00
Ramon Moesching 8506320178 initial nmhw23 (imx8) bsp layer
To apply: include meta-netmodule-bsp/recipes-bsp/imx8 to local bblayer
Requires: offical meta-freescale layer
linux kernel: use 4.14 kernel exclusive for imx8

BugzID: 57544

Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
2019-07-05 16:14:09 +02:00
Ramon Moesching 2603028f48 linux-netmodule bb: adjust nmhw22 to nmhw23
renaming machine tasks and args

Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
2019-06-18 17:28:55 +02:00
Andrejs Cainikovs a31869ff33 nmhw22 target renamed to nmhw23 2019-06-18 17:27:30 +02:00
Andrejs Cainikovs 5e82c74c04 Add imx8-nmhw22 target 2019-06-18 17:23:24 +02:00
Alexandre Bard dc30f20654 Add libgpiod_1.2
This version supports bindings for python.

BugzID: 57325
2019-06-18 17:13:34 +02:00
Alexandre Bard 3f8b6928f8 gpsd: Use netmodule fork
BugzID: 57168
2019-06-18 17:13:33 +02:00
Andrejs Cainikovs bde7631254 imx8-mek: add imx8-mek target
This is the official NXP imx8 evaluation board used as preview for nmhw23
target.

Signed-off-by: Patrick Zysset <patrick.zysset@netmodule.com>
2019-06-18 17:12:26 +02:00
Alexandre Bard 3548aee12a ublox-gsm-config: Add factory reset feature
BugzID: 57487
2019-06-14 10:59:01 +02:00
Alexandre Bard bb22100f77 ublox-gsm-config: Add service description
BugzID: 57325
2019-06-14 10:58:47 +02:00
Alexandre Bard 8a844c660e ublox-gsm-config: Add header to sim.conf
BugzID: 57325
2019-06-14 10:58:12 +02:00
Alexandre Bard 75a42ce252 ublox-gsm-config: Improve check of bridge and ecm modes
BugzID: 57325
2019-06-13 16:19:33 +02:00
Alexandre Bard 769add9c88 ublox-gsm-config: Write SIM with capital letters
BugzID: 57325
2019-06-13 16:19:33 +02:00
Alexandre Bard 793a0e0336 ublox-config: Rename to ublox-gsm-config
BugzID: 57325
2019-06-13 16:19:33 +02:00
Alexandre Bard 8acafeecc4 ublox-config: Increase poweroff delay
BugzID: 57325
2019-06-13 13:49:06 +02:00
Alexandre Bard f53a859d80 ublox-config: Use libgpiod for sim switch
BugzID: 57325
2019-06-13 13:45:20 +02:00
Alexandre Bard 83ca2f3e10 ublox-config: Add poweroff feature
systemctl start ModemManager will start ublox-config first
systemctl stop ublox-config will stop ModemManager first

BugzID: 57325
2019-06-12 19:03:47 +02:00