Commit Graph

1303 Commits

Author SHA1 Message Date
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 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 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 d430cc3bab recovery-initramfs: generalize recipe to avoid redefinitions
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-01-10 13:36:21 +01:00
Arturo Buzarra 16933ff6b2 mca-tool: add support for ccimx8mn platform
https://jira.digi.com/browse/DEL-6911

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-01-10 13:36:21 +01:00
Arturo Buzarra 12a6db421c alsa-state: add support for ccimx8mn platform
https://jira.digi.com/browse/DEL-6911

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-01-10 13:21:27 +01:00
Arturo Buzarra 6d23ee1fe7 hostapd: generalize recipe to reduce the overhead when adding a new platform
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-01-10 13:21:27 +01:00
Arturo Buzarra fce4f44e68 kernel-module-qualcomm: add support for ccimx8mn platform
https://jira.digi.com/browse/DEL-6806

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-01-10 12:09:25 +01:00
Arturo Buzarra 88706035c0 firmware-qualcomm: add support to ccimx8mn platform
Add initial support cloned from ccimx6ul (QCA6564).

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-01-10 12:00:51 +01:00
Arturo Buzarra f81982571c bluez5: unify config file for all platforms
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-01-10 11:51:58 +01:00
Arturo Buzarra 017c2d0964 wpa_supplicant: unify config file for all platforms
WPA and P2P configuration files are basically the same between all
platforms, so we remove all duplicated files to use a common file
and modify it in the recipe logic.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-01-10 11:48:11 +01:00
Arturo Buzarra d53a6adb43 linux: add support for ccimx8mn platform
https://jira.digi.com/browse/DEL-6806

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-01-10 11:41:09 +01:00
Arturo Buzarra b90c05c336 cryptoauthlib: add support for ccimx8mn platform
https://jira.digi.com/browse/DEL-6806

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-01-10 11:41:09 +01:00
Arturo Buzarra 9ce3f4730f u-boot-fw-utils: add support for ConnectCore 8M Nano DVK platform
https://jira.digi.com/browse/DEL-6806

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-01-10 11:39:03 +01:00
Arturo Buzarra 6130059988 uboot: add support to ConnectCore 8M Nano DVK platform
Add initial support cloned from ccimx8x-sbc-pro.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-01-10 11:39:03 +01:00
Arturo Buzarra 580317486e meta-digi-arm: add support for ConnectCore 8M Nano DVK platform
https://jira.digi.com/browse/DEL-6806

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-01-10 11:31:27 +01:00
Gabriel Valcazar a114391ae9 Use https instead of ftp when accessing the Digi support folders
Update the README as well to reflect this change, since the ftp protocol might
be blocked in some corporate networks.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-12-19 16:55:26 +01:00
Gonzalo Ruiz 0692252b88 qualcomm.sh: remount filesystem as 'rw' to create symlinks
Also remount the root filesystem as 'rw' when the symlinks need to be
updated.

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

Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2019-12-13 10:45:19 +01:00
Gonzalo Ruiz b242ee1a93 qualcomm.sh: get mount point to remount from /proc/mounts
Obtain the mount point of the filesystem to remount as 'read-write' from
/proc/mounts to avoid issues related to df output wrapping on a second line
when the device filesystem name is too long.

When the script finishes, remount the filesystem as 'read-only' if that was
the original access permission.

https://jira.digi.com/browse/DEL-6760
https://jira.digi.com/browse/DEL-5854

Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2019-12-13 10:45:19 +01:00
Francisco Gil 8210d73d34 digi-sc-firmware: update to v1.2.5.1
This adds power management optimizations for the SCU

Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
2019-11-25 18:23:37 +01:00
Gonzalo Ruiz d2e6b5c1b7 firmware_qualcomm: update US Board Data File
Update file:

- fakeboar_US.bin (f74a835871d9c12f116312ff54927b39)

This file was generated by calibrating 10 CC8X SOMs (version 0x4) and merging
their resulting BDF files into a Golden file. Target powers table is also
updated to improve performance on 2.4GHz band.

Reference calibration file is:

- bdwlan30.bin (8a558fa38dacee7038f04c1b10ec69a5)

located at 'cnss_proc/wlan/fw/target/pcie_dst/qc6174/' from tag r10007.1 on
qca6574au-le-2-2-1_qca_oem repo.

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

Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
(cherry picked from commit a332ff445f)
2019-11-18 16:40:54 +01:00
Gonzalo Ruiz a332ff445f firmware_qualcomm: update US Board Data File
Update file:

- fakeboar_US.bin (f74a835871d9c12f116312ff54927b39)

This file was generated by calibrating 10 CC8X SOMs (version 0x4) and merging
their resulting BDF files into a Golden file. Target powers table is also
updated to improve performance on 2.4GHz band.

Reference calibration file is:

- bdwlan30.bin (8a558fa38dacee7038f04c1b10ec69a5)

located at 'cnss_proc/wlan/fw/target/pcie_dst/qc6174/' from tag r10007.1 on
qca6574au-le-2-2-1_qca_oem repo.

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

Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2019-11-15 09:32:41 +01:00
Gabriel Valcazar 3e8321b63c cryptoauthlib: add cryptoauthlib-test package
This adds the same example application that was used for the old version of the
library, but it has been separated into a proper package this time.

Recommend said package when installing the library.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-11-12 16:22:03 +01:00
Gabriel Valcazar 3fc4ae7218 cryptoauthlib: update to 30/7/2019 pkcs11 release
This version is based on the 20190517 master release, with the addition of
pkcs11 provisioning support.

The source code now has cmake files, so we don't need as many code
customizations as we used to. Revamp the recipe and its patches.

https://jira.digi.com/browse/DEL-6826
https://jira.digi.com/browse/DEL-6835

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-11-12 16:22:03 +01:00
Arturo Buzarra ca9e743af8 imx-seco: add recipe to sync with meta-fsl-bsp-release branch sumo-4.14.98-2.2.0
This imx-seco recipe manages now the NXP IMX SECO firmware, it was removed
from the firmware-imx recipe.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-10-30 16:50:18 +01:00
Arturo Buzarra 99cfd06c9d firmware-imx: sync with meta-fsl-bsp-release branch sumo-4.14.98-2.2.0
Update to v8.4.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-10-30 08:20:47 +01:00
Hector Bujanda 9c7c5e5bfb mca_tool: update checksums for build 1.19
This new version improves mca_fw_update algorithms.

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

Signed-off-by: Hector Bujanda <hector.bujanda@digi.com>
2019-10-17 11:34:13 +02:00
Gonzalo Ruiz 9c392c5b7c firmware-qualcomm: rename BDF to 'fakeboar_US.bin'
Rename board data file loaded on qca6574 wireless chips to 'fakeboar_US.bin'.
A symlink named 'fakeboar.bin' will be created by 'qualcomm.sh' selecting
either this file or the WorlWide variant: 'fakeboar_World.bin'.

- fakeboard_US.bin (e1db4a300b58776f8abd8588beadc09e)

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

Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2019-10-10 16:15:22 +02:00
Gonzalo Ruiz 224c4fc418 qualcomm.sh: generalize to select correct board data file
Generalize script to select the correct board data file to load into the
wireless chip depending on the Regulatory Domain configuration whether it
is a variation of 'bdwlan30.bin' or 'fakeboar.bin'.

If 'bdwlan30_US.bin' or 'bdwlan30_World.bin' files are found in the firmware
directory, the script will create two symlinks, 'bdwlan30.bin and 'utfbd30.bin',
pointing to either one of those files.

If no 'bdwlan30_*.bin' files are found, but 'fakeboar_US.bin' or
'fakeboar_World.bin' is, it will create a single symlink, 'fakeboar.bin',
pointing to either one of those files. In the case a QCA6574 community driver
is loaded, 'board.bin' symlink will be updated.

If no 'fakeboard_*.bin' files are found either, the script will exit.

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

Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2019-10-10 16:15:12 +02:00
Arturo Buzarra ce4be46458 Merge tag 'dey-2.6-r2.2' into dey-2.6/master
Digi Embedded Yocto 2.6-r2.2

Manually changed recipes to use the master branches instead of the fixed SHA1
from the last release.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-10-10 16:02:07 +02:00
Gonzalo Ruiz d95a05f5fc firmware-qualcomm: rename BDF to 'fakeboar_US.bin'
Rename board data file loaded on qca6574 wireless chips to 'fakeboar_US.bin'.
A symlink named 'fakeboar.bin' will be created by 'qualcomm.sh' selecting
either this file or the WorlWide variant: 'fakeboar_World.bin'.

- fakeboard_US.bin (e1db4a300b58776f8abd8588beadc09e)

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

Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2019-10-03 17:37:22 +02:00
Gonzalo Ruiz 440c3a953a qualcomm.sh: generalize to select correct board data file
Generalize script to select the correct board data file to load into the
wireless chip depending on the Regulatory Domain configuration whether it
is a variation of 'bdwlan30.bin' or 'fakeboar.bin'.

If 'bdwlan30_US.bin' or 'bdwlan30_World.bin' files are found in the firmware
directory, the script will create two symlinks, 'bdwlan30.bin and 'utfbd30.bin',
pointing to either one of those files.

If no 'bdwlan30_*.bin' files are found, but 'fakeboar_US.bin' or
'fakeboar_World.bin' is, it will create a single symlink, 'fakeboar.bin',
pointing to either one of those files. In the case a QCA6574 community driver
is loaded, 'board.bin' symlink will be updated.

If no 'fakeboard_*.bin' files are found either, the script will exit.

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

Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2019-10-02 17:32:04 +02:00
Hector Palacios c34dcb2c74 meta-digi: revert revisions to AUTOREV
This reverts commit 750c18b99590430d7a12fe78db1c0c21942eb60c.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2019-09-26 18:16:54 +02:00
Hector Palacios 3affba5848 meta-digi: update revisions for dey-2.6-r2.2
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2019-09-26 18:15:46 +02:00
Gonzalo Ruiz bc4d8a3f19 firmware_qualcomm: update US Board Data File calibration data
Update file:

- fakeboar.bin (e1db4a300b58776f8abd8588beadc09e)

This file was generated by calibrating several CC8X SOMs and SBCs and
merging their resulting BDF files into a Golden file.

Reference calibration file is:

- bdwlan30.bin (8a558fa38dacee7038f04c1b10ec69a5)

located at 'cnss_proc/wlan/fw/target/pcie_dst/qc6174/' from tag r10007.1 on
qca6574au-le-2-2-1_qca_oem repo.

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

Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2019-09-26 15:37:11 +02:00
Gabriel Valcazar df4c307213 mca-tool: update to v1.18
Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-09-20 16:30:45 +02:00
Hector Palacios 359ade52ac udev-extraconf: mount.sh with skip of already-mounted partitions
Default poky's version of the 'mount.sh' script doesn't account
for the possibility of udev calling twice the script for the 'add'
action. This has been observed on USB sticks connected to a USB hub
and, although the script eventually fails, for already mounted
partitions, in that case the script tries to remove the created
mountpoint, when it shouldn't.

This patch checks for already mounted partitions earlier (before
creating the mount point) and returns with no actions.

The patch that it adds (with respect to poky's thud default) is
the following:

  diff --git a/meta/recipes-core/udev/udev-extraconf/mount.sh b/meta/recipes-core/udev/udev-extraconf/mount.sh
  index 3ee67b13183a..e6882a69c223 100644
  --- a/meta/recipes-core/udev/udev-extraconf/mount.sh
  +++ b/meta/recipes-core/udev/udev-extraconf/mount.sh
  @@ -38,6 +38,12 @@ done
   automount_systemd() {
       name="`basename "$DEVNAME"`"

  +    # Skip already mounted partitions
  +    if [ -f /run/systemd/transient/run-media-$name.mount ]; then
  +        logger "mount.sh/automount" "/run/media/$name already mounted"
  +        return
  +    fi
  +
       # Skip the partition which are already in /etc/fstab
       grep "^[[:space:]]*$DEVNAME" /etc/fstab && return
       for n in LABEL PARTLABEL UUID PARTUUID; do

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

https://jira.digi.com/browse/DEL-6759
2019-09-18 09:13:41 +02:00
Hector Palacios 3e5c2eb1bf meta-digi: revert revisions to AUTOREV
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2019-09-13 18:36:20 +02:00
Hector Palacios 3b2f226b60 meta-digi: update revisions for dey-2.6-r2.1
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2019-09-13 18:35:13 +02:00
Gonzalo Ruiz 9f617cd426 firmware_qualcomm: update US Board Data File with a calibrated one
Update file:

- fakeboar.bin (3e558869e3943da08899abd881455bc6)

This file was generated by calibrating several CC8X SOMs and merging
their resulting BDF files.

Reference calibration file is:

- bdwlan30.bin (8a558fa38dacee7038f04c1b10ec69a5)

located at 'cnss_proc/wlan/fw/target/pcie_dst/qc6174/' from tag r10007.1 on
qca6574au-le-2-2-1_qca_oem repo.

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

Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2019-09-13 16:58:02 +02:00
Hector Palacios 435e085690 udev-extraconf: update mount scripts to support systemd
The current scripts used the standard mount binary at /bin/mount
for mounting the partitions. Systemd however seems to have a monitor
that eventually umounts such partitions if not mounted by systemd's
specific command 'systemd-mount`.

For platforms using systemd, we need to use this binary together with
parameter --no-block so that partitions are mounted correctly during
the boot process.

This commit merges the two scripts for Digi-handled partitions into
just one:

	mount_bootparts.sh
                          \
                           +--> mount_digiparts.sh
                          /
        mount_partition.sh

The merged script:
 - checks if running with systemd, to use its binary.
 - checks if running with busybox, to not use the unsupported '-o'
   attribute.
 - checks if mounting the 'linux' partition, to mount it read-only.
 - checks for already-attached UBI devices, to avoid re-attaching.

This commit also combines the Digi-handled partitions (linux, update)
into the same udev rule, to simplify it, and breaks the rules lines
for readability.

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

https://jira.digi.com/browse/DEL-6744
2019-09-13 10:54:58 +02:00
Gabriel Valcazar 74b59a3af7 Revert "imx-boot: move m4 demos artifacts to BOOT_TOOLS directory"
The imx-boot recipe expects the m4 demos to be in the root of the deploy
directory when building the package.

This reverts commit a0d01e1cf6.

https://jira.digi.com/browse/DEL-6731
2019-09-04 13:24:49 +02:00
Gabriel Valcazar a38a5b75f3 digi-sc-firmware: update to v1.2.5
Update the source checksums and the license md5sum.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-09-04 13:21:33 +02:00
Hector Palacios 5453acf56f imx-boot: update branch and SRCREV to latest NXP BSP
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2019-09-03 18:41:29 +02:00
Hector Palacios e09c58f85b Merge branch 'dey-2.6/master' into dey-2.6/maint
Signed-off-by: Hector Palacios <hector.palacios@digi.com>

https://jira.digi.com/browse/DEL-6640
2019-09-03 13:17:56 +02:00
Hector Palacios ee4d39014b firmware-qualcomm: move qca6564 fw files into subfolder
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2019-09-03 08:19:57 +02:00
Hector Palacios c586b05bd2 kernel-module-qualcomm: fix printing of error message
Error message was being printed upon successful copy of the
MAC addresses file, instead of upon failure.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2019-09-03 08:19:57 +02:00
Hector Palacios 0152a70773 firmware-qualcomm: update qca65x4 proprietary fw to r10007.1
Latest release r10007.1 updates the following files from qca6574au-le-2-2-1_qca_oem
repo at meta_build/firmware/pcie/:

 - qwlan30.bin  -> qwlan30.bin  (60ac4486fba393294b590f86117f5539)
 - utf30.bin    -> utf.bin      (c15794509d8a8435d4244fea699d99b3)

and the following files from meta_build/firmware/sdio/:

 - qwlan30.bin  -> qwlan30.bin  (4421b30ca259ab73bbfa79df807e0b47)
 - utf30.bin    -> utf30.bin    (b2651762aa1d620349593905efab326b)

Update Bluetooth firmware from qca6574au-le-2-2-1_qca_oem repo at
cnss_proc_1/btfm_proc/bt/wcss/bsp/rom/build/SCAQBAF/Test_Files/Linux/

 - rampatch_tlv_3.2.tlv	-> rampatch_tlv_3.2.tlv (72d28614afd0abe5846c1758099282e3)
 - nvm_tlv_3.2.bin	-> nvm_tlv_3.2.bin (3de46ea023570b86cabb9502b92a1fed)

	Note: nvm_tlv_3.2.bin based on original md5sum
	      a97cdfe80e8109cf3574f74cd3c73fc7 but changed byte at
	      offset 0x36 from 0x82 to 0x02 (IBS).

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

https://jira.digi.com/browse/DEL-6725
2019-09-03 08:19:57 +02:00
Gabriel Valcazar f4d41d2c19 imx-vpu: sync with meta-fsl-bsp-release branch sumo-4.14.98-2.1.0
Remove our .bbappend, which was wrongly making this recipe compatible with the
imx8. Directly port NXP's recipe (v5.4.39), which is newer than the one in
meta-freescale (v5.4.38).

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-09-02 09:43:15 +02:00
Gabriel Valcazar 511d4c8cf3 imx-mkimage: sync with meta-fsl-bsp-release branch sumo-4.14.98-2.1.0
Update revision to the imx_4.14.98_2.1.0 branch.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-09-02 09:43:15 +02:00
Gabriel Valcazar 7d87909237 imx-atf: sync with meta-fsl-bsp-release branch sumo-4.14.98-2.1.0
Update revision to the imx_4.14.98_2.1.0 branch.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-09-02 09:43:15 +02:00
Gabriel Valcazar 3e19b7597e firmware-imx: sync with meta-fsl-bsp-release branch sumo-4.14.98-2.1.0
Update to v8.3.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-09-02 09:43:15 +02:00
Gabriel Valcazar 202c54e32c digi-sc-firmware: sync with meta-fsl-bsp-release branch sumo-4.14.98-2.1.0
Change the license type from "MIT" to "Proprietary". This change was taken
from the imx-sc-firmware recipe.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-09-02 09:43:15 +02:00
Gabriel Valcazar 0a6941f681 fsl-eula-unpack: sync with meta-fsl-bsp-release branch sumo-4.14.98-2.1.0
Change the license checksum.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-09-02 09:43:15 +02:00
Gonzalo Ruiz a0d01e1cf6 imx-boot: move m4 demos artifacts to BOOT_TOOLS directory
Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2019-08-30 18:06:13 +02:00
Gonzalo Ruiz 9c065b39c2 u-boot-dey: move symlinks to imx-boot-folder
Move symlinks to u-boot artifacts created on u-boot.inc to
imx-boot-tools folder.

Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2019-08-30 18:06:13 +02:00
Gabriel Valcazar 9047e00bf1 Use https protocol instead of git protocol when fetching from github
Otherwise, users that are behind corporate firewalls might not be able to
obtain the package sources.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-08-26 15:52:53 +02:00
Hector Palacios fd3f3ba413 uboot: update scripts to consider 'soc_type' var starts with "imx"
The 'soc_type' variable was already set by fastboot to "imx8qxp"
so the U-Boot board code that was setting this to just "8qxp" has
been changed to set it to "imx8qxp".

Update the scripts accordingly.

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

https://jira.digi.com/browse/DUB-901
2019-08-21 11:03:25 +02:00
Jose Diaz de Grenu 797f9dc357 qualcomm.sh: remount as writteable if '/' is ro
On some scenarios, like when booting from NFS, the root filesystem is not
writteable. When this happens the qualcomm.sh is not able to write the MAC
file which so the wireless driver fails to load.

The arguments that U-Boot uses when booting from NFS using dboot result in
the root filesystem being mounted as read-only, but at some point it is
remounted as read/write. This happens after trying to load the wireless
driver, though.

Currently this is the only scenario in which we can reproduce the problem,
and there are several other processes in DEY that require a writeable root
filesystem (wireless SSID editing, Dropbear SSH key-gen and u-boot-fw-utils)
so remount the rootfs as writteable as a workaround.

While on it improve the script a bit to notify on error trying to create
this file, just in case this happens in other scenarios.

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

Signed-off-by: Jose Diaz de Grenu <Jose.DiazdeGrenu@digi.com>
2019-08-14 16:49:21 +02:00
Jose Diaz de Grenu 1e5cd9685c linux-virtualization: enable only required symbols
All the dependencies of the required symbols are also added.

These are easier to mantain and enable the minimum support. If extra
features are required they shuold be explicitly added.

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

Signed-off-by: Jose Diaz de Grenu <Jose.DiazdeGrenu@digi.com>
2019-07-29 11:24:33 +02:00
Arturo Buzarra f0024862cd u-boot: ccimx8x: fix comparison of the 'if' clause in the install_fw script
This commit fixes two issues:
- Comparison clause uses only one equal sign
- Fix soc_type for Dual variants because the supported soc types
  for the imx8 processor are: 8qm, 8qxp, and 8dx

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-07-24 16:31:23 +02:00
Gabriel Valcazar 03d40edfd0 imx-boot: add patch to fix imx-boot images with M4 demos
These images were broken in many ways, including ethernet not working and Linux
not booting. For now, revert back to the build command that was used in
DEY-2.6-r1.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-07-24 09:37:26 +02:00
Jose Diaz de Grenu a1e25003ec linux-dey: add docker kernel configuration support
When using virtualization, ammend the kernel configuration so that docker
is supported.

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

Signed-off-by: Jose Diaz de Grenu <Jose.DiazdeGrenu@digi.com>
2019-07-23 09:43:18 +02:00
Arturo Buzarra 1d68514a50 packagegroup-dey-core: add pciutils package for platforms that support PCI
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-07-16 16:38:28 +02:00
Alex Gonzalez 471d8ad583 meta-digi-arm: ccimx6ul: Remove wifi machine feature for mainline bsp use.
The meta-freescale-3rdparty layer used for the mainline bsp support does
not support the WiFi interface on thud. WiFi is currently merged on master
so it will probably be available on Zeus (2.8).

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2019-07-12 18:12:24 +02:00
Hector Palacios 6eb3bd001c ccimx8x: change bootable artifacts filenames on U-Boot install script
After the recent changes to generate the bootable artifacts, these are
now formed using the ${MACHINE} variable rather than the string in
${UBOOT_CONFIG} array, so the underscores must be changed with dashes.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2019-07-12 12:49:03 +02:00
Hector Palacios 65ec66b659 dey-image-installer: loop on new BOOTABLE_ARTIFACTS variable
The artifacts that must go inside the installer ZIP image are not anymore
the ones in UBOOT_CONFIG. For CC8X, the artifacts are combinations of
UBOOT_CONFIG and RAM_CONFIGS.

This commit adds a function 'get_bootable_artifacts()' to boot-artifacts class
to generate a new variable BOOTABLE_ARTIFACTS with the list of bootable
artifacts DEY produces.

The installer recipe can then simply iterate on that list, rather than
needing to calculate it by itself.

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

https://jira.digi.com/browse/DEL-6641
2019-07-12 12:49:03 +02:00
Hector Palacios 7d61198cc8 imx-boot: iterate on matching RAM sizes in do_install/do_append
The existing loops were iterating through all RAM_CONFIGS, but
they must only iterate over those that match the RAM size on the
platform's UBOOT_CONFIG.

This commit adds a Python class 'boot-artifacts' to get the list of matching
combinations of RAM_CONFIGS and UBOOT_CONFIG so that the iteration
is easier to do than nesting loops inside one another.

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

https://jira.digi.com/browse/DEL-6641
2019-07-12 12:33:18 +02:00
Hector Palacios 00ac4445bc imx-boot: avoid renaming files during internal copy stages
Temporary files were being renamed for no good reason.
Remove renamings to simplify recipe.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2019-07-12 11:04:47 +02:00
Hector Palacios 3263fda892 imx-boot: use new UBOOT_PREFIX variable instead of creating one
The recipe was creating a variable with the value of another one from
the main recipe, just to refer to the bootable artifact prefix.
We can now use instead the new UBOOT_PREFIX variable.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2019-07-12 11:04:47 +02:00
Hector Palacios e50f6c3e91 u-boot: fix the use of boot image recipe and prefix
A variable called IMAGE_BOOTLOADER was being used without distinction for
referring to two different things:
 - the recipe that builds the bootable artifacts
 - the prefix of those artifacts

The value of this is "u-boot" for most platforms, but "imx-boot" for the
CC8X based platforms.

The name of the variable is misleading, so this commit splits it into two:
 - BOOTLOADER_IMAGE_RECIPE, to refer to the recipe
 - UBOOT_PREFIX, to refer to the prefix of the bootable artifact

With the separation, the variable UBOOT_SYMLINK becomes a generic formed
one, so it is moved to digi-defaults.inc.

While on it, fix the image_types_digi.bbclass which was not making use of
the original variable to establish all the dependencies.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2019-07-12 11:04:47 +02:00
Hector Palacios 7d64118a94 u-boot: fix wrongly finished 'if' clause on install_fw script
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2019-07-12 11:04:47 +02:00
Hector Palacios c4bea6edd8 imx-boot: create symlink to default bootable U-Boot artifact
Similar to the way the u-boot recipe does, create a symlink to the default
bootable artifact.
Since they are overwritten on every loop, this requires that the default
RAM configuration is set the last on the list of RAM_CONFIGS (same
convention than the one used on UBOOT_CONFIGS).

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

https://jira.digi.com/browse/DEL-6641
2019-07-09 11:21:58 +02:00
Hector Palacios 5a311a7e4a imx-boot: re-add machine name to boot filenames
With the rework to support variants, the machine name (actually the
UBOOT_CONFIG) was removed from the filename. Re-add it using
${MACHINE_NAME} which is more appropriate than the ${UBOOT_CONFIG} which
contains the RAM size (now present in ${ramc}).

While on it, remove one of the two symlinks on DEPLOYDIR. Only one makes
sense.

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

https://jira.digi.com/browse/DEL-6641
2019-07-09 11:21:58 +02:00
Mike Engel 3c39395a66 meta-digi-arm: add Trustfence boot script for MX8X platform.
Signed-off-by: Mike Engel <Mike.Engel@digi.com>

https://jira.digi.com/browse/DEL-6652
2019-07-08 17:41:01 +02:00
Hector Palacios 852cf8a570 u-boot-dey: update install scripts to handle variants
Now the U-Boot binaries contain the RAM frequency and bus width, not just
only the RAM size.

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

https://jira.digi.com/browse/DEL-6641
2019-07-08 16:42:28 +02:00
Hector Palacios 23503567a1 imx-boot: build matching combinations of U-Boot and SCFW
There are several U-Boot binaries, depending on RAM size, at the moment:
- u-boot.bin-ccimx8x_sbc_pro512MB
- u-boot.bin-ccimx8x_sbc_pro1GB
- u-boot.bin-ccimx8x_sbc_pro2GB

and several SCFW files, depending on frequency, size, bus width, at the
moment:
- scfw_tcm.bin-1.2GHz_512B_16bit
- scfw_tcm.bin-1.2GHz_1GB_16bit
- scfw_tcm.bin-1.2GHz_1GB_32bit
- scfw_tcm.bin-1.2GHz_2GB_32bit

From these, we need to combine those that match the RAM size, to produce
bootable images for the different variants.

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

https://jira.digi.com/browse/DEL-6641
2019-07-08 16:42:28 +02:00
Hector Palacios b8e2873c35 digi-sc-firmware: update to version 1.2.2.2
This version supports all RAM configurations.

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

https://jira.digi.com/browse/DEL-6641
2019-07-08 11:59:47 +02:00
Hector Palacios 82594d510a digi-sc-firmware: add support for all RAM memory configurations
RAM memory configurations are given by:
- RAM frequency
- RAM size
- RAM bus width

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

https://jira.digi.com/browse/DEL-6641
2019-07-08 11:58:42 +02:00
Hector Palacios 7508d58d4d ccimx8x: u-boot: fix SDRAM denomination on install_linux_fw script
The SDRAM is an LPDDR4, not DDR3.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2019-07-03 10:58:55 +02:00
Hector Palacios 964b8eff2c ccimx8x: u-boot: add support for variant 0x06 in U-Boot scripts
Signed-off-by: Hector Palacios <hector.palacios@digi.com>

https://jira.digi.com/browse/DEL-6641
2019-07-02 12:05:44 +02:00
Hector Palacios 4167ab1769 ccimx8x: u-boot: use 'soc_type' variable when determining device tree file
With the arrival of DualX variants, the device tree files have been renamed
to contain the SOC type (8qxp, or 8dx). This is determined by a new U-Boot
variable 'soc_type'.
Default to "8qxp" if the variable is not defined (old U-Boots).

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

https://jira.digi.com/browse/DEL-6641
2019-07-02 11:58:05 +02:00
Hector Palacios ddfbb2652a ccimx8x: add DualX variants device trees and rename the QuadXPlus
With the arrival of DualX variants, the devicetree files have changed
their names to include the soc type (qxp, dx).

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

https://jira.digi.com/browse/DEL-6641
2019-07-02 11:58:05 +02:00
Hector Palacios f48767f723 ccimx8x: add support for U-Boot variant with 512MB of LPDDR4
Signed-off-by: Hector Palacios <hector.palacios@digi.com>

https://jira.digi.com/browse/DEL-6641
2019-07-02 11:58:05 +02:00
Gabriel Valcazar b69dee06d8 digi-sc-firmware: update to v1.2.2.1
This includes minor changes in the SCFW's DCD.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-06-25 12:29:45 +02:00
Gabriel Valcazar 996ef8b30b mca_tool: update checksums for build 1.17
This new version adds RTC time compensation support.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-06-19 17:47:05 +02:00
Gabriel Valcazar d2688a89ec linux: use proper version numbers for platforms still using v4.9
Even though our ccimx6 and ccimx6qp images were using Linux v4.9 sources
correctly, they were using the same recipe as our images with Linux v4.14.
Technically, both recipes are identical (save for the branch name), but each
Linux version should have its own recipe.

Also, make sure that ccimx6/ccimx6qp images are built with our version of the
linux-imx-headers recipe instead of the one in meta-freescale.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-06-06 14:14:27 +02:00
Hector Palacios d60d5cc980 kernel-module-qualcomm: generalize for both qca6564 and qca6574 models
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2019-06-05 10:56:47 +02:00
Hector Palacios 80b8fc8be4 kernel-module-qualcomm: don't run if 'wireless' node missing on DT
We want to run the script if the 'wireless' node exits on the device tree.
This is to facilitate disabling of the wireless by removing that node.

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

https://jira.digi.com/browse/DEL-6616
2019-06-05 10:56:47 +02:00
Gabriel Valcazar 88eba082ef digi-sc-firmware: update to v1.2.2
Change the recipe name and update its checksums.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-05-28 15:35:35 +02:00