Commit Graph

474 Commits

Author SHA1 Message Date
Alex Gonzalez 165b5456e5 meta-digi-arm: Remove ext3 and sdcard image types.
Do not generate them until they are properly tested and working.

Fixes https://jira.digi.com/browse/DEL-192

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-03-06 18:25:37 +01:00
Alex Gonzalez 11bb2bbca7 meta-digi: Do not hardcode distro in PR_appends.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-03-06 18:25:37 +01:00
Alex Gonzalez 8309770cdf meta-digi-arm: Remove spurious comment.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-03-06 18:25:37 +01:00
Javier Viguera 3455ca56e3 update-flash: restrict 'kobs-ng' dependence to MXS machines
https://jira.digi.com/browse/DEL-340

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-03-06 11:58:12 +01:00
Javier Viguera 7c894ce3d7 kernel-module-redpine: separate Kbuild part
Following the guidelines in kernel documentation:

linux-tree/Documentation/kbuild/modules.txt

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-03-05 19:45:42 +01:00
Javier Viguera a9767aa5ff kernel-module-atheros: allow to build from objects
https://jira.digi.com/browse/DEL-134

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-03-05 19:45:42 +01:00
Alex Gonzalez 9e336798c7 update_flash: Add kobs-ng dependency.
kobs-ng is needed to be able to flash the bootloader from user space
in mxs platforms.

Fixes https://jira.digi.com/browse/DEL-340

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-03-05 18:37:55 +01:00
Alex Gonzalez d18375991e meta-digi-dbl: Add jpeg preferred provider.
This avoids the following recipe parsing warning:

NOTE: multiple providers are available for jpeg (jpeg, libjpeg-turbo)
NOTE: consider defining a PREFERRED_PROVIDER entry to match jpeg

Closes https://jira.digi.com/browse/DEL-336

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-03-05 18:37:55 +01:00
Alex Gonzalez 37293e824f meta-digi: Add BBMASK for unused linux-imx.
This avoids a harmless warning that appears when bitbake parses all
recipes.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-03-05 18:37:55 +01:00
Alex Gonzalez 994595da74 meta-digi-del: Remove del override.
We want customers that use meta-digi-del to be able to define their own
distros without breaking our recipes.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-03-05 18:37:55 +01:00
Alex Gonzalez 0e0b599c48 meta-digi-arm: Fix overrides for linux-del.
The overrides need machine_family.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-03-05 18:37:54 +01:00
Alex Gonzalez b4ac5d171f meta-digi-dbl: Modify the atheros init script.
Modify the script to fetch MAC addresses from the command line instead
of using nvram.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-03-05 18:37:54 +01:00
Alex Gonzalez 9c2567021e meta-digi-arm: Create an extra kernel symlink.
Create a symlink on the deploy folder that matches the standard uboot
name for the kernel.

Fixes partially https://jira.digi.com/browse/DEL-283

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-03-05 18:37:54 +01:00
Alex Gonzalez db8ed174f5 meta-digi-dbl: Add bluetooth init script.
This comes from the digiel.git repo and will need to be modified before
it works.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-03-05 18:37:54 +01:00
Alex Gonzalez bc0a3e8074 meta-digi-dbl: Add kernel-nodule-atheros init scripts.
These come from the digiel.git repo and will need to be modified to work.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-03-05 18:37:54 +01:00
Alex Gonzalez c8f8198942 meta-digi-dbl: Add dbl layer.
The meta-digi-dbl layer defines its own dbl distribution to run on Digi's
boxed products.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-03-05 18:37:54 +01:00
Alex Gonzalez 1b6cc41acf meta-digi-del: Add VIRTUAL-RUNTIME_ntp.
Move busybox-ntpd from del-core to del-network and allow for it to be
configurable via VIRTUAL-RUNTIME-ntpd.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-03-05 18:37:54 +01:00
Alex Gonzalez 4e64c87d2a dbl configuration: Start with del.conf.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-03-05 18:37:54 +01:00
Javier Viguera 1226554932 meta-digi-arm: fix linux kernel broken build with dash shell
Due to the use of a bashism (shopt).

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-03-04 15:38:50 +01:00
Alex Gonzalez a344936238 meta-digi-del: btfilter, fix SRC_URI.
When adding the Digi premirror, there was a typo in the btfilter recipe.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-03-04 13:12:06 +01:00
Javier Viguera a952a61288 kernel-module-redpine: allow to build from objects
https://jira.digi.com/browse/DEL-134

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-03-04 11:22:09 +01:00
Javier Viguera 8201c36178 kernel-module-redpine: remove patch
Integrated into redpine repository.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-03-04 11:21:50 +01:00
Alex Gonzalez bc3a4b663c meta-digi-arm: Avoid udev loading atheros kernel module.
udev will attempt to load the atheros kernel modules because it defines
a modalias that matches an sdio bus event.

In a race condition with the script in if-pre-up, the module will crash.

Recent versions of udev have lost the ability to add an ignore_device
option to the rules, and mdev in del-image-minimal has no module
autoloading ability.

The commit adds a modprobe install rule that does nothing, and allows
the if-pre-up script to load the module as it used to.

Fixes https://jira.digi.com/browse/DEL-277

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-03-04 10:19:49 +01:00
Alex Gonzalez 766b99f0c6 meta-digi-arm: Move atheros init script to machine folder.
This allows for different platforms to use their own version.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-03-04 10:19:49 +01:00
Alex Gonzalez c2a9ce5a68 meta-digi: Use a single Digi premirror.
This commit adds a Digi premirror to the DEL distribution file. This
premirror will be tried first. It default to build-linux.digi.conf but
will be customized for the layer public release.

This still allows for a project to be customizes with a
SOURCE_MIRROR_URL which will be tried before the premirrors.

Fixes https://jira.digi.com/browse/DEL-186

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-03-04 10:05:27 +01:00
Alex Gonzalez f4c81bccfd meta-digi-arm: Fix imx-bootlets-del for CPX2.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-02-28 16:07:50 +01:00
Alex Gonzalez 7c57b2659c meta-digi: Add accel-graphics machine feature.
The del-image-minimal will included the graphical acceleration libraries
if the machine supports accel-graphics.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-02-28 13:55:06 +01:00
Alex Gonzalez e9037c6812 meta-digi-arm: Fix soundcard name in alsa state files.
Fixes https://jira.digi.com/browse/DEL-331

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-02-28 13:10:28 +01:00
Alex Gonzalez f00dde210c meta-digi-del: del-qt, fix build.
Replace the qt4-pkgs feature from the RDEPENDS with its package group.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-02-28 11:33:35 +01:00
Alex Gonzalez 2e73bd974d meta-digi: Add battery configuration and module autoload for CCIMX51JS.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-02-28 11:33:34 +01:00
Alex Gonzalez b71d8395d5 meta-digi: Add camera support kernel configuration and module autoloading.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-02-28 11:33:34 +01:00
Alex Gonzalez 2ee0cb61fe meta-digi-del: Add a machine support include condition for del-examples.
The packagegroup-del-examples now uses SOC family and only includes
applications based on the machine features.

A customer when defining a new platform will customize the machine
features it supports.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-02-28 11:33:34 +01:00
Alex Gonzalez 43682a2d84 meta-digi: Automate the sahara kernel module loading.
The del-examples-sahara now depends on the kernel modules it needs to
work and these are autoloaded at boot.

Fixes DEL-274.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-02-28 11:33:34 +01:00
Alex Gonzalez b4ff11cf9e meta-digi: Autoload kernel-module-mma7455l with del-examples-accelerometer.
For this the CCIMX51 and CCIMX53 kernels are configured to build the
mma7455l module and it is included as a dependency of the del-examples-
accelerometer application.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-02-28 11:33:34 +01:00
Alex Gonzalez a6f0aeaefc meta-digi-arm: Remove UART1 support from MX28 defconfig.
This conflicts with user led 2 used in the GPIO example add and with
other interfaces needed in the del-image-graphical image.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-02-28 11:33:34 +01:00
Alex Gonzalez e6043243e5 meta-digi-arm: Configure kernel sound with the alsa machine feature.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-02-28 11:33:34 +01:00
Alex Gonzalez 85e2644459 meta-digi-arm: Add cpx2 machine.
This fixes https://jira.digi.com/browse/DEL-190

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-02-28 11:33:34 +01:00
Alex Gonzalez ffa592299e meta-digi-arm: Add configuration fragments support.
Fixes https://jira.digi.com/browse/DEL-122
Fixes https://jira.digi.com/browse/DEL-264

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-02-28 11:33:34 +01:00
Javier Viguera a2c0a78035 kernel-module-redpine: add driver load script
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-02-27 19:39:20 +01:00
Javier Viguera 5e63bd0e9e kernel-module-redpine: provide tarball with object files
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-02-27 17:59:01 +01:00
Javier Viguera a7752aa067 kernel-module-redpine: simplify recipe
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-02-27 17:58:50 +01:00
Javier Viguera fd30b58284 bluez: power cycle BT module if hciattach fails
Power cycle the Bluetooth module in the AR6233 if the Bluetooth driver,
hciattach, is unable to communicate with the Bluetooth module.

This change depends on a related change in the kernel GPIO configuration
code that makes the GPIO available to user space.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-02-27 16:11:20 +01:00
Javier Viguera cab3e32599 meta-digi-del: rework HTTP servers
Enable by default 'busybox-httpd'
Install Digi default page for both busybox-httpd and cherokee
Provide basic cherokee configuration

https://jira.digi.com/browse/DEL-151 #resolve

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-02-26 14:33:08 +01:00
Javier Viguera 774b09b2d6 meta-digi-del: fix bluetooth-python applications
https://jira.digi.com/browse/DEL-224 #resolve
https://jira.digi.com/browse/DEL-276 #resolve

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-02-21 17:07:46 +01:00
Javier Viguera 573e87fed7 meta-digi-del: create 'del-examples' image feature
While on it, re-order the features alphabetically.

https://jira.digi.com/browse/DEL-271 #resolve

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-02-20 10:30:57 +01:00
Javier Viguera b0c1d5fd21 meta-digi-arm: rework machine configuration files
So they don't depend on the machine files from meta-fs-arm layer.

This allows to override some settings in project's local.conf file.

https://jira.digi.com/browse/DEL-219 #resolve

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-02-19 19:08:30 +01:00
Hector Palacios 3c3aac2628 ccardxmx28/config: enable USB suspend by default
Wakeup interrupts were not happening upon USB stick plug
events during normal work. This had the effect of the
interrupt happenign when going to suspend and usually when
the driver is not able to handle it, causing a nobody cared
message from the kernel.

https://jira.digi.com/browse/CCIMX28-326

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2013-02-19 11:23:46 +01:00
Javier Viguera 1e888be133 btfilter: rework package's recipe
- use Yocto's INITSCRIPT/update-rc.d infrastructure to install the
  bootscript.
- add patch that make cross-compilation easier and thus simplify bitbake
  recipe.
- launch 'abtfilter' with '-b' parameter (use only D-Bus filtering) to
  avoid alignment errors (when using hci filter mode):

Alignment trap: abtfilt (721) PC=0x00017f24 Instr=0xe1d330b0 Address=0x419fec91 FSR 0x013

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-02-15 19:26:32 +01:00
Alex Gonzalez 51f75c56ad meta-digi-arm: All git sources now point to the head of refs/heads/master.
All of the Yocto branches have finally been merged.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-02-15 18:22:24 +01:00
Alex Gonzalez 88392974c5 meta-digi-arm: Use master SRCREV for u-boot.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-02-15 09:24:38 +01:00