Commit Graph

1098 Commits

Author SHA1 Message Date
Arturo Buzarra 4cdb24d0f5 bluez5: initialize BT in HCI_H4 mode and disable IBS and DEEP_SLEEP on firmware binary
Initialize Bluetooth chip in HCI_H4 mode and provide a firmware binary
with the IBS and DEEP_SLEEP mode disabled by default. Also this firmware
enables an internal clock required to maintain the system on low power modes.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2018-10-10 12:00:33 +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 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 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
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
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
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
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
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
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
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
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
Gabriel Valcazar afae4f6bfd kernel-module-qualcomm: add a new udev rule to load the module on the cc8x
The module was being loaded by the default udev rules. With this new rule, the
module will be loaded with our custom qualcomm.sh script.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2018-08-24 12:19:05 +02:00
Gabriel Valcazar 257655fc1d kernel-module-imx-gpu-viv: update to v6.2.4.p1.6
The module's sources are now obtained from the kernel and two of our patches
aren't needed anymore.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2018-08-21 17:12:47 +02:00
Gabriel Valcazar bfe528abbc linux-dey: separate kernel source information into a new file
This way, other recipes (like the ones for kernel modules) can re-use the
sources if needed.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2018-08-21 17:12:47 +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
Hector Palacios f67e16160d u-boot-fw-tools: fix script to account for more than 9 parts
When grepping for the mtd index "1" the script was also returning
partitions 10, 11, and so on.

Reported-by: Leonid Makhnovskiy <leonid.maknovskiy@digi.com>
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
(cherry picked from commit a2a8491140)
2018-08-13 12:57:33 +02:00
Hector Palacios a2a8491140 u-boot-fw-tools: fix script to account for more than 9 parts
When grepping for the mtd index "1" the script was also returning
partitions 10, 11, and so on.

Reported-by: Leonid Makhnovskiy <leonid.maknovskiy@digi.com>
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2018-08-13 11:21:56 +02:00
Gabriel Valcazar f6639026d8 imx-boot: remove intermediate binary between mkimage iterations
Since this binary (u-boot-atf.bin) wasn't being deleted, the mkimage makefile
was using the one from the previous iteration, causing the 1GB imx-boot to
contain the 2GB U-Boot.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2018-08-10 09:45:00 +02:00
Gabriel Valcazar 6b815c18ab imx-sc-firmware: use custom Digi firmware instead of NXP's
This firmware was built using commit 9a6f1cbba2f49d2284c4211688d3cdd12fc67eca
in our cc8x-scfw repo.

https://jira.digi.com/browse/CC8X-149

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2018-08-07 12:05:35 +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 295a626e77 ccimx8x: linux: change branch to v4.9.88/master
This is our new Linux branch based on the beta 2 BSP for i.MX8 QXP

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2018-08-01 11:32:10 +02:00
Gabriel Valcazar f10f90d0c7 imx-boot: use different DCD depending on the cc8x variant
Also, move all of the recipe's patches from the .bbappend file to the .bb file,
because the .bb file's modifications depend greatly on said patches.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2018-08-01 11:26:35 +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
Gabriel Valcazar 46c2089895 imx-m4-demos: update to version 2.3.1
https://jira.digi.com/browse/DEL-6085

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2018-08-01 11:26:35 +02:00
Gabriel Valcazar 02223e2df5 imx-mkimage: update recipe to use the 8qxp_beta2 branch
In order for Yocto to append all the necessary firmware binaries to the U-Boot
image, this recipe needs to be up to date.

Also, remove the older hardcoded SRCREV in our .bbappend file. The file that
gets patched hasn't been modified since beta1, so our patch apllies cleanly to
beta2.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2018-08-01 11:26:35 +02:00
Gabriel Valcazar b35809b194 firmware-imx: update to version 7.6
This adds and AHAB container to the QXP binaries, although according to the
makefiles in the mkimage package, it isn't used in the A0 revision of the CPU.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2018-08-01 11:26:35 +02:00
Gabriel Valcazar fd6937b92d imx-sc-firmware: update to version 0.7
This is needed to match U-Boot's SC API changes. Also, for now, use NXP's
A0 version of the firmware without our customizations until we have access to
the new SCFW SDK.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2018-08-01 11:26:35 +02:00
Gabriel Valcazar 035221039e imx-atf: update recipe to use the 8qxp_beta2 branch
The ATF binary's source code needs to be updated for the new U-Boot to work
properly.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2018-08-01 11:26:35 +02:00
Arturo Buzarra f3e7d66745 firmware-qualcomm: update proprietary firmware and use it by default
This commit updates firmware binaries to tag r10004.2 from
https://stash.digi.com/scm/linux/qca6574au-le-2-2-1_qca_oem.git
and modifies the recipe to use the QCA6574 proprietary driver by default.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2018-07-23 09:34:17 +02:00
Hector Palacios 4750c36030 image_types: remove potential sub-folder from device tree files
The boot.(ext) image class was looping over ${KERNEL_DEVICETREE}
variable which is normally the list of device tree filenames.
The loop however does not take into account the possibility that
this list of files are within a sub-folder, as it happens with
ARM64 device tree files in the kernel tree.

Use 'basename' to remove any potential subfolder on the iterations.

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

https://jira.digi.com/browse/DEL-6060
2018-07-10 13:34:40 +02:00
Hector Palacios 21e90eb909 mca-tool: update AARCH64 tarball checksums
The Makefile needed to change to fix the folder name inside the tarball.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2018-07-06 16:20:47 +02:00
Hector Palacios 9450a6f263 imx-vpu: fix build for MX6 platforms
The 5.4.37 recipe already exists on meta-freescale and the
bbappend was wrongly resetting the COMPATIBLE_MACHINE to only
the ccimx8x.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2018-07-06 16:20:47 +02:00
Hector Palacios c337c77679 trustfence-sign-tools: update to v2017.03 and remove version
Update to newest U-Boot v2017.03
Remove the package version since it is based on a git repo and only
used natively.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2018-07-06 16:20:47 +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
Hector Palacios aad8da19ab mca-tool: update recipe to support ARM/AARCH64 binaries
There will be different tarballs for ARM (32-bits) and AARCH64
architectures.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2018-07-05 08:30:23 +02:00
Hector Palacios f98bc12541 imx_vpu: add recipe and ccimx8x support
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2018-07-03 09:17:57 +02:00
Hector Palacios 7682862695 imx-m4-demos: add recipe for M4 binary demo
This recipe takes a binary demo for the Cortex M4 CPU.
This is later used by imx-boot recipe to bundle it with the
bootable image for the i.MX8 (together with the SC firmware,
U-Boot, etc).

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2018-07-03 08:33:31 +02:00
Hector Palacios 59d1d37c2f classes: add some required NXP classes
These are required for the imx-m4-demos. The classes exist in
meta-fsl-bsp-release but will eventually be moved to meta-freescale
so, presumably, they could be removed in the future.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2018-07-03 08:33:31 +02:00
Hector Palacios de348c37c9 formfactor: add ccimx8x support
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2018-07-03 08:33:31 +02:00
Hector Palacios d6a598020e firmware-qualcomm: add missing utf.bin for QCA6574
Reported-by: Isaac Hermida <isaac.hermida@digi.com>
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2018-07-03 08:33:31 +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 53e81f5350 imx-mkimage: add DCD for cc8x 1GB Micron MT53B256M32D1
This was done using Excel aid sheet:
  MX8QXP_LPDDR4_register_programming_aid_ValidationBoard_1.2GHz_v7_DBI_enabled.xlsx

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2018-06-26 18:07:07 +02:00
Hector Palacios 2d28c97cc8 imx-mkimage: add imx-mkimage support
This recipe builds the Device Configuration Data (DCD) that
configures DRAM controller before the bootloader.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2018-06-26 18:07:07 +02:00
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
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 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 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 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 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 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
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
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 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 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
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 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
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