Commit Graph

2663 Commits

Author SHA1 Message Date
Hector Bujanda beff8e4adb mca-tool: update to v1.20
Includes:
   - add support for ccimx8mn.
   - add support to configure pwrio line

https://jira.digi.com/browse/DEL-6866
https://jira.digi.com/browse/CC6UL-1107

Signed-off-by: Hector Bujanda <hector.bujanda@digi.com>
2020-01-23 15:01:10 +01:00
Gonzalo Ruiz d9cb580976 firmware-qualcomm: remove reference to fakeboar_US.bin
This file does not longer exist. It has been replaced by bdwlan30_US.bin,
which is already included to the community driver option.

Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2020-01-22 16:52:11 +01:00
Gabriel Valcazar 30b0db051a ccimx8mn-dvk: add both XBee interfaces to the xbee-init script
Now that xbee-init supports multiple interfaces, add the XBee Cellular
GPIOs to the already existing XBee User ones to it so it can handle both
of them on the ccimx8mn DVK.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-01-22 12:48:55 +01:00
Gabriel Valcazar eb4ef72610 xbee: add support for multiple XBee interfaces
XBEE_RESET_N_GPIO and XBEE_SLEEP_RQ_GPIO can now be comma-separated lists of
GPIO indexes instead of just a single index. Modify the xbee-init script to
support this change and modify the sed script in xbee.bb to allow commas
in the aforementioned variables.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-01-22 12:48:55 +01:00
Gonzalo Ruiz e9108338f3 firmware_qualcomm: ccimx6ul: fix CH7 calibration
Update US Board Data File to fix a wrong calibration of channel 7 (2442 MHz).
The rest of the file remains the same.

The new BDF is:

- bdwlan30_US.bin (f6ec3328309aaa3e187295446966ab27)

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

Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2020-01-22 11:19:38 +01:00
Gabriel Valcazar 2fefbb0447 digi-sc-firmware: update to v1.3.0.1
Update the SCFW's DCDs with NXP's latest changes.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-01-20 14:44:40 +01:00
Gabriel Valcazar a239ac8600 modemmanager: blacklist SPI-to-CAN interface on the ccimx8mn
Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-01-20 14:34:43 +01:00
Arturo Buzarra f554820ce6 firmware_qualcomm: ccimx8mn: update US Board Data File calibration data
Update file:

- bdwlan30_US.bin (d5221377de1dde9ff442740e56fea647)

  This file was generated by calibrating several CC8MN DVKs and
  merging their resulting BDF files into a Golden file.

Reference calibration file is:

- bdwlan30_US.bin (a5635e39aaaa220094e0d07f7a4f4567)

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-01-20 11:24:40 +01:00
Francisco Gil b6e2a0b710 bluetooth: update binary files for the new driver
The new driver uses the same files for both platforms (6564,
6574). The specific platform binaries have been removed.

Now the modifications of the nvm_tlv_3.2 to disable the IBS
is done by the recipe.

The disable of the deep sleep and the enable of the internal
clock is done in the recipe only for the CC6UL.

We have used the files from the following repo:
qca6574au-le-2-2-2_qca_oem -> 4d29c6886f2Commit label r00005.1
- CS2.2 0.0.005.1

md5sum
------------------------------------------------------------
nvm_tlv_3.2.bin      -> a97cdfe80e8109cf3574f74cd3c73fc7
rampatch_tlv_3.2.tlv -> 72d28614afd0abe5846c1758099282e3

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

Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
2020-01-20 08:51:10 +01:00
Francisco Gil f1d994bdc2 qca: update wireless driver
Update the wireless driver to a newer version that supports both
chips (qca6574 and qca6564).

We keep the same bdwlan30_US.bin files as the previous version
of the driver (or fakeboard_US for the qca6474).

Rename directories to qca65X4_driver_interface.

We have used the files from the following repo:
qca6574au-le-2-2-2_qca_oem -> 4d29c6886f2Commit label r00005.1
- CS2.2 0.0.005.1

md5sum
----------------------------------------------------------
qca65X4_pcie:	otp30.bin   ->	9d1cf03473904bd8b97fa30bc92b4a16
		qwlan30.bin ->	794f7a6f12ef3e6f8db6257b3a6f896f
		utf30.bin   ->	41cfb4e50613cd0eeb0fa99a005131bd
qca65X4_sdio:   otp30.bin   ->	e018e7b629b055dc4616c7e88c615b41
		qwlan30.bin ->	fe37bc043132ecf21e504eb33f46b846
		utf30.bin   ->	4743dee015047752e433e69f4db89974

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

Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
2020-01-20 08:51:10 +01:00
Hector Bujanda c18a39ab55 dey-examples: adc_cmp_sample: Add support for CC8M
https://jira.digi.com/browse/DEL-6931

Signed-off-by: Hector Bujanda <hector.bujanda@digi.com>
2020-01-17 17:53:13 +01:00
Gabriel Valcazar 759fc05e09 weston-init: sync with meta-fsl-bsp-release branch sumo-4.14.98-2.3.0
Rework the weston-init recipe and add a BBMASK to ignore meta-freescale's
weston-init.bbappend file.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-01-17 15:12:28 +01:00
Gabriel Valcazar d9e523578d glm: update to v0.9.8.5
Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-01-17 09:56:43 +01:00
Gabriel Valcazar 5b8c6b283b recipes-graphics: remove recipes that are available in community layers
Some .bbappend files for clutter, cogl and mesa recipes are already available
in meta-freescale, so we can remove them from meta-digi. Also remove the
libinput recipe, since a much newer version of it exists in poky.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-01-17 09:56:43 +01:00
Gabriel Valcazar dd1ab58d84 imx-boot: update SRCREV and SRCBRANCH to sync with sumo-4.14.98-2.3.0
Although the recipe was updated with the modifications in meta-fsl-bsp-release,
the revision was still pointing to the sumo-4.14.98-2.2.0 version of
imx-mkimage, which is incompatible with our recently updated patch.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-01-17 09:45:06 +01:00
Gabriel Valcazar 2f1ee3f68f digi-sc-firmware: update to v1.3.0
Update to NXP's v1.3.0 porting kit and add power optimizations for suspend
mode.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-01-16 13:27:54 +01:00
Gabriel Valcazar 0765189c93 systemd: add firmware loading support
Userspace firmware loading support is required for the Linux imx-sdma driver.
The patches that accomplish this were originally in poky, but were removed in
the thud upgrade. Re-work the patches so they apply over systemd v239.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-01-16 13:27:54 +01:00
Gabriel Valcazar 3a674e3526 vulkan-demos: use poky sumo sources
Otherwise, examples such as skeletalanimation are broken.

Reported-by: Alfonso Martin Rey <alfonso.martinrey@digi.com>
Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-01-16 13:27:54 +01:00
Gabriel Valcazar 03d7d4db46 imx-m4-demos: sync with meta-fsl-bsp-release branch sumo-4.14.98-2.3.0
Update to v2.7.0

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-01-16 13:27:54 +01:00
Gabriel Valcazar 9a1a80311b gstreamer1.0-plugins-good-qt: sync with meta-fsl-bsp-release sumo-4.14.98-2.3.0
Update SRCBRANCH and SRCREV.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-01-16 13:27:54 +01:00
Gabriel Valcazar 58ad96c657 imx-parser: sync with meta-fsl-bsp-release branch sumo-4.14.98-2.3.0
Update to v4.5.2

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-01-16 13:27:54 +01:00
Gabriel Valcazar 45035fa29f imx-codec: sync with meta-fsl-bsp-release branch sumo-4.14.98-2.3.0
Update to v4.5.2

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-01-16 13:27:54 +01:00
Gabriel Valcazar b4695d419e gstreamer: sync with meta-fsl-bsp-release branch sumo-4.14.98-2.3.0
Update SRCBRANCH in most recipes and SRCREV for gstreamer1.0-plugins-good.
update imx-gst1.0-plugin to v4.5.2.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-01-16 13:27:54 +01:00
Gabriel Valcazar 7fd927035b imx-alsa-plugins: sync with meta-fsl-bsp-release branch sumo-4.14.98-2.3.0
Update SRCBRANCH.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-01-16 13:27:54 +01:00
Gabriel Valcazar 03ee66d038 weston: sync with meta-fsl-bsp-release branch sumo-4.14.98-2.3.0
Update SRCREV and add missing do_install() logic.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-01-16 13:27:54 +01:00
Gabriel Valcazar 2a9acc1031 imx-gpu: sync with meta-fsl-bsp-release branch sumo-4.14.98-2.3.0
Update to v6.2.4.p4.6.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-01-16 13:27:54 +01:00
Gabriel Valcazar 2f3420ee43 imx-dpu-g2d: sync with meta-fsl-bsp-release branch sumo-4.14.98-2.3.0
Update to v1.7.4.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-01-16 13:27:54 +01:00
Gabriel Valcazar a0b70c3ca9 imx-seco: sync with meta-fsl-bsp-release branch sumo-4.14.98-2.3.0
Update to v2.5.4 and add new recipe imx-seco-libs. For the time being, use the
B0 firmware for all i.MX8QXP platforms and leave C0 support in a comment.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-01-16 13:27:54 +01:00
Gabriel Valcazar 23e758eb22 imx-boot: sync with meta-fsl-bsp-release branch sumo-4.14.98-2.3.0
Update SRCREV and SRCBRANCH, change the names of the m4 demos that are
installed into imx-boot, change the name of the SECO firmware (ahab container)
and update our patch so it applies over the newest revision of imx-mkimage.
For the time being, use the B0 SECO firmware for all i.MX8QXP platforms and add
the changes needed for C0 support in comments.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-01-16 13:27:54 +01:00
Gabriel Valcazar 47131586c0 Revert "imx-atf: add patch to fix the ccimx8mn hanging on suspend/resume"
The patch is no longer needed as it was merged upstream.

This reverts commit b7b7d0110b.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-01-16 13:27:54 +01:00
Gabriel Valcazar c6c19be947 imx-atf: sync with meta-fsl-bsp-release branch sumo-4.14.98-2.3.0
Update SRCBRANCH and SRCREV.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-01-16 13:27:54 +01:00
Gabriel Valcazar 530d9c0e97 firmware-imx: sync with meta-fsl-bsp-release branch sumo-4.14.98-2.3.0
Update to v8.4.1.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-01-16 13:27:54 +01:00
Gabriel Valcazar acdcaf5a45 imx-digi-base: sync with meta-fsl-bsp-release branch sumo-4.14.98-2.3.0
Update the values of the MACHINE_SOCARCH_FILTER variable with the ones in
meta-fsl-bsp-release's imx-base.inc.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-01-16 13:27:54 +01:00
Gabriel Valcazar 44487faf6c fsl-eula-unpack: sync with meta-fsl-bsp-release branch sumo-4.14.98-2.3.0
Update the license file checksum

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-01-16 13:27:54 +01:00
Javier Viguera c959a88393 udev-extraconf: create /dev/ttyXBee symlink to XBee uart
https://jira.digi.com/browse/DEL-6903

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2020-01-15 18:05:48 +01:00
Gabriel Valcazar f276827fd8 gstreamer: sync with meta-fsl-bsp-release branch sumo-4.14.98-2.2.0
Update SRCBRANCH in most recipes and SRCREV for gstreamer1.0-plugins-good.
update imx-gst1.0-plugin to v4.5.0.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-01-10 17:19:12 +01:00
Hector Palacios 9f889c587f gstreamer: change machine override for plugins to 'imxgpu'
Some architectures like i.MX8M Nano don't have imxgpu2d but still need
some of the Gstreamer plugins.
For example, gstreamer1.0-plugins-bad-meta provides the xwayland sink which
would otherwise not be available for platforms without gpu2d.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2020-01-10 16:31:22 +01:00
Arturo Buzarra 400110aaf9 modemmanager: remove support to serial XBee cellular devices
Serial support to XBee cellular devices is deprecated since
the recommended communication protocol is USB, so we remove
the udev rules that supported these devices.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-01-10 13:45:54 +01:00
Gabriel Valcazar b7b7d0110b imx-atf: add patch to fix the ccimx8mn hanging on suspend/resume
The LPDDR4 retention code is executed as part of the suspend/resume process.
When resuming, this code writes to a register that doesn't exist on the
i.MX8MN, causing the system to freeze before control is returned to Linux.

Add a patch that introduces a compile-time check for the SoC type to avoid
performing the write operation on the i.MX8MN.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-01-10 13:37:39 +01:00
Arturo Buzarra cdd1ca5ce7 build.sh: show local.conf information on build time
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-01-10 13:37:39 +01:00
Arturo Buzarra 6974e3fd93 build.sh: move downloads folder outside of the projects
If we want to share the downloads folder between projects
we need to move it outside to don't remove it.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-01-10 13:37:39 +01:00
Gabriel Valcazar 28f07acf99 imx-gpu-viv-v6: remove kernel-module-imx-gpu-viv dependency
This dependency was originally removed in commit
eafa8684a3, but it was erroneously put back in
commit 793e901678 when updating the recipe using
the one in meta-fsl-bsp-release as reference.

Instead of removing the line containing the dependency, in order to avoid the
same situation from happening in the future,  comment it out and add an
explanation about why we're removing it.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-01-10 13:37:39 +01:00
Gabriel Valcazar 1fb65f0864 qtbase: apply imxgpu2d patches to imx8mn platforms as well
The .bbappend file in meta-freescale only applies these patches to platforms
with imxqpu2d, but they are necessary to build framebuffer images for the
ccimx8mn. Using the same approach as NXP in meta-fsl-bsp-release (applying the
patches to imxgpu platforms) duplicates the patches for platforms that are both
imxgpu and imxgpu2d, so append them for imx8mn platforms exclusively.

While at it, remove a patch that is no longer necessary, since the latest
versions of qtbase already have the patch's change in them.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-01-10 13:37:39 +01:00
Arturo Buzarra 41156ef05f imx-atf: Disable Cortex-M7 debug console
The Cortex-M7 uses the UART4 as debug console, and it is
shared with the Cortex-A53. This commit disables it for the
ConnectCore 8M Nano DVK board to avoid conflicts.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-01-10 13:37:39 +01:00
Arturo Buzarra 712fa3f96a imx-boot: add support to ConnectCore 8M Nano platform
https://jira.digi.com/browse/DEL-6911

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-01-10 13:37:39 +01:00
Arturo Buzarra 9da5aac063 firmware-imx: remove custom do_deploy support to use upstream version
For the i.MX8M processors, the do_deploy support is provided by
the upstream recipe firmware-imx-8m.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-01-10 13:37:39 +01:00
Arturo Buzarra 0f7195b359 imx-m4-demos: sync recipe with meta-fsl-bsp-release branch sumo-4.14.98-2.2.0
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-01-10 13:37:39 +01:00
Arturo Buzarra d394091a1b meta-digi-arm: ccimx8x: unify kernel defconfig for i.MX8 platforms
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-01-10 13:37:39 +01:00
Arturo Buzarra 8292628524 qtbase: Use upstreamed patches instead of custom NXP ones.
These patches were copied from meta-fsl-bsp-release layer,
but with the latest versions throws a compilation issue with the
ccimx8mn platform. However the upstreamed patches works fine.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-01-10 13:37:39 +01:00
Arturo Buzarra 3c5fd58866 trusfence-initramfs: generalize recipe to avoid redefinitions
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-01-10 13:37:39 +01:00