]> code.ossystems Code Review - meta-freescale.git/log
meta-freescale.git
10 years agogpu-viv-bin-mx6q: Upgrade to 3.10.31-1.1.0 beta
Neena Busireddy [Wed, 27 Aug 2014 18:41:46 +0000 (13:41 -0500)]
gpu-viv-bin-mx6q: Upgrade to 3.10.31-1.1.0 beta

- Support for mx6sx (GC400T) added
- Support for Khronos OpenGL ES 3.0 API for i.MX6Quad, i.MX6Dual, i.MX6Solo
- Rendering pipeline enhancements
- High quality ETC2/EAC texture compression support
- Shading language enhancements
- Enhanced texturing functionality

The license checksum has change due the copyright's year
adjustments; there are no changes in the license terms.

Signed-off-by: Neena Busireddy <neena.busireddy@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
10 years agofirmware-imx: Upgrade to 3.10.31-1.1.0 Beta version
Lauren Post [Thu, 4 Sep 2014 13:12:59 +0000 (08:12 -0500)]
firmware-imx: Upgrade to 3.10.31-1.1.0 Beta version

VPU firmware is updated to version v3.1.1_r46060 for mx6

This release does not contain Atheros firmware so remove from the
firmware-imx.inc file. This also removes the 3.0.35-4.0.0 version as
this release is also compatible with mx5 SoCs.

Signed-off-by: Lauren Post <lauren.post@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
10 years agoimx-test: Upgrade to 3.10.31-1.1.0 Beta version
Lauren Post [Thu, 4 Sep 2014 13:12:58 +0000 (08:12 -0500)]
imx-test: Upgrade to 3.10.31-1.1.0 Beta version

- Fixes to csi_v4l2 test
- Add dcic driver test case
- Add mxc_mcc_tty_test case used for mx6sx
- Fixes for VPU test for IOGetVirtMem Checking and SOF stuffing
- Updates to mxc_v4l2 to use csi_v4l2 tests
- Update HAB to use zImage
- Add MX6SX for mx6sx
- Change MX6S to MX6SL for mx6sl
- Update USB documentation
- Add cxi_v4l2_tvin test case for vadc
- sdma - Support M2D dma copy for 3.10.17
- mmdc - Add mx6sx support
- wdog - Add dbg monitor

Update include PLATFORM and DEPEND for mx6sx and mx6sl

Add mx6sx depends similar to mx6sl.  mx6sx has no VPU like mx6sl.
Update PLATFORM to be specific to mx6sx and mx6sl which both support
PXP but only mx6sx supports mxc_mcc_tty_test tests

Signed-off-by: Lauren Post <lauren.post@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
10 years agoimx-vpu: Upgrade to 3.10.31-1.1.0 Beta version
Lauren Post [Thu, 4 Sep 2014 13:12:57 +0000 (08:12 -0500)]
imx-vpu: Upgrade to 3.10.31-1.1.0 Beta version

Upgrade to v5.4.26 version

- Fixes to support multiple thread robustness
- SOF stuffing new command added used for MJPEG
- VPU performance fixes with multiple instances
- IOGetVirtMem - return checking - Remove patch from recipe
- SOI search performance fixes
- Comment unused registers for mx6 chips as dummy
- Add new registers used on mx6 chips only.

Signed-off-by: Lauren Post <lauren.post@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
10 years agoimx-lib: Upgrade to 3.10.31-1.1.0 Beta version
Lauren Post [Thu, 4 Sep 2014 13:12:56 +0000 (08:12 -0500)]
imx-lib: Upgrade to 3.10.31-1.1.0 Beta version

Makefiles changed for mx6sx and mx6sl to exclude rng and sahara
since those are not supported on mx6 chips.
Platform is set to MX6S for both mx6sx and mx6sl so the
previous makefiles only excluded MX6Q platform.

Note this is different for imx-test which specifies
MX6SX and MX6SL in makefiles. In imx-lib they are treated the same.

Add PLATFORM setting for mx6sx and mx6sl

imx-lib has pxp libraries only used for mx6sx and mx6sl

Previously used MX6Q but mx6q and mx6dl can't be built with pxp

Signed-off-by: Lauren Post <lauren.post@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
10 years agoimx6sxsabresd.conf: Create i.MX 6SoloX Machine configuration
Lauren Post [Thu, 4 Sep 2014 13:12:55 +0000 (08:12 -0500)]
imx6sxsabresd.conf: Create i.MX 6SoloX Machine configuration

Signed-off-by: Lauren Post <lauren.post@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
10 years agoimx6slevk.conf: Add the imx6slevk-pf200 device tree
Lauren Post [Thu, 4 Sep 2014 13:12:54 +0000 (08:12 -0500)]
imx6slevk.conf: Add the imx6slevk-pf200 device tree

Add support for pfuze200 on imx6slevk

Move pmic device node from imx6sl-evk.dtsi to upper-level, and add
another layer on imx6sl-evk to diff pfuze100 or pfuze200. Meanwhile
only works in ldo-enable mode if using pfuze200, since 'SW1C' switch
regulator is cut for cost-down which means VDDARM_IN and VDDSOC_IN have
to share the same switch regulator

Signed-off-by: Lauren Post <lauren.post@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
10 years agoimx6qsabresd.conf: Add the imx6q-sabresd-enetirq device tree
Lauren Post [Thu, 4 Sep 2014 13:12:53 +0000 (08:12 -0500)]
imx6qsabresd.conf: Add the imx6q-sabresd-enetirq device tree

Apply ENET IRQ workaround for sabresd board

This is pretty much an example to demonstrate how the GPIO6 workaround
for bug ERR006687 (ENET: Only the ENET wake-up interrupt request can
wake the system from Wait mode) should be applied for a board.

Basically it requires a setup of MX6QDL_PAD_GPIO_6__ENET_IRQ in pinctrl
entry, and an overwrite on the property interrupts-extended to replace
the ENET GIC IRQ with GPIO1_6.

Since the pad GPIO6 is used by I2C3 on the board, we have to create
sabresd-enetirq.dts with I2C3 disabled to enable this workaround.

Signed-off-by: Lauren Post <lauren.post@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
10 years agoimx6dlsabresd.conf: Add the imx6dl-sabresd-enetirq device tree
Lauren Post [Thu, 4 Sep 2014 13:12:52 +0000 (08:12 -0500)]
imx6dlsabresd.conf: Add the imx6dl-sabresd-enetirq device tree

Apply ENET IRQ workaround for sabresd board

This is pretty much an example to demonstrate how the GPIO6 workaround
for bug ERR006687 (ENET: Only the ENET wake-up interrupt request can
wake the system from Wait mode) should be applied for a board.

Basically it requires a setup of MX6QDL_PAD_GPIO_6__ENET_IRQ in
pinctrl entry, and an overwrite on the property interrupts-extended to
replace the ENET GIC IRQ with GPIO1_6.

 Since the pad GPIO6 is used by I2C3 on the board, we have to create
 sabresd-enetirq.dts with I2C3 disabled to enable this workaround.

Signed-off-by: Lauren Post <lauren.post@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
10 years agoimx6dlsabresd.conf: Add the imx6dl-sabresd-pf200 device tree
Lauren Post [Thu, 4 Sep 2014 13:12:51 +0000 (08:12 -0500)]
imx6dlsabresd.conf: Add the imx6dl-sabresd-pf200 device tree

Add support for pfuze200 on mx6dl-sabresd.

Move pmic device node from imx6qdl-sabresd.dtsi to up-level, and add
another layer on imx6dl-sabresd to diff pfuze100 or pfuze200. Meanwhile
only work in ldo-enable mode if using pfuze200,since 'SW1C' switch
regulator is cut for cost-down which means VDDARM_IN and VDDSOC_IN have
to share the same switch regulator

Signed-off-by: Lauren Post <lauren.post@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
10 years agou-boot-fslc: Add patch to work with 3.10.31-1.1.0_beta kernel
Lauren Post [Thu, 4 Sep 2014 13:13:00 +0000 (08:13 -0500)]
u-boot-fslc: Add patch to work with 3.10.31-1.1.0_beta kernel

3.10.31 linux-imx has update to work with fixed mmc blocks
Without this patch the community u-boot will not boot on some
mx6 boards.

Signed-off-by: Lauren Post <lauren.post@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
10 years agou-boot-imx: Upgrade to 2014.04 version
Lauren Post [Thu, 4 Sep 2014 13:12:50 +0000 (08:12 -0500)]
u-boot-imx: Upgrade to 2014.04 version

- Add mx6sx support
- General fixes for mx6slevk and other mx6
- Support to use zImage

Signed-off-by: Lauren Post <lauren.post@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
10 years agolinux-imx: Upgrade to 3.10.31-1.1.0 Beta version
Lauren Post [Thu, 4 Sep 2014 13:12:48 +0000 (08:12 -0500)]
linux-imx: Upgrade to 3.10.31-1.1.0 Beta version

- Add support for mx6sx.
- General fixes for all mx6.
- Upgrade to v5 Vivante graphics driver.

This also updates the linux-imx-mfgtool recipe as well.

Signed-off-by: Lauren Post <lauren.post@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
10 years agou-boot-fslc: Update to 5fd0b607d
Fabio Estevam [Mon, 10 Nov 2014 20:48:01 +0000 (18:48 -0200)]
u-boot-fslc: Update to 5fd0b607d

This adds the following U-boot patch:

5fd0b607d mx53loco: Change 'fdt_file' dynamically

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
10 years agolinux-fslc: Update revision to 6725f5
Fabio Estevam [Mon, 10 Nov 2014 20:48:00 +0000 (18:48 -0200)]
linux-fslc: Update revision to 6725f5

This updates the Linux kernel to the 3.17.2 stable release.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
10 years agoimx53qsb: Add extra dtb
Fabio Estevam [Mon, 10 Nov 2014 19:40:04 +0000 (17:40 -0200)]
imx53qsb: Add extra dtb

Since kernel 3.15 there are two dtb's for the imx53-qsb board:

imx53-qsb.dtb - For the boards with DA9053 PMIC
imx53-qsrb.dtb - For the boards with MC34708 PMIC

Add the 'imx53-qsrb.dtb' to the list of supported dtb's.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
10 years agomxs-base.inc: Convert to zImage
Fabio Estevam [Mon, 10 Nov 2014 14:13:19 +0000 (12:13 -0200)]
mxs-base.inc: Convert to zImage

U-boot mainline uses zImage as the image type, so let's use zImage by default
in mxs-base.inc.

Boards that use uImage can still override it by passing:
KERNEL_IMAGETYPE = "uImage"

in their .conf file.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Tested-by: Daiane Angolini <daiane.angolini@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
10 years agomx28evk: Convert to zImage
Fabio Estevam [Mon, 10 Nov 2014 14:13:18 +0000 (12:13 -0200)]
mx28evk: Convert to zImage

U-boot mainline uses zImage as the image type, so let's switch to it.

This fixes the boot on 'dizzy' branch.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
10 years agomx23evk: Convert to zImage
Fabio Estevam [Mon, 10 Nov 2014 14:13:17 +0000 (12:13 -0200)]
mx23evk: Convert to zImage

U-boot mainline uses zImage as the image type, so let's switch to it.

This fixes the boot on 'dizzy' branch.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
10 years agols1021aqds.conf: add the missing quotation mark
Zhenhua Luo [Mon, 10 Nov 2014 12:41:40 +0000 (20:41 +0800)]
ls1021aqds.conf: add the missing quotation mark

Fix following parse error:
ERROR: Unable to parse conf/bitbake.conf: ParseError at /home/jenkins/poky/
meta-fsl-arm/conf/machine/ls1021aqds.conf:16: unparsed line: 'UBOOT_CONFIG[lpuart]
= "ls1021aqds_lpuart_config'

Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
10 years agols1021aqds: update UBOOT_CONFIG and device tree
Chunrong Guo [Wed, 5 Nov 2014 04:26:24 +0000 (12:26 +0800)]
ls1021aqds: update UBOOT_CONFIG and device tree

   *ls102xa rename QDS and TWR board dts name for consistence
   *ls102xa add LPUART board config for QDS/TWR boards
   *ls102xa remove letech board config for QDS/TWR boards

Signed-off-by: Chunrong Guo <B40290@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
10 years agols1021atwr: update UBOOT_CONFIG and device tree
Chunrong Guo [Wed, 5 Nov 2014 04:17:26 +0000 (12:17 +0800)]
ls1021atwr: update UBOOT_CONFIG and device tree

   *ls102xa rename QDS and TWR board dts name for consistence
   *ls102xa add LPUART board config for QDS/TWR boards
   *ls102xa remove letech board config for QDS/TWR boards

Signed-off-by: Chunrong Guo <B40290@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
10 years agou-boot-ls1: Update to 50d6848 revision
Chunrong Guo [Wed, 5 Nov 2014 03:58:16 +0000 (11:58 +0800)]
u-boot-ls1: Update to 50d6848 revision

     This includes following changes:

     50d6848 arm: ls102xa: Update bit reversing for SCFG registers
     4d18340 arm: ls102xa: Remove custom part number SLS1020A and related defination
     756cbdc arm: ls102xa: clear EPU registers for deep sleep
     1d333c7 arm: ls102xa: correct the base address of DCSR registers

Signed-off-by: Chunrong Guo <B40290@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
10 years agorcw : Update to 38ec2c9 revision
Chunrong Guo [Wed, 5 Nov 2014 03:34:25 +0000 (11:34 +0800)]
rcw : Update to 38ec2c9 revision

   This includes following changes:

   69c87db ls1021aqds: set value of uboot entry address for qspiboot
   a59bea9 ls1021a: add rcw for enable sai
   ca0b3d1 ls1021aqds: sdboot: fix value of PBI_SRC and IFC_MODE
   3ac85c8 ls1021atwr: add rcw for SD card boot
   43707fa ls1021aqds: add rcw for NAND boot
   1948685 ls1021a: remove custom part number "letech"

Signed-off-by: Chunrong Guo <B40290@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
10 years agolinux-ls1: Update to 3ced9e8 revision
Chunrong Guo [Wed, 5 Nov 2014 02:58:01 +0000 (10:58 +0800)]
linux-ls1: Update to 3ced9e8 revision

   This includes following changes:

   c742cbe arm: dts: ls1021a: rename QDS and TWR board dts name for consistence
   dbaf1e5 ARM: ls1021a: add gating clocks to IP blocks.
   0eb706c watchdog: imx2_wdt: Add power management support.
   b53a344 watchdog: imx2_wdt: adds big endianness support.
   eb157e1 watchdog: imx2_wdt: convert to watchdog core api
   71b5f25 watchdog: Get rid of MODULE_ALIAS_MISCDEV statements
   54d638d watchdog: imx2_wdt: disable watchdog timer during low power mode
   c495541 watchdog: imx2_wdt: expose module alias for loading from device-tree

Signed-off-by: Chunrong Guo <B40290@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
10 years agoxf86-video-imxfb-vivante: Upgrade to 3.10.17-1.0.2 patch release
Lauren Post [Fri, 31 Oct 2014 15:17:20 +0000 (10:17 -0500)]
xf86-video-imxfb-vivante: Upgrade to 3.10.17-1.0.2 patch release

Fixes for
- Cursor performance impact
- Pixmap stride when wrapping
- Distinguish cpu and gpu physical address

Signed-off-by: Lauren Post <lauren.post@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
10 years agogpu-viv-g2d: Upgrade to 3.10.17-1.0.2 patch release
Lauren Post [Fri, 31 Oct 2014 15:17:19 +0000 (10:17 -0500)]
gpu-viv-g2d: Upgrade to 3.10.17-1.0.2 patch release

Update G2D api to support extensive alpha blend.

Signed-off-by: Lauren Post <lauren.post@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
10 years agogpu-viv-bin-mx6q: Upgrade to 3.10.17-1.0.2 patch release
Lauren Post [Fri, 31 Oct 2014 15:17:18 +0000 (10:17 -0500)]
gpu-viv-bin-mx6q: Upgrade to 3.10.17-1.0.2 patch release

Fixes for the following:
- Memory management, high CPU loading, crashes with QT5
- Avoid system freeze with invalid power
- Mutex sharing. resource leak, database protection
- 3D OpenVG for libGAL crash
- UI reboots while playing video
- Add VG355 support to X11
- Enhanced G2D API
- QT5 support for wayland
- WebGL fixes for Chrome UI

For more details reference the 3.10.17-1.0.2 Patch Release notes on freescale.com/imx

Signed-off-by: Lauren Post <lauren.post@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
10 years agou-boot-imx: Upgrade to 3.10.17-1.0.2 patch release
Lauren Post [Fri, 31 Oct 2014 15:17:17 +0000 (10:17 -0500)]
u-boot-imx: Upgrade to 3.10.17-1.0.2 patch release

Improve speed of image authentication in 2013.04

Signed-off-by: Lauren Post <lauren.post@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
10 years agolinux-imx: Upgrade to 3.10.17-1.0.2 patch release
Lauren Post [Fri, 31 Oct 2014 15:17:16 +0000 (10:17 -0500)]
linux-imx: Upgrade to 3.10.17-1.0.2 patch release

Changes to the following areas.

- pfuse 100
- power management
- graphics driver update with memory, deadlock and bug hang fixes.
- crypto - Update testmgr DMA
- ipu MXC IPUv3 fb: Fix MXCFB_CSC_UPDATE ioctl
- ARM - Drop PL310 errata

Signed-off-by: Lauren Post <lauren.post@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
10 years agoREADME: Update branches to master for development
Otavio Salvador [Wed, 5 Nov 2014 17:38:06 +0000 (15:38 -0200)]
README: Update branches to master for development

This reverts commit 9ee281f30038ab72564dc983d11b1c9818f083de.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
10 years agoREADME: Update for Dizzy release
Otavio Salvador [Wed, 5 Nov 2014 17:00:25 +0000 (15:00 -0200)]
README: Update for Dizzy release

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
10 years agogpu-viv-g2d: fix file ownership in packages
Javier Viguera [Tue, 4 Nov 2014 15:12:10 +0000 (16:12 +0100)]
gpu-viv-g2d: fix file ownership in packages

Using 'cp -a' to install files in do_install function leaks user/group
attributes from build machine to target packages.

WARNING: log_check: There is a warn message in the logfile
WARNING: log_check: Matched keyword: [warn]
WARNING: log_check: warning: user xxxxx does not exist - using root

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
10 years agoefl: Avoid applying the patch for non-i.MX6 machines
Otavio Salvador [Wed, 5 Nov 2014 11:53:39 +0000 (09:53 -0200)]
efl: Avoid applying the patch for non-i.MX6 machines

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
10 years agoefl: rename bbappend to match future versions
Andreas Müller [Thu, 30 Oct 2014 16:55:47 +0000 (17:55 +0100)]
efl: rename bbappend to match future versions

as long as the patch applies chances are high that we need it

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
10 years agou-boot-*: Add DESCRIPTION for u-boot providers
Daiane Angolini [Fri, 31 Oct 2014 10:53:47 +0000 (08:53 -0200)]
u-boot-*: Add DESCRIPTION for u-boot providers

Add u-boot DESCRIPTION for those providers still using the default one.
This is needed in order to have a complete and readable list of u-boot providers
in FSL Community BSP Release Notes.

Signed-off-by: Daiane Angolini <daiane.angolini@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
10 years agoweston: Do not override PACKAGECONFIG
Neena Busireddy [Tue, 28 Oct 2014 17:01:23 +0000 (12:01 -0500)]
weston: Do not override PACKAGECONFIG

PACKAGECONFIG should not be overridden. If not, it will become very
complex to enable other features defined in the main recipe.

This patch also removes the duplicate PACKAGECONFIG settings defined
in the bbappend after this change.

For sololite, remove egl from PACKAGECONFIG as egl is enabled by
default for DISTRO_FEATURES wayland.

Signed-off-by: Neena Busireddy <neena.busireddy@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
10 years agolinux-fslc: Update revision to 20fb021
Otavio Salvador [Tue, 28 Oct 2014 14:23:42 +0000 (12:23 -0200)]
linux-fslc: Update revision to 20fb021

This updates the Linux kernel to the 3.17.1 stable release.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
10 years agoimx-base.inc: Use specific package feed for MX6QDL and MX6SL
Otavio Salvador [Tue, 28 Oct 2014 12:08:04 +0000 (10:08 -0200)]
imx-base.inc: Use specific package feed for MX6QDL and MX6SL

The sharing of packaging feed between MX6QDL and MX6SL is very
fragile. In rare cases, when a package is not generated for the
machine it can fallback to the wrong set of packages.

This has been seen on the Vivante GPU packages as MX6SL does not
include libegles2-mx6 and the packaging system ended using the one
provided by MX6QDL SoC.

This issue was very hard to find out the cause and understand why it
was happening so I'd like to thank Richard Purdie for his help in
figuring it out.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
10 years agoimx6dlsabreauto: Change to use u-boot-fslc
Otavio Salvador [Thu, 23 Oct 2014 22:34:23 +0000 (20:34 -0200)]
imx6dlsabreauto: Change to use u-boot-fslc

This board is now supported by u-boot-fslc so we move from u-boot-imx
to it; this is preferred as this U-Boot fork follows closely the
mainline tree which brings faster development cycle and helps to
extend the test of i.MX6 support.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
10 years agou-boot-fslc: Update to 2014.10 upcoming release
Otavio Salvador [Fri, 10 Oct 2014 22:18:10 +0000 (19:18 -0300)]
u-boot-fslc: Update to 2014.10 upcoming release

This updates the U-Boot to the 2014.10 based branch. On top of the
original code we still have following changes applied:

75ce95e embestmx6boards: Change default bootenv configuration
472bfb3 ot1200: add sata support
4e8b5ee ot1200: fix sf detection
857ccfd ARM: i.MX6: include prototype for get_board_rev()
2b542e6 video: ipu_disp: remove pixclk fixup
499a8ca video: ipu: fix debug and comment
c970aa2 lcd: Fix build error with CONFIG_LCD_BMP_RLE8
37a6b36 mx6sabre_common: Add HDMI config to common code
56f29bf mx6qsabreauto: Add HDMI support
2878ac3 ot1200: remove superfluous "string" tag
d2104d6 ARM: i.MX video: declare displays and display_count publicly
2d6e2ec ARM: i.MX: provide declaration for board_spi_cs_gpio
d09ced3 ARM: prevent compiler warnings from bootm.c
34fd658 wandboard: Use 32bit color depth for Fusion LCD
92e4fa9 mx6sabresd: Use LDO dtb file until LDO bypass support is added
d859ee7 mx6slevk: Use LDO dtb file until LDO bypass support is added
47ac5b6 mx6sabresd: Use mmcblk0 for CONFIG_MMCROOT

Due the changes on the way U-Boot works now, heavily relying on
kconfig, it is required to use the 'configure' step to properly setup
it for the 'sandbox' before building the tools.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
10 years agonativesdk-packagegroup-sdk-host: add nativesdk-u-boot-mkimage
Javier Viguera [Tue, 21 Oct 2014 12:50:30 +0000 (14:50 +0200)]
nativesdk-packagegroup-sdk-host: add nativesdk-u-boot-mkimage

Add the 'mkimage' host tool to the toolchains generated with 'bitbake
meta-toolchain' or with 'bitbake -c populate_sdk <image>'.

This allows to use the standalone toolchain to build kernel images of
type uImage (with u-boot header)

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
10 years agocairo: Fix PACKAGECONFIG settings
Gary Thomas [Tue, 21 Oct 2014 12:12:20 +0000 (06:12 -0600)]
cairo: Fix PACKAGECONFIG settings

Remove a forced setting of PACKAGECONFIG_mx6 - this caused some flags
which were set by the main recipe to be lost, e.g. "x11".  The flags
which are being set by these lines are correctly set in the main recipe,
so this change fixes the errant behaviour with no other side effects.

Signed-off-by: Gary Thomas <gary@mlbassoc.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
10 years agogstreamer1.0-plugins-bad: Remove gles2 for i.MX6 SoloLite
Neena Busireddy [Thu, 16 Oct 2014 20:45:05 +0000 (15:45 -0500)]
gstreamer1.0-plugins-bad: Remove gles2 for i.MX6 SoloLite

i.MX6 SoloLite (mx6sl) does not support 3D GPU hardware
acceleration. The X11 backend only supports mesa software rendering GL
and non-x11 backends does not support both GL and GLES.

This patch defines PACKAGECONFIG_GL for each i.MX6 SoC family as i.MX6
SoloLite is different from other SoC's.

Signed-off-by: Neena Busireddy <neena.busireddy@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
10 years agochromium: Update bbappend to version 38.0.2125.101
Carlos Rafael Giani [Mon, 13 Oct 2014 11:35:39 +0000 (13:35 +0200)]
chromium: Update bbappend to version 38.0.2125.101

In this update, the "component-build" packageconfig is no longer enabled
by default. Component builds do use much less RAM on build machines, but
according to Chromium developers, it is not recommended to use these for
anything other than developer builds.

Note that you should still enable component mode if you don't have a
64 bit build machine, or a machine with less than 8 GB RAM.

Reference:
https://groups.google.com/a/chromium.org/d/topic/chromium-dev/yqIHEbquIBg/discussion

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
10 years agolinux-fslc: Update to 3.17 release
Otavio Salvador [Fri, 10 Oct 2014 21:50:02 +0000 (18:50 -0300)]
linux-fslc: Update to 3.17 release

This updates to the 3.17 release. No changes are applied on the
patches-3.17 branch at this moment so it is essentially the hash of
the v3.17 tag.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
10 years agoimage_types_fsl.bbclass: typo fix (s/Unkown/Unknown/)
Mario Domenech Goulart [Fri, 10 Oct 2014 13:26:03 +0000 (10:26 -0300)]
image_types_fsl.bbclass: typo fix (s/Unkown/Unknown/)

Signed-off-by: Mario Domenech Goulart <mario@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
10 years agoimx-base.inc: Use ?= for PREFERRED PROVIDER
Neena Busireddy [Wed, 1 Oct 2014 18:18:04 +0000 (13:18 -0500)]
imx-base.inc: Use ?= for PREFERRED PROVIDER

Use ?= for PREFERRED PROVIDER for mx6 GPU libraries in order
to make it flexible for overriding.

Signed-off-by: Neena Busireddy <neena.busireddy@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
10 years agolinux-fslc: Update to bf3b99e revision
Otavio Salvador [Mon, 22 Sep 2014 13:49:09 +0000 (10:49 -0300)]
linux-fslc: Update to bf3b99e revision

This updates the patches-3.16 branch to the 3.16.3 stable release.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
10 years agou-boot-fslc: Update to e36968a revision
Otavio Salvador [Mon, 22 Sep 2014 13:36:50 +0000 (10:36 -0300)]
u-boot-fslc: Update to e36968a revision

This includes follow backports from 2014.10 upcoming release

e36968a wandboard: Use 32bit color depth for Fusion LCD
c1c50cf mx6qsabreauto: Staticize when possible
930ed7c mx6sxsabresd: Staticize i2c_pad_info1
38b6f2e imx:mx6slevk: change CONFIG_SYS_FSL_ESDHC_ADDR
10377d0 imx:mx6qarm2: change CONFIG_SYS_FSL_ESDHC_ADDR
a1cf9ae imx:mx6sxsabresd: change CONFIG_SYS_FSL_ESDHC_ADDR
3ac6818 arm: Fix _start for CONFIG_SYS_DV_NOR_BOOT_CFG
bbc0712 arm: Make reset position-independent

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
10 years agogstreamer1.0-plugins-imx: Update to version 0.9.9
Carlos Rafael Giani [Sun, 21 Sep 2014 11:02:17 +0000 (13:02 +0200)]
gstreamer1.0-plugins-imx: Update to version 0.9.9

Changes:

- ipu, vpu, v4l2src: Use reference counting for resources
- ipu: use a global FD instead of per-blitter FDs
- introduce a proper physical address type and a printf conversion
  specifier
- remove cpu address from GstImxPhysMemory and add an "internal" pointer
- replace obsolete "padding" member in phys mem meta with better defined
- use a reference counter for mapping physical memory
- ipu: fix kernel version detection and include paths in wscript
- eglvivsink: remove RGB from the list of supported formats
- cleanup & logging improvements

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
10 years agols1021aqtwr.conf: Add machine conf for ls1021atwr
Zhenhua Luo [Thu, 4 Sep 2014 04:33:19 +0000 (12:33 +0800)]
ls1021aqtwr.conf: Add machine conf for ls1021atwr

* define the SOC_FAMILY
* set UBOOT_CONFIG
* configure kernel devicetree and defconfig
* define options related to serial console

Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
10 years agols1021aqds.conf: Add machine conf for ls1021aqds
Zhenhua Luo [Thu, 4 Sep 2014 04:33:18 +0000 (12:33 +0800)]
ls1021aqds.conf: Add machine conf for ls1021aqds

* define the SOC_FAMILY
* set UBOOT_CONFIG
* configure kernel devicetree and defconfig
* define options related to serial console

Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
10 years agorcw: add recipes for Layerscape1 support
Zhenhua Luo [Thu, 4 Sep 2014 04:33:17 +0000 (12:33 +0800)]
rcw: add recipes for Layerscape1 support

The reset configuration word (RCW) manages the hardware configuration
info for QorIQ targets, rcw is used by the preboot loader to begin
system configuration.

Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
10 years agolinux-ls1: Add kernel recipes for Layerscape1 support
Zhenhua Luo [Thu, 4 Sep 2014 04:33:16 +0000 (12:33 +0800)]
linux-ls1: Add kernel recipes for Layerscape1 support

Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
10 years agou-boot-ls1: Add recipe for Layerscape1 support
Zhenhua Luo [Thu, 4 Sep 2014 04:33:15 +0000 (12:33 +0800)]
u-boot-ls1: Add recipe for Layerscape1 support

* u-boot-ls1-tools-native: provides the tcl script for endian swap
* u-boot-ls1: the u-boot recipes for ls1021aqds and ls1021atwr support

Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
10 years agols-base.inc: Add base configuration for Layerspace1 support
Zhenhua Luo [Thu, 4 Sep 2014 04:33:14 +0000 (12:33 +0800)]
ls-base.inc: Add base configuration for Layerspace1 support

The base configuration file includes following major settings:
* Freescale LS1 default providers
* Default image type
* Default tune type
* Default machine features

Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
10 years agou-boot-fslc: Update to 53cd36b revision
Otavio Salvador [Thu, 11 Sep 2014 20:38:38 +0000 (17:38 -0300)]
u-boot-fslc: Update to 53cd36b revision

This updates the 2014.07-based branch with more backports from the
2014.10 upcoming release. The following changes are included:

53cd36b imx: mx6slevk: Change to use generic board
987efad imx: mx6q/dlarm2: Change to use generic board
0207052 README.imximage: Fix the maximum DCD size
13e94fe imx: Fix build of mx6sxsabresd
318d1cd mx6sxsabresd: Add PCI support
919802d pcie_imx: Add mx6solox support
847d6ce mx6: imx-regs: Provide a structure for GPC registers
f26e33b mx6qsabreauto: Remove imx6q-sabreauto.dts
f22fd9d imx: nitrogen6x: Replace 'fatload' by 'load' command in env settings to be filesystem independent
e45540b arm: vf610: lpuart: disable FIFO on initializaton
11571b6 arm: vf610: lpuart: fix status register handling
09e81f4 mx6: Fix ECSPI typo in soc_boot_modes
b8d5d42 imximage: Fix imximage IVT bug for EIM-NOR boot
228135e iMX6: Disable the L2 before chaning the PL310 latency
45108f1 tools: imximage: Fix the maximum DCD size for mx53/mx6
9f3f181 pci: add support for board_pci_fixup_dev function
4ecf3e6 arm: mx6: add get_cpu_type()
b6faaf1 arm: mx6: ddr: fix cs0_end calculation
07917e7 arm: mx6: ddr: configure MMDC for slow_pd
66b2f14 arm: mx6: ddr: do not write into reserved bit
b3f847e arm: mx6: ddr: cleanup
eba02a9 i2c: imx: add macros to setup pads for multiple SoC types
e50e740 sata: dwc_ahsata: implement sata_port_status
a45361d compulab: eeprom: add support for defining eeprom i2c bus
8f82ddd mx6: add clock enabling functions
5305489 net: fec_mxc: Poll FEC_TBD_READY after polling TDAR
d5e440b net: fec_mxc: Adjust RX DMA alignment for mx6solox
fca8b5a usb: ci_udc: implement dfu_usb_get_reset
7baddea arm: Add missing .vectors section to linker scripts
324df11 arm: vf610: add NFC clock support
10c68b2 arm: vf610: add NFC pin mux
9bba571 ARM: Fix overflow in MMU setup
7be9add api: fix build without CMD_NET support
8a9e527 e1000: add i210 support
dcd2c8c e1000: Implement dcache support

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
10 years agoqtbase: Include Sololite changes.
Neena Busireddy [Wed, 10 Sep 2014 02:06:45 +0000 (21:06 -0500)]
qtbase: Include Sololite changes.

Sololite x11 backend only supports mesa software rendering GL but
does not support GLES. Sololite non-x11 backends (fb, wayland
and dfb) do not support GL and GLES.

Change qtbase recipe to support sololite qt for all backends.

Signed-off-by: Neena Busireddy <neena.busireddy@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
10 years agogstreamer1.0-plugins-base: Enable native video in playbin for i.MX SoCs
Wang Zidan [Fri, 12 Sep 2014 08:34:13 +0000 (16:34 +0800)]
gstreamer1.0-plugins-base: Enable native video in playbin for i.MX SoCs

GST_PLAY_FLAG_NATIVE_VIDEO means link decoder directly with video
render, otherwise, software csc/resize/deinterlace plugins will be
linked between them.

For all i.MX chips, we should enable this flag, as the fsl renders
has the capability to do csc/resize.

Signed-off-by: Zidan Wang <b50113@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
10 years agolinux-imx (3.10.17): Forward port 3.10.17-1.0.0 fixes
Otavio Salvador [Thu, 11 Sep 2014 18:51:09 +0000 (15:51 -0300)]
linux-imx (3.10.17): Forward port 3.10.17-1.0.0 fixes

Freescale when doing 3.10.17-1.0.1 has ignored the fixes done, by
themselves, in the 3.10.17-1.0.0 kernel.

This includes following patches, rebased on top 3.10.17-1.0.1:

 ENGR00318392 ARM:imx6x: Save/restore SCU and some CP15 registers across suspend/resume
 ENGR00301078-2: ARM: dts: imx6sl-evk: add support for pfuze200 on imx6sl-evk
 ENGR00301078-1: ARM: dts: imx6dl-sabresd: add support for pfuze200 on mx6dl-sabresd
 pfuze100-regulator: Fix of_node_get() parameter
 regulator: pfuze100: Use of_get_child_by_name
 regulator: pfuze100: Add PFUZE200 support to Kconfig and module description
 regulator: pfuze100: Add terminate entry for [i2c|of]_device_id tables
 regulator: pfuze100: add pfuze200 support
 regulator: pfuze100: Fix address of FABID
 ENGR00309838 ARM: imx6sl: gpc: add chip revision check for dispmix

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
10 years agogstreamer1.0-plugins-imx: Update to version 0.9.8
Carlos Rafael Giani [Fri, 5 Sep 2014 21:31:36 +0000 (23:31 +0200)]
gstreamer1.0-plugins-imx: Update to version 0.9.8

Changes:

- Fixed imxipuvideotransform's passthrough mode to make it work with
  playbin's about-to-finish signal
- Display scale updates in imxeglvivsink weren't being handled properly
- Updates to make imxv4l2src buffers shareable
- Extra calls to make imxv4l2src work for TV capture
- Better zero-copy support in tee'd pipelines
- New IDR interval property in h264 encoder
- New slice size, and intra refresh properties in encoders
- Configurable framebuffer number in IPU sink
- Workaround for GStreamer 1.4.0 bug related to the
  GST_BUFFER_FLAG_TAG_MEMORY buffer flag
- Unset GST_BUFFER_FLAG_TAG_MEMORY explicitely in VPU decoder to prevent
  unnecessary copies
- Drain decoder when a new format is set, allowing for seamless transitions
- Fixed decoder shutdown freeze
- Fixed leaked socket pair problem in imxeglvivsink

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
10 years agochromium: Remove Chromium 35 bbappend
Carlos Rafael Giani [Fri, 5 Sep 2014 16:43:32 +0000 (18:43 +0200)]
chromium: Remove Chromium 35 bbappend

Since the Chromium 35 recipe got removed, now that Chromium 37 is stable,
this bbappend also needs to go.

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
10 years agogpu-viv-bin-mx6q: Fix libOpenVG link when building for mx6sl
Otavio Salvador [Fri, 5 Sep 2014 00:05:06 +0000 (21:05 -0300)]
gpu-viv-bin-mx6q: Fix libOpenVG link when building for mx6sl

The ab83159 (gpu-viv-bin-mx6q: Include sololite changes to remove 3Dx
libraries.) reworked the libraries available for mx6sl case however
the symbolic link was wrong. It points to the work instalation directory.

This resulted in:

,----
| ibOpenVG_355.so
| ibOpenVG.so -> .../tmp/work/.../image/usr/lib/libOpenVG_355.so
`----

While the expected is:

,----
| libOpenVG_355.so
| libOpenVG.so -> libOpenVG_355.so
`----

This patch fixes is to use a relative link, fixing OpenVG based
application builds from a clean tmp directory or using rm_work class.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
10 years agoimx-base.inc: Add virtual/libopenvg to MACHINE_{ARCH,SOCARCH}_FILTER
Otavio Salvador [Thu, 4 Sep 2014 23:30:16 +0000 (20:30 -0300)]
imx-base.inc: Add virtual/libopenvg to MACHINE_{ARCH,SOCARCH}_FILTER

The virtual/libopenvg is provided by the GPU packages and needs to be
used for the dynamic package architecture.

The issue has been identified while debugging a build failure in
fsl-gpu-sdk. It was using the common architecture instead of the right
architecture.

Now mx6q, mx6dl and mx6sx use MACHINE_SOCARCH and mx6sl MACHINE_ARCH
for all packages depending on virtual/libopenvg.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
10 years agoimx-{lib,vpu}: obey CFLAGS, LDFLAGS
Christopher Larson [Wed, 3 Sep 2014 17:49:40 +0000 (10:49 -0700)]
imx-{lib,vpu}: obey CFLAGS, LDFLAGS

This quiets GNU_HASH warnings when building with an external toolchain.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
10 years agochromium: Update bbappend to version 37.0.2062.94
Carlos Rafael Giani [Thu, 4 Sep 2014 17:49:00 +0000 (19:49 +0200)]
chromium: Update bbappend to version 37.0.2062.94

Also update chromium-imx revision to support newer v5 Vivante drivers
(used in 3.10.31 Beta release). These do not use "GL_VIV_direct_texture"
as the name for the Vivante texture extension, but "GL_VIV_tex_direct"
instead. v4 drivers (3.10.17 GA release and older) are still supported.

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
10 years agolinux-mfgtool.inc: Fix dynamic packages handling
Otavio Salvador [Tue, 2 Sep 2014 18:54:45 +0000 (15:54 -0300)]
linux-mfgtool.inc: Fix dynamic packages handling

In case we have kernel modules, a runtime dependency or recommendation
can break the dependency resolution algorithm of BitBake resulting on
a conflict like:

,----[ Provider conflict error ]
| ERROR: Trying to resolve runtime dependency kernel-module-nfs resulted
|     in conflicting PREFERRED_PROVIDER entries being found.
| The providers found were:
|     ['.../meta-customer/recipes-kernel/linux/linux-customer-mfgtool_3.10.17.bb',
|      '.../meta-customer/recipes-kernel/linux/linux-customer_3.10.17.bb']
| The PREFERRED_PROVIDER entries resulting in this conflict were:
|     ['PREFERRED_PROVIDER_linux-mfgtool = mfgtool-linux-customer',
|      'PREFERRED_PROVIDER_virtual/kernel = linux-customer']
`----

To fix this, we need to rename the dynamic packages and hence change
the built binaries, solving the conflict.

Change-Id: I8becb8a4a839494720711f60f51515aba0140c68
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
10 years agou-boot-imx: Use the new fsl-u-boot-localversion class
Otavio Salvador [Mon, 1 Sep 2014 14:20:34 +0000 (11:20 -0300)]
u-boot-imx: Use the new fsl-u-boot-localversion class

This uses the new class for LOCALVERSION handling. The local version
is set for '+imx' by default but can be overriden by users of this
.inc file.

While on that move the PACKAGE_ARCH setting, in the 2009.08 recipe, to
the end of file, as done on other recipes.

Change-Id: Ic7e26635908cefe28c340cd9885e1efa0a009a16
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
10 years agou-boot-fslc: Use the new fsl-u-boot-localversion class
Otavio Salvador [Mon, 1 Sep 2014 14:20:33 +0000 (11:20 -0300)]
u-boot-fslc: Use the new fsl-u-boot-localversion class

This uses the new class for LOCALVERSION handling. The local version
is set for '+fslc' by default but can be overriden by users of this
.inc file.

Change-Id: Ic6089ffad89648ec5f3d2f8247e33fd5dd0e7fea
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
10 years agofsl-u-boot-localversion: Easy LOCALVERSION handling
Otavio Salvador [Mon, 1 Sep 2014 14:20:32 +0000 (11:20 -0300)]
fsl-u-boot-localversion: Easy LOCALVERSION handling

This class allow for easy extending of U-Boot recipes to easy the
LOCALVERSION handling, allowing to reuse of code between different
U-Boot recipes

The following options are supported:

 SCMVERSION        Puts the Git hash in U-Boot local version
 LOCALVERSION      Value used in LOCALVERSION (default to '+fslc')

This about avoid code duplication among Layerscape and i.MX.

Change-Id: Icec618092d1f70606051619b6f6118f50e7f1ba5
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
10 years agolinux-imx.inc: Use the new fsl-kernel-localversion class
Otavio Salvador [Mon, 1 Sep 2014 14:20:31 +0000 (11:20 -0300)]
linux-imx.inc: Use the new fsl-kernel-localversion class

This uses the new class for LOCALVERSION handling, dropping the old
code. The local version is set for '+imx' by default but can be
overriden by users of this .inc file.

Change-Id: Ib571e17c250473b923b31837954942ca5bacb61b
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
10 years agofsl-kernel-localversion: Easy LOCALVERSION handling
Otavio Salvador [Mon, 1 Sep 2014 14:20:30 +0000 (11:20 -0300)]
fsl-kernel-localversion: Easy LOCALVERSION handling

This class allow for easy extending of kernel recipes to easy the
LOCALVERSION handling, allowing to reuse of code between different
kernel recipes

The following options are supported:

 SCMVERSION        Puts the Git hash in kernel local version
 LOCALVERSION      Value used in LOCALVERSION (default to '+fslc')

This about avoid code duplication among Layerscape and i.MX.

Change-Id: I3999dbdc2cb761063fe5f83dea65ddb14adec80c
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
10 years agoxf86-video-imxfb: Fix build with glibc 2.20
Khem Raj [Fri, 29 Aug 2014 23:11:32 +0000 (16:11 -0700)]
xf86-video-imxfb: Fix build with glibc 2.20

This issue is unearthed with glibc 2.20
but the patch is good with eglibc 2.19 as well

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
10 years agocairo: Drop 'class-target' use
Otavio Salvador [Tue, 26 Aug 2014 02:23:42 +0000 (23:23 -0300)]
cairo: Drop 'class-target' use

The native and nativesdk classes now reset the MACHINEOVERRIDES
variable, avoiding the failure during the build due the extra flags
for Vivante support.

This patch removes the 'class-target' override as the override won't
apply in native and nativesdk use anymore.

Change-Id: I53b1939c1bd20fca1c3e39e67fd03aaa743501d0
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
10 years agolibfslparser: Upgrade from version 3.0.11 to 4.0.1
Wang Zidan [Fri, 22 Aug 2014 01:50:49 +0000 (09:50 +0800)]
libfslparser: Upgrade from version 3.0.11 to 4.0.1

libfslparser has been updated to 4.0.1 and several parsers have been updated.
-- FLV parser update to 1.9.5.
-- AVI parser update to 3.5.12.
-- MPG2 parser update to 4.4.24.
-- MP4 parser update to 6.9.2.
-- ASF parser update to 1.0.35.
-- MKV parser update to 1.5.5.

Signed-off-by: Wang Zidan <b50113@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
10 years agolibfslcodec: Upgrade from version 3.0.11 to 4.0.1
Wang Zidan [Fri, 22 Aug 2014 01:50:48 +0000 (09:50 +0800)]
libfslcodec: Upgrade from version 3.0.11 to 4.0.1

libfslcodec: Upgrade to version 4.0.1
-- Fix AAC issue for arm11 and arm9 conformance test.
-- Fix nbamrd decoder seek crash issue.
-- Fix some fault for aac conformance for C version.
-- Promote computational accuracy for ARM12 version to pass the aac conformance.
-- Control searching boundary to avoid searching adts header to the outside of
   input buffer for aacd_wrap.
-- Add WB AMR wrapper arm12 shared library which calling the arm9 decoder shared lib.

libfslcodec.inc: Add narrow and wide band amr wrapper decoder packages

Signed-off-by: Wang Zidan <b50113@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
10 years agou-boot-fslc: Update to a824e89 revision
Otavio Salvador [Fri, 22 Aug 2014 15:13:37 +0000 (12:13 -0300)]
u-boot-fslc: Update to a824e89 revision

This include several backports of fixes and improvements from
upcoming U-Boot 2014.10. Those are:

a824e89 mx6sxsabresd: Add Ethernet support
6fc1d30 mx6sx: Adjust enable_fec_anatop_clock() for mx6solox
55d1de2 mx6sxsabresd: Update DDR initialization
9101eae pci: mx6: fix occasional link failures
e97d548 ARM: mx6: Enable Thumb build for SPL
fa27b7b ARM: mx6: Handle the MMDCx_MDCTL COL field caprices
b141ef7 ARM: mx6: Prevent overflow in DRAM size detection
c065fdd ARM: mx5: Fix CHSCCDR name
aaee4ef i.MX31 PDK: Enable generic board for i.MX31 PDK
a371261 pmic: pmic_pfuze100: Use a shorter name for PMIC name
ed82ae7 mx6: crm_regs: Fix MXC_CCM_CIMR_MASK_PERIPH2_CLK_SEL_LOADED
7d34646 mx6: crm_regs: Fix MXC_CCM_CLPCR_WB_PER_AT_LPM definition
6e03308 mx6: crm_regs: Fix CDCDR_SPDIF0_CLK_PODF mask and offset
0a79f15 mx6: imx-regs: Remove unused 'omux' field from iomux struct
01ed8e1 arm: m53evk: Fix RTC bus number
fb9eb0c lib: div64: add missing include
cf321e1 mtd: cfi_flash: fix clang warning
64d14a7 fsl_i2c: add support for 3rd and 4th I2C

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
10 years agolinux-imx-rt: Use 'performance' as default cpufreq governor
Jacob Kroon [Tue, 26 Aug 2014 08:12:44 +0000 (10:12 +0200)]
linux-imx-rt: Use 'performance' as default cpufreq governor

Since CPU frequency scaling is a bad idea for real-time systems anyway,
use 'performance' and disable the remaining cpufreq governors.

Avoids the following issue:

  BUG: scheduling while atomic: swapper/0/0/0x00000002
  Modules linked in:
  Preemption disabled at:[<  (null)>]   (null)

  CPU: 0 PID: 0 Comm: swapper/0 Not tainted 3.10.17-rt12-monkey+g232293e #1
  [<80013c7c>] (unwind_backtrace+0x0/0xec) from [<80011644>] (show_stack+0x10/0x14)
  [<80011644>] (show_stack+0x10/0x14) from [<8004e160>] (__schedule_bug+0x60/0xa8)
  [<8004e160>] (__schedule_bug+0x60/0xa8) from [<80643458>] (__schedule+0x408/0x4a8)
  [<80643458>] (__schedule+0x408/0x4a8) from [<8064352c>] (schedule+0x34/0xa4)
  [<8064352c>] (schedule+0x34/0xa4) from [<80644104>] (rt_spin_lock_slowlock+0xc0/0x298)
  [<80644104>] (rt_spin_lock_slowlock+0xc0/0x298) from [<80033780>] (lock_timer_base.isra.29+0x2c/0x4c)
  [<80033780>] (lock_timer_base.isra.29+0x2c/0x4c) from [<80033944>] (mod_timer+0x60/0x1c4)
  [<80033944>] (mod_timer+0x60/0x1c4) from [<8044bcc8>] (cpufreq_interactive_idle_notifier+0x148/0x180)
  [<8044bcc8>] (cpufreq_interactive_idle_notifier+0x148/0x180) from [<8004ad40>] (notifier_call_chain+0x44/0x84)
  [<8004ad40>] (notifier_call_chain+0x44/0x84) from [<8004afd4>] (atomic_notifier_call_chain+0x34/0x48)
  [<8004afd4>] (atomic_notifier_call_chain+0x34/0x48) from [<8005d9a0>] (cpu_startup_entry+0xfc/0x164)
  [<8005d9a0>] (cpu_startup_entry+0xfc/0x164) from [<80c1cab4>] (start_kernel+0x324/0x330)
  [<80c1cab4>] (start_kernel+0x324/0x330) from [<10008074>] (0x10008074)

See:
  https://lkml.org/lkml/2014/6/10/457
  https://lists.yoctoproject.org/pipermail/meta-freescale/2014-June/008957.html

Signed-off-by: Jacob Kroon <jacob.kroon@mikrodidakt.se>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
10 years agolinux-imx-rt: Upgrade to 3.10.17-1.0.1
Jacob Kroon [Tue, 26 Aug 2014 08:12:43 +0000 (10:12 +0200)]
linux-imx-rt: Upgrade to 3.10.17-1.0.1

Signed-off-by: Jacob Kroon <jacob.kroon@mikrodidakt.se>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
10 years agopackagegroup-*: set PACKAGE_ARCH before packagegroup inherit
Otavio Salvador [Tue, 26 Aug 2014 20:13:08 +0000 (17:13 -0300)]
packagegroup-*: set PACKAGE_ARCH before packagegroup inherit

The required order was changed in OE-Core commit:

,----
| allarch: Add warning about packagegroup
|
| Since we want to start including this class conditionally, detect cases
| where packagegroup files use the old ordering and inform the user they
| need to update this.
`----

Change-Id: If76ae87fadd4310ae0d1ae344a565683d4b34f9f
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
10 years agoglmark2: Move .bbappend to openembedded-layer collection
Jacob Kroon [Sat, 23 Aug 2014 19:27:09 +0000 (21:27 +0200)]
glmark2: Move .bbappend to openembedded-layer collection

The glmark2 recipe lives in meta-oe, so move it to the proper
collection directory. This makes it possible to again use meta-fsl-arm
without having meta-oe layer included.

Signed-off-by: Jacob Kroon <jacob.kroon@mikrodidakt.se>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
10 years agochromium: Add bbappend for GPU specific modifications and VPU support
Carlos Rafael Giani [Sun, 24 Aug 2014 19:39:48 +0000 (21:39 +0200)]
chromium: Add bbappend for GPU specific modifications and VPU support

* Adds ozone-wayland patches which modify the required EGL versions in
  the GYP files
* Turns on h.264 and MP4 support in Chromium's FFmpeg copy
* Enables a workaround for the Vivante GPU that prevents translucent
  canvas regions to show up with a blue color
* Adds hardware-accelerated video decoding using the VPU by fetching
  chromium-imx sources and integrating them into the Chromium source tree
  and the GYP files

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
10 years agoweston: Add sololite changes
Neena Busireddy [Mon, 18 Aug 2014 20:10:49 +0000 (15:10 -0500)]
weston: Add sololite changes

Sololite does not support 3D GPU hardware acceleration, so
remove gles flags from compilation.

Also, included the patches to enable GAL2D compositor and change
GAL2D compositor to be default when EGL is not enabled in Sololite.

Patch for crashes on touch device without a pointer is applicable
for all iMX6 machines.

Signed-off-by: Neena Busireddy <neena.busireddy@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
10 years agoglmark2: Create bbappend to include Sololite changes.
Neena Busireddy [Mon, 18 Aug 2014 20:10:48 +0000 (15:10 -0500)]
glmark2: Create bbappend to include Sololite changes.

Remove gles2 from packageconfig for sololite as it does
not support 3D GPU hardware acceleration.

Signed-off-by: Neena Busireddy <neena.busireddy@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
10 years agocairo: Update recipe to support sololite.
Neena Busireddy [Wed, 20 Aug 2014 19:50:00 +0000 (14:50 -0500)]
cairo: Update recipe to support sololite.

In order to support cairo for sololite, we need to remove glesv2 from
packageconfig since sololite is not 3D GPU hardware accelerated

Signed-off-by: Neena Busireddy <neena.busireddy@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
10 years agomesa: Update mesa and mesa-demos to support Sololite.
Neena Busireddy [Mon, 18 Aug 2014 20:10:47 +0000 (15:10 -0500)]
mesa: Update mesa and mesa-demos to support Sololite.

SoloLite should use mesa software rendering GL since
GPU for this machine does not have hardware accelerated GL.

Signed-off-by: Neena Busireddy <neena.busireddy@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
10 years agoimx-base: Add MACHINE_ARCH filter for sololite.
Neena Busireddy [Mon, 18 Aug 2014 20:10:50 +0000 (15:10 -0500)]
imx-base: Add MACHINE_ARCH filter for sololite.

Add MACHINE_ARCH_FILTER for sololite as it is different from other
SOC families (Sololite does not support 3D GPU hardware acceleration).

Sololite uses mesa software rendering GL. So, set the PREFERRED
PROVIDER to use mesa for SL.

Signed-off-by: Neena Busireddy <neena.busireddy@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
10 years agogpu-viv-bin-mx6q: Include sololite changes to remove 3D libraries.
Neena Busireddy [Mon, 18 Aug 2014 20:10:45 +0000 (15:10 -0500)]
gpu-viv-bin-mx6q: Include sololite changes to remove 3D libraries.

Sololite does not support 3D GPU hardware acceleration.Hence, remove
all the 3D libraries from graphics package for this machine.

Signed-off-by: Neena Busireddy <neena.busireddy@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
10 years agoimx-bootlets: indentation fixes and whitespace cleanup
Mario Domenech Goulart [Wed, 20 Aug 2014 17:48:11 +0000 (14:48 -0300)]
imx-bootlets: indentation fixes and whitespace cleanup

Signed-off-by: Mario Domenech Goulart <mario@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
10 years agokernel-module-mcc: Update to version 1.06
Tony Felice [Mon, 18 Aug 2014 21:48:30 +0000 (17:48 -0400)]
kernel-module-mcc: Update to version 1.06

This includes the following main changes:

* Increase max code size of MQX binary that can be loaded to SRAM from
  128KB to 256KB.
* Add compatibility for the 3.13+ Linux kernel. Functionality with the 3.0
  kernel remains unchanged.
* Integrate patch that removes bashisms from kernel-module-mcc's Makefile.

Signed-off-by: Anthony Felice <tony.felice@timesys.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
10 years agolibmcc: Update to version 1.05
Tony Felice [Mon, 18 Aug 2014 21:48:29 +0000 (17:48 -0400)]
libmcc: Update to version 1.05

This version was released to integrate the patch that removed bashisms from
the libmcc Makefile.

Signed-off-by: Anthony Felice <tony.felice@timesys.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
10 years agolinux-fslc: Update to f0539f6 revision
Otavio Salvador [Mon, 18 Aug 2014 12:59:08 +0000 (09:59 -0300)]
linux-fslc: Update to f0539f6 revision

This updates the Linux 3.16-based branch to the 3.16.1 stable release.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
10 years agopulseaudio: Fix mutext issue when do pause in gstreamer
Jun Zhu [Fri, 15 Aug 2014 16:28:40 +0000 (00:28 +0800)]
pulseaudio: Fix mutext issue when do pause in gstreamer

Pulseaudio crashes when other program using sound:
Assertion 'pthread_mutex_unlock(&m->mutex) == 0' failed
at pulsecore/mutex-posix.c:106, function pa_mutex_unlock().

Disable the feature PTHREAD priority inheritance is the easiest
workaround for this issue.

Signed-off-by: Jun Zhu <R01007@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
10 years agolinux-imx: Upgrade to 3.10.17-1.0.1
Lauren Post [Thu, 14 Aug 2014 19:17:31 +0000 (14:17 -0500)]
linux-imx: Upgrade to 3.10.17-1.0.1

For 2D GPU cores there is a potential need to manage the maximum number
of outstanding return requests from the memory subsystem. The proper way
to manage these for 2D cores with this configuration is to use a FLUSH.
The patch does a FLUSH after every DRAW, the pipe will not overfill and
the scenario which may lead to a stall will not occur.

Signed-off-by: Lauren Post <lauren.post@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
10 years agoxf86-video-imxfb-vivante: Upgrade to 3.10.17-1.0.1
Lauren Post [Thu, 14 Aug 2014 19:17:30 +0000 (14:17 -0500)]
xf86-video-imxfb-vivante: Upgrade to 3.10.17-1.0.1

For 2D GPU cores there is a potential need to manage the maximum number
of outstanding return requests from the memory subsystem. The proper way
to manage these for 2D cores with this configuration is to use a FLUSH.
The patch does a FLUSH after every DRAW, the pipe will not overfill and
the scenario which may lead to a stall will not occur.

Signed-off-by: Lauren Post <lauren.post@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
10 years agogpu-viv-bin-mx6q: Upgrade to 3.10.17-1.0.1
Lauren Post [Thu, 14 Aug 2014 19:17:29 +0000 (14:17 -0500)]
gpu-viv-bin-mx6q: Upgrade to 3.10.17-1.0.1

For 2D GPU cores there is a potential need to manage the maximum number
of outstanding return requests from the memory subsystem. The proper way
to manage these for 2D cores with this configuration is to use a FLUSH.
The patch does a FLUSH after every DRAW, the pipe will not overfill and
the scenario which may lead to a stall will not occur.

This patch requires the Linux kernel 3.10.17-1.0.1 fixes.

Signed-off-by: Lauren Post <lauren.post@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
10 years agokernel-module-mcc: remove bashism in Makefile
Max Krummenacher [Thu, 14 Aug 2014 15:52:59 +0000 (17:52 +0200)]
kernel-module-mcc: remove bashism in Makefile

Replacing bash brace expansion with a Posix compliant syntax to make
do_install succeed also when using a dash shell.

Signed-off-by: Max Krummenacher <max.oss.09@gmail.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
10 years agolibmcc: remove bashism in Makefile
Max Krummenacher [Thu, 14 Aug 2014 15:52:58 +0000 (17:52 +0200)]
libmcc: remove bashism in Makefile

Replacing bash brace expansion with a Posix compliant syntax to make
do_install succeed also when using a dash shell.

Signed-off-by: Max Krummenacher <max.oss.09@gmail.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
10 years agogpu-viv-bin-mx6q: Add a missing runtime dependency on libdrm
Otavio Salvador [Thu, 7 Aug 2014 22:32:54 +0000 (19:32 -0300)]
gpu-viv-bin-mx6q: Add a missing runtime dependency on libdrm

The Vivante DRI library requires the libdrm to proper work; this adds
the missing dependency.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>