Commit Graph

4857 Commits

Author SHA1 Message Date
Javier Viguera f86c1f9483 distro/del: add "Ubuntu 12.04.2 LTS" as known distribution
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-02-08 18:07:12 +01:00
Javier Viguera 024f0027ee meta-digi: add DEL examples
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-02-08 17:57:27 +01:00
Javier Viguera cd63471240 meta-digi-arm: build 'gpio' module for all platforms
https://jira.digi.com/browse/DEL-241

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-02-07 11:35:36 +01:00
Javier Viguera 44c84a9425 meta-digi-del: add device table support
And configure it to create GPIO nodes on boot.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-02-06 19:31:14 +01:00
Javier Viguera 0363754c32 meta-digi-arm: add 'gpio' kernel module
https://jira.digi.com/browse/DEL-241 #resolve

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-02-06 13:51:04 +01:00
Javier Viguera bcd2be97ad amd-gpu-bin-mx51: Use a python function to populate INSANE_SKIP
While on it, revert PROVIDES to its previous state, not depending on
DISTRO_FEATURES. This was tweaked to avoid a bitbake warning. Not it is
solved in a conditional BBMASK.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-02-06 13:51:04 +01:00
Alex Gonzalez b64b131465 meta-digi-del: Update SRC_URI for iw.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-02-06 12:46:42 +01:00
Alex Gonzalez fe2344344e del-image-graphical: Use udev instead of busybox-mdev.
This will make input device auto detect through evdev work.

Strangely busybox-mdev is still installed. May need to find the
dependency but nothing breaks because of it.

This partially fixes DEL-227.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-02-01 18:35:20 +01:00
Alex Gonzalez 72bf617ff7 ccxmx51: Fix audio include in defconfig.
Fixes https://jira.digi.com/browse/DEL-223

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-02-01 13:10:17 +01:00
Javier Viguera f6df6b3916 meta-digi-del: enable 'swap' applets in busybox
Enabled mkswap, swapon and swapoff.

Probably not much needed in an embedded system but they don't make the
binary much bigger and could be useful in some corner-case.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-02-01 12:00:40 +01:00
Javier Viguera 4b75c4a1c3 meta-digi-del: add 'iw' version 3.8
I had to increase the priority of 'meta-digi-del' layer, so our recipes
have precedence over the ones in 'meta-oe'. Otherwise it was always
using the 'iw' recipe of meta-oe, regardless of being a lower version
(iw-3.6).

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-01-31 17:40:30 +01:00
Javier Viguera 452abcf9de meta-digi-del: set correct WPA driver depending on the machine
This fixes a bug in 'ccardxmx28js' where the wpa_supplicant was using
the wrong driver 'wext' instead of the 'nl80211' (for atheros)

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-01-31 17:40:30 +01:00
Javier Viguera 1f3cc3eb1f wpa_supplicant: update to version 2.0 and enable SoftAP
https://jira.digi.com/browse/DEL-220 #resolve
https://jira.digi.com/browse/DEL-225 #resolve

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-01-31 17:40:30 +01:00
Javier Viguera 97777f8363 btfilter: add patch to support libnl-3
Now that btfilter supports libnl-3, remove DEL's preferred version of
libnl on 2.0

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-01-31 17:40:30 +01:00
Alex Gonzalez 28e2e69733 del-image-minimal: Add package-management feature.
This is needed for package post installation scripts to run their
second stage in the target.

For this to happen we also need to remove the "remove_packaging_data_files"
from the rootfs post process commands.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-01-31 16:03:00 +01:00
Alex Gonzalez 3b465914c0 meta-digi: Add del-image-graphical target image.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-01-31 16:03:00 +01:00
Javier Viguera 6b261a3949 meta-digi-del: enable busybox' brctl applet
Also enable CONFIG_BRIDGE in kernel configs (which is required to use
brctl)

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-01-29 13:40:59 +01:00
Javier Viguera b3d401779c meta-digi-arm: refresh/update kernel configs
Enable RFKILL. Otherwise on boot we get an error message:

rfkill: Cannot open RFKILL control device

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-01-29 12:41:57 +01:00
Javier Viguera cf4c248cf8 libdigi: update mach_id for merged platforms
This fixes 'update_flash' related problems.

update_flash needs to know in which platform is running so it can decide
whether to write clean-markers for JFFS2 images or not (for example in
FSL platforms).

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-01-28 19:29:51 +01:00
Javier Viguera 7fffaecfa2 update_flash: fix 'reboot' option
While on busybox' init you can reboot the system sending a TERM signal
to pid '1' it seems that in sysvinit package this does not work, so
implement a proper reboot using the system call.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-01-28 19:19:45 +01:00
Alex Gonzalez 68c5a90ebf meta-digi-del: Generate interfaces file on the fly and add ifup.
The interfaces file is different depending on whether we have single
or dual wired ethernet and whether we have a wireless or non wireless
module.

Also, add an ifup script to set the mac addresses fetched from the
kernel command line.

This commit autogenerates the /etc/network/interfaces file.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-01-28 17:58:45 +01:00
Alex Gonzalez e54bc6182f meta-digi-arm: Add kernel configuration file also for non dev images.
We need the kernel configuration file in /boot for some of the postint
scripts that aim to do smart things like autoconfigure the interfaces file.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-01-28 13:23:09 +01:00
Alex Gonzalez 289a7f0dc7 meta-digi-del: btfilter, set mac address from kernel command line.
The bootloader is passing the mac address in the kernel command line.

The bluetooth startup script reads it and sets it.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-01-28 13:23:09 +01:00
Alex Gonzalez a68c0ae54d kernel-module-redpine: Set mac address and wdmode from kernel command line.
The bootloader is passing the mac address and wdmode in the kernel command
line.

The driver startup script reads and and sets them.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-01-28 13:23:09 +01:00
Alex Gonzalez ad9436f733 kernel-module-atheros: Set mac address from kernel command line.
The bootloader is passing the mac address in the kernel command line.

The driver startup script reads it and sets it.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-01-28 13:23:09 +01:00
Javier Viguera ccab60099b meta-digi-arm: fix corrupted JFFS2 images in ccardxmx28js
Seems that the options Yocto was using to generate the jffs flash image
are not correct for ccardxmx28js. Specially mkfs.jffs2's padding option
'-p' was making the rootfs corrupted on second boot (as explained in
JIRA DEL-218).

Finally i decided to use the same mkfs.jffs2 parameters we were using in
DEL and those seems to be working fine.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-01-28 11:32:47 +01:00
Javier Viguera de86402042 meta-digi-del: add 'busybox-ntpd' package
Use busybox' ntpd applet as basic ntp client.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-01-24 19:05:24 +01:00
Javier Viguera 9292ff3e4d busybox-hwclock: enable 'hwclock' bootscript
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-01-24 18:49:03 +01:00
Javier Viguera cd8ee1eebc vsftpd: change boot messages
So they are more similar to the rest of the bootscripts.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-01-24 18:37:48 +01:00
Javier Viguera 1405e22241 busybox-mdev: create shared-memory mount point
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-01-23 19:09:41 +01:00
Javier Viguera 6d0eadd562 meta-digi-del: del-core packagegroup tweaks
- use 'busybox-mdev' as dev manager
- remove 'tinylogin' from login manager

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-01-23 18:15:12 +01:00
Javier Viguera 76e2bb53fe meta-digi: remove 'pulseaudio' dependence from del-image-minimal
Dependence's origin is in 'gst-plugins-good'

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-01-23 18:13:41 +01:00
Alex Gonzalez a14994bf80 kernel-module-redpine: Use agonzal/yocto branch.
This branch supports the new merged CCXMX platforms.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-01-23 13:02:23 +01:00
Alex Gonzalez 2d5a01974e meta-digi-arm: Add kernel defconfigs for merged wireless and non wireless.
These new defconfigs are needed after merging the wireless and non wireless
products in the linux kernel source.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-01-23 13:00:07 +01:00
Javier Viguera 309e9bd5a8 crda: fix error related to multiline comment
With latest changes in bitbake (post-danny), crda recipe was giving
following error:

ERROR: There is a confusing multiline, partially commented expression

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-01-23 10:57:43 +01:00
Javier Viguera 5d946c7cfe meta-digi-del: add override 'mdev' bootscript
https://jira.digi.com/browse/DEL-159 #resolve

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-01-22 18:32:50 +01:00
Javier Viguera df15208a8c meta-digi-del: enable 64-bit math support in busybox
This fixes 'out-of-range' errors:

~ # [ "2173165883" -eq "2173165883" ] && echo "TRUE"
sh: 2173165883: out of range

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-01-22 17:22:31 +01:00
Alex Gonzalez e20bd93460 meta-digi-arm: Fix u-boot-imx dependency on imx-bootlets-del.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-01-21 19:05:28 +01:00
Alex Gonzalez b3116d67ff meta-digi-arm: Update kernel-module-redpine to 3.2.10
This also fixes https://jira.digi.com/browse/DEL-198

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-01-21 17:27:48 +01:00
Alex Gonzalez f554d1f7a1 meta-digi-del: Replace wpa supplicant configuration files.
Use the ones in DEL instead.

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

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-01-21 16:33:02 +01:00
Javier Viguera ca91bedf08 meta-digi-del: tune target's boot
Remove 'login' on VT (tty1)
Remove 'bootlogd' (with also uses tty1)

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-01-21 14:35:00 +01:00
Javier Viguera b9e0768236 meta-digi-del: add 'suspend' and mount/umount scripts
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-01-21 14:35:00 +01:00
Alex Gonzalez a8561208a0 meta-digi-arm: Fix redpine preup script for the ccxmx51.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-01-21 13:47:24 +01:00
Alex Gonzalez fbabc275fa meta-digi-del: Add alsa-state to del-audio.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-01-21 13:46:04 +01:00
Alex Gonzalez 81fe23572c meta-digi-arm: Add alsa states for all platforms.
Fixes https://jira.digi.com/browse/DEL-161

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-01-21 12:54:53 +01:00
Alex Gonzalez 5e1dfd64b0 meta-digi-arm: Fix console settings for ccxmx51.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-01-21 12:51:45 +01:00
Alex Gonzalez 2cb2fbccdb meta-digi-arm: Fix symlink for imx variant uboot images.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-01-18 12:38:54 +01:00
Alex Gonzalez c57d9db032 meta-digi-arm: Add u-boot dependency on mxs include.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-01-17 14:18:53 +01:00
Alex Gonzalez ecea3012e6 meta-digi-arm: Add support to compile u-boot variants.
U-Boot has a set of pre-defined make targets per platform that allow
to configure u-boot for different variants (128sdram,4Kpage,dbg etc.)

This change allows to use a UBOOT_CONFIG_VARIANT variable in your
local.conf file to choose which variant to build.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-01-17 14:18:26 +01:00
Alex Gonzalez 59892b2f03 meta-digi-arm: Generate a bootstreamed u-boot for the ConnectCard for MX28.
The ConnectCard needs a bootstreamed (.sb) u-boot to boot from flash. This
is flashed using u-boot.

This changes compiles a bootstream u-boot image. The bootlets are compiled
separately and it's U-Boot's Makefile that calls elftosb to generate the
final bootstream.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-01-16 16:52:20 +01:00