meta-digi-arm: Exclude u-boot-fw-utils if U-Boot environment encryption is

enabled

There is currently no support on fw_printenv/fw_setenv to access an
encrypted environment.

This commit removes the package if U-Boot environment encryption is
enabled to avoid environment corruption on access.

It also documents the issue as a known issue.

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

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
This commit is contained in:
Alex Gonzalez 2016-08-09 13:48:52 +02:00
parent 7727b4402e
commit b8f50680e5
4 changed files with 7 additions and 2 deletions

View File

@ -88,6 +88,9 @@ Documentation is available online on the Digi documentation site:
# Known Issues and Limitations
* When using the TrustFence (TM) U-Boot environment encryption, access to the
U-Boot environment from the Linux OS is not supported.
## Digi ConnectCore 6UL
## Digi ConnectCore 6UL Starter Kit

View File

@ -27,7 +27,7 @@ MACHINE_EXTRA_RDEPENDS += " \
e2fsprogs-mke2fs \
e2fsprogs-resize2fs \
parted \
u-boot-fw-utils \
${@base_conditional('TRUSTFENCE_ENCRYPT_ENVIRONMENT', '1', '', 'u-boot-fw-utils', d)} \
"
MACHINE_EXTRA_RRECOMMENDS += "${MACHINE_FIRMWARE} ${WIRELESS_MODULE}"
MACHINE_EXTRA_RRECOMMENDS += "fsl-alsa-plugins cryptodev-module rng-tools"

View File

@ -22,7 +22,7 @@ MACHINE_FIRMWARE ?= ""
MACHINE_EXTRA_RDEPENDS += " \
imx-kobs \
mtd-utils-ubifs \
u-boot-fw-utils \
${@base_conditional('TRUSTFENCE_ENCRYPT_ENVIRONMENT', '1', '', 'u-boot-fw-utils', d)} \
"
MACHINE_EXTRA_RRECOMMENDS += "${MACHINE_FIRMWARE} ${WIRELESS_MODULE}"
MACHINE_EXTRA_RRECOMMENDS += "fsl-alsa-plugins cryptodev-module"

View File

@ -55,3 +55,5 @@ RRECOMMENDS_${PN} = "\
${MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS} \
${MACHINE_EXTRA_RRECOMMENDS} \
"
do_package[vardeps] = "TRUSTFENCE_ENCRYPT_ENVIRONMENT"