Otherwise a dev or sdk image which include the dev-pkgs image feature
will fail.
https://jira.digi.com/browse/DEL-488
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
These images contain debug tools as the tcf-agent which are required to
perform SDK operations like run and debug.
https://jira.digi.com/browse/DEL-488
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
* Do not hard-code the DISTRO* values and set them from the environment
* Move the build information to a different file (following commit)
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
The ADT installer compiled from "bitbake adt-installer" needs qemu images
available at adtrepo.yoctoproject.org/$VERSION. To avoid having to deploy
an adtrepo ourselves, we need to change the distro version to the upstream
version.
There are further problems with the ADT installation that need to change
the SDK_VENDOR to the poky default of pokysdk and to have the SDKPATH also
with the default value.
With this change the adt-installer is installed without errors.
https://jira.digi.com/browse/DEL-478
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
psplash utility is throwing errors on target's shutdown when using the
serial terminal as console. Override the psplash initscript configuration
so it only runs on target's boot.
https://jira.digi.com/browse/DEL-260
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
The patches are specific to the package version, so move then to a
versioned folder and remove the version from the patch filenames.
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
This allows to build for all supported distributions:
del (del-image-minimal)
del-gui (del-image-graphical
poky (core-image-minimal etc.)
dbl (dbl-image-base)
https://jira.digi.com/browse/DEL-481
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
This will allow to pass a TEMPLATECONF path with a predefined
local.conf.template and bblayers.conf.template that will allow
to customize those files.
https://jira.digi.com/browse/DEL-468
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
There were two problems here:
* The 'vssconfig' files need to be removed so the displays are
auto-configured directly.
* Fix a problem with a missing library. The code tries to 'dlopen' a
shared library using the symbolic link instead of the soname. But the
symbolic link is only installed with the development package PN-dev,
so it's not available with the normal 'gst-fsl-plugin' package. Added
patch that fixes this problem.
https://jira.digi.com/browse/DEL-167
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
This will allow to compile del-image-graphical or any of the other standard
Yocto image targets as meta-toolchain, meta-toolchain-sdk, adt-installer,
or meta-ide-support.
https://jira.digi.com/browse/DEL-476
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
Another option would be to split it up in machine folders, but it is
similar enough in all platforms not to need this for the time being.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
This plugin is conflicting somehow with the other vorbis plugin throwing
some error messages when using gstreamer:
(gst-plugin-scanner:873): GLib-GObject-WARNING **: cannot register existing type `GstVorbisDec'
(gst-plugin-scanner:873): GLib-CRITICAL **: g_once_init_leave: assertion `result != 0' failed
(gst-plugin-scanner:873): GStreamer-CRITICAL **: gst_element_register: assertion `g_type_is_a (type, GST_TYPE_ELEMENT)' failed
Disabling the plugin does remove the error messages with no
functionality loss (as we have the standard vorbis plugin)
https://jira.digi.com/browse/DEL-447
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
Fix the kernel wireless configuration fragment, and add a couple of kernel
patches to set up the mmc0 interface to be used with the wireless and
remove an incorrect pin configuration.
There are similar patched to this on the gateways/master branch related to
the vehicle bus adapter product.
meta-digi-arm/conf/machine/cpx2.conf
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
It is now based on the ConnectCard defconfig instead of the gateways
product one. This makes more sense in this layer, and upper layers
can overwrite it if needed.
https://jira.digi.com/browse/DEL-462
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
This gives more time for the interfaces to resume.
This fixes a race condition where the script tries to bring up the
wireless interface before actually being available.
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
Mostly cosmetic changes to clear it a bit so customers can use it as
documentation for what variant they need to configure in their projects.
Also a couple of minor fixes: 'ext-eth' typo and duplicated 'e' variant
for ccimx53js.
https://jira.digi.com/browse/DEL-460
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
This allows to set MACHINE_VARIANT to the empty string:
MACHINE_VARIANT = ""
in the project's local.conf by running something like:
. /path/to/mkproject.sh -v "" -p <platform>
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
This manually reverts commit ecfdf6ae23.
Once mdev was removed as a dependency from del-image-graphical, we need
udev to load the firmware files for the wireless drivers. This job was
being done by mdev.
The reason for the commit in the first place was that both mdev and udev
were attempting to load the firmware files, so we changed the udev
rule to ignore the atheros driver. This was only needed when mdev and
udev were both running.
https://jira.digi.com/browse/DEL-450https://jira.digi.com/browse/DEL-450
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
This is needed for the ConnectCard for MX28 bluetooth variants.
It is created by mdev in del-image-minimal and udev needs to do it in
del-image-graphical.
We are appending to the 10-imx.rules file which already exists in
meta-fsl-arm.
https://jira.digi.com/browse/DEL-450
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
The patch sent upstream (meta-fsl-arm) was acepted and integrated so
this change is no longer needed.
This reverts commit 7d7d7ee49c.
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
This script is *sourced*, so we need to make sure that the variables
used do not collide with other variables that may be already in the
environment.
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
This commit adds basic support for platform variants. The script does
not make any sanity check on the variant name. It's user's
responsibility to use the correct variant for the platform.
https://jira.digi.com/browse/DEL-435
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
The default network manager included with the x11-sato packagegroup is
connman. It cannot coexist with ifup and /etc/network/interfaces. For
connman to work properly we would require:
- To modify netbase to leave an interfaces file with only the loopback
interface for graphical images.
- To compile the wpa_supplicant with dbus support and to leave connman the
task of starting it without a configuration file but with the dbus API (-u)
- We would need a way to run pre up scripts for all interfaces, so that the
wired interfaces can set the mac addresses passed by uboot and the wireless
interfaces can use the appropriate launch scripts.
Currently connman has no way to launch scripts before bringing an interface
up. It could be done with udev, but reportedly this does not work well
because sometimes connman brings the interface up before the udev rule is
run.
It may be that future versions of connman fix this, for example by
providing a command line tool.
For the moment it is easier to have no graphical network manager. That way
both del-image types share the network settings. In the future we may want
to revisit the need for a graphical network manager.
Fixes https://jira.digi.com/browse/DEL-387
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
The script in the root directory needs to be in sync with the 'master'
script in the 'meta-digi' layer.
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
Some examples need hardware to be plugged to the module (e.g. the
camera), and fail if the hardware is not there.
Signed-off-by: Javier Viguera <javier.viguera@digi.com>