The imx-base.inc default to use u-boot.imx as U-Boot target and imx as
U-Boot suffix but the Soc needs to use u-boot-nand.bin as U-Boot
target and bin as U-Boot suffix.
Otavio Salvador [Sun, 23 Sep 2012 05:08:17 +0000 (02:08 -0300)]
image_types_fsl.bbclass: Fix 'mxs' handle of Kernels without dtb files
The code where failing if used with no dtb files available in deploy
directory.
Change-Id: Ib08e23f3d7761b0991fcce009fb93290d698f7c3 Reported-by: Tim Michals <tcmichals@gmail.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Tue, 18 Sep 2012 12:33:43 +0000 (09:33 -0300)]
u-boot-mxsboot: Update to 2012.07 based branch
We updated the U-Boot source code to the 2012.07 branch but moved from
DENX GIT server to the one used by the regular U-Boot recipe (github)
so we share same code base for both recipes.
Change-Id: Ie8ae327c87c0840dbfb1fb1ca427eb885357defa Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Acked-by: Daiane Angolini <daiane.angolini@freescale.com>
Otavio Salvador [Sat, 15 Sep 2012 19:56:12 +0000 (16:56 -0300)]
firmware-imx: refactory package naming and version
Rename the 'imx-firmware' package to 'firmware-imx' as this is how the
tarball is named. We also changed the version from 0.1 to 11.09.01 to
proper reflect to the version in use.
During the refactory the package upgrade path has been respected so
package management can know how to handle the rename.
Change-Id: I8d908020333883d7c8a42641e6d9a6e3e81f4bb0 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Andrei Gherzan [Tue, 18 Sep 2012 14:24:30 +0000 (17:24 +0300)]
Move fsl-default*.inc from distro to machine
It makes no sense to have distro related configurations in a BSP
layer. So let's have these common parts (provides, version etc)
in machine directory instead.
Signed-off-by: Andrei Gherzan <andrei.gherzan@windriver.com>
Otavio Salvador [Mon, 17 Sep 2012 19:13:24 +0000 (16:13 -0300)]
Merge remote branch 'freescale/denzil'
* freescale/denzil:
imx6qsabrelite: Use xserver-xorg instead of xserver-xorg-lite
cogl: Use OpenGL ES2 for mx5 SoCs
imx-base.inc: Set preferred implementation of virtual/libgl for mx5 SoCs
amd-gpu-x11-bin-mx51: Add provides to 'virtual/libgl'
Otavio Salvador [Mon, 17 Sep 2012 19:08:41 +0000 (16:08 -0300)]
imx6qsabrelite: 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>
Otavio Salvador [Wed, 12 Sep 2012 23:40:11 +0000 (20:40 -0300)]
amd-gpu-x11-bin-mx51: Add provides to 'virtual/libgl'
The package provides the headers and libraries specific for mx5 SoCs
to use OpenGL ES2 and OpenVG however packages were not depending on
it. This includes the need provides field on the recipe to address the
issue.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Mon, 10 Sep 2012 18:55:43 +0000 (15:55 -0300)]
mxs-base.inc: Disable perf tool features as Linux 2.6.35.3 fails
The perf tool build fails in upcoming Yocto 1.3 as it try to enable
perf-scripting but perl and python linking is not working in current
default kernel.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Mon, 10 Sep 2012 18:48:30 +0000 (15:48 -0300)]
imx-base.inc: Disable perf tool features as Linux 2.6.35.3 fails
The perf tool build fails in upcoming Yocto 1.3 as it try to enable
perf-scripting but perl and python linking is not working in current
default kernel.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
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