Commit Graph

2623 Commits

Author SHA1 Message Date
Javier Viguera bc5c64571a busybox http: add systemd service
Currently in a systemd based init, the httpd server is not launched. A
systemd service is needed, so add it.

Also install a CGI script that allows to use the device for the
NetworkManager connectivity check.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2019-05-17 09:38:24 +02:00
Jose Diaz de Grenu 06ce1dac42 system-monitor: add system-monitor example
This recipe is an example for customer for a system-monitor. Scripts that
verify the system status can be added to /etc/system-monitor.d

The recovery mechanisms can be implemented on those scripts or in the
system-monitor script. The software watchdog systemd support is used to
guarantee that the system-monitor is running.

When using this it is recommended to enable the systemd hardware watchdog
support, refer to the systemd documentation for this.

The systemd service provided by this recipe is not enabled by default as it
is an example that needs customization.

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

Signed-off-by: Jose Diaz de Grenu <Jose.DiazdeGrenu@digi.com>
2019-05-16 11:37:34 +02:00
Javier Viguera c93c116f2c networkmanager: install dispatcher to create P2P bridge
https://jira.digi.com/browse/DEL-6576

Co-authored-by: Isaac Hermida <isaac.hermida@digi.com>
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2019-05-16 11:37:34 +02:00
Javier Viguera 1a79df51c3 networkmanager: install main dispatcher script
Also create the folders that contain the scripts attending each
dispatch event type.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2019-05-16 11:37:34 +02:00
Javier Viguera 1ec2441db4 networkmanager: allow to configure the connectivity response timeout
Instead of the 20 seconds hardcoded currently in the code, allow to
configure the response timeout in the connectivity section of the main
NetworkManager config file.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2019-05-16 11:37:34 +02:00
Javier Viguera 5dc6bf0ff1 init-ifupdown: support establishing a P2P link
Co-authored-by: Isaac Hermida <isaac.hermida@digi.com>
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2019-05-16 11:37:34 +02:00
Javier Viguera af904677c6 qualcomm: remove hardcoded enable_p2p=0 parameter
P2P disabled is the default in the kernel module, so passing here the
parameter to 'modprobe' does nothing but prevents to set the parameter
in the kernel command line.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2019-05-16 10:12:51 +02:00
Javier Viguera 78e8c021b2 busybox http: add systemd service
Currently in a systemd based init, the httpd server is not launched. A
systemd service is needed, so add it.

Also install a CGI script that allows to use the device for the
NetworkManager connectivity check.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2019-05-16 10:10:34 +02:00
Gabriel Valcazar 3a68b7a880 linux-dey: update branch name
The new development branch is based on NXP's v4.14.98 BSP.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-05-15 13:06:10 +02:00
Gabriel Valcazar 41734a3614 dey.conf: force imx-gpu-viv as the provider for opencl-headers
There's a recipe in the thud branch of meta-openembedded specifically for the
opencl-headers package, but it's also provided by imx-gpu-viv. This generates
build errors when parsing the recipes and when populating the sysroot for
opencv.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-05-15 10:36:13 +02:00
Gabriel Valcazar 583dc784bc vulkan: update vulkan recipes
Make our vulkan sub-folder match NXP's by updating recipes, deleting ones that
are no longer needed and adding new ones. Also, stop forcing 1.0.65% as the
preferred vulkan version.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-05-15 10:35:13 +02:00
Gabriel Valcazar 4415627ae7 digi-sc-firmware: update to v1.2
Change the recipe name and update its checksums.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-05-15 10:35:13 +02:00
Gabriel Valcazar ea466b0264 imx-boot: add NXP sumo-4.14.98-2.0.0_ga changes
Use rel_imx_4.14.98_2.0.0_ga imx-mkimage tag, update ATF binary name, update
target names and rename CM4.bin to m4_image.bin.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-05-15 10:35:13 +02:00
Gabriel Valcazar ccf3a291e4 imx-m4-demos: update to v2.5.2
This is the version used in meta-fsl-bsp-release branch sumo-4.14.98-2.0.0_ga
for the imx8qxp.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-05-15 10:35:13 +02:00
Gabriel Valcazar 4500494582 gstreamer: update recipes to v1.14.4.imx
This is the version used in meta-fsl-bsp-release branch sumo-4.14.98-2.0.0_ga.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-05-15 10:35:13 +02:00
Gabriel Valcazar 0db6363af5 imx-parser: update to v4.4.5
This is the version used in meta-fsl-bsp-release branch sumo-4.14.98-2.0.0_ga.
Change the .bbappend name so it's compatible with all versions of the package.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-05-15 10:35:12 +02:00
Gabriel Valcazar 1bd374a763 imx-codec: update to v4.4.5
This is the version used in meta-fsl-bsp-release branch sumo-4.14.98-2.0.0_ga.
Change the .bbappend name so it's compatible with all versions of the package.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-05-15 10:35:12 +02:00
Gabriel Valcazar 1764350e53 wayland: update wayland recipes
Make our wayland sub-folder match NXP's.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-05-15 10:35:12 +02:00
Gabriel Valcazar a74e80ab2d opencv: update to v4.0.1.imx
This is the version used in meta-fsl-bsp-release branch sumo-4.14.98-2.0.0_ga.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-05-15 10:35:06 +02:00
Gabriel Valcazar e3aebef77c xf86-video-imx-vivante: update to v6.2.4.p4.0
This is the version used in meta-fsl-bsp-release branch sumo-4.14.98-2.0.0_ga.
The code revision is exactly the same as the one in v6.2.4.p2.3, so simply
rename the recipe and delete files that are not necessary anymore.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-05-15 10:35:06 +02:00
Gabriel Valcazar 793e901678 imx-gpu-viv: update to v6.2.4.p4.0
This is the version used in meta-fsl-bsp-release branch sumo-4.14.98-2.0.0_ga.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-05-15 10:35:05 +02:00
Gabriel Valcazar 4d5ee19512 imx-gpu-g2d: update to v6.2.4.p4.0
This is the version used in meta-fsl-bsp-release branch sumo-4.14.98-2.0.0_ga.
Instead of having one common .inc file and one .bb file per architecture,
we now have one common .bb file for both architectures.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-05-15 10:35:05 +02:00
Gabriel Valcazar 2cbcd32c5c imx-dpu-g2d: update to v1.7.0
This is the version used in meta-fsl-bsp-release branch sumo-4.14.98-2.0.0_ga.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-05-15 10:35:05 +02:00
Gabriel Valcazar a89c696cb3 libdrm: update revision
This is the version used in meta-fsl-bsp-release branch sumo-4.14.98-2.0.0_ga.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-05-15 10:35:05 +02:00
Gabriel Valcazar 09677a6a52 linux: add new linux-imx-headers recipe
This recipe's package is meant for packages that require NXP-specific linux
headers.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-05-15 10:34:58 +02:00
Gabriel Valcazar 7c465b30c3 imx-mkimage: update revision to use v4.14.98 BSP branch
This is the version used in meta-fsl-bsp-release branch sumo-4.14.98-2.0.0_ga.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-05-15 10:33:23 +02:00
Gabriel Valcazar dc66fa97a4 imx-atf: update to v2.0
This is the version used in meta-fsl-bsp-release branch sumo-4.14.98-2.0.0_ga.
When using v1.5, we used a .bbappend to change the revision of the v1.5 recipe
in meta-freescale. Since we're upgrading to a version that isn't supported in
the other layers yet, remove the .bbappend and add the entire v2.0 recipe.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-05-15 10:33:23 +02:00
Gabriel Valcazar d686b07311 firmware-imx: update to v8.1
This is the version used in meta-fsl-bsp-release branch sumo-4.14.98-2.0.0_ga.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-05-15 10:33:23 +02:00
Gabriel Valcazar 3531a6521f classes: update NXP bbclasses
Update NXP's .bbclass files with the ones in meta-fsl-bsp-release branch
sumo-4.14.98-2.0.0_ga.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-05-15 10:32:41 +02:00
Francisco Gil dd745b8a11 greengrass: add support for greengrass 1.9.0
Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
2019-05-09 17:03:43 +02:00
Hector Palacios e467623483 digiapix: update script and rules for watchdog and IIO
The watchdog and ADC devices were not being modified to belong
to 'digiapix' group, so the examples did not run properly when
ran as a user different than root.

Reported-by: Andreas Burghart <andreas.burghart@digi.com>
Signed-off-by: Hector Palacios <hector.palacios@digi.com>

https://jira.digi.com/browse/DEL-6581
2019-05-08 15:45:41 +02:00
Gabriel Valcazar 995212a213 xserver-xorg: add poky SIGIO patch that was removed from upstream thud branch
This patch is included in the rocko and sumo branches of poky to avoid errors
when starting an xserver using DRI, but it was removed in the thud branch in
favor of newer input methods other than SIGIO. SIGIO is still supported, but
not explicitly in the xserver configuration.

Since the vivante driver on the i.MX6 is using DRI and, by extension, SIGIO
(even though there is no way to configure xserver to enable SIGIO support), the
only way to make xserver start correctly is by removing the SIGIO support check
in the code.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-05-07 09:55:19 +02:00
Gabriel Valcazar 5a14bd9666 standby: add systemd standby-actions script for ccimx6/ccimx6qp platforms
Even though systemd support is not yet available for these platforms, add the
scripts so bitbake doesn't fail when building the busybox package.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-05-07 09:55:19 +02:00
Gabriel Valcazar f1ce4bfbc8 standby: homogenize standby script across all platforms
* Use the same operation order when resuming interfaces
* Remove unnecessary delay in ccimx6sbc standby script

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-05-07 09:55:19 +02:00
Gabriel Valcazar c1fd7e473c modemmanager: add udev blacklist for ccimx6/ccimx6qp platforms
https://jira.digi.com/browse/DEL-6565

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-05-07 09:55:05 +02:00
Gabriel Valcazar 40d2390819 modemmanager: cosmetic: remove executable permissions from .rules file
Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-05-06 17:57:59 +02:00
Gabriel Valcazar a9fdd62871 imx-gpu-g2d: list compatible machines explicitly
Otherwise, bitbake will try building the aarch64 version of the package and
fail when building ccimx6 images.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-05-06 17:57:59 +02:00
Gabriel Valcazar 363895aa03 linux: use v4.9 branch for ccimx6/ccimx6qp
https://jira.digi.com/browse/DEL-6565

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-05-06 17:57:59 +02:00
Gabriel Valcazar 1116c6ddc6 Revert "sdk: remove support for the ccimx6sbc and ccimx6qpsbc"
This reverts commit 0fea640371.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-05-06 17:57:59 +02:00
Arturo Buzarra 0a5c1183e7 libqmi: remove old version to use the new one from upstream
There is a new version in 'meta-openembedded/meta-oe'

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-04-24 15:00:42 +02:00
Arturo Buzarra c299341dc7 meta-digi-dey: bump distro version to 2.6-r2
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-04-24 12:45:36 +02:00
Arturo Buzarra 21b09d616d Merge tag 'dey-2.6-r1.3' into dey-2.6/master
Digi Embedded Yocto 2.6-r1.3

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-04-24 12:37:13 +02:00
Gabriel Valcazar a3c190dfff meta-digi: revert revisions to AUTOREV
Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-04-16 17:45:26 +02:00
Gabriel Valcazar 0078da95cb meta-digi: update revisions for dey-2.6-r1.3
Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-04-16 17:44:36 +02:00
Gabriel Valcazar 9166c14688 README: Update dey-2.6-r1 changelog for r1.3
Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-04-16 17:44:11 +02:00
Gabriel Valcazar 0969676113 imx-boot: add fimrware-imx dependencies for do_compile() and do_populate_lic()
These dependencies went missing when we deleted our first .bb file and replaced
it with a .bbappend. Without these dependencies, the build can sometimes fail.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-04-16 17:31:02 +02:00
Gabriel Valcazar fce0809b47 meta-digi: revert revisions to AUTOREV
Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-04-15 17:56:55 +02:00
Hector Palacios 7c6871bf07 meta-digi: update revisions for dey-2.6-r1.2
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2019-04-15 17:55:17 +02:00
Hector Palacios 69b3121277 README: remove resolved issue with GPIO and TrustFence
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2019-04-15 17:21:27 +02:00
Hector Palacios 2f0ca1dcf7 README: Update dey-2.6-r1 changelog for r1.2
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2019-04-15 13:21:59 +02:00