Commit Graph

452 Commits

Author SHA1 Message Date
Arturo Buzarra 0ed6c4d66b meta-digi-arm: add support for ConnectCore MP13 DVK platform
https://onedigi.atlassian.net/browse/DEL-8078

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2022-09-15 16:14:30 +02:00
Mike Engel 04e2d880ad ccmp1: add CCMP1 include file to collect common configuration
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
(cherry picked from commit 84e544b27bbe234a03a783013a6a9063d1fe4b29)
2022-09-12 14:26:13 +02:00
Mike Engel 3e84b9007a conf: add new bootloader offset variable to be used on eMMC and SD card images.
This commit adds a new bootloader eMMC and SD card installation offset
variable.

Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2022-09-12 14:26:13 +02:00
Mike Engel 85f84f6438 swupdate: move sw-description configuration into each platform.
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2022-09-12 14:26:13 +02:00
Mike Engel c3b4cfa5d1 swupdate: add u-boot image into SWU update image
Signed-off-by: Mike Engel <Mike.Engel@digi.com>

https://onedigi.atlassian.net/browse/DEL-7853
2022-09-12 14:26:13 +02:00
Arturo Buzarra c10e2ddc57 ccmp15-dvk: add support to boot with OPTEE
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2022-09-07 13:44:36 +02:00
Javier Viguera 4dd6ea0213 imx-digi-base: update imx gstreamer version
The recipes have been updated in meta-freescale, and version 1.18.5.imx
is no longer available.

Follow same change in meta-freescale's "conf/machine/include/imx-base.inc".

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-09-06 18:24:32 +02:00
Javier Viguera caacf056ab digi-defaults: add crank image to the list of graphical images
This fixes a failure in the firmware installation script when trying to
program crank images:

./install_linux_fw_uuu.sh -i dey-image-crank

[ERROR] Could not find file 'dey-image-crank-ccimx6ulsbc.boot.ubifs'
[ERROR] Could not find file 'dey-image-crank-ccimx6ulsbc.recovery.ubifs'
[ERROR] Could not find file 'dey-image-crank-ccimx6ulsbc.ubifs'

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-09-05 18:22:40 +02:00
Javier Viguera 1565cacc10 meta-digi-arm: support wolfssl dynamic layer
https://onedigi.atlassian.net/browse/DEL-8036

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-08-31 17:30:36 +02:00
Javier Viguera 526cb3cae0 weston: remove deprecated recipe
meta-freescale updated to version '10.0.0.imx', so our bbappend fails
with:

ERROR: No recipes in default available for:
  ... meta-digi-dey/dynamic-layers/freescale-layer/recipes-graphics/wayland/weston_9.0.0.imx.bbappend

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-08-31 11:58:36 +02:00
Javier Viguera fecc12fa0b meta-digi: get rid of LOG git mirror
As that's an old VM with limited specs, there is no much gain on using
it over the canonical Stash repositories that justifies the code
overhead and the possible errors due to synchronization problems.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-08-11 12:23:17 +02:00
Javier Viguera 9e06877cc6 ccmp15-dvk: update kernel defconfig file
It has been renamed in the kernel tree.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-08-10 09:53:39 +02:00
Javier Viguera 29e2f56cc5 meta-digi: remove NXP's EULA v35 configuration
This has been recently added to meta-freescale, so it's duplicated here.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-08-09 18:11:39 +02:00
Arturo Buzarra 56bdbaded9 ccmp15-dvk: disable use of extra partition vendorfs
By default STM layer creates extra partitions, the vendorfs partition is
reserved to save custom STM libraries and binaries, however the ccmp15 platform
does not have this additional partition, and stores all the libraries in the
rootfs.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2022-07-26 08:05:27 +02:00
Javier Viguera 83e845c10f meta-digi: use last version of NXP's EULA
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-07-12 18:03:33 +02:00
Arturo Buzarra 3c47480f49 ccmp15-dvk: add graphical support with wayland/weston
https://onedigi.atlassian.net/browse/DEL-7981

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2022-07-04 16:56:41 +02:00
Javier Viguera c6b55f492f linux-libc-headers: use Poky's default version 5.16
Also, fix the sequence number of the GPIO_SET_DEBOUNCE_IOCTL ioctl. Same
fix has been done in Linux.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-06-22 15:44:49 +02:00
Javier Viguera 8a34234f61 kirkstone migration: meta-digi-arm: add ST dynamic layer support
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-06-21 16:49:56 +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 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 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
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 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 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 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 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 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
Isaac Hermida 148b1b443b meta-digi-arm: add support for ConnectCore 8M Plus platform
https://onedigi.atlassian.net/browse/DEL-7784

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2022-02-03 11:45:31 +01:00
Gabriel Valcazar 99a72aa189 hardknott: imx-boot: explicitly set IMX_BOOT_SOC_TARGET and ATF_PLATFORM
These variables were originally set in NXP's recipes, but they moved their
definitions to each platform's configuration file. Set the appropriate values
where needed. While at it, replace every mention of the SOC_TARGET variable
with its new name, IMX_BOOT_SOC_TARGET.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2022-01-05 11:09:46 +01:00
Gabriel Valcazar 1184f74439 hardknott: meta-digi-arm: filter out imx-atf recipe from meta-freescale
The recipe we ported from meta-imx has the same version number (v2.4) and
bitbake chooses the meta-freescale version because said layer comes before
meta-digi-arm in the BBLAYERS. Since the meta-freescale version uses different
platform overrides, the build fails, so filter it out to use our version
instead.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2022-01-05 11:09:46 +01:00
Gabriel Valcazar 16e8c39225 hardknott: conf: sync with meta-imx hardknott-5.10.72-2.2.0 branch
Reflect NXP's changes in each platform's MACHINE_FIRMWARE in our layer

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2022-01-05 11:09:46 +01:00
Gabriel Valcazar d62d022375 hardknott: layer.conf: sync with meta-imx hardknott-5.10.72-2.2.0 branch
Sync the NXP license checksums by removing the outdated ones and adding the
missing ones

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2022-01-05 11:09:46 +01:00
Gabriel Valcazar a382184037 hardknott: update meta-digi LAYERSERIES_COMPAT
Update support to "hardknott" release

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2022-01-05 11:09:46 +01:00
Hector Palacios fbeb7f6720 read-only: remove regular rootfs fstypes for read-only-rootfs
If IMAGE_FEATURE 'read-only-rootfs' is active, the rootfs image
will be SQUASHFS.
Remove other root file system images, such as ext4, ubifs, sdcard.gz
to avoid confusion and use by install scripts.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2021-12-01 11:49:20 +01:00
Hector Palacios bc88451131 machines: add SQUASFS to IMAGE_FSTYPES for read-only-rootfs
Signed-off-by: Hector Palacios <hector.palacios@digi.com>

https://onedigi.atlassian.net/browse/DEL-7708
2021-11-05 11:18:16 +01:00
Gabriel Valcazar dcd97799c9 ccimx6sbc: install Qualcomm-related packages along with the Atheros ones
The idea is to have the support for both chips co-exist in the same image, then
have the system detect which chip is being used during runtime.

https://onedigi.atlassian.net/browse/DEL-7661
https://onedigi.atlassian.net/browse/DEL-7666

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2021-11-03 15:58:53 +01:00
Hector Palacios 899f89eb33 digi-defaults: use '+=' operator in assignment of BOOT_SCRIPTS
Other layers, such as meta-digi-dualboot, may add scripts to this
list on their layer.conf file. Depending on the order and priority
of layers, using a strict '=' here completely overrides previous
values, which is not desired.

Reported-by: Francisco Gil <francisco.gilmartinez@digi.com>
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2021-10-20 10:10:40 +02:00
Hector Palacios 13a46ed323 conf: move UBOOT_HAS_FASTBOOT to ccimx8x common include
The SBC Express also supports fastboot now.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2021-10-08 14:20:22 +02:00
Hector Palacios f7a1a484a6 conf: move BOOT_SCRIPTS variable to common include file
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2021-10-08 14:15:13 +02:00
Gonzalo Ruiz 555be511a6 u-boot-dey: customize install_linux_fw_uuu script for ccimx6/ccimx6qp
Also, set UBOOT_HAS_FASTBOOT = "true" for these platforms.

Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2021-09-30 10:32:17 +02:00
Gonzalo Ruiz 4502004cd7 conf: machine: add flexSPI overlay to CC8X/CC8M
https://onedigi.atlassian.net/browse/DEL-7584

Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2021-09-15 15:58:12 +02:00