Commit Graph

330 Commits

Author SHA1 Message Date
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
Hector Palacios 5df22254a1 mca: create 'mca' MACHINE_FEATURE and use it to append MCA-related recipes
This allows to generalize the code instead of needing to replicate
overrides for each platform that contains the MCA.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2020-05-06 07:20:50 +02:00
Hector Palacios a46a7af18d bluetooth: re-use variable DIGI_FAMILY to set BT_DEVICE_NAME for simplicity
The variable BT_DEVICE_NAME is used to name the Bluetooth device name on
the BlueZ configuration file. Re-use the contents of DIGI_FAMILY (except
for ccimx6qp which re-writes it) to simplify platform definitions.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2020-05-06 07:20:50 +02:00
Hector Palacios 83eb3a30c7 p2p: move common P2P variables to digi-defaults.inc for simplicity
- WLAN_P2P_INTERFACE is the same for all platforms: "p2p0".
- WLAN_P2P_DEVICE_NAME can be built out of ${DIGI_FAMILY} except for
  the ccimx6qp, that's why it has a weak default assignment.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2020-05-06 07:20:50 +02:00
Gabriel Valcazar de79310dc8 ccimx8mn-dvk: add LVDS overlay to the device tree list
This overlay is not handled in our bootscript, but we add it to the Linux
partition in case users want to apply it manually.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-05-05 12:21:20 +02:00
Gabriel Valcazar 973af88c12 ccimx8mn-dvk: add support to load the v1 SOM overlay in the bootscript
Parse the hardware version from the HWID and load the overlay if and only if
the revision is "1". Also, update the board's device tree list accordingly.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-05-05 12:21:12 +02:00
Gabriel Valcazar 18ac2f63c1 ccimx8mn-dvk: add support to apply wifi/bluetooth overlays in the bootscript
Instead of having two separate device trees for the non-wireless and wireless
variants of the ccimx8mn, use the non-wireless .dtb as a base and apply the
overlays in the bootscript depending on the variant's capabilities.

Also, update the board's device tree list accordingly.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-05-05 12:16:58 +02:00
Arturo Buzarra 1703d3317e zeus migration: linux-libc-headers: update recipe to v5.4
Default version is defined in poky layer, this commit also modifies
the preferred version to match with the new one.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-05-04 15:09:37 +02:00
Arturo Buzarra 5a8cb53d20 zeus migration: linux-dey: update linux kernel to v5.4
Remove support to kernel v4.14 and move platforms to use the new
kernel v5.4

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-05-04 15:09:37 +02:00
Arturo Buzarra 185898e80e zeus migration: ccimx8x: update MACHINEOVERRIDES removing DX variants
https://jira.digi.com/browse/DEL-7013

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-04-28 11:30:26 +02:00
Gonzalo Ruiz 4b6d1a2c09 trustfence: Add U-Boot sign support for ccimx8mn
Add Trustfence support for signing imx-boot images:
- Install a different U-Boot signing script for images with U-Boot SPL.
- Store mkimage log for later use in the signing script
- make 'print_hab_log' and store its log for later use in the signing script

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

Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2020-04-08 14:23:18 +02:00
Hector Palacios 098707b92a uboot: add install_linux_fw_uuu.sh script for ccimx8mn
Signed-off-by: Hector Palacios <hector.palacios@digi.com>

https://jira.digi.com/browse/DEL-6845
2020-03-10 13:04:09 +01:00
Mike Engel e550d82c77 meta-digi-arm: uboot: Add firmware install script using fastboot support.
This commit adds a installation script that uses fastboot support to
update the target firmware.

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

https://jira.digi.com/browse/DEL-6845
2020-03-10 10:38:59 +01:00
Hector Bujanda f14d79f5a6 xbee-init: script updated to use libgpiod tools
Additionally:
   - The handling of gpios has been swapped so 'Set low XBEE_SLEEP_RQ' is done
 before 'Power cycle XBEE_RESET_N' to assure the device doesn't enter sleep mode.
   - Removed ExecStop entry from systemd service since it's doing nothing.

https://jira.digi.com/browse/DEL-6424
https://jira.digi.com/browse/DEL-6423

Signed-off-by: Hector Bujanda <hector.bujanda@digi.com>
2020-03-09 12:50:22 +01:00
Hector Palacios 6c9341bd8a trustfence: disable environment encryption for CC8X
Environment encryption is not yet supported in U-Boot.
Unset TRUSTFENCE_ENCRYPT_ENVIRONMENT on the machine configuration
and remove the platform conditional on the class.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2020-02-12 18:50:19 +01:00
Hector Palacios 8320168821 trustfence: homogenize SIGN_MODE variables
* prefix TRUSTFENCE_ to variable SIGN_MODE for DEY
* prefix CONFIG_ to variable SIGN_MODE for script

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2020-02-12 18:50:19 +01:00
Mike Engel 5beec04b6a trustfence: Add Trustfence support for CCMX8X
This commit adds Trustfence support for the CCMX8X
platform.

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

https://jira.digi.com/browse/DEL-6917
2020-02-04 12:20:38 +01:00
Mike Engel 31d8ff94fe meta-digi-arm: u-boot: Update recipes with new u-boot version
This commit updates the recipes to use the new u-boot version.

Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2020-02-04 12:20:38 +01:00
Javier Viguera 571e4a521b ccimx8x-sbc-express: add XBee TTY device
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2020-01-24 13:19:36 +01:00
Hector Bujanda c005b004ae ccimx8mn-dvk: fix SERIAL_CONSOLES to ttymxc0
The ccimx8mn console is on ttymxc0 (uart1 thanks to aliases).

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

Signed-off-by: Hector Bujanda <hector.bujanda@digi.com>
2020-01-23 15:04:21 +01:00
Gabriel Valcazar 30b0db051a ccimx8mn-dvk: add both XBee interfaces to the xbee-init script
Now that xbee-init supports multiple interfaces, add the XBee Cellular
GPIOs to the already existing XBee User ones to it so it can handle both
of them on the ccimx8mn DVK.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-01-22 12:48:55 +01:00
Gabriel Valcazar acdcaf5a45 imx-digi-base: sync with meta-fsl-bsp-release branch sumo-4.14.98-2.3.0
Update the values of the MACHINE_SOCARCH_FILTER variable with the ones in
meta-fsl-bsp-release's imx-base.inc.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-01-16 13:27:54 +01:00
Javier Viguera c959a88393 udev-extraconf: create /dev/ttyXBee symlink to XBee uart
https://jira.digi.com/browse/DEL-6903

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2020-01-15 18:05:48 +01:00
Arturo Buzarra 9da5aac063 firmware-imx: remove custom do_deploy support to use upstream version
For the i.MX8M processors, the do_deploy support is provided by
the upstream recipe firmware-imx-8m.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-01-10 13:37:39 +01:00
Arturo Buzarra d394091a1b meta-digi-arm: ccimx8x: unify kernel defconfig for i.MX8 platforms
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-01-10 13:37:39 +01:00
Arturo Buzarra d430cc3bab recovery-initramfs: generalize recipe to avoid redefinitions
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-01-10 13:36:21 +01:00
Arturo Buzarra 6d23ee1fe7 hostapd: generalize recipe to reduce the overhead when adding a new platform
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-01-10 13:21:27 +01:00
Arturo Buzarra f81982571c bluez5: unify config file for all platforms
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-01-10 11:51:58 +01:00
Arturo Buzarra 017c2d0964 wpa_supplicant: unify config file for all platforms
WPA and P2P configuration files are basically the same between all
platforms, so we remove all duplicated files to use a common file
and modify it in the recipe logic.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-01-10 11:48:11 +01:00
Arturo Buzarra 580317486e meta-digi-arm: add support for ConnectCore 8M Nano DVK platform
https://jira.digi.com/browse/DEL-6806

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-01-10 11:31:27 +01:00
Hector Palacios e09c58f85b Merge branch 'dey-2.6/master' into dey-2.6/maint
Signed-off-by: Hector Palacios <hector.palacios@digi.com>

https://jira.digi.com/browse/DEL-6640
2019-09-03 13:17:56 +02:00
Arturo Buzarra 1d68514a50 packagegroup-dey-core: add pciutils package for platforms that support PCI
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-07-16 16:38:28 +02:00
Alex Gonzalez 471d8ad583 meta-digi-arm: ccimx6ul: Remove wifi machine feature for mainline bsp use.
The meta-freescale-3rdparty layer used for the mainline bsp support does
not support the WiFi interface on thud. WiFi is currently merged on master
so it will probably be available on Zeus (2.8).

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2019-07-12 18:12:24 +02:00