Commit Graph

2313 Commits

Author SHA1 Message Date
Hector Palacios cf2efaa211 imx-sc-firmware: substitute original SCFW with Digi one
This re-writes original SCFW with Digi one (binary).

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2018-06-26 18:07:07 +02:00
Hector Palacios a69d7420a4 imx-sc-firmware: add IMX System Controller firmware
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2018-06-26 18:07:07 +02:00
Hector Palacios 1e57643c2b imx-atf: add IMX Arm Trusted Firmware support
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2018-06-26 18:07:07 +02:00
Hector Palacios 34bc3c825a firmware-imx: update to v7.1
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2018-06-26 18:07:07 +02:00
Hector Palacios e406ab5f3a qtbase: add support for ccimx8x
Signed-off-by: Hector Palacios <hector.palacios@digi.com>

https://jira.digi.com/browse/DEL-6039
2018-06-26 18:07:07 +02:00
Hector Palacios 8a5c4a3121 imx-dpu-g2d: add DPU recipe
The Display Processing Unit (DPU) on the i.MX8 is what NXP used to call
Image Processing Unit (IPU) on the i.MX6 family.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2018-06-26 18:07:07 +02:00
Gonzalo Ruiz e6cf2811c7 u-boot: add support for CC8X variants on v2017.03
CC8X variants include either 1GB or 2GB DDR. This requires
different defconfig files for each possible DDR size and so,
different U-boot binary files.

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

Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2018-06-22 15:32:03 +02:00
Hector Palacios e7f1aaddec gstreamer1.0: fix cc6ul gstreamer build
Commit 15139a3e97 wrongly removed 'vpx' from plugins-good which
is needed to play WebM files on the CC6UL.

The packagegroup-dey-gstreamer also needed to be updated to use
'pulseaudio' from plugins-good which was apparently renamed from 'pulse'.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>

https://jira.digi.com/browse/DEL-6029
(cherry picked from commit 29add13409)
2018-06-20 15:16:50 +02:00
Hector Bujanda 3687457ad0 dey-examples: adc_sample, adc_cmp_sample: Add support for CC8X
adc_sample:
   - extend list of supported devices with MCA_CC8X
adc_cmp_sample:
   - Add '-t' argument to specify the type of device.
   - Added checking of threshold ranges to avoid confusion between
     raw and voltage configurations.

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

Signed-off-by: Hector Bujanda <hector.bujanda@digi.com>
2018-06-20 12:23:57 +02:00
Hector Palacios 29add13409 gstreamer1.0: fix cc6ul gstreamer build
Commit 15139a3e97 wrongly removed 'vpx' from plugins-good which
is needed to play WebM files on the CC6UL.

The packagegroup-dey-gstreamer also needed to be updated to use
'pulseaudio' from plugins-good which was apparently renamed from 'pulse'.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>

https://jira.digi.com/browse/DEL-6029
2018-06-19 19:31:22 +02:00
Hector Palacios 9b4884166c u-boot-fw-utils: add support for ccimx8x platform
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2018-06-19 11:02:08 +02:00
Hector Palacios 4c286c30aa cryptoauthlib: add support for ccimx8x platform
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2018-06-19 11:02:08 +02:00
Hector Palacios dfbb7917f1 dey-examples: add support for ccimx8x platform
- For most examples, since they apply to all platforms, remove
  COMPATIBLE_MACHINE.
- For recipes related to specific hardware, add support to the new platform

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2018-06-19 11:02:06 +02:00
Hector Palacios 29cf0c2f17 packagegroup-dey-examples: move common examples to common RDEPENDS
While on it:
- add dey-examples-rtc unconditionally (rtc is never in MACHINE_FEATURES)
- add missing recipes: digiapix, cryptochip
- re-order them alphabetically.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2018-06-19 11:01:33 +02:00
Hector Palacios 1de3d5e8a2 cryptoauth-openssl-engine: add support for ccimx8x platform
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2018-06-19 10:56:05 +02:00
Hector Palacios 04f048fb07 init-ifupdown: add support for ccimx8x platform
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2018-06-19 10:56:05 +02:00
Hector Palacios dc51962fb0 init-ifupdown: generalize do_install and files
This commit:
- moves the files in platform folders 'ccimx6qsbc' and 'ccimx6ul' to the
  recipe's folder (they are the same).
- moves the install instructions for virtual wlan and wlan1 into functions
  that can be reused by both platforms.
- moves the bridge example install instruction to the generic do_install()
  since it's the same for all.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2018-06-19 10:56:05 +02:00
Hector Palacios f2388f1cb7 busybox: add 'standby' script support for ccimx8x platform
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2018-06-19 10:56:05 +02:00
Hector Palacios 07759dc458 ccimx8x: remove imx-alsa-plugins, not supported/needed
On NXP BSP for the iMX8 this is specifically removed.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2018-06-19 10:56:05 +02:00
Hector Palacios e2e5f6da87 alsa-state: add support for ccimx8x platform
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2018-06-19 10:56:05 +02:00
Hector Palacios 848bc50b32 gstreamer1.0: re-add missing recipes
Commit 15139a3e97 removed all gstreamer plugins recipes
but NXP meta-fsl-bsp-release still contains .bbappends that
this commit re-adds.

Besides, the imx-gst1.0-plugin recipe contained a patch by Digi
that was also wrongly removed and that this commit re-adds without
the version on the filename.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>

https://jira.digi.com/browse/DEL-6029
2018-06-15 15:42:49 +02:00
Hector Palacios 15139a3e97 gstreamer1.0: remove unneeded recipes
meta-freescale rocko branch now sources gstreamer and its plugins
from repositories in codeaurora that contain all patches, so these
recipes are no longer required in meta-digi.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>

https://jira.digi.com/browse/DEL-6029
(cherry picked from commit 105ab7a89b)
2018-06-15 15:30:41 +02:00
Hector Palacios 0e7de0eb75 gstreamer1.0: re-add missing recipes
Commit 105ab7a89b removed all gstreamer plugins recipes
but NXP meta-fsl-bsp-release still contains .bbappends that
this commit re-adds.

Besides, the imx-gst1.0-plugin recipe contained a patch by Digi
that was also wrongly removed and that this commit re-adds without
the version on the filename.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>

https://jira.digi.com/browse/DEL-6029
2018-06-15 12:43:09 +02:00
Hector Palacios 4768643b6e xf86-video-imx-vivante: update recipe to 6.2.4.p1.2
This includes the recipe renaming.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>

https://jira.digi.com/browse/DEL-6029
2018-06-15 11:21:29 +02:00
Hector Palacios 7219c08bc7 imx-gpu-g2d: update recipe to 6.2.4.p1.2
This is taken from meta-fsl-bsp-release layer at branch 'rocko-4.9.88-2.0.0_ga'
at SHA1 d65692ecb3a4.

A *.bbappend is required to explicitly set COMPATIBLE_MACHINE.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>

https://jira.digi.com/browse/DEL-6029
2018-06-15 11:20:53 +02:00
Hector Palacios 4fd4246dba imx-gpu-viv: update recipes to 6.2.4-p1.2
- These have been taken from meta-fsl-bsp-release layer at branch
  'rocko-4.9.88-2.0.0_ga', SHA1 d65692ecb3a4.
- Old recipes have been removed.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>

https://jira.digi.com/browse/DEL-6029
2018-06-14 16:01:44 +02:00
Hector Palacios 105ab7a89b gstreamer1.0: remove unneeded recipes
meta-freescale rocko branch now sources gstreamer and its plugins
from repositories in codeaurora that contain all patches, so these
recipes are no longer required in meta-digi.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>

https://jira.digi.com/browse/DEL-6029
2018-06-14 15:09:14 +02:00
Hector Palacios c1868d7892 kernel-module-qualcomm: add support for QCA6574 on ConnectCore 8X
A new variable QUALCOMM_WIFI_INTERFACE allows to select between 'sdio'
(default) and 'pcie'.
Compilation flags and source files differ between the two.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2018-06-13 16:28:22 +02:00
Hector Palacios ed38c47005 kernel-module-qualcomm: build from dey-2.4/master
This update was missing from DEY-2.4 (although there haven't been changes
in the repo).

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2018-06-12 18:22:09 +02:00
Hector Palacios 9650efe7e0 firmware-qualcomm: add support for QCA6574 in ConnectCore 8X
The firmware-qualcomm recipe now provides the Bluetooh and WiFi firmware
for QCA6564 (CC6UL, CC6PLUS) and QCA6574 (CC8X).

The Bluetooth firmware is the same for both chip models.

Regarding the Wifi firmware:
- If using the QCA6564, the proprietary firmware is used.
- If using the QCA6574, the recipe allows to select between the proprietary
  or the community driver (via QUALCOMM_WIFI_DRIVER), and will install the
  associated firmware. For the community driver, the firmware files have
  been copied from linux-firmware repo at SHA1 7518922bd5b9, except for
  the file 'board.bin' which needs to be substituted with the proprietary
  one by Qualcomm. Default, is to use the community driver.

The do_install() has been improved for re-using the variables with the list
of files.

The package has been renamed basing on the QCA_MODEL variable which can
be set per platform.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2018-06-12 18:22:09 +02:00
Hector Palacios 871da6f0d6 bluez5: add support for ConnectCore 8X on Bluez5-5.46
- The variable containing the list of patches has been renamed to a more
  generic prefix QCA65XX_.
- The ConnectCore 8X uses GPIO3_10 (394) for BT_EN.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>

https://jira.digi.com/browse/DEL-5936
2018-06-04 12:16:59 +02:00
Hector Palacios 15b9296f92 imx-gpu-viv: upgrade to version 6.2.4 and add support for ConnectCore 8X
This is taken from meta-fsl-bsp-release layer at bb80ba5a0104.
The file had a few commented lines for Wayland that have been uncommented
to leave them untouched in the commit.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>

https://jira.digi.com/browse/DEL-5937
2018-06-04 12:16:59 +02:00
Hector Palacios a2092450fa build: 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.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2018-06-04 11:17:01 +02:00
Hector Palacios 5ff8b186ce linux-dey: add support for ConnectCore 8X SBC Express
- This is an AARCH64 platform that requires to build "Image", so let's
  change KERNEL_IMAGETYPE to a weak assignment in imx-digi-base.inc
- The device tree is inside a vendor folder.
- For the moment, this platform builds from a different branch.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>

https://jira.digi.com/browse/DEL-5936
2018-06-01 17:05:00 +02:00
Hector Palacios 55af779bf6 linux-dey: use custom kernel defconfig or else the one in the Linux tree
With this patch a user can provide his own kernel 'defconfig' file by:

 - setting the variable KERNEL_DEFCONFIG to a custom kernel configuration
   file inside the kernel repository.

 - setting the variable KERNEL_DEFCONFIG to a kernel configuration file
   using the full path to the file.

 - clearing the variable KERNEL_DEFCONFIG and providing a kernel
   configuration file in the layer (in this case the file must be named
   'defconfig').

Otherwise the default platform's kernel configuration file will be taken
directly from the Linux source code tree.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2018-06-01 17:04:52 +02:00
Hector Palacios 624ace0055 conf: install 'imx-alsa-plugins' depending on alsa distro and machine features
Reference: e3374a33c19686f0e233a7fbccd4d5caa5085936
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2018-05-31 12:06:59 +02:00
Hector Palacios 8af8817796 u-boot: add support for U-Boot v2017.03
This adds support for U-Boot v2017.03 for all platforms (including CC8X).

For legacy v2015.04:
  - Renames u-boot.inc as a versioned file only for v2015.04.
  - Moves boot/install scripts from versioned folder into non-versioned
    folder (since the scripts remain the same between versions).

For new v2017.03:
  - Re-uses poky's u-boot.inc in rocko for v2017.03
  - DEY recipe re-writes the do_compile for special U-Boot configuration
    required for TrustFence.
  - DEY recipe appends the do_deploy, for U-Boot scripts and deploy of
    special TrustFence artifacts.
  - Adds u-boot-dtb.xxx to UBOOT_CONFIG, required for new U-Boots.
  - Adds CC8X scripts.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>

https://jira.digi.com/browse/DEL-5936
2018-05-31 12:06:37 +02:00
Hector Palacios d981f999f0 meta-digi-arm: add support for ccimx8x SBC Express platform
Add initial support for Digi ConnectCore 8X SBC Express.
- ccimx6qp was used as reference machine from meta-digi.
- imx8qxpmek was used as a reference machine from meta-fsl-bsp-release.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>

https://jira.digi.com/browse/DEL-5936
2018-05-28 18:37:56 +02:00
Gabriel Valcazar 8e0be48793 openssl: Add patch to automatically load cryptochip engine
https://jira.digi.com/browse/DEL-5592

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2018-05-09 09:16:10 +02:00
Gabriel Valcazar d08f067e12 recipes-digi: add cryptoauth-openssl-engine
https://jira.digi.com/browse/DEL-5592

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2018-05-09 09:16:00 +02: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
Arturo Buzarra 93f803cfc2 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-08 09:55:32 +02:00
Jose Diaz de Grenu 223d51b19b dey-examples-opengles: fix runtime dependency
https://jira.digi.com/browse/DEL-5862

Signed-off-by: Jose Diaz de Grenu <Jose.DiazdeGrenu@digi.com>
2018-04-12 12:18:25 +02:00
hbujanda 58bbd78efe ccimx6ulstarter/sbc: add support for variant 0x05
Variant 0x05 is a non-wireless with 1 GiB DDR3

boot.txt: Select zImage-imx6ul-ccimx6ulsbc.dtb fdt_file.
install_linux_fw_sd: Use u-boot-ccimx6ulsbc1GB.imx bootloader.

Signed-off-by: Hector bujanda <hector.bujanda@digi.com>

https://jira.digi.com/browse/DEL-5684
2018-04-12 12:13:50 +02:00
Jose Diaz de Grenu d5949c9d24 Merge tag 'dey-2.4-r1.2' into dey-2.4/master
Manually changed recipes to use the master branches instead of the
fixed SHA1 from the last release.

Digi Embedded Yocto 2.4-r1.2

Signed-off-by: Jose Diaz de Grenu <Jose.DiazdeGrenu@digi.com>
2018-04-12 12:11:03 +02:00
Hector Palacios 47f42f7606 meta-digi: revert revisions to AUTOREV
This reverts commit 1246ecff2c.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2018-03-12 17:19:48 +01:00
Hector Palacios 1246ecff2c meta-digi: update revisions for dey-2.4-r1.2
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2018-03-12 10:33:55 +01:00
Arturo Buzarra dca3840b2f bluetooth-init: remove verification to BT firmware was loaded successfully
Firmware verification has a side effect in cc6ul sbc express platform
that affects to the bluetooth initialization.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2018-03-08 13:10:38 +01:00
Gabriel Valcazar 73b3c2e255 dhcp: Add patch to avoid IP address changes during runtime
Whenever there's a big time jump due to an outaded RTC being updated via NTP,
detect the jump and update the DHCP lease's expiry times accordingly.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2018-03-05 19:02:21 +01:00
Arturo Buzarra e3d086c472 meta-digi: revert revisions to AUTOREV
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2018-02-27 16:05:38 +01:00