Commit Graph

2964 Commits

Author SHA1 Message Date
Mike Engel 258b197dcf recipes-multimedia: imx-parser: Update to new NXP BSP release imx-5.4.24-2.1.0.
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2020-07-15 12:00:53 +02:00
Mike Engel 421ffdd434 recipes-multimedia: imx-codec: Update to new NXP BSP release imx-5.4.24-2.1.0.
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2020-07-15 12:00:53 +02:00
Mike Engel 20fd7d8561 recipes-multimedia: alsa: Update to new NXP BSP release imx-5.4.24-2.1.0.
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2020-07-15 12:00:53 +02:00
Mike Engel b6a63cb606 recipes-graphics: mesa: Update to new NXP BSP release imx-5.4.24-2.1.0.
This commit removes the mesa-gl_%.bbappend file because that latest version
of the recipe is available in the zeus branch of meta-freescale.

Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2020-07-15 12:00:53 +02:00
Mike Engel 7c60547a8b recipes-graphics: xorg-server: Update to new NXP BSP release imx-5.2.24-2.1.0.
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2020-07-15 12:00:53 +02:00
Mike Engel aeb8042efa recipes-bsp: imx-seco Update to new NXP BSP release imx-5.4.24-2.1.0.
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2020-07-15 12:00:53 +02:00
Mike Engel 284563b71c recipes-bsp: imx-mkimage Update to latest NXP release.
This commit updates to the NXP imx-5.4.24-2.1.0 BSP.

Including following changes

In M4 MCUX SDK 2.8.0, it added PMS demo for CM40 to support Partition
reboot feature besides rpmsg pingpong. So change the m40 default image
to imx8qm_m4_0_TCM_power_mode_switch_m40.bin

Build i.MX 8DXL flash_linux_m4 with V2X off
Use option V2X=NO to switch V2X off.

Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2020-07-15 12:00:53 +02:00
Mike Engel 98a16a31d6 recipes-bsp: imx-aft: Update recipes to new BSP release imx-5.4.24-2.1.0.
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2020-07-15 12:00:53 +02:00
Mike Engel 10d610dfad recipes-bsp: firmware-imx: Update to new BSP version imx-5.4.24-2.1.0.
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2020-07-15 12:00:53 +02:00
Hector Palacios c4932093f2 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-15 06:48:25 +02:00
Hector Palacios 9935120fe4 linux-dey: change master branch to newest BSP v5.4.24/master
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2020-07-09 11:31:20 +02:00
Hector Palacios e56f201a57 Merge branch 'dey-3.0/maint' into 'dey-3.0/master'
Merge at commit right after 'dey-3.0-r1.3'.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2020-06-29 16:41:36 +02:00
Gabriel Valcazar 332438f5b7 meta-digi: revert revisions to AUTOREV 2020-06-25 13:08:41 +02:00
Gabriel Valcazar 5ebc893b58 meta-digi: update revisions for dey-3.0-r1.3
Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-06-25 12:15:52 +02:00
Gonzalo Ruiz 45c3f1e0ef imx-boot: ccimx8x: do not sign flash_regression_linux_m4 files
imx-boot files for target flash_regression_linux_m4 fail the signature
process, so skip them while signing the rest of the targets.

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

Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2020-06-22 23:08:09 +02:00
Arturo Buzarra d36bce0ee4 meta-digi: revert revisions to AUTOREV 2020-06-22 17:37:52 +02:00
Arturo Buzarra a75b801e1e meta-digi: update revisions for dey-3.0-r1.2
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-06-22 17:32:28 +02:00
Gonzalo Ruiz 168800c3b5 trustfence-sign-artifact: [cosmetic] bring together DTB parameters
Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2020-06-19 16:29:15 +02:00
Gabriel Valcazar 48f8720a23 recovery-initramfs: register mdev regardless of /proc/sys/kernel/hotplug
Busybox's device manager mdev was originally meant to be set up by writing its
path to /proc/sys/kernel/hotplug before launching it, but that entry no longer
exists in Linux v5.4's procfs and mdev can be launched directly.

Since mdev is the element in the recovery initramfs that is in charge of
mounting all partitions where .swu packages can be found (update partition on
the eMMC/MTD, uSD and USB), checking for the existence of the hotplug entry in
the procfs before launching mdev in v5.4 was preventing the partitions from
being mounted, and causing all software updates to fail.

While at it, move the two second delay to before mdev is launched, so all
partitions can be mounted. Otherwise, some devices such as the USB might not
be ready when mdev is launched, causing its partition to not be mounted.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-06-18 13:43:47 +02:00
Arturo Buzarra b793b3faae meta-digi: revert revisions to AUTOREV 2020-06-16 18:02:42 +02:00
Arturo Buzarra bd8955cd45 meta-digi: update revisions for dey-3.0-r1.1
https://jira.digi.com/browse/DEL-7120

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-06-16 17:49:11 +02:00
Arturo Buzarra 931898968c README: Update dey-3.0-r1 changelog
https://jira.digi.com/browse/DEL-7120

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-06-16 17:49:11 +02:00
Gabriel Valcazar 5ee0b61010 libp11: remove recipe
This recipe was originally ported from the zeus branch of poky into the dey-2.6
meta-digi branch to support the pkcs11 feature in cryptoauthlib. Now that we've
migrated to zeus, the recipe is now duplicated and no longer necessary.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-06-16 12:57:54 +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
Gabriel Valcazar 96c2b2f759 wireless: rework regulatory domain dependencies depending on the platform
Starting with Linux v4.15, regulatory domains are no longer handled via CRDA,
but via the kernel and a flexible database instead. Said database is included
in the wireless-regdb-static package, which conflicts with the old
wireless-regdb package.

To accomodate for this new package, add CRDA as a dependency for ccimx6
platforms only, and incorporate wireless-regdb-static for the rest of the
platforms. Additionally, the ccimx6 kernel should inherit the
kernel_wireless_regdb .bbclass so the plaintext database is copied to the
kernel sources, but since we use the same recipe for all kernel versions and
ccimx6 platforms are not yet supported in zeus, omit this change for now.

Remove the package-base .bbappend, since only ccimx6ulstarter images include
that packagegroup and they require wireless-regdb-static, anyway.

By adding the regulatory database, we avoid delays when going to suspend,
caused by the kernel waiting for the database to appear.

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 be60a8f4e2 firmware-qualcomm: rename pcie UTF firmware file
When loading the wireless driver in test mode, the UTF firmware file
is loaded.

On pcie chips, the UTF file is expected to be named 'utf.bin'.
On sdio chips, the UTF file is expected to be named 'utf30.bin'.

Rename the pcie UTF file to match this requirement.

md5sum
----------------------------------------------------------
qca65X4_pcie:	utf.bin	    ->	41cfb4e50613cd0eeb0fa99a005131bd
qca65X4_sdio:	utf30.bin   ->	4743dee015047752e433e69f4db89974

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

Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2020-06-15 20:10:35 +02:00
Gonzalo Ruiz ea8447ec7f firmware-qualcomm: Add CTL tables to CC8X US BDF
Add Compliance Test Limits (CTL) information for FCC, CE and TELEC
certifications to the CC8X US Board Data File.

The rest of the file (calibration, target power levels, etc.) remains
intact.

Updated file:

- bdwlan30_US.bin (MD5SUM: 100a982b33b4a2cfeb34cdea794dc6d6)

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

Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2020-06-15 20:10:35 +02:00
Gonzalo Ruiz 82157675d8 trustfence-sign-artifact: ccimx8x: preserve original image
Perform AHAB signing process without altering the original file.

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

Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2020-06-15 20:06:00 +02:00
Gonzalo Ruiz 7143ea9534 trustfence: use correct u-boot image for sdcard
When the Bootloader is an 'u-boot' select the correct u-boot
signed image to compose the sdcard artifact.

Signed u-boot artifacts start with 'u-boot-dtb-signed-'.

Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2020-06-15 20:06:00 +02:00
Gonzalo Ruiz e8f721a0b2 trustfence: use correct imx-boot image for sdcard
When the Bootloader is an 'imx-boot', select the correct imx-boot
signed image to compose the sdcard artifact.

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

Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2020-06-15 20:05:40 +02:00
Gonzalo Ruiz d88969aac2 imx-boot: sign images for every target in IMXBOOT_TARGETS
https://jira.digi.com/browse/DEL-7024

Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2020-06-15 16:37:46 +02:00
Gonzalo Ruiz b6edb0076f imx-boot: add 'signed' to the signed images prefix
Signed imx-boot files had the '-signed' appended at the end of the file.
Add it after the file prefix instead, so it is easier to replace using an
unsigned file for a signed one just by changing the file prefix.

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

Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2020-06-15 16:34:23 +02:00
Gonzalo Ruiz 09991407df imx-mkimage: fix compilation issue for nativesdk builds
The '-fmacro-prefix' option is a new GCC option introduced in gcc version 8.

To keep compatibility with previous GCC versions, remove this option from
the DEBUG_PREFIX_MAP list so nativesdk builds are able to compile this recipe.

Following is the compilation issue avoided by this patch:

| gcc: error: unrecognized command line option ‘-fmacro-prefix-map=<yocto-workspace>/tmp/work/x86_64-nativesdk-deysdk-linux/nativesdk-imx-mkimage/git-r0=/usr/src/debug/nativesdk-imx-mkimage/git-r0’

Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2020-06-15 16:17:07 +02:00
Gonzalo Ruiz 25738b4ac5 imx-mkimage: remove legacy native configurations
This recipe is now built as native and nativesdk by means of the
BBCLASSEXTEND configuration.

Remove every remaining legacy native configuration since all will be covered
by the class extension.

Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2020-06-12 11:49:38 +02:00
Gabriel Valcazar 95e7f61f33 firmware-imx: add custom sdma-firmware service for the ccimx8mn-dvk
This service is the same as the one provided by NXP, but with altered
dependencies. Start it before the kernel modules are loaded so the firmware is
ready by the time the mcp25xxfd module is loaded.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-06-08 17:08:42 +02:00
Arturo Buzarra ec0cf65c8e qtbase: remove i.MX8MN patches because it was fixed in meta-freescale layer
Revert partially commit 1fb65f08 ("qtbase: apply imxgpu2d patches to imx8mn
platforms as well"), since it was fixed in meta-freescale layer in the commit
626e271b ("qtbase: Add i.MX 8 configuration")

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-06-08 12:47:34 +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 38d95cf361 trustfence: add support to sign/encrypt DTB overlays
https://jira.digi.com/browse/DEL-7024

Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2020-06-04 19:01:34 +02:00
Gonzalo Ruiz 283e6b0638 trustfence-sign-artifact: set CONFIG_CSF_SIZE to 0x2000 for ccimx8mn
https://jira.digi.com/browse/DEL-7024

Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2020-06-04 19:01:34 +02:00
Gonzalo Ruiz 98abd4bc28 trustfence-sign-artifact: add support for ccimx8mn signing
LINUX_ARM64 images include the padding length in the size property of
their header, so for these images read the header size property instead
of calculating it with 'stat'.

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

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
Gonzalo Ruiz 02646996b9 imx-boot: add dtbs parameter to print_fit_hab build
https://jira.digi.com/browse/DEL-7024

Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2020-06-04 19:01:34 +02:00
Gonzalo Ruiz 5b23f09622 trustfence-sign-artifact: verify CONFIG_SIGN_MODE argument is set
If CONFIG_SIGN_MODE is unset, we were assuming the sign mode to be AHAB
whereas it is preferable to abort the signing process and notify with an
error message.

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

Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2020-06-04 19:01:34 +02:00
Gonzalo Ruiz 9b4a03c14c trustfence: [cosmetic] rename script to trustfence-sign-artifact
The signing script is used for signing multiple artifacts, not just the
kernel, so rename it for a broader use.

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

Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2020-06-04 19:01:34 +02:00
Gonzalo Ruiz ae98d49748 linux-dey: simplify trustfence signing process
Signing with AHAB mode only requires an additional prior step, so
reuse as much code as possible.

Also, for Image.gz images, sign the uncompressed Image and later
compress the result.

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

Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2020-06-04 19:01:34 +02:00
Gonzalo Ruiz ce979e9323 u-boot-dey: simplify trustfence signing process
Signing with AHAB mode only requires an additional prior step, so
reuse as much code as possible.

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

Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2020-06-04 19:01:34 +02:00
Gonzalo Ruiz 1a600bcded u-boot-dey: allow bootscript signing for ccimx8mn
TRUSTFENCE_SIGN_MODE for ccimx8mn is "HAB", although the
BOOTLOADER_IMAGE_RECIPE is "imx-boot".

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 8af14c257e digi-sc-firmware: update to v1.4.0.3
This adds support to configure the PF8100/PF8200 PMIC via Linux

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-06-04 13:58:31 +02:00
Arturo Buzarra c6a1fb6881 build.sh: add support to use an external downloads dir
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-06-04 08:53:15 +02:00