Commit Graph

2504 Commits

Author SHA1 Message Date
Gabriel Valcazar a74e80ab2d opencv: update to v4.0.1.imx
This is the version used in meta-fsl-bsp-release branch sumo-4.14.98-2.0.0_ga.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-05-15 10:35:06 +02:00
Gabriel Valcazar e3aebef77c xf86-video-imx-vivante: update to v6.2.4.p4.0
This is the version used in meta-fsl-bsp-release branch sumo-4.14.98-2.0.0_ga.
The code revision is exactly the same as the one in v6.2.4.p2.3, so simply
rename the recipe and delete files that are not necessary anymore.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-05-15 10:35:06 +02:00
Gabriel Valcazar 793e901678 imx-gpu-viv: update to v6.2.4.p4.0
This is the version used in meta-fsl-bsp-release branch sumo-4.14.98-2.0.0_ga.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-05-15 10:35:05 +02:00
Gabriel Valcazar 4d5ee19512 imx-gpu-g2d: update to v6.2.4.p4.0
This is the version used in meta-fsl-bsp-release branch sumo-4.14.98-2.0.0_ga.
Instead of having one common .inc file and one .bb file per architecture,
we now have one common .bb file for both architectures.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-05-15 10:35:05 +02:00
Gabriel Valcazar 2cbcd32c5c imx-dpu-g2d: update to v1.7.0
This is the version used in meta-fsl-bsp-release branch sumo-4.14.98-2.0.0_ga.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-05-15 10:35:05 +02:00
Gabriel Valcazar a89c696cb3 libdrm: update revision
This is the version used in meta-fsl-bsp-release branch sumo-4.14.98-2.0.0_ga.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-05-15 10:35:05 +02:00
Gabriel Valcazar 09677a6a52 linux: add new linux-imx-headers recipe
This recipe's package is meant for packages that require NXP-specific linux
headers.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-05-15 10:34:58 +02:00
Gabriel Valcazar 7c465b30c3 imx-mkimage: update revision to use v4.14.98 BSP branch
This is the version used in meta-fsl-bsp-release branch sumo-4.14.98-2.0.0_ga.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-05-15 10:33:23 +02:00
Gabriel Valcazar dc66fa97a4 imx-atf: update to v2.0
This is the version used in meta-fsl-bsp-release branch sumo-4.14.98-2.0.0_ga.
When using v1.5, we used a .bbappend to change the revision of the v1.5 recipe
in meta-freescale. Since we're upgrading to a version that isn't supported in
the other layers yet, remove the .bbappend and add the entire v2.0 recipe.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-05-15 10:33:23 +02:00
Gabriel Valcazar d686b07311 firmware-imx: update to v8.1
This is the version used in meta-fsl-bsp-release branch sumo-4.14.98-2.0.0_ga.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-05-15 10:33:23 +02:00
Gabriel Valcazar 3531a6521f classes: update NXP bbclasses
Update NXP's .bbclass files with the ones in meta-fsl-bsp-release branch
sumo-4.14.98-2.0.0_ga.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-05-15 10:32:41 +02:00
Francisco Gil dd745b8a11 greengrass: add support for greengrass 1.9.0
Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
2019-05-09 17:03:43 +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
Gabriel Valcazar 995212a213 xserver-xorg: add poky SIGIO patch that was removed from upstream thud branch
This patch is included in the rocko and sumo branches of poky to avoid errors
when starting an xserver using DRI, but it was removed in the thud branch in
favor of newer input methods other than SIGIO. SIGIO is still supported, but
not explicitly in the xserver configuration.

Since the vivante driver on the i.MX6 is using DRI and, by extension, SIGIO
(even though there is no way to configure xserver to enable SIGIO support), the
only way to make xserver start correctly is by removing the SIGIO support check
in the code.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-05-07 09:55:19 +02:00
Gabriel Valcazar 5a14bd9666 standby: add systemd standby-actions script for ccimx6/ccimx6qp platforms
Even though systemd support is not yet available for these platforms, add the
scripts so bitbake doesn't fail when building the busybox package.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-05-07 09:55:19 +02:00
Gabriel Valcazar f1ce4bfbc8 standby: homogenize standby script across all platforms
* Use the same operation order when resuming interfaces
* Remove unnecessary delay in ccimx6sbc standby script

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-05-07 09:55:19 +02:00
Gabriel Valcazar c1fd7e473c modemmanager: add udev blacklist for ccimx6/ccimx6qp platforms
https://jira.digi.com/browse/DEL-6565

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-05-07 09:55:05 +02:00
Gabriel Valcazar 40d2390819 modemmanager: cosmetic: remove executable permissions from .rules file
Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-05-06 17:57:59 +02:00
Gabriel Valcazar a9fdd62871 imx-gpu-g2d: list compatible machines explicitly
Otherwise, bitbake will try building the aarch64 version of the package and
fail when building ccimx6 images.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-05-06 17:57:59 +02:00
Gabriel Valcazar 363895aa03 linux: use v4.9 branch for ccimx6/ccimx6qp
https://jira.digi.com/browse/DEL-6565

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-05-06 17:57:59 +02:00
Gabriel Valcazar 1116c6ddc6 Revert "sdk: remove support for the ccimx6sbc and ccimx6qpsbc"
This reverts commit 0fea640371.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-05-06 17:57:59 +02:00
Arturo Buzarra 0a5c1183e7 libqmi: remove old version to use the new one from upstream
There is a new version in 'meta-openembedded/meta-oe'

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-04-24 15:00:42 +02:00
Arturo Buzarra c299341dc7 meta-digi-dey: bump distro version to 2.6-r2
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-04-24 12:45:36 +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 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 9166c14688 README: Update dey-2.6-r1 changelog for r1.3
Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-04-16 17:44:11 +02:00
Gabriel Valcazar 0969676113 imx-boot: add fimrware-imx dependencies for do_compile() and do_populate_lic()
These dependencies went missing when we deleted our first .bb file and replaced
it with a .bbappend. Without these dependencies, the build can sometimes fail.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-04-16 17:31:02 +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 69b3121277 README: remove resolved issue with GPIO and TrustFence
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2019-04-15 17:21:27 +02:00
Hector Palacios 2f0ca1dcf7 README: Update dey-2.6-r1 changelog for r1.2
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2019-04-15 13:21:59 +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
Gabriel Valcazar 6c38b38f95 Revert "imx-digi-base: disable GCCPIE by default"
Removing the flag breaks the build of the freetype package and possibly others.
Leave the flag as it is for now.

This reverts commit e4cbeafa1c.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-04-15 13:04:50 +02:00
Gabriel Valcazar e4cbeafa1c imx-digi-base: disable GCCPIE by default
This option configures gcc to use PIE by default, which is good from a security
standpoint. However, the files necessary to compile applications statically
with PIE support are missing from glibc, causing builds to fail. Said files
were removed on purpose in poky commit 472c86127ab57759588e5ec53c75ebb52667f094
because static PIE binaries apparently don't work very well when using gcc 7.x.

Instead of enabling static PIE support for glibc and risking runtime failures,
revert to our old situation and remove default PIE suport for gcc.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-04-15 11:22:45 +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
Gabriel Valcazar 971fed2724 python-numpy: redefine the target-specific RDEPENDS items
For some reason, even though the general RDEPENDS for this package is correct,
all items are overwritten by the empty class-native version of RDEPENDS, even
when building for the target. Because of this, whenever this python module is
installed and used, it won't work.

Redefine the dependencies needed by the target until the issue is fixed
upstream.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-04-12 12:30:18 +02:00
Gabriel Valcazar 263818846f u-boot-dey: add support for new ccimx6ul variant 0x06
This variant is exactly the same as variant 0x02, but with a new revision
of the i.MX6UL silicon.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-04-11 16:42:59 +02:00
Hector Palacios db57343ed4 modemmanager: add systemd unit to force a late scan of modems
Some modems take a lot of time to initialize and ModemManager won't
see them on its first scan.
This service will force a rescan 40 seconds after boot, to give
enough time for those lazy modems.

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

https://jira.digi.com/browse/DEL-6366
2019-04-11 10:48:54 +02:00
Hector Palacios 2778713ef8 xbee: added new recipe for XBee hardware initialization
This recipe adds a script and a related systemd service that
configures two GPIOs (user defined, or else platform-defaults) as
output and sets them to the appropriate value for initializing the
XBee socket:
 - XBEE_SLEEP_RQ: is set low, for running the XBee
 - XBEE_RESET_N: is set low and then high, to reset the XBee

The service triggers on the condition that the UART TTY device node
pointed to by variable XBEE_UART exists.

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

https://jira.digi.com/browse/DEL-6366
2019-04-11 10:48:54 +02:00
Hector Palacios f4dd886ba3 modemmanager: add udev rule for CC8X XBee cellular on ttyMCA0
On the default device tree, the MCA UART that's connected to the
XBee socket is enabled. This registers as ttyMCA0.
Add a udev rule for this path so that ModemManager checks for
modems in this serial port.

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

https://jira.digi.com/browse/DEL-6366
2019-04-09 10:42:24 +02:00
Gabriel Valcazar b224e2baec imx-usb-loader: use the version that was used in older versions of DEY
In the update to thud, the recipe for this package was updated in
meta-freescale with a newer revision that, among other things, breaks
compatibility with the parameters we use to recover closed devices via USB.
Even if we change these parameters to obtain a configuration equivalent to the
one we've always had, closed devices still won't boot because the internal
logic of the tool has changed a lot.

Instead of patching the tool for this very specific use-case, revert to the
version we've been using in DEY 2.2 and 2.4.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-04-04 17:42:46 +02:00
Alex Gonzalez bcb942fc5b meta-digi-arm: linux-fslc: ccimx6ulsbc: Add IOEXP support
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2019-04-04 12:53:05 +02:00
Alex Gonzalez 4cf572edf5 meta-digi-arm: linux-fslc: ccimx6ul: Add MCA support
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2019-04-04 12:52:57 +02:00
Alex Gonzalez 9d063498c8 use-mainline-bsp: Use meta-freescale-3rdparty support
Remove the linux-v4.20 recipe and use the linux-fslc kernel recipe in
meta-freescale-3rdparty instead.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2019-04-04 12:52:34 +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 0fea640371 sdk: remove support for the ccimx6sbc and ccimx6qpsbc
These platforms are not supported on DEY 2.6 yet, and a project created for
either of them will fail during the build.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-04-04 09:42:27 +02:00
Gabriel Valcazar 982102fb68 core-image-base: don't override default IMAGE_INSTALL values
Otherwise, packagegroup-dey-core won't get included in ccimx6ulstarter images.
This packagegroup contains fundamental OS elements, such as sysvinit, kernel
modules and so on. Use CORE_IMAGE_BASE_INSTALL instead and make sure to append
to the default value instead of overwriting it.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-04-03 18:00:28 +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