Bob Cochran [Tue, 4 Apr 2017 03:32:55 +0000 (23:32 -0400)]
linux-qoriq, powerpc: kernel patches for cmp assembly instructions that fail with binutils 2.28
linux-qoriq 4.1.35 64b kernel fails to build for
vdso64/gettimeofday.S, vdso64/datapage.S, and head_64.S due to
incorrectly coded cmp instructions. Apply two existing kernel patches
from upstream, mainline kernel to correct the coding of these
instructions.
Built and tested on an e5500 t1040rdb-64b machine
Change-Id: I710d0d1a5b886cc23c2aa0052e0ec1c148870635 Signed-off-by: Bob Cochran <yocto@mindchasers.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
This backports many changes, the included commits are:
4a2e3a368083 coda: enable with COMPILE_TEST e8dd8f5bb0d6 coda: restore original firmware locations d17404963398 coda: disable reordering for baseline profile h.264 streams 0425550b2cc4 coda: pad first h.264 buffer to 512 bytes 30a25c7a1c11 coda: keep queued buffers on a temporary list during start_streaming 6aedf08faa46 coda: Use && instead of & for non-bitfield conditions 8c303b8eb07f coda: disable BWB for all codecs on CODA 960 7c0c3cacae5a coda: implement encoder stop command c2f021d1762f [media] coda/imx-vdoa: constify structs 571d9a3398f4 [media] coda: add Freescale firmware compatibility location 2ab09ed38709 Revert "[media] coda/imx-vdoa: constify structs" f3f7ca7ea33e [media] coda: support YUYV output if VDOA is used de26a60384a7 [media] coda: use VDOA for un-tiling custom macroblock format 9c020c7889cc [media] coda: fix frame index to returned error 9b69cb0e9b5f [media] coda: add debug output about tiling c2943da78e15 [media] coda: correctly set capture compose rectangle fa1cbc7881eb [media] coda/imx-vdoa: constify structs feb6ccfa4db7 [media] coda: add i.MX6 VDOA driver eae25c1e912a [media] coda: fix the error path in coda_probe() 40e83b4ae508 [media] coda: add missing header dependencies 62c95d073f57 ARM: dts: imx6qdl-nitrogen6x: add missing USB PHY reset control 719b9f294d76 ARM: dts: imx6qdl-sabrelite: add missing USB PHY reset control 4ffcf8c7c60c drm/panel: simple: Add support for Tianma TM070JDHG30 7790c716544c of: Add vendor prefix for Tianma Micro-electronics 2c9fabdd9ba8 ARM: dts: imx6qdl-nitrogen6_som2: fix sgtl5000 pinctrl init 537158e11b5b ARM: dts: imx6qdl-nitrogen6x: remove duplicate iomux entry ca9533a30121 ARM: dts: boundary: remove hardcoded LVDS bus format 6fa5cb82aa9e pinctrl: imx: use radix trees for groups and functions 39c6395a5116 pinctrl: imx: remove const qualifier of imx_pinctrl_soc_info f0906c3e92ed ARM: dts: imx6qdl-nitrogen6_max: use hyphens for nodes name e88dc9d21208 ARM: dts: imx6qdl-nit6xlite: use hyphens for nodes name 0056c5e39d01 ARM: dts: imx6qdl-nitrogen6x: use hyphens for nodes name 470019dea0da ARM: dts: imx6qdl-sabrelite: use hyphens for nodes name 404a65b0f5ff ARM: dts: imx: add Boundary Devices Nitrogen6_SOM2 support 8ed001e651a4 drm/etnaviv: always flush MMU TLBs on map/unmap eda85482ab61 drm/etnaviv: constify etnaviv_iommu_ops structures c4a322ce176e drm/etnaviv: set up initial PULSE_EATER register e7147fcbe4b0 drm/etnaviv: add new GC3000 sensitive states 224462a9ba20 drm/etnaviv: Remove etnaviv_debugfs_cleanup() 3b6d4ad2e259 drm/etnaviv: Use drm_dev_unref, not drm_put_dev c095eb593edd drm/etnaviv: trick drm_mm into giving out a low IOVA 7d872907c0f0 drm/etnaviv: move linear window on MC1.0 parts if necessary 619586d45f05 drm/etnaviv: don't invoke OOM killer from dump code 201064234ea0 drm/etnaviv: fix gem_prime_get_sg_table to return new SG table 089369cb1167 drm/etnaviv: Allow DRAW_INSTANCED commands df310c458873 drm/etnaviv: implement dma-buf mmap 11325b1e8736 drm/etnaviv: Remove manual call to reservation_object_test_signaled_rcu before wait
Change-Id: I25fbf56e982ea71d7ab87650c6f5d91fd0505bd9 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Tue, 14 Mar 2017 20:01:45 +0000 (17:01 -0300)]
qtbase: Add 'use-mainline-bsp' support
This configures the Qt to use the OpenGL ES2 and KMS backend for the
'use-mainline-bsp' case. It also includes a fix for the font rendering
issue found when using Etnaviv which were used for Android-based
platforms but now being enabled for all EGL based systems.
Change-Id: Icdfd2a01836a90bcedbe1665ab3a0733ed505eff Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Thu, 23 Mar 2017 14:57:59 +0000 (11:57 -0300)]
imx-base.inc: Add 'use-mainline-bsp' override support
The 'use-mainline-bsp' makes use of
MAACHINEOVERRIDES_EXTENDER_FILTER_OUT variable and currently filters
out the i.MX 6 and i.MX 7 overrides, ensuring we use the pristine
support for all metadata.
This commit does most changes related to initial mainline support for
Etnaviv and Video4Linux VPU support using CODA.
Change-Id: Idcb3e4f9c3bc46d4c066dea3c0388f821ab2d3ec Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Thu, 23 Mar 2017 14:54:46 +0000 (11:54 -0300)]
machine-overrides-extender.bbclass: Add filter out support
The allow easier enablement of mainline BSP support, we need to allow
for specific overrides to be filtered out, before and during the
extending process.
The new MACHINEOVERRIDES_EXTENDER_FILTER_OUT variable does exactly
this and will be used in a subsequent commit to enable the
'use-mainline-bsp' override.
Change-Id: Ieaec9d5eb27ccc73b7b0097cb365c519978bd080 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* add support for ls1012a.
* strip possible '-32b', '-64b' and '-be' to match folder name.
New commits: 83a7a66 ls1088a: Remove ls1088 directory 585f03e ls208xa: Make folders and name consistent 6a7a0e5 ls2088a: Delete ls2088a rcws as it is not part of SDK f358729 ls1012a: Make folders and name consistent 5b5695f ls1012a: Add support of RCW for FRDM, RDB and QDS boards
Signed-off-by: Ting Liu <ting.liu@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
New commits: 7dd9b4e Merge pull request #91 in SDK/usdpaa from ~B45764/usdpaa:jira/qman/QUSDPA-855-CLONE-usdpaa-query_wq_lengths to sdk-v2.0.x b49072e Merge pull request #92 in SDK/usdpaa from ~B45764/usdpaa:jira/qman/QUSDPA-859-usdpaa-QMan-query-cq-and-ccgr-lack-LE to sdk-v 1e94441 fsl_qbman: fix bman debugfs endianness a339cf0 fsl_qbman: fix kernel doc comments 4108116 fsl_qbman: ceetm: set the linked lni id for each channel 955ae82 fsl_qbman: ceetm: fix parsing of lni and sp id ranges 2e2cc21 fsl_qbman: ceetm: add missing endianness conversions b4f93c2 fsl_qman: Fix endianness in ccgr query 7a2cef7 fsl_qman: Fix endianness class queue query a978591 fsl_qbman: Fix endianness for wq query
Signed-off-by: Ting Liu <ting.liu@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Bob Cochran [Wed, 15 Mar 2017 20:15:32 +0000 (16:15 -0400)]
udev: remove eudev_%.bbappend and associated patch since it's no longer required
Commit d2313434 already exists in eudev to prevent udev from managing
an MMC Replay-protected memory block (RPMB)
Testing of an LS1021A-TWR & eMMC 4.51 with master branches of poky and
meta-freescale minus the patch to 60-persistent-storage.rules
confirmed that udev ignores mmcblk0rpmb on boot.
Change-Id: Ib91aed741d18a87081e82e7c71e36363bb8b3939 Signed-off-by: Bob Cochran <yocto@mindchasers.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
New commits: 2735535 armv8/fsl-layerscape: corrected clock initialization 0f820e2 Merge pull request #161 in SDK/u-boot-devel from jira/QUBOOT-2290 to master 8729bed board/t1024rdb: enable board-level reset when issuing reset command 1ebcbe9 armv8/fsl-lsch3: consolidate the clock system initialization 9e1ec97 armv8/fsl-lsch2: refactor the clock system initialization 376ce3d Merge pull request #158 in SDK/u-boot-devel from jira/QUBOOT-2248 to master 263a7d9 driver: net: pfe: Make PFE AXI transactions non-bufferable. 744898c pci: layerscape: enable PCIe config ready cccbbd4 arm: PSCI: remove CONFIG_MP to support LS1012A c013882 arm: layerscape: Enable UUID & GPT partition for NXP's ARM SoC 7661a32 Merge pull request #154 in SDK/u-boot-devel from jira/QUBOOT-1839 to master 8644091 Merge pull request #155 in SDK/u-boot-devel from jira/QUBOOT-2186 to master 13cfec0 ARMv8/fsl-layerscape: Correct the OCRAM size b416b58 sf: set the Uniform Sector to CR3NV instead of CR3V 29f27fe armv8: fsl-lsch2: enable snoopable sata read and write 2d98a92 ARMv8/fsl-layerscape: Enable data coherency between cores in cluster 910b5f9 armv8: Enable CPUECTLR.SMPEN for coherency 62cddb1 Merge pull request #150 in SDK/u-boot-devel from jira/QUBOOT-2059 to master d7d8125 Merge pull request #149 in SDK/u-boot-devel from jira/QUBOOT-1840 to master 166db39 armv8: pfe: Update driver coding style 2909f14 board: ls1012aqds: Avoid reset masking 99f097b driver: net: pfe: Update class firmware f8f17dc driver: net: pfe: Change MDIO HOLDTIME value to 5 1f10108 armv8:pfe:frdm: Reset external PHYs before driver starts ce83bda driver: pfe_eth: use #ifdef instead of #if d928553 armv8: pfe: Enable UDP checksum for proper tftp operation 2f33023 driver: net: pfe: Rest external PHYs before driver starts 73f304b driver: net: PFE: Fix the reset woraround bb2afb7 driver: net: PFE: Add reset workaround ae5b99d arm: ls1012a: Add support of PPFE 58b93bc arm: fsl-layerscape: Config CSU for PFE 4417c88 ls1046ardb: Add support power initialization 544a9d6 armv8/fsl_lsch2: Add chip power supply voltage setup 1f8ed63 ls1046ardb: cpld: add API for selecting core volt 0fbe669 pmic: pmic_mc34vr500: Add APIs to set/get SWx volt 15f65a9 pmic: pmic_mc34vr500: Add a driver for the mc34vr500 pmic 15b0697 armv8/fsl_lsch2: Add the OCRAM initialization 2df7eab docs: fsl-ppa: Add documentation for PPA trusted FW c11a541 board: freescale: ls1012a: Intergrate and enable PPA on LS1012A 71d1c4c board: freescale: ls1012a: Enable secure DDR on LS1012A platforms fd15680 Merge pull request #144 in SDK/u-boot-devel from jira/QUBOOT-1867 to master 7874485 LS1012ARDB: Add QSPI Secure Boot targe 5d0b2fc armv8: ls1012a: define esdhc_status_fixup for RDB board 1f60661 armv8: ls1012a: define esdhc_status_fixup for QDS board a47eb7f mmc: fsl_esdhc: move 'status' property fixup into a weak function 075379d configs: ls1012a: enable driver model for eSDHC 9f6f892 armv8: ls1012a: add eSDHC nodes 66d0f43 mmc: fsl_esdhc: add 'fsl,esdhc' into of_match table ebc3626 mmc: fsl_esdhc: make GPIO support optional 1a84a6b Merge pull request #146 in SDK/u-boot-devel from jira/QUBOOT-1844 to master 5117962 Merge pull request #143 in SDK/u-boot-devel from jira/QUBOOT-2116 to master 31bc4f4 Merge pull request #142 in SDK/u-boot-devel from jira/QUBOOT-1849 to master 84e5aa0 armv8: fsl-layerscape: Add support of GPIO structure 8fd4faa SECURE_BOOT: Enable chain of trust on LS1012A platform 56c6a6a board: ls1012afrdm: overwrite CONFIG_EXTRA_ENV_SETTINGS a0b0769 armv8: ls1012a: Updating CONFIG_EXTRA_ENV_SETTINGS 45950d8 armv8:ls1012a: Update bootargs for fast-boot 6d9a8ce armv8: fsl-layerscape: Support loading 32-bit OS with PSCI enabled 6f96894 armv8: layerscape: Remove defconfig for AArch32 support
Signed-off-by: Ting Liu <ting.liu@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Tom Hochstein [Tue, 7 Mar 2017 01:19:42 +0000 (19:19 -0600)]
imx-gpu-viv: Fix build break for missing gl headers
For x11 graphics and Wayland graphics with XWayland support, a build
break is possible due to missing headers. This is because imx-gpu-viv
does not provide everything it needs to for virtual/libgl and depends
on mesa to fill in what is missing. Adding a dependency on mesa
fixes the build break.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
The build starts since commit meta-fsl-arm da0581341a58dfe393a829b3c402330c73589963
with the make file in ${S} which is actually named Makefile, thus there is no
need to override base.do_compile or pass the directory and name of the
make file in EXTRA_OEMAKE.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
xorg-driver: remove the local copies of xorg-driver-*.inc
recipes-graphics/xorg-driver/xorg-driver-common.inc is identical to the copy
in openembedded-core.
xorg-driver-video.inc lacks the automatic addition of xorg-driver-abi-<ABI>
to RDEPENDS. (and constructs DEPENDS differently but with the same effect)
xf86-video-fbdev must now provide the full relative path for its include file.
fixes:
WARNING: xf86-video-imxfb-vivante-3_5.0.11.p8.6-r0 do_package_qa: QA Issue:
Package xf86-video-imxfb-vivante contains Xorg driver (vivante_drv.so)
but no xorg-abi- dependencies [xorg-driver-abi]
and likely but not tested fixes the same warning for xf86-video-fbdev used
for PPC devices.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Thu, 9 Mar 2017 14:34:11 +0000 (11:34 -0300)]
change-file-endianess: Rework recipe completely
The recipe was mixing different concepts. It is intended to provide a
TCL script to change the endianess of files and the recipe was
conceptually wrong.
The use of the deploy class is wrong as it is not an artifact that is
going to be used to install a board but a tool required for
development (so the need of native and nativesdk variants).
Change-Id: I5ebb063fa1c57a8c7c307314ac6322abfa88d33c Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Andreas Müller [Fri, 3 Feb 2017 09:18:38 +0000 (10:18 +0100)]
xserver-xorg: disable glamor
oe-core enables glamour by default since commit 33864ddc. I tried to build
xserver with glamor but failed first with
| #error "Platform not recognized"
This could be fixed by
CFLAGS_append_imxgpu2d = " \
-DLINUX \
"
but then I got
| <sysroot>/usr/include/X11/Xlib.h:222:2: error: conflicting types for 'GC'
| *GC;
| ^~
| In file included from ../../xorg-server-1.19.1/glamor/glamor.h:34:0,
| from ../../xorg-server-1.19.1/glamor/glamor_priv.h:32,
| from ../../xorg-server-1.19.1/glamor/glamor_render.c:35:
| ../../xorg-server-1.19.1/include/gcstruct.h:289:3: note: previous declaration of 'GC' was here
| } GC;
| ^~
| make[1]: *** [Makefile:730: glamor_gradient.lo] Error 1
As this needs deeper investigation to fix and we have no experience on how
glamor performs on vivante, disable it for now.
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Bob Cochran [Sun, 5 Feb 2017 03:36:00 +0000 (22:36 -0500)]
change-file-endianess: update do_deploy_class-native so it finds byte_swap.tcl
Modify do_deply_class-native task to copy byte_swap.tcl from top of working directory ${S} rather than ${STAGING_BINDIR_NATIVE} since file isn’t found at current location and this causes a “No such file or directory” error.
Signed-off-by: Bob Cochran <yocto@mindchasers.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Wed, 1 Feb 2017 13:02:06 +0000 (11:02 -0200)]
Revert "qoriq-base, imx-base: Allow DISTRO and local.conf override of IMAGE_FSTYPES"
The IMAGE_FSTYPES is set in bitbake.conf as ?= so we cannot use the
weak assingment here. This brings back the image generation using the
standard set for the BSP but we will need to investigate a solution
for the distro overriding issue.
Change-Id: I57cda5eb894330ad857b0bca44a8a987dc06afb2 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Tue, 24 Jan 2017 12:46:50 +0000 (10:46 -0200)]
imx6ulevk: Add mx6 in the MACHINEOVERRIDES set
The i.MX 6UL was dealt in a specific way due the metadata not being
fully ported still to the feature overrides set; now that most
metadata has been converted it is the right time to add the mx6 SoC
family here as well.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Tue, 24 Jan 2017 12:42:30 +0000 (10:42 -0200)]
imx-base.inc: SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS can be always appended
There is no need to restrict the appending of
SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS values as the respective packages will
be added only on the supported packages thus not affecting other
machines.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Tue, 24 Jan 2017 12:39:27 +0000 (10:39 -0200)]
imx-base.inc: Convert to use i.MX MACHINEOVERRIDES_EXTENDER
There were some core BSP variables which were still using SoC family
names instead of feature overrides (XSERVER_DRIVER,
MACHINE_SOCARCH_FILTER) and those needed to be reworked so other SoC
families could be dealt in the generic way (e.g: mx6ul).
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Tue, 24 Jan 2017 12:45:10 +0000 (10:45 -0200)]
mesa: Rework recipe to use the feature overrides
The recipe was still using the mx6 specific overrides, which is
wrong. We should use the feature overrides so more SoCs can be dealt
in the generic way.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Gary Thomas [Wed, 25 Jan 2017 11:47:10 +0000 (12:47 +0100)]
xserver-common: Move to dynamic layers
The xserver-common recipe can only be built if the openbedded (meta-oe)
layer is present, so move it to the dynamic layers to prevent breakage
if that layer is not in the build.
Signed-off-by: Gary Thomas <gary@mlbassoc.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Change-Id: I6ac7293a212351cfcb0ea550d426036da30aef14 Signed-off-by: Oliver Graute <oliver.graute@gmail.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Oliver Graute [Mon, 23 Jan 2017 17:41:40 +0000 (18:41 +0100)]
linux-fslc: Longterm Branch 4.4.x
This is the Longterm supported Linux kernel branch 4.4.x
this bump linux-fslc 4.4.x to 4.4.43
Change-Id: I2035e88f0f69789d4f982e7a38fe51129db13bd5 Signed-off-by: Oliver Graute <oliver.graute@gmail.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Tom Hochstein [Mon, 16 Jan 2017 19:52:26 +0000 (13:52 -0600)]
weston: Touch events cause startup failure
Pressing the touch panel continously during boot up caused
weston to crash. The weston view was being accessed before it
was fully initialized, so now we guard against this.
Upstream-Status: Denied [Could not reproduce]
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Tom Hochstein [Mon, 16 Jan 2017 19:52:24 +0000 (13:52 -0600)]
weston: xwayland: Fix crash when run with no input device
Starting an xterm with no input device led to a crash
because weston_wm_pick_seat() was returning garbage and
weston_wm_selection_init() was trying to use the garbage.
Tom Hochstein [Mon, 16 Jan 2017 19:52:22 +0000 (13:52 -0600)]
weston: T3DStressTest_Wayland displays abnormally while using G2D compositor
It need add g2d_finish after repaint_region and before copy to framebuffer.
Because if using dual dpu cores, the tasks on each core will be executed
sequently, but it can't ensure one task splited on dual cores can be finished
synchronously by hardware.
Upstream-Status: Inappropriate [i.MX specific]
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Alexandra Safta [Mon, 16 Jan 2017 16:29:00 +0000 (08:29 -0800)]
Update machine description fields
Change description fields from Freescale to NXP in machine files to align to
2016 corporate transfer to NXP.
Signed-off-by: Alexandra Safta <alexandra-ioana.safta@nxp.com> Signed-off-by: Lauren Post <lauren.post@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>