Commit Graph

465 Commits

Author SHA1 Message Date
Alexandre Bard 2680c89a08 Make imx recipes depend on freescale layer
In order to use this layer without hard dependency to the freescale
layer. The freescale layer is only necessary to build HW23 images.

BugzID: 69469
2020-12-20 21:02:14 +01:00
Ramon Moesching 3bdeb0a83b u-boot-am335x-nmhw21: don't use symlink for hw26 artifacts
Replace with copy command.

BugzID: 69325

Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
2020-12-15 10:07:35 +01:00
Alexandre Bard 8a4c0869d3 network-manager-conf: Don't always use eth0 as default
It was already the case for HW18: eth2 was the default.
Now with HW25, we can't rely either on eth0 name since it is assigned by
default to the wrong port.

We are therefor using lan0 for HW25 and make the nm-conf recipe more
generic.

BugzID: 69468
2020-12-14 14:05:27 +01:00
Ramon Moesching 5bec9ecf1f u-boot-am335x-nmhw21: deploy nmhw21 as hw26 binaries
nmhw21 and hw26 are using common u-boot code base.
Thus we are creating symlink from nmhw21 to hw26.
With this fix jenkins packaging stage is working again.

BugzID: 69325

Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
2020-12-14 13:17:19 +01:00
Alexandre Bard 597b53438c linux-initramfs: Remove WLAN cfg patch
This patch is removing wlan config to use the backports instead. But the
backports are not compatible with other kernel than virtual/kernel.

We must therefor rely in the default wlan for the moment

BugzID: 69147
2020-11-27 22:29:12 +01:00
Alexandre Bard 7ac62047b1 kernel: Create specific recipe for initramfs images
Changing KERNEL_PACKAGE_NAME allows this variant of the kernel to live
its own life in tmp/work/ instead of being shared in tmp/work-shared.

It is also not providing virtual/kernel.

This way, the "official" kernel (virtual/kernel) is never modified and
rebuilt, leading to strange behavior regarding deployed licenses.

BugzID: 69147
2020-11-27 14:20:46 +01:00
Lucien Mueller 0d3fc719bc gpsd: add gpsd-modification to hw23
BugzID: 67902

Signed-off-by: Lucien Mueller <lucien.mueller@netmodule.com>
2020-11-25 17:53:25 +01:00
Alexandre Bard 3ffadd7487 HW23: Add machine feature imx-boot
Since imx-boot is different than a classic u-boot we need to handle it
separatly. bootloader-config does not support it so we use this variable
to remove it at build time.

BugzID: 69098
2020-11-24 13:56:59 +01:00
Alexandre Bard ae37c1b2b9 wwan-config: Make service less nice
In order to make the service start faster we make it less nice.
It will therefor have more cpu resources to setup the modem faster. The
overall goal being to have WWAN connectivity earlier during boot
process.

BugzID: 67742
2020-11-20 20:43:58 +01:00
Ramon Moesching 73ad873411 layer.conf: fix wrong BBFILES_DYNAMIC for applying layer meta-ublox-module
Due typo and wrong usage bbappends were never applied to
meta-ublox-module layer.

BugzID 68069

Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
2020-11-18 14:43:43 +01:00
Alexandre Bard f9eb3a95ee uboot: Prevent overwriting of build date
After changing the distro config to allow reproducible builds, a side
effect was that the date printed during uboot startup was 1 Jan 1970.

In order to get the real build date in uboot, we must unset the
SOURCE_DATE_EPOCH variable.

BugzID: 67738
2020-11-11 16:13:17 +01:00
Ramon Moesching dd685550a6 linux-firmware: remove unused append file for ti wl18xx chip
BugzID: 67825

Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
2020-11-11 12:50:48 +01:00
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