Commit Graph

605 Commits

Author SHA1 Message Date
Alexandre Bard 5c401fa0aa Merge branch 'develop' into kirkstone 2022-08-18 13:31:58 +02:00
Alexandre Bard c18ced1d01 lpa: Use latest version with patched toby driver
BugzID: 80707
2022-08-16 15:25:14 +00:00
Alexandre Bard c1187b5553 lpa: Remove dependencies to NRSW
BugzID: 80707
2022-08-16 15:25:14 +00:00
Alexandre Bard 8f2fca9c5f lpa: Add NRSW base recipe
This is a tool to manage eUICC sim cards profiles.

BugzID: 80707
2022-08-16 15:25:14 +00:00
Alexandre Bard 376186bb85 wwan-config: Get rid of platform specific files
These platform specific files are replaced by definitions in devicetree
or abstraction through lmsensors.
2022-08-16 15:55:05 +02:00
Alexandre Bard a8254343f4 Add lmsensors rules for HW24 and HW25
These two hardware have the ability to read out the wwan modem supply to
know when it is completely turned off.

This is abstracted to wwan-config through lmsensors rules.

BugzID: 80542
2022-08-16 15:55:05 +02:00
Alexandre Bard f4fcefbc19 Patch lmsensors to support da9063-hwmon driver
lmsensors is not able to handle driver names with dashes inside by
default.

BugzID: 80542
2022-08-16 15:55:05 +02:00
Alexandre Bard 34bdf31db0 ssf: sysstate module: Remove SSC_KBUILD_EXTRA_SYMBOLS variable
It is suspected that having this variable containing a local path is the
reason why when building from sstate, the kernel sometimes need to be
rebuild.

BugzID: 80858
2022-08-04 10:55:51 +02:00
Alexandre Bard 033f3aec05 imx8 machine.conf: Fix include or architecture file
The path has changed with kirkstone.

Part of yocto upgrade from dunfell to kirkstone
2022-08-02 15:43:05 +02:00
Alexandre Bard 2752aadba3 wwan-config: Remove deprecated dependency to configparser
configparser is part of python3-core. This packages was providing a
backport for python2

Part of yocto upgrade from dunfell to kirkstone
2022-08-02 15:43:05 +02:00
Alexandre Bard cc897e7021 cannelloni: Remove unnecessary recipe
This recipe is now present in meta-networking

Part of yocto upgrade from dunfell to kirkstone
2022-08-02 15:42:41 +02:00
Alexandre Bard 03a26e8997 Use new kirkstone licenses names
The licenses names changed with kirkstone

Part of yocto upgrade from dunfell to kirkstone
2022-08-02 15:42:41 +02:00
Alexandre Bard 1ccfb8aca8 machine/ti33x: Fix path to include tune file
This changed with kirkstone

Part of yocto upgrade from dunfell to kirkstone
2022-08-02 15:42:41 +02:00
Alexandre Bard baa32f7fca modemmanager: Update to 1.18.8
Version 1.14.8 was not buildable with kirkstone.
The patches have been ported to a new branch on our fork of
ModemManager.

Part of yocto upgrade from dunfell to kirkstone
2022-08-02 15:41:13 +02:00
Marc Mattmueller e64b7a32ba machine: fixed IMAGE_BOOT_FILES for armada u-boot
Part of yocto upgrade from dunfell to kirkstone
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2022-08-02 15:37:30 +02:00
Marc Mattmueller 0003dacf50 networkmanager: removed package config for dnsmasq
needed to make networkmanager build

Part of yocto upgrade from dunfell to kirkstone
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2022-08-02 15:37:26 +02:00
Marc Mattmueller c1f4056736 fitImage: fixed syntax for the fitImage and the overwrite for ostree
Part of yocto upgrade from dunfell to kirkstone
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2022-08-02 15:37:04 +02:00
Marc Mattmueller 26bb7e72f6 u-boot-armada: integrated remove-redundant-YYLOC-declaration patch
This commit holds also the following patch:
  Same as the upstream fix for building dtc with gcc 10.
  Signed-off-by: Peter Robinson <pbrobinson@gmail.com>

Whereas an additional file needed to be patched too to get rid of
this multiple definition compile error.

Part of yocto upgrade from dunfell to kirkstone
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2022-08-02 15:36:48 +02:00
Marc Mattmueller 1e7b74e76c networkmanager: migrated reactivate gsm connections patch to kirkstone
Part of yocto upgrade from dunfell to kirkstone
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2022-08-02 15:36:40 +02:00
Marc Mattmueller ffe292ff47 general: migrated recipes and conf files from dunfell to kirkstone
Part of yocto upgrade from dunfell to kirkstone
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2022-08-02 15:36:06 +02:00
Marc Mattmueller a5300c936e u-boot: set default URL to public GitLab
BugzID: 80085
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2022-07-28 12:21:35 +02:00
Marc Mattmueller 38d78f2ba0 linux-netmodule kernel: set default URL to public GitLab
BugzID: 80085
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2022-07-28 11:28:50 +02:00
Mr Jenkins 87cf99189d meta-netmodule-bsp: updated source revisions 2022-06-28 09:17:53 +02:00
Alexandre Bard 3dba18ccfc netmodule-fitimage: Fix deployment when building from sstate
Deploying directly the DEPLOY_DIR_IMAGE bypasses the shared state
mechanism implemented in the deploy class, leading to the image not
being properly deployed when building entirely from sstate.

BugzID: 80331
2022-06-24 16:02:36 +02:00
Alexandre Bard d7bb7b2796 wwan-config: Increase TimeoutStartSec
As explained in the comment, the start of this service may include some
power cycles of the modem and also the startup of ModemManager. All of
this may take longer than the default 90 seconds in some special cases.

This should anyway not be a problem since this service is self resilient
and can handle errors during startup.

BugzID: 80178
2022-06-21 17:07:26 +02:00
Mr Jenkins 886811e338 meta-netmodule-bsp: updated source revisions 2022-06-20 09:01:42 +02:00
Mr Jenkins d070d3f944 meta-netmodule-bsp: updated source revisions 2022-06-16 14:35:14 +02:00
Mr Jenkins 5bb784bd38 meta-netmodule-bsp: updated source revisions 2022-06-14 08:17:40 +02:00
Alexandre Bard 8b20e8ef04 fpga-image: Restrict compatible machines
This avoid a warning when building for machines which don't have an
fpga.
2022-06-10 19:07:10 +02:00
Alexandre Bard 50916d798c kernel-modules: Build them for architecture and not MACHINE
As for the kernel, we don't need to build them for every MACHINE and
will save some build time when building them only once per architecture.

BugzID: 80015
2022-06-09 12:11:39 +02:00
Alexandre Bard dae3c027be recipes-kernel: Build kernel tools for architecture and not machine
As explained in the comments, in yocto the kernel is expected to be
built for each MACHINE and not for each architecture as we do.

Therefor all tools related to kernel must also be adapted.

BugzID: 80015
2022-06-09 12:11:39 +02:00
Alexandre Bard 43dd045696 linux-netmodule: Remove latest dependencies to MACHINE variable
These dependencies lead to a partial rebuild of the kernel when
switching machine, even where they are actually using the exact same
kernel sources and config.

BugzID: 80015
2022-06-09 12:11:18 +02:00
Alexandre Bard ee9b13081b recipes-kernel: Reorganize directory
Grouping all system state framework modules into one directory and all
other modules together.

BugzID: 80015
2022-06-09 12:11:00 +02:00
Alexandre Bard 537291f8dd Remove outdated devicetree tools
These tools are not used anymore and not planned to be used in a near
future.

BugzID: 80015
2022-06-09 12:10:51 +02:00
Alexandre Bard 9e05073856 Remove wireless-regdb
This is already part of meta-netmodule-wlan and maintained there.

BugzID: 80015
2022-06-09 12:10:40 +02:00
Alexandre Bard 901c12f911 linux-netmodule: Split per kernel version
Instead of having one kernel recipe with two hashes, it makes more sense
and is easier to maintain two recipes with the same name but different
versions. The shared part is in an include file.

Each machine then chooses which version it wants to use with
PREFERRED_VERSION variable.

BugzID: 79987
2022-06-08 08:37:11 +02:00
Mr Jenkins bf8e21637a meta-netmodule-bsp: updated source revisions 2022-05-31 12:22:29 +02:00
Alexandre Bard d7d56c9048 Remove wlconf-bin
This is now integrated in meta-netmodule-wlan.

BugzID: 79548
2022-05-11 18:11:56 +02:00
Alexandre Bard 8b8abe9561 fpga-image: Update HW18 image
BugzID: 77953
2022-05-05 15:42:31 +02:00
Alexandre Bard e99985266c fpga-image: Make compatible with HW17
BugzID: 77953
2022-05-05 15:42:08 +02:00
Alexandre Bard d934b0e9d1 HW17: machine.conf: Rename and add machine features
Following new standard without nr or nb prefix in machine names.

BugzID: 77953
2022-05-05 15:41:13 +02:00
Alexandre Bard 58102512a5 HW17: machine.conf: Update kernel configuration
BugzID: 77953
2022-05-05 15:33:58 +02:00
Alexandre Bard cd3f47b05b armada: machine.conf: Update u-boot configs
BugzID: 77953
2022-05-05 15:02:28 +02:00
Alexandre Bard e284973988 mac-address-set: BT: do a hard reset when soft reset fails
It happens that a soft reset is failing and blocking the chip in a state
where it always times out. The only wait to get out of this is to hard
reset the bluetooth chip.

BugzID: 77171
2022-02-08 10:59:01 +01:00
Alexandre Bard b1540a4555 mac-address-set: Make the bt mac inverted on demand
Detecting if the mac address must be inverted means doing two resets of
the chip in a short period when the mac must be inverted.
These two resets is sometimes letting the BT chip in a state where it
does not answer for more than a minute.

Also fixes getopts string: options -w and -b don't have arguments.

BugzID: 77171
2022-02-03 16:52:44 +01:00
Patrick Zysset 7c3befb14c mac-address-set: use own services for bt and wlan settings
settin mac address of bt and wlan is now triggered in two separated
services.

BugzID: 77171

Signed-off-by: Patrick Zysset <patrick.zysset@netmodule.com>
2022-01-31 23:43:02 +01:00
Patrick Zysset d4799485a9 mac-address-set: bug fixes and testify support
added several enhancements to the mac-address-set script:

- splittet wlan and bt address setting (use -w / -b options)
- fixed upper and lower case problem with vcu1 addresses
- fixed hexadecimal support with vcu2 addresses
- added testify support (incl. log_test function)

BugzID: 77171

Signed-off-by: Patrick Zysset <patrick.zysset@netmodule.com>
2022-01-31 23:24:13 +01:00
Patrick Zysset 2734a8b02f mac-address-set: add testify unit-test
adding a unit test script which uses testify framework to test the
mac-address-set script for vuc1 and vcu2.

BugzID: 77171

Signed-off-by: Patrick Zysset <patrick.zysset@netmodule.com>
2022-01-31 23:24:03 +01:00
Patrick Zysset 2173bda09c mac-address-set: add timeout to wait_on function
if a device is never getting ready on startup sequence, the wait_on()
function runs forever. with this patch it aborts after 10 seconds.

BugzID: 77171

Signed-off-by: Patrick Zysset <patrick.zysset@netmodule.com>
2022-01-25 18:17:23 +01:00
Alexandre Bard 197b4f6f07 mac-address-set: start service before NetworkManager
If NetworkManager starts before, it may change the mac address for
scanning and store the chip mac address. When finaly using a static mac
address (for an established connection or AP) it will restore the chip
address instead of our address.

BugzID: 77171

Signed-off-by: Patrick Zysset <patrick.zysset@netmodule.com>
2022-01-18 16:45:45 +01:00