libimxdmabuffer provides an API for allocating and handling physically
contiguous buffers ("DMA buffers") on imx6, imx7, imx8 machines with the
imx-kernel. The underlying allocation can be backed by the PxP, IPU, ION,
DWL, G2D APIs.
The API is backend agnostic. The same structures and functions can be used
with the underlying PxP and IPU allocators for example. Furthermore, the
library defines a "default" allocator (which one is the "default" is
determined by the library and by the build configuration).
By using this API, libraries can use compatible types for exchanging
DMA buffers in userspace, and can also use the same API and support mx6,
mx7, and mx8 machines, without requiring platform specific code changes.
Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
*update to lsdk 1906 tag
include the following changes: 0123ced - Merge pull request #966 in GITAM/dpdk from 18.11-qoriq-dev to 18.11-qoriq 9e58741 - Merge pull request #965 in GITAM/dpdk from 18.11-qoriq-dev-ppfe to 18.11-qoriq-dev 87b8c52 - net/ppfe: add checksum offload in capability ae172a2 - bus/dpaa: fix incorrect rte_free of malloc memory
*update to lsdk 1906 tag
include the following changes: ff7bf7b - Merge pull request #32 in DQNS/vpp from ~NXA12342/vpp:19.01.1_devel to 19.01.1 5c2b539 - PVT: ipsec: Fixed capability matching for openssl based sha1 authentication a24588f - PVT: dpdk_plugin: introducing ipsec protocol offload 33d0d81 - Fixed Flexbuild integration issues c200b3f - dpdk-ipsec: Fixed ramdom Crash in esp traffic 2a0a031 - Enhanced the VPP startup configuration 05bce64 - Merge pull request #30 in DQNS/vpp from ~NXA19696/vpp:19.01.1 to 19.01.1 c63f8ad - Fixed RPM packaging of VPP libs w.r.t Tag format 85e9d4d - Merge pull request #29 in DQNS/vpp from ~NXA19696/vpp:19.01.1 to 19.01.1 26d2455 - Adding README for NXP platforms 9df88fa - Handled review comments d66c318 - Fixed Debian packing support for arm64 platform 513a05a - Fix for using Best mem pool ops as per platform d0f5fa4 - Updating path for cmake cross compile file fe17e96 - More Compilation Fixes e64c6ca - Cross compilation & RPM pkging known issues cbd68cb - 19.01.1 Release Notes 3262adc - cmake: fix out-of-git-tree build d302022 - Fix vpp crashing when attempting to run in kubernetes Pod 6342e48 - tcp: allow future acks if in window 46ee286 - IPSEC: crash on SA dump when SA are bound to tunnels bad0bcd - Fix crash in barrier sync when vlib_worker_threads is zero 372a33e - buffer chain linearization
*update PV to "19.01"
*refresh patch
*update DEPENDS
include the following changes: b3d08bb - update version number and log 7c4187c - add new portInfo lua data 0c39019 - Cleanup build, add plugin support and meson build not working f6e9e33 - fix crash not resetting tty and other fixes 4199555 - Merge branch 'bug-fix' 3942af7 - fix Update to version 3.6.5 176df0a - fix ldflags order for lua lib 8c746d0 - minor message missing a word 5e29e43 - reorder the defines on the LDFLAGS line 6ed0bde - convert to DPDK network structs and fix offload code. 0e8ac37 - fix lua builds oni ubuntu 18.10 5b537c9 - change port command to use uint16_t 96776e5 - update .cfg file information b5133f1 - add page stats screen 5b883b2 - add more color to static info a0c5819 - convert all rte_delay_ms to rte_delay_us_sleep 83b1bfa - remove need for rte_timer_manage 4dcc2db - use faster timer routines then rte_timer_manage cca5864 - remove cycles.h header 0d5d9ab - change cli_use_timers routine to run rte_timer_manage 7283ba7 - remove crc-strip option b44f9e6 - remove init stats structure a82bbf5 - fix formatting with spaces 81623f1 - update readme, version and changelog
*update to lsdk 1906 tag
include the following changes: 0123ced - Merge pull request #966 in GITAM/dpdk from 18.11-qoriq-dev to 18.11-qoriq 9e58741 - Merge pull request #965 in GITAM/dpdk from 18.11-qoriq-dev-ppfe to 18.11-qoriq-dev 87b8c52 - net/ppfe: add checksum offload in capability ae172a2 - bus/dpaa: fix incorrect rte_free of malloc memory 866adf5 - Merge pull request #961 in GITAM/dpdk from 18.11-qoriq-dev to 18.11-qoriq 0b36cdd - Merge pull request #953 in GITAM/dpdk from DPDK-1790 to 18.11-qoriq-dev 7dfce10 - PVT: nxp: supress warnings from performance script 4e26967 - PVT: nxp/README: update with loopback and no prefetch devargs option 71f3ebd - PVT: net/dpaa2: add optional non-prefetch rx mode 025c689 - PVT: eth/dpaa2: reset frc and ctrl in sg tx fd 6e8d2fe - net/ppfe: fix no ports available issue 28bfd64 - PVT: examples: l3fwd: Fix spec creation for traffic split scenario 279901c - Merge pull request #946 in GITAM/dpdk from DPDK-1799-pdcp-security to 18.11-qoriq-dev 066ff8d - crypto/dpaa_sec: update dpovrd for hfn override in PDCP 73c6c39 - Merge pull request #947 in GITAM/dpdk from DPDK-1795-ecpri to 18.11-qoriq-dev ef48961 - bus/dpaa: fix static initialization to 0 29235c3 - Merge pull request #948 in GITAM/dpdk from 18.11-qoriq-dev to 18.11-qoriq c3a19c0 - PVT: test: restructure PDCP test cases into new file 627fc3d - Merge pull request #943 in GITAM/dpdk from feature/DPDK-1595-ovs-2.11-migration to 18.11-qoriq-dev 7b9db20 - PVT: examples/l3fwd: add support for ethtype based traffic splitting
*Update to lsdk 1906 tag
include the following changes: abc80ef - netdev-dpdk: have env based configurable number of packet buffers 2410fad - rhel: Use PIDFile on forking systemd service files a631ef7 - dpif-netdev: fix meter at high packet rate. 6b14ed0 - dpif-netdev: Fix double parsing of packets when EMC disabled. 0118706 - dpif-netdev: Update comment about flow installation race. 3c54cf1 - netlink linux: fix to append the netnsid netlink attr. 9a72286 - conntrack: Fix minimum connections to clean. 9b2e4ff - datapath: Revert "datapath: Fix template leak in error cases." 62c7a9d - compiler: Fix compilation when using VStudio 2015/2017 2560908 - datapath: fix flow actions reallocation fae3311 - Docs: fix conntrack flow ct_state input daeab19 - netdev-dpdk: Fix printing masks with wrong byte order. 24909e6 - Prepare for 2.11.2. 022c173 - Set release date for 2.11.1. 044a61d - netdev-tc-offloads: Fix probe tc block support 434ffa9 - rhel: Include all header files in the Fedora's devel package 359a7d2 - reconnect.c: Don't transition back to ACTIVE when forced to RECONNECT. 2924b48 - OVN: Make periodic RAs consistent with RA responder. 54f2d11 - OVN: Always send prefix option in RAs 76f2c3b - OVN: Use offset instead of pointer into ofpbuf 6ffb917 - ofproto: fix the bug of bucket counter is not updated b1f9b4e - netdev-dpdk: Print netdev name for txq mapping. 9068a55 - dpif-netdev-perf: Fix millisecond stats precision with slower TSC. 3c440c2 - ifupdown.sh: Add missing "--may-exist" option b88dafd - dpif-netdev-perf: Fix double update of perf histograms. a55b827 - dpdk: Stop dumping memzones to stdout. 68b2304 - dpctl: Drop parser debug information. 5dea53a - netdev-tc-offloads: Properly get the block id on flow del/get 4c26dfd - netdev-tc-offloads: Improve log message for icmpv6 offload not supported d8bb89f - conntrack: Replace structure copy by memcpy().
*include the following changes: 79df057 - vfio/fsl-mc: Check command version on dprc and dpmcp cmdif 475d962 - vfio/fsl-mc: Add support for DPRC command version-2 271b7fa - vfio/fsl-mc: Add interface for device region range 23f6ed8 - vfio/fsl-mc: Setup address space for QBman CE-SH region 89add80 - vfio/fsl-mc: Fix mc-command version check
*update to lsdk 1906 tag
include the following changes: cd3c353 - updated the year in file copyright headers. 4d5cc8d - app/device_record: Stores the client's device record in a file. 322a6d6 - APP,TA,LIB: Creating 2 separate objects for public and private key for KeyPair bc0553a - removed dead code under compile time flag SK_INVALID_HANDLE f2fddd6 - added support for sk_digestinit sk_digestupdate sk_digestfinal. f509695 - APP_TA_LIB: Adding SK_ATTR_PRIVATE attribute for objects 6791873 - SOBJ_LIB: Exposing SK_CreateObject for PKCS#11 Library f3da9c0 - TA: Miscellaneous Changes 07ef069 - APP_ENG: Adding support for OAEP Encryption in engine and engine app 9fdbf7a - LIB_TA: Adding support for OAEP Encryption Scheme 1652924 - TA: Not returning TEE_ERROR_BAD_PARAMETERS for unmatched attributes 2a49505 - LIB: Exposing SK_GenerateKeyPair and SK_EraseObject Functions bbcbe6c - BUG: Fix for PLATSEC-666 e944456 - BUG: Fix for PLATSEC-628 41a0eaa - Making secure object components ompatible to OpenSSL 1.1.0 and 1.0.2 f72cf1a - Fix for PLATSEC-581
*update to lsdk 1906 tag
include the following changes: a243fb2 - corrected the start year ac5d4db - Updated the year in file header. d642bdd - Changes for making SK_GenerateKeyPair API compatible
include the following changes: 7b5819e - Restructure copy_name() to follow best practice 8bd9964 - Set algorithm mask only when type is provided 81bd24f - Don't overwrite compiler env. if alredy set 0248373 - Update dependencies - Linux kernel and iproute2 headers 547b464 - Fix potential segfault when omitting type argument 274eaba - Honor max length of alg/driver name in strncpy 9d0ae95 - Improve usage information 6ab1c3c - crconf: Fix error output on crconf_del_alg. d8a0a6f - crconf: Add a basic manpage 27a173f - crconf: Update headers to the Linux mainline 873058f - crconf - Linux crypto layer configuraton tool
*update to lsdk 1906 tag
include the following changes: 1b9e9ac - .gitmodules: use codeaurora url e451edf - perf-test: Reject large input files 3bdbdf3 - perf-test: Error out in stateless decomp mismatch 64fc3b1 - dce-internals: Efficient FQ full scheme d1add39 - Merge pull request #32 in DPAA2/dce from ~NXA07713/dce:jira/QSDK-5623-update-dce-license-files to master b3c27ed - LICENSE: Remove GPL License 68a6dab - Merge pull request #31 in DPAA2/dce from ~NXA07713/dce:jira/QSDK-5623-update-dce-license-files to master 0f33f16 - LICENSE: Update License year and full BSD-3 text 0175bb4 - Merge pull request #30 in DPAA2/dce from ~NXA07713/dce:jira/QSDK-5621-dpdcei-object-fails-to-unassign-out-of-child-dprc to master 361e4d0 - dpdcei: Cleanup hanldes in dpdcei_deactivate
*update to lsdk 1906 tag
include the following changes: be7dd8e - Increment SPC Tool version 2dafd3a - Refactoring following support for multiple protocols 727329a - Multiple protocols support
*update to lsdk 1906 tag
include the following changes: 18c7760 - Add DPSECI object in default DPL for LX2160 platform 598afb9 - Add DPL files for LS1088/LS2088 with DPSECI objects included 8da7d1d - api: add MC 10.16.0 APIs 19a70bb - api: add MC 10.15.0 APIs
*update to lsdk 1906 tag
include the following changes: 17f94e4 - plat/nxp/fsl_sec: Remove infinite loop from DEBUG Build 2d18325 - plat/nxp: Change MMU mapping of QSPI, NOR flash to MEMORY from DEVICE 5b8b9a3 - plat/nxp: Add lx2160aqds support 332c6ee - Merge branch 'LSDK' of ssh://bitbucket.sw.nxp.com/gitam/atf into LSDK 1e4b1e6 - Merge pull request #41 in GITAM/atf from ~NXA19332/atf-fork:LSDK to LSDK 693673c - plat: nxp: ls1028rdb: optimize DDR performance 8976e00 - Merge pull request #36 in GITAM/atf from ~NXA27427/atf:jira/PLATSEC-822 to LSDK af21b29 - common: include: correct setbits_le32 macro 3947e8e - plat/nxp/tools: Adds flag to check CRC&STOP or STOP command. c8af318 - nxp: ddr: ls1012a: fixes random hang issue fea3df8 - Merge pull request #30 in GITAM/atf from ~NXF49783/atf:LSDK to LSDK 1df8fb4 - Merge pull request #38 in GITAM/atf from ls1028_brup to LSDK 7e3f1fc - nxp: drivers: ddr: phy-gen2: add PllCtrl settings 07a2317 - nxp/ls1046: Add support for frwy board 25443b9 - plat: nxp: ddr: update ODT and output driver impedance b68a2d7 - csf_hdr_parser/input_blx_ch2: Corrects OEMUID 0 input attribute name. 5b14d6d - plat/nxp/drivers/sfp: Reset the data value at the set GPIO pin. 89963ec - Merge branch 'LSDK' of ssh://bitbucket.sw.nxp.com/gitam/atf into LSDK b54f200 - nxp/ls1028a: Enable core timebase
*update to lsdk 1906 tag
include the following changes: 1296390 - update to commit 7918c743857 ee84dcf - update binaries for LSDK 19.06 e4f1a6f - update binaries for LSDK 19.06
*update to lsdk 1906 tag
include the following changes: 93358b4 - rcw.py: Update comments for loadwochecksum command de68a41 - ls2088aqds: Corrected MEM2_PLL_RAT for DP-DDR frequency ac05bc4 - ls1046afrwy: fix a compiling error issue a25dde7 - Add init rcw support for ls1028a platform de0baa2 - rcw.py: Add Support to Load RCW without checksum b99ec29 - ls1046a: ls1046afrwy: frwy-ls1046a platform support 498de8d - LX2160: Add workaround of errata A-011270
Alban Bedel [Tue, 25 Jun 2019 09:44:57 +0000 (11:44 +0200)]
atf: Fix the build on machines that don't support UEFI
The uefi package silently build nothing on machines that are not
supported. On machines without UEFI support this lead to a build
failure in atf as it always try to build fip_uefi.bin. Fix the
compile step to only build fip_uefi.bin if there is an UEFI image.
Signed-off-by: Alban Bedel <alban.bedel@avionic-design.de>
Neena Busireddy [Fri, 22 Feb 2019 22:03:02 +0000 (16:03 -0600)]
xserver-xorg: Fix X server 1.20.1 crash [YOCIMX-3280]
One of our patches which we upstreamed has been removed from the poky thud.
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/meta/recipes-graphics/xorg-xserver?h=thud&id=9d2cbf041403f5012b251de6c2dc0683755398ed
Add the patch back to fix the crash.
Signed-off-by: Neena Busireddy <neenareddy.busireddy@nxp.com>
Backport from https://source.codeaurora.org/external/imx/meta-fsl-bsp-release/commit/imx/meta-bsp/recipes-graphics/xorg-xserver?h=thud-4.19.35-1.0.0&id=7b9dbcf65929446ddbd5c8245617a624eb30b9ff
Limit the patch to machines which use xf86-video-imx-vivante. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Andrey Zhizhikin [Tue, 18 Jun 2019 14:45:32 +0000 (14:45 +0000)]
mx8mm: use cortexa53-crypto tune for imx8m mini per default
Current implementation of i.MX8M Mini is utilizing generic aarch64 tune
(arch-arm64) provided from OE meta layer.
According to IMX8MMRM [1] this CPU contains Cortex-A53 cores, so this commit
sets a default tune to cortexa53-crypto.
Note, that according to [1] ARM Crypto extensions are supported, therefore it
is beneficial to set the tune to -crypto, as this also enables NEON and VFP
support in GCC (via -march and -mcpu feature modifiers, see [2]).
Alban Bedel [Wed, 19 Jun 2019 08:33:31 +0000 (10:33 +0200)]
qoriq-base: Use the same provider for u-boot and u-boot-fw-utils
It make sense for the default config to use the same provider for
for both u-boot and u-boot-fw-utils. We now assume that there is a
matching -fw-utils package, if not the build will fail instead of
silently using a mismatching u-boot version.
Signed-off-by: Alban Bedel <alban.bedel@avionic-design.de>
Alban Bedel [Wed, 5 Jun 2019 12:27:13 +0000 (14:27 +0200)]
u-boot-qoriq-fw-utils: Update to 2018.09 to fix the build
The build of the fw-utils is broken for all the machines that switched
to TFA as u-boot 2018.03 doesn't have the TFA configs. Upgrade to
2018.09 to fix this issue and have both u-boot and the fw-utils built
from the same version, which is probably a good idea anyway.
Also added the dependency on bison-native which is needed for the build.
Signed-off-by: Alban Bedel <alban.bedel@avionic-design.de>
- Update to latest revision of 4.14.98
- Sync arm architecture defconfig file with imx_v7_defconfig
- Sync arm64 architecture defconfig file with defconfig
Signed-off-by: Alexandru Palalau <ioan-alexandru.palalau@nxp.com>
Andreas Müller [Fri, 24 May 2019 11:42:35 +0000 (13:42 +0200)]
linux-fslc(-lts-4.19): add USB_PRINTER and USB_SERIAL_PL2303 to defconfig
* USB-printer can be considered as common use case
* PL2303 are used in USB -> RS232 converters from Athen. These can also be
considered as commonly used (we have dozens in our company)
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Stefan Agner [Mon, 20 May 2019 11:09:24 +0000 (13:09 +0200)]
imx-boot: drop dependency to u-boot
The recipe do_compile task depends on virtual/bootloader which makes
sure the necessary dependencies are available once imx-boot do_compile
is executed.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
29fa8ab imx_usb: use device found by find_imx_device abe7f5d add support for relocatable installs 3d36c83 Fixed build for Visual Studio 2015 Express. fe50624 imx_usb.config: add mx8mm_usb_sdp_spl.conf/mx8mm_usb_work.conf lines f7752f4 mx8mq_usb_work.conf: use bl31-iMX8MQ-2g.bin to match branch boundary-imx_4.9.123_imx8mm_ga of imx-mkimage 8c9eee7 add mx8mm config files 4aa9809 imx_uart: fix type on help 95fe112 imx_usb: fix type on imx_usb help eed0280 portable: use __builtin_bswap16 for BE16 if >= 4.8 GNUC e99a093 portable: fix typo s/&&/&/ in BE16 fix f000130 mx6ull_usb_work.conf: fix copy/paste error in comment 1041959 correct commit "portable.h: fix build with gcc older than 4.8" bf25425 add mx6ull_usb_work.conf 9a88413 portable.h: fix build with gcc older than 4.8
Yuqing Zhu [Mon, 13 May 2019 05:56:50 +0000 (13:56 +0800)]
imx-gst1.0-plugin: Upgrade version from 4.4.2 to 4.4.5
-Fix Hantro encoder align issue
-Fix vpu crash in secure mode
-Fix gplay can not exit when --quiet
-Add support in VPU decoder for draining buffers during input format change
-Add RGB input support for vpu encoder plugin
Yuqing Zhu [Mon, 13 May 2019 03:42:20 +0000 (11:42 +0800)]
gstreamer1.0-plugins-bad: Switch to MM_04.04.05_1902_L4.14.98_GA branch
Bugfix:
-waylandsink: fix HDR10 playback abnormal
-waylandsink: fix buffer map fail when swith to internal buffer
-wayland/wlbuffer: just return if used_by_compositor is true when attach
-kmssink: add NV12_10LE support for DRM dumb buffer
Yuqing Zhu [Mon, 13 May 2019 03:13:14 +0000 (11:13 +0800)]
gstreamer1.0-plugins-good: Switch to MM_04.04.05_1902_L4.14.98_GA branch
-v4l2videoenc: workaround for sink pool dequeue race condition
-v4l2videodec: add lock for queue and stream off
-pulseaudio: fix bad state when play audio with varying channels
Yuqing Zhu [Mon, 13 May 2019 02:48:09 +0000 (10:48 +0800)]
gstreamer1.0-plugins-base: Switch to MM_04.04.05_1902_L4.14.98_GA branch
-Enable eac3 pass-through mode
-Glcolorbalance: fix pipeline crash when init
-Glupload: add internal physical buffer pool
-Video-frame: correct copy width when format is NV12_10LE
-Update 0001-Makefile.am-don-t-hardcode-libtool-name-when-running.patch
to fix applying conflict.
Yuqing Zhu [Fri, 10 May 2019 09:48:10 +0000 (17:48 +0800)]
imx-vpuwrap: Upgrade version from 4.4.2 to 4.4.5
-Fix VP8 encoded video has mosaic when seek
-Fix video not smooth at the begining
-Fix 1080p h264 encode video has mosaic
-Fix gplay segfault when CMA free is low
-Fix vpu crash in secure mode
-Fix av unsync when play a vp8 stream
-Refine bit rate calculation,use width, height and frame rate to adjust bitrate
-Enable prependSPSPPSToIDRFrames so that each IDR frame has
sps/pps and the encoded h264 stream can play in multi ts files
-Add RGB input support for vpu encoder plugin
Yuqing Zhu [Fri, 10 May 2019 08:28:09 +0000 (16:28 +0800)]
imx-parser: Upgrade version from 4.4.2 to 4.4.5
Bug Fix:
-Fix one mpg2 video fast forward get segmentation fault
-Fix Ogg seek segmentation fault
-Fix last PES not processed by ts parser
-Make H264 parser reset correctly when seeking
-Fix ID3 parser crash
UTF16ToUTF8Len return size is less than actual size because there are
invalid data in metadata, so add padding size in avoid this issue.
Update mp3 parser to 03.02.02
Update aac parser to 03.01.02
-Add vp8/vp9 video type support in avi parser
Yuqing Zhu [Fri, 10 May 2019 07:38:41 +0000 (15:38 +0800)]
imx-vpu-hantro: Upgrade version from 1.8.0 to 1.11.0
-[hantro h1]: Enable set videoFullRange and BGR format
-Disable HEVC bumping flag and h264 bumping flag as default
-[HEVC]: Add error return to avoid segement fault
-Support get color aspect info h264/hevc/mpeg2 decoder
-Add security mode for VP9
Mihai Lindner [Tue, 14 May 2019 09:36:55 +0000 (12:36 +0300)]
u-boot-imx: Upgrade version 2017.03 to 2018.03
Upgrade version to 2018.03 from branch imx_v2018.03_4.14.98_2.0.0_ga.
Drop usage of dtc-145 binary, pulled by the class with the same name,
which was a workaround for older u-boot versions.
Signed-off-by: Mihai Lindner <mihai.lindner@nxp.com>
Stefan Agner [Thu, 9 May 2019 16:58:38 +0000 (18:58 +0200)]
imx-base: make sure sha384sum is available for all i.MX 8 variants
Image container generation of imx-boot requires sha384sum also
when building for i.MX 8 targets (e.g. i.MX 8QM). Make sure it
is available for all i.MX 8 families.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>