Commit Graph

223 Commits

Author SHA1 Message Date
Arturo Buzarra d2cecd68ef swu-images: unify script files for the different platforms
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-01-10 12:06:52 +01:00
Arturo Buzarra e262caa338 swu-images: add support for ccimx8mn platform
https://jira.digi.com/browse/DEL-6806

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-01-10 12:06:52 +01:00
Arturo Buzarra 4d5028fcc8 libdigiapix: add support to ConnectCore 8M Nano DVK platform
Add initial support cloned from ccimx8x-sbc-pro.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2020-01-10 11:41:09 +01:00
Jose Diaz de Grenu 2db7558236 sysinfo: add OTP values
The values of the OTP can be relevant for some issues.

Signed-off-by: Jose Diaz de Grenu <Jose.DiazdeGrenu@digi.com>
2019-12-11 19:23:00 +01:00
Gabriel Valcazar 869378d9d7 recipes-digi: remove cryptoauth-openssl-engine recipe
This package has not been supported since OpenSSL was updated to v1.1.x, and it
has been deprecated by Microchip.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-11-12 16:22:03 +01:00
Mike Engel 6b5cd9465b libdigiapix: Update CCIMX8X conf file with new PWM and GPIO settings
Signed-off-by: Mike Engel <Mike.Engel@digi.com>

https://jira.digi.com/browse/DEL-6807
2019-11-08 09:59:45 +01:00
Arturo Buzarra ce4be46458 Merge tag 'dey-2.6-r2.2' into dey-2.6/master
Digi Embedded Yocto 2.6-r2.2

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-10-10 16:02:07 +02:00
Hector Palacios 3affba5848 meta-digi: update revisions for dey-2.6-r2.2
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2019-09-26 18:15:46 +02:00
Hector Palacios 60939c2303 dey-examples: move SRC_URI to shared include file
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2019-09-18 16:28:25 +02:00
Hector Palacios 3e5c2eb1bf meta-digi: revert revisions to AUTOREV
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2019-09-13 18:36:20 +02:00
Hector Palacios 3b2f226b60 meta-digi: update revisions for dey-2.6-r2.1
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2019-09-13 18:35:13 +02: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
Gabriel Valcazar fe977873e3 libdigiapix: use the DIGI_GITHUB_GIT variable instead of hardcoding the URL
Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-08-26 16:01:43 +02:00
Gabriel Valcazar 9047e00bf1 Use https protocol instead of git protocol when fetching from github
Otherwise, users that are behind corporate firewalls might not be able to
obtain the package sources.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-08-26 15:52:53 +02:00
Arturo Buzarra 79848fbc10 dey-examples-v4l2: Generalize recipe to fix build error with ccimx8x platform.
https://jira.digi.com/browse/DEL-6653

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-07-12 13:33:43 +02:00
Jose Diaz de Grenu e8aad5b23e dey-examples: add recipe for caam blob example
Signed-off-by: Jose Diaz de Grenu <Jose.DiazdeGrenu@digi.com>
2019-07-11 17:20:00 +02:00
Arturo Buzarra 8b39014eb7 dey-examples: add example to enable a BLE GATT server
https://jira.digi.com/browse/DEL-6649

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-07-09 18:11:25 +02:00
Hector Bujanda e11fd2eb84 meta-digi-dey: dey-examples-rtc: added periodic and 1Hz interrupts testing
-p : Test the standard periodic interrupts (uses timers, doesn't wake from low power)
-u : Test the standard 1 Hz interrupt (uses RTC ALARM)
-v : Test MCA periodic interrupts (uses RTC PERIODIC_IRQ)
-w : Test MCA 1 Hz interrupt (uses RTC 1HZ)

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

Signed-off-by: Hector Bujanda <hector.bujanda@digi.com>
2019-05-28 11:41:21 +02:00
Hector Palacios e467623483 digiapix: update script and rules for watchdog and IIO
The watchdog and ADC devices were not being modified to belong
to 'digiapix' group, so the examples did not run properly when
ran as a user different than root.

Reported-by: Andreas Burghart <andreas.burghart@digi.com>
Signed-off-by: Hector Palacios <hector.palacios@digi.com>

https://jira.digi.com/browse/DEL-6581
2019-05-08 15:45:41 +02:00
Arturo Buzarra 21b09d616d Merge tag 'dey-2.6-r1.3' into dey-2.6/master
Digi Embedded Yocto 2.6-r1.3

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-04-24 12:37:13 +02:00
Gabriel Valcazar a3c190dfff meta-digi: revert revisions to AUTOREV
Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-04-16 17:45:26 +02:00
Gabriel Valcazar 0078da95cb meta-digi: update revisions for dey-2.6-r1.3
Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-04-16 17:44:36 +02:00
Gabriel Valcazar fce0809b47 meta-digi: revert revisions to AUTOREV
Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-04-15 17:56:55 +02:00
Hector Palacios 7c6871bf07 meta-digi: update revisions for dey-2.6-r1.2
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2019-04-15 17:55:17 +02:00
Hector Palacios d50f82b121 libdigiapix: rename config files from board.conf to libdigiapix.conf
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2019-04-15 13:07:47 +02:00
Hector Palacios 8fc279fe65 libdigiapix: add rule for PWM channels to be owned by digiapix group
The exported PWM channels now report the channel name under udev
EXPORT parameter.
Add the 'change' udev action type to the udev rules and use that
parameter to change the group ownership of the PWM channels to
digiapix group, so they can be used by non-root user.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2019-04-15 13:07:47 +02:00
Gonzalo Ruiz b81da5f6d0 libdigiapix: add ADC_IN0 as default DEFAULT_ADC for ccimx8x boards
ADC_IN0 is the channel 0 of iio:device0.

Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2019-04-12 17:17:51 +02:00
Alex Gonzalez ea728e7c56 meta-digi-dey: memwatch: Fix compilation for new toolchain
The open() method now expects a mode argument.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2019-04-04 12:45:03 +02:00
Alex Gonzalez 5d54f67b1a meta-digi-dey: dey-examples-hdp: Remove python3-argparse dependency
With the re-organisation of the python3 packaging, some of the
packages have disappeared and are now part of base packages.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2019-04-04 12:45:03 +02:00
Gabriel Valcazar 3bc0da87b0 meta-digi: revert revisions to AUTOREV
Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-04-02 09:42:47 +02:00
Gabriel Valcazar 9fae56c116 meta-digi: update revisions for dey-2.6-r1.1
Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-04-02 09:42:47 +02:00
Hector Palacios 86104b4ffa libdigiapix: add and fix GPIO aliases
For CC6/CC6Plus
 - Add USER_LED0 alias (same as default USER_LED)
 - Change aliases of the other LEDs to USER_LED1 and
   USER_LED2 (without additional underscore and fixed
   indexes, to match the board schematics)

For CC8X SBC Pro
 - Add USER_LED0 alias (same as default USER_LED)
 - Add USER_LED1 which was missing
 - Increase indexes (due to removed MCA_IO19 on SOM v3)

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2019-04-02 09:23:18 +02:00
Hector Palacios 47f88d1d24 switch to building from maintenance branches for dey-2.6
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2019-03-27 17:47:32 +01:00
Hector Palacios 42d28c76cb dey-examples: remove old examples now superseeded by digiapix
This commit removes the following examples that were accessing
hardware interfaces:
 - dey-examples-adc
 - dey-examples-can
 - dey-examples-gpio-sysfs
 - dey-examples-spidev
 - dey-examples-watchdog

The recipe 'dey-examples-digiapix' builds similar examples that make
use of Digi's APIX for accessing the hardware. Add this recipe to images
 - dey-image-qt
 - core-image-base

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

https://jira.digi.com/browse/DEL-5169
2019-03-27 10:58:40 +01:00
Hector Palacios 04aa734d75 dey-examples: create common file for the dey-examples repo URL/branch
This reduces the number of files that must be modified when changing
branches between development/release modes.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2019-03-27 10:52:44 +01:00
Jose Diaz de Grenu 9e349305a3 sysinfo: add device tree used to the report
The device-tree being used on a system is a very important piece of
information to debug issues. On a host machine, dtc can be used to
reconstruct the DTS used from the /proc/device-tree folder structure.

While on it, remove extra white lines at the beginning and end.

Signed-off-by: Jose Diaz de Grenu <Jose.DiazdeGrenu@digi.com>
2019-03-21 11:15:34 +01:00
Arturo Buzarra 6240fc6fe1 thud migration: remove compiler optimizations for CloudConnector recipe
Commit 491082c56ce34f3fd644f8d4457ccd52af951087 in poky layer enables
by default some security enhancements and optimizations for the compiler,
These extra checks added by the flag -D_FORTIFY_SOURCE=2 break the
CloudConnector build. This commit disables the extra validations only
for the CloudConnector recipe.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-02-06 09:51:51 +01:00
Hector Palacios 74e346262e libdigiapix: set MCA PWM1 (MCA_IO5) by default on CC8X
This PWM signal is available on the expansion connector
of both the SBC Express and SBC Pro.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2019-01-25 10:38:20 +01:00
Gonzalo Ruiz 3757035a3f dey-examples: adc_sample: Add support for CC8X CPU ADCs
https://jira.digi.com/browse/DEL-6386

Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2019-01-17 17:09:47 +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
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
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
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
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 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 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