Commit Graph

658 Commits

Author SHA1 Message Date
Javier Viguera f21718153c packagegroup-dey-core: add mtd-utils-ubifs package
This package provides 'ubiformat' command which is needed by
'update_flash' for UBI images.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-10-15 13:25:31 +02:00
Javier Viguera f93ca0a19f wmiconfig: use binary built in the buildserver
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-10-15 11:57:25 +02:00
Seth Bollinger 0817e87e61 URI: Change DIGI_LOG_GIT to something generic
Most SRC_URI defaults to DIGI_LOG_GIT. This patch sets a more generic
name (DIGI_GIT) that defaults to DIGI_LOG_GIT, but is configurable by
someone who might want to tune it (DIGI_MTK_GIT, etc.).

Signed-off-by: Seth Bollinger <sethb@digi.com>
2013-10-14 08:48:45 -05:00
Hector Palacios f29e08fee1 meta-digi-arm: kobs-ng: parse ROM version from FDT if available
New kernels don't get CPU information from U-Boot ATAGS and
so the /proc/cpuinfo file does not have the Hardware/Revision
lines filled in.
This patch gets the CPU model from the device tree information
at /proc/device-tree/compatible.
For backwards compatibility, if the CPU model cannot be retrieved
from this file, we try to get it from /proc/cpuinfo.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
Reviewed-by: Javier Viguera <javier.viguera@digi.com>

https://jira.digi.com/browse/DEL-797
2013-10-14 10:49:46 +02:00
Javier Viguera d6c78d1508 ccardimx28js defconfig: enable CONFIG_BRIDGE
https://jira.digi.com/browse/DEL-824

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-10-10 17:27:17 +02:00
Javier Viguera 05e143eeb0 meta-digi-dey: removed not needed gst-plugins-base bbappend
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-10-10 16:58:23 +02:00
Javier Viguera 1681b1fa6d meta-digi-dey: removed not needed gst-plugins-good bbappend
We are now using the standard yocto kernel headers so the patch to build
the plugin with new kernel headers is not needed.

The rest of the changes in the bbappend (removing gconf dependence) were
needed in yocto-danny, but not in yocto-dylan because the gconf package
does not depend on libx11 anymore.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-10-10 16:57:51 +02:00
Javier Viguera 84aa411dec meta-digi-dey: removed not needed gst-plugins-ugly bbappend
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-10-10 16:57:18 +02:00
Javier Viguera c196ede975 gsf-fsl-plugins: fix loading some FSL gstreamer elements
(gst-plugin-scanner:1295): GStreamer-WARNING **: Failed to load plugin
'/usr/lib/gstreamer-0.10/libmfw_gst_isink.so' : /usr/lib/libmfwvss.so.0:
undefined symbol: shm_open

(gst-plugin-scanner:1295): GStreamer-WARNING **: Failed to load plugin
'/usr/lib/gstreamer-0.10/libmfw_gst_vpu_enc.s o':
/usr/lib/libmfwvss.so.0: undefined symbol: shm_open

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-10-10 16:56:45 +02:00
Javier Viguera bc664fde50 meta-digi-dey: support MP3 audio files
https://jira.digi.com/browse/DEL-663

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-10-09 18:22:44 +02:00
Javier Viguera 6b937bfa5a meta-digi-dey: mdev.conf: remove existing symlinks
https://jira.digi.com/browse/DEL-817

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-10-09 14:09:38 +02:00
Javier Viguera 5f442b5caf build.sh: update manifest URL after stash migration
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-10-08 14:16:14 +02:00
Javier Viguera a04ea9af59 build.sh: add support to build kernel version 3.x
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-10-08 14:15:43 +02:00
Javier Viguera 4d0244409c libsoup: add missing build-time dependence
This is hidden using Poky distribution because Poky has X11 distro
feature and then other x11-related dependences pulls in intltool-native.

In our case DEY distro does not have X11 feature and thus
intltool-native is not part of libsoup dependences. Then sometimes fails
and sometimes not depending on the bitbake threads (BB_NUMBER_THREADS)
and other race conditions.

Adding the dependence explicitly fixes:

run.do_configure: intltoolize: command not found

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-10-08 13:56:43 +02:00
Javier Viguera b7be73b427 meta-digi-arm: update u-boot-2009.08 revision
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-10-04 15:53:01 +02:00
Javier Viguera 2efbca849d packagegroup-dey-examples: add virtual/kernel dependence
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>
2013-10-04 14:02:54 +02:00
Javier Viguera c33540030b meta-digi-dey: ccardimx28: use standard serial port for console
In ccardimx28 depending on the kernel version the console is on 'ttyAM0'
or 'ttyAMA0'. Use the standard serial port name ttyS0 for login (through
inittab) and let the device handlers create the symlink to the correct
device.

This allows to boot the same rootfs regardless of the kernel version.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-10-04 13:57:32 +02:00
Javier Viguera 684c6ea6e9 meta-digi-dey: add ttyAM[0-3] serial devices to securetty
Depending on the kernel version the serial device is created ttyAM0 or
ttyAMA0.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-10-04 13:55:51 +02:00
Javier Viguera 8f9c31b14c meta-digi: update linux and u-boot revisions
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-10-03 15:34:42 +02:00
Javier Viguera b0247e7e05 meta-digi: add wmiconfig package for MXS
wmiconfig is Atheros proprietary code so the recipe builds from source
if DIGI_INTERNAL_GIT is defined or uses a prebuilt binary otherwise.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-10-03 14:06:37 +02:00
Javier Viguera 70120ff69d meta-digi-arm: fix imx-bootlets stash URL
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-10-02 10:27:45 +02:00
Alex Gonzalez d908ddb138 meta-digi-arm: Update imx-bootlets with new stash URL.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
(cherry picked from commit 6773644fb3b6a4d6e80c82b305e39cf8ded0f50b)
2013-10-01 11:09:28 +02:00
Alex Gonzalez ab19aaccb4 meta-digi-arm: Update layer configuration with new stash url.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
(cherry picked from commit 38f68eb4118e5e7772606b86713c1d7e8c85fe66)
2013-10-01 11:09:20 +02:00
Javier Viguera ca5cae1b33 kobs-ng: apply the patches regardless of the kernel version
We are now using yocto kernel headers (3.x) in the toolchain so the
patches need to be applied regardless of the version of the running
kernel.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-09-25 16:20:17 +02:00
Javier Viguera c1e524cb39 meta-digi-arm: use Yocto's default headers
Following advise from:

http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=babbf7a46acaefd9b36031483cafce053f607e66

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-09-25 16:19:24 +02:00
Javier Viguera b381473a0f dey-examples: use kernel staging include files
This allows to build dey-examples while using the linux-libc-headers
provided by Yocto.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-09-25 16:18:51 +02:00
Javier Viguera 22f85285ad atheros: set correct revision depending on the kernel version
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-09-25 16:18:19 +02:00
Javier Viguera f1d8345c88 ccardimx28js defconfig: disable not used touchscreen device
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-09-24 17:25:31 +02:00
Javier Viguera 82a0937ff6 meta-digi-dey: add tslib dependence only for non-X11 images
X11 graphical images do not use tslib. They use the 'evdev' X11 driver
to handle input events.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-09-24 17:21:55 +02:00
Javier Viguera e82f2105c2 pointercal.xinput: add calibration for ccardimx28js in linux 3.10
https://jira.digi.com/browse/DEL-670

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-09-24 16:43:56 +02:00
Javier Viguera e10600ea69 meta-digi-dey: rework mdev touchscreen handler
So it creates '/dev/input/touchscreen0' symbolic link for well known
touch screen devices.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-09-23 16:34:20 +02:00
Javier Viguera bdfdee8035 linux-dey: enable SPIDEV depending on dey-examples
https://jira.digi.com/browse/DEL-629

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-09-20 15:51:48 +02:00
Javier Viguera 2ecf5a703a meta-digi-arm: update linux-dey revision
Add: spidev and wireless changes in the kernel

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-09-20 15:50:27 +02:00
Javier Viguera bc033c071d bluez4: add python runtime dependences
'simple-agent' python script included with this package depends on
python-pygobject and python-dbus

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-09-20 10:53:43 +02:00
Javier Viguera b76862a971 linux-dey: update device tree depending on variant
https://jira.digi.com/browse/DEL-641
https://jira.digi.com/browse/DEL-644

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-09-19 14:33:33 +02:00
Javier Viguera a55c6e96bd ccardimx28js defconfig: enable BINFMT_SCRIPT
Fix JIRAS:

https://jira.digi.com/browse/DEL-645
https://jira.digi.com/browse/DEL-646

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-09-18 14:33:08 +02:00
Javier Viguera 090c8754f6 packagegroup-dey-examples: remove redundant override
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-09-17 12:25:05 +02:00
Javier Viguera 8ca43c4a78 initscripts: add runtime dependency on util-linux umount
The initscripts package includes a '/etc/init.d/umountfs' script used
for reboot/poweroff purposes. That script calls the 'umount' command
but seems that the combination of busybox' umount + linux-3.x fails in
this script (it hangs without completing the reboot/poweroff).

So as a workaround use the umount command from util-linux package

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-09-17 12:17:10 +02:00
Javier Viguera 8bf9a739a5 meta-digi-arm: update linux-dey revision
To get the latest changes: logo, mac-address, wireless...

Also synchronize the defconfig with the one in the kernel tree.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-09-17 12:08:57 +02:00
Javier Viguera 936fcc9151 atheros: rework to build with linux 3.10
https://jira.digi.com/browse/DEL-673

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-09-17 12:08:34 +02:00
Javier Viguera 7ee46b00d8 meta-digi-arm: fix machine variant in machine overrides
The machine variant is most specific than machine name.

Before: MACHINEOVERRIDES="armv5:mxs:wb:ccardimx28js"
After:  MACHINEOVERRIDES="armv5:mxs:ccardimx28js:wb"

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-09-13 18:34:43 +02:00
Javier Viguera dc1499bd78 meta-digi: add IS_KERNEL_2X variable to be used in recipes
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-09-13 18:32:35 +02:00
Javier Viguera b1f76723a7 libdigi: support is_nand_oob_atomic for ccardimx28 in linux 3.x
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>
2013-09-11 10:27:00 +02:00
Javier Viguera 735e36ce8e atheros: update script to get the mac from the device tree
https://jira.digi.com/browse/DEL-637

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-09-10 14:38:40 +02:00
Seth Bollinger 255b409288 meta-digi-arm: Make COMPATIBLE_MACHINE more flexible
If people are creating derivative machines in their layer, make
COMPATIBLE_MACHINE more flexible.  Use SOC_FAMILY instead of specific
machine types.  This allows users to more easily share these recipes.

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

Signed-off-by: Seth Bollinger <sethb@digi.com>
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-09-09 09:49:28 +02:00
Javier Viguera 9ad3ccc496 bluez: update init script to get the mac from the device tree
https://jira.digi.com/browse/DEL-635

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-09-06 17:54:56 +02:00
Javier Viguera 0e2c436940 defconfig: enable centered custom logo
Custom logo support has been added to the kernel.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-09-05 18:07:04 +02:00
Javier Viguera d94a57ae0a cherokee: use mirror for package SRC_URI
The package is no longer available in the official cherokee site,
so download it from a mirror.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-09-05 17:30:51 +02:00
Javier Viguera a62f836601 net-snmp: Backport fix for NETSNMP_NO_SYSTEMD typos
snmpd.c: undefined reference to `netsnmp_sd_listen_fds'

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-09-05 17:27:45 +02:00
Javier Viguera 376f7672b6 vsftpd: remove fixes applied upstream
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-09-03 16:53:43 +02:00