Commit Graph

4395 Commits

Author SHA1 Message Date
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
Alex Gonzalez 2afcea15db meta-digi-arm: Add imx-bootlets-del recipe.
This is the recipe for Digi's customized MXS bootlets code.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-01-16 16:52:20 +01:00
Alex Gonzalez cf57a267d1 meta-digi-arm: Fox IMX platforms, add u-boot padding.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-01-16 16:52:20 +01:00
Alex Gonzalez 341b135003 meta-digi-arm: Add variable for Digi's Minnetonka git repository.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-01-16 16:52:20 +01:00
Javier Viguera 63f206cd23 meta-digi-del: add 'update_flash' application
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-01-16 16:00:11 +01:00
Alex Gonzalez eb76f52db0 meta-digi: Define default source mirrors in all layers that need them.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-01-15 11:49:51 +01:00
Javier Viguera 48029a0605 meta-digi-arm: build images for different memory variants
https://jira.digi.com/browse/DEL-181 #resolve

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-01-15 10:49:38 +01:00
Alex Gonzalez 37d7439d98 meta-digi-arm: Fix u-boot configuration target for ccxmx51js.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-01-15 10:47:47 +01:00
Alex Gonzalez 2e1d2e1bcb Revert "meta-digi-arm: Define configuration targets for all platforms."
This reverts commit 5cf109df8b.

The configuration targets were already defined.
2013-01-15 10:47:09 +01:00
Alex Gonzalez 5cf109df8b meta-digi-arm: Define configuration targets for all platforms.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-01-15 10:26:46 +01:00
Alex Gonzalez 9a0751048b meta-digi-arm: Use hpalacio/del-6.x branch for u-boot-imx.
The U-Boot conditioning work for Yocto is taking place in that branch.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-01-15 10:10:10 +01:00
Alex Gonzalez a4ea304034 meta-digi-del: Append netbase to customize startup scripts.
Add custom /etc/init.d/networking and /etc/network/interfaces.

The networking script does the start section on the background which
inlcudes the bringing up of the interfaces. In this way DHCP does not
delay the boot up.

The interfaces file configures the wireless interface to be automatically
brought up.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-01-14 18:42:27 +01:00
Alex Gonzalez 5b0fd6a283 meta-digi-del: Add specific wpa-supplicant for ConnectCard.
We use a wpa-supplicant directly from Atheros with extra functionality.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-01-11 17:14:56 +01:00