Commit Graph

3377 Commits

Author SHA1 Message Date
Hector Bujanda 508b859472 recipes-graphics: imx-dpu-g2d: Update recipes to new BSP release imx_5.4.47_2.2.0
Signed-off-by: Hector Bujanda <Hector.Bujanda@digi.com>
2020-11-02 22:06:46 +01:00
Hector Bujanda adebdabac9 recipes-core: systemd-gpuconfig: Update recipes to new BSP release imx_5.4.47_2.2.0
Includes:
gpuconfig/rc_gpu.S: Update the lib names of libOpenVG [YOCIMX-4888]

    In imx-gpu-viv 6.4.3, the 2D/3D OpenVG lib names are changed:

      libOpenVG.2d.so – > libOpenVG.2d.so.1.1.0
      libOpenVG.3d.so – > libOpenVG.3d.so.1.1.0

Signed-off-by: Hector Bujanda <Hector.Bujanda@digi.com>
2020-11-02 22:06:27 +01:00
Hector Bujanda 6c554dd682 recipes-bsp: imx-vpu: Update recipes to new BSP release imx_5.4.47_2.2.0
Includes:
imx-vpu: Fix selected version for 6Q and 6DL [LF-1816]

    An older version of imx-vpu, from upstream, is being selected
    for the image instead of the current one. The problem is
    the override imxvpucnm used for the COMPATIBLE_MACHINE
    is no longer being used. Update the recipe to use SOC
    overrides instead.

    Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>

Signed-off-by: Hector Bujanda <Hector.Bujanda@digi.com>
2020-11-02 22:06:14 +01:00
Hector Bujanda dab847eee4 recipes-bsp: imx-seco: Update recipes to new BSP release imx_5.4.47_2.2.0
Includes:
imx-seco-libs: Switch branch to imx_5.4.47_2.2.0
multilib: imx-seco-libs: Fix LIBDIR
imx-seco.inc:  use c0 for 8dxl phantom with new c0 boards

Signed-off-by: Hector Bujanda <Hector.Bujanda@digi.com>
2020-11-02 22:05:55 +01:00
Hector Bujanda 125debb9c1 recipes-bsp: imx-mkimage: Update recipes to new BSP release imx_5.4.47_2.2.0
Includes:
imx-boot_1.0.bb: Update M4 binary name for i.MX 8QM [YOCIMX-4866]

    8QM M4 demos unified the binary name.
    Change name make it more easy for understanding.

imx-boot: Update the build option for iMX 8DXL Phantom C0 new boards [YOCIMX-4663]

Signed-off-by: Hector Bujanda <Hector.Bujanda@digi.com>
2020-11-02 22:05:39 +01:00
Hector Bujanda 7cb54315ee recipes-bsp: imx-aft: Update recipes to new BSP release imx_5.4.47_2.2.0
Includes:
imx-atf: Unify PLATFORM for i.MX 8DXL boards [YOCIMX-4852]

Signed-off-by: Hector Bujanda <Hector.Bujanda@digi.com>
2020-11-02 22:04:59 +01:00
Hector Bujanda a759099d53 recipes-bsp: firmware-imx: Update recipes to new BSP release imx_5.4.47_2.2.0
Includes:
firmware-imx: Drop BASH dependency [YOCIMX-4613]

Signed-off-by: Hector Bujanda <Hector.Bujanda@digi.com>
2020-11-02 22:04:32 +01:00
Hector Palacios b8a6fe6ea0 dey.conf: bump DEY version to -r3
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2020-10-29 12:29:48 +01:00
Hector Palacios 7eaa7670a7 change recipes to build from 'master' branches
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2020-10-29 12:29:48 +01:00
Hector Palacios b74a8cee54 u-boot: boot script: allow to disable Wi-Fi/BT overlays
Check a U-Boot env variable (disable_wifi/disable_bt) for easily
disabling Wi-Fi and/or Bluetooth overlays.

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

https://jira.digi.com/browse/DEL-7297
2020-10-29 09:56:55 +01:00
Hector Palacios 834e0c21f6 Merge branch 'dey-3.0/maint' into dey-3.0/master
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2020-10-26 11:03:18 +01:00
Hector Palacios 51319426f8 meta-digi: revert revisions to AUTOREV
This reverts commit 4dfdf2d435.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2020-10-23 13:09:52 +02:00
Hector Palacios 4dfdf2d435 meta-digi: update revisions for dey-3.0-r2.4
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2020-10-23 13:09:44 +02:00
Hector Palacios a64005482b meta-digi: revert revisions to AUTOREV
This reverts commit 3a299682aa.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2020-10-22 16:14:30 +02:00
Hector Palacios 3a299682aa meta-digi: update revisions for dey-3.0-r2.3
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2020-10-22 16:14:30 +02:00
Arturo Buzarra 496d8f8eda dey-image-installer: add release version to readme file in ZIP installer
This commit replaces the hardcoded text from the readme file by the environment
variables adding from this way the release version to the file content.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-10-22 13:33:45 +02:00
Gabriel Valcazar d7d8c7aa56 ccimx6qpsbc: add support for variants 0x02 and 0x03
Build the U-Boot for variants with 1GB of memory and make the installation and
boot scripts recognize all of the current variants.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-10-21 14:56:15 +02:00
Hector Palacios 5a8b929694 meta-digi: revert revisions to AUTOREV
This reverts commit e1129bc8e4.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2020-10-20 17:15:59 +02:00
Hector Palacios e1129bc8e4 meta-digi: update revisions for dey-3.0-r2.2
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2020-10-20 17:15:59 +02:00
Gabriel Valcazar e79e57d154 qtbase: set QT_QPA_EGLFS_INTEGRATION="eglfs_viv" on fb images
Otherwise, qt5 applications will fail to launch on the 8X and 6/6QP.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-10-20 12:38:58 +02:00
Gabriel Valcazar 441459b6d2 libdigiapix: change default PWM for the ccimx8x-sbc-pro
The indexes of the MCA PWM controllers are different in Linux v5.4, so the
default value used by libdigiapix results in an error. Reflect this change and,
while at it, replace the default PWM with an IO connected to a user LED to make
the example more visual.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-10-20 10:16:18 +02:00
Arturo Buzarra 3a5d193b09 u-boot: ccimx8x-sbc-express: sync installation sd card script
This commit added support to C0/B0 variants.

https://jira.digi.com/browse/DUB-974

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-10-19 17:12:51 +02:00
Arturo Buzarra 6e00349b0d u-boot: ccimx8x: fix default uboot name for 512MB variants with old-style HWID
https://jira.digi.com/browse/DUB-974

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-10-19 12:26:07 +02:00
Hector Palacios 0a0f376ea6 ARM64: dts: ccimx8mn: add overlay for DVK version < 3
Signed-off-by: Hector Palacios <hector.palacios@digi.com>

https://jira.digi.com/browse/DEL-7279
2020-10-19 10:53:53 +02:00
Hector Palacios 4668745523 ARM64: dts: ccimx8x: [cosmetic] alphabetize DT files
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2020-10-19 10:53:53 +02:00
Arturo Buzarra f6c2cec797 sysinfo: add 0x prefix to SEC_CONFIG_WORD to fix conditional expression
Commit c24d1d96 ("sysinfo: adapt script after removal of deprecated fsl_otp
driver") introduced a mistake masking the SEC_CONFIG[1] bit read from the OTP.
This commit fix the read command to force it in hex format and finally match
with the mask in the script.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-10-15 11:10:09 +02:00
Gabriel Valcazar 666c361df2 ccimx8x-sbc-pro: add overlay for SBC versions 3 and lower
Since this overlay is only used in the SBC Pro bootscript, have a separate
bootscript for the SBC Express.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-10-13 16:19:34 +02:00
Hector Palacios fb3c7d5e3f meta-digi: revert revisions to AUTOREV
This reverts commit 76ec96632760fd3ee6113a74b8363a688edf99c3.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2020-10-08 16:37:51 +02:00
Hector Palacios 519b924f12 meta-digi: update revisions for dey-3.0-r2.1
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2020-10-08 16:37:51 +02:00
Hector Palacios 9557b49128 README: update changelog and URLs to DEY-3.0-r2 release
Signed-off-by: Hector Palacios <hector.palacios@digi.com>

https://jira.digi.com/browse/DEL-7270
2020-10-08 16:37:51 +02:00
Hector Palacios 453444fd75 README: [cosmetic] use official product names.
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2020-10-08 16:01:19 +02:00
Hector Palacios d34d9de25a u-boot: remove 2019.04 recipe, superseeded by v2020.04
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2020-10-08 13:46:04 +02:00
Gonzalo Ruiz ee2167a574 firmware_qualcomm: ccimx8mn: update US Board Data File calibration data
Update file:

- bdwlan30_US.bin (8c8b575fb9a65714df0b7c6cb3399ed6)

  This file was generated by calibrating several CC8MN SOMs from spin 3
  and merging their resulting BDF files into a Golden file.
  It also encodes the Target output powers.

Reference calibration file is obtained from 'qca6574au-le-2-2-2_qca_oem' repo
at tag 'r00005.1' under path
'wlanfw/cnss_proc/wlan/fw/target/sdio_dst/qc6174/bdwlan30.bin':

- bdwlan30.bin (8a40d95698825e1718bee640b1f7982a)

Target output powers respect the maximum EVM for every data rate.

Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2020-10-07 17:27:38 +02:00
Gabriel Valcazar ce11c9a02e cosmetic: digi-defaults.inc: update Linux/U-Boot version table
Add the ccimx6/6qp and update the ccimx8x supported U-Boot version. Even though
older versions of U-Boot can be built for the 8X, the dependencies with the
SCFW only make it possible to use the latest version of U-Boot to avoid
unexpected behaviour.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-10-07 11:06:06 +02:00
Gabriel Valcazar 54643df677 packagegroup-dey-wireless: make ccimx6/6qp platforms use wireless-regdb-static
Back when the ccimx6/6qp used Linux v4.9, we needed to use crda because
wireless-regdb-static wasn't supported until v4.15. Now that we use v5.4 on all
platforms, this workaround isn't needed anymore.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-10-07 11:06:06 +02:00
Mike Engel 2397f700cf meta-digi-dey: qtbase: fix build path error of qt5.sh script
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2020-10-07 09:32:42 +02:00
Arturo Buzarra 77e30407fd sysinfo: fix security status section for ConnectCore 8M platforms
Commit c24d1d96 ("sysinfo: adapt script after removal of deprecated fsl_otp
driver") introduced support to determine if a device is closed by checking
a new boolean property on the DT for the CC8X platforms, however the CC8M
platforms use the same mechanism. This commit modifies the sysinfo script to
check also the DT for the CC8M platforms.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-10-07 09:32:42 +02:00
Arturo Buzarra 06189293f4 sysinfo: fix error on devices without SOC revision in their device tree
Commit cbb38440 ("meta-digi-dey: sysinfo: Add chip revision sysinfo output")
introduced a new script variable to determine the SOC revision of the module.
However this entry only is available on the CC8X platforms. This commit checks
if the entry exist and then tries to read it to avoid unexpected issues with
devices without this entry.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-10-07 09:32:42 +02:00
Francisco Gil Martinez aad9e045cd ccimx8x/mn: add dt overlays for the keypad controller
Signed-off-by: Francisco Gil Martinez <francisco.gilmartinez@digi.com>
2020-10-07 09:32:30 +02:00
Gabriel Valcazar a872c5f4cd trustfence-tool: update to v2.4
This version includes changes needed to reflect the OTP driver update in the
kernel.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-10-05 13:06:36 +02:00
Mike Engel 58707b40ba meta-digi-dey: qtbase: update ccimx6 qt5.sh script to reflect xwayland migration
This commit adds new environment variables to support QT with wayland and
to fix the following error message when executing QT5 applications on the
target.

qt.qpa.plugin: Could not find the Qt platform plugin "eglfs" in ""
This application failed to start because no Qt platform plugin could be initialized.
Reinstalling the application may fix this problem.

Available platform plugins are: minimal, offscreen, vnc, wayland-egl, wayland, xcb.

Aborted.

Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2020-10-05 11:43:18 +02:00
Hector Palacios 2ade93d8eb u-boot-dey: restore modified env vars in case of error on bootscript
The boot script appends values to certain variables such as
$extra_bootargs and $overlays.

If the final instruction of the boot script (dboot command)
fails, these variables contain the new values, plus the original
one. Since the user recovers the prompt, he may do a 'saveenv'
to save the environment, and the modified variables will be
saved, only to be enlarged again on the next boot.
This can lead to repeated strings on such variables.

Save the original value and restore it in case of failure on
the dboot command.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2020-10-01 16:13:46 +02:00
Mike Engel 23b7815c17 meta-digi-dey: libdigiapix: Update GPIO rules for digiapix group.
This commit updates the GPIO udev rules to change the group owner
and permission of the new gpio char driver. This will allow users
that belong to the digiapix group to access the char driver.

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

https://jira.digi.com/browse/DEL-7255
2020-10-01 09:28:34 +02:00
Hector Palacios 3786647d1c ccimx8x/mn: rename dt overlays filenames
Follow the syntax:

  _ov_<som|board>_<functionality>[_<hardware>].dts

where:
  _ov_          identifies the file as an overlay.
  som|board     identifies whether the overlay applies to the SOM
		or to the carrier board.
  functionality identifies the function of the overlay.
  hardware      identifies the hardware to which the overlay
		applies.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2020-09-29 18:06:02 +02:00
Hector Palacios b198602b0c Merge branch 'zeus' into dey-3.0/maint
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2020-09-29 17:02:25 +02:00
Gabriel Valcazar 7938ddef8f dey-image-recovery-initramfs: remove openssl-bin from initramfs
This package was being included as a RRECOMMENDS from libcrypto, but we don't
need it in the initramfs at all. Since our recovery image is already pretty big
compared with the recovery partition size on ccimx6ul platforms with 256 MB of
storage, remove it to make sure the image can fit.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-09-29 09:48:16 +02:00
Gonzalo Ruiz f1c1bbdffb auto-serial-console: add systemd support
Add systemd auto-getty.service to run agetty on the console defined in the
kernel command line on platforms with systemd support.

This service replaces serial-getty@.service as the one responsible for
opening a tty port and prompting for a login name when
TRUSTFENCE_CONSOLE_DISABLE is configured.

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

Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2020-09-28 17:39:44 +02:00
Gabriel Valcazar 3b0cf4eb76 qtbase: use platform-specific qt5.sh scripts instead of backend-specific ones
We have specific scripts per platform to export the qt5 environment variables,
because using the default backend-specific scripts ported from the meta-imx
layer results in mismatches in specific cases (for example, 6UL framebuffer
images only support linuxfb, but the qt5-fb.sh script exports eglfs instead).

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-09-28 17:13:48 +02:00
Gabriel Valcazar ff756dd8f7 meta-digi: revert revisions to AUTOREV 2020-09-28 13:50:28 +02:00
Gabriel Valcazar 5cb7ecc3a5 meta-digi: update revisions for dey-3.0-r1.6
Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-09-28 13:47:32 +02:00