This support comes from meta-linaro @9f899282caa9 and adds the ability
to configure getty dynamically from the console argument in the kernel
command line.
This will make it possible to enable/disable the console dynamically as
signalled by U-Boot.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
COMPATIBLE_MACHINE is a regular expression, so we need to update the current
pattern for ccimx6 due to it will also match with ccimx6ul.
Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
ccimx51js and ccimx53js are not supported in this version of DEY.
Support for those platforms is in previous versions of DEY.
https://jira.digi.com/browse/DEL-1890
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
There is only one kernel supported for each platform, so there is no
need to explicitly set the kernel preferred version.
Also:
* Remove IS_KERNEL_2X variable which is no longer needed.
* Simplify jenkins build script, now that we do not need to build two
kernel versions for ccardimx28.
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
dependences for consistency
The GPIO and ADC examples are not meant for the mx6 familiy, so make their
dependences platform dependent
Signed-off-by: Jose Diaz de Grenu de Pedro <Jose.DiazdeGrenudePedro@digi.com>
https://jira.digi.com/browse/DEL-1698
Signed-off-by: Jose Diaz de Grenu de Pedro <Jose.DiazdeGrenudePedro@digi.com>
(cherry picked from commit 42997de56cf3f3943518e782332effad66965b21)
Conflicts:
meta-digi-dey/recipes-digi/dey-examples/dey-examples-bt.bb
meta-digi-dey/recipes-digi/dey-examples/dey-examples-btconfig.bb
meta-digi-dey/recipes-digi/dey-examples/dey-examples-can.bb
meta-digi-dey/recipes-digi/dey-examples/dey-examples-hdp.bb
Those packages are not machine specific, so there is no need to set
PACKAGE_ARCH to ${MACHINE_ARCH}.
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
Now it depends on the last set capture mode which may be not compatible.
https://jira.digi.com/browse/DEL-1521
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
This is now needed in yocto 1.7. Otherwise it fails with:
ERROR: Please ensure recipe packagegroup-dey-gstreamer.bb sets PACKAGE_ARCH before inherit packagegroup
ERROR: Please ensure recipe packagegroup-dey-examples.bb sets PACKAGE_ARCH before inherit packagegroup
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
Start the application with a well known rotation value that works with
all the resolutions. Otherwise the rotation value is unknown because it
could have been changed in a previous run of the application.
Also in the kernel driver support was added to report EINVAL to
user-space in case the requested rotation is not supported. We use that
to not return from the 'v4l2_rotate' function without enabling again
the overlay preview.
https://jira.digi.com/browse/DEL-1068https://jira.digi.com/browse/DEL-1205
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
(cherry picked from commit 2f7547a1b810683b813b708ba67e53ba156a9337)
The camera/driver does not support a cropping rectangle with height and
width less than 8 pixels. Add those limits to the sanity check of the
values in the user-space test application.
https://jira.digi.com/browse/DEL-1201
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
rtc_test now can run with minutes instead of seconds resolution. This
is needed for RTCs that trigger the alarm on the minute register.
It also allows to override the default timeout from the command line.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
These utilities are very tight to the hardware so they need to be in
the BSP layer. This way they can also be installed in a poky distro
core-image-minimal without meta-digi-dey layer.
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
The source has machine specific code, so it needs the machine passed
in the compiler command line.
https://jira.digi.com/browse/DEL-863
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
They conflict.
Warn the user about the problem and let they change the device tree
manually.
https://jira.digi.com/browse/DEL-840
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
The availability of some examples depends on the kernel version, so we
need to add the dependence to the packagegroup as well.
This allows to build two ccardimx28 projects one for kernel 2.x and the
other for 3.x sharing the state-cache. Otherwise the first project
builds correctly but the second one fails.
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
Actually this is a workaround that probably needs to be generalized. But
at the moment the ccardimx28 is the only platform we have in linux 3.x
so it's enough.
https://jira.digi.com/browse/DEL-560
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
The dey-examples-adc and dey-examples-gpio packages are not meant to work
with a 3.10 kernel.
https://jira.digi.com/browse/DEL-574
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
Restrict the compatible machines to the ones we have tested the examples
on.
The rationale of this is to remove the compatibility with CPX2 where
we have not tested the DEL examples and actually adding 'dey-examples'
feature to a CPX2 project fails to build with:
ERROR: Nothing RPROVIDES 'dey-examples-adc' ..
ERROR: dey-examples-adc was skipped: incompatible with machine cpx2 (not in COMPATIBLE_MACHINE)
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
The final product will be called "Digi Embedded for Yocto" or DEY for
short.
This commit renames all relevant files.
https://jira.digi.com/browse/DEL-474
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>