Commit Graph

1292 Commits

Author SHA1 Message Date
Hector Palacios 098707b92a uboot: add install_linux_fw_uuu.sh script for ccimx8mn
Signed-off-by: Hector Palacios <hector.palacios@digi.com>

https://jira.digi.com/browse/DEL-6845
2020-03-10 13:04:09 +01:00
Mike Engel e550d82c77 meta-digi-arm: uboot: Add firmware install script using fastboot support.
This commit adds a installation script that uses fastboot support to
update the target firmware.

Signed-off-by: Mike Engel <Mike.Engel@digi.com>

https://jira.digi.com/browse/DEL-6845
2020-03-10 10:38:59 +01:00
Hector Bujanda f14d79f5a6 xbee-init: script updated to use libgpiod tools
Additionally:
   - The handling of gpios has been swapped so 'Set low XBEE_SLEEP_RQ' is done
 before 'Power cycle XBEE_RESET_N' to assure the device doesn't enter sleep mode.
   - Removed ExecStop entry from systemd service since it's doing nothing.

https://jira.digi.com/browse/DEL-6424
https://jira.digi.com/browse/DEL-6423

Signed-off-by: Hector Bujanda <hector.bujanda@digi.com>
2020-03-09 12:50:22 +01:00
Mike Engel acf9d41388 meta-digi-arm: u-boot: Add CC6UL to v2019.04 u-boot.
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2020-03-03 12:17:07 +01:00
Mike Engel 4ce67dac48 Merge tag 'dey-2.6-r3.1' into dey-2.6/master
Digi Embedded Yocto 2.6-r3.1

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

Signed-off-by: Mike Engel <mike.engel@digi.com>
2020-02-20 12:02:26 +01:00
Arturo Buzarra 1830798025 meta-digi: update revisions for dey-2.6-r3.1
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-02-13 16:26:45 +01:00
Hector Palacios 5d063d6906 imx-boot: simplify copy of SRK_efuses.bin to DEPLOYDIR
There is no need to generate PV-PR revision of this file
since it's the same for any version.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2020-02-12 18:50:19 +01:00
Hector Palacios d21462302d trustfence-sign-tools: homogenize the sign script filename
The recipe needs to create a copy of the sign.sh script to be used by
other recipes, but the file is the same whether you use it for HAB or AHAB
images. This is determined through the use of an exported variable with
the mode. There is no need to have the script duplicated.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2020-02-12 18:50:19 +01:00
Hector Palacios b1776fcc63 trustfence-sign-kernel.sh: don't generate SRK_efuses for DEY sign script
The only script that needs to generate the SRK_efuses is the sign.sh
script in the U-Boot code. For the rest of signed non-bootable artifacts
this is not required and it was creating the SRK_efuses file on every
recipe where the script was called, like linux-dey and others, which
eventually resulted in a conflict when copying the artifacts to the shared
deploy-image-dir.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2020-02-12 18:50:19 +01:00
Hector Palacios b0ef3ea14f imx-mkimage: install mkimage_imx8 binaries to BOOT_TOOLS
This binary is required for signing the U-Boot scripts generated
by the U-Boot recipe but it wasn't available because this recipe
was not installing it anywhere.

At the same time, remove the installation from imx-boot, to avoid a
conflict between the two (imx-mkimage is a dependency from imx-boot
anyway).

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2020-02-12 18:50:19 +01:00
Hector Palacios 6c9341bd8a trustfence: disable environment encryption for CC8X
Environment encryption is not yet supported in U-Boot.
Unset TRUSTFENCE_ENCRYPT_ENVIRONMENT on the machine configuration
and remove the platform conditional on the class.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2020-02-12 18:50:19 +01:00
Mike Engel f103bc78af trustfence: Change u-boot to v2019.04
This commit changes the u-boot sources needed to create standalone
signing tools to 2019.04. This u-boot supports all Trustfence
platforms.

Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2020-02-12 18:50:19 +01:00
Mike Engel e648d9a142 trustfence: Add dependency to include imx-mkimage package.
This commit adds some dependencies to include the imx-mkimage package
that is needed to use the mkimage_imx8 tool.

Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2020-02-12 18:50:19 +01:00
Mike Engel 826ca9b63d trustfence: Export variables that are needed by sign tools.
This commit exports variables that are needed by the sign tools to
select the target HAB.

Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2020-02-12 18:50:19 +01:00
Hector Palacios 8320168821 trustfence: homogenize SIGN_MODE variables
* prefix TRUSTFENCE_ to variable SIGN_MODE for DEY
* prefix CONFIG_ to variable SIGN_MODE for script

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2020-02-12 18:50:19 +01:00
Arturo Buzarra bb36013e7a dey-image-installer: fix BOOTABLE_ARTIFACTS for ConnectCore 8M Nano platform
The bootable artifacts that must go inside the installer ZIP image, are defined
in the variable BOOTABLE_ARTIFACTS. For platforms without RAM_CONFIGS, these
artifacts are obtained from the UBOOT_CONFIG variable.

This commit fixes the final artifact name added to the BOOTABLE_ARTIFACTS that
for some platform is not strictly the same that the UBOOT_CONFIG name.
For example for the U-Boot configuration "ccimx8mn_dvk", corresponds the
bootable artifact "ccimx8mn-dvk"

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-02-10 14:22:52 +01:00
Arturo Buzarra 6b51679751 switch to building from maintenance branches for dey-2.6-r3
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-02-06 17:14:35 +01:00
Arturo Buzarra 8185f8e884 Merge branch 'dey-2.6/master' into dey-2.6/maint
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-02-06 17:14:17 +01:00
Mike Engel 1516bd03d0 image-type_digi.bbclass: Fix copy of initramfs when Trustfence is disabled.
This commit fixes the copy of the initramfs final image with the extension
*.tf when Trustfence is disabled. This was introduced by commit
5beec04b ("trustfence: Add Trustfence support for CCMX8X")

Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2020-02-05 16:45:34 +01:00
Mike Engel 7477196c9b image-types_digi.bbclass: fix imx-mkimage dependency with sign mode is AHAB
Commit 5beec04b ("trustfence: Add Trustfence support for CCMX8X") introduces
a dependency when the imx-mkimage recipe and the SIGN_MODE is equal to AHAB.
However this dependency should be added only when the TRUSTFENCE_SIGN is equal
to 1 and when the SIGN_MODE is equal to AHAB, not only when the SIGN_MODE is
equal to AHAB. This commit introduces this double check.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-02-05 16:31:37 +01:00
Arturo Buzarra 25c6daf9b1 meta-digi-arm: u-boot: Fix license checksum for different u-boot versions
Commit 31d8ff94 ("meta-digi-arm: u-boot: Update recipes with new u-boot version")
updates the license checksum for the new u-boot_2019.04 recipe, however this
license file is different for the other u-boot versions.
This commit reverts this change and includes the updated checksum only for the
new u-boot_2019.04 recipe.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-02-05 11:37:59 +01:00
Mike Engel 5beec04b6a trustfence: Add Trustfence support for CCMX8X
This commit adds Trustfence support for the CCMX8X
platform.

Signed-off-by: Mike Engel <Mike.Engel@digi.com>

https://jira.digi.com/browse/DEL-6917
2020-02-04 12:20:38 +01:00
Mike Engel 31d8ff94fe meta-digi-arm: u-boot: Update recipes with new u-boot version
This commit updates the recipes to use the new u-boot version.

Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2020-02-04 12:20:38 +01:00
Hector Palacios 92d658107f u-boot-dey: fix wrapped lines on install script
Wrapped lines must have a back-slash symbol so that U-Boot
doesn't interpret them as finished.
The missing symbol resulted in the script not being able to
determine the U-Boot image to program in some cases.

Reported-by: Leonid Makhnovskiy <leonid.makhnovskiy@digi.com>
Signed-off-by: Hector Palacios <hector.palacios@digi.com>

https://jira.digi.com/browse/DEL-6953
2020-01-27 17:49:29 +01:00
Gonzalo Ruiz a8b3a130b7 qualcomm.sh: remove regulatory domain support
Regulatory domain support will be added completely with the 'regulatory-addon'.

Also simplify symlink management now that BDF file has the same name for
every platform.

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

Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2020-01-27 16:00:21 +01:00
Javier Viguera 571e4a521b ccimx8x-sbc-express: add XBee TTY device
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2020-01-24 13:19:36 +01:00
Hector Bujanda c005b004ae ccimx8mn-dvk: fix SERIAL_CONSOLES to ttymxc0
The ccimx8mn console is on ttymxc0 (uart1 thanks to aliases).

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

Signed-off-by: Hector Bujanda <hector.bujanda@digi.com>
2020-01-23 15:04:21 +01:00
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
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
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
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 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 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 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