Commit Graph

1982 Commits

Author SHA1 Message Date
Hector Palacios 6477070dfe ccmp15.conf: remove unused ccmp151-dvk device tree
This was thought for a variant that doesn't exist.
The device tree is also obsolete.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2023-03-06 13:58:41 +01:00
Isaac Hermida 484214dc71 udev: mount.sh: force to find files in /tmp
Our /tmp file is a symbolic link to /var/tmp, therefore a "find /tmp" returns
nothing. Force to search files inside tmp folder by using "find /tmp/".

https://onedigi.atlassian.net/browse/DEL-8410

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2023-03-03 12:06:33 +01:00
Javier Viguera e76027fd85 meta-digi-arm: rework machine firmware configuration for NXP platforms
Move generic IMX machine firmware to imx-digi-base.inc file. This eases
maintenance, as this file follows imx-base.inc in meta-freescale.

Still, configure platform's Digi specific firmware in each machine's
config file.

As a positive side effect, this removes the "firmware-imx-easrc-imx8mn"
firmware file from the 8M Mini, as it's only used in the 8M Nano. This
saves about 263KB.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2023-03-02 12:06:08 +01:00
Javier Viguera 077f4dddee ccimx8m: add overlay for Fusion 10 display
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2023-03-01 18:20:18 +01:00
Arturo Buzarra 430955a584 firmware-murata: update firmware binaries to version imx-kirkstone-fafnir_r1.0
This commit updates the required firmware binaries for Bluetooth and Wireless
interfaces, based on the Murata release imx-kirkstone-fafnir_r1.0 that matches
with the Cypress Linux WiFi Driver (FMAC) release v5.15.58-2023_0222 (Wireless
firmware v13.10.246.300)

https://onedigi.atlassian.net/browse/DEL-8407

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2023-03-01 11:12:36 +01:00
Arturo Buzarra e598915b34 switch to building from maintenance branches for dey-4.0
https://onedigi.atlassian.net/browse/DEL-8388

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2023-03-01 11:12:36 +01:00
Javier Viguera ce061aea67 ccimx93: fix ext4 filesystems resizing on first boot
Add the missing tools to automatically do the EXT4 filesystem resizing
on first boot.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2023-02-28 13:20:57 +01:00
Arturo Buzarra f64adbbe25 ccmp15: add DT overlay for the UART7 for the CCMP15-DVK
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2023-02-27 17:15:40 +01:00
Arturo Buzarra 184659e42a ccmp13: fix DT overlay name for USART3
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2023-02-27 17:09:12 +01:00
Arturo Buzarra aae03774ab Merge branch 'dey-4.0/master' into dey-4.0/maint 2023-02-27 16:34:53 +01:00
Gabriel Valcazar 13dafe10bd meta-digi-arm: disable Vigiles CVE report generation by default
For now, we're only interested in generating the SBOM, which we can upload and
have Vigiles scan later on if needed. The report generation process adds some
overhead and can cause unwanted errors if the Vigiles server takes too long.

Enable report generation for our automated builds.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2023-02-27 15:51:36 +01:00
Tatiana Leon e1fa904b38 qt5: qt6: cinematicexperience: add shortcut to the demo in the desktop toolbar
This commit creates a new launcher group in the '/etc/xdg/weston/weston.ini' to
have access to the QT cinematicexperience.

This is done for QT5 (ccmp15, ccimx8mm, ccim8mn) and QT6 (ccimx93).

https://onedigi.atlassian.net/browse/DEL-8379

Signed-off-by: Tatiana Leon <Tatiana.Leon@digi.com>
2023-02-27 14:57:46 +01:00
Tatiana Leon ec1ad99f45 ccimx93: add xbee support
ConnectCore 93 DVK only connects the XBee reset line (XBEE_RESET_N_GPIO) but not
the sleep request (XBEE_SLEEP_RQ_GPIO)

It also reworks the 'xbee-init' script to support empty reset
(XBEE_RESET_N_GPIO) or sleep request (XBEE_SLEEP_RQ_GPIO) values.

https://onedigi.atlassian.net/browse/DEL-8375

Signed-off-by: Tatiana Leon <Tatiana.Leon@digi.com>
2023-02-27 14:57:35 +01:00
Javier Viguera adbb511484 meta-digi: remove True option to getVar
True is the default since long time ago, and thus not necessary. This
follows similar changes done in other layers.

Command used:

sed -e 's|\(d\.getVar \?\)( \?\([^,()]*\), \?True)|\1(\2)|g' -i $(git grep -E 'getVar ?\( ?([^,()]*), ?True\)' | cut -d':' -f1 | sort -u)

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2023-02-24 16:24:47 +01:00
Javier Viguera ad788b1d32 linux-dey: do not generate symbols on ccimx6ul dtbs
Symbols are needed for DTB overlays. In the CC6UL we are not using
overlays, so disable symbols generation.

https://onedigi.atlassian.net/browse/DEL-8397

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2023-02-24 15:50:08 +01:00
Tatiana Leon 4e22f037f7 ccmp15: set 'dey-image-webkit' as default image instead of 'dey-image-qt'
This commit also replaces 'dey-image-qt' with 'dey-image-webkit' on build
scripts.

Signed-off-by: Tatiana Leon <Tatiana.Leon@digi.com>
2023-02-24 15:11:40 +01:00
Isaac Hermida 03eb84c61e remove cryptodev support
The SW encryption is much faster than decicated HW in our platforms.
The HW encryption is limited to the use of CAAM which is used through
blob calls, therefore the cryptodev module is not required.

https://onedigi.atlassian.net/browse/DEL-8371

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2023-02-24 14:29:48 +01:00
Gonzalo Ruiz 93f90d63e7 firmware_qualcomm: ccimx6ul: fix MCS7 drop and adjust 5GHz TxPower
Set parameter 'greentxConfig__0_0=0x2' to use the optimal TxPower
in MCS7 data rates, improving performance.

Also, adjust maximum TxPower in the 5GHz band to account for
output power tolerances.

The new BDF is:

- bdwlan30_US.bin (53072f8af541a49e4ed9c22698b1912f)

https://onedigi.atlassian.net/browse/CC6UL-1302
https://onedigi.atlassian.net/browse/DEL-8364

Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2023-02-24 12:51:04 +01:00
Javier Viguera 80578a2bd0 meta-digi: use INIT_MANAGER to configure init system manager
This variable introduced in Yocto 3.0 is the recommended way to configure
the init manager.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2023-02-24 12:16:02 +01:00
Mike Engel 219d19b91a ccmp13: add DT overlays for the PWM8 and USART3 for the CCMP13-DVK
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2023-02-24 09:46:06 +01:00
Javier Viguera 82dc50b6ef meta-digi: update layer to follow changes in meta-freescale
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2023-02-22 11:05:08 +01:00
Javier Viguera 5ba05c91e0 alsa-state: add configuration for ccimx93
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2023-02-21 12:23:28 +01:00
Mike Engel 925d96155b ccmp1: add mtd-utils for CCMP1 platform
This commit adds the mdt-utils to the CCMP1 platform and
builds the tools with cyptographic support.

Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2023-02-16 10:06:29 +01:00
Javier Viguera 0f1dfc3823 meta-digi: recipe updates following changes in meta-freescale
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2023-02-14 16:43:00 +01:00
Javier Viguera 24f0f6ff79 imx-boot: add trustfence support for ccimx8m
https://onedigi.atlassian.net/browse/DEL-8362

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2023-02-13 18:38:08 +01:00
Javier Viguera 60df16d022 meta-digi: use NXP's imx gstreamer plugin for ccimx93
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2023-02-08 12:05:17 +01:00
Javier Viguera 0da87c3740 meta-digi: get rid of accel-video machine feature
accel-video was being used only for including or not gstreamer in the
different DEY images. But then we had exceptions to include gstreamer for
machines that do not define accel-video, so just follow what the ccmp15
does, and use a generic 'gstreamer' distro feature to add 'dey-gstreamer'
support to the images.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2023-02-08 12:05:15 +01:00
Javier Viguera cdda928edb meta-digi: clean up MACHINE_GSTREAMER_1_0_PLUGIN
MACHINE_GSTREAMER_1_0_PLUGIN should contain the machine-specific gstreamer
plugin to use, but not the rest of the packages to be included in the
rootfs. So clean that variable up, and add the dependent packages in the
dey-gstreamer package group.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2023-02-08 12:04:06 +01:00
Javier Viguera 747dbddf3b meta-digi: more updates and cleanups for NXP's 5.15.71_2.2.0 release
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2023-02-06 17:37:27 +01:00
Javier Viguera 6a53da20ca ccimx8x: move SECO_FIRMWARE_NAME definition to machine config
This is a machine specific setting, and moving it to the machine config
allows to get rid of the recipe bbappends.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2023-02-06 17:36:57 +01:00
Javier Viguera cec7cd98a5 meta-digi-arm: update mcore-demos to NXP's release 5.15.71_2.2.0
This is a verbatim copy of the recipes in meta-imx

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2023-02-06 17:36:26 +01:00
Javier Viguera 21ab3b1a8b ccimx93-dvk: add missing bootable artifact name
Otherwise the file is not included in the installer ZIP.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2023-02-02 10:21:21 +01:00
Hector Palacios fbc92e45b3 trustfence-cst: fix issue with binutils 2.38 objcopy
There is an issue in binutils 2.38 objcopy when called
with '--weaken' flag:

  https://sourceware.org/bugzilla/show_bug.cgi?id=27493

To circumvent it, patch the trustfence-cst config.mk to
call specifically with 'weaken-symbol err_msg' which is
apparently the only symbol that's overriden by the code.

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

https://onedigi.atlassian.net/browse/DEL-8033
https://onedigi.atlassian.net/browse/DEL-8332
(cherry picked from commit 4e361ff449)
2023-01-30 12:21:41 +01:00
Hector Palacios 4e361ff449 trustfence-cst: fix issue with binutils 2.38 objcopy
There is an issue in binutils 2.38 objcopy when called
with '--weaken' flag:

  https://sourceware.org/bugzilla/show_bug.cgi?id=27493

To circumvent it, patch the trustfence-cst config.mk to
call specifically with 'weaken-symbol err_msg' which is
apparently the only symbol that's overriden by the code.

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

https://onedigi.atlassian.net/browse/DEL-8033
https://onedigi.atlassian.net/browse/DEL-8332
2023-01-30 12:20:12 +01:00
Hector Palacios 27eb14c65f ccmp1: remove MCA from MACHINE_FEATURES
No SOM variant has MCA chip for the moment.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2023-01-25 12:32:09 +01:00
Javier Viguera 753424ae91 ccimx93: add support for MCA dtb overlay
On boot, it is enabled dynamically depending on MCA setting in HWID.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2023-01-23 17:33:31 +01:00
Javier Viguera aab5eda5c2 meta-digi-arm: add kernel parameter for single boot logo
Number of bootup logos is now configured using fbcon=logo-count parameter,
so use it instead of our deprecated custom code in the kernel.

For backwards compatibility, we add this parameter in the u-boot boot
script for all platforms but the ccimx93, where this is directly handled
by u-boot (v2022.04).

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2023-01-23 17:33:31 +01:00
Javier Viguera 38ff495f5b ccimx8mm: update imx-vpu-hantro-daemon recipe
Verbatim copy of the one in meta-imx.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2023-01-23 15:07:59 +01:00
Hector Palacios d3a8d312fd digi: machines: remove unused UBOOT_DEV_NAME variable
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2023-01-18 11:08:25 +01:00
Hector Palacios 87ef63f7c3 Revert "u-boot-dey: remove fip 'optee' suffix from install scripts"
This reverts commit 2bdfdc92e1.

This suffix was removed on error. The artifact does have the suffix.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2023-01-18 10:55:47 +01:00
Hector Palacios b4c65056fa dey-image-installer: remove boot-artifacts.bbclass
The class 'boot-artifacts.bbclass' was created to generate a
list of the bootable artifacts that must be copied from the
deploy dir to the installer ZIP file, so that the installer
has all the possible bootloader files to update any variant
of the hardware.
The class was somewhat over-engineered to produce the list,
specially for the cc8x, with the variants of SoC revision,
RAM size and width. With the arrival of ST family, it got
more complex, as the artifacts don't even come from U-Boot
recipe.

To remove complexity, this commit removes the bbclass and
moves the list to the platform config file.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2023-01-18 10:55:47 +01:00
Mike Engel 6c06b77a04 gcnano-userland: add additional library links needed for weston
This commit adds additional library links that are require to
make weston working with the new kernel version of the STM
BSP 22_11_23.

Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2023-01-16 10:29:30 +01:00
Mike Engel bc34bb68e8 wayland: change wayland user from weston to root
This commit changes the wayland user from weston to root. That
makes video and audio playback possible for the root user.

https://onedigi.atlassian.net/browse/DEL-8211

Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2023-01-16 10:29:30 +01:00
Mike Engel a0fa0d3812 install: add option to install system B for dual boot
https://onedigi.atlassian.net/browse/DEL-8232

Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2023-01-16 09:59:22 +01:00
Javier Viguera c2a333de76 meta-digi: another round of updates following meta-freescale
meta-freescale did another merge of recipe updates that we need to follow
to prevent build failures.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2023-01-11 17:22:52 +01:00
Javier Viguera de0e08a7c0 machine:ccimx8m: remove Fusion dtbo
For the momment, Fusion support is not ready in the 5.15 kernel, so do
not add the dtb overlay.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2023-01-11 13:40:54 +01:00
Javier Viguera 0fbed2bfb6 meta-digi-arm: remove overlayed recipes
meta-freescale started updating the recipes to NXP's
rel_imx_5.15.71_2.2.0 release, so now we have a bunch of overlayed
recipes we can clean up.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2023-01-10 14:29:48 +01:00
Gonzalo Ruiz 2bdfdc92e1 u-boot-dey: remove fip 'optee' suffix from install scripts
https://onedigi.atlassian.net/browse/DEL-8268

Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2023-01-10 13:26:39 +01:00
Javier Viguera 19d940965d boot-artifacts: fix BOOTABLE_ARTIFACTS for NXP platforms
For platforms that do not define FIP_UBOOT_DTB, the
'd.getVar('FIP_UBOOT_DTB') gets evaluated to None, which is not equal to
"", and thus the code continues in the wrong "if" branch.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2023-01-10 10:31:14 +01:00
Javier Viguera f13ccfac75 imx-pxp-g2d: new recipe that proves virtual/libg2d for mx93
This is a verbatim copy of the recipe in meta-imx. It is required to
build Wayland based graphical images for ccimx93.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2023-01-09 16:28:56 +01:00