Commit Graph

964 Commits

Author SHA1 Message Date
Hector Palacios 8af8817796 u-boot: add support for U-Boot v2017.03
This adds support for U-Boot v2017.03 for all platforms (including CC8X).

For legacy v2015.04:
  - Renames u-boot.inc as a versioned file only for v2015.04.
  - Moves boot/install scripts from versioned folder into non-versioned
    folder (since the scripts remain the same between versions).

For new v2017.03:
  - Re-uses poky's u-boot.inc in rocko for v2017.03
  - DEY recipe re-writes the do_compile for special U-Boot configuration
    required for TrustFence.
  - DEY recipe appends the do_deploy, for U-Boot scripts and deploy of
    special TrustFence artifacts.
  - Adds u-boot-dtb.xxx to UBOOT_CONFIG, required for new U-Boots.
  - Adds CC8X scripts.

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

https://jira.digi.com/browse/DEL-5936
2018-05-31 12:06:37 +02:00
Hector Palacios d981f999f0 meta-digi-arm: add support for ccimx8x SBC Express platform
Add initial support for Digi ConnectCore 8X SBC Express.
- ccimx6qp was used as reference machine from meta-digi.
- imx8qxpmek was used as a reference machine from meta-fsl-bsp-release.

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

https://jira.digi.com/browse/DEL-5936
2018-05-28 18:37:56 +02:00
Gabriel Valcazar d08f067e12 recipes-digi: add cryptoauth-openssl-engine
https://jira.digi.com/browse/DEL-5592

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2018-05-09 09:16:00 +02:00
hbujanda 58bbd78efe ccimx6ulstarter/sbc: add support for variant 0x05
Variant 0x05 is a non-wireless with 1 GiB DDR3

boot.txt: Select zImage-imx6ul-ccimx6ulsbc.dtb fdt_file.
install_linux_fw_sd: Use u-boot-ccimx6ulsbc1GB.imx bootloader.

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

https://jira.digi.com/browse/DEL-5684
2018-04-12 12:13:50 +02:00
Gabriel Valcazar 4c6689a2f8 cryptoauthlib: add new cryptochip-cmd-processor test app
https://jira.digi.com/browse/DEL-5763

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2018-02-26 11:54:02 +01:00
Gabriel Valcazar 674751e268 cryptoauthlib: remove internal stash repository SRC_URI
We are going to remove this repo, so the sources will always be fetched from
the official Microchip repo from now on.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2018-02-23 16:24:12 +01:00
Arturo Buzarra 71e8195f92 meta-digi-arm: firmware-qualcomm: Add WiFi US board data file for cc6plus
The new bdf has the following checksum:

1a3c35a7938c1a1a1aeed9c4de693e41  bdwlan30_US.bin

Details at:
https://confluence.digi.com/pages/viewpage.action?pageId=148408337

https://jira.digi.com/browse/CC6PLUS-82

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2018-02-23 11:26:24 +01:00
Isaac Hermida 3400d7ce82 cryptoauthlib: install crypto libraries
Install crypto libraries in the rootfs so external applications can made use
of them.
Reworked first patch with all the needed port changes.

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

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2018-02-23 09:48:21 +01:00
Arturo Buzarra c8a0d60f7a linux-dey-4.9: ccimx6ul: sync defconfig
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2018-02-22 09:18:09 +01:00
Gabriel Valcazar 8273b38272 recipes-digi: cryptoauthlib: use new standalone repo
Make SRC_URI point to Microchip's standalone repo of the cryptoauth library,
add our customization patches and modify the license variables to point to the
new Microchip license file.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2018-02-21 16:18:30 +01:00
Gonzalo Ruiz 8b610ea212 install_linux_fw_sd: Removed hard-coded SD partition index
Under certain circumstances I was able to create a microSD card with
the FAT file system but corrupt partition table like this one:

Device      Boot      Start        End    Sectors   Size Id Type
/dev/sdf1p1       778135908 1919645538 1141509631 544,3G 72 unknown
/dev/sdf1p2       168689522 2104717761 1936028240 923,2G 65 Novell Netware 386
/dev/sdf1p3      1869881465 3805909656 1936028192 923,2G 79 unknown
/dev/sdf1p4      2885681152 2885736650      55499  27,1M  d unknown

Specifying the partition index made the install script to fail, but
not specifying it makes it work, although it also falls back to use
the first partition in the table.

Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2018-02-20 17:01:50 +01:00
Javier Viguera c5fb8d61b0 cryptoauthlib: fix GitHub repository URL
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2018-02-15 13:02:26 +01:00
Arturo Buzarra dcbce7ab9c mca_tool: update checksums for build 1.12
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2018-02-13 17:27:16 +01:00
Jose Diaz de Grenu b112f0510e trustfence-sign-tools: add missing dependency
util-linux is needed as the scripts use 'hexdump'. In previous versions
of Yocto the tool from the host was used, but this has been fixed in
Yocto 2.3

Also fix the other dependencies: the -native suffix is not needed nor
correct, as the native and nativesdk classes already map packages in
the DEPENDS variable to the corresponding packages.

Signed-off-by: Jose Diaz de Grenu <Jose.DiazdeGrenu@digi.com>
2018-02-12 12:25:57 +01:00
Javier Viguera 518ccf11ac imx: install 'imx-alsa-plugins' depending on alsa distro feature
This is how it's done for the NXP reference boards in 'meta-freescale'

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2018-02-12 11:01:45 +01:00
Gabriel Valcazar d7413dd551 linux-dey-4.9: sync defconfigs to add Goodix touch driver as built-in
https://jira.digi.com/browse/DEL-5007

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2018-02-09 16:56:18 +01:00
Alex Gonzalez 2ae061cbab meta-digi: Move cryptoauthlib to meta-digi-arm
The MACHINE_EXTRA_RRECOMMENDS for the ccimx6ul in meta-digi-arm contains
cryptoauthlib. If we want to use meta-digi-arm as a standalone BSP layer
we need to move the cryptoauthlib recipe to meta-digi-arm, that or not make it
a machine dependency.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2018-02-02 12:14:33 +01:00
Jose Diaz de Grenu 4895148009 u-boot-fw-utils: fix environment access functions
In the old u-boot-fw-utils 2016.x the function 'fw_env_close' wrote
the environment to the media. That is no longer the case, now that
function only frees the memory used, and 'fw_env_flush' is used
to write the environment.

This was causing that userspace application using this library were not
able to write changes to the environment.

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

Signed-off-by: Jose Diaz de Grenu <Jose.DiazdeGrenu@digi.com>
2018-01-31 13:57:09 +01:00
Jose Diaz de Grenu f3c7f91d90 trustfence-cst: include in SDK
Generate and include the host tools in the SDK when Trustfence is enabled.
This makes it easier to use the standalone signing and encrypting scripts.

Signed-off-by: Jose Diaz de Grenu <Jose.DiazdeGrenu@digi.com>
2018-01-29 18:33:53 +01:00
Arturo Buzarra 314d4c82d6 meta-digi: fix scripts to remove undesired warning ignoring null bytes
Bash v4.4 or higher warns when discarding NULL bytes in command substitution
output. Remove these bytes to avoid the undesired warnings.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2018-01-24 17:59:14 +01:00
Isaac Hermida 02c14f6ac0 usbutils_%.bbappend: remove udev-hwdb recomendation
This allows us to save around 4MiB of space in the rootfs image.
(see commit in poky/meta 71ca295786e35b7be84bfd4bc04e0c3ec0f97cd8)

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

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2018-01-24 17:42:21 +01:00
Hector Palacios 5eb436f152 u-boot-fw-utils: forward port support for dynamic environment
Support for dynamic location of U-Boot environment was added in
commit 2b5017956b. This forward ports
the patch to Yocto 2.4.

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

https://jira.digi.com/browse/DEL-5574
2018-01-22 12:18:48 +01:00
Hector Palacios 02504c6730 ccimx6: default kernel image to zImage
As a side effect, remove U-Boot entry point variable and LOADADDR
extra parameter from the kernel recipe.

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

https://jira.digi.com/browse/DEL-5554
2018-01-18 18:50:18 +01:00
Arturo Buzarra 301597e320 linux-dey: build from 'v4.9/dey-2.4/maint' branch
https://jira.digi.com/browse/DEL-5572

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2018-01-18 16:57:04 +01:00
Jose Diaz de Grenu a41d386204 rocko migration: adapt layer for meta-freescale rocko
Some packages are not updated in meta-freescale/rocko, so we do
need to include some of these.

The patches for gstreamer in the original commit are skipped, as
poky/rocko uses a newer version.

This partially reverts commits:
 * 52a10ff88d.
 * b06c81b277

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

Signed-off-by: Jose Diaz de Grenu <Jose.DiazdeGrenu@digi.com>
2018-01-18 16:29:23 +01:00
Jose Diaz de Grenu 52a10ff88d rocko migration: remove duplicated NXP packages
All these recipes and patches are now available and maintained in the
meta-freescale layer.

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

Signed-off-by: Jose Diaz de Grenu <Jose.DiazdeGrenu@digi.com>
2018-01-12 15:59:15 +01:00
Jose Diaz de Grenu 0307d0c975 rocko migration: u-boot-fw-utils: update patches
Pending to update the patch for dynamic environment location in NAND.

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

Signed-off-by: Jose Diaz de Grenu <Jose.DiazdeGrenu@digi.com>
2018-01-12 15:59:13 +01:00
Jose Diaz de Grenu 2c39f48c51 rocko migration: cryptodev: remove patch
Cryptodev has been updated to version 1.9 and the patch is no longer
needed.

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

Signed-off-by: Jose Diaz de Grenu <Jose.DiazdeGrenu@digi.com>
2018-01-12 15:59:13 +01:00
Jose Diaz de Grenu 28cbfa966d rocko migration: remove imx-gpu-viv kernel module
This kernel module was only used with old kernels.

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

Signed-off-by: Jose Diaz de Grenu <Jose.DiazdeGrenu@digi.com>
2018-01-12 15:59:12 +01:00
Jose Diaz de Grenu 7416361505 rocko migration: remove rng-tools
This tool was only needed for old kernels, newer kernels use the hardware
random number generator themselves.

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

Signed-off-by: Jose Diaz de Grenu <Jose.DiazdeGrenu@digi.com>
2018-01-12 15:59:12 +01:00
Jose Diaz de Grenu f65b736bb0 rocko migration: remove support for old kernels
ConnectCore 6 and ConnectCore 6 UL are now supported in kernel v4.9.

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

Signed-off-by: Jose Diaz de Grenu <Jose.DiazdeGrenu@digi.com>
2018-01-12 15:59:11 +01:00
Jose Diaz de Grenu 75d235d0bf rocko migration: linux: update ConnectCore6 to v4.9
Also update vivante driver and graphic components.

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

Signed-off-by: Jose Diaz de Grenu <Jose.DiazdeGrenu@digi.com>
2018-01-12 15:59:11 +01:00
Jose Diaz de Grenu e2cfd14824 rocko migration: remove linux-dtb includes
This functionality is automatically enabled for any recipe that inherits
the kernel class.

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

Signed-off-by: Jose Diaz de Grenu <Jose.DiazdeGrenu@digi.com>
2018-01-12 15:59:10 +01:00
Jose Diaz de Grenu 8a81b2cb25 rocko migration: trustfence: fix dependencies
https://jira.digi.com/browse/DEL-5518

Signed-off-by: Jose Diaz de Grenu <Jose.DiazdeGrenu@digi.com>
2018-01-12 15:59:04 +01:00
Jose Diaz de Grenu ebc927b220 rocko migration: adapt trustfence conversion
https://jira.digi.com/browse/DEL-5518

Signed-off-by: Jose Diaz de Grenu <Jose.DiazdeGrenu@digi.com>
2018-01-09 11:33:19 +01:00
Jose Diaz de Grenu 203dc44300 rocko migration: add missing dependency for 'truncate'
Signed-off-by: Jose Diaz de Grenu <Jose.DiazdeGrenu@digi.com>
2018-01-05 14:08:23 +01:00
Jose Diaz de Grenu 199e48d635 rocko migration: adapt dependencies for images
As per Yocto 2.4, do_image_<type>[depends] has replaced IMAGE_DEPENDS_<type>.

The previous trick to propagate *boot* dependencies from *boot.[vfat|ubifs]*
is no longer needed.

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

Signed-off-by: Jose Diaz de Grenu <Jose.DiazdeGrenu@digi.com>
2018-01-05 14:08:05 +01:00
Jose Diaz de Grenu d7657ee0c6 linux-dey-4.9: sync defconfigs
Signed-off-by: Jose Diaz de Grenu <Jose.DiazdeGrenu@digi.com>
2017-12-21 17:56:39 +01:00
Hector Palacios df41b20efc Revert "linux-dey: build from 'v4.9/dey-2.2/maint' branch"
Build back from master branch.

This reverts commit 64c9227cfe.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2017-11-30 13:28:01 +01:00
David Escalona b55a37b7ef ccimx6sbc/ul: synchronize kernel v4.1 defconfig
Signed-off-by: David Escalona <david.escalona@digi.com>
2017-11-27 13:34:32 +01:00
Jose Diaz de Grenu 0b7da46eb0 trustfence-cst: avoid warnings about cst tarball
When parsing the recipe, a warning is shown because the tarball is only found
in the downloads folder. However this is expected as it cannot be distributed.

As a workaround, add the tarball to the SRC_URI variable only when Trustfence
is active. That way the warning is not shown in all other cases.

This was incorrectly removed in commit 14fc51147f.

Signed-off-by: Jose Diaz de Grenu <Jose.DiazdeGrenu@digi.com>
2017-11-24 17:26:20 +01:00
Jose Diaz de Grenu 14fc51147f trustfence-cst: add support for CST 2.3.3
https://jira.digi.com/browse/DEL-5337

Signed-off-by: Jose Diaz de Grenu <Jose.DiazdeGrenu@digi.com>
2017-11-23 14:15:14 +01:00
Hector Palacios f94533e137 ccimx6ulsbc: add support for SBC Pro board ID=136
Signed-off-by: Hector Palacios <hector.palacios@digi.com>

https://jira.digi.com/browse/DUB-769
2017-11-22 13:37:40 +01:00
Hector Palacios 5d18ee6731 ccimx6/ccimx6ul: default kernel image to zImage, except for CC6
U-Boot has been able to boot kernel zImage for a long time so make this
the default kernel image.
For the CC6 we still want to use uImage for compatibility reasons.

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

https://jira.digi.com/browse/DEL-5237
2017-11-21 10:14:39 +01:00
Arturo Buzarra faabf6ebbb udev-extraconf: add rule not to autoload spidev module
Prevents loading the spidev module at boot time to avoid
the undesired warning message from driver.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2017-11-17 15:57:03 +01:00
Arturo Buzarra 557bf97081 ccimx6ul/ccimx6qp: synchronize kernel v4.9 defconfig
https://jira.digi.com/browse/DEL-4748

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2017-11-15 18:01:15 +01:00
Hector Palacios 64c9227cfe linux-dey: build from 'v4.9/dey-2.2/maint' branch
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2017-11-13 09:59:48 +01:00
Sebastian Pastor 23f36d558f linux-dey-4.9: ccimx6qpsbc: sync defconfig
Signed-off-by: Sebastian Pastor <sebastian.pastor@digi.com>
https://jira.digi.com/browse/DEL-5272
2017-11-07 15:46:02 +01:00
Arturo Buzarra b9440ff590 firmware-imx: upgrade VPU firmware to v6.0
https://jira.digi.com/browse/DEL-5234

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2017-11-03 15:08:09 +01:00
Arturo Buzarra a4f33b85b4 imx-vpu: upgrade VPU library to v5.4.37
https://jira.digi.com/browse/DEL-5234

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2017-11-03 15:08:09 +01:00