Otavio Salvador [Thu, 13 Sep 2012 15:00:54 +0000 (12:00 -0300)]
mxs-base.inc: Use xserver-xorg instead of xserver-xorg-lite
Next Yocto release will drop xserver-xorg-lite as building
xserver-xorg and not installing the DRI and GLX modules (and so not
Mesa) results in an increase of 16kb only.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Acked-by: Rogerio Pimentel <rogerio.pimentel@freescale.com>
Otavio Salvador [Thu, 13 Sep 2012 12:41:38 +0000 (09:41 -0300)]
imx-base.inc: Use xserver-xorg instead of xserver-xorg-lite
Next Yocto release will drop xserver-xorg-lite as building
xserver-xorg and not installing the DRI and GLX modules (and so not
Mesa) results in an increase of 16kb only.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Acked-by: Rogerio Pimentel <rogerio.pimentel@freescale.com>
Otavio Salvador [Thu, 13 Sep 2012 14:57:50 +0000 (11:57 -0300)]
fsl-default-providers.inc: Change virtual/xserver to xserver-xorg
Next Yocto release will drop xserver-xorg-lite as building
xserver-xorg and not installing the DRI and GLX modules (and so not
Mesa) results in an increase of 16kb only.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Acked-by: Rogerio Pimentel <rogerio.pimentel@freescale.com>
Otavio Salvador [Thu, 13 Sep 2012 13:56:02 +0000 (10:56 -0300)]
u-boot: Fix mx28evk bootargs
Without this patch console=${console_mainline} is never evaluated and
we get console=${console_mainline} in the bootargs which leads to no
kernel boot log on the serial console.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Acked-by: Rogerio Pimentel <rogerio.pimentel@freescale.com>
Otavio Salvador [Thu, 13 Sep 2012 12:47:33 +0000 (09:47 -0300)]
Merge remote branch 'freescale/denzil' into master
* freescale/denzil:
linux-imx (2.6.35.3): perf tools: Do not treat warnings as errors
linux-imx (2.6.35.3): perf tools: Fix build against newer glibc
linux-imx (2.6.35.3): mx5: Fix IPU hang when framebuffer is enabled in U-boot
Otavio Salvador [Mon, 10 Sep 2012 00:42:08 +0000 (21:42 -0300)]
linux-imx (2.6.35.3): perf tools: Do not treat warnings as errors
Newer GCC detect more warnings and this makes building of perf not
possible in the upcoming release of Yocto (1.3). We deal with that
making the warnings not fatal instead of changing perf code.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Fri, 7 Sep 2012 21:51:33 +0000 (18:51 -0300)]
linux-imx (2.6.35.3): 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 done for __always_inline.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Thu, 6 Sep 2012 12:38:14 +0000 (09:38 -0300)]
linux-imx (2.6.35.3): readd workaround for iMX28 problem with cpufreq
When cleaning the kernel recipes, the patch to disable cpufreq. This
patch readd the the missing workaround back to fix the hanging issue
during the boot.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Fri, 7 Sep 2012 20:35:51 +0000 (17:35 -0300)]
Merge remote branch 'freescale/denzil' into master
* freescale/denzil:
qt4-embedded: enable OpenGL ES2 and OpenVG for mx5 SoCs
qt4-x11-free: enable OpenGL ES2 and OpenVG for mx5 SoCs
amd-gpu-x11-bin-mx51: Proper detect the building on Linux
amd-gpu-x11-bin-mx51: Set compatibility as mx5 SoC family only
Otavio Salvador [Sat, 18 Aug 2012 18:02:23 +0000 (15:02 -0300)]
amd-gpu-x11-bin-mx51: Proper detect the building on Linux
GCC defines __linux__ when running on Linux but the headers where
checking by _LINUX define hence enforcing explicit definition by build
system; we patch the headers to check for __linux__ and then ensure it
"Just Work (TM)".
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Acked-by: Rogerio Pimentel <rogerio.pimentel@freescale.com>
Otavio Salvador [Fri, 17 Aug 2012 13:51:58 +0000 (10:51 -0300)]
linux-libc-headers-imx (2.6.38): drop as no BSP uses it
The 2.6.38 kernel has been used for the initial i.MX6Q support but now
it is replaced by 3.0.15 with much nicer kernel support thus this
version has no reason to be kept on the repository anymore.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Acked-by: Rogerio Pimentel <rogerio.pimentel@freescale.com>
Otavio Salvador [Fri, 17 Aug 2012 13:48:36 +0000 (10:48 -0300)]
linux-imx (2.6.38): drop as no BSP uses it
The 2.6.38 kernel has been used for the initial i.MX6Q support but now
it is replaced by 3.0.15 with much nicer kernel support thus this
version has no reason to be kept on the repository anymore.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Acked-by: Fabio Estevam <fabio.estevam@freescale.com>
Otavio Salvador [Wed, 15 Aug 2012 17:38:56 +0000 (14:38 -0300)]
Merge remote branch 'freescale/denzil' into master
* freescale/denzil:
linux-imx (2.6.35.3): reduce delta against kernel source imx23evk_defconfig
linux-imx (2.6.35.3): use 10.12.01 based kernel for mxs SoC family
linux-imx (3.0.15): update to use linux-imx
linux-imx (2.6.35.3): update to use linux-imx.inc
linux-imx.inc: add to avoid duplicating code among linux-imx' recipes
Otavio Salvador [Sun, 5 Aug 2012 17:18:12 +0000 (14:18 -0300)]
linux-imx (2.6.35.3): use 10.12.01 based kernel for mxs SoC family
Freescale maintains specific patches for their SoC families on
respective branches so we now have specific SRCREV for each
family.
For mxs we're using the 10.12.01 branch while for mx5 we keep using
11.09.01 one and we ended keeping the specific patches of each SoC
applying only on the right family.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Thu, 9 Aug 2012 21:58:30 +0000 (18:58 -0300)]
linux-imx.inc: add to avoid duplicating code among linux-imx' recipes
The linux-imx.inc hosts the common code of linux-imx recipes making it
easy to maintain and work.
To easily identify that the kernel running is built from Yocto and
give an indication of versioning, until we have a proper GIT revision
to point to, we use a local version with '+yocto-<date>' for it.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
This patch adds support for Freescale codecs on Qt 4.8.1
The patch "0001-Add-support-for-i.MX-codecs-to-phonon.patch" has been
updated to match the Phonon version contained on Qt 4.8.1
Otavio Salvador [Mon, 6 Aug 2012 16:17:31 +0000 (13:17 -0300)]
Merge remote-tracking branch 'freescale/denzil' into master
* freescale/denzil:
image_types_fsl.bbclass: Calculate BOOT_BLOCKS for new boot partition num
linux-imx (2.6.35.3): Kernel patches from Freescale GIT
linux-imx (2.6.35.3): reduce delta against kernel source mx5_defconfig
Delete the patches locally applied as they are available on the GIT server.
Tested video playback of an .mp4 file using the QT player and did not see
the black screen issue mentioned with the VPU.
Otavio Salvador [Wed, 1 Aug 2012 18:06:52 +0000 (15:06 -0300)]
udev-extra-rules: follow meta-oe and use udev-extraconf
This has been dropped from meta-oe so we append udev-extraconf now.
For compatibility with udev-extraconf, we need to add an empty space
to SRC_URI or the final SRC_URI will be broken.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Wed, 18 Jul 2012 21:45:55 +0000 (18:45 -0300)]
Merge remote branch 'denzil' into master
* freescale/denzil:
linux-imx (2.6.35.3): enable SPDIF support for imx53qsb
imx-test: depends on imx-lib so vpu testing application is build
imx-lib: fix packaging of libraries
linux-imx (2.6.35.3): enable support for NFS v4
Otavio Salvador [Wed, 18 Jul 2012 20:13:35 +0000 (17:13 -0300)]
imx-lib: fix packaging of libraries
The package was mistakenly removing the links of libraries making
runtime applications to fail to run. The patch that caused it has been
removed and package files adjusted.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Acked-by: Adrian Alonso <aalonso00@gmail.com>
Otavio Salvador [Wed, 18 Jul 2012 19:15:07 +0000 (16:15 -0300)]
linux-imx (2.6.35.3): fix sysroot populate with backward compatibility
The way kernel.bbclass works has change since denzil release and we
need to cope with both ways. This supports old /kernel deployment and
new /usr/src/kernel one.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Thu, 5 Jul 2012 18:01:56 +0000 (15:01 -0300)]
image_types_fsl.bbclass: do not create a partition from 0 to 1MB in i.MX sdcard
The bootrom boots from a fixed 1K offset so we don't need a partition
there and having one makes udev or kernel to probe for it and output
error messages in bootlog:
,----[ boot error messages ]
| ...
| EXT4-fs (mmcblk0p1): VFS: Can't find ext4 filesystem
| EXT3-fs (mmcblk0p1): error: can't find ext3 filesystem on dev mmcblk0p1.
| EXT2-fs (mmcblk0p1): error: can't find an ext2 filesystem on dev mmcblk0p1.
| FAT: bogus number of reserved sectors
| VFS: Can't find a valid FAT filesystem on dev mmcblk0p1.
| cramfs: wrong magic
| FAT: bogus number of reserved sectors
| VFS: Can't find a valid FAT filesystem on dev mmcblk0p1.
| ...
`----
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Tue, 17 Jul 2012 13:19:59 +0000 (10:19 -0300)]
Merge remote branch 'denzil' into master
* denzil:
imx-test: set PACKAGE_ARCH as the package is machine dependant
imx-test: depends on virtual/kernel
linux-imx (2.6.35.3): install native binaries onto sysroot
Otavio Salvador [Thu, 5 Jul 2012 18:01:56 +0000 (15:01 -0300)]
image_types_fsl.bbclass: do not create a partition from 0 to 1MB in i.MX sdcard
The bootrom boots from a fixed 1K offset so we don't need a partition
there and having one makes udev or kernel to probe for it and output
error messages in bootlog:
,----[ boot error messages ]
| ...
| EXT4-fs (mmcblk0p1): VFS: Can't find ext4 filesystem
| EXT3-fs (mmcblk0p1): error: can't find ext3 filesystem on dev mmcblk0p1.
| EXT2-fs (mmcblk0p1): error: can't find an ext2 filesystem on dev mmcblk0p1.
| FAT: bogus number of reserved sectors
| VFS: Can't find a valid FAT filesystem on dev mmcblk0p1.
| cramfs: wrong magic
| FAT: bogus number of reserved sectors
| VFS: Can't find a valid FAT filesystem on dev mmcblk0p1.
| ...
`----
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Wed, 13 Jun 2012 18:22:49 +0000 (15:22 -0300)]
linux-mainline: add a 3.5 development recipe
This recipe is the ongoing effort to port Freescale platforms to
mainline kernel.
The tree is currently based on 3.5-rc6 and it is located at
https://github.com/Freescale/linux-mainline and it has mainline kernel
plus patches for platforms that are not yet merged on official kernel.
Currently, it uses the default configs for mxs, mx5 and mx6 SoC families.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Sat, 16 Jun 2012 16:53:11 +0000 (13:53 -0300)]
image_types_fsl.bbclass: add support to use Device Tree for Linux kernel
To support new kernel, which use Device Tree for description of
hardware and machine, the image generation needs to be reworked.
U-Boot supports it out of box, so it just need to be available for
reading while the imx-bootlets we need to append the dtb file on the
very end of the zImage file.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Sat, 16 Jun 2012 12:51:49 +0000 (09:51 -0300)]
imx-bootlets: allow use of a zImage with appended device tree info
For use of kernels, with device tree, and imx-bootlets we need to
append it to the kernel image and use it for the linux.sb file. To
avoid changing the built kernel we append a -dtb suffix for the binary
name.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Adrian Alonso [Fri, 29 Jun 2012 18:55:41 +0000 (13:55 -0500)]
gst-plugins-base: gstplaybin2 rawvideo support
* Add gstplaybin2 rawvideo support
* Direct rendering support for mfw_v4lsink
Signed-off-by: Adrian Alonso <aalonso@freescale.com> Acked-by: Otavio Salvador <otavio@ossystems.com.br> Acked-by: Daiane Angolini <daiane.angolini@freescale.com>
Otavio Salvador [Tue, 12 Jun 2012 17:40:52 +0000 (14:40 -0300)]
udev: add 173 bbappend to use GIT for source fetching
To avoid fetching errors due uncomplete kernel.org mirrors we're now
using the GIT server to fetch the sources; this is how new udev
recipes are doing and we now uses this as a workaround in denzil
branch for 173 version.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Tue, 12 Jun 2012 14:42:37 +0000 (11:42 -0300)]
fsl-default-versions.inc: force use of udev 173 version
The change 8b39b81ae4b has removed the the 164 preferred version
however the last meta-openembedded version, the 182 and 175 versions,
lack the init script so we need to enforce the last version that works
with regular init to avoid the requirement on systemd.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>