Commit Graph

416 Commits

Author SHA1 Message Date
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
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 9352fc1395 digi: [cosmetic] remove final slash from Digi remotes and move it to recipes
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2021-09-07 11:01:29 +02:00
Mike Engel 54cb00e120 layer: add new EULA license MD5SUM values
This commit adds new EULA MD5SUM values that are
required due to the update of the eIQ support by
NXP.

Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2021-08-11 10:39:59 +02:00
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
Arturo Buzarra 5175796a14 gatesgarth migration: layer.conf: EULA.txt Update to license v19
Sync with BSP release rel_imx_5.10.9_1.0.0

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 41e6d7aa4b gatesgarth migration: update meta-digi LAYERSERIES_COMPAT to indicate support with "gatesgarth" release
https://jira.digi.com/browse/DEL-7508

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2021-04-29 20:07:28 +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 98a4733cd0 meta-digi-arm/conf/layer.conf: EULA.txt Update to license v16 and v17
Required for the release rel_imx_5.4.70_2.3.0 based on zeus

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 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
Hector Bujanda 2d4e75f277 meta-digi-arm/conf/layer.conf: EULA.txt Update to license v15
Signed-off-by: Ann Thornton <ann.thornton@nxp.com>
Signed-off-by: Hector Bujanda <Hector.Bujanda@digi.com>
2020-11-03 09:12:10 +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