aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2020-05-25ls1028ardb: build dtb dedicated for dpdkTing Liu
fsl-ls1028a-rdb-dpdk.dtb is dedicated for dpdk which needs disable some interfaces. Build it on NXP bsp only. Signed-off-by: Ting Liu <ting.liu@nxp.com>
2020-05-25linux-imx-headers: fix imx headers missing in sdkAndrey Zhizhikin
i.MX-specific headers are missing in SDK once generated via image do_populate_sdk task. This was caused by dropped ALLOW_EMPTY package-controlling variable which is required for this recipe in order to indicate that package can have RDEPENDS. Additional RDEPENDS are also required by packages using new mechanisms to include linux-imx-headers, this allows headers to be propagated to the SDK when dependent package is included. Introduce ALLOW_EMPTY in recipe and RDEPENDS in use-imx-headers bbclass to have imx headers to be populated in the SDK. Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
2020-05-19ls1046ardb: fix duplicate dtb issueTing Liu
fsl-ls1046a-rdb-sdk.dtb is listed twice and one is supposed to be fsl-ls1046a-qds-sdk.dtb. This is due to a typo in previous commit: 41c93da5a ls1043a/ls1046a: append non-upstream dtb on NXP bsp only Fix it with fsl-ls1046a-qds-sdk.dtb. Signed-off-by: Ting Liu <ting.liu@nxp.com>
2020-05-19cst: Fix build with gcc10Khem Raj
Fixes create_hdr_common.c:42: multiple definition of `file_field'; parse_utils.o:/mnt/b/yoe/master/build/tmp/work/x86_64-linux/cst-native/git-r0/git/common/parse_utils.c:29: first defined here | collect2: error: ld returned 1 exit status | make: *** [Makefile:131: create_hdr_isbc] Error 1 Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-05-19fix: handle if KERNEL_DEVICETREE isn't definedChristopher Boyd
2020-05-19linux-fslc-imx: upgrade kernel to v5.4.41Andrey Zhizhikin
Kernel repository has been upgraded to the v5.4.41 tag from korg Tracking information is updated with the new stable tag. Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
2020-05-19linux-fslc: upgrade kernel to v5.4.41 from korgAndrey Zhizhikin
Tag v5.4.41 has been merged into the linux-fslc tree, update recipe to pull new kernel version Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
2020-05-19linux[-fslc]-imx: update defconfig to use imx_v8_defconfigAndrey Zhizhikin
Initial defconfig file submitted as a part of upgrade is not used by NXP to configure the kernel for i.MX family, and rather imx_v8_defconfig should be used as defconfig file instead. This has been indicated by NXP as their kernel unification strategy to provide one kernel for i.MX and QorIQ family. Update the previously committed defconfig file to the content of imx_v8_defconfig. Patches applied before [d12d36d3] and [6ef0f40c] are noted in this update. Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
2020-05-15ls1043a/ls1046a: append non-upstream dtb on NXP bsp onlyTing Liu
dtb with -sdk suffix only exist in kernel from NXP bsp. Append them in machine configuration file only when using NXP bsp. Also, add the dtb which already exist in pure mainline kernel. This avoids failure when building pure mainline kernel. Signed-off-by: Ting Liu <ting.liu@nxp.com>
2020-05-15qoriq-base.inc: Add support to easily choose which BSP to useTing Liu
Machines or distros can define which BSP it should use by default. We are intending to default for NXP BSP by default and specific machines or DISTROs might change it if need. Two values are considered valid: mainline, nxp For example: QORIQ_DEFAULT_BSP = "nxp" Signed-off-by: Ting Liu <ting.liu@nxp.com>
2020-05-15qoriq: remove usdpaa dtb from KERNEL_DEVICETREETing Liu
usdpaa is unsupported feature now, and usdpaa dts does not exist in pure mainline kernel. It only exist in kernel from NXP bsp. Remove them to avoid failure when building pure mainline kernel. Signed-off-by: Ting Liu <ting.liu@nxp.com>
2020-05-15atf: fix build failure due to optee binary not existTing Liu
When optee enabled in DISTRO_FEATURES, optee-os-qoriq is added as DEPENDS, and atf tries to find optee binary under ${DEPLOY_DIR_IMAGE}. This has issue when do_deploy task of optee-os-qoriq does not run before atf's do_compile. Switch to find optee binary under ${RECIPE_SYSROOT} instead of ${DEPLOY_DIR_IMAGE}. Steps to reproduce the issue: $ echo 'DISTRO_FEATURES_append = " optee"' >>conf/local.conf $ bitbake -c cleansstate atf optee-os-qoriq $ bitbake -c install optee-os-qoriq $ bitbake -c compile atf | Building lx2160ardb | Makefile:633: *** 'BL32=.../tmp/deploy/images/lx2160ardb/optee/tee_lx2160ardb.bin' | was specified, but '.../tmp/deploy/images/lx2160ardb/optee/tee_lx2160ardb.bin' | does not exist. Stop. | make: *** Waiting for unfinished jobs.... Signed-off-by: Ting Liu <ting.liu@nxp.com>
2020-05-14lx2160ardb: not use specific rcw for SD bootTing Liu
PBI command for Boot source is added by TF-A during its compilation, no need to use spevific RCW for SD boot. Use the generic one. Signed-off-by: Ting Liu <ting.liu@nxp.com>
2020-05-14qemu-qoriq: enable aio/libusb PACKAGECONFIGTing Liu
aio is required for virtio-blk-dataplane and libusb for passthrough of usb devices. Signed-off-by: Ting Liu <ting.liu@nxp.com>
2020-05-14imx-uuc: Allow usage with use-mainline-bspSimone Agresta
Signed-off-by: Simone Agresta <simone.agresta@bticino.it>
2020-05-14packagegroup-fsl-mfgtool: Allow usage with use-mainline-bspSimone Agresta
Signed-off-by: Simone Agresta <simone.agresta@bticino.it>
2020-05-11imx-kobs: Allow usage with use-mainline-bspFabio Berton
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
2020-05-11libdrm-armada: Allow usage with use-mainline-bspFabio Berton
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
2020-05-11xf86-video-armada: Allow usage with use-mainline-bspFabio Berton
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
2020-05-09gstreamer1.0-plugins-bad: update opencv patch to 4.3.0Andrey Zhizhikin
OpenCV has been upgraded upstream to 4.3.0 and current build of gstreamer1.0-plugins-bad is broken as the previous patch required version to be < 4.2.0 Backport the patch from upsteam to allow compilation with OpenCV 4.3.0 and replace the patch in the layer. Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
2020-05-08firmware-imx: Add 'use-mainline-bsp' as a valid overrideOtavio Salvador
As 'imx' override is now filtered out, we need to whitelist the 'use-mainline-bsp' as a valid one. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Change-Id: I393a43720bc8896d1aadaf1fed059e3102489f25
2020-05-08qoriq-ppc: add fsl/ prefix in KERNEL_DEVICETREETing Liu
Fix below issue when compiling linux-qoriq: make[2]: *** No rule to make target 'arch/powerpc/boot/dts/p4080ds.dtb'. Signed-off-by: Ting Liu <ting.liu@nxp.com>
2020-05-08u-boot-qoriq: fix pylibfdt build with Python3Ting Liu
Backport patches to fix build failure on powerpc machines: | /bin/sh: 1: python2: not found | make[4]: *** [scripts/dtc/pylibfdt/_libfdt.so] Error 127 | make[3]: *** [scripts/dtc/pylibfdt] Error 2 Signed-off-by: Ting Liu <ting.liu@nxp.com>
2020-05-07linux[-fslc]-imx: add missing config parameterAndrey Zhizhikin
CONFIG_SND_SOC_SOF_IMX8 requires CONFIG_SND_SOC_SOF_IMX8_SUPPORT to be enabled, which is currently missing in the defconfig for both linux-imx and linux-fslc-imx kernel recipes. Add missing dependent variable to enable CONFIG_SND_SOC_SOF_IMX8. Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
2020-05-07linux-imx: Remove duplicate CRYPTO_SHA512 from defconfigKevin Lannen
The mx8 defconfig already contains CRYPTO_SHA512 as a module which is what is honored so this removes the extra line that also sets CRYPTO_SHA512 to be built in Signed-off-by: Kevin Lannen <kevin@patroness.com> Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
2020-05-07linux-fslc-imx: upgrade kernel to v5.4.39 and latest NXP patchesAndrey Zhizhikin
- Kernel repository has been upgraded to the v5.4.39 tag from korg - 8 additional patches from NXP kernel tree merged Update recipe to new kernel revision and fill in tracking information, including new tag from korg and all patches applied from NXP. Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
2020-05-07linux-fslc: upgrade kernel to v5.4.39 from korgAndrey Zhizhikin
Tag v5.4.39 has been merged into the linux-fslc tree, update recipe to pull new kernel version. Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
2020-05-06kernel-module-qoriq-gpu: rm as it is not needed nowTing Liu
Now qoriq and imx use unified kernel source, kernel-module-imx-gpu-viv can be used for qoriq too. remove kernel-module-qoriq-gpu. Signed-off-by: Ting Liu <ting.liu@nxp.com>
2020-05-06gpulib: rm as it is not needed nowTing Liu
Now qoriq uses imx-gpu-viv, gpulib is not needed. remove it. Signed-off-by: Ting Liu <ting.liu@nxp.com>
2020-05-06lx2160ardb: define RCWEMMCTing Liu
EMMC boot on LX2160A RDB is supported now. Define RCWEMMC for atf build. Documents: What's New in LSDK 20.04: https://docs.nxp.com/bundle/GUID-51EEFEDB-ABD5-40C0-BEBD-6527B3494D57/page/GUID-01DD18F7-27DC-4A0F-B79B-FBB5CBA5F4C0.html LX2160A Reference Design Board: https://www.nxp.com/design/qoriq-developer-resources/layerscape-lx2160a-reference-design-board:LX2160A-RDB LX2160A Multicore Communications Processor: https://www.nxp.com/products/processors-and-microcontrollers/arm-processors/layerscape-communication-process/layerscape-lx2160a-multicore-communications-processor:LX2160A Signed-off-by: Ting Liu <ting.liu@nxp.com>
2020-05-06atf: easy define additional build targetTing Liu
Use variable PLATFORM_ADDITIONAL_TARGET to allow define machine dependent atf targets. This avoids checking ${MACHINE} in shell script, and allows define additional build target using overrides. For exmaple: PLATFORM_ADDITIONAL_TARGET ??= "" PLATFORM_ADDITIONAL_TARGET_ls1012afrwy = "ls1012afrwy_512mb" PLATFORM_ADDITIONAL_TARGET_xxx = "yyy" # for other board Signed-off-by: Ting Liu <ting.liu@nxp.com>
2020-05-06vpp-core/dpdkvpp: rm as it is not supported nowTing Liu
vpp-core fails to build now, no plan to fix it. And no test is done on it with kernel 5.4. Remove it to avoid confusion. dpdkvpp is required for vpp-core compilation. Comparing to dpdk, it changes the thread local storage (TLS) models via -ftls-model option. Remove it along with vpp-core. Signed-off-by: Ting Liu <ting.liu@nxp.com>
2020-05-06tsntool: update to ca2d8fbTing Liu
New commits: ca2d8fb tsntool: fix baset ime get seconds.decimalseconds value 10a0aee tools: make alone 6ff6bfa tools:timestamping: add support TXTIME for procision frame transmit 18407a4 tsntool: add tag v0.4 9b6e536 demo:cnc: limit Qci config index with DEC values 65d86c7 demos:cnc: change operation mode from replace to merge ae71fc0 demos:cnc: correct some prefixes 3c9419c demos:cnc: add madatory node in configuration ee10f2d sample: add pktgen scripts for test f86c64f Merge branch 'bitbucket-master' 7b89c9e Merge pull request #2 from hthiery/master 4253910 genl_tsn.h: use the defination of bool in stdbool.h 8036f38 Makefile add libtsn.pc.in file and add install ddc2f1a Merge pull request #1 from mwalle/master dcbd9a0 Makefile: use PKG_CONFIG 9c50461 fix parallel build 465e7c4 libtsn: correct the return value 9f3e586 tsntool: optimize the condition of the error output tools/event and tools/timestamping are not be built, rm from do_install. Signed-off-by: Ting Liu <ting.liu@nxp.com>
2020-05-06cst: update to 9aafbdfTing Liu
New commits: 9aafbdf scripts: LS1012ARDB: Correct path for pfe image ac52cd3 scripts/platform:LS1028A: Changes firmware header offsets 21a5439 scripts/platform:LX104xA, LS1012A: Changes firmware header offsets fbe5c2e scripts/platform:LX2160A: Changes firmware header offsets 51a32cb scripts/platform:LS1088A, LS2088A: Changes firmware header offsets Signed-off-by: Ting Liu <ting.liu@nxp.com>
2020-05-06uefi: update to e95ed52Ting Liu
Main updates: Common binary support for LX2-Rev1 and LX2-Rev2 LX2160A: PCIe ECAM Support Inphi: skip error return if all PLLs are not locked Signed-off-by: Ting Liu <ting.liu@nxp.com>
2020-05-06rcw: install rev2 binaries for lx2160ardbTing Liu
Now LX2160A rev2 is supported. Install rcw for both rev1 and rev2. LX2160A rev2 processor fixes some PCIe/qDMA/SATA/USB/FlexCAN issues. A new Reference Design Board (https://www.nxp.com/part/LX2160A-RDB-B) ships it. RCW binaries in folder lx2160ardb_rev2 is for the Reference Design Board with Rev 2 processor. Old boards uses rcw binariess in folder lx2160ardb. Signed-off-by: Ting Liu <ting.liu@nxp.com>
2020-05-06dp-firmware-cadence: upgrade to LSDK-20.04Ting Liu
Improved handling responses on AUX channel to fix failure on some Dell monitors. License-Update: use 'LA_OPT_NXP_Software_License v11 February 2020' Signed-off-by: Ting Liu <ting.liu@nxp.com>
2020-05-06pktgen-dpdk: upgrade to 19.12.0Ting Liu
Modifications: - 19.12.0 - Add per queue stats when the hardware does not support it. Use the 'page stats' command to see data and use 'port X' to switch ports. - 19.10.0 - Fix up the save/load commands to get correct as in GRE key command Fix up the problem with pcap files not getting sent if the number of packets was small fix up a crash if the scrn pointer was invalid on startup fixed the log output in startup Fixed the save/load scripts to use the correct commands. Fix the IPv4/6 checksum calculations - 19.08.0 - Fix linking of Lua library when no pkg-config file is found and linking liblua.a Fixed and issue with packet rate not being changed when the packet size is changed Change version numering to year.month.patch format Change lua pktgen.set_mac() to have three args set_mac(<portlist>, 'src|dst', mac_addr) instead of two args add support for setting via lua src and dst mac addresses fix up the RSS port configuration options updated code to adjust the packet tx interval based on command changes on the packet size and other areas. - 3.7.1 - Add TTL support to single and range modes. Better docs for dump packets - Pktgen 3.7.1 will build with DPDK 18.02 to 19.08-rc2, but 18.08 has a problem with vhost.h VRING_EVENT_F_AVAIL not defined and appears the Ubuntu 19.04 version I am running does not define it correctly. - fixed the RX side using TX count for rx_burst command. - General cleanup - 3.7.0 - Fixed build issues with DPDK 19.08 as DPDK renamed a lot of defines Fixed up the meson files to build pktgen with meson and ninja Minor cleanup Signed-off-by: Ting Liu <ting.liu@nxp.com>
2020-05-06secure-obj: update to fb179a8Ting Liu
Upgrade secure-obj to fb179a8 containing just: fb179a8 Bug: Fix for PLATSEC-969 since update for LSDK-19.09 Signed-off-by: Ting Liu <ting.liu@nxp.com> Signed-off-by: Jens Rehsack <sno@netbsd.org> (cherry picked from commit 41a8c80efe5c197a21433aa48d9038898c636054)
2020-05-06optee-test-qoriq: add patch to use python3Ting Liu
python2 is EOL January 2020. This fixes build failure due to python2. Signed-off-by: Ting Liu <ting.liu@nxp.com>
2020-05-06linux-fslc-imx: introduce 5.4.y kernel with NXP patchesAndrey Zhizhikin
Introduce new kernel recipe, which incorporates all patches from original NXP release 5.4.3-1.0.0 and latest patch level from stable 5.4.y kernel tree from korg. This kernel recipe is a consolidation of modifications from upstream and NXP and is meant to be supported by Community with further stable patchlevel updates, individual patches which pending in upstream to be included in the stable, and also to receive updates from NXP internal source tree from the [lf-5.4.y] branch, which corresponds to release 5.4.3-1.0.0. Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
2020-05-06linux-imx-[mfgtool]-5.4.3: update recipes to align with kernel-yoctoAndrey Zhizhikin
When kernel-yocto class is inherited by kernel recipes, the way how PV is constructed changes to reflect GIT kernel tags and meta information. This causes the fetcher search to fail, since paths used to locate files are compiled from PV. Replace version-specific paths in recipes to use PN instead, which is registered in the fetcher as a valid search location. Linux kernel recipe should have LINUX_VERSION also defined, since it is used by kernel-yocto class to derive PV. This version is set to the real kernel version provided by NXP in their source tree. Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
2020-05-06linux-fslc: update PV definition to align with kernel-yoctoAndrey Zhizhikin
PV is defined in the base in linux-imx.inc file and uses the definition LINUX_VERSION required by kernel-yocto.bbclass. Instead of defining the PV in the target recipe, define LINUX_VERSION which is effectively expanded in PV and used by the kernel-yocto class. This define should match to the kernel version referenced by SRC_URI and should be updated once patchlevel is merged. Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
2020-05-06linux-imx.inc: inherit kernel-yocto classAndrey Zhizhikin
Since commit [de2ef0120432cba343452151e86cbc3c99876524] in oe-core, it is possible to use kernel-yocto class without including linux-yocto.inc into the recipe. Inherit the class in order to take advantage of providing mechanisms to use kernel config fragments, patches and verification features implemented upstream. Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
2020-05-05weston: Restore partial clients for i.MX 6 and 7Tom Hochstein
The clients configuration for fbdev was recently removed from meta-freescale [1] because of the following error: ``` | Run-time dependency gbm found: NO (tried pkgconfig and cmake) | | clients/meson.build:134:4: ERROR: Problem encountered: weston-simple-dmabuf-egl requires gbm which was not found. If you rather not build this, drop "dmabuf-egl" from simple-clients option. ``` [1] eda44e49618610c13ebe4c026cd4981b404a1543 It was also removed for non-Wayland from OE-core [2] because of the following error in the same client dmabuf-egl: ``` clients/meson.build:141:4: ERROR: Problem encountered: weston-simple-dmabuf-egl requires option renderer-gl which is not enabled. If you rather not build this, drop "dmabuf-egl" from simple-clients option. ``` [2] 9b1d30810eeecb46b977c8eed68be69aef891312 Restore the working subset of clients. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2020-05-05linux-qoriq: add perf patch to resolve linux-qoriq buildAndrey Zhizhikin
Kernel 5.4.y for QorIQ platform requires the patch in order to compile perf component successfully. Patch has a proper Upstream-Status and points to commit SHA in upstream kernel tree. It is identical to the one present in the linux-imx recipe, since kernle tree for i.MX platform also requires it. Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
2020-05-05linux-imx-5.4.3: update perf patch with upstream statusAndrey Zhizhikin
Upstream-Status tag was missing in the original patch and is updated to the Submitted status with reporting commit SHA in upstream. Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
2020-05-05qtbase: Fix patch fuzz for mkspecs/linux-oe-g++/qmake.confantznin
The current version of the patch causes a fuzz because of context change. Signed-off-by: antznin <agodard@witekio.com>
2020-05-05optee-os: Replace /lib by ${nonarch_base_libdir} in do_installantznin
This fixes a do_package error when using `usrmerge` in `DISTRO_FEATURES`. In that case the bin files should have been installed in /usr/lib. Using ${nonarch_base_libdir} makes the location specific to distro settings. Signed-off-by: antznin <agodard@witekio.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Change-Id: I9d6c015975b093f74f29927a7e8bdfd87fd3dc09
2020-05-05qtbase: Allow easy override of the mainline BSP GL backendOtavio Salvador
Using a weak setting, allow distributions to override it and make customizations if need (use gl, for example). Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Change-Id: Id1ee47764148e07feba86e16cd7d282a37dcf9e9