Commit Graph

4795 Commits

Author SHA1 Message Date
Javier Viguera 289a003d2a gst-fsl-plugin: remove not needed patch
The patch has been accepted upstream, so it's no longer needed here:

http://git.yoctoproject.org/cgit/cgit.cgi/meta-fsl-arm/commit/?h=danny&id=b93c40348cdcb0022f4315edc1b9cb7474253b1e

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-05-22 18:15:13 +02:00
Javier Viguera b5e4c77c4e gst-fsl-plugin: fix video not working with mfw_isink
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>
2013-05-22 18:15:13 +02:00
Alex Gonzalez db55ff5a32 build.sh: Changes from review.
http://fisheye.digi.com:8060/cru/CR-DEL-28#CFR-517

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-05-22 17:40:58 +02:00
Alex Gonzalez 7bb61a45b9 build.sh: Parametrize the single target image name
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>
2013-05-22 17:33:21 +02:00
Francis Sreeves 53f6acf707 wr21 config template: set default platform variant
http://fisheye.digi.com:8060/cru/CR-DEL-27#CFR-516

Signed-off-by: Francis Sreeves <francis.sreeves@digi.com>
2013-05-22 10:30:01 +01:00
Francis Sreeves d2cdf7826e image_types_digi: keep platforms in alphabetical order
http://fisheye.digi.com:8060/cru/CR-DEL-27#CFR-508

Signed-off-by: Francis Sreeves <francis.sreeves@digi.com>
2013-05-22 10:30:01 +01:00
Francis Sreeves 6db91dc1a3 meta-digi: add WR21 machine
https://jira.digi.com/browse/DEL-455

Signed-off-by: Francis Sreeves <francis.sreeves@digi.com>
2013-05-22 10:30:01 +01:00
Alex Gonzalez cc17072c91 meta-digi-arm: Update atheros init script to make it platform independent.
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>
2013-05-22 09:23:31 +02:00
Javier Viguera 02a3bc1fad gst-plugins-base: disable integer vorbis plugin
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>
2013-05-21 18:09:23 +02:00
Alex Gonzalez 08d2833e27 meta-digi-del: Fix netbase postinst to work also in target install.
https://jira.digi.com/browse/DEL-428

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-05-21 17:19:13 +02:00
Alex Gonzalez c2da364830 meta-digi-arm: Add CPX2 wireless support.
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>
2013-05-17 13:26:29 +02:00
Alex Gonzalez ffd1561423 meta-digi-arm: Update cpx2 kernel defconfig.
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>
2013-05-17 13:26:16 +02:00
Alex Gonzalez 2bb85c7c6b meta-digi-dbl: Update kernel-module-redpine recipe name.
The recipe name in meta-digi-arm has changed.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-05-17 11:29:11 +02:00
Alex Gonzalez 8aa325c339 meta-digi-dbl: Update btfilter append to new version.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-05-17 11:29:11 +02:00
Javier Viguera ce61322b9c meta-digi-del: add sleep to suspend/resume script
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>
2013-05-16 18:38:07 +02:00
Javier Viguera 9b94c4bf3b meta-digi-del: customize 'udev' script to create static nodes
https://jira.digi.com/browse/DEL-458

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-05-16 12:16:09 +02:00
Alex Gonzalez 4e48ac91f6 meta-digi-del: Fix del-gstreamer for non mx5 platforms.
https://jira.digi.com/browse/DEL-279

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-05-15 19:17:27 +02:00
Javier Viguera 077894da5b meta-digi: add jenkins build script
https://jira.digi.com/browse/DEL-460

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-05-15 16:30:24 +02:00
Alex Gonzalez 26be48e5ed meta-digi: Add meta-fsl-demos to sdk.
https://jira.digi.com/browse/DEL-452

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-05-14 11:27:50 +02:00
Alex Gonzalez 163810b9f4 meta-digi-arm: Update redpine module.
There is a revert on the redpine source that fixes
https://jira.digi.com/browse/DEL-456

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-05-14 11:03:47 +02:00
Javier Viguera 7ee47e607e meta-digi-arm: rework variants support
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>
2013-05-14 10:16:26 +02:00
Javier Viguera 7b7fcbee60 mkproject: allow to set an empty string as variant
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>
2013-05-13 19:45:41 +02:00
Alex Gonzalez d176828980 Revert "meta-digi-arm: Avoid udev loading firmware files for atheros."
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>
2013-05-10 18:37:19 +02:00
Alex Gonzalez 2a1efb61a0 meta-digi-del: Add udev rule to create ttyBt.
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>
2013-05-10 18:37:19 +02:00
Javier Viguera 3874c057e2 meta-dig-arm: fix variant names
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-05-10 17:56:03 +02:00
Javier Viguera 2404911629 Revert "gst-fsl-plugin: add fsl-mm-mp3enc and fsl-mm-flv dependences"
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>
2013-05-10 16:38:17 +02:00
Javier Viguera 617bc24ce6 mkproject: prefix all vars to minimize name collision
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>
2013-05-10 16:11:57 +02:00
Javier Viguera 69afa07596 mkproject: add support for platform variants
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>
2013-05-09 13:25:07 +02:00
Javier Viguera 80f7892306 mkproject: rewrite usage function using here-document
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-05-09 13:25:07 +02:00
Alex Gonzalez 41faf402e2 meta-digi-del: Do not use a network manager for graphical images.
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>
2013-05-09 13:03:44 +02:00
Javier Viguera a3ff714c0d mkproject: implement auto-update
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>
2013-05-08 18:57:10 +02:00
Javier Viguera 4ec2ecd468 config templates: disable del-examples
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>
2013-05-08 14:07:30 +02:00
Javier Viguera 90952358c9 meta-digi-del: clean udev build warning
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-05-08 13:36:53 +02:00
Javier Viguera 3f9c3cc5e5 mkproject: sanitize PATH environment variable
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-05-07 19:50:32 +02:00
Javier Viguera 700dbe38d6 mkproject: do not re-configure the project if already created
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-05-07 18:31:47 +02:00
Javier Viguera 592d4dc75f meta-digi-arm: fix u-boot config variant for ccimx53
https://jira.digi.com/browse/DEL-443

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-05-07 16:49:26 +02:00
Javier Viguera e0fed036fa config templates: set default platform variants
https://jira.digi.com/browse/DEL-438

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-05-07 16:18:07 +02:00
Javier Viguera 3bf4819f83 ccimx51js: add missing kernel configuration
https://jira.digi.com/browse/DEL-442

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-05-07 15:20:08 +02:00
Alex Gonzalez bf9d25f939 meta-digi-arm: Update Linux kernel to latest hotfix.
Update with del-5.9/main on the del-5.9.4.2 tag.

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

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-05-06 09:50:32 +02:00
Javier Viguera e59768cd49 meta-digi: move DIGI_MIRROR to meta-digi-arm
If you don't want to use meta-digi-del and use only the BSP layer
(meta-digi-arm) to build a generic image (like core-image-minimal) you
need the DIGI_MIRROR variable in this layer because some of the BSP
recipes (kernel, u-boot) use it to get the source.

So this allows to build core-image-minimal for Digi platforms without
using meta-digi-del.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-05-03 18:30:39 +02:00
Javier Viguera dfa2477dc1 libdigi: fix error building del-image-minimal-dev
nvram-dev package has a runtime dependence on libdigi:

Collected errors:
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for nvram-dev:
 *    libdigi (= 1.0-del.r0) *
 * opkg_install_cmd: Cannot install package nvram-dev.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-05-03 18:30:06 +02:00
Javier Viguera 3c7f94a880 meta-digi-del: simplify del-image-minimal-dev
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-05-03 18:29:34 +02:00
Alex Gonzalez 4590397b13 meta-digi-arm: Change variant image naming to match u-boot's.
Fixes https://jira.digi.com/browse/DEL-386

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-05-03 17:31:33 +02:00
Alex Gonzalez ca70358bc7 meta-digi-arm: Update u-boot SRCREVs to meta-digi-1.0.0.2 revisions.
Change to use the master instead of the DUB-1.5/main branch.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-05-02 18:23:53 +02:00
Alex Gonzalez 5c04568f09 meta-digi-arm: Update SRCREVs to meta-digi-1.0.0.2 revisions.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-05-02 15:35:21 +02:00
Alex Gonzalez 091e921db6 READMEs: Update layers README files for meta-digi-1.0.0.2
They contain the sha1s of the upstream poky, meta-fsl-arm and
meta-openembedded we are basing this drop on. These sha1s are also
included in the manifest file for the drop so they could safely be removed
from here once we are building release images on the Jenkins server.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-05-02 13:42:15 +02:00
Javier Viguera fbdaae8050 packagegroup-del-gstreamer: remove fsl-mm rdepends
Those packages are already runtime dependences of gst-fsl-plugin, so
there is no need to explictly add them here.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-05-02 11:57:55 +02:00
Javier Viguera 7d7d7ee49c gst-fsl-plugin: add fsl-mm-mp3enc and fsl-mm-flv dependences
For MX5 machines, gst-fsl-plugin has build-time dependences on the
pre-built fsl-mm-mp3enc and fsl-mm-flv codec libraries.

If the mp3enc library is not in the sysroot, the 'libmfw_gst_mp3enc.so'
is not built.

If the fsl-mm-flv is not in the sysroot, the configure process warns
about:

"Unable to determine soname of lib_flv_parser_arm9_elinux.3.0.so library"

and the resulting 'aiur_registry.arm11.cf' gets a wrong entry for
flv_parser library.

Similar patch was sent upstream (meta-fsl-arm). Once upstream integrates
the patch, this commit should be reverted.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-04-30 19:36:09 +02:00
Javier Viguera 1bb7ddd94f gst-fsl-plugin: cosmetic, no functionality change
Follow Yocto coding style:

https://wiki.yoctoproject.org/wiki/Recipe_%26_Patch_Style_Guide

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-04-30 19:24:37 +02:00
Javier Viguera afbf2cd803 meta-digi: rework setting VIRTUAL-RUNTIME_dev_manager
As a result fix CRDA hard-dependence on busybox mdev.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-04-30 13:27:48 +02:00