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>
The preferred version needs to specify the QEMU
version for our qemu_git recipe (overridden by
the QEMU bbappends). Without this patch we will
no pick up our qemu_git recipe.
Signed-off-by: Matthew McClintock <msm@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>
The trivial change fixes u-boot compilation task, boot_format utility installs
board configuration files into a subdirectory of STAGING_DATADIR_NATIVE.
Signed-off-by: Vladimir Zapolskiy <vladimir_zapolskiy@mentor.com> Cc: Matthew McClintock <msm@freescale.com>
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>
Khem Raj [Thu, 2 Aug 2012 03:44:15 +0000 (20:44 -0700)]
linux-qoriq-sdk.bb: prepend to do_configure
Instead of prepending to kernel_do_configure
lets prepend to do_configure this gives another
knob for users who want to insert between this
prepend and do_configure_kernel. Typical usecase
is to enable kconfig options on top of defconfig
can be then appended to .config easliy in a
bbappend.
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>
This is nicely defined in tune-e500v2.inc from
oe-core, if we also define it here then oe-core
appends to it and it becomes a wrong string
'ppc-efdppc-efd' which then gcc fails to identify
and configures itself without e500_double support
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>