Commit Graph

590 Commits

Author SHA1 Message Date
Alexandre Bard 52a03477a8 wlan: make bbappend compatible with any versions
These tools were updated in meta-netmodule-wlan and the version number
changed.
2021-03-29 12:03:08 +02:00
Alexandre Bard 007da9524c HW26: Add support for PPS
BugzID: 66249
2021-03-25 19:19:37 +01:00
Lucien Mueller 5db36b3b32 system-state-framework: remove extmod-driver.
BugzID: 70266

Signed-off-by: Lucien Mueller <lucien.mueller@netmodule.com>
2021-02-15 17:00:25 +01:00
Lucien Mueller 9a830cc206 system-state-framework: fix dependency to broker.
BugzID: 70200

Signed-off-by: Lucien Mueller <lucien.mueller@netmodule.com>
2021-02-12 17:17:01 +01:00
Alexandre Bard 52a8c3468e wwan-config: Fix systemd service location
The service is required by multi user target and not just wanted.

BugzID: 70251
2021-02-12 09:11:01 +01:00
Alexandre Bard 99ec03ae74 tibluetooth: Handle errors intead of relying on abritrary delay
There is no guarantee that a fix delay is actually enough, because with
the BT_EN gpio, we only control activation of bluetooth on the chip. But
we don't know the status of the whole chip.

Also hciattach has anyway a timeout of 5 seconds, so 0.1 seconds does
probably not make a big difference in this regard.

So in order to make it the safest possible, we can only rely a failure
handling and retrying. The number 5 for retries has been defined since
repeated restart of the service with only 3 retries leads to failure
pretty quickly. At 4 there is no failure anymore. So with 5 we are sure
the risk of failure is really low.

BugzID: 70195
2021-02-10 12:18:33 +01:00
Alexandre Bard d6ee12600f wwan-config: Make APN configurable
BugzID: 69970
2021-01-27 11:43:04 +01:00
Alexandre Bard b034539375 tibluetooth: Start only after bluetooth0 symlink is ready
The service must wait until udev has setup the symlink, since it is
using it.

BugzID: 69855
2021-01-20 15:37:26 +01:00
Lucien Mueller 70bdcc3110 ssf: autoload kernel modules
BugzID: 69520

Signed-off-by: Lucien Mueller <lucien.mueller@netmodule.com>
2021-01-19 13:34:29 +01:00
Alexandre Bard 36546bdf67 tibluetooth: Add missing dependency to gpio tools
This package contains gpioset, gpiofind, etc
This tools are required to access the gpios from shell scripts.

Also fixes the RDEPENDS ${PN}

BugzID: 65420
2021-01-19 12:27:13 +01:00
Lucien Mueller 9361b9851c tibluetooth: optimize build.
Signed-off-by: Lucien Mueller <lucien.mueller@netmodule.com>
2021-01-18 14:45:58 +01:00
Lucien Mueller 1c8c1bb002 tibluetooth: improved the service to be more generic.
Name the BT_EN gpio in the device tree when you want to use this service.
It has to be found with the command: "gpiofind BT_EN".

Signed-off-by: Lucien Mueller <lucien.mueller@netmodule.com>
2021-01-18 14:19:36 +01:00
Alexandre Bard da7ad95535 u-boot-hw23: Set empty initial environment
The default behavior is to try to build u-boot-initial-env
Which is not implemented in our u-boot repo.

Part of yocto update to dunfell release.

BugzID: 69636
2021-01-16 18:47:54 +01:00
Alexandre Bard 3a0b031550 jody-w1-bt-hcd: Add missing dependency
The BT script is using the libgpiod tools (gpioset, gpiofind).

Part of yocto update to dunfell release.

BugzID: 69636
2021-01-16 18:47:54 +01:00
Alexandre Bard 69b1bfbdad hw23: Use A35 tune instead of generic aarch64
Afer upgrading meta-freescale to dunfell, the new default tune is
a35-crypto instead of aarch64.

Part of yocto update to dunfell release.

BugzID: 69636
2021-01-16 18:47:54 +01:00
Alexandre Bard 0bfb1df3f3 imx-sc-firmware: Update to 1.5.0
Aligning with recipes from meta-freescale/dunfell.

Part of yocto update to dunfell release.

BugzID: 69636
2021-01-16 18:47:54 +01:00
Alexandre Bard 2e9dbfea17 Make layer compatible with dunfell
BugzID: 69636
2021-01-16 18:47:54 +01:00
Alexandre Bard c3cd8fb06f gpsd: Move to recipes-navigation
BugzID: 67798
2021-01-16 18:47:54 +01:00
Alexandre Bard ddec09b25f gpsd: Use official backport recipe from meta-oe/master
BugzID: 67798
2021-01-16 18:47:54 +01:00
Alexandre Bard 17b7f134d8 ssc drivers: Fix build dependency
Build dependency are not package related and therefor the suffix _${PN}
is not required and not working as expected.

BugzID: 69520
2021-01-16 18:46:02 +01:00
Lucien Müller 1ae49c5df8 fb69520-integrate-system-state-framework (#70)
system-state-framework: added recipes for the broker, extmod and
sysstate parts.

move include files to ${STAGING_KERNEL_BUILDDIR}/include/broker/

Signed-off-by: Lucien Mueller <lucien.mueller@netmodule.com>

Co-authored-by: Ramon Moesching <ramon.moesching@netmodule.com>
Reviewed-on: https://git.netmodule.intranet/yoctoproject/meta-netmodule-bsp/pulls/70
2021-01-15 14:14:01 +01:00
Alexandre Bard 52f1381685 layer.conf: Fix dependency to freescale layer
The name to use is actually the name defined in the layer.conf of the
target layer and not the name of the directory itself (which can
actually change).

BugzID: 69469
2021-01-07 20:11:38 +01:00
Alexandre Bard e4faf46035 Fix dependencies to python3
python tools must now depend explicitly on python3-core.
If it is not done, bitbake will now throw an error.

BugzID: 69636
2021-01-04 16:24:52 +01:00
Alexandre Bard b8efbe729a Get rid of u-boot-fw-utils
These tools are not required anymore and not present in dunfell release.

BugzID: 69636
2021-01-04 16:23:54 +01:00
Alexandre Bard a254220540 ModemManager: Update to 1.14.8
- Backport 1.14.8 recipe from meta-oe/master
 - Update our internal git repo
 - Use new feature to exclude unused plugins

BugzID: 60585
2020-12-31 12:01:21 +01:00
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