Commit Graph

1106 Commits

Author SHA1 Message Date
Hector Palacios eafa8684a3 imx-gpu-viv: remove GPU driver kernel module and dependencies
The driver now builds directly from the kernel source and the
fixes are already included in the kernel tree so there is no need
to build the module externally.

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

https://jira.digi.com/browse/DEL-6460
(cherry picked from commit a0990a7e1dcd03af239efb620b83b7dee126484e)
2019-02-26 10:21:30 +01:00
Gabriel Valcazar 2d2f9fcbb0 ccimx8x: explicitly set VIRTUAL-RUNTIME_initsctiprs to "initscripts"
In Yocto 2.6, this variable is null whenever systemd is enabled. Explicitly set
this variable to keep some necessary scripts in /etc/init.d.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-02-18 18:01:57 +01:00
Gabriel Valcazar 97e762fe9f ccimx8x: enable systemd by default
Also, remove sysvinit and add pam, which is needed by weston+systemd.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-02-18 18:01:57 +01:00
Arturo Buzarra 47eb2ce646 u-boot: fix patch to unlock emmc boot partitions
Fix write operation by moving the re-lock of the mmc partition
after performing the system synchronization, if not the mmc
driver throws read-only errors. Also, improved the code
to avoid compilation warnings because the return values were
not managed in write operations.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-02-15 14:36:27 +01:00
Arturo Buzarra 7a358fc25f u-boot: remove unnecessary patches for Digi platforms
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-02-15 14:27:05 +01:00
Gabriel Valcazar 8e4e77f200 imx-atf: remove our .bb file and add a .bbappend
Bitbake was using the imx-atf recipe inside of meta-freescale instead of ours.
Said recipe was compiling a different tag, causing our kernel to stop loading
when using our generated imx-boot images.

Remove our .bb file and add a .bbappend that changes the source code revision
to the tag compatible with the rest of the imx-boot files.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-02-11 17:14:28 +01:00
Arturo Buzarra e508231683 thud migration: u-boot: remove kernel image type from device tree files
Device tree file names won't have the kernel image type like a
prefix anymore, since thud uses the original file names.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-02-08 12:13:11 +01:00
Arturo Buzarra 13c316db25 thud migration: image_types_digi: fix DTB file names to generate boot images
Device tree names don't use KERNEL_IMAGETYPE as a prefix anymore,
since in this version, there are different variable names to generate
device tree files.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-02-07 13:32:54 +01:00
Arturo Buzarra b90068bc8e thud migration: linux-dey: replace old variable name
KERNEL_IMAGE_BASE_NAME was replaced by KERNEL_IMAGE_NAME for
consistency between variable names.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-02-07 11:30:19 +01:00
Arturo Buzarra 3716f50825 thud migration: remove cryptoauth-openssl-engine from machine configuration
cryptoauth-openssl-engine is not compatible with OpenSSL v1.1.x, until
it will be supported, we disable it.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-02-06 09:51:51 +01:00
Arturo Buzarra 3980c84605 ccimx8x: move Atmel CryptoAuth library and engine to SOM file
The cryptochip is a device included in the SOM, it is not
platform dependant.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-02-06 09:51:51 +01:00
Arturo Buzarra 673398c0d5 thud migration: dtc: use version 1.4.5 to maintain compatibility with U-Boot 2017.X
https://jira.digi.com/browse/DEL-6412

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-02-04 16:52:43 +01:00
Arturo Buzarra d5ba4e54e9 thud migration: update meta-digi LAYERSERIES_COMPAT to indicate support with "thud" release
https://jira.digi.com/browse/DEL-6412

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-02-04 14:59:46 +01:00
Hector Palacios 500d9d0481 machine: add firmware-imx-sdma for i.MX6 and i.MX8 platforms
The SDMA firmware does no longer live inside the kernel tree.
It must now be installed on the rootfs.

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

https://jira.digi.com/browse/DEL-6420
2019-01-30 11:23:06 +01:00
Arturo Buzarra 7122f5fef1 u-boot-dey: remove gcc patch for python binary
This patch is not longer needed because it was integrated
in the U-Boot source code.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-01-22 14:06:28 +01:00
Gabriel Valcazar 6a4d40ceca imx-boot: remove u-boot-hash.bin between build iterations
This is a new intermediate file that will be reused in every iteration if it's
not removed, causing all imx-boot images to have the same U-Boot binary.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-01-16 11:31:00 +01:00
Gabriel Valcazar ddc71f77bc imx-m4-demos: update to 2.5.1
Even though these demos aren't essential, they're needed for the imx-boot
build, and the demos' file names have changes from one version to another,
causing build errors. By updating the recipe, the errors no longer happen.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-01-16 11:31:00 +01:00
Gabriel Valcazar 70d914c901 digi-sc-firmware: update to v1.1
Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-01-16 11:31:00 +01:00
Gabriel Valcazar c0497cc651 imx-boot: update recipe to match the one in NXP's layer
While on it, clean up the recipe by removing dead code

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-01-16 11:31:00 +01:00
Arturo Buzarra 7e9b9f7704 sumo migration: linux-dey: update kernel to v4.14
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-01-16 11:31:00 +01:00
Arturo Buzarra 40b9db221e sumo migration: Replaced kernel with ${KERNEL_PACKAGE_NAME}
new version allows building multiple flavors of the kernel and
module packages by templatizing kernel package names via a new
KERNEL_PACKAGE_NAME variable in kernel.bbclass.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-01-16 11:31:00 +01:00
Arturo Buzarra aa2b3ca20f bsp: update imx-mkimage recipe
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-01-16 11:31:00 +01:00
Arturo Buzarra bb59ed593e bsp: update firmware-imx recipe to version 8.0
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-01-16 11:31:00 +01:00
Arturo Buzarra 39dd1bf9d9 bsp: update imx-atf recipe to version 1.5
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-01-16 11:31:00 +01:00
Arturo Buzarra 5093060199 sumo migration: update GPU driver and apps to v6.2.4.p2.3
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-01-16 11:31:00 +01:00
Arturo Buzarra 303106cce1 sumo migration: use pkg_postinst_ontarget() to delayed operation on first boot
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-01-16 11:31:00 +01:00
Arturo Buzarra ee8c67ea66 u-boot: move forward the u-boot version 2017.03
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-01-11 13:26:44 +01:00
Arturo Buzarra 5eb88b8c5d sumo migration: meta-digi: replace the deprecated base_conditional function
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-01-11 13:26:44 +01:00
Arturo Buzarra 771bc38b4f sumo migration: meta-digi: add LAYERSERIES_COMPAT to indicate support with "sumo" core release
In 92c49b9b1a16dfd35444db8143bd4cae4cda70cc was introduced the LAYERSERIES_CORENAMES
and LAYERSERIES_COMPAT_<layername> with the intention of allowing layers
to indicate which versions of the core project they're compatible with.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-01-11 13:26:44 +01:00
Hector Palacios 0bf8936a73 qca6574: add Bluetooth firmware files from r10005.1 tag
Up to now, the ConnectCore 8X was using the Bluetooth firmware
files from model QCA6564 r110059.1.
This commit adds the firmware files from repo 'qca6574au-le-2-2-1_qca_oem'
at tag r10005.1:

  nvm_tlv_3.2.bin: 3de46ea023570b86cabb9502b92a1fed
   based on MD5SUM a97cdfe80e8109cf3574f74cd3c73fc7 but changed
   byte 0x36 (decimal 54) to 0x02 (IBS)

  rampatch_tlv_3.2.tlv: e8cdb0260615e02bd21c3b3fcaf832eb

The recipe has changed to use the variable QCA_MODEL and each firmware
has moved to a folder of its own.

While on it, remove old Bluetooth firmware files 3.0 which were
not used.

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

https://jira.digi.com/browse/DEL-6218
2019-01-10 16:15:07 +01:00
Hector Palacios c6a1dbe80c firmware-qualcomm: update qca6574 proprietary fw to r10005.1
Latest release r10005.1 updates the following files from qca6574au-le-2-2-1_qca_oem
repo at meta_build/firmware/pcie/:

 - qwlan30.bin	-> qwlan30.bin	(b94b58ee95ae8891623833af4d684216)
 - utf30.bin	-> utf.bin	(d0b35881991978824c60716733282760)

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

https://jira.digi.com/browse/DEL-6218
2019-01-10 16:15:07 +01:00
Alex Gonzalez 402a222d64 meta-digi-arm: linux: use-mainline-bsp: Update to v4.20.y
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2019-01-10 10:04:19 +01:00
Gabriel Valcazar 055c333c5e Merge tag 'dey-2.4-r2.2' into dey-2.4/master
Digi Embedded Yocto 2.4-r2.2

Manually changed recipes to use the master branches instead of the fixed SHA1
from the last release.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-01-04 12:01:20 +01:00
Mike Engel 943bd218ea meta-digi: update revisions for dey-2.4-r2.2
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2018-12-13 16:35:08 +01:00
Gabriel Valcazar eaf2a9b7ea u-boot-dey: have the v2017.03 recipe create additional symlinks
Without these symlinks, U-Boot images will be left out of the installer .zip
file. Unlike the v2015.04 recipe, the default symlinks aren't removed, because
they're needed in the imx-boot recipe for the ccimx8x.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2018-12-10 17:36:32 +01:00
Mike Engel dd5ba676ff meta-digi: revert revisions to AUTOREV
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2018-12-04 16:45:01 +01:00
Mike Engel 29d7aa0c41 meta-digi: update revisions for dey-2.4-r2.1
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2018-12-04 16:45:01 +01:00
Gabriel Valcazar d9e53bdc23 digi-sc-firmware: change version number to v1.0
This is only a cosmetic change to break away from NXP's versioning and use our
own from now on.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2018-11-30 16:06:14 +01:00
Gabriel Valcazar b16a7db8a4 ccimx6sbc: add support for variant 0x15
New ccimx6 variant:

    * Dual-lite industrial, 800MHz
    * 4GB eMMC,
    * 1GB DDR3,
    * Temp grade: -40/+85C

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2018-11-29 13:03:42 +01:00
Hector Palacios 171dd4489e Merge branch 'dey-2.4/master' into dey-2.4/maint
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2018-11-21 17:47:50 +01:00
Gabriel Valcazar f0adfce98d digi-sc-firmware: update checksums for the newer 0.7 version of the firmware
Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2018-11-21 16:30:46 +01:00
Hector Bujanda d742339ebb mca_tool: update checksums for build 1.15
Collects following changes:
   - Added tamper support for cc8x.

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

Signed-off-by: Hector Bujanda <hector.bujanda@digi.com>
2018-11-14 17:36:27 +01:00
Gabriel Valcazar 49f1c40f6a imx-sc-firmware: rename to digi-sc-firmware
This reflects the fact that the firmware is customized for Digi platforms. The
versioning still follows the one used by NXP in their recipe.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2018-11-14 17:03:41 +01:00
Gabriel Valcazar 6f700ff19b imx-sc-firmware: update checksums
https://jira.digi.com/browse/DEL-6158

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2018-11-14 17:03:41 +01:00
Gabriel Valcazar 352dc3dd38 ccimx8x: add VPU encoder and decoder firmware
https://jira.digi.com/browse/DEL-6158

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2018-11-14 17:03:41 +01:00
Gabriel Valcazar 577302650d imx-boot: remove DCD patches
These patches were originally introduced in the recipe because the DCD files
were needed by mkimage to create the final imx-boot binaries. Now they are
in the SCFW source code instead.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2018-11-14 17:03:41 +01:00
Gabriel Valcazar 17b054059d imx-boot: add coreutils-native as a dependency for the ccimx8x
The "sha384sum" tool included in the coreutils package is needed by mkimage
when creating the imx-boot image.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2018-11-14 17:03:41 +01:00
Gabriel Valcazar 7f076d951b ccimx8x: modify BOOTLOADER_SEEK value for step B0 of the silicon
This breaks support for step A0 of the i.MX8X die.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2018-11-14 17:03:41 +01:00
Gabriel Valcazar 302f9208fb imx-boot: change order of mkimage targets
Otherwise, the default imx-boot images will include the Cortex M4 demo.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2018-11-14 17:03:41 +01:00
Gabriel Valcazar f8ba05d065 imx-boot, imx-sc-firmware: adapt recipes for step B0 of the i.MX8X CPU
These adaptations include changing the mkimage targets and removing any
handling of the DCD files, since they are now included in the SCFW. Note that
these changes break support for step A0 of the silicon.

The md5sum of the imx-sc-firmware tarball will be updated once the step B0 CPUs
are ready.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2018-11-14 17:03:41 +01:00