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 [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 [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>
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, 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>
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>
Otavio Salvador [Mon, 11 Jun 2012 19:13:58 +0000 (16:13 -0300)]
udev-extra-rules: add
The BSP expect to have meta-openembedded layer available so we don't
override udev-extraconf but udev-extra-rules; the recipe is also fixed
to be machine specific to avoid changing the behavior of the udev for
other machines.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Tue, 29 May 2012 13:11:04 +0000 (10:11 -0300)]
linux-imx (2.6.35.3): smsc95xx: generate random MAC address once
The smsc95xx driver currently generates a new random MAC address
every time the interface is brought up. This makes it impossible to
override using the standard `ifconfig hw ether` approach.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Fri, 18 May 2012 22:39:18 +0000 (19:39 -0300)]
u-boot: add patches required for i.MX and i.MXS families
This adds the set of patches, that will be included in next u-boot
release, on top of 2012.04.01 version. Those fix known issues with
supported machines.
The patches are managed on branch 'patches-2012.04.01' of
https://github.com/Freescale/u-boot-imx repository.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Sat, 19 May 2012 12:58:10 +0000 (09:58 -0300)]
linux-imx (2.6.35.3): add imx23evk configuration
The kernel configuration has been imported from Freescale's official
GIT repository, for 2.6.35.3 recipe, but with CONFIG_ROOT_NFS disabled
as we use the NFS server in user-mode and including devtmpfs support.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Sat, 19 May 2012 18:38:47 +0000 (15:38 -0300)]
image_types_fsl.bbclass: add imx-bootlets support for i.MXS
i.MXS SoC family has support to boot with imx-bootlets (the default
when using LTIB) and the only current supported way of booting i.MX23
machines.
The imx-bootlets has some quite specific requirements regaring the
partition layout and includes the kernel binary appended to the boot
stream so we drop the third partition reducing the wasted space of SD
card.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>