* Reduce kernel console loglevel for all platforms.
* Protect DMA zone for MX5 platforms (for gstreamer/vpu)
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
Disable DEVCACHE to remove error message on boot.
https://jira.digi.com/browse/DEL-262 #resolve
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
Those symlinks point to files which belong to busybox-mdev package, so
at running time this adds a dependency to busybox package on
busybox-mdev package.
This is wrong for del-image-graphical where we want to use 'udev'
instead of 'mdev'.
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
When building an RPM based system, the linux kernel image was installed
after the netbase image so the /boot/config* file was not found.
Strangely that worked fine on IPK based systems.
Fixes https://jira.digi.com/browse/DEL-364
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
I have split the machine configuration in two:
-The module machine configuration include, for example ccimx53.inc
-The machine configuration (for example cimx53js.conf) which includes
the variant configuration.
This will allow for customers to create their own machine keeping the
module include file.
The variant can be configured in the local.conf file with a
MACHINE_VARIANT variable.
The variant names are made up of the interface initials as follows:
w: wifi
e: externel ethernel
b: bluetooth
1: 1-wire
a: accelerometer
g: GPU
v: VPU
128: 128MB RAM
4k: 1024MB NAND (only for MX51 JTAG flash)
For details regarding the supported variants, each machine configuration
file contains a comment with a variants table.
https://jira.digi.com/browse/DEL-330
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
An error appeared trying to setup a jenkins job to build yocto.
When using dettached repos for the different layers (as a result of
using 'repo' tool) bitbake somehow fails to parse 'base-files' recipe
because the branch of the layers is '(no branch)'.
The error message is:
ERROR: ExpansionError during parsing /data/jenkins/jobs/yocto_test/workspace/digi-yocto-sdk.jviguera_mkproject/sources/poky/meta/recipes-core/base-files/base-files_3.0.14.bb: Failure expanding variable do_install: ShellSyntaxError: LexToken(TOKEN,'nobranch',0,0)
followed by:
LexToken(RPARENS,')',0,0)
LexToken(TOKEN,':34e5537e67b655b8d2effbbecc207d88eea52b87"\nmeta-fsl-arm = "',0,0)
LexToken(LPARENS,'(',0,0)
LexToken(TOKEN,'nobranch',0,0)
LexToken(RPARENS,')',0,0)
This commit fixes the problem.
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
All bbappend files will start as follows:
# Copyright (C) 2013 Digi International.
PRINC := "${@int(PRINC) + 1}"
PR_append = "+${DISTRO}"
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
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>
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>
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>
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>
Qt is extracted to the del-qt feature.
All packages which belong to other future features, like del-profile or
del-test, are also left out from the default image.
Fixes https://jira.digi.com/browse/DEL-233
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
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>
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>
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>
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>
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>
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>
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>
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>
It will be included in all machines that include the bluetooth feature,
currently the ccardxmx28js.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
There is no need to explicitly set PACKAGES variable (it is
automatically handled by packagegroup.bbclass)
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
If we override the variable with '=' instead of '+=' then extra image
features set in project's local.conf (EXTRA_IMAGE_FEATURES variable) are
discarded.
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
We have been using ${PN}-${PV}, change to use only the package name and
leave ${PN}-${PV} for actual recipes.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>