Commit Graph

594 Commits

Author SHA1 Message Date
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
Alexandre Bard da62ee6786 mac-address-set: adding vcu2 support (hw23)
After an overall refactoring this script now does:

 * Wait on devices being ready before changing the address
 * Handle errors when setting wlan or bluetooth mac address
 * Handle different MAC address schemes
 * Handle different behaviors when setting wlan mac:

On HW21, the address must be set while the interface is down, but on
HW23 it must be set while the interface is up and if it is down, no
error is thrown, so the modified address is checked.

 * Handle different behaviors while setting BT mac:

On HW21, the address must be given with the bytes in reverse order.
We therefore first try with the right order and check the address and
retry with the reversed address if it failed.

BugzID: 77171

Signed-off-by: Patrick Zysset <patrick.zysset@netmodule.com>
2022-01-18 16:43:06 +01:00
Alexandre Bard 54d559d706 hw23: Force wpa-supplicant and hostapd versions
hw23: Force wpa-supplicant and hostapd versions

meta-netmodule-wlan provides modified versions of these tools, but they
seem to not work properly on HW23. Since this HW is anyway not supported
in meta-netmodule-wlan, we force the usage of latest stable version.

BugzID: 77173

Co-authored-by: Patrick Zysset <patrick.zysset@netmodule.com>
Reviewed-on: https://git.netmodule.intranet/yoctoproject/meta-netmodule-bsp/pulls/111
Co-Authored-By: Alexandre Bard <alexandre.bard@netmodule.com>
Co-Committed-By: Alexandre Bard <alexandre.bard@netmodule.com>
2022-01-12 00:36:22 +01:00
Alexandre Bard 07b47e5c7d gpsd: Update to 3.23.1
This fixes a bug where the dates is rolled back to 20 years ago.

BugzID: 77484
2022-01-06 16:48:45 +01:00
Lucien Mueller 180f8c8028 scfw: dlm update to 02348b77dae2096e536a193f51936d2294efbad8
master update to 29839d110cf4566709b1f2ba653df6638d5ad95d

BugzID: 75851

Signed-off-by: Lucien Mueller <lucien.mueller@netmodule.com>
2021-12-10 13:51:22 +01:00
Alexandre Bard 8bc99070fa udev-rules-nmhw: Update rule to also add scripts
Some scripts trigerred by udev rules must also be installed.

BugzID: 75479
2021-12-10 09:48:38 +01:00
Alexandre Bard 27a82d21c9 linux-netmodule: Update kernel to 5.10 branch
BugzID: 75479
2021-12-09 16:07:03 +01:00
Marc Mattmueller d887e262a8 storage-info: set license to MIT
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-11-29 09:50:24 +01:00
Marc Mattmueller 4856b5a3d8 storage-info: adapted install of config and systemd service files
those files reside now in the repository itself, thus the recipe
needed to be adapted

BugzID: 75350
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-11-24 15:59:21 +01:00
Marc Mattmueller 842e337481 recipes-bsp: added storage-info as systemd service
BugzID: 75350
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-11-24 15:38:27 +01:00
Marc Mattmueller 96c52172f7 linux-netmodule: changed git url from gitea to (internal) gitlab
BugzID: 75775
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-11-17 17:01:31 +01:00
Alexandre Bard 405c374f05 linux-netmodule: Remove redundant find_cfgs function
This function is already present in the cml1 bbclass which is
automatically inherited by the kernel bbclass.

BugzID: 75318
2021-10-19 10:39:18 +02:00