Commit Graph

2467 Commits

Author SHA1 Message Date
Mike Engel 915f703c0e README: update release information
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2018-12-04 15:56:41 +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
fgilmar 755892a33c AWS Greengrass: add new recipe for AWS Greengrass core 1.7.0
Signed-off-by: fgilmar <francisco.gilmartinez@digi.com>
2018-11-30 10:52:29 +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
fgilmar 93d4852e69 libdigiapix: add libsocketcan dependency for the CAN APIx
Signed-off-by: fgilmar <francisco.gilmartinez@digi.com>
2018-11-29 11:58:21 +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
Gabriel Valcazar fa5004dafb Revert "ccimx8x: bluetooth-init: set 115200bps for SOMv1"
SOM v1 is not going to be released, so there's no need for a revision check.
Now that hw flow control is available, use it along with the highest baudrate
possible.

This reverts commit e4fbba3dde.

https://jira.digi.com/browse/DEL-6254
2018-11-21 09:49:13 +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
Arturo Buzarra d159eae03a meta-digi-dey: sysinfo: adapt script to CC8X platform
https://jira.digi.com/browse/DEL-6261

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2018-11-13 17:17:29 +01:00
Hector Palacios 82bcb4ad19 README: remove '-beta' from versions
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2018-11-12 16:12:49 +01:00
Hector Palacios 9daca40854 Merge branch 'dey-2.4/master' into dey-2.4/maint
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2018-11-12 16:11:02 +01:00
fgilmar d74e5d3cc2 dey_examples: adc: fix a typo in the adc_list definition
Signed-off-by: fgilmar <francisco.gilmartinez@digi.com>
2018-11-07 17:32:14 +01:00
fgilmar d4c3751bbd dey_examples: adc: fix a typo in the adc_list definition
Signed-off-by: fgilmar <francisco.gilmartinez@digi.com>
2018-11-07 17:29:47 +01:00
Arturo Buzarra 89c9af1ea3 imx-boot: make do_populate_lic depend on packages dependant
When the imx-boot recipe is added in EXTRA_IMAGEDEPENDS the
license file is being referenced in image postcommand
write_deploy_manifest, but the licenses of the dependant
packages are missing. This leads to the license files of the
recipes to be missing when write_deploy_manifest runs,
causing build errors to appear.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2018-11-07 09:39:43 +01:00
Hector Bujanda 756cb10a22 mca_tool: update checksums for build 1.14
Collects following changes:
   - Added fw_update support for cc8x.
   - Platform is auto recognized by the tool.
   - Added boot mode configuration.

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

Signed-off-by: Hector Bujanda <hector.bujanda@digi.com>
2018-11-05 12:13:28 +01:00
Alex Gonzalez 14a68356f3 linux-4.18.y: Avoid compilation error
This error only appears when the build host does not have the openssl
development libraries (libssl-dev) installed. If they are, the build
process will use them.

The error is:

|
/home/builder/jenkins/workspace/dey-rocko-use-mainline-bsp/projects/ccimx6ulsbc/tmp/work-shared/ccimx6ulsbc/kernel-source/scripts/extract-cert.c:21:25:
fatal error: openssl/bio.h: No such file or directory
| compilation terminated.
| scripts/Makefile.host:90: recipe for target 'scripts/extract-cert'
failed
| make[3]: *** [scripts/extract-cert] Error 1
| make[3]: *** Waiting for unfinished jobs....

This commit makes openssl-native a dependency and passes the include
path to the build.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2018-11-02 11:31:52 +01:00
Gonzalo Ruiz c35ba5e760 meta-digi-dey: bump distro version to 2.4-r2
Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2018-10-29 13:27:12 +01:00
Gonzalo Ruiz 52da594315 alsa-state: update codec configuration for ccimx8x
ADC connected to MIC2, INA and INB inputs.
DAC connected to REC, SPK and HP outputs.

Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2018-10-24 19:01:47 +02:00
fgilmar 417b64c949 greengrass: cc8x: add greengrass support for cc8 platform
Signed-off-by: fgilmar <francisco.gilmartinez@digi.com>
2018-10-22 12:14:01 +02:00
fgilmar 06f193f011 AWS Greengrass: add new recipe for AWS Greengrass core 1.6.0
https://jira.digi.com/browse/DEL-6189

Signed-off-by: fgilmar <francisco.gilmartinez@digi.com>
2018-10-22 12:14:01 +02:00
Gabriel Valcazar 9442509ea2 openssl: add compatibility with applications linking to v1.0.0 or higher
Our current OpenSSL libraries are only functional when applications link
against v1.0.2d or higher, making some packages containing pre-compiled
applications that link to older versions (like AWS Greengrass) fail to build
and/or run properly.

This commit includes:
	* Changing SHLIB_EXT from so.1.0.2 to so.1.0.0
	* Reverting the version-script to an older version with backwards
	  compatibility plus newer symbols

Specifically, these changes partially revert the patches added in the poky
layer's commits a59bfd05d15085a3dc5669b47fd19867246c846b and
73a43fc15e0463c39baaadecab78fb3ef51b8cd0 respectively.

Please note that this only modifies the cryptographic library's ABI, its code
remains unchanged.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2018-10-22 11:35:36 +02:00
Arturo Buzarra 1497101245 busybox: adapt acpid.map file for ConnectCore 8X platforms
https://jira.digi.com/browse/DEL-6128

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2018-10-17 14:23:48 +02:00
Arturo Buzarra f47852a573 imx-boot: generalize support for ccimx8x platforms with 1GB and 2GB of RAM
Generalize DCD patch to be agnostic of the platform and modify the imx-boot
recipe to depend only on the memory configuration instead of the platform name.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2018-10-16 12:44:16 +02:00
Arturo Buzarra d44d97dc1b libdigiapix: add board.conf file for the ConnectCore 8X SBC Pro platform
The PWM and ADC values are still to be determined, since their BSP support is
currently unavailable.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2018-10-15 09:10:04 +02:00
Arturo Buzarra 3af8c2f566 modemmanager: generalize XBee Cellular rule for ccimx8x platforms
https://jira.digi.com/browse/DEL-6205

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2018-10-15 09:10:04 +02:00
Arturo Buzarra 557c2735c2 uboot: add support to ConnectCore 8X SBC Pro platform
Add initial support cloned from ccimx8x-sbc-express.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2018-10-15 09:10:04 +02:00
Arturo Buzarra b3c05fa5c5 meta-digi-arm: add support for ConnectCore 8X SBC Pro platform
https://jira.digi.com/browse/DEL-6205

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2018-10-15 09:10:04 +02:00
Alex Gonzalez dcab770db7 meta-digi-dey: bluez: Move IBS protocol to the last HCI UART entry.
This protocol will only work with the Digi vendor v4.9 kernels.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2018-10-10 17:04:25 +02:00
Arturo Buzarra 4cdb24d0f5 bluez5: initialize BT in HCI_H4 mode and disable IBS and DEEP_SLEEP on firmware binary
Initialize Bluetooth chip in HCI_H4 mode and provide a firmware binary
with the IBS and DEEP_SLEEP mode disabled by default. Also this firmware
enables an internal clock required to maintain the system on low power modes.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2018-10-10 12:00:33 +02:00
Alex Gonzalez 569c95511f meta-digi-dey: bluez5: Adapt bluetooth-init to mainline use
The Digi vendor kernel uses a dedicated HCI UART driver with support for
In-Band Sleep (IBS). This driver, when used with a QCA vendor ROME plugin
for hciattach, is able to upload a new firmware version to the Bluetooth
chipset, as well as set the MAC address directly on the firmware.

Mainline BSP uses the HCI H4 driver instead and the "qualcomm" hciattach
plugin which is not able to upload firmware to the QCA6564 chipset.

As such, when using mainline the chipset uses the ROM firmware and the
bluetooth init script has been adapted accordingly.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2018-10-09 14:57:59 +02:00
Alex Gonzalez 30fde4487b meta-digi-arm: udev-extraconf: Avoid loading evbug by default
This kernel module is used for debugging and when available it spams the
log file with every input event.

This patch avoid it being loaded by default but the user can still load
it manually if required.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2018-10-09 14:57:59 +02:00
Alex Gonzalez 2b55252287 meta-digi-dey: xserver-xf86-config: Use fbdev device for mainline
The meta-freescale layer assumes that when you define the use-mainline-bsp
the platform is going to use the etnaviv gpu driver. This is not the case
for the CC6UL as the mxsfb.c driver is still not DRM capable.

Probably this will change in v4.19 as there is a DRM capable mxsfb.c
driver that will make it possible to use the armada xf86 driver with the
etnaviv fbdev emulation.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2018-10-09 14:57:59 +02:00
Alex Gonzalez ea46a81642 meta-digi-arm: use-mainline-bsp: Use community maintained gstreamer1.0
plugin

This is the same gstreamer used by meta-freescale.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2018-10-09 14:57:59 +02:00
Alex Gonzalez f85cd4e2ee meta-digi-dey: sysinfo: Fix for use with mainline kernels
* Check for file before using it

This just avoids the failure, on mainline access to OTP would need to be
done differently, see:

https://jira.digi.com/browse/ACL-163

* Use compatible node instead of digi,machine,name

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2018-10-09 14:57:59 +02:00
Alex Gonzalez 6a95035b3c meta-digi-arm: ccimx6ul: use-mainline-bsp: Remove imx-alsa-plugins
This package does not build with mainline kernels

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2018-10-09 14:57:59 +02:00
Alex Gonzalez 7aff3ee169 meta-digi-arm: u-boot-dey: Modify boot script for mainline kernel use
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2018-10-09 14:57:59 +02:00
Alex Gonzalez 2eaade486f meta-digi-arm: ccimx6ul: Add support to build mainline BSP
Just add the following to the conf/local.conf file:

MACHINEOVERRIDES .= ":use-mainline-bsp"

The defconfig is the mainline imx_v6_v7_defconfig.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2018-10-09 14:57:59 +02:00
Jose Diaz de Grenu 6044011127 kernel-module-imx-gpu, imx-gst1.0-plugin: fix file paths
Currently the contents of FILESEXTRAPATHS and the actual paths being used for
the patch files are not aligned. That generates the following WARNINGs:

imx-gst1.0-plugin_4.3.4.bb: Unable to get checksum for imx-gst1.0-plugin SRC_URI entry 0001-gstimxv4l2-map-dev-video1-to-dev-fb0.patch: file could not be found
kernel-module-imx-gpu-viv_5.0.11.p8.6.bb: Unable to get checksum for kernel-module-imx-gpu-viv SRC_URI entry 0001-mxc-gpu-use-recommended-values-for-minimum-GPU-frequ.patch: file could not be found
kernel-module-imx-gpu-viv_5.0.11.p8.6+fslc.bb: Unable to get checksum for kernel-module-imx-gpu-viv SRC_URI entry 0001-mxc-gpu-use-recommended-values-for-minimum-GPU-frequ.patch: file could not be found

Also, those patches are not being applied.

This patch fixes FILESEXTRAPATHS to contain the actual paths being used.

Signed-off-by: Jose Diaz de Grenu <Jose.DiazdeGrenu@digi.com>
(cherry picked from commit 4d35d15fee)
2018-10-09 13:43:38 +02:00
Jose Diaz de Grenu 4d35d15fee kernel-module-imx-gpu, imx-gst1.0-plugin: fix file paths
Currently the contents of FILESEXTRAPATHS and the actual paths being used for
the patch files are not aligned. That generates the following WARNINGs:

imx-gst1.0-plugin_4.3.4.bb: Unable to get checksum for imx-gst1.0-plugin SRC_URI entry 0001-gstimxv4l2-map-dev-video1-to-dev-fb0.patch: file could not be found
kernel-module-imx-gpu-viv_5.0.11.p8.6.bb: Unable to get checksum for kernel-module-imx-gpu-viv SRC_URI entry 0001-mxc-gpu-use-recommended-values-for-minimum-GPU-frequ.patch: file could not be found
kernel-module-imx-gpu-viv_5.0.11.p8.6+fslc.bb: Unable to get checksum for kernel-module-imx-gpu-viv SRC_URI entry 0001-mxc-gpu-use-recommended-values-for-minimum-GPU-frequ.patch: file could not be found

Also, those patches are not being applied.

This patch fixes FILESEXTRAPATHS to contain the actual paths being used.

Signed-off-by: Jose Diaz de Grenu <Jose.DiazdeGrenu@digi.com>
2018-10-09 11:42:19 +02:00
Hector Palacios 84715edfd5 README: add build version number
Signed-off-by: Hector Palacios <hector.palacios@digi.com>

https://jira.digi.com/browse/DEL-6203
2018-10-05 12:41:50 +02:00
Gabriel Valcazar f9427d1641 ccimx8x: u-boot: deploy all u-boot files to the imx-boot-tools directory
This way, customers are less likely to flash the plain u-boot by accident
instead of imx-boot. Also, have the imx-boot recipe look for the u-boot files
in the imx-boot-tools directory.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2018-09-26 10:34:34 +02:00