Commit Graph

2313 Commits

Author SHA1 Message Date
Gabriel Valcazar d522e4ae21 packagegroup-dey-qt: sync Qt packages with NXP's code
This updates our Qt5 packagegroup with all of the packages included in NXP's
fsl-image-qt5-validation-imx.bb.

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 4a477410fe recipes-qt: merge NXP's .bbappend files with ours
This merges our Qt5 recipes with the ones in meta-fsl-bsp-release.

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 081551aeeb recipes-qt: add recipes from meta-fsl-bsp-release
These recipes update Qt5, its plugins and adds wayland support.

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 c82ee2be42 recipes-graphics: add recipes from meta-fsl-bsp-release layer
Some of these recipes might not be strictly necessary for xwayland to work, but
they are related, so I have added them just in case.

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
Hector Palacios d3865a7e6e pointercal-xinput: add support for ccimx8x
Added empty file to avoid the touch calibration from running
always.

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

https://jira.digi.com/browse/DEL-6095
2018-08-07 13:22:21 +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 01be6cf386 swu-images: add support for ccimx8x platform
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2018-07-30 09:43:38 +02:00
Arturo Buzarra 5e09bc2f58 dey-image-recovery-initramfs: added filesystem utilities to ccimx8x platform
The e2fsprogs-mke2fs utilities are required for the recovery initramfs scripts.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2018-07-30 09:43:14 +02:00
Gabriel Valcazar 1e2244afcd gstreamer1.0-plugins-good: add the vpx package back to the recipe
vpx was wrongly removed when updating the recipe to version 1.14, but it's
required to build x11 images for the ccimx6ulsbc.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2018-07-26 17:07:54 +02:00
Gabriel Valcazar 66e7d7cf15 imx-gpu-viv: change license checksum for aarch64 version of the package
The newer version used for the ccimx8x has a different license, so its checksum
must be changed.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2018-07-24 19:06: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
Gabriel Valcazar bcd65427a1 ccimx6/6qp: imx-gst1.0-plugin: add missing symbol to fix compilation
This package depends on libg2d, and the latest version of this library's
sources for imx6 platforms are currently unavailable. Among other things, the
newer sources add a symbol needed by imx-gst1.0-plugin to compile, so this
patch manually adds the symbol as a macro in the package's source code.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2018-07-20 18:43:08 +02:00
Gabriel Valcazar f646bc9ddb imx-gpu-viv: update aarch64 recipe to 6.2.4.p1.6
The aarch32 recipe will remain the same for now, since the newer sources aren't
yet available in NXP's mirrors.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2018-07-20 17:29:49 +02:00
Gabriel Valcazar 51c4800f04 imx-dpu-g2d: update to version 1.4.6
This is the version used by NXP in the rocko-4.9.88-2.2.0_8qxp_beta2 branch of
their meta-fsl-bsp-release layer.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2018-07-19 12:48:45 +02:00
Gabriel Valcazar 37c8d29017 libdrm: modify recipe to match the one used by NXP
The most important change here is the package's revision.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2018-07-19 12:48:32 +02:00
Gabriel Valcazar df7f4becee imx-parser: update to version 4.4.0
This is the version used by NXP in the rocko-4.9.88-2.2.0_8qxp_beta2 branch of
their meta-fsl-bsp-release layer.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2018-07-19 12:48:27 +02:00
Gabriel Valcazar 178bb41446 imx-codec: update to version 4.4.0
This is the version used by NXP in the rocko-4.9.88-2.2.0_8qxp_beta2 branch of
their meta-fsl-bsp-release layer.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2018-07-19 12:48:22 +02:00
Gabriel Valcazar 8fc5defdf7 gstreamer: update recipes to version 1.14
This is the version used by NXP in the rocko-4.9.88-2.2.0_8qxp_beta2 branch of
their meta-fsl-bsp-release layer.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2018-07-19 12:47:25 +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
Gabriel Valcazar dce71c9348 ccimx8x: prohibit dey-image-qt from building when trustfence is enabled
The message log level is "fatal" so the compilation ends as soon as possible.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2018-07-06 13:46:23 +02:00
Gabriel Valcazar f321da6a2c trustfence-tool: modify source name to include target CPU architecture
We now have different tarballs for each CPU architecture we compile for. Also,
add support for the aarch64 tarball.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2018-07-06 13:46:23 +02:00
Gabriel Valcazar 13d9d941cc libdigiapix: add board.conf file for the ccimx8x-sbc-express
The PWM and ADC values are still to be determined, since their SOM support is
currently unavailable.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2018-07-05 18:58:00 +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
Gabriel Valcazar af1463179a openssl: add cryptouthlib patches to the ccimx8x
https://jira.digi.com/browse/DEL-6042

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2018-06-26 18:33:54 +02:00
Gabriel Valcazar 96b5420f29 modemmanager: add XBee Cellular rule for the ccimx8x-sbc-express
https://jira.digi.com/browse/DEL-6042

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2018-06-26 18:33:54 +02:00
Gabriel Valcazar 8ea4e7ec6b wpa_supplicant: add default configuration files for the ccimx8x
https://jira.digi.com/browse/DEL-6042

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2018-06-26 18:33:54 +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