Commit Graph

1344 Commits

Author SHA1 Message Date
Arturo Buzarra d36bce0ee4 meta-digi: revert revisions to AUTOREV 2020-06-22 17:37:52 +02:00
Arturo Buzarra a75b801e1e meta-digi: update revisions for dey-3.0-r1.2
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-06-22 17:32:28 +02:00
Gabriel Valcazar 48f8720a23 recovery-initramfs: register mdev regardless of /proc/sys/kernel/hotplug
Busybox's device manager mdev was originally meant to be set up by writing its
path to /proc/sys/kernel/hotplug before launching it, but that entry no longer
exists in Linux v5.4's procfs and mdev can be launched directly.

Since mdev is the element in the recovery initramfs that is in charge of
mounting all partitions where .swu packages can be found (update partition on
the eMMC/MTD, uSD and USB), checking for the existence of the hotplug entry in
the procfs before launching mdev in v5.4 was preventing the partitions from
being mounted, and causing all software updates to fail.

While at it, move the two second delay to before mdev is launched, so all
partitions can be mounted. Otherwise, some devices such as the USB might not
be ready when mdev is launched, causing its partition to not be mounted.

https://jira.digi.com/browse/DEL-7143

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-06-18 13:43:47 +02:00
Arturo Buzarra b793b3faae meta-digi: revert revisions to AUTOREV 2020-06-16 18:02:42 +02:00
Arturo Buzarra bd8955cd45 meta-digi: update revisions for dey-3.0-r1.1
https://jira.digi.com/browse/DEL-7120

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-06-16 17:49:11 +02:00
Gabriel Valcazar 5ee0b61010 libp11: remove recipe
This recipe was originally ported from the zeus branch of poky into the dey-2.6
meta-digi branch to support the pkcs11 feature in cryptoauthlib. Now that we've
migrated to zeus, the recipe is now duplicated and no longer necessary.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-06-16 12:57:54 +02:00
Gabriel Valcazar 96c2b2f759 wireless: rework regulatory domain dependencies depending on the platform
Starting with Linux v4.15, regulatory domains are no longer handled via CRDA,
but via the kernel and a flexible database instead. Said database is included
in the wireless-regdb-static package, which conflicts with the old
wireless-regdb package.

To accomodate for this new package, add CRDA as a dependency for ccimx6
platforms only, and incorporate wireless-regdb-static for the rest of the
platforms. Additionally, the ccimx6 kernel should inherit the
kernel_wireless_regdb .bbclass so the plaintext database is copied to the
kernel sources, but since we use the same recipe for all kernel versions and
ccimx6 platforms are not yet supported in zeus, omit this change for now.

Remove the package-base .bbappend, since only ccimx6ulstarter images include
that packagegroup and they require wireless-regdb-static, anyway.

By adding the regulatory database, we avoid delays when going to suspend,
caused by the kernel waiting for the database to appear.

https://jira.digi.com/browse/DEL-7133

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-06-16 12:56:35 +02:00
Arturo Buzarra ec0cf65c8e qtbase: remove i.MX8MN patches because it was fixed in meta-freescale layer
Revert partially commit 1fb65f08 ("qtbase: apply imxgpu2d patches to imx8mn
platforms as well"), since it was fixed in meta-freescale layer in the commit
626e271b ("qtbase: Add i.MX 8 configuration")

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-06-08 12:47:34 +02:00
Arturo Buzarra 64aa64773a gstreamer: update base package to version 1.16.2
Gstreamer package was updated to v1.16.2 in poky layer, so
we need to update the base files used in meta-digi.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-06-03 11:14:55 +02:00
Gabriel Valcazar 0115fe8fa7 switch to building from maintenance branches for dey-3.0
Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-06-01 13:43:29 +02:00
Arturo Buzarra 5e2750082f qtwayland: remove OpenGL ES 2 API patch, which was upstreamed
Commit 9d4490a ("qtwayland: really use OpenGL ES 2 API for decoration blitter")
from meta-qt5 layer backports an upstream patch to Yocto 3.0 (Zeus), which
conflicts with the same patch integrated in meta-digi layer.
This commit removes the patch from meta-digi.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-05-20 17:09:07 +02:00
Arturo Buzarra 9ddce7fde9 networkmanager: backport support for Fast BSS Transition
This commit backports the IEEE 802.11r support from the later version v1.20
and integrates it in NetworkManager v1.18 supported by Yocto 3.0 (Zeus)

https://jira.digi.com/browse/CC6UL-1110

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-05-20 08:50:56 +02:00
Arturo Buzarra 8f34bbc4f5 wpa_supplicant: enable Fast BSS Transition by default
This commit integrates support for the IEEE 802.11r protocol to operate with
fast roaming networks.

https://jira.digi.com/browse/CC6UL-1110

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-05-20 08:33:59 +02:00
Francisco Gil Martinez 45058e35f9 sysinfo: improve the search of the otp folder
With the change of bsp now we have several entries under
/sys/bus/nvmem/devices/ in the CC6UL platform and we should
reduce the num of folders where the otp folder can be found.

ls /sys/bus/nvmem/devices/

bootloader
environment
imx-ocotp0
linux
recovery
rootfs
safe
update

https://jira.digi.com/browse/DEL-7082

Signed-off-by: Francisco Gil Martinez <francisco.gilmartinez@digi.com>
2020-05-12 09:07:07 +02:00
Hector Bujanda 2efc2c3e42 base-files: fix checks done to execute resize2fs postinst function in kernel 5.4
MMC core block has changed in kernel 5.4 so Replay Protected Memory Block (RPMB)
and boot partitions are not listed under /proc/partitions anymore.

get_emmc_block_device() function in pkg_postinst_ontarget() method was looking
for these entries to identify the MMC partition where to execute resize2fs.

This function has been modified to do the checks inside /dev/mmcblk* where RPMB
and boot entries are still listed.

https://jira.digi.com/browse/DEL-7094

Signed-off-by: Hector Bujanda <hector.bujanda@digi.com>
2020-05-11 16:04:57 +02:00
Hector Palacios ab98e928f5 machines: move common recipes to all packagegroup-dey-core
- u-boot-fw-utils
- cryptodev-module

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2020-05-06 17:02:28 +02:00
Hector Palacios 5df22254a1 mca: create 'mca' MACHINE_FEATURE and use it to append MCA-related recipes
This allows to generalize the code instead of needing to replicate
overrides for each platform that contains the MCA.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2020-05-06 07:20:50 +02:00
Arturo Buzarra 14a48c1d54 imx-gpu-viv: remove wayland as a requirement for i.MX8 platforms
Based on commit ed2c4974 ("imx-gpu-viv: remove wayland as a requirement for
i.MX8 platforms"), this commit removes the requeriment of wayland as a backend
for the i.MX8 platforms to build framebuffer images.

https://jira.digi.com/browse/DEL-7013

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-05-04 15:09:37 +02:00
Arturo Buzarra 9cdc344927 zeus migration: dey-image: update SDK_POSTPROCESS_COMMAND variable to match with zeus version
Commit 3418d1326c ("populate_sdk_base: provide options to set sdk type")
in poky layer introduces a new mechanism to create different archive types
for the sdk, and the function tar_sdk was renamed to archive_sdk.
This commit updates the custom SDK_POSTPROCESS_COMMAND variable with the new
function name.

https://jira.digi.com/browse/DEL-7013

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-05-04 15:09:37 +02:00
Arturo Buzarra 754edb814b zeus migration: libical: refresh patch to v3.0.6
https://jira.digi.com/browse/DEL-7013

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-05-04 15:09:37 +02:00
Arturo Buzarra 2d3fbfc3d2 zeus migration: opencv: Fix warning applying this patch
https://jira.digi.com/browse/DEL-7013

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-04-28 11:30:26 +02:00
Arturo Buzarra 9ccc0d10ef zeus migration: graphics: remove and refresh several recipes to match with upstream version
https://jira.digi.com/browse/DEL-7013

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-04-28 11:30:26 +02:00
Arturo Buzarra 37c643dfa8 zeus migration: qt5: update recipe to upstream version
https://jira.digi.com/browse/DEL-7013

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-04-28 11:30:26 +02:00
Arturo Buzarra 544ef5337e zeus migration: opencv: fix build error
There is a mismatch between the new upstream recipe that uses a cache folder
to share the header files and the imx recipe that requires a specific folder.

https://jira.digi.com/browse/DEL-7013

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-04-27 16:06:48 +02:00
Arturo Buzarra f6a9557506 zeus migration: opencv: update recipe to v4.2.0
https://jira.digi.com/browse/DEL-7013

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-04-27 16:06:48 +02:00
Arturo Buzarra 1c1b8943b3 zeus migration: pulseaudio: update recipe to v12.2
https://jira.digi.com/browse/DEL-7013

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-04-27 16:06:48 +02:00
Arturo Buzarra af7706b1e5 zeus migration: xorg-xserver: update recipe to v1.20.5
https://jira.digi.com/browse/DEL-7013

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-04-27 16:06:48 +02:00
Arturo Buzarra 4bdd88b9c8 zeus migration: mesa: update recipe to v19.1.6
https://jira.digi.com/browse/DEL-7013

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-04-27 16:01:07 +02:00
Arturo Buzarra cb3787e569 zeus migration: wayland: update recipe to v1.18.0
https://jira.digi.com/browse/DEL-7013

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-04-27 16:01:07 +02:00
Arturo Buzarra 9d649e3290 zeus migration: weston: update recipe to v8.0.0
https://jira.digi.com/browse/DEL-7013

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-04-27 16:01:07 +02:00
Arturo Buzarra af5d129da0 zeus migration: vulkan: update recipe to v1.1.121
https://jira.digi.com/browse/DEL-7013

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-04-27 16:01:07 +02:00
Arturo Buzarra 175897fd34 zeus migration: xf86-video-imx-vivante: update recipe to v6.4.0.p0.0
https://jira.digi.com/browse/DEL-7013

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-04-27 16:01:07 +02:00
Arturo Buzarra e2136407e3 zeus migration: imx-gpu-viv: update recipe to v6.4.0.p2.2
https://jira.digi.com/browse/DEL-7013

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-04-27 16:01:07 +02:00
Arturo Buzarra 4102332d35 zeus migration: imx-gpu-g2d: update recipe to v6.4.0.p2.2
https://jira.digi.com/browse/DEL-7013

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-04-27 16:01:07 +02:00
Arturo Buzarra f49053619b zeus migration: imx-dpu-g2d: update recipe to v1.8.5
https://jira.digi.com/browse/DEL-7013

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-04-27 16:01:07 +02:00
Arturo Buzarra 6b40c1d5f7 zeus migration: libdrm: update recipe to v2.4.99
https://jira.digi.com/browse/DEL-7013

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-04-27 16:01:07 +02:00
Arturo Buzarra 1efd3f9ba8 zeus migration: systemd: update recipe to v243.2
https://jira.digi.com/browse/DEL-7013

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-04-27 16:01:07 +02:00
Arturo Buzarra 1ab348ce89 zeus migration: gstreamer: update gstreamer plugins to v1.16.0
https://jira.digi.com/browse/DEL-7013

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-04-27 16:01:07 +02:00
Arturo Buzarra 9fb3f897be zeus migration: imx-codec: update to v4.5.4
https://jira.digi.com/browse/DEL-7013

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-04-27 16:01:07 +02:00
Arturo Buzarra da1f9788c7 zeus migration: imx-parser: update to v4.5.4
https://jira.digi.com/browse/DEL-7013

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-04-27 16:01:07 +02:00
Arturo Buzarra ba5f4d42c8 zeus migration: imx-alsa-plugins: update to the new version
https://jira.digi.com/browse/DEL-7013

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-04-27 16:01:07 +02:00
Arturo Buzarra 321b22335c zeus migration: dnsmasq: remove custom recipe to use the latest from upstream
https://jira.digi.com/browse/DEL-7013

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-04-27 16:01:07 +02:00
Arturo Buzarra 028dd6c04b zeus migration: bluez5: fix build error
https://jira.digi.com/browse/DEL-7013

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-04-27 16:01:07 +02:00
Arturo Buzarra ff08db0c2f zeus migration: bluetooth: remove bluetooth class support
Bluetooth class to support the bluez4/bluez5 distro features,
was removed due to bluez4 was removed from meta-oe some time ago.

This commit simplifies the requeriments adding directly the bluez5,
instead of the intermediate bluetooth class.

https://jira.digi.com/browse/DEL-7013

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-04-27 16:01:07 +02:00
Arturo Buzarra 8b67e57803 zeus migration: networkmanager: update to use new version 1.18.4
https://jira.digi.com/browse/DEL-7013

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-04-27 16:01:07 +02:00
Arturo Buzarra f26a92fd5e zeus migration: wpa-supplicant: update recipe to version 2.9
https://jira.digi.com/browse/DEL-7013

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-04-27 16:01:07 +02:00
Arturo Buzarra 940d21a87c zeus migration: swupdate: update recipe to 2019.11
https://jira.digi.com/browse/DEL-7001

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-04-27 16:01:07 +02:00
Arturo Buzarra 0b6499082a zeus migration: remove support to python-numpy plugin on Python 2
https://jira.digi.com/browse/DEL-7001

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-04-27 16:01:07 +02:00
Arturo Buzarra a5a0a52d18 zeus migration: busybox: update to version 1.31.0
https://jira.digi.com/browse/DEL-7001

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-04-27 16:01:07 +02:00
Arturo Buzarra aec438ee83 zeus migration: update meta-digi LAYERSERIES_COMPAT to indicate support with "zeus" release
https://jira.digi.com/browse/DEL-7001

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-04-27 16:01:07 +02:00
Arturo Buzarra a5fc3d3384 zeus migration: sync distro config
https://jira.digi.com/browse/DEL-7001

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-04-27 16:01:07 +02:00
Arturo Buzarra a0a63fb973 zeus migration: bump version
https://jira.digi.com/browse/DEL-7001

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-04-27 16:01:07 +02:00
Arturo Buzarra 87f4f96944 Revert "xserver-xorg: add poky SIGIO patch that was removed from upstream thud branch"
Commit 07d4a6ba ("xserver-xorg: Backport to fix X server 1.20.1 crash")
integrates this patch in meta-freescale layer, then it is no longer
necessary to have it in our meta-digi layer.

This reverts commit 995212a213.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-04-17 09:32:39 +02:00
Gonzalo Ruiz 25c1ea59b0 trustfence: Add custom CONFIG_SIGN_MODE to UBOOT_EXTRA_CONF
This configuration is required to sign and encrypt U-Boot images during
build time, as it is done for ccimx6ul platform.

Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2020-04-08 14:23:18 +02:00
Hector Bujanda 38a5b79718 bluetooth-init: recover delays
Commit 388ef5c3 updated the script to use libgpiod tools.
Some delays were removed which made the bluetooth not load.
This commit introduces a delay again in the power cycle.

https://jira.digi.com/browse/DEL-6424
https://jira.digi.com/browse/DEL-6423

Signed-off-by: Hector Bujanda <hector.bujanda@digi.com>
2020-03-22 02:43:29 -07:00
Francisco Gil Martinez f99ae24162 recovery: allow the user to cancel the recovery process
https://jira.digi.com/browse/DEL-6982

Signed-off-by: Francisco Gil Martinez <francisco.gilmartinez@digi.com>
2020-03-20 08:23:43 +01:00
Hector Bujanda 2e30987a7e libdigiapix: make use of libgpiod
Added libgpiod dependence.

The configuration file entries change to following format:
   - USER_LED = mca-gpio,12
   - USER_BUTTON = mca-gpio,10

https://jira.digi.com/browse/DEL-6425

Signed-off-by: Hector Bujanda <hector.bujanda@digi.com>
2020-03-19 02:57:59 -07:00
Mike Engel e550d82c77 meta-digi-arm: uboot: Add firmware install script using fastboot support.
This commit adds a installation script that uses fastboot support to
update the target firmware.

Signed-off-by: Mike Engel <Mike.Engel@digi.com>

https://jira.digi.com/browse/DEL-6845
2020-03-10 10:38:59 +01:00
Hector Bujanda 388ef5c388 bluetooth-init: scripts updated to use libgpiod tools
https://jira.digi.com/browse/DEL-6424
https://jira.digi.com/browse/DEL-6423

Signed-off-by: Hector Bujanda <hector.bujanda@digi.com>
2020-03-09 12:50:23 +01:00
Hector Bujanda f14d79f5a6 xbee-init: script updated to use libgpiod tools
Additionally:
   - The handling of gpios has been swapped so 'Set low XBEE_SLEEP_RQ' is done
 before 'Power cycle XBEE_RESET_N' to assure the device doesn't enter sleep mode.
   - Removed ExecStop entry from systemd service since it's doing nothing.

https://jira.digi.com/browse/DEL-6424
https://jira.digi.com/browse/DEL-6423

Signed-off-by: Hector Bujanda <hector.bujanda@digi.com>
2020-03-09 12:50:22 +01:00
Hector Bujanda baa4a6f57e packagegroup-dey-core: add libgpiod
Add support for handling the GPIOs through char device and the kernel API.

https://jira.digi.com/browse/DEL-6426
https://jira.digi.com/browse/DEL-6423

Signed-off-by: Hector Bujanda <hector.bujanda@digi.com>
2020-03-09 12:50:22 +01:00
Francisco Gil 1d91d3411b br0: move the br0 interface to the bottom
This interface should be the last item defined in the
/etc/network/interfaces file.

When you try to enable the interface br0 (bridge interface),
all the other interfaces should be available.
If the br0 interface is located before the other interfaces
involved in the bridge, it will fail.

Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
2020-02-24 13:14:53 +01:00
Francisco Gil d485af020a greengrass: add support for greengrass 1.10
Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
2020-02-24 13:09:26 +01:00
Mike Engel 796eb9db91 meta-digi-dey: bump distro version to 2.6-r4
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2020-02-20 14:21:56 +01:00
Mike Engel 4ce67dac48 Merge tag 'dey-2.6-r3.1' into dey-2.6/master
Digi Embedded Yocto 2.6-r3.1

Manually changed recipes to use the master branches instead of the fixed SHA1
from the last release.

Signed-off-by: Mike Engel <mike.engel@digi.com>
2020-02-20 12:02:26 +01:00
Arturo Buzarra 1830798025 meta-digi: update revisions for dey-2.6-r3.1
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-02-13 16:26:45 +01:00
Hector Palacios 6c9341bd8a trustfence: disable environment encryption for CC8X
Environment encryption is not yet supported in U-Boot.
Unset TRUSTFENCE_ENCRYPT_ENVIRONMENT on the machine configuration
and remove the platform conditional on the class.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2020-02-12 18:50:19 +01:00
Hector Palacios 8320168821 trustfence: homogenize SIGN_MODE variables
* prefix TRUSTFENCE_ to variable SIGN_MODE for DEY
* prefix CONFIG_ to variable SIGN_MODE for script

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2020-02-12 18:50:19 +01:00
Gabriel Valcazar 6caecc5c53 trustfence-initramfs: use "busybox halt" instead of "poweroff"
The poweroff command is not available in the initramfs due to a missing
sysvinit/systemd dependency. Use the busybox "halt" command, since it's
available regardless of the init manager used. Rework the error message and
script variables accordingly.

https://jira.digi.com/browse/DEL-6983

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-02-12 18:31:33 +01:00
Gabriel Valcazar 6aa852dccd sdk: remove image name from default SDK path
Some configuration files inside of the SDK make use of the default SDK
installation path, so some tools might break unless the SDK is installed in said
default path.

Recently, we modified the default installation path to include the platform and
the image type, but the image type was added after the SDK was created, so even
though the environment script's paths include the image type, the "original"
default path in the config files inside of the SDK doesn't include the image
type. A side effect of this is that Qt5 apps cannot be built, since the qmake
and Qt configuration files are pointing to the "original" SDK path.

Remove the image type from the path so that the paths in the SDK's config files
match the real default installation path.

This partially reverts commit be0fe088e3.

https://jira.digi.com/browse/DEL-6972

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-02-10 18:11:25 +01:00
Arturo Buzarra 8185f8e884 Merge branch 'dey-2.6/master' into dey-2.6/maint
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-02-06 17:14:17 +01:00
Mike Engel 909a8c9e83 Revert "ccimx8x: prohibit dey-image-qt from building when trustfence is enabled"
Added Trusfence support for the CC8X.

This reverts commit 8b5c710036.

https://jira.digi.com/browse/DEL-6917
2020-02-04 12:20:38 +01:00
Mike Engel 5beec04b6a trustfence: Add Trustfence support for CCMX8X
This commit adds Trustfence support for the CCMX8X
platform.

Signed-off-by: Mike Engel <Mike.Engel@digi.com>

https://jira.digi.com/browse/DEL-6917
2020-02-04 12:20:38 +01:00
Francisco Gil 8ebc7588d5 cc8mn: libdigiapix: change default values for examples
https://jira.digi.com/browse/DEL-6955

Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
2020-02-03 17:59:35 +01:00
Gabriel Valcazar eb4ef72610 xbee: add support for multiple XBee interfaces
XBEE_RESET_N_GPIO and XBEE_SLEEP_RQ_GPIO can now be comma-separated lists of
GPIO indexes instead of just a single index. Modify the xbee-init script to
support this change and modify the sed script in xbee.bb to allow commas
in the aforementioned variables.

https://jira.digi.com/browse/DEL-6887

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-01-22 12:48:55 +01:00
Gabriel Valcazar a239ac8600 modemmanager: blacklist SPI-to-CAN interface on the ccimx8mn
Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-01-20 14:34:43 +01:00
Hector Bujanda c18a39ab55 dey-examples: adc_cmp_sample: Add support for CC8M
https://jira.digi.com/browse/DEL-6931

Signed-off-by: Hector Bujanda <hector.bujanda@digi.com>
2020-01-17 17:53:13 +01:00
Gabriel Valcazar 759fc05e09 weston-init: sync with meta-fsl-bsp-release branch sumo-4.14.98-2.3.0
Rework the weston-init recipe and add a BBMASK to ignore meta-freescale's
weston-init.bbappend file.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-01-17 15:12:28 +01:00
Gabriel Valcazar d9e523578d glm: update to v0.9.8.5
Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-01-17 09:56:43 +01:00
Gabriel Valcazar 5b8c6b283b recipes-graphics: remove recipes that are available in community layers
Some .bbappend files for clutter, cogl and mesa recipes are already available
in meta-freescale, so we can remove them from meta-digi. Also remove the
libinput recipe, since a much newer version of it exists in poky.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-01-17 09:56:43 +01:00
Gabriel Valcazar 0765189c93 systemd: add firmware loading support
Userspace firmware loading support is required for the Linux imx-sdma driver.
The patches that accomplish this were originally in poky, but were removed in
the thud upgrade. Re-work the patches so they apply over systemd v239.

https://jira.digi.com/browse/DEL-6932

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-01-16 13:27:54 +01:00
Gabriel Valcazar 3a674e3526 vulkan-demos: use poky sumo sources
Otherwise, examples such as skeletalanimation are broken.

Reported-by: Alfonso Martin Rey <alfonso.martinrey@digi.com>
Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-01-16 13:27:54 +01:00
Gabriel Valcazar 9a1a80311b gstreamer1.0-plugins-good-qt: sync with meta-fsl-bsp-release sumo-4.14.98-2.3.0
Update SRCBRANCH and SRCREV.

https://jira.digi.com/browse/DEL-6932

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-01-16 13:27:54 +01:00
Gabriel Valcazar 58ad96c657 imx-parser: sync with meta-fsl-bsp-release branch sumo-4.14.98-2.3.0
Update to v4.5.2

https://jira.digi.com/browse/DEL-6932

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-01-16 13:27:54 +01:00
Gabriel Valcazar 45035fa29f imx-codec: sync with meta-fsl-bsp-release branch sumo-4.14.98-2.3.0
Update to v4.5.2

https://jira.digi.com/browse/DEL-6932

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-01-16 13:27:54 +01:00
Gabriel Valcazar b4695d419e gstreamer: sync with meta-fsl-bsp-release branch sumo-4.14.98-2.3.0
Update SRCBRANCH in most recipes and SRCREV for gstreamer1.0-plugins-good.
update imx-gst1.0-plugin to v4.5.2.

https://jira.digi.com/browse/DEL-6932

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-01-16 13:27:54 +01:00
Gabriel Valcazar 7fd927035b imx-alsa-plugins: sync with meta-fsl-bsp-release branch sumo-4.14.98-2.3.0
Update SRCBRANCH.

https://jira.digi.com/browse/DEL-6932

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-01-16 13:27:54 +01:00
Gabriel Valcazar 03ee66d038 weston: sync with meta-fsl-bsp-release branch sumo-4.14.98-2.3.0
Update SRCREV and add missing do_install() logic.

https://jira.digi.com/browse/DEL-6932

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-01-16 13:27:54 +01:00
Gabriel Valcazar 2a9acc1031 imx-gpu: sync with meta-fsl-bsp-release branch sumo-4.14.98-2.3.0
Update to v6.2.4.p4.6.

https://jira.digi.com/browse/DEL-6932

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-01-16 13:27:54 +01:00
Gabriel Valcazar 2f3420ee43 imx-dpu-g2d: sync with meta-fsl-bsp-release branch sumo-4.14.98-2.3.0
Update to v1.7.4.

https://jira.digi.com/browse/DEL-6932

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-01-16 13:27:54 +01:00
Gabriel Valcazar f276827fd8 gstreamer: sync with meta-fsl-bsp-release branch sumo-4.14.98-2.2.0
Update SRCBRANCH in most recipes and SRCREV for gstreamer1.0-plugins-good.
update imx-gst1.0-plugin to v4.5.0.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-01-10 17:19:12 +01:00
Hector Palacios 9f889c587f gstreamer: change machine override for plugins to 'imxgpu'
Some architectures like i.MX8M Nano don't have imxgpu2d but still need
some of the Gstreamer plugins.
For example, gstreamer1.0-plugins-bad-meta provides the xwayland sink which
would otherwise not be available for platforms without gpu2d.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2020-01-10 16:31:22 +01:00
Arturo Buzarra 400110aaf9 modemmanager: remove support to serial XBee cellular devices
Serial support to XBee cellular devices is deprecated since
the recommended communication protocol is USB, so we remove
the udev rules that supported these devices.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-01-10 13:45:54 +01:00
Gabriel Valcazar 28f07acf99 imx-gpu-viv-v6: remove kernel-module-imx-gpu-viv dependency
This dependency was originally removed in commit
eafa8684a3, but it was erroneously put back in
commit 793e901678 when updating the recipe using
the one in meta-fsl-bsp-release as reference.

Instead of removing the line containing the dependency, in order to avoid the
same situation from happening in the future,  comment it out and add an
explanation about why we're removing it.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-01-10 13:37:39 +01:00
Gabriel Valcazar 1fb65f0864 qtbase: apply imxgpu2d patches to imx8mn platforms as well
The .bbappend file in meta-freescale only applies these patches to platforms
with imxqpu2d, but they are necessary to build framebuffer images for the
ccimx8mn. Using the same approach as NXP in meta-fsl-bsp-release (applying the
patches to imxgpu platforms) duplicates the patches for platforms that are both
imxgpu and imxgpu2d, so append them for imx8mn platforms exclusively.

While at it, remove a patch that is no longer necessary, since the latest
versions of qtbase already have the patch's change in them.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-01-10 13:37:39 +01:00
Arturo Buzarra 8292628524 qtbase: Use upstreamed patches instead of custom NXP ones.
These patches were copied from meta-fsl-bsp-release layer,
but with the latest versions throws a compilation issue with the
ccimx8mn platform. However the upstreamed patches works fine.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-01-10 13:37:39 +01:00
Arturo Buzarra 3c5fd58866 trusfence-initramfs: generalize recipe to avoid redefinitions
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-01-10 13:37:39 +01:00
Arturo Buzarra 95c636d327 trustfence-initramfs: add support for ccimx8mn platform
https://jira.digi.com/browse/DEL-6911

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-01-10 13:37:39 +01:00
Arturo Buzarra 9c21f10698 meta-digi-dey: sysinfo: adapt script to CC8M platforms
https://jira.digi.com/browse/DEL-6911

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-01-10 13:37:25 +01:00
Arturo Buzarra d430cc3bab recovery-initramfs: generalize recipe to avoid redefinitions
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-01-10 13:36:21 +01:00