Commit Graph

1036 Commits

Author SHA1 Message Date
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
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