Commit Graph

362 Commits

Author SHA1 Message Date
Hector Palacios efb615fc7c ccimx8x-sbc-pro: fix typo on DT overlay filename
The LVDS converter model is lt8912.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
(cherry picked from commit a72fd737d1)
2021-07-28 17:19:43 +02:00
Gabriel Valcazar d3a6920a07 dey-image-qt: compress .sdcard images by default
These images are comprised of the bootloader, linux and rootfs images. Since
the rootfs images are highly compressable, we can compress the .sdcard file as
well to reduce the space taken up by build artifacts.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2021-06-29 12:48:26 +02:00
Gabriel Valcazar bbdf745661 dey-image-qt: compress .ext4 images by default
Since these images are highly compressable, this greatly reduces the amount of
space taken up by build artifacts.

Modify the code used to generate the .sdcard and .installer.zip files so that
they contain the decompressed .ext4 image.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2021-06-29 12:48:26 +02:00
Hector Bujanda da766b29d5 mca: added GPIO-refreshed watchdog overlays for ccimx8 platforms
https://onedigi.atlassian.net/browse/DEL-7494

Signed-off-by: Hector Bujanda <hector.bujanda@digi.com>
2021-06-08 00:24:42 +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
Hector Palacios 2df009e6a7 machine: ccimx8mm/8mn: fix typo on device tree overlay extension
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2021-03-23 10:35:02 +01:00
Hector Palacios 74aceb2954 machine: ccimx8mn/8mm: add DT overlay for Fusion 10" LCD
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2021-03-16 11:14:04 +01:00
Hector Palacios e3f6955cc1 ccimx8m: remove quad core device tree overlay
This overlay added cooling devices for all quad cores.
On the latest BSP, the SoC device tree include contains all four
cooling devices and the newest U-Boot is able to delete the nodes
for non-existing cores, so there's no need for this overlay
anymore.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2021-02-17 09:23:07 +01: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
Gabriel Valcazar e0055ce0cb Merge branch 'dey-3.0/master' into dey-3.0/maint
Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-12-28 12:28:39 +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
Mike Engel 1baba309c2 ccimx8mn: add Optee component to the machine features.
Since this component pulls in Optee dependencies, which in turn depend on
packages from meta-python2, add this layer to the ccimx8mn-dvk's default
bblayers.

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

https://jira.digi.com/browse/DEL-7025
2020-12-28 11:04:28 +01:00
Hector Palacios abacf26dab machine: ccimx8x-sbc-express: build 512MB 16bit U-Boot
This machine was not building the 512MB 16bit U-Boot.
While on it, and for consistency, re-order to make the 2GB 32bit
the default (same as the SBC Pro), since the SBC Express was
discontinued as a product.

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

https://jira.digi.com/browse/DEL-7363
2020-12-21 14:04:17 +01:00
Francisco Gil Martinez fe2b5017f6 ccimx8x: add dt overlay for pcie modems
Signed-off-by: Francisco Gil Martinez <francisco.gilmartinez@digi.com>
2020-11-23 08:17:07 +01:00
Francisco Gil Martinez 0c44a150d0 ccimx8x: add dt overlay for pcie modems
Signed-off-by: Francisco Gil Martinez <francisco.gilmartinez@digi.com>
2020-11-20 11:45:55 +01:00
Hector Bujanda 376f6dadf2 ccimx8x/mn: add dt overlays for the user LEDs
https://jira.digi.com/browse/DEL-7254

Signed-off-by: Hector Bujanda <Hector.Bujanda@digi.com>
2020-11-19 11:43:58 +01:00
Hector Palacios d30eddd326 ccimx6ul: enable UBOOT_HAS_FASTBOOT
This allows the generation of the uuu install script artifact.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2020-11-16 13:26:53 +01: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 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
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
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
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
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
Gonzalo Ruiz 358305ffb8 trustfence: enable encrypted environment for CC8MN
Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2020-09-18 16:31:07 +02:00
Mike Engel 4a68333fef meta-digi-arm: machine: Add xwayland support to CCIMX6 platforms
With this change, the ccimx6sbc and ccimx6qpsbc default images will now use the
xwayland backend instead of x11.

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

Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2020-09-16 16:09:03 +02:00
Gabriel Valcazar f8f8228d67 recipes-kernel: use Linux v5.4 on the ccimx6/6qp
Remove all v4.9 recipes and build Linux using the same branch on all platforms.
The .inc files were only needed because of the existence of multiple Linux
versions, but that's not the case anymore, so remove them.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-09-16 16:09:03 +02:00
Mike Engel 8eedf4407e meta-digi-arm: Add new CC6UL variants
Signed-off-by: Mike Engel <Mike.Engel@digi.com>

https://jira.digi.com/browse/DEL-7169
2020-09-14 18:14:03 +02:00
Francisco Gil Martinez 9249c60c88 ccimx8mn: add support for QUAD overlay
Signed-off-by: Francisco Gil Martinez <francisco.gilmartinez@digi.com>
2020-09-14 16:39:57 +02:00
Gonzalo Ruiz e4c3104712 trustfence: enable encrypted environment for CC8X
Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2020-09-14 12:20:00 +02:00
Arturo Buzarra 91fcbffe99 imx-boot: add encryption support to the build images
https://jira.digi.com/browse/DEL-7175

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-09-01 11:29:25 +02:00
Mike Engel 3fdb880213 ccimx8x: add Fusion 10 overlay to KERNEL_DEVICETREE
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2020-07-27 11:21:42 +02:00
Mike Engel faa088982b meta-digi-arm: enable Trustfence root file system encryption support
Signed-off-by: Mike Engel <Mike.Engel@digi.com>

https://jira.digi.com/browse/DEL-7163
2020-07-16 12:51:49 +02:00
Hector Palacios 16a429a037 ccimx8x: add missing HDMI bridge overlay to KERNEL_DEVICETREE
Reported-by: Alfonso Martín Rey <alfonso.martinrey@digi.com>
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2020-07-16 08:19:55 +02:00
Gabriel Valcazar ee2a502fe5 imx-digi-base: append to MACHINE_EXTRA_RRECOMMENDS instead of setting it
The cryptoauthlib package is being added in digi-defaults.inc, which is parsed
before this file. Setting the variable here overwrites its previous value,
causing the cryptoauthlib package to be left out of the rootfs. Append to the
variable instead of overwriting it to avoid this.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-06-16 12:57:54 +02:00
Gabriel Valcazar 8c141889d2 ccimx8: add firmware-imx-regulatory
Aside from adding the wireless-regdb-static support, this NXP package needs to
be included in the rootfs so the regulatory fw gets loaded in userspace.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-06-16 12:56:35 +02:00
Gonzalo Ruiz 0775c592b9 ccimx8: set trustfence to only build signed images
Disable all encryption support by default on CC8X and CC8MN platforms so
the default built images can be directly built.

Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2020-06-04 19:01:34 +02:00
Gonzalo Ruiz ea2ffcfee8 trustfence: introduce AHAB container creation into script
https://jira.digi.com/browse/DEL-7024

Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2020-06-04 19:01:34 +02:00
Gabriel Valcazar 222ded5a38 digi-sc-firmware: update to v1.4.0.2
This update is a cosmetic one and removes the RAM frequency from the SCFW
filenames. Reflect this change in the RAM_CONFIGS variable and in the uSD/UUU
installation scripts.

As a result, the imx-boot filenames will no longer have the RAM frequency
either.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-05-28 18:15:38 +02:00
Gabriel Valcazar 3fbd38ca46 imx-boot: build ccimx8x images for B0 and C0 silicon revisions
Modify the imx-seco recipe so it deploys the B0 and C0 versions of the SECO
firmware, Then, modify the imx-boot recipe so it builds every possible
combination of:

    * RAM configuration
    * imx-boot target (with and without M4 demos)
    * Silicon revision

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-05-28 18:01:37 +02:00
Gabriel Valcazar bc7320f203 ccimx8x: add support for QXP overlay
Each platform now has only one base device tree, meant for the i.MX8DX variants
of the ccimx8x boards. Apply the QXP overlay in the bootscript if the SOC is
identified as an i.MX8QXP.

Since we want to give this overlay a higher priority than the SOM overlays
(wifi and bluetooth), prepend it to the overlay list after appending the SOM
overlays.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-05-26 12:25:18 +02:00
Gabriel Valcazar 219cee7b9c ccimx8x-sbc-pro: add optional device tree overlays
These overlays aren't handled in our bootscript, but we make them available for
users in case they wish to use alternative interface configurations.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-05-26 12:17:34 +02:00
Gabriel Valcazar 306b83eef0 ccimx8x: add support for wifi and bt overlays
Remove the old wb device trees from the ccimx8x-sbc-express and ccimx8x-sbc-pro
configuration files and add the ccimx8x wifi and bt overlays. Modify both
platforms' bootscripts to apply the overlays depending on board_id, hardware
capabilities or module variants.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-05-26 12:17:34 +02:00
Hector Palacios ab98e928f5 machines: move common recipes to all packagegroup-dey-core
- u-boot-fw-utils
- cryptodev-module

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2020-05-06 17:02:28 +02:00
Hector Palacios 2c8eaecc09 cryptochip: use MACHINE_FEATURE to conditionally include related recipes
Use 'cryptochip' MACHINE_FEATURE to conditionally include cryptoauthlib
recipe.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2020-05-06 07:20:50 +02:00