Commit Graph

290 Commits

Author SHA1 Message Date
Javier Viguera ab52d0ec12 meta-digi: add new ccimx93-dvk platform
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-12-20 14:50:54 +01:00
Javier Viguera 7e7fba9ba5 meta-digi-arm: machine: do not reset EXTRA_IMAGEDEPENDS
Use += operator to prevent resetting the value of the EXTRA_IMAGEDEPENDS
variable. That is how it's mostly used elsewhere.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-12-19 18:19:51 +01:00
Javier Viguera 7d90e6276b digi-defaults: add default value for HAS_WIFI_VIRTWLANS
This is later overridden in the machine config files, but a default
(not empty) value is needed, to prevent a syntactic error in
init-ifupdown recipe (where it is used).

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-12-19 18:19:21 +01:00
Javier Viguera db5067371e meta-digi: get rid of ccimx8mp-dvk
Platform not supported.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-11-30 18:06:57 +01:00
Javier Viguera e0005b8eb6 imx-digi-base: yet another sync with meta-freescale's imx-base
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-11-30 15:07:22 +01:00
Hector Palacios 27ca6138e1 ccmp1/ccimx6ul: move U-Boot env defines to common include file
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2022-11-28 13:40:14 +01:00
Javier Viguera 99a61e12a1 meta-digi: delete outdated opencv bbappend
A new set of meta-freescale updates broke our layer, because they
updated opencv package and our bbappend does not apply anymore.

The build fails at parsing:

ERROR: No recipes in default available for:
  meta-digi/meta-digi-dey/dynamic-layers/freescale-layer/recipes-support/opencv/opencv_4.5.2.imx.bbappend

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-11-28 10:32:53 +01:00
Javier Viguera 1ec9ffd16e imx-digi-base: use weak default values for PREFERRED_VERSION settings
This allows users of the layer to override the value with a different
default. Same change was done in meta-freescale's imx-base file.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-11-25 17:36:16 +01:00
Javier Viguera 9baa0bd658 imx-digi-base: sync with meta-freescale's imx-base config file
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-11-25 17:36:16 +01:00
Hector Palacios 63916b1143 swu-images: fix ccimx6ul ROOTFS extension when read-only enabled
When read-only feature is enabled, the rootfs should be .squashfs
and not .ubifs.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
(cherry picked from commit c32278af74cea8cb38aa81590eaa867be1c739c9)
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-11-25 11:54:45 +01:00
Gonzalo Ruiz b8f8174579 ccmp1: define DIGI_FAMILY variable
DIGI_FAMILY is "ccmp1" and is common to both CCMP15 and CCMP13.

Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2022-11-22 14:09:30 +01:00
Francisco Gil 6ffbbb390a dualboot: get rid of DUALBOOT_ENABLED configuration
All the dualboot logic will be checked in run time.
To do this:
* Include the altboot.src by default in all the images
* Create a post installation script to change the
firmware_download_path in the cloud connector
* Unify the swupdate file descriptor for dual and single boot

Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
2022-11-22 11:42:39 +01:00
Arturo Buzarra 9ad980e0d7 ccmp1: remove unused build artifacts
This commit removes duplicated and unused build artifacts for the ccmp1
platforms. Also fixes a build warning related with flashlayout config file.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2022-11-22 09:01:45 +01:00
Arturo Buzarra 120005ceeb ccmp1: add udev-extraconf recipe for ccmp1 platforms
This commit adds the extra machine specific configuration files for udev on
ccmp1 platforms to allow, for example, automount storage devices.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2022-11-17 17:48:34 +01:00
Francisco Gil 305789730e ccmp1: enable dualboot by default in stm platforms
Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
2022-11-15 07:51:46 +01:00
Francisco Gil b52339d591 dualboot: move the things to the corresponding class
we can get rid of dualboot.bbclass moving things to different
layers.

Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
2022-11-15 07:49:17 +01:00
Arturo Buzarra ea4277e2c9 ccmp1: move common CCMP1 headers to common configuration file
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2022-11-10 10:57:16 +01:00
Javier Viguera bc38448aae dey: update dey.conf with latest changes in poky.conf
Also clean some dead code: libjpeg-turbo is the only jpeg implementation
in poky since long ago. Also "remove-libtool" is enabled by default in
bitbake so there is no need to do it in our distro configuration.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-10-03 14:31:00 +02:00
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
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 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 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 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
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
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 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 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
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
Gabriel Valcazar 42cab22b95 ccimx6: add "pam" to DISTRO_FEATURES
This is necessary for images that have SELinux enabled. Aside from changing
some package configurations and including an additional library in the rootfs,
this change has no apparent effects on the core functionality of the system.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2021-09-15 10:19:14 +02:00
Gabriel Valcazar abba0948a9 refpolicy: adapt reference policy to DEY prebuilt image features
The default policy provided by meta-selinux breaks a lot of the features in
DEY, so adapt it to make most features work. Note that this is simply an
example, end users should create their own policies for their own needs.

Make these changes toggleable so that users can use the reference policy
instead.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2021-09-15 10:16:28 +02:00
Gabriel Valcazar 96f54105d3 ccimx6/6ul: add "firmware-imx-regulatory" package
This package includes a script that is executed by a udev rule that we
currently include in our sysvinit images. Without it, the regulatory firmware
mechanism is broken and an error appears when booting the system.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2021-09-13 16:42:35 +02:00
Hector Palacios 96bc57c7f0 u-boot-dey: use global variables to generalize install scripts
Create global variables:
  DEFAULT_IMAGE_NAME
  GRAPHICAL_IMAGES

to have them substituted on the U-Boot install scripts for better
generalization.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2021-06-02 11:01:37 +02:00
Arturo Buzarra 0cacb0c511 dtc: keep version 1.4.5 only for CC6/CC6QP platforms that build U-Boot 2017.X
This version is only required to build U-Boot 2017.X, so since CC6UL was moved
to a new U-Boot version it is not necessary and also fixes a build issue.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2021-05-05 19:18:11 +02:00
Arturo Buzarra 2409de4c6e gatesgarth migration: imx-digi-base: Add the ability to use exclusive recipes for NXP BSP
Commit 4ab569fb("recipes-*: refine restrictions for NXP BSP") from
meta-freescale layer restrict the use of certain recipes and classes to
enforces them to use a NXP BSP. This is done by adding a new MACHINEOVERRIDES
called "use-nxp-bsp"

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2021-05-05 19:18:11 +02:00
Arturo Buzarra 52db82f2c7 imx-digi-base: sync with meta-imx branch zeus-5.4.70-2.3.0
Update the MACHINE values with the ones in meta-freescale and meta-imx layer.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2021-02-04 13:07:07 +01:00
Arturo Buzarra 702382c7e4 imx-digi-base: Simplify preferred providers for graphics
Sync with meta-freescale layer. See commmit f718ae3f
("imx-base.inc: Simplify preferred providers for graphics")

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2021-02-04 13:07:07 +01:00
Arturo Buzarra a76f3031fb meta-digi-arm: add support for ConnectCore 8M Mini DVK platform
https://jira.digi.com/browse/DEL-7397

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2021-02-04 13:07:07 +01:00
Arturo Buzarra 3a011775b1 cosmetic: digi-defaults.inc: update Linux/U-Boot version table
Update the ccimx8m and cc6ul supported U-Boot version.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2021-01-22 13:27:36 +01:00
Mike Engel 827d2e9a4d ccimx8mn: enable Trustfence artifact encryption.
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2020-12-28 11:04:28 +01:00