Commit Graph

1754 Commits

Author SHA1 Message Date
Javier Viguera b68ddc2357 kirkstone migration: update SRC_URI URLs
In 4.0 the branch is mandatory when using git as fetcher in the SRC_URI.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-06-20 11:39:57 +02:00
Javier Viguera 4a0db0c8a7 kirkstone migration: update machine's config files
* fix arch tune files path in machine config
* update imx-digi-base config file (using as a base the imx-base.inc
  config file in 'meta-freescale')

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-06-20 11:39:57 +02:00
Javier Viguera 065cf3e9c4 kirkstone migration: general update to the new override syntax
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-06-20 11:39:57 +02:00
Javier Viguera e30d6931fd kirkstone migration: make layers compatible
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-06-13 13:30:08 +02:00
Arturo Buzarra 1192a62d93 ccmp15-dvk: fix SDK build for ConnectCore MP15 platform
By default, the STM layer includes several tools in the SDK, one of which is
the gcc-arm-none-eabi toolchain. However, in the build process it throws the
following unexpected error about an unsatisfied runtime dependency:
    Error:
     Problem: conflicting requests
      - nothing provides libpython2.7.so.1.0()(64bit) needed by
        nativesdk-gcc-arm-none-eabi-9-r0.1.x86_64_nativesdk

Since this package works with python3, python2 was deprecated and this tool is
only needed to build Cortex-M4 applications, this commit removes this package
from the default SDK.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2022-05-25 11:47:52 +02:00
Arturo Buzarra 52fece587f kernel-module-qualcomm: add support to read the MAC addresses from device tree
This commit adds a patch for the qcacld-3.0 wireless driver to read the
wireless MAC addresses from device tree. This patch is based on the original
commit from qcacld-2.0 driver improving and simplifying the code to work with
the new qcacld-3.0 driver.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2022-05-19 16:13:30 +02:00
Arturo Buzarra 2c111a99f1 firmware-qualcomm: update wireless firmware from r10016.1
This commit updates the wireless firmware in order to work with the new Linux
qcacld-3.0 wireless driver.
Latest release "r10016.1 - Post-CS3 1.0.016.1" updates the following files from
"qca6574au-le-2-2-1_qca_oem" product branch:

    PCIe:
     - athwlan.bin  (b4fd36922625b7303d006581f6c7cd10)
     - utf.bin      (0d70048214fea05d1c40b3034e8107cd)

    SDIO:
     - qwlan30.bin  (342cb50ce5c6ff930a65f341c0dfbc77)
     - utf30.bin    (f94810be89cc2f3e979ab4a57243872b)

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2022-05-19 13:36:28 +02:00
Arturo Buzarra 5bc574a8e9 kernel-module-qualcomm: update recipe to use new qcacld-3.0 Linux wireless driver
This commit updates the Linux wireless driver for Qualcomm's chipset to the
new qcacld-3.0 driver.
This update is based on the release "r10016.1 - Post-CS3 1.0.016.1" from
"qca6574au-le-2-2-1_qca_oem" product branch, which uses for a Linux kernel v5.4
the tag "CHSS.LNX_FSL.5.0-01200-QCA6574AUARMSDIOHZ".

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2022-05-19 13:36:28 +02:00
Arturo Buzarra 3eef2d8d37 imx-boot: fix include path with dynamic layer
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2022-05-12 17:34:07 +02:00
Arturo Buzarra 4518d265e4 meta-digi-arm: fix typo in dynamic-layers for NXP platform
Commit 8c396281 ("layer: add dynamic-layers for NXP platform") introduced a
typo in the dynamic layer name.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2022-05-12 17:34:07 +02:00
Arturo Buzarra 4a4f40ad02 ccmp15-dvk: fix ubifs partition creation for ConnectCore MP15 platform
This commit uses the same values as the ConnectCore 6UL which uses the same
type of NAND.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2022-05-10 11:29:12 +02:00
Arturo Buzarra 8fac0cc46e image_types: fix do_image_boot_ubifs() for ConnectCore MP15 platform
This commit reverts partially the commit 548b8729 ("image_types: add support to
create CCMP15 ubifs images") to fix the boot partition generation.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2022-05-10 11:29:12 +02:00
Arturo Buzarra 8bdc615a5a digi-defaults: add ConnectCore MP15 platform Linux/U-Boot reference
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2022-05-10 11:29:12 +02:00
Arturo Buzarra acf7c4305a ccmp15-dvk: fix image types included for the ConnectCore MP15 platform
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2022-05-10 11:29:12 +02:00
Arturo Buzarra a1862921af ccmp15-dvk: remove bluez5-init recipe for the ConnectCore MP15 platform
This platform initializes the Bluetooth interface through the own bluetooth
driver, so the custom Digi init scripts are not needed.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2022-05-10 11:01:08 +02:00
Arturo Buzarra 85a77d15ea ccmp15-dvk: add firmware recipes for wireless and bluetooth
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2022-05-10 11:01:08 +02:00
Arturo Buzarra ace9abb13e ccmp15-dvk: set zImage as default kernel image type
This commit changes the "Image" for the "zImage" as the default kernel image
type for the STM platform.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2022-05-10 11:01:08 +02:00
Arturo Buzarra 602b884717 linux-dey: fix deploy folder for STM platforms
This commit avoids creating a subfolder for the kernel artifacts, to homogenize
it with the NXP platforms and avoid using custom recipes for the result
artifacts.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2022-05-10 11:01:08 +02:00
Arturo Buzarra 7b61614eae firmware-murata: new recipe to manage firmware binaries to Murata wireless chips
This recipe will download and install the required firmware binaries for
bluetooth and wireless interfaces. This recipe is based on the release
imx-hardknott-cynder_r1.0 (Wireless firmware v13.10.246.261)

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2022-05-10 10:56:22 +02:00
Mike Engel ea0d8d7b8b pulseaudio: add alsa and pulseaudio support for the CCMP15
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2022-05-04 14:01:05 +02:00
Mike Engel 548b8729aa image_types: add support to create CCMP15 ubifs images
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2022-05-04 14:01:05 +02:00
Mike Engel 97c1732c6c optee: move recipes into dynamic-layers for NXP
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2022-05-04 14:01:05 +02:00
Mike Engel c14c4499e9 layer: remove required STM recipe from build system
This commit removes some STM recipes that are not
needed in our layer because they apply changes that
are not required in our DEY layer.

Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2022-05-04 14:01:05 +02:00
Mike Engel ee06c1bf0e alsa: add alsa support for CCMP15
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2022-05-04 14:01:05 +02:00
Mike Engel 23d307ca58 linux: move defconfig build commands to kernel common recipe
This commit moves Kernel defconfig build commands into the Linux
common recipe.

Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2022-05-04 14:01:05 +02:00
Mike Engel 652341f3b1 linux: fix some build issues and update copyright date
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2022-05-04 14:01:05 +02:00
Mike Engel de46b4ae85 ccmp15-dvk: add CCMP15-DVK platform configuration
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2022-05-04 14:01:05 +02:00
Mike Engel bef5224dd8 mca-tool: add mca-tool support for CCMP15
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2022-05-04 14:01:05 +02:00
Mike Engel 31a6056dcf conf: move PREFERRED_VERSION for NXP platforms into imx-digi basic configuration
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2022-05-04 14:01:05 +02:00
Mike Engel bb6e445966 layer: add STM EULA files and checksum for STM platforms
The EULA version is SLA0048 Rev4/March 2018

Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2022-05-04 14:01:05 +02:00
Mike Engel 75e2478ae1 u-boot: add CCMP15 support to build u-boot
This commit adds u-boot build support for the CCMP15 platform.
The installation scripts are copies from the CC6UL platform.

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

https://onedigi.atlassian.net/browse/DEL-7797
2022-05-04 14:01:05 +02:00
Mike Engel 93d956032a linux-fslc: move recipes into dynamic-layers for NXP
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2022-05-04 14:01:05 +02:00
Mike Engel 86fb57103d imx-usb-loader: move recipes into dynamic-layers for NXP
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2022-05-04 14:01:05 +02:00
Mike Engel ed8cdd92d6 imx-vpu: move recipes into dynamic-layers for NXP
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2022-05-04 14:01:05 +02:00
Mike Engel bcbf3edb22 imx-test: move recipes into dynamic-layers for NXP
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2022-05-04 14:01:05 +02:00
Mike Engel f8f03a6735 imx-lib: move recipes into dynamic-layers for NXP
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2022-05-04 14:01:05 +02:00
Mike Engel f6c3e519b6 isp-imx: move recipes into dynamic-layers for NXP
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2022-05-04 14:01:05 +02:00
Mike Engel 7bdfbd3144 imx-vpu-hantro-vc: move recipes into dynamic-layers for NXP
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2022-05-04 14:01:05 +02:00
Mike Engel 01bb7fe355 mcore-demos: move recipes into dynamic-layers for NXP
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2022-05-04 14:01:05 +02:00
Mike Engel 8f63ae3764 udev: move recipes into dynamic-layers for NXP
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2022-05-04 14:01:05 +02:00
Mike Engel 8a72bbd3a6 imx-vpu-hantro: move recipes into dynamic-layers for NXP
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2022-05-04 14:01:05 +02:00
Mike Engel 0b198431ee imx-mkimage: move recipes into dynamic-layers for NXP
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2022-05-04 14:01:05 +02:00
Mike Engel 494c773286 imx-seco: move recipes into dynamic-layers for NXP
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2022-05-04 14:01:05 +02:00
Mike Engel bf2a06e9b5 imx-atf: move recipes into dynamic-layer for NXP
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2022-05-04 14:01:05 +02:00
Mike Engel cd9eb2d093 firmware-imx: move to dynamic-layer
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2022-05-04 14:01:05 +02:00
Mike Engel 8c39628133 layer: add dynamic-layers for NXP platform
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2022-05-04 14:01:05 +02:00
Mike Engel 1546a79981 linux: add CCMP15 support to build kernel
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2022-05-04 14:01:05 +02:00
Mike Engel d78d601841 linux: move Trustfence signing into include file to be used by different kernel versions
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2022-05-04 14:01:05 +02:00
Mike Engel 56d7133147 layer: add STM layer for CCMP15
This commit adds the STM layer to the DEY build
system and enables NXP platform layer.

Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2022-05-04 14:01:05 +02:00
Gabriel Valcazar 600c3d7790 mount_digiparts.sh: run single MTD layout code path only when appropriate
This code path was added in the context of single MTD layout support for
ccimx6ul boards, but it was being executed in the default storage layout use
case as well. This could trigger a race condition in which one code path
deletes the mount point while the other one is still setting it up, causing
partitions to not be mounted automatically (specifically, the "update"
partition).

Since both code paths are mutually exclusive in our implementation, reflect
this by making sure that the single MTD layout path is executed only when said
layout is enabled in the U-Boot environment.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
(cherry picked from commit 9a7ea10a4dfb74651f865f125372604fe6840a10)
2022-04-06 10:51:30 +02:00