Commit Graph

2042 Commits

Author SHA1 Message Date
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 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
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 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
Arturo Buzarra 42d43ff5fb meta-digi: update revisions for dey-2.4-r1.1
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2018-02-27 15:56:19 +01:00
Arturo Buzarra fddd64edf7 README: Update dey-2.4-r1 changelog
https://jira.digi.com/browse/DEL-5687

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2018-02-27 15:56:19 +01:00
Arturo Buzarra f7625f0026 meta-digi: configure recipes to use maintenance branches
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2018-02-27 11:33:45 +01:00
Jose Diaz de Grenu c8d629e795 qtwebengine: fix compilation when using 1 core
From python 2.x to python 3.x, the '/' operator changed from integer
division to float division.

Hence, when using one core, 'makejobs' was being evaluated to 0.5.
That caused the evaluation below (makejobs == 0) to return False (0),
therefore PARALLEL_MAKE was evaluated to '-j 0' and the compilation
failed because the 'j' parameter must be strictly postive.

Replace the operator by the integer div operator in python 3.x '//'.

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

Signed-off-by: Jose Diaz de Grenu <Jose.DiazdeGrenu@digi.com>
2018-02-26 21:15:21 +01:00
Gabriel Valcazar 4c6689a2f8 cryptoauthlib: add new cryptochip-cmd-processor test app
https://jira.digi.com/browse/DEL-5763

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2018-02-26 11:54:02 +01:00
Gabriel Valcazar 674751e268 cryptoauthlib: remove internal stash repository SRC_URI
We are going to remove this repo, so the sources will always be fetched from
the official Microchip repo from now on.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2018-02-23 16:24:12 +01:00
Arturo Buzarra 71e8195f92 meta-digi-arm: firmware-qualcomm: Add WiFi US board data file for cc6plus
The new bdf has the following checksum:

1a3c35a7938c1a1a1aeed9c4de693e41  bdwlan30_US.bin

Details at:
https://confluence.digi.com/pages/viewpage.action?pageId=148408337

https://jira.digi.com/browse/CC6PLUS-82

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2018-02-23 11:26:24 +01:00
Isaac Hermida 49ecabe4bf dey-examples-cryptochip: inherit pkgconfig
With the migration from dey-2.2 to dey-2.4, now it is mandatory to include
all required applications for compilation. This fixes the next error:

| make: pkg-config: Command not found
| main.c:20:10: fatal error: cryptoauthlib.h: No such file or directory
|  #include <cryptoauthlib.h>

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

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2018-02-23 09:48:21 +01:00
Isaac Hermida 3400d7ce82 cryptoauthlib: install crypto libraries
Install crypto libraries in the rootfs so external applications can made use
of them.
Reworked first patch with all the needed port changes.

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

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2018-02-23 09:48:21 +01:00
Arturo Buzarra c8a0d60f7a linux-dey-4.9: ccimx6ul: sync defconfig
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2018-02-22 09:18:09 +01:00
Gabriel Valcazar 8273b38272 recipes-digi: cryptoauthlib: use new standalone repo
Make SRC_URI point to Microchip's standalone repo of the cryptoauth library,
add our customization patches and modify the license variables to point to the
new Microchip license file.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2018-02-21 16:18:30 +01:00
Gonzalo Ruiz 8b610ea212 install_linux_fw_sd: Removed hard-coded SD partition index
Under certain circumstances I was able to create a microSD card with
the FAT file system but corrupt partition table like this one:

Device      Boot      Start        End    Sectors   Size Id Type
/dev/sdf1p1       778135908 1919645538 1141509631 544,3G 72 unknown
/dev/sdf1p2       168689522 2104717761 1936028240 923,2G 65 Novell Netware 386
/dev/sdf1p3      1869881465 3805909656 1936028192 923,2G 79 unknown
/dev/sdf1p4      2885681152 2885736650      55499  27,1M  d unknown

Specifying the partition index made the install script to fail, but
not specifying it makes it work, although it also falls back to use
the first partition in the table.

Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2018-02-20 17:01:50 +01:00
Arturo Buzarra 7c34990c01 bluetooth-init: verify if BT firmware was loaded successfully
Rarely the bluetooth firmware is not loaded properly and causes
errors in the configuration steps. This verification makes sure
the firmware was loaded and is functional, if not we start the
retry mechanism with the default baudrate to avoid the firmware
corruption in the upload process.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2018-02-20 16:39:27 +01:00
Hector Palacios c48e9cace7 readline: allow the use of Begin/End/Del/Insert and Ctrl+arrows
With the switch to using Bash as command line interpreter, the default
/etc/inputrc configuration file for readline doesn't allow the use of
some keys which are common.
This commit enables them to not change the user experience with previous
DEY versions.

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

https://jira.digi.com/browse/DEL-5623
2018-02-16 12:25:52 +01:00
Javier Viguera c5fb8d61b0 cryptoauthlib: fix GitHub repository URL
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2018-02-15 13:02:26 +01:00
Arturo Buzarra dcbce7ab9c mca_tool: update checksums for build 1.12
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2018-02-13 17:27:16 +01:00
Jose Diaz de Grenu b112f0510e trustfence-sign-tools: add missing dependency
util-linux is needed as the scripts use 'hexdump'. In previous versions
of Yocto the tool from the host was used, but this has been fixed in
Yocto 2.3

Also fix the other dependencies: the -native suffix is not needed nor
correct, as the native and nativesdk classes already map packages in
the DEPENDS variable to the corresponding packages.

Signed-off-by: Jose Diaz de Grenu <Jose.DiazdeGrenu@digi.com>
2018-02-12 12:25:57 +01:00
Javier Viguera 518ccf11ac imx: install 'imx-alsa-plugins' depending on alsa distro feature
This is how it's done for the NXP reference boards in 'meta-freescale'

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2018-02-12 11:01:45 +01:00
Gabriel Valcazar d7413dd551 linux-dey-4.9: sync defconfigs to add Goodix touch driver as built-in
https://jira.digi.com/browse/DEL-5007

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2018-02-09 16:56:18 +01:00
Isaac Hermida d28d9c9ac5 bluez-5.46: enable health profile
Enable the support for health profile (HDP).
In bluez-5.46 the experimental flag has been removed and some of the previous
functionalities that it was including have been splitted, so they need to be
enabled independently.

Reference: https://git.kernel.org/pub/scm/bluetooth/bluez.git/commit/?id=00af15150ecdbccc0255efc388b5e242aae14473

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

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2018-02-06 12:00:33 +01:00
Arturo Buzarra 81c0f027f8 standby: rename suspend script to standby
The suspend script has conflicts with the suspend from bash, then
we decided to rename our custom suspend script to standby and create
a symlink called suspend to maintain backward compatibility.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2018-02-02 17:29:25 +01:00