Commit Graph

181 Commits

Author SHA1 Message Date
Alex Gonzalez 402a222d64 meta-digi-arm: linux: use-mainline-bsp: Update to v4.20.y
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2019-01-10 10:04:19 +01:00
Gabriel Valcazar 352dc3dd38 ccimx8x: add VPU encoder and decoder firmware
https://jira.digi.com/browse/DEL-6158

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2018-11-14 17:03:41 +01:00
Gabriel Valcazar 7f076d951b ccimx8x: modify BOOTLOADER_SEEK value for step B0 of the silicon
This breaks support for step A0 of the i.MX8X die.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2018-11-14 17:03:41 +01: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 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 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
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
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 20f9486f9a imx-digi-base: sync our machine overrides with NXP's
Some overrides that were missing (imxgpu, imxdpublit) are needed for certain
packages to build.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2018-08-17 17:56:14 +02:00
Gabriel Valcazar 5fda306e36 ccimx8x: add xwayland support
Also add gtk3+ and clutter demos that depend on wayland since they are also
included in NXP's images.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2018-08-14 13:11:25 +02:00
Gabriel Valcazar 96ff70acbd mx8qxp: remove 'imxvpuamphion' from MACHINEOVERRIDES_EXTENDER
This syncs our MACHINEOVERRIDES with NXP's.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2018-08-14 13:11:25 +02:00
Arturo Buzarra 1abcef9130 ccimx8x.inc: add mca-tools package by default
This package includes applications to:
- Update the MCA firmware
- Manage different MCA settings
- Configure the tamper settings

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2018-08-01 16:06:03 +02:00
Gabriel Valcazar 77e656cf21 imx-boot: add support for the imx-boot package
This package is the combination of U-Boot and the other i.MX firmware binaries.
In our case, these binaries are: the SCFW, the ATF and the DCD.

The recipe has been ported from the meta-fsl-bsp-release repo, with a couple of
important changes:

    * Support for our platform (based on the mx8qxpa0, which uses A0-specific
      parameters for mkimage and appends the DCD explicitly)
    * Support for multiple UBOOT_CONFIG values (NXP only uses one UBOOT_CONFIG
      string per platform; so the compile, install and deploy functions had to
      be tweaked to build both 1GB and 2GB variants for our platform).

Our DCD patch used in imx-mkimage is also used, since both packages share the
same repo and imx-boot is the one responsible for generating the final,
bootable image.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2018-08-01 11:26:35 +02:00
Hector Palacios fb765741a5 ccimx8x: change kernel to Image.gz and support all SOM variants in DT
U-Boot's 'dboot' command now supports uncompressing Image.gz.
This will be the default kernel image type for the CC8X.

This also changes the names of the device tree artifacts, that must be
updated on the boot script. While on it, add support for all the SOM
variants (wireless and non-wireless).

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2018-07-06 16:20:47 +02:00
Gabriel Valcazar d9b333db05 cryptochip: add cryptochip MACHINE_FEATURE in several recipes
This simplifies some dependencies and makes them more explicit.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2018-07-02 10:55:11 +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 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 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 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
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
Hector Palacios 02504c6730 ccimx6: default kernel image to zImage
As a side effect, remove U-Boot entry point variable and LOADADDR
extra parameter from the kernel recipe.

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

https://jira.digi.com/browse/DEL-5554
2018-01-18 18:50:18 +01:00
Hector Palacios 5d18ee6731 ccimx6/ccimx6ul: default kernel image to zImage, except for CC6
U-Boot has been able to boot kernel zImage for a long time so make this
the default kernel image.
For the CC6 we still want to use uImage for compatibility reasons.

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

https://jira.digi.com/browse/DEL-5237
2017-11-21 10:14:39 +01:00
Arturo Buzarra 8e6ce42528 meta-digi-arm: add support for ccimx6qpsbc platform
Add initial support for Digi's ConnectCore 6 QuadPlus SBC.
The ccimx6qp platform has the QCA6564 chip instead of the
other Atheros chips and included the Atmel ECC508A cryptographic
chip.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2017-10-18 09:20:11 +02:00
Jose Diaz de Grenu 608b001036 imx6ul: ubifs: increase max leb count for linux
The current value only allows partitions of up to 8 MiB, which is not
enough for the 0x04 variant (which uses a linux partition of 24 MiB by
default).

This new value allows for up to 32 MiB (assuming 128 KiB erase block size).

Also add comments explaining the -c value and maximum partition sizes
supported.

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

Signed-off-by: Jose Diaz de Grenu <Jose.DiazdeGrenu@digi.com>
2017-08-29 18:11:50 +02:00
Javier Viguera 06d353c410 meta-digi-arm: clean not used variables and machine features
After the 'ccardimx28js' platform removal, these variables and machine
features are not used anymore, so remove them.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-08-04 17:38:30 +02:00
Javier Viguera 6b78236f42 ccardimx28js removal: delete machine and configuration files
https://jira.digi.com/browse/DEL-4771

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-08-04 17:38:30 +02:00
Diaz de Grenu, Jose d7cd1c0204 ccimx6ul: ubifs: increase max leb count for rootfs
This is required to be able to use the whole RootFS partition which is
512 MiB in the 0x04 CC6UL SOM variant.

The old value only allowed to manage partitions of up to 256 MiB, this new
value allows for up to 1 GiB (assuming 128 KiB erase block size).

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

Signed-off-by: Jose Diaz de Grenu <Jose.DiazdeGrenu@digi.com>
2017-07-12 17:37:00 +02:00
Hector Palacios 3d4f6dffd0 digi-defaults.inc: add kernel v4.1 for CC6 in comment
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2017-06-16 11:59:30 +02:00
Diaz de Grenu, Jose ff93cd2b28 recipes-digi: add cryptoauthlib
This library adds support to use the Atmel CryptoAuth device available
in the ConnectCore 6UL.

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

Signed-off-by: Diaz de Grenu, Jose <Jose.DiazdeGrenu@digi.com>
2017-06-05 13:10:02 +02:00
Tatiana Leon 3aeb49cce1 meta-digi-arm: use DHCP IPs by default
The main purpose is to improve our kits usability. This way users do not need
to follow the steps in the documentation to change from static to DHCP IPs.

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

Signed-off-by: Tatiana Leon <tatiana.leon@digi.com>
2017-03-20 14:47:21 +01:00
Mike Engel 19563821d2 ccim6ul_sbc: Add wireless concurrent as default setup
This commit adds the wireless concurrent mode as a default
configuration to the CC6UL machine.

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

https://jira.digi.com/browse/DEL-3818
2017-03-07 17:20:12 +01:00
Javier Viguera f778c69b98 morty migration: sync machine config files with meta-freescale
https://jira.digi.com/browse/DEL-3451

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-02-28 11:46:56 +01:00
Alex Gonzalez 5d332c7800 ccimx6ul: Add P2P support
This commit adds a wpa supplicant P2P configuration file and configures
the p2p0 interface automatically at pre-up.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2017-01-23 15:45:20 +01:00
Alex Gonzalez 0bb2cb005d meta-digi-arm: ccimx6ul: Use HAVE macros as in other platforms.
For consistency, use the HAVE macros instead of grepping the machine
features directly.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2017-01-23 15:45:20 +01:00
Javier Viguera 9448e9d994 ccardimx28: add missing leading space for append operator
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-01-17 18:24:37 +01:00
Hector Palacios 7f092fe4cd imx-digi-base.inc: build gstreamer plugins for i.MX6UL
The i.MX6UL supports some basic multimedia functionality
using the pixel pipeline (PXP).

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

https://jira.digi.com/browse/DEL-2358
2016-12-26 10:54:37 +01:00
Hector Palacios a7d9a894d7 ccimx6ul.inc: add mca-tool package by default
This application can be used to:
 - Update the MCA firmware
 - Configure the tamper settings

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

https://jira.digi.com/browse/DEL-3230
2016-11-21 11:23:55 +01:00
Javier Viguera 472e57312f meta-digi-arm: sync machine files with meta-fsl-arm
This commit adds the proper DEFAULTTUNE and overrides for the ccimx6ul
family of modules.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2016-10-19 19:25:20 +02:00
Isaac Hermida 412f1b1e55 meta-digi: rename external ethernet references to second ethernet
The name "ext-eth" seems to indicate "External Ethernet". Rename that variable
and related ones to a more proper name like second ethernet.

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2016-09-15 12:31:49 +02:00
Diaz de Grenu, Jose c59a5e6214 Revert "meta-digi-arm: Exclude u-boot-fw-utils if U-Boot environment encryption is"
This reverts commit b8f50680e5.

The support to read and write to an encrypted environment has been added, so
there is no need to exclude the u-boot-fw-utils anymore.

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

Signed-off-by: Diaz de Grenu, Jose <Jose.DiazdeGrenu@digi.com>
2016-08-26 10:13:17 +02:00
Isaac Hermida a47838ddc8 meta-digi-arm: remove APM machine feature
APM is an ancient power management API mainly for x86. There is an
optional emulation layer for ARM, but none of our platforms is using
it, so just remove the machine feature.

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

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2016-08-22 16:05:17 +02:00
Alex Gonzalez b8f50680e5 meta-digi-arm: Exclude u-boot-fw-utils if U-Boot environment encryption is
enabled

There is currently no support on fw_printenv/fw_setenv to access an
encrypted environment.

This commit removes the package if U-Boot environment encryption is
enabled to avoid environment corruption on access.

It also documents the issue as a known issue.

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

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2016-08-10 10:59:30 +02:00
Hector Palacios b71f2dacb5 u-boot-fw-utils: add support and config file for CC6UL platform
U-Boot environment on the CC6UL NAND is located at partition /dev/mtd1:
 - original copy is located at offset 0 in the partition
 - redundant copy is located 1 erase block (128K) after the original copy

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

https://jira.digi.com/browse/DEL-2552
2016-07-19 11:47:42 +02:00
Hector Palacios a2554a08cc ccimx6ul: add support to build boot.ubifs image
The size of the destination partition (linux) is around 14MiB so the
max-leb-cnt must be reduced compared to the one used for the rootfs
partition.

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

https://jira.digi.com/browse/DEL-2697
2016-07-06 18:05:30 +02:00
Mike Engel e5dca69e96 ccimx6ul: Add cryptodev module to kernel configuration.
This commit will add the cryptodev module to the CC6UL kernel to use
the CAAM from user space through this device.

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

https://jira.digi.com/browse/DEL-2719
2016-07-01 09:08:40 +02:00
Isaac Hermida 9cd2009300 ccimx6ul.inc: add imx-kobs as a required package
This tool is required to update the U-Boot NAND in linux.

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2016-06-27 11:06:30 +02:00