Commit Graph

2429 Commits

Author SHA1 Message Date
Alex Gonzalez 569c95511f meta-digi-dey: bluez5: Adapt bluetooth-init to mainline use
The Digi vendor kernel uses a dedicated HCI UART driver with support for
In-Band Sleep (IBS). This driver, when used with a QCA vendor ROME plugin
for hciattach, is able to upload a new firmware version to the Bluetooth
chipset, as well as set the MAC address directly on the firmware.

Mainline BSP uses the HCI H4 driver instead and the "qualcomm" hciattach
plugin which is not able to upload firmware to the QCA6564 chipset.

As such, when using mainline the chipset uses the ROM firmware and the
bluetooth init script has been adapted accordingly.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2018-10-09 14:57:59 +02:00
Alex Gonzalez 30fde4487b meta-digi-arm: udev-extraconf: Avoid loading evbug by default
This kernel module is used for debugging and when available it spams the
log file with every input event.

This patch avoid it being loaded by default but the user can still load
it manually if required.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2018-10-09 14:57:59 +02:00
Alex Gonzalez 2b55252287 meta-digi-dey: xserver-xf86-config: Use fbdev device for mainline
The meta-freescale layer assumes that when you define the use-mainline-bsp
the platform is going to use the etnaviv gpu driver. This is not the case
for the CC6UL as the mxsfb.c driver is still not DRM capable.

Probably this will change in v4.19 as there is a DRM capable mxsfb.c
driver that will make it possible to use the armada xf86 driver with the
etnaviv fbdev emulation.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2018-10-09 14:57:59 +02:00
Alex Gonzalez ea46a81642 meta-digi-arm: use-mainline-bsp: Use community maintained gstreamer1.0
plugin

This is the same gstreamer used by meta-freescale.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2018-10-09 14:57:59 +02:00
Alex Gonzalez f85cd4e2ee meta-digi-dey: sysinfo: Fix for use with mainline kernels
* Check for file before using it

This just avoids the failure, on mainline access to OTP would need to be
done differently, see:

https://jira.digi.com/browse/ACL-163

* Use compatible node instead of digi,machine,name

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2018-10-09 14:57:59 +02:00
Alex Gonzalez 6a95035b3c meta-digi-arm: ccimx6ul: use-mainline-bsp: Remove imx-alsa-plugins
This package does not build with mainline kernels

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2018-10-09 14:57:59 +02:00
Alex Gonzalez 7aff3ee169 meta-digi-arm: u-boot-dey: Modify boot script for mainline kernel use
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2018-10-09 14:57:59 +02:00
Alex Gonzalez 2eaade486f meta-digi-arm: ccimx6ul: Add support to build mainline BSP
Just add the following to the conf/local.conf file:

MACHINEOVERRIDES .= ":use-mainline-bsp"

The defconfig is the mainline imx_v6_v7_defconfig.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2018-10-09 14:57:59 +02:00
Jose Diaz de Grenu 6044011127 kernel-module-imx-gpu, imx-gst1.0-plugin: fix file paths
Currently the contents of FILESEXTRAPATHS and the actual paths being used for
the patch files are not aligned. That generates the following WARNINGs:

imx-gst1.0-plugin_4.3.4.bb: Unable to get checksum for imx-gst1.0-plugin SRC_URI entry 0001-gstimxv4l2-map-dev-video1-to-dev-fb0.patch: file could not be found
kernel-module-imx-gpu-viv_5.0.11.p8.6.bb: Unable to get checksum for kernel-module-imx-gpu-viv SRC_URI entry 0001-mxc-gpu-use-recommended-values-for-minimum-GPU-frequ.patch: file could not be found
kernel-module-imx-gpu-viv_5.0.11.p8.6+fslc.bb: Unable to get checksum for kernel-module-imx-gpu-viv SRC_URI entry 0001-mxc-gpu-use-recommended-values-for-minimum-GPU-frequ.patch: file could not be found

Also, those patches are not being applied.

This patch fixes FILESEXTRAPATHS to contain the actual paths being used.

Signed-off-by: Jose Diaz de Grenu <Jose.DiazdeGrenu@digi.com>
(cherry picked from commit 4d35d15fee)
2018-10-09 13:43:38 +02:00
Jose Diaz de Grenu 4d35d15fee kernel-module-imx-gpu, imx-gst1.0-plugin: fix file paths
Currently the contents of FILESEXTRAPATHS and the actual paths being used for
the patch files are not aligned. That generates the following WARNINGs:

imx-gst1.0-plugin_4.3.4.bb: Unable to get checksum for imx-gst1.0-plugin SRC_URI entry 0001-gstimxv4l2-map-dev-video1-to-dev-fb0.patch: file could not be found
kernel-module-imx-gpu-viv_5.0.11.p8.6.bb: Unable to get checksum for kernel-module-imx-gpu-viv SRC_URI entry 0001-mxc-gpu-use-recommended-values-for-minimum-GPU-frequ.patch: file could not be found
kernel-module-imx-gpu-viv_5.0.11.p8.6+fslc.bb: Unable to get checksum for kernel-module-imx-gpu-viv SRC_URI entry 0001-mxc-gpu-use-recommended-values-for-minimum-GPU-frequ.patch: file could not be found

Also, those patches are not being applied.

This patch fixes FILESEXTRAPATHS to contain the actual paths being used.

Signed-off-by: Jose Diaz de Grenu <Jose.DiazdeGrenu@digi.com>
2018-10-09 11:42:19 +02:00
Hector Palacios 84715edfd5 README: add build version number
Signed-off-by: Hector Palacios <hector.palacios@digi.com>

https://jira.digi.com/browse/DEL-6203
2018-10-05 12:41:50 +02:00
Gabriel Valcazar f9427d1641 ccimx8x: u-boot: deploy all u-boot files to the imx-boot-tools directory
This way, customers are less likely to flash the plain u-boot by accident
instead of imx-boot. Also, have the imx-boot recipe look for the u-boot files
in the imx-boot-tools directory.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2018-09-26 10:34:34 +02:00
Gabriel Valcazar 66d51040c5 ccimx8x-sbc-express: libdigiapix: change default SPI device index
On this platform, the SPI device gets registered as /dev/spidev32766.0.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2018-09-24 17:56:09 +02:00
Hector Palacios 94b6e01c96 meta-digi-dey: revert some recipes to build from master branches
During the merge of the maintainance branch and the manual revert of
some recipes, these were forgotten.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2018-09-24 17:05:07 +02:00
Hector Palacios 37f6262bd3 Merge tag 'dey-2.4-r2.4-beta' into dey-2.4/master
Digi Embedded Yocto 2.4-r2.4-beta

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

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2018-09-24 16:57:31 +02:00
Gabriel Valcazar 44def5862f ccimx8x-sbc-express: libdigiapix: change default SPI device index
On this platform, the SPI device gets registered as /dev/spidev32766.0.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2018-09-24 14:04:01 +02:00
Hector Palacios 12aba85571 meta-digi: update revisions for dey-2.4-r2.4-beta
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2018-09-14 13:40:48 +02:00
Hector Palacios 65ac281615 meta-digi: revert revisions to AUTOREV
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2018-09-14 13:40:48 +02:00
Gabriel Valcazar a7fdb72a46 ccimx8x-sbc-express: force otf-update in the install_linux_fw_sd script
We have seen errors when verifying the rootfs update on 2 GiB variants. Forcing
otf-update prevents these errors from happening.

https://jira.digi.com/browse/DUB-855

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2018-09-14 13:34:46 +02:00
Hector Palacios da13b50f42 ccimx8_sbc_express: add device tree -id129
This is the same than the default -wb variant.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2018-09-14 12:31:38 +02:00
Gabriel Valcazar b014572474 ccimx8x-sbc-express: adapt install_linux_fw_sd script for imx-boot images
Also, make the script recognize the different SOM variants.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2018-09-13 18:35:40 +02:00
Gabriel Valcazar 419b8def29 dey-image-installer: generalize bootloader name to support imx-boot files
The generate_installer_zip() function had a hardcoded "u-boot" filename when adding
the bootloader to the list of files that are put in the installer .zip.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2018-09-13 17:00:34 +02:00
Hector Palacios 4ac6a5e0f3 meta-digi: revert revisions to AUTOREV
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2018-09-12 16:50:51 +02:00
Hector Palacios 948b079985 meta-digi: update revisions for dey-2.4-r2.3-beta
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2018-09-12 16:50:51 +02:00
Gonzalo Ruiz e4fbba3dde ccimx8x: bluetooth-init: set 115200bps for SOMv1
Set a lower baudrate of 115200bps for bluetooth on SOMv1 since
hardware flow control is not available.

Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2018-09-12 16:36:36 +02:00
Hector Palacios b6c975c44d build: remove unsupported dey-image-aws for CC8X
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2018-09-12 12:23:33 +02:00
Hector Palacios 15c42c3f25 README: added DEY unsupported features for ccimx8x
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2018-09-12 12:23:33 +02:00
Gabriel Valcazar 42629406d3 packagegroup-qt5-demos: remove qt3d-examples
The qt3d library is prone to compilation errors, so remove these examples for
now.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2018-09-12 10:59:05 +02:00
Hector Palacios 284a34deac meta-digi: revert revisions to AUTOREV
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2018-09-11 16:53:09 +02:00
Hector Palacios 2f55bb8fb6 meta-digi: update revisions for dey-2.4-r2.2-beta
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2018-09-11 16:52:27 +02:00
Hector Palacios 7978bf19db README: added upper level part numbers for CC8X
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2018-09-11 14:56:18 +02:00
Hector Palacios 407128b94c build-github: fix construction of variables from platforms with dashes
Commit d981f999f0 introduced a new
platform with dashes on its name, which broke Jenkins build because
middle variables are being created using the name of the platform
and dashes are not allowed in bash variable names.

To fix it, this commit changes the dashes to underscores on the fly.

This is ported from a2092450fa.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2018-09-11 10:46:23 +02:00
Gonzalo Ruiz 60fae2e2e1 meta-digi-dey: update distro version to 2.4-r2-beta
Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2018-09-07 17:55:40 +02:00
Gabriel Valcazar 9f9f2da8f2 build.sh: add support for building ccimx8x framebuffer images
Add wayland and vulkan to the distro features that get removed alongside x11.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2018-09-07 17:44:11 +02:00
Gabriel Valcazar 0945a9be13 ccimx8x-sbc-express: modify conf.notes.txt to reflect framebuffer image support
Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2018-09-07 17:44:11 +02:00
Gabriel Valcazar 04fc47605d qt5: ccimx8x: change platform plugin to EGLFS when not using XWayland
Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2018-09-07 17:44:11 +02:00
Gabriel Valcazar 913a8462c2 imx-gpu-viv: remove wayland as a requirement for i.MX8 platforms
This was added by NXP in their recipe to force wayland as a backend for i.MX8
platforms.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2018-09-07 17:44:11 +02:00
Gabriel Valcazar 5e386a4d21 Revert "ccimx8x: add imx-gpu-viv demos and tools"
These packages create dependency issues when compiling framebuffer images, and
they aren't essential. Include them only in ccimx6 images.

This reverts commit 2edb127d28.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2018-09-07 17:44:11 +02:00
Gonzalo Ruiz d61081a02c meta-digi: revert revisions to AUTOREV
This reverts commit ad9d2e5bdc.

Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2018-09-05 18:27:58 +02:00
Gonzalo Ruiz ad9d2e5bdc meta-digi: update revisions for dey-2.4-r2.1-beta
Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2018-09-05 18:27:36 +02:00
Gabriel Valcazar ec7eded4cb ccimx8x: override SDIMG_BOOTLOADER instead of UBOOT_SYMLINK
Since we were modifying UBOOT_SYMLINK for the ccimx8x, we were generating
u-boot symlinks with imx-boot names. This also caused the imx-boot recipe to
fail during compilation, because it couldn't find the old UBOOT_SYMLINK that
we replaced.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2018-09-05 16:12:03 +02:00
Gonzalo Ruiz d065f53ac4 trustfence-tool: update recipe to v2.2
Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2018-09-05 15:05:39 +02:00
Gabriel Valcazar 8412670220 packagegroup-qt5-demos: remove qtsmarthome
The sources for this package do not exist anymore, causing the build to fail
unless said sources can be obtained via a mirror.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2018-09-05 13:05:31 +02:00
Hector Bujanda e6874d1260 mca_tool: update checksums for build 1.13
https://jira.digi.com/browse/DEL-6160

Signed-off-by: Hector Bujanda <hector.bujanda@digi.com>
2018-09-05 11:37:50 +02:00
Gonzalo Ruiz 34eb367924 README: release notes for dey-2.4-r2-beta
Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2018-09-05 09:04:00 +02:00
Gabriel Valcazar ea48787676 ccimx8x: set bootloader variables for sdcard image creation
Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2018-09-04 18:29:02 +02:00
Gabriel Valcazar 39b247438c sdcard: generalize bootloader processing when generating sdcard images
This allows for other platforms to use different bootloaders (like imx-boot),
while leaving the default behaviour intact.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2018-09-04 17:11:41 +02:00
Gabriel Valcazar ee14e6f28e imx-boot: create a symlink to the default 1GB image
This simplifies the creation of the sdcard image.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2018-09-04 11:28:45 +02:00
Hector Palacios 0e2a5a6b1c uboot/kernel: change to build from maintainance branches
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2018-08-31 13:31:25 +02:00
Hector Palacios 8e246b98be Merge branch 'dey-2.4/master' into 'dey-2.4/maint'
Conflicts:
	meta-digi-arm/recipes-bsp/u-boot/u-boot-dey_2015.04.bb
	meta-digi-arm/recipes-digi/trustfence/trustfence-sign-tools_git.bb
	meta-digi-arm/recipes-kernel/kernel-module-qualcomm/kernel-module-qualcomm.bb
	meta-digi-arm/recipes-kernel/linux/linux-dey.inc
	meta-digi-arm/recipes-kernel/linux/linux-dey_4.9.bb
	meta-digi-dey/recipes-digi/dey-examples/awsiotsdk-demo_git.bb
	meta-digi-dey/recipes-digi/dey-examples/dey-examples-cryptochip.bb
	meta-digi-dey/recipes-digi/dey-examples/dey-examples-digiapix.bb
	meta-digi-dey/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.12.%.bbappend
	meta-digi-dey/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.12.%.bbappend
	meta-digi-dey/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.12.%.bbappend
	meta-digi-dey/recipes-multimedia/gstreamer/gstreamer1.0_1.12.%.bbappend
	meta-digi-dey/recipes-multimedia/gstreamer/imx-gst1.0-plugin_4.4.0.bb

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2018-08-31 13:18:29 +02:00