Max Krummenacher [Mon, 28 Jan 2019 15:05:49 +0000 (16:05 +0100)]
imx-boot: imx-mkimage: do not compile with -static
E.g. Fedora doesn't install glibc-static by default and the yocto
prerequisites do not mandate installing it. Rather than requiring
glibc-static drop linking with -static.
Works around:
| .../build/tmp/hosttools/ld: cannot find -lc
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Fabio Berton [Fri, 18 Jan 2019 11:30:10 +0000 (09:30 -0200)]
imx-base: Enable wic.bmap image generation as default
Bmaptool is a generic tool for creating the block map (bmap) for a
file and copying files using the block map. Is faster than use dd
to flash images to SD Cards. More info about bmap here [1].
[1] - https://github.com/intel/bmap-tools
Change-Id: I727d63104baa3669e83db127b03b3b0af6cd45b9 Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
(cherry picked from commit fb753d427add595d9c425fab9d4720a041db1b6d)
Khem Raj [Tue, 15 Jan 2019 09:02:52 +0000 (01:02 -0800)]
vpp-core: Pin to qoriq socs
It depends on dpdk which is also qoriq specific
Fixes
ERROR: Nothing PROVIDES 'dpdk' (but /mnt/jenkins/workspace/yocto-world-glibc/sources/meta-freescale/recipes-extended/vpp-core/vpp-core.bb DEPENDS on or otherwise requires it)
03:58:38 dpdk was skipped: incompatible with machine qemumips (not in COMPATIBLE_MACHINE)
ERROR: Nothing RPROVIDES 'vpp-core' (but /mnt/jenkins/workspace/yocto-world-glibc/sources/meta-freescale/recipes-extended/vpp-core/vpp-core.bb RDEPENDS on or otherwise requires it)
Chunrong Guo [Fri, 11 Jan 2019 03:14:34 +0000 (03:14 +0000)]
vpp: add recipes
*update to lsdk 1812 tag
include the following changes d3111f0 - Merge pull request #28 in DQNS/vpp from ~NXA19696/vpp:18.01 to 18.01 3de6197 - Fixed build failure issue. 850f7b0 - Merge pull request #27 in DQNS/vpp from ~NXA12342/vpp:18.01 to 18.01 bb942a3 - dpdk/ipsec: add locks on session data hash updates 2e647f4 - Merge pull request #26 in DQNS/vpp from ~NXA19696/vpp:18.01 to 18.01 f242992 - PVT: ipsec: Fixed capability matching for openssl based sha1 authentication d7133de - Adding copyright for IPsec protocol offload work a0a8384 - Fixed copyright issue 8ac7782 - Fixed Debian pkg errors with Ubuntu 18.04 99f3b56 - Address compilation issues with Java > 1.8 09ba9a8 - Introducing env variables to include non-standard include in libs paths 9a24604 - glibc 2.27 fix 25c590a - Optimizing Crypto Dequeue Node to prevent buffer losses d8409f4 - Merge branch '18.01' of ssh://bitbucket.sw.nxp.com/~nxa19696/vpp into 18.01 731a2e5 - Added option for enabling RSS 3a97655 - Merge pull request #19 in DQNS/vpp from ~NXA19696/vpp:18.01 to 18.01 e47fe7d - Enable use of Maximum QP in Sec Device when available 723d633 - Merge pull request #18 in DQNS/vpp from ~NXA19696/vpp:18.01 to 18.01 a99e163 - PVT:dpdk_plugin: introducing IPSec protocol offload support 5f9b2c1 - Fixed Port detection mechanism for DPAA platforms f5724cd - Fixed debian pkg support for ARM64 platforms 29755c5 - Upstreamed: Fix to start Crypto Dev 351b6fd - Added support for Single CPU usecase with events 49ddf3b - ipsec: workaround for crypto devices having single queue d6adb7d - Tune config file for caam_jr driver b4a490c - Adjusting number of buffers for LS1012 ee5b872 - Merge pull request #13 in DQNS/vpp from ~NXA19696/vpp:18.01 to 18.01 b40602f - Merge branch '18.01' of ssh://bitbucket.sw.nxp.com/~nxa19696/vpp into 18.01 d8edb01 - Introduced Check for Heap allocation failure 7c551f6 - Merge pull request #12 in DQNS/vpp from ~NXA19696/vpp:18.01 to 18.01 43bef3e - Tuning Memory requirements for LS1012 ff02d6e - README_nxp updated 984ef5b - Adjusting Socket Memory requiremets
*update to lsdk 1812 tag
include the following changes e93f053 - Merge pull request #12 in DASH/optee_os from ~NXA18717/optee_os:optee_3.2.0 to optee_3.2.0 40670fe - plat-ls:add LX2160ARDB platform flavors c4ca171 - Updating MAINTAINERS for NXP LS-RDB Platforms
*update to lsdk 1812 tag
include the following changes 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
*update to lsdk 1812 tag
include the following changes f451d2b - PVT:dpaa: add ipv6 distribution in fmc xml scripts c3c6697 - examples/l3fwd: add per port buffer pool support 8232d30 - PVT: bus/fslmc: fix array access in interrupt affinity for LCORE_ID_ANY c09e3c4 - Merge pull request #824 in GITAM/dpdk from ~NXA19696/dpdk:17.11-qoriq-dev to 17.11-qoriq-dev 6e381aa - bus/fslmc: apply portal to cpu mapping only for non-rx portals 4f3b82f - Merge pull request #822 in GITAM/dpdk from ~NXA19696/dpdk:17.11-qoriq-dev to 17.11-qoriq-dev 58f92eb - bus/fslmc: Reset portal memory before use 7b8d2ee - bus/fslmc: Performance optimization in QBMan Enqueue functionality 2b6f083 - security: fix crash on destroy null session 559e318 - examples/l2fwd-crypto: skip device not supporting operation df3b0ce - examples/l2fwd-crypto: check return value on IV size check fe0af02 - examples/l2fwd-crypto: fix digest with AEAD algo abbda5d - examples/ipsec-secgw: fix bypass rule processing 3f81162 - examples/ipsec-secgw: fix IPv4 checksum at Tx 2ddfbf9 - build: enable ARM NEON flag when __aarch64__ defined bc5b0b6 - eal/arm64: fix instrinsic for GCC < 4.9 e25189f - eal: fix build with -O1 fa83a50 - table: add dedicated params struct for cuckoo hash 80833dd - net/dpaa2: fix MAC address initialization 84e9838 - PVT: change the map files default to 17.11 afa05d0 - doc: add doc for dpaa2 pmd timestamp api 2871fe5 - net/dpaa2: fix the copyright year due to changes f78341c - net/dpaa2: fix clang compilation issues db2dd17 - PVT:dpaa2: change dpsec to 8 by default 5a815c5 - mk: fix cross build 4c9beb5 - Merge pull request #821 in GITAM/dpdk from DPDK-1499-fmcless-pcd to 17.11-qoriq-dev a077d74 - PVT: misc clang compilation fixes 4626a2d - PVT: net/dpaa: add schema for default pcd
Chunrong Guo [Fri, 11 Jan 2019 03:14:21 +0000 (03:14 +0000)]
spc: add recipes
*update to lsdk 1812 tag
include the following changes 1a41424 - License updates 6aa1509 - Fixed Jump/Gosub instruction code f814f3e - Updated the LX2 Parser revision d7e3f30 - Set the blob version to 1.0 bd1b667 - Refactoring the makefile and net headers. 12b6a71 - Updates on some RA (Result Array) fields bf1a132 - Small install updates f45da58 - Updated Parser revisions according to platform 5799b9f - Parser IP block Rev fix for LS2 4de4651 - Add more validation and error messages and FAF names changed b8a2630 - Blob version fix 2707f30 - Dump the blob as array of bytes in a header 0eddcd2 - Display some runtime warnings 66c1e1e - Small fix for Ubuntu: include string.h 3b8d002 - Changes around debug layers and intermediate code generation 722ebd9 - Small updates (warning message for unsupported elem and removed base proto from another SP from blob) f486cba - VxLAN support and Blob protocols ID update 84bf344 - Small HW config file refactory: parser 5f6414c - Small fixes (prevproto type and load in AIOP) 2d37fad - Fixed protocol entry point offset in blob 58da088 - Add support to call from another SP (use: prevproto / nextproto) 9f22e3e - Add support to run SP before HW Parser (use: prevproto='none') 8852fb0 - Added configuration file 46fd66a - Added SP Parameters in Blob Generation 303354c - Added Blob Generation (initial version) d7efad8 - Memory map update for DPAA2 33af4c3 - HXS PDL update with new protocols c9e07ee - Fixed checksum calculation e686771 - Adding RA_GPR1 utility functions 8831a9c - FAF update according to Parser_Block_Guide_03.106 40c8e02 - Refactory the set faf high level xml instruction 8eb61a6 - Added support for FAF and new protocols 21dba55 - Added command to generate intermediate code
*update to lsdk 1812 tag
include the following changes 2b4dd21 - dprc: generate-dpl: export only the objects that exist 2c3202b - dpdmux: rename flib_ops 8106ce7 - export flib_ops in the restool header ea39c04 - dpmac: update interface type enum c54067a - dpseci: fix 16 queues support 1c2dde0 - dpmac: display counters in info command 40dddfc - scripts: dynamically setup the DPCON objects needed eb49d17 - scripts: dynamically determine the number of DPIOs needed 2255cab - dpmac: add DPMAC_ETH_IF_CAUI as one of the supported phy types cbee183 - dpseci: increase the maximum number of queues ce7d849 - dpni: increase the maximum number of queues
Chunrong Guo [Fri, 11 Jan 2019 03:14:17 +0000 (03:14 +0000)]
mc: Upgrade version to 10.12.0
*update to lsdk 1812 tag
include the following changes cdb5af4 - Add the prebuilt binaries of mc 10.12.0 release 840aa8e - Initial commit to add README
*Update to lsdk 1812 tag
include the following changes: 49389aa - .gitmodules: use codeaurora url 0c4eea9 - Makefile and gitmodules update 492eecd - dpdcei: Affine thread for FQDAN setup b2a48e8 - dce: Support LX2160 SOCs 62af9fe - dce: Userspace dce support for DPAA2 devices
*qbman update to 383ceac
Update to lsdk 1812 tag
include the following changes: 383ceac - Support for the QBMAN 5.0 userspace.
Chunrong Guo [Fri, 11 Jan 2019 03:14:12 +0000 (03:14 +0000)]
u-boot-qoriq: Upgrade version to 2018.09
*update to lsdk 1812 tag
include the following changes c08de7c - SecureBoot_LX2160A: Correct the kernel header offset. 619d0d3 - ls2080ardb: check enablement of QSPI using DCFG_RCWSR15 0dfcc1f - ls1088a: Update the device tree for IFC/QSPI 8875034 - net/phy: Cortina CS4223 driver updates & bugfixes 88fa585 - mmc: fsl_esdhc: make get_cd work well in dm_mmc_ops 2211378 - Revert "pci: layerscape: Add the dts fixup for EP and RC" f8358cf - armv8: fsl-layerscape: properly configure qdma ICID f24e259 - lx2160: Enable support of EMC2305 1a858e3 - armv8: emc2305: add support for fan controller f37025a - fsl-ls2088ardb: dts: enabling SATA node ff3e128 - board/ls1046aqds: Bypass xfi port fixup for KR mode on LS1046AQDS 2c3c67e - armv8: ls2088ardb: change default device tree in defconfig for TFABOOT 7f79b25 - armv8: ls1088aqds: add support for ifc-nor boot for TFABOOT c1b55a8 - detect ifc-nor flash at run-time 6c99ca4 - pci: layerscape: Add the dts fixup for EP and RC ccfc35d - pci: layerscape: Do not scan when PEX work in EP mode dd167bc - pci: layerscape: Modify the EP and RC mode judge method 26defec - armv8,lx2160a: Initialize ethernet array in serdes_init 2851185 - armv8: lx2160a: Update CONFIG_SYS_FSL_PEBUF_BASE cce8348 - board/ls2088ardb: Update the device tree for IFC/QSPI 830ac80 - Correct QSPI bootcommand for LS2088 TFA boot 899e696 - ls2088ardb: add QSPI support for TFA-BOOT a9fb32b - ls1043a: add support for nand-boot cmd for TFA c2b3374 - arm64: lx2160ardb: enable DM support for sata 0f80b76 - armv8: dts: fsl-lx2160a: add sata node support a10b3fc - board/lx2160a: Update xspi_bootcmd, sd_bootcmd env ee09465 - armv8:LX2160: Adds distro secure boot support. 9a7d1e0 - drivers/spi: Disable hybrid mode for SPANSION S25FS-S family 6b04587 - drivers/spi: Introduce functions to read/write any register a748abd - fsl_qspi: Modify handling of RDAR, WRAR, 4K_ERASE commands 2af4cbd - armv8: lx2160a: Modify dspi1 controller intrrupts property 612bc35 - Enable sata configs to Kconfig for all LayerScape boards 358229b - armv8: ls1043aqds: modify the qspi_bootcmd definition
*update to lsdk 1812 tag
include the following changes:
update COMPATIBLE_MACHINE for qoriq-arm64 6aca560 - config: lx2160a: add dprtc object 73eec5c - api: add MC 10.13.0 APIs 022adf2 - api: add MC 10.12.0 APIs f3e4205 - api: add MC 10.11.2 APIs cb2afb7 - api: add MC 10.11.1 APIs 65aeed6 - config: update number of necessary dpmcp 1370e38 - Add dpc with USXGMII for QDS protocol 7
Daiane Angolini [Thu, 10 Jan 2019 16:21:20 +0000 (14:21 -0200)]
wic:mx8: Create wks file for imx8 family using imx-boot
imx8 family boards use u-boot as boot loader in addition to some other
binaries. The final bootloader binary is gathered by mkimage into a file
called imx-boot.
Add the wks file to create the wic image tailored for imx8 family.
Set the wks file as default for all imx8.
Daiane Angolini [Thu, 10 Jan 2019 16:24:24 +0000 (14:24 -0200)]
imx-boot: Fix the symbolic link filename to imx-boot
Fix the error:
| File "/media/daiane/TRIFORCE/yocto/master/sources/poky/scripts/lib/wic/filemap.py", line 132, in _open_image_file
| % (self._image_path, err))
| wic.filemap.Error: cannot open image file '/media/daiane/TRIFORCE/yocto/master/build/tmp/deploy/images/imx8mmevk/u-boot.imx': [Errno 2] No such file or directory: '/media/daiane/TRIFORCE/yocto/master/build/tmp/deploy/images/imx8mmevk/u-boot.imx'
Max Krummenacher [Fri, 28 Dec 2018 10:37:17 +0000 (11:37 +0100)]
ptpd-qoriq: Limit BSP specific recipe on relevant SOCs
Prevents the following when building for non qoriq machines:
| NOTE: Multiple providers are available for runtime ptpd (ptpd, ptpd-qoriq)
| Consider defining a PREFERRED_RPROVIDER entry to match ptpd
| NOTE: Multiple providers are available for runtime ptpd-dev (ptpd, ptpd-qoriq)
| Consider defining a PREFERRED_RPROVIDER entry to match ptpd-dev
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Dima Zavin [Wed, 19 Dec 2018 08:40:13 +0000 (00:40 -0800)]
license: clarify the licensing for the project's metadata
Presently, the recipe files in meta-freescale are under an ambiguous
license. There is a EULA file at the root, but it's clearly not meant
to apply as the default license as it is only explicitly called out in
a few recipes and mirrors the language of the LSDK. The yocto upstream
projects are meant to be distributed under a more liberal license than
the LSDK.
There are several licenses listed is custom-licenses/, but those again
only apply to specific recipes (e.g. NXP-Binary-EULA).
The license for the recipes themselves (and for the layer metadata, etc.)
is not clear and is problematic when attempting to host a mirror of this
code. So, add a LICENSE file that describes this situation, and provide
a reference copy of the MIT license (taken from poky/meta/).
Signed-off-by: Dima Zavin <dmitriyz@waymo.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Marc Ferland [Thu, 13 Dec 2018 19:27:29 +0000 (19:27 +0000)]
imx-uuc: bump to latest revision
* Includes the following changes:
e3fbdfe ufb: fix printf warning about argument type 48043c0 sdimage: fix printf warnings about expected argument types 79e9798 sdimage: rework verbose/debug messages ceec934 sdimage: reorder writes to reduce risk in case of power loss during update 59ff3e3 sdimage: refactor debug messages 3eeebda sdimage: introduce alignment support for second bootstream 8f7ec52 sdimage: restore compatibility to i.MX23 3136bbf sdimage: major refactoring 32644ae sdimage: use EXIT_FAILURE and EXIT_SUCCESS for return values 3633e94 sdimage: minor refactoring, renames etc. 7640d2f sdimage: handle endianess correctly 4100d09 sdimage: drop global variables 2fff78e sdimage: refactor boot control block structure 702747e sdimage: drop Windows line termination on success message b195bdc sdimage: drop unneeded initialization 61ca818 sdimage: use platform independed variable types and rename members slightly 014ddad sdimage: minor whitespace style fixes
Signed-off-by: Marc Ferland <ferlandm@amotus.ca> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
linux-imx_4.9.123: fix kernel module deploymenmt for ipk
Change the LOCALVERSION to '-imx'. While only linux-imx_4.9.123.bb fails,
change the the same pattern in linux-imx-headers_4.9.123.bb for consistency.
At least the ipk packager doesn't like the '_' characters and errors out
with the following for each kernel module:
| ERROR: Fatal errors occurred in subprocesses:
| Command 'PATH="..." opkg-build -Z xz kernel-module-snd-usbmidi-lib-4.9.123-imx_4.9.123_imx8mm_ga+g6a71cbc08975 \
| .../deploy-ipks/imx8qmmek' returned non-zero exit status 1.: Traceback (most recent call last):
| File "/build/krm/oe-core_master/build/../layers/openembedded-core/meta/lib/oe/utils.py", line 272, in run
| ret = self._target(*self._args, **self._kwargs)
| File "/build/krm/oe-core_master/build/../layers/openembedded-core/meta/classes/package_ipk.bbclass", line 230, \
| in ipk_write_pkg
| shell=True)
| File "/usr/lib64/python3.6/subprocess.py", line 336, in check_output
| **kwargs).stdout
| File "/usr/lib64/python3.6/subprocess.py", line 418, in run
| output=stdout, stderr=stderr)
| subprocess.CalledProcessError: Command '...' returned non-zero exit status 1.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Fixes:
| ERROR: Nothing PROVIDES 'virtual/kernel'
| linux-fslc-imx PROVIDES virtual/kernel but was skipped: incompatible with machine imx8qmmek (not in COMPATIBLE_MACHINE)
| ERROR: Nothing PROVIDES 'virtual/bootloader'
| u-boot-fslc PROVIDES virtual/bootloader but was skipped: incompatible with machine imx8qmmek (not in COMPATIBLE_MACHINE)
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
The kernel class now sets RDEPENDS_${KERNEL_PACKAGE_NAME}-base so this include
needs to do the same, otherwise bitbake emits a warning and the kernel isn't
removed.