Commit Graph

63 Commits

Author SHA1 Message Date
Javier Viguera 065cf3e9c4 kirkstone migration: general update to the new override syntax
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-06-20 11:39:57 +02:00
Arturo Buzarra be061507f9 swupdate: integrate support from meta-digi-dual boot layer
One patch adds support for building the library statically and the other is a
fix for performing firmware update on the fly. These patches have been moved
from the meta-digi-dualboot layer

https://onedigi.atlassian.net/browse/DEL-7903

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
(cherry picked from commit 94018f7402586b916c5c7836eb355a19a78a9c51)
2022-06-03 09:48:22 +02:00
Mike Engel 025b78fc97 openvc: move recipes into dynamic-layers for NXP
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2022-05-04 14:01:05 +02:00
Gabriel Valcazar 73c5dc6662 swupdate: add explicit libgcc runtime dependency
In meta-openembedded commit 35d249bb9a575a5a48491052896e121266d515f0,
libconfig, one of swupdate's dependencies, was split into two packages: one for
the C library and another for the C++ one. swupdate depends only on the C
library, but the C++ library was implicitly pulling in other dependencies, such
as libgcc.

After the commit mentioned above, libgcc stopped being pulled into our recovery
image, causing the following error to appear when swupdate terminates:

libgcc_s.so.1 must be installed for pthread_cancel to work
Aborting

Even if the action carried out by swupdate is successful, our recovery script
detects this as an error and aborts the update operation. Avoid this by
explicitly adding libgcc as a runtime dependency for swupdate.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2022-02-23 13:37:10 +01:00
Gabriel Valcazar 42e4d177fe dnsmasq: remove v2.83 recipe to use the latest available version
We originally included this recipe to fix some vulnerabilities in the dnsmasq
version used in zeus (v2.80), but the recipe has been updated since then. The
current version used by default in hardknott is v2.85.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2022-01-31 11:16:40 +01:00
Gabriel Valcazar d58c6d30da freerdp: remove cups PACKAGECONFIG in sysvinit builds
Otherwise, cups pulls in procps as a dependency, causing SDK build failures.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2022-01-12 13:04:46 +01:00
Gabriel Valcazar afa8f8dfd4 hardknott: libical: sync with meta-imx hardknott-5.10.72-2.2.0 branch
Remove the v3.0.8 version of the recipe to use the v3.0.9 recipe in poky. Also,
adapt our .bbappend since some of its changes are outdated.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2022-01-05 11:09:46 +01:00
Gabriel Valcazar 8c37b83081 hardknott: opencv: sync with meta-imx hardknott-5.10.72-2.2.0 branch
We initially backported v4.5.2.imx into gatesgarth, but since that version is
already available in meta-freescale, remove the base recipe and keep only the
.bbappend.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2022-01-05 11:09:46 +01:00
Gabriel Valcazar b36b9a0170 hardknott: libsoc: sync with meta-openembedded recipe
Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2022-01-05 11:09:46 +01:00
Gabriel Valcazar 57df5295d6 hardknott: swupdate: update to v2021.11
Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2022-01-05 11:09:46 +01:00
Hector Palacios 9352fc1395 digi: [cosmetic] remove final slash from Digi remotes and move it to recipes
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2021-09-07 11:01:29 +02:00
Mike Engel 11b1aee7e7 opencv: update to latest NXP eIQ version
This commit updates the eIQ support to the hardknott-5.10.35-2.0.0
release by NXP.

Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2021-08-11 10:39:25 +02:00
Gabriel Valcazar 4e2fc007a1 swupdate: call cml1_do_configure() at least once while configuring
Without this call, swupdate will be built with a default configuration which
is incompatible with our package format. Even though this function is already
called in the original recipe, it was done in the package's "git" directory.
Make sure the function is called at least once so that our defconfig is used in
the build.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2021-06-07 09:03:05 +02:00
Mike Engel d126006ce3 swupdate: change .config path to build folder
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2021-06-01 22:11:54 +02:00
Mike Engel 9047b41b09 swupdate: update defconfig to latest version
This commit updates the defconfig that has been
synchronized with the version 2021.04.

Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2021-06-01 22:11:54 +02:00
Mike Engel 1c81e377ea swupdate: update recipe to build version 2021.04
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2021-06-01 22:11:54 +02:00
Arturo Buzarra 59270e9ca1 gatesgarth migration: libical: fix build adding custom recipe v3.0.8
Commit ae479d86d1("libical: add PACKAGECONFIG glib and enable it by default")
introduces a workaround to fix the build with glib support and enables it
by default, but this support is unstable and this workaround is not needed on
v3.0.8. Added original recipe without that workaround to avoid the build issue.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2021-05-05 19:18:11 +02:00
Arturo Buzarra 2ab1b83b24 gatesgarth migration: libical: refresh custom patch to recipe v3.0.8
Refresh patch to match with the latest version

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2021-05-05 19:18:11 +02:00
Arturo Buzarra 98d6f56788 gatesgarth migration: opencv: remove custom recipe reusing the upstream version
Recipe was updated in meta-freescale layer

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2021-05-05 19:18:11 +02:00
Arturo Buzarra 0479a31f66 gatesgarth migration: swupdate: update recipe to 2020.04
https://jira.digi.com/browse/DEL-7508

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2021-04-29 20:07:28 +02:00
Arturo Buzarra 2c4d1ac639 gatesgarth migration: libsoc: sync with recipe from meta-openembedded layer
Commit a04e0ed79 ("libsoc: use python3 for python bindings") moves python
support to use python3.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2021-04-29 20:07:28 +02:00
Gabriel Valcazar a3fd375f25 opencv: Update recipe to new NXP BSP release imx_5.4.70_2.3.1
Remove outdated patch and update source revision

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2021-02-17 12:01:00 +01:00
Mike Engel 27896e296f recipes-support: opencv: Update recipes to new BSP release imx_5.4.70_2.3.0
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2021-02-09 15:21:36 +01:00
Gabriel Valcazar a6e4079eb9 dnsmasq: update to v2.83
Aside from code improvements, this version includes fixes for the following
vulnerabilities:

    * CVE-2020-25681
    * CVE-2020-25682
    * CVE-2020-25683
    * CVE-2020-25684
    * CVE-2020-25685
    * CVE-2020-25686
    * CVE-2020-25687

While at it, remove files that were inherited from an older vulnerability fix.
These files consist of scripts, patches and configuration files that already
exist in the original meta-openembedded recipe directory.

Remake lua.patch, since the diff context has changed in v2.83.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2021-01-25 12:03:20 +01:00
Hector Bujanda 544f152564 recipes-support: opencv: Update recipes to new BSP release imx_5.4.47_2.2.0
Includes:
opencv: Add smaller version of download models script [YOCIMX-4899]

    Add a download models script that downloads a subset of the
    regular script, reducing the download size from 10 to 1 GB.

    Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
opencv: Fix build break [YOCIMX-4806]

    The fix for installing face_landmark_model.dat failed
    if test was not in PACKAGECONFIG. In fact we should only
    install face_landmark_model.dat if test is configured.

    Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
opencv: Fix patch fuzz

    Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>

Signed-off-by: Hector Bujanda <Hector.Bujanda@digi.com>
2020-11-04 12:59:14 +01: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
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 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 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 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
Gabriel Valcazar 73352a83a2 libp11: add recipe for v0.4.10
This is the version Microchip recommends to use in for the newer cryptoauthlib
with pkcs11 support. This recipe was backported from the zeus branch of
meta-openembedded.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-11-12 16:22:03 +01:00
Gabriel Valcazar 9047e00bf1 Use https protocol instead of git protocol when fetching from github
Otherwise, users that are behind corporate firewalls might not be able to
obtain the package sources.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-08-26 15:52:53 +02:00
Arturo Buzarra fb49af9d27 libdevmapper: Remove lvm2-udevrules from RRECOMMENDS
Commit c6e963f9e ("lvm2: Add RDEPEND on lvm2 to lvm2-udevrules")
in meta-oe layer added a package dependency for lvm2. This dependency
includes many unnecessary packages like lvm2, lvm2-scripts, etc.
and their dependencies that increase the size of the initramfs image.
Since lvm2-udevrules is not necessary for our initramfs image,
this commit removes the RRECOMENDS.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-08-01 15:30:09 +02:00
Jose Diaz de Grenu acb150e8c7 lvm2: remove bbappend, superseded by meta-oe upstream
The functionality provided by this bbappend is now available in meta-oe
upstream, commit 7f17da154372b5ec33947766783444961e8aa67c.

Signed-off-by: Jose Diaz de Grenu <Jose.DiazdeGrenu@digi.com>
2019-07-18 16:56:37 +02:00
Gabriel Valcazar c76469fba7 dnsmasq: disable dnsmasq.service by default
Similar to what we did on sysvinit, stop dnsmasq from starting automatically
on boot so NetworkManager can launch it via dbus.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-02-18 18:01:57 +01:00
Arturo Buzarra e7a63452ef thud migration: swupdate: update recipe to version 2018.11
https://jira.digi.com/browse/DEL-6412

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-02-04 16:52:43 +01:00
Arturo Buzarra 58f76af1c1 swupdate: update recipe to version 2017.11
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-01-11 13:26:44 +01:00
Arturo Buzarra 5eb88b8c5d sumo migration: meta-digi: replace the deprecated base_conditional function
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-01-11 13:26:44 +01:00
Arturo Buzarra 7f58541f9a curl: update base recipe version to fix compilation error
The commit 32a6e809f811e8b3920326330d8225b3dd895f70 from the poky layer
breaks the build in the maintenance branch for rocko. This patch updates
the curl base recipe to use the latest version.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2018-05-09 09:15:46 +02:00
Jose Diaz de Grenu 80626aa749 swupdate: update to 2017.07
Rename recipe and fix the path of the progress binary. Also on the
rocko branch of meta-swupdate several signing mechanisms are
supported, and the value is used as a string to determine which one
to use.

Signed-off-by: Jose Diaz de Grenu <Jose.DiazdeGrenu@digi.com>
2018-01-23 14:33:17 +01:00
Jose Diaz de Grenu edb44f9948 rocko migration: update recipes
All this recipes only need to be renamed to the new version:
* cherokee
* curl
* imx-codec
* imx-gst1.0-plugin
* imx-parser

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

Signed-off-by: Jose Diaz de Grenu <Jose.DiazdeGrenu@digi.com>
2018-01-12 15:59:15 +01:00
Jose Diaz de Grenu 7416361505 rocko migration: remove rng-tools
This tool was only needed for old kernels, newer kernels use the hardware
random number generator themselves.

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

Signed-off-by: Jose Diaz de Grenu <Jose.DiazdeGrenu@digi.com>
2018-01-12 15:59:12 +01:00
Javier Viguera cd1a145e10 libsoc: patch library to allow udev events to complete
After exporting a GPIO or PWM, we need to give some time for udev rules
to complete, before actually trying to access the newly created entries
in the sysfs.

This solves a problem, where udev was setting the mode and group of
the newly created files, so they are accessible for users (not root)
belonging to that group.

For traceability and to be sure the patch applies without conflicts,
this commit also sets a fixed revision to use from the libsoc
repository.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-11-29 14:18:28 +01:00
Mike Engel f5378d2096 dnsmasq: update to 2.78 version to include vulnerability fixes.
This commit updates dnsmasq to version 2.78 to include the following
vulnerability patches:

	* CVE-2017-13704
	* CVE-2017-14491
	* CVE-2017-14492
	* CVE-2017-14493
	* CVE-2017-14494
	* CVE-2017-14495
	* CVE-2017-14496

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

https://jira.digi.com/browse/DEL-5136
2017-11-23 15:49:46 +01:00
Mike Engel bba0c0d795 libsoc: Remove platform board.conf files
This commit removes the platform board.conf files from
libsoc.

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

https://jira.digi.com/browse/DEL-5096
2017-10-10 13:15:51 +02:00
Javier Viguera bfdd5e5bfe dnsmasq: configure package to be used by NetworkManager
NM launches 'dnsmasq' using DBus, so enable DBus support at compile
time. Also remove the symlinks in the different runlevels, so it's not
launched by the included bootscript.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-09-27 13:31:16 +02:00
Javier Viguera f64a59ba25 curl: enable 'ares' build time option
This is required to use '--dns-interface' runtime parameter to instruct
'curl' to use a specific interface for DNS resolution.

We need this in the context of the network failover support, where
NetworkManager does the connectivity check, by trying to connect to a
configured URL through the different interfaces available, and for this
check it uses 'libcurl' underneath.

If you try to use this functionality without this build time option
enabled, you get:

curl: (4) A requested feature, protocol or option was not found built-in
in this libcurl due to a build-time decision.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-09-20 12:07:45 +02:00
David Escalona 4320f0574f libsoc: update board configuration files to fix SPI definitions
Signed-off-by: David Escalona <david.escalona@digi.com>
2017-09-15 17:25:33 +02:00