*include the following changes: dcbe27b - Adding policy.h flag for spectre v4 mitigation 4fbad6a - Fix suppression flag on sec_init 24d6891 - Adding SUPPRESS_TZC and SUPPRESS_SEC to policy cfg file; Adding platforms qds & rdb to device LX2160; Adding platform emu t 006a0e5 - Correcting disable load-pass-store in CPUACTLR from bit [53] to bit [55] 8e557f9 - Adding spectre v4 mitigation for a57, a72 cores. b0a07cf - Updating reset function for LX2160. 74814cf - Increasing L3 cache flush timeout from 100ms to 333ms. 9d5ecd2 - Enabled OP-TEE support on LS1012FRWY baord. 9950f2b - Removing wfe from core 0 sequence when waiting for soc init tasks to complete. 508ed94 - Enabling initialization of the CCN-508 interconnect. fcede9a - Adding support for ls1043 variant ls1023, and ls1046 variant ls1026. 7d5dcc1 - Fixing PSCI_SYS_OFF so that this function never returns. 8e8fc09 - Removing \r from line endings of shell script gen_its. 1c4fc78 - its: Correct config node as per upstream u-boot guideline f00e7ef - Adding smc function SIP_HW_UNQ_KEY_32. c87863a - Fixing usage of _check_sec_disabled(). d0ec59c - Fix for PLATSEC-437 & PLATSEC-457. 926fb97 - Adding smc function (SIP_ALLOW_L2_CLR_32) to allow clearing of L2 memory errs. 781d7b5 - Fixing broken build of LS1043, LS1012. 7289e86 - Adding smc function SIP_ALLOW_L1L2_ERR_32; Added test for SPD interface. 8804017 - Providing very fast-path for SMCC_ARCH_WORKAROUND_1 e9dfa28 - Moved _soc_check_sec_enabled() to _check_sec_disabled(); Fixed conflicting defs in LX2160 soc.h. 474b797 - Changing LX2160 cluster 3 handling from RCW frequency-based to RCW[850] selectable. f56bd49 - fuse: Correct OTPMK value mapping to OTPMK registers
Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
mx7dsabresd: Remove the mx7dsabresd_secure_defconfig target
mx7dsabresd_secure_defconfig was introduced to allow booting NXP kernel
that has CAAM support and needs to boot in secure mode.
Instead of keeping two different config targets for the same board,
remove mx7dsabresd_secure_defconfig and select
CONFIG_ARMV7_BOOT_SEC_DEFAULT inside mx7dsabresd_defconfig so that
this target could be used to boot both mainline and the vendor kernel.
This makes maintenance task easier and avoid potentially confusion
for the end user.
Tom Hochstein [Fri, 22 Jun 2018 20:17:18 +0000 (15:17 -0500)]
imx-base.inc: Add imxgpu to MACHINEOVERRIDES_EXTENDER
Add imxgpu to simplify the conditional for imxgpu2d OR
imxgpu3d. Note that i.MX 8MQ has no 2D, so the previous
idiom of using imxgpu2d to mean any GPU is no longer correct.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Fri, 29 Jun 2018 16:56:17 +0000 (13:56 -0300)]
imx-base: Use i.MX's fork of libdrm for i.MX6 and i.MX7
There few components which require the new libdrm fork, so we must use
it when using NXP's BSP components. Besides adding the preferred
version we need also to add it to the SoC architecture filter.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Tom Hochstein [Fri, 22 Jun 2018 20:17:08 +0000 (15:17 -0500)]
imx-dpu-g2d: Add new G2D implementation based on DPU
Change-Id: Ib3114b9962a2bb89e95da8757870050c1d816abd Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Fabio Berton [Mon, 18 Jun 2018 19:07:18 +0000 (16:07 -0300)]
gstreamer1.0-plugins-imx: Bump to revision 963aea6
- Rename recipe to use git package name
- Set PV to use latest version plus git revision
- Add O.S. Systems License
This commit includes the following changes:
- 963aea6 Merge pull request #180 from clopez/bug-179
- 81d3233 Merge pull request #188 from dougnazar/fixes
- 68715a6 g2dpango: Add missing header and cleanup a few warnings
- f4aa2db audio: Save codec_data
- 2b2edd7 Endless loop at gst_imx_vpu_decoder_finish() when in no_wait mode (#179)
- ecd884a v4l2: Add phys mem meta only if the driver/card is known to support this
- 9772200 ipu: Reintroduce interlace methods
- 3404b56 v4l2video: Define V4L2_COLORSPACE_DEFAULT if it doesn't exist
Fabio Berton [Mon, 18 Jun 2018 17:57:02 +0000 (14:57 -0300)]
xf86-video-imxfb-vivante: Update to version 6.2.4.p1.2
- Remove .inc file to use only one .bb file
- Update O.S. Systems License
- Remove unused patch
- Set SDKTARGETSYSROOT to use STAGING_DIR_HOST
- Remove unnecessary CFLAGS
Fabio Berton [Thu, 14 Jun 2018 18:56:09 +0000 (15:56 -0300)]
kernel-module-imx-gpu-viv: Update to version 6.2.4.p1.2-based fork
This includes the following changes:
- 8635400 Merge tag 'upstream/6.2.4.p1.2'
- 9bbacfe Import 6.2.4.p1.2 original version
- 26c273f Kbuild: fix AQROOT reassignment and remove CONFIG_MXC_GPU_VIV
- 09b4ae4 Merge tag 'upstream/6.2.4.p1.0'
- 7957949 Import 6.2.4.p1.0 original version
- 3b9e057 Merge tag 'upstream/6.2.2.p0'
- b3604bf Merge pull request #8 from gibsson/upstream
- 0d83ec5 Import 6.2.2.p0 original version
Fabio Berton [Mon, 11 Jun 2018 18:54:36 +0000 (15:54 -0300)]
imx-test: Update to version 7.0
- Remove .inc file to use only one .bb file
- Add alsa-lib to DEPENDS
- Add patch to use include path when compile sources from test directory
- Drop unused patch
- Update O.S. Systems Software Copyright
Fabio Berton [Mon, 11 Jun 2018 14:23:26 +0000 (11:23 -0300)]
imx-gpu-viv: Update to 6.2.4.p1.2
Key Features of the Vivante 6.x Driver Series
- Full support for Khronos OpenGL ES 3.2 API. The new OpenGL ES 3.2 and OpenGL ES Shading Language 3.20 specifications bring AEP,
plus additional functionality, into core OpenGL ES. Vivante OpenGL ES 3.2 implementation has passed Khronos OpenGL ES 3.2 Conformance Test.
And Vivante GC7000XS* GPU core has been certified by Khronos as an OpenGL ES 3.2 compliant product.
- Backward Compatible with 5.x and 4.x Drivers. Existing OpenGL ES 3.x/2.0 applications can run on these drivers without any changes.
Key Features
============
- OpenCL improvements
- Wayland-weston DRM Support
- Wayland-weston with 2D accelerated renderer
- Wayland-Weston EGL DRM Modifier support
- Wayland-Weston EGL Framebuffer compression
- Wayland-Weston DMABUF support
- OpenCV tests with OpenCL
- Add GPU DRM support
- GLES CTS version 3.2.4
6.2.4P1 Improvements
==================
OCL: MGS-3255-34 add opencl memory optimzation
OCL: MGS-3255-33 fix opencl test buffer copy failure
OCL: MGS-3640 fix opencl corruption for arm_compute_library
OCL: MGS-3710 SoftISP meet CL_INVALID_WORK_GROUP_SIZE (-54) on mscale and qxp
OCL: cache invalidate for uncached buffer get accesing user space memory outsied uaccess.h error
OCL: ovx and ocl running together
EGL MGS-3711 met display blurred when run weston-nested
EGL: Enable extension EGL_EXT_image_dma_buf_import_modifiers
EGL: weston-nested met process aborted and core dump
EGL: MGS-3399 fix wayland egl resize cts failure
EGL: support direct rendering on external drm buffer
EGL: MGS-3840-2 fix 6qp display flicker with fbdev test
EGL: MGS-3791 imx6q shared egl context rendering issue
EGL: MGS-3744 fix GC355 OpenVG flicker on wayland
EGL: MA-11528 Support enable framebuffer direct rendering
GLES3.0: 6QP FB have CTS failures with ESCTS 3.2.2.0
GLES: MGS-3570 glGenerateMipmap takes too much time on 5.x/6.x driver
Weston: Disable surface compress if g2d-renderer
GBM: Enable DRM compression for mscale board
GBM: MGS-3625 6.2.4.p1: Fix xserver build break with GBM change
GBM :MGS-3694 enable fb fd and tile status fd in GPU and DCSS on wayland
Android:MA-11232 Enable HDR10 support on imx8mq platform.
Android: MA-10844 GPU driver pass build after refine some NXP git path
Android : MA-11101 Add HAL_PIXEL_FORMAT_NV12_TILED format to support VPU tile
QNX:iMX8QM MGS-2906 VDK app fail if it's started as the first app after screen
QNX:iMX8QM MGS-3289 [iMX8] Rotation using blitter seems broken
QNX:iMX8QM MGS-3338 - Deadlock seen with Screen API test
QNX:iMX8QM MGS-3323 QNX -[iMX8] Fix NV12 handling
iMX8QM Disable depth compression for LPDDR4 parts
OCL: MGS-3848-5 OCL1.2: test_image_streams failures
OCL:MGS-3832 cl_convolution of ACL cause MMU exception
OVX: MGS-3579 Fix the invalid scope of VX graph for 8QM
OVG: MGS-3826 met core dump and system prompt out of memory when do OpenVG memory leak test.
OVG: MGS-3750 fix gc355 openvg stuck issue on 6q and 6qp
OVG: MGS-3791 VGCTS failed to run on i.MX6SL wayland
OGL: MGS-3570 glGenerateMipmap takes too much time on 5.x/6.x driver
OGL: MGS-3741 glmark2 test met error message
General: MGS-3848 refinements for pm and isr
General: MGS-3840 Display resume back very slow and has snow screen after suspend and resume.
General: MGS-3751 met GPU core dump when run multiple es20 sdk apps
Known Issues
============
MGS-3770 [6q/6qp] can not generate correct reference file after do api retrace and sometimes met stuck
- Need wayland support in waffle. will be addressed in next release
MGS-3747 [6dl/6q] X11: copytex can't work after "Qt5_NMapper" app test.
YOCIMX-2354 Some qt3-3d demos not work. Issue related to QTwayland in 5.8 later
MGS-3739 can not pass webgl 1.0.2 CTS test. Chromium 64 known issue. Same reproduced on desktop
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Fabio Berton [Fri, 8 Jun 2018 20:56:14 +0000 (17:56 -0300)]
linux-imx: Update to version 4.9.88
- Update to latest revision of 4.9.88
- Sync defconfig file with imx_v7_defconfig
- Remove do_configure_prepend from linux-imx-mfgtool, once
now the defconfig are the same imx_v7_defconfig
- Add and update O.S. Systems Software Copyright
Chunrong Guo [Thu, 14 Jun 2018 06:01:51 +0000 (14:01 +0800)]
qemu-qoriq: add recipes
*include the following changes: 6c297a7 - vfio fsl-mc: Expose DPIO cacheable region as cacheable 8e929a8 - fsl-mc: mc-bus device fdt node creation 4be2ad9 - fsl-mc: Add APIs to provide root mc-portal region b1abcf2 - fsl-mc: Add API to provide mc-portals region 22d303a - vfio fsl-mc: Configure and setup irqfd cfc1b9a - vfio fsl-mc: Enable DPMCP emulation c5b28d1 - vfio fsl-mc: Add support to close dpmcp command interface 56353d9 - vfio fsl-mc: Support non dprc/dpmcp command interface on dpmcp 12a9dae - vfio fsl-mc: Add support for dprc command interface on dpmcp a24861b - vfio fsl-mc: Add support to open dpmcp command interface ae9efbb - vfio fsl-mc: forward non-emulated mc commands to VFIO 913ab98 - vfio fsl-mc: Add support of get_obj_irq mc commands 9883a03 - vfio fsl-mc: Add support of set obj_irq mc commands 57db3b4 - vfio fsl-mc: Add support of get_irq mc commands c87c8c1 - vfio fsl-mc: Add support of set_irq mc commands 35413a8 - vfio fsl-mc: Add support of get_obj_region command edca25c - vfio-fsl-mc: Add support of dprc get-attr command 74ca7d2 - vfio-fsl-mc: Add support of dprc open/close command bb895ff - vfio-fsl-mc: Add framework for handling mc-portal commands eb51475 - vfio fsl-mc: Scan dprc container and realize child devices 82a1b97 - vfio-fsl-mc: Register mc-device regions with mc-bus f2a56a1 - vfio fsl-mc: add support for non-dprc device c36e7f6 - vfio fsl-mc: Add nested dprc support be171ec - vfio fsl-mc: framework to support fsl-mc-bus in vfio 16010da - vfio fsl-mc: Sync linux header for fsl-mc device be260fc - fsl-mc: add interfaces to set/get msi messages f9756ce - fsl-mc: Add mc-bus-devices region registration interface 5ae0227 - vfio-fsl-mc: Initialize fsl-mc bus devices device-id 9bdfa45 - fsl-mc: Add mc-bus-devices registration interface c996be1 - fsl-mc: define device-id map for mc-bus devices
Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
e539461 mx8mq_usb_work.conf: use files so magic addresses aren't needed 2913fd0 treat plug-in field in boot data as flags 135e6b4 remove default load address e90fa1b move work handling to imx_sdp 871a070 use static for local functions de8579f remove obsolte define MAX_IN_LENGTH 2678c73 move SDP client-side emulation to separate compile unit aea7afa move byte-order macros to portable header file 04cd5c4 imx_loader_config: rename jump_script to jump_direct 85a1b60 tests: update tests since now J_HEADER=3 2760dba imx_sdp: add jump_script support c7e62cc Merge branch 'introduce-structs' of https://github.com/toradex/imx_loader into toradex-introduce-structs 53b3a1b imx_sdp: add comment to fsize change 39380ab imx_sdp: need to extend file size when header is added to end of file 25c5c4b introduce struct dcd_v2 5f6fe7b introduce struct ivt_header 4603ea5 move DCD checks to perform_dcd d7f4caf rename header structs to align with imximage 0029824 move config file parsing in separate file c8a08dc tests: update test outputs 6ae9528 imx_usb: support multiple work items in simulation mode 273ddf0 imx_usb: move all USB handling into do_autodetect_dev 51e0591 mx8mq_usb_work.conf: load dtb/bl31 affb132 mx6_usb_work.conf: add comments fa7912a imx_sdp: add skip parameter d9779f8 imx_sdp: have fetch_data always limit buf_cnt to not include header b55929d mx8mq_usb_work.conf: s/mx6/mx8/ 13294c7 test: add line vid=0x1fc9 pid=0x012b file_name=mx8mq_usb_work.conf 28170ef imx_sdp: add imx8 support, jump support ade3b8b imx_sdp: avoid short packets in load_file 3003258 imx_sdp: fix fetch_data b5eac6d tests: update test output for test-dcd.imx 7c5d0e0 imx_sdp: add writeable_header to struct load_desc fcd8632 imx_sdp: fix do_simulation cur_mem assignment f960ef3 imx_sdp: print message when dcd_ptr is cleared f157268 imx_sdp: keep track of the buffer's file offset 70c14db imx_sdp: separate jump, from load_file_from_desc d02a4dc imx_sdp: make do_data_transfer try to finish the transfer specified 5e6fb14 imx_sdp: add comment about setting bulk mode header address 635ee4e imx_sdp: change parameters to load_file 340d7ac imx_sdp: create routine load_file_from_desc cb62c3f imx_sdp: add verify to struct load_desc c98b0ba imx_sdp: add header_offset to struct load_desc c97a7e4 imx_sdp: add fsize to struct load_desc fcf8e37 imx_sdp: use ld.buf_size for BUF_SIZE 009297b imx_sdp: rename cnt to buf_cnt 74a117b imx_sdp: move FILE* xfile to struct load_desc 65bee76 imx_sdp: move buf_start and cnt to struct load_desc f259b47 imx_sdp: create struct load_desc ab55cab imx_sdp: move functions load_file/jump higher before process_header c598fd1 imx_sdp: introduce do_data_transfer f346f04 imx_sdp: introduce do_command 5f08b3a tests: update test outputs 137e34a imx_sdp: use do_response for BULK report 3 transfer 059b79b imx_sdp: use do_response in read/write_memory e241467 imx_sdp: use do_response in jump 35e238f imx_usb/sdp: properly simulate jump command 4cd4d94 imx_usb: use do_response in do_status 1bf0b1d tests: update test outputs ad1add1 imx_sdp: extract response handling 93ad1a2 introduce tests 936c4fe imx_usb: support verification in simulation 70eaa73 imx_usb: introduce simulation mode 931c78f imx_sdp: use consistently only \n fe77dae imx_usb: reintegrate option parsing 3bb6cd2 imx_sdp: clarify BULK download address/header relation 0a322b0 bump version to 0.2pre 6aa2ee6 add version number a949687 imx_uart: return success on requesting help explicitly 869d06b Merge pull request #71 from toradex/jump-separation 013fa23 imx_sdp: move jump command out of main download function 138c0b2 Added uninstall rule for GNU make 7e77787 README: Include i.MX7 in the supported list of SoCs 2a85287 imx_usb.conf: Add vendor and product ID for NXP boards d34a3e3 make sure imx_sdp.c gets rebuilt on image.h change 3911cd6 resync image.h with U-Boot v2017.09 ce730fb batch mode for multiple downloads 378a832 add U-Boot header example 5f8fbc4 Add support for U-Boot image headers ed17e6b imx_usb.conf: Add support for i.MX6SLL device cd281c2 mx7ulp_usb_work.conf: Add support for i.MX7ULP device f04f225 Add options to filter by bus & device id 75d8237 Update imx_usb.conf a2cf488 Make project buildable on macOS deaaea5 Skip the DCD loading if its length is 0 69d4850 Fix possible overflow ba6b31c Make project buildable on FreeBSD c33d83d remove unused variables and other trivial warnings 4528254 consequently use plus for byte conversion concatenation f43231a avoid using unsigned char for strings 219745c enable warnings by default c8f4ead imx_usb: fix C99 warning by moving retry definition to top of function 4bab49a imx_sdp: print better error message in verify_memory 523dd99 imx_sdp: add retries to read_memory b40ec96 Add Visual Studio 2015 project file for imx_usb d7e10c9 Move dbg_printf to portable.h d5529d4 Search for configuration file in current working directory 98dd7a2 Derive configuration directory from environment on Windows 561f037 Transfer always specified report 2 length 0d57130 Improve error handling around DoIRomDownload ba88872 Fix compare between signed and unsigned values 49a1ca7 Fix error handling in uart_connect db409dd Make sure strings are properly terminated 4175891 Add Makefile for MinGW b698636 Move IO functions to portable header file f864538 Introduce portable.h to have a common place for portability defines 8958e39 Move and update Visual Studio project files 9dd3788 Use compiler built-ins for byteswap 7c6853c Introduce do_autodetect_dev to implement current behavior dd28f77 Add "-N" to skip UART association phase 408680b Add debugmode for UART method f0188c1 move USB work handling in its own function da82f8a simplify and document work processing a0b11cc improve error message, move message to debug c00279d deduplicate device initialization code 04a6f97 improve error handling 9b0e81c Remove obsolete mx53_usbarmory_work.conf bb0e593 Fix DCD writing for i.MX5x devices a0160b2 mx53_usb_work.conf: change crlf to lf 297a57a Add DCD loading address parameter in conf file ba96a36 use PKG_CONFIG variable for pkg-config calls 48a85c0 Fix segfault on plugin load 85ecb0d Merge pull request #32 from jcorbier/master 6deb910 Use the DCD_WRITE SDP command
Change-Id: Ia9494366b37a0b4a60f91f82bad6f4456849c439 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Yuqing Zhu [Wed, 6 Jun 2018 03:44:22 +0000 (11:44 +0800)]
imx-codec: Upgrade to v4.3.4
Add INSANE_SKIP for file-rdeps to fix QA Issue
Update mp3_enc version to 02.03.01
Fix crash in lib_mp3_enc_arm12_elinux.so
This crash error is caused by division by zero
in noOfElements_mp3e() function When encoding 0
size file by using unit test
so before performing a division operation, need to
check whether divisor is zero or not to fix it.
Signed-off-by: Yuqing Zhu <carol.zhu@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Richard Leitner [Mon, 4 Jun 2018 15:58:10 +0000 (17:58 +0200)]
kernel-itbimage: set dtb load line only if DTB_LOAD is set
The load address line for the dtb should only be given if DTB_LOAD was
set accordingly before. Therefore add this check.
Without this patch the dtb was loaded to 0x0 if no DTB_LOAD was set and
the boot therefore failed. Now when no DTB_LOAD is set the bootloader
uses the device tree in place.
Signed-off-by: Richard Leitner <richard.leitner@skidata.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
The 'ConfigParsed' event was too early and when we mangled the
MACHINEOVERRIDES using the extender, we ended overriding some values
when using together with multilib.
This fixes the multilib use-case and keep current ones working.
Reported-by: Cristinel Panfir <cristinel.panfir@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Vincent Prince [Fri, 25 May 2018 13:00:47 +0000 (15:00 +0200)]
utp-com: Switch git repo to Freescale github
- Switch from https://github.com/ixonos/utp_com to https://github.com/freescale/utp_com
- Bump to latest version with following commits: dee512c Merge https://github.com/nefethael/utp_com 03681a3 Merge https://github.com/Tecphos/utp_com 33129ca Makefile: Allow variables override for cross-compilation e5cbd26 Added error if malloc fails on file load
Signed-off-by: Vincent Prince <vincent.prince.fr@gmail.com>
Otavio Salvador [Mon, 21 May 2018 19:24:29 +0000 (16:24 -0300)]
machine-overrides-extender.bbclass: Postpone until 'RecipeParsed' event
The 'ConfigParsed' event was too early and when we mangled the
MACHINEOVERRIDES using the extender, we ended overriding some values
when using together with multilib.
This fixes the multilib use-case and keep current ones working.
Change-Id: I6f1d952dfe2d04fa10229a86763af4ca6b1e601f Reported-by: Cristinel Panfir <cristinel.panfir@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Do not add the short git hash to the kernel name when SCMVERSION is
not set.
Change-Id: I15bf597eab3a811846f3bb28a95b0f8f8a393483 Signed-off-by: Jan Vermaete <jver@oip.be> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>