Lauren Post [Fri, 30 Sep 2016 15:54:11 +0000 (10:54 -0500)]
imx-gpu-viv: Upgrade to 5.0.11.p8.6
Bug Fixes for P8.6 Graphics includes:
3D: MGS-2239 Destroy EGL window surface and makecurrent new surface cause segmentation fault
3D: MGS-2237 [6Q-SDB] FB met GPU STATE DUMP when testing ES30 Conformance 100%
3D: MGS-2101 EGLImage created with an OpenVG parent image always returns EGL_BAD_ACCESS
3D: MGS-2086 Met GPU dump when do driver test under dvfs stress test
3D: MGS-2150 optimized vertex copy for attribute upload
3D: MGS-2100 CubeMap sub-texture copy disappears when small size and small x/y offset
3D: MA-8321 testTextureViewStress200Hz fail on kk4.4.3_2.0.1 with GPU 5.0.11p8
3D: MA-8302 testOpenGlEsVersion fail on kk4.4.3_2.0.1 with GPU 5.0.11p8
3D: MA-8300 Fix antutu3.0.3 2D/3D performance downgrade
3D: MA-8104 fix Antutu6.x benchmark 3D not supported issue
3D: MA-8110 Change NOTIFY_OK to NOTIFY_DONE in task_notify_func.
3D: MGS-1851 fix the integer id resource leak
3D: MGS-1845 refine es11 extension
3D: MGS-1717 display no output when use gplay to do loopback test
Compiler: MGS-1948 Fix UBO in shader can not support by new bsp release.
2D-VG: MGS-2154 VG kernel driver Allocate and Free wrong memory type
2D-VG: MGS-2089 fix gc355 vg freeze with interrupt signal
2D-VG: MGS-2084 fix vg pbuffer memory leak
2D-VG: MGS-1756 Portability issue: OpenVG includes "malloc.h" instead of "stdlib.h" for malloc() function
2D: MA-8378 Refine g2d and gpu helper functions.
2D: MGS-1847 fix G2D build broken with g2dBUILD_FOR_VIVANTE=1
General: MGS-2243 Fix high impact Coverity issue in GPU kernel driver
General: MGS-2233 fix gpu axi bus error with process kill operations
General: MGS-2188 Fix misleading indents causing errors in gcc6
General: MGS-1624 QNX - port gmem_info tool
General: MGS-1630-1 5.0.11.p8 driver can't pass build with kernel 4.1 on Android M6.0
Signed-off-by: Lauren Post <lauren.post@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Lauren Post [Fri, 30 Sep 2016 15:14:50 +0000 (10:14 -0500)]
imx-test: Upgrade to 5.7
- Makefile fixes to work with LDFLAG changes
- mxc_mmc_tty_test: Fix for null terminal setting and printf
- evtest - new sensor test
- memtool - Add i.MX 6ULL support
- mx6s_v4l2_capture: Add 6ULL support
- mxc_vpu_test: Add new IOCTL_VIDEOC_S_INPUT_CROP for 4.1 kernel
- mxc_vpu_test Support picture width height no multiple of 16
- mmdc, mxc_ipu_dev and mxc_vpu_test: replace index with strchr
Signed-off-by: Lauren Post <lauren.post@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Lauren Post [Fri, 30 Sep 2016 18:46:51 +0000 (13:46 -0500)]
imx6ulevk: Add imx6ul-14x14-evk-usb-certi device tree
Below are the differences between standard evk:
- Enable tpl
- Enable software control vbus for otg2 (hardware rework is needed)
- Disable TSC due to the pin conflict with above vbus regulator
Signed-off-by: Lauren Post <lauren.post@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Lauren Post [Fri, 30 Sep 2016 18:40:00 +0000 (13:40 -0500)]
imx6qpsabresd: Add imx6qp-sabresd-ldo-pcie-cert device tree
In order to pass the pcie gen2 compliance tests on imx6qp sd revb
board, add one standalone imx6qp sd ldo pcie dtb
- disalbe fec/sata, because that the fec/sata can't work
when pll6 is in bypass mode.
NOTE: Bypass mode of pll6 is mandatory required when
external oscillator is used as pcie ref clk.
Signed-off-by: Lauren Post <lauren.post@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
fsl-dynamic-packagearch: add all possible MACHINE_SOCARCH feeds to PACKAGE_EXTRA_ARCHS
This ensures that all possible MACHINE_SOCARCH feeds are part of PACKAGE_EXTRA_ARCHS.
For ARM, dependent on the instruction set we can have two MACHINE_SOCARCHs
e.g. armv7ahf-vfp-neon-mx6qdl armv7at2hf-vfp-neon-mx6qdl
so we must put both into PACKAGE_EXTRA_ARCHS. Otherwise a image recipe will
only find packages from one of the two PACKAGE_EXTRA_ARCHS.
Fabio Berton [Mon, 10 Oct 2016 13:53:11 +0000 (10:53 -0300)]
qoriq-base: Set SOC default IMAGE_FSTYPES
Create SOC_DEFAULT_IMAGE_FSTYPES variable with default IMAGE_FSTYPES
used by all QorIQ targets. Default FSTYPES are tar.gz, ext2.gz.u-boot
and ext2.gz.
The IMAGE_FSTYPES need to be overriden without using the SoC family
overrides, for user-friendness, and to allow this we need to use a SoC
variable to construct the default value for setting.
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Tom Hochstein [Fri, 7 Oct 2016 22:36:57 +0000 (17:36 -0500)]
weston: Use common API to support G2d compositor
Replace gcoOS_WaylandCreateVivGlobal with eglBindWaylandDisplayWL.
Fix a width set error in g2d_renderer_attach_shm.
Use noncached buffer in weston shm buffer.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Tom Hochstein [Fri, 7 Oct 2016 22:36:56 +0000 (17:36 -0500)]
weston: Add clone mode support for multi display
Support showing the same contents on multiple displays.
Use the following command to enable multi-display:
openvt -v -- weston-launch -- --idle-time=0 --use-g2d=1 --device=/dev/fb0,/dev/fb4 --clone-mode --log=/var/log/weston.log
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Mon, 10 Oct 2016 13:28:45 +0000 (10:28 -0300)]
weston: Remove EGL support for GPU 2D-only SoCs
The i.MX SoCs which provides support for GPU 2D but lacks GPU 3D
should drop the EGL use. This fixes the i.MX6SL build errors seen in
O.S. Systems autobuilders.
Reported-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
- 1af16a7 Merge remote-tracking branch 'imx/imx_4.1.15_1.0.0_ga' into
4.1-1.0.x-imx
- da4e78f MLK-12983 dma: pxp: add sanity check in pxp_set_scaling()
- 0a0176d MLK-12980-3 video: mxsfb: free 'pseudo_palette' to avoid memory leak
- 43f5250 MLK-12980-2 video: mxsfb: change the 'fb_info' field of 'mxsfb_info'
structure
- 238e446 MLK-12980-1 video: mxsfb: refine the driver data usage logic
- 16a3712 MLK-12974 ARM: dts: imx7d: corret the pcie legacy interrupters
- fef7a86 MLK-12975-2 video: mxsfb: missing a 'break' in the case statement.
- e277a9d MLK-12975-1 video: mipi_dsi_samsung: set default bpp to 32 if not set
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Mon, 19 Sep 2016 12:12:24 +0000 (09:12 -0300)]
fsl-dynamic-packagearch.bbclass: Stop using ARM-specific architectures
The code to dynamically assign the architecture does take into account
the default tune so we don't need to include the other architectures
with the SoC suffix into the possible package architecture list.
This allow for the class to be used across different architectures
(such as PowerPC) thus fixing issues while integrating it for QorIQ
usage.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
All packages were being built all the time because the configure
arguments from PACKAGECONFIG were not being passed. The problem
manifested itself as the QA issue build-deps, but the problem wasn't
fixed and the QA issue was silenced.
This is fixed by passing the PACKAGECONFIG arguments through EXTRA_OECONF.
Also, the build-deps QA issues are re-enabled.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Mon, 12 Sep 2016 20:19:18 +0000 (17:19 -0300)]
Use IMGDEPLOYDIR for SDCard image generation
This change is needed as the commit OE-Core:6d969bac (image: Deploy
images to IMGDEPLOYDIR) has changed the deployment directory from
DEPLOY_DIR_IMAGE to IMGDEPLOYDIR causing failures when using the
image_types_fsl.bbclass class.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Zhenhua Luo [Tue, 13 Sep 2016 02:56:18 +0000 (10:56 +0800)]
qemu-qoriq: fix do_install_ptest_base issue
Fix the following build error:
| DEBUG: Executing shell function do_install_ptest_base
| cp: cannot stat '.../qemu-qoriq/git-r1/git/tests/Makefile.include': No such file or directory
| WARNING: exit code 1 from a shell command.
Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Fri, 1 Jul 2016 18:39:44 +0000 (15:39 -0300)]
weston: Refactor code to use the new overrides
The recipe has been reworked to use the 'imxpxp', 'imxgpu2d' and
'imxgpu3d' feature overrides. While on that, the i.MX6UL specific code
has been reworked to used when only PXP-only support is available,
fixing the i.MX7D support as well.
Change-Id: Ieaae9f95bd7ace58df7bccdab19b42ad35f44f5e Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Fri, 1 Jul 2016 18:39:12 +0000 (15:39 -0300)]
imx-gpu-viv: Refactor code to use the new overrides
The recipe has been reworked to use the 'imxgpu2d' and 'imxgpu3d'
feature overrides. While on that, the i.MX6SL specific code has been
reworked to used when only 2D GPU support is available.
Change-Id: Ied0415ed9e8cc27682d8516e432165e6327a6773 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Fri, 1 Jul 2016 18:37:06 +0000 (15:37 -0300)]
qtbase: Refactor code to use the new overrides
The recipe has been reworked to use the 'imxgpu2d' and 'imxgpu3d'
feature overrides. While on that, the i.MX6SL specific code has been
reworked to used when only 2D GPU support is available.
Change-Id: I8fade08f54bd74e1dfd46b59711f6896c0bc7e6e Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Fri, 1 Jul 2016 18:35:45 +0000 (15:35 -0300)]
glmark2: Refactor code to use the new overrides
The recipe has been reworked to use the 'imxgpu2d' and 'imxgpu3d'
feature overrides, while on that, the '_remove' operator usage has
been removed as it is impossible to override using a bbappend file.
Change-Id: I89d4a4d461b182ad3d7ca8ed8ebbfe2183caf467 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Fri, 1 Jul 2016 14:15:40 +0000 (11:15 -0300)]
Convert SOC_FAMILY to MACHINEOVERRIDES
The SOC_FAMILY is an indirection which makes the understanding, from
OpenEmbedded versed developers and users, more difficult. Instead of
using the SOC_FAMILY indirection which is rarely used, we now move to
the MACHINEOVERRIDES mechanism as this is in fact what is in use.
Change-Id: Ic6e58b79bdc990ac853c87761c3fff635786e4e5 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Mon, 22 Aug 2016 17:11:39 +0000 (14:11 -0300)]
imx-test: obey LDFLAGS settings
The gcc-cross default linker hash has been changed in OE-Core:fa436aeb,
due that the broken recipes (which were not respecting the set LDFLAGS
settings) are now exposed.
This fixes the error setting the need Make flags so the build system
obey the LDFLAGS setting.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Mon, 22 Aug 2016 16:50:20 +0000 (13:50 -0300)]
xf86-video-imxfb-vivante: obey LDFLAGS settings
The gcc-cross default linker hash has been changed in OE-Core:fa436aeb,
due that the broken recipes (which were not respecting the set LDFLAGS
settings) are now exposed.
This fixes the error setting the need Make flags so the build system
obey the LDFLAGS setting.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Stefan Agner [Wed, 17 Aug 2016 22:51:28 +0000 (15:51 -0700)]
Remove apm from machine features
APM (Advanced Power Management) is a more or less ancient power
management API mainly from the x86 world. There is an optional APM
emulation layer for ARM, and some platform make some extended use
of it (e.g. PXA). However, neither is the emulation enabled on any
NXP/Freescale kernel nor is it commonly used, hence remove it from
machine feature.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Breno Lima [Fri, 12 Aug 2016 12:54:43 +0000 (09:54 -0300)]
linux-fslc-imx: Replace MPL3115 driver
There are currently two driver implementations for the MPL3115:
- drivers/input/misc/mpl3115.c (from NXP kernel)
- drivers/iio/pressure/mpl3115.c (from upstream kernel).
Use the CONFIG_MPL3115 instead of CONFIG_INPUT_MPL3115 because this driver
uses the Industrial I/O framework, which is the preferred and standard
subsystem for sensors.
The data from this sensor can be read by using the following commands
on a warp7 board:
Zhenhua Luo [Thu, 23 Jun 2016 22:18:44 +0000 (17:18 -0500)]
cst: add bash in RDEPENDS_cst
Fix the following warning:
| WARNING: cst-git-r0 do_package_qa: QA Issue: /usr/bin/cst/uni_cfsign \
| contained in package cst requires /bin/bash, but no providers found in \
| RDEPENDS_cst? [file-rdeps]
Changelog: 21a6b5b remove from Makefile unsupported build options 49e5c4d build this driver only for C293 de748aa fix ECDH_KEYGEN_B571 c37caf5 fix ECDH_KEYGEN_B409 8aeef34 fix ECDH_KEYGEN_B283 b978c11 fix ECDH_KEYGEN_P521 59f3256 fix ECDH_KEYGEN_P384 4942972 fix ECDH_KEYGEN_P256 0109686 remove commented code adb5ea0 fix ECPBN_SIGN_TEST_571 8c27c09 fix ECPBN_VERIFY_TEST_571 2c64f11 fix ECPBN_SIGN_TEST_409 259c64c fix ECPBN_VERIFY_TEST_409 fcd6526 fix ECPBN_SIGN_TEST_283 c42c0d0 fix ECPBN_VERIFY_TEST_283 9935bc6 fix ECP_SIGN_TEST_521 b9f414b fix ECP_VERIFY_TEST_521 ae15786 fix ECP_VERIFY_TEST_384 65e6891 fix ECP_SIGN_TEST_384 d48889b fix ECP_VERIFY_TEST_256 95a1946 fix ECP_SIGN_TEST_256 07118db fix DSA_SIGN_VERIFY_TEST aa341b9 fix ECDSA_KEYGEN_TEST 8a6ee84 remove non SEC_DMA code in ecdsa_test.c e34c882 reorder ecdsa init operations for clarity f59455d remove non SEC_DMA code in dsa_test.c a87ad87 clean-up test_dsa return codes 4c62d4b clean-up returned error codes for dh tests 303d534 fix incorrect DMA access to kernel memory in ecdh tests 69d0f04 refactoring: clean-up ecdh init tests 8218a02 use a portable API to measure test results against time 9c890fd disable printing for debug messages 5f00cff disable some debug print messages f74f9e7 device dma addresses are 36 bits f9a7e12 implement context pools for dh 74c8d36 remove unused structure variable a2bd548 use unsigned type to print values 9cd790c remove unused variable ce87c88 add dummy stub to compile on ARM c569de3 change type of temporary buffers in dsa.c 4440eef change type of temporary buffers in rsa.c e6f5d1d add support for temporary buffers to be allocated in host ip_pool fed730a combine common cases in switch 24163c3 don't unmap NULL input and output buffers ee34caa do memory unmapping in the same place to simplify review a254d5f Merge branch 'fix_host_to_dev' 030029c remove HOST_DMA code from dh.c 36e7ace remove HOST_DMA code in dsa.c 0e71ace fix rsa descriptors with pointers to _device_ addresses of data 354cd63 remove custom descriptor address conversion aff76f8 use dma addresses for ip_pool instead of physical addresses 299f846 don't copy RNG init descriptors to device SRAM 69e91a9 fix host_to_dev conversion 06768c0 fix referencing device driver by global variable 05b7cb4 remove unnecessary check on pointer before free 347c8d6 fix error path clean-up for rng_init.c f10fde8 fix error recovery code for dh.c ff53efd fix error recovery code for dsa.c 4d05d58 fix incorrect failure recovery from no mem in rsa.c e41f4fe be explicit about x86 specific code e27ba78 refactoring: remove simple assignment functions bb6fd21 fix type of the descriptor pointer c059e26 include several firmware fixes 58e36c9 remove union with a single member 9a8fcfc add FIXME for known broken (and unused) code 6035037 wrap conditional code with #ifdef ca75cd8 only high perf mode is supported 42bb43e remove conditionals for always enabled SEC_DMA code 2e39ac9 enable building of pkc.o only on x86 d860b92 Merge branch 'rm_sym_hash' cddcbe0 simplify buffer allocation 4480ab5 remove unused buffer descriptors structures d7ba05f remove unsupported digest operation types b5cdc69 remove unsupported symmetric operation types 15983c7 remove union for a single remaining member 4c37906 remove commented code 2d4ef38 remove supporting code for digests 4c973a3 remove supporting code for symmetric algorithms 16aa4e9 remove digest options from Makefile 0046906 remove symmetric algorithms option from Makefile ddba6e5 remove host dma supporting code 8964e47 remove redundant cast when assigning from void* b21bdea refactoring: drop else branch on a conditional 4c130a1 explain what this structure holds 4bb526d debug prints for setup-ep 235b377 use the recommended dma-allocator function 4ca6775 separate firmware and host lines in their handshake dialog f4e5221 extract functions from a switch case catch-all function 1d77ba3 don't write values to this field since they are ignored 7471d52 align output of debug prints 126b55c remove unnecessary cast in function definition 6156ad9 remove unnecessary casts when converting phys-to-virt e84ac1e fix descriptors debug print d7714ec match ring counters all the way back to handshake a98d899 match other ring counters to handshake names 4e9ff64 match ring counters names with the ones from handshake c545ea2 add FIXME note for intr_ctrl_flag 73f41e3 rename local counters with the names used in firmware 72b8884 rename other local counters with their firmware correspondents 4005735 rename local ring counters to match variable names in firmware 398a910 rename local indexes memory to match the rest of the code d508974 rename ring counters to match the rest of the code fa8fa98 use dma addresses instead of physical ones 3d75058 clarify code and do not allow incorrect unmapping dc4b53f remove non descriptive and out of sync comments 878b10d remove non sec-dma build options from desc_buffs.c 4da5c14 replace ASSIGN64 macro in rsa code 59487fa inline redundant wrappers over simple arithmetics a273744 inline function that performs a simple addition 4263e72 inline redundand wrapper over a memory mapping function 1f87a74 pool info is on host - rename variables to clarify their meanings a6ead52 rename variable referring to virtual address 986e670 rename variable referring to device physical address 7c65096 embed buffer_pool structure into pool_info d0b4272 move function declaration to the proper header 26e9abf make explicit the type of create_pool 61bca33 remove obscure comment 4a9cc8c remove declaration of non-existing function bb233eb use consistent naming when referring to buffer pools 5603762 remove duplicated definitions of pool info structures 1cbe21d split host and device input pools into separate entities 762f784 rename the host virtual address field to match our convention 02a0f9c remove duplicated address 9e8e66f remove customized data-dump debug prints b3890d0 refactoring: inline the contents of dev_buffer structure 24b9dad disable code used only with host dma 5277c39 use offset instead of physical address to avoid conversion errors 32198d0 rename structure variable to show we have more than one ring fe95ddd drop unused handshake field 9630d19 remove assignment and space for not-used counters 717264f clarify the intent of the code in the handshake process 5d091af remove not used allocation for shadow indexes 4d3528b remove not used counters from ob-mem a1c0b25 rename handshake structure located on device f87d9cd rename handshake structure located on host 92d5105 rename structure for host memory layout 42eac76 document details of pci_bar_info structure aeafe7a simplify error checking for rng alloc functions bfad291 fix content of debug-print messages 2f396f4 fix some compilation warnings on debug print code a682f70 communicate to the device only offsets in ob-mem 6abcb44 remove information ignored during handshake f64dc51 drop volatile from host handshake memory 28d91c1 drop volatile qualifier for device handshake area 2c8f914 refactoring: remove dispatching step for command hs_init_config 85bdf97 allow only SEC_DMA build option 5e10672 remove support for DES and 3DES 1ebe7f0 fine tune the length of the key buffer fbd5e8f add support for aes-cbc SEC_DMA mode b7d88bc replace scatterwalk_sg_next with sg_next 3cde754 remove duplicated sg copy functions 2acadfe fix scatterlist buffer start address computation 34d4dd1 add option for analysing code coverage db38cd6 fix module's description string 591ccd5 fix modpost section mismatch warning
Changelog: ed90f15 fix dequeueing of rng descriptors b83c7e9 add FIXME note regarding response rings 39ec4f5 add support to read SEC fault registers a92d35d mark as not used the command field in dev handshake structure 06d0ca0 remove code blocks to enhance clarity f8447c5 remove not used handshake field 4955e78 describe field purpose abc3893 remove not used counters from local resources 36f23a0 rename handshake counters to match local structures cfcb505 describe the structure member bcc6f5e compact the use of if-else conditional 4b0fa3e align debug print output for easy readout 9cac843 split double assignment to clarify code b05aef4 rename functions for clarity 837d691 rename counter to be consistent with the rest of code 4d5461d fix memory allocation for interrupt flags bb46e51 group functions together for easy review f0bd7f3 introduce variable to reduce code duplication e6274e0 move #define out of the structure into a common definitions area 2257be3 rename handshake structure located on host 4129716 rename handshake structure located on the device b09a3ad describe SEC registers 0e6c428 simplify calculation of address alignment cb18b7e clarify meaning of a hard-coded register (GUTS_SVR) 45e730c group assignments and prints to simplify code review 4fca737 group together all msi and ob assignments 6eb1e08 remove useless assignment which is overwritten later 4c07318 fix calculation and print free memory 479c677 minor clean-up in code layout db7c91c add missing commas to clarify code intent 7bbdf77 remove unused "intr_ctrl_flags" field fb7b45d use offset of response ring instead of its physical address 7614c6e use offsets into ob-mem instead of host dma addresses