Commit Graph

518 Commits

Author SHA1 Message Date
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 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 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 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
Alex Gonzalez d4df2750d4 meta-digi-dey: mdev, udev: Add serial and bluetooth devices.
https://jira.digi.com/browse/DEL-572

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-08-22 18:07:17 +02:00
Alex Gonzalez cfd04a953b meta-digi-dey: Add acpid support for power key suspend/poweroff.
The acpid applet will run at startup and will listen for power input
events.

On arrival, it will timestamp the press event, wait for the release event
and decide whether to suspend or poweroff based on the time elapsed.

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

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-08-13 13:50:04 +02:00
Javier Viguera 84a66ee287 meta-digi-dey: simplify packagegroup recipes
The MACHINE_ESSENTIAL_EXTRA_* vars need to be only in the
'packagegroup-dey-core' recipe not in the rest of the packagegroups.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-08-09 16:31:28 +02:00
Javier Viguera e5ef733383 packagegroup-dey-core: add MACHINE_EXTRA_RRECOMMENDS
This is needed so the kernel modules configured in the kernel defconfig
get added to the rootfs image.

At the same time there is no need to add the usb gadget modules
separately because they are added in the machine extra recommends as
well.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-08-09 16:31:27 +02:00
Javier Viguera 1aa3e88855 netbase, init-ifupdown: rename bbappend
The 'netbase' package in poky's meta layer was splitted in netbase +
init-ifupdown.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-08-02 14:44:16 +02:00
Javier Viguera f47915f45a meta-digi: remove udev-173 bbappend
That version of udev was removed from 'meta-oe' and thus bitbake fails
to parse the recipes.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-08-02 14:43:46 +02:00
Javier Viguera 91291212b9 meta-digi-dey: clean bitbake warnings
QA Issue: Variable ALLOW_EMPTY is set as not being package specific
QA Issue: Variable RPROVIDES is set as not being package specific

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-08-02 14:42:16 +02:00
Alex Gonzalez f5aa5e1a74 meta-digi-dey: Define different USB gadgets for 3.10 kernel.
The g-file-storage kernel has been replaced by the g-mass-storage.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-07-30 10:43:55 +02:00
Alex Gonzalez 038f782d33 meta-digi-del: Add ttyAMA0 to mdev.
This is the serial name in the 3.x kernels for the ccardimx28js.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-07-30 10:43:55 +02:00
Javier Viguera a4c6472815 meta-digi-dey: allow to mount the rootfs with 'noatime'
Remount the rootfs with 'noatime' option to minimize writes (avoiding
wearing-out the flash).

This also improves slightly the system performance.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2013-07-04 11:48:24 +02:00
Javier Viguera 7a2cd37ad3 udev-extraconf: fix automount of block devices
Some block devices are incorrectly mounted by udev. Instead of mounting
the partition device it mounts the disk device. This commit enhances the
automount udev rule and mount script so it only applies to partitions.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
Reviewed-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-06-20 11:09:01 +02:00
Javier Viguera f92a7ad84a busybox: enable FEATURE_STAT_FORMAT
Allows to use '-c' parameter to 'stat' command.

This is needed in udev's automount script (next commit).

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
Reviewed-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-06-20 11:07:49 +02:00
Alex Gonzalez 698df28ed6 meta-digi-dey: Fix ifup script for manual configuration.
The system freezes if we try to set the MAC addresses before the interface
is up, so check the state before doing it.

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

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-06-18 17:02:10 +02:00
Alex Gonzalez 8988542df3 meta-digi: Rename from DEL to DEY.
The final product will be called "Digi Embedded for Yocto" or DEY for
short.

This commit renames all relevant files.

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

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2013-06-12 13:18:37 +02:00