Otavio Salvador [Tue, 8 Jan 2013 12:59:56 +0000 (10:59 -0200)]
fsl-mm-*-codeclib: Fix packaging of libraries
This patch address many packaging issues which are required to allow
development using those libraries. The changes were:
* The pkgconfig file provided is the same provided by
fsl-mm-codeclib-dev so we cannot duplicate this file, instead we add a
depends on fsl-mm-codeclib-dev to provide a single pkgconfig file;
* The fsl-mm-flv-codeclib provided the same headers provided in
fsl-mm-codeclib so we remove them to avoid duplication;
* Disable debug split as the binaries are stripped;
* Set PACKAGE_ARCH to MACHINE_ARCH as this binaries are machine
specific;
* Fix libraries installation as the binary filenames doesn't follow
the standard naming;
* Use a single .inc file to avoid code duplication;
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Reported-by: Javier Viguera <javier.viguera@digi.com>
Otavio Salvador [Sun, 6 Jan 2013 21:16:20 +0000 (19:16 -0200)]
imx-base.inc: Centralize the preferred kernel for i.MX3X SoCs
The preferred kernel for i.MX3X SoCs are the same so we should set it
in imx-base.inc. The previous setting were not working as the board
files were using weak setting and the default (linux-imx) were being
used by mistake.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Synchronize with branch boundary-L3.0.35_12.09.01_GA on GitHub:
http://github.com/boundarydevices/linux-imx6/
The defconfig matches nitrogen6x_defconfig with two minor changes to
match Yocto userspace:
- Add devtmpfs
- GPU_VIV statically linked into kernel
This update includes a number of ethernet performance improvements as
discussed in this blog post:
http://boundarydevices.com/i-mx6-ethernet/
It also includes proper camera definitions in defconfig to allow
camera input from the OV5642 camera module and an update to the
SGTL5000 microphone ALSA controls as discussed in this post:
Daiane Angolini [Fri, 21 Dec 2012 18:10:26 +0000 (12:10 -0600)]
u-boot: Update u-boot 2012.10 to a newer version
This update includes the following changes:
mx53loco: Change default loadaddr to 0x72000000
mx6qsabrelite: Change default loadaddr to 0x12000000
mx6qsabre_common: Change default loadaddr to 0x12000000
mx28evk: Add support to dynamically choose between ftd use or not
mx53loco: Add support to dynamically choose between ftd use or not
mx6qsabrelite: Add support to dynamically choose between ftd use or not
mx6qsabre{auto,sd}: Add support to dynamically choose between ftd use or not
Noor Ahsan [Wed, 19 Dec 2012 14:05:26 +0000 (19:05 +0500)]
linux-imx: Add a patch to fix perf compilation issue.
* Perf gived compilation error
CC builtin-sched.o
builtin-sched.c: In function ‘get_cpu_usage_nsec_parent’:
builtin-sched.c:399:16: error: storage size of ‘ru’ isn’t known
* Added a patch from linux kernel git repo commit id 7b78f13603c6fcb64e020a0bbe31a651ea2b657b which include resource.h
file in builtin-sched.c.
* Bump PR.
* Verified it on Saberlite machine.
Signed-off-by: Noor Ahsan <noor_ahsan@mentor.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Tue, 18 Dec 2012 22:31:43 +0000 (20:31 -0200)]
udev: Drop bbappend as Meta-OpenEmbedded does not has it anymore
The OpenEmbedded-Core has update udev to 182 so making
Meta-OpenEmbedded one no more required. This allow us to simplify the
layer and remove a default dependency in Meta-OpenEmbedded.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Fri, 14 Dec 2012 11:18:46 +0000 (09:18 -0200)]
linux-imx.inc: Drop support for denzil
The code can be simplified if we drop denzil support making it easy to
understand. denzil doesn't provide KERNEL_SRC_PATH so we had provided
a workaround for it. This patch removes the workaround.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Mon, 19 Nov 2012 11:06:40 +0000 (05:06 -0600)]
libfslparser: Drop the package split as gst-fsl-plugin dlopen them
As gst-fsl-plugin dlopen the parser libraries and shlibs won't work in
this case for automatically discover the dependencies so we package
all parsers together for now.
Change-Id: I8e86c65dcac631d74d5a795f5268f8e807fd2543 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Tue, 27 Nov 2012 16:26:28 +0000 (14:26 -0200)]
imx-lib: Fix build system to allow override of CC and AR commands
The build system should use CC and AR from environment if those are
set; this is need to allow cross building to work as it might need to
set sysroot options for gcc calls.
Change-Id: I8296709c59f0054eca830a06c3853893b88a5789 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Fri, 23 Nov 2012 15:27:10 +0000 (13:27 -0200)]
amd-gpu-x11-bin-mx51: Use a python function to populate INSANE_SKIP
To avoid manually set the INSANE_SKIP we use an annonymous python snip
to dynamically set it for every package so makeing it more robust and
easy to understand.
Change-Id: I337a407e4d561cdc213d6c6c1d0d5dc76d9ccd7a Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Daiane Angolini [Tue, 20 Nov 2012 11:39:11 +0000 (05:39 -0600)]
gst-fsl-plugin.inc: Allow use of different source package
The package gst-fsl-plugin for imx6 was wrapped with a
different name (gst-fsl-plugins) so, in order to avoid duplicated
packaging, we now support different package names, and different
package source.
Otavio Salvador [Fri, 9 Nov 2012 03:44:01 +0000 (21:44 -0600)]
imx-base: Use xf86-video-imxfb-vivante for iMX6 targets
Change-Id: I9fb4fa04aef988fb8fd3105ab9444276ea0cbc29 Signed-off-by: Adrian Alonso <aalonso00@gmail.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Fri, 9 Nov 2012 03:43:59 +0000 (21:43 -0600)]
xserver-xf86-config: Use Vivante accelerated driver for iMX6
Change-Id: Ief51e752d58efbdf5412c93a786c442e3531a961 Signed-off-by: Adrian Alonso <aalonso00@gmail.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Adrian Alonso [Fri, 9 Nov 2012 03:43:57 +0000 (21:43 -0600)]
xf86-video-imxfb-vivante: Add Vivante Xorg driver for iMX SoCs
Change-Id: I2b9a107b1fe6d50f3f0aa47a0df3115d7a8bc650 Signed-off-by: Adrian Alonso <aalonso00@gmail.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Fri, 9 Nov 2012 03:43:56 +0000 (21:43 -0600)]
gpu-viv-bin-mx6q: Add Vivante GPU libraries
This recipe provides the binary libraries for use with iMX6 CPUs.
Change-Id: If21cf21535fc8ec4a0a1117974a8cb1f43499f66 Signed-off-by: Adrian Alonso <aalonso00@gmail.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Daiane Angolini [Tue, 23 Oct 2012 13:11:47 +0000 (08:11 -0500)]
linux-imx (3.0.35): perf tools: Fix build against newer glibc
Upstream glibc commit 295e904 added a definition for __attribute_const__
to cdefs.h. This causes the following error when building perf:
util/include/linux/compiler.h:8:0: error: "__attribute_const__"
redefined [-Werror] /usr/include/sys/cdefs.h:226:0: note: this is the
location of the previous definition
Wrap __attribute_const__ in #ifndef as we do for __always_inline.
Otavio Salvador [Mon, 29 Oct 2012 19:23:51 +0000 (17:23 -0200)]
image_types_fsl.bbclass: Fix mxs' imx-bootlets support
The imx-bootlets (and per design elftosb) enforce the use of offset so
we skip the first 1024KiB from the disk and start from there instead
of 4MiB as done for other SoCs.
Change-Id: I51e2989ef2007aa752e67f7d1b38a9de5c1ff9c8 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Andrei Gherzan [Wed, 24 Oct 2012 18:28:49 +0000 (21:28 +0300)]
image_types_fsl: Align SD partition and optimize final SD image
SD image file was 4G in size but actually the rootfs partition was only
60MB (in some images).
The image file size is not fixed anymore but calculated inside this
class. In this way we will setup the partition for rootfs to fit the
ext file used as SDIMG_ROOTFS. By default the free space is calculated
with IMAGE_OVERHEAD_FACTOR which is by default 1.3. If more free space
is needed this can be overwritten.
IMAGE_ROOTFS_ALIGNMENT set at 4096. This should be the best value for a
SD card.
Andrei Gherzan [Sun, 21 Oct 2012 23:07:19 +0000 (02:07 +0300)]
udev: Use oe_filter_out to switch to git source
Don't redefine SRC_URI just to replace source. We can use oe_filter_out
and have this done in one line.
Don't append FILESEXTRAPATHS as we don't yet use any local files.
Mahesh Mahadevan [Mon, 15 Oct 2012 17:31:15 +0000 (12:31 -0500)]
u-boot-imx: Fix the build and GIT repository location
1. u-boot-imx build was broken after making the switch to open source
u-boot. Added UBOOT_MACHINE defines since the u-boot config names
are different from that used in the denx GIT repository. Also added
defines UBOOT_MAKE_TARGET & UBOOT_SUFFIX given the older version of
the u-boot code used.
2. Added 'HOSTSTRIP=true' to EXTRA_OEMAKE for build to succeed.
3. Use git.freescale.com to get the u-boot source code.