summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* t2080: remove srio_pcie boot UBOOT_CONFIGTing Liu2020-05-262-4/+2
| | | | | | | For the srio_pcie boot, the DM pcie driver does not support this feature. Remove it. Signed-off-by: Ting Liu <ting.liu@nxp.com>
* jailhouse: Enable Jailhouse for i.MXCristinel Panfir2020-05-253-0/+199
| | | | | | | | | | | | This is an adaptation of the original recipe https://bitbucket.org/retotech/meta-jailhouse - add recipe for Jailhouse version 0.11 - enable for mx8mq, mx8mm, mx8mn - add pyjailhouse/python tools like jailhouse-cell-linux - update to python3 classes Signed-off-by: Cristinel Panfir <cristinel.panfir@nxp.com>
* linux-fslc-qoriq_5.4.bb: introduce rebased+fslc kernelJens Rehsack2020-05-251-0/+17
| | | | | | | | | | | Introduce recipe for a kernel based on stable/linux-5.4.y + NXP/QorIQ patches + FSLC patches. The idea is to keep this kernel up-to-date with stable/linux-5.4.y and upgrade with new LSDK-releases when they come out. A new stable kernel will receive a fresh rebased start. Signed-off-by: Jens Rehsack <sno@netbsd.org>
* linux-qoriq.inc: build kernel PV as linux-imx.incJens Rehsack2020-05-252-0/+5
| | | | | | | For later common kernel *.inc files, adopt setting the PV to the correct kernel version to satisfy the kernel version sanity check. Signed-off-by: Jens Rehsack <sno@netbsd.org>
* ls1043a/ls1046a: add back usdpaa dtb for dpdkTing Liu2020-05-253-0/+6
| | | | | | | | | | | For the DPAA platforms, usdpaa dtb is actually used for DPDK. DPDK specific Device Tree file is configured to provide userspace applications with network interfaces. Build it on NXP bsp only. Signed-off-by: Ting Liu <ting.liu@nxp.com>
* ls1028ardb: build dtb dedicated for dpdkTing Liu2020-05-251-0/+3
| | | | | | | 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>
* linux-imx-headers: fix imx headers missing in sdkAndrey Zhizhikin2020-05-252-0/+14
| | | | | | | | | | | | | | | | | | 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>
* ls1046ardb: fix duplicate dtb issueTing Liu2020-05-191-1/+1
| | | | | | | | | | | 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>
* cst: Fix build with gcc10Khem Raj2020-05-192-0/+44
| | | | | | | | | 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>
* fix: handle if KERNEL_DEVICETREE isn't definedChristopher Boyd2020-05-191-0/+5
|
* linux-fslc-imx: upgrade kernel to v5.4.41Andrey Zhizhikin2020-05-191-3/+3
| | | | | | | | 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>
* linux-fslc: upgrade kernel to v5.4.41 from korgAndrey Zhizhikin2020-05-191-2/+2
| | | | | | | 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>
* linux[-fslc]-imx: update defconfig to use imx_v8_defconfigAndrey Zhizhikin2020-05-192-602/+82
| | | | | | | | | | | | | | | | 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>
* ls1043a/ls1046a: append non-upstream dtb on NXP bsp onlyTing Liu2020-05-153-3/+16
| | | | | | | | | | 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>
* qoriq-base.inc: Add support to easily choose which BSP to useTing Liu2020-05-151-0/+9
| | | | | | | | | | | | | | 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>
* qoriq: remove usdpaa dtb from KERNEL_DEVICETREETing Liu2020-05-153-3/+1
| | | | | | | | 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>
* atf: fix build failure due to optee binary not existTing Liu2020-05-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | 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>
* lx2160ardb: not use specific rcw for SD bootTing Liu2020-05-141-1/+1
| | | | | | | 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>
* qemu-qoriq: enable aio/libusb PACKAGECONFIGTing Liu2020-05-141-1/+1
| | | | | | | aio is required for virtio-blk-dataplane and libusb for passthrough of usb devices. Signed-off-by: Ting Liu <ting.liu@nxp.com>
* imx-uuc: Allow usage with use-mainline-bspSimone Agresta2020-05-141-1/+1
| | | | Signed-off-by: Simone Agresta <simone.agresta@bticino.it>
* packagegroup-fsl-mfgtool: Allow usage with use-mainline-bspSimone Agresta2020-05-141-1/+1
| | | | Signed-off-by: Simone Agresta <simone.agresta@bticino.it>
* imx-kobs: Allow usage with use-mainline-bspFabio Berton2020-05-111-1/+1
| | | | Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
* libdrm-armada: Allow usage with use-mainline-bspFabio Berton2020-05-111-1/+1
| | | | Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
* xf86-video-armada: Allow usage with use-mainline-bspFabio Berton2020-05-111-1/+1
| | | | Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
* gstreamer1.0-plugins-bad: update opencv patch to 4.3.0Andrey Zhizhikin2020-05-093-44/+35
| | | | | | | | | | | 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>
* firmware-imx: Add 'use-mainline-bsp' as a valid overrideOtavio Salvador2020-05-081-1/+1
| | | | | | | | 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
* qoriq-ppc: add fsl/ prefix in KERNEL_DEVICETREETing Liu2020-05-0816-16/+16
| | | | | | | 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>
* u-boot-qoriq: fix pylibfdt build with Python3Ting Liu2020-05-089-0/+1537
| | | | | | | | | 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>
* linux[-fslc]-imx: add missing config parameterAndrey Zhizhikin2020-05-072-0/+2
| | | | | | | | | | 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>
* linux-imx: Remove duplicate CRYPTO_SHA512 from defconfigKevin Lannen2020-05-072-2/+0
| | | | | | | | 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>
* linux-fslc-imx: upgrade kernel to v5.4.39 and latest NXP patchesAndrey Zhizhikin2020-05-071-3/+9
| | | | | | | | | | - 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>
* linux-fslc: upgrade kernel to v5.4.39 from korgAndrey Zhizhikin2020-05-071-2/+2
| | | | | | | 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>
* kernel-module-qoriq-gpu: rm as it is not needed nowTing Liu2020-05-062-47/+0
| | | | | | | 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>
* gpulib: rm as it is not needed nowTing Liu2020-05-061-39/+0
| | | | | | Now qoriq uses imx-gpu-viv, gpulib is not needed. remove it. Signed-off-by: Ting Liu <ting.liu@nxp.com>
* lx2160ardb: define RCWEMMCTing Liu2020-05-061-0/+1
| | | | | | | | | | | | | | | | | 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>
* atf: easy define additional build targetTing Liu2020-05-061-17/+25
| | | | | | | | | | | | 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>
* vpp-core/dpdkvpp: rm as it is not supported nowTing Liu2020-05-0610-677/+0
| | | | | | | | | | | 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>
* tsntool: update to ca2d8fbTing Liu2020-05-061-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* cst: update to 9aafbdfTing Liu2020-05-061-1/+1
| | | | | | | | | | | 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>
* uefi: update to e95ed52Ting Liu2020-05-061-1/+1
| | | | | | | | | 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>
* rcw: install rev2 binaries for lx2160ardbTing Liu2020-05-061-0/+1
| | | | | | | | | | | | 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>
* dp-firmware-cadence: upgrade to LSDK-20.04Ting Liu2020-05-061-5/+5
| | | | | | | | | | 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>
* pktgen-dpdk: upgrade to 19.12.0Ting Liu2020-05-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* secure-obj: update to fb179a8Ting Liu2020-05-061-1/+1
| | | | | | | | | | 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)
* optee-test-qoriq: add patch to use python3Ting Liu2020-05-062-0/+49
| | | | | | python2 is EOL January 2020. This fixes build failure due to python2. Signed-off-by: Ting Liu <ting.liu@nxp.com>
* linux-fslc-imx: introduce 5.4.y kernel with NXP patchesAndrey Zhizhikin2020-05-063-0/+1678
| | | | | | | | | | | | | | 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>
* linux-imx-[mfgtool]-5.4.3: update recipes to align with kernel-yoctoAndrey Zhizhikin2020-05-065-1/+11
| | | | | | | | | | | | | | | | | 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>
* linux-fslc: update PV definition to align with kernel-yoctoAndrey Zhizhikin2020-05-061-1/+9
| | | | | | | | | | | | | 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>
* linux-imx.inc: inherit kernel-yocto classAndrey Zhizhikin2020-05-061-1/+18
| | | | | | | | | | | | 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>
* weston: Restore partial clients for i.MX 6 and 7Tom Hochstein2020-05-051-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>