summaryrefslogtreecommitdiffstats
path: root/recipes-bsp
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* imx-uuc: 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>
* 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
* 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>
* 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>
* 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>
* imx-boot: fix mkimage_uboot linking issueMing Liu2020-05-051-0/+2
| | | | | | | | | | | In imx-boot's Makefile, it downloads a native tool mkimage_uboot and executes it, but this native tool requires libssl.so.1.1, which is in ${STAGING_LIBDIR_NATIVE}, we need set LD_LIBRARY_PATH to include it, or it might run into following errors: | ./mkimage_uboot -E -p 0x3000 -f u-boot.its u-boot.itb | ./mkimage_uboot: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory Signed-off-by: Ming Liu <ming.liu@toradex.com>
* libimxdmabuffer: Fix ptestCarlos Rafael Giani2020-04-242-4/+19
| | | | Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
* imx-kobs: Update SRCREV to cee66dAlexandru Palalau2020-04-231-1/+1
| | | | Signed-off-by: Alexandru Palalau <ioan-alexandru.palalau@nxp.com>
* dp-firmware-cadence: fix LICENSEMatthias Schiffer2020-04-221-1/+1
| | | | | | | | | LICENSE should be "Proprieraty", not "NXP-Binary-EULA", otherwise fetch with fsl-eula-unpack will fail. Fixes #360 Signed-off-by: Matthias Schiffer <matthias.schiffer@tq-group.com>
* imx-vpu-hantro: Upgrade to 1.16.0Yuqing Zhu2020-04-201-3/+3
| | | | | | | | [G1/G2]: Fix H264 conformance test failure caused by changes in latest release [G1]: Fix memory leak, inlcudes: h264/mpeg2/mpeg4/vc1/rv/avs [Mpeg4]: Fix DivX3 can't be decoded caused by wrong sscanf string Signed-off-by: Yuqing Zhu <carol.zhu@nxp.com>
* imx-vpu: Upgrade to 5.4.39.2Yuqing Zhu2020-04-201-2/+2
| | | | | | Use different name for dpu, pxp, opencl and viv g2d lib Signed-off-by: Yuqing Zhu <carol.zhu@nxp.com>
* fsl-tlu: switch to source.codeaurora.orgTing Liu2020-04-201-1/+1
| | | | Signed-off-by: Ting Liu <ting.liu@nxp.com>
* change-file-endianess: rm as no pkg need it nowTing Liu2020-04-202-59/+0
| | | | Signed-off-by: Ting Liu <ting.liu@nxp.com>
* rcw: not DEPENDS change-file-endianessTing Liu2020-04-201-1/+1
| | | | Signed-off-by: Ting Liu <ting.liu@nxp.com>
* u-boot-qoriq: update to 3cd9bc3Ting Liu2020-04-201-1/+1
| | | | | | | | | New changes: 3cd9bc3993 net/dsa: Remove (c) in copyright line c8c2bb1533 i2c: mxc: fix copyright 024518ee2e configs: ls1021a: Append CMA configuration to bootargs Signed-off-by: Ting Liu <ting.liu@nxp.com>
* u-boot-qoriq: not DEPENDS tcl/change-file-endianessTing Liu2020-04-201-2/+2
| | | | Signed-off-by: Ting Liu <ting.liu@nxp.com>
* u-boot-qoriq: rename to match version 2019.10Ting Liu2020-04-202-0/+0
| | | | | | | The right u-boot version is 2019.10. LSDK-20.04 is an unified tag for all qoriq components. Signed-off-by: Ting Liu <ting.liu@nxp.com>
* libimxdmabuffer: Upgrade to version 1.0.1Carlos Rafael Giani2020-04-201-2/+2
| | | | | | | | * Changes to migrate build system to Python 3: * waf: update to 2.0.12 * waf: use python3 Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
* recipes-*: refine restrictions for NXP BSPAndrey Zhizhikin2020-04-161-4/+0
| | | | | | | | | | | | | | | | | | | | | | | Certain packages are using linux-imx-headers, which enforces them to use NXP BSP since headers are provided from the NXP kernel tree. Those recipes, which requires NXP kernel headers, are now including the use-imx-headers class to make sure the correct headers package is used. Since the introduction of separation between NXP and Mainline BSP for certain machines, recipes which are NXP-dependent are getting their COMPATIBLE_HOST to be marked as (null) effectively making them incompatible with mainline BSP which is expected behavior. By extending this restriction into the use-imx-headers class, all recipes which inherits is (because it is required) are getting automatically restricted to NXP BSP, hence making package NXP-dependent much easier. linux-imx-headers is marked as "NXP-only" but it is done explicitly inside the recipe in order to avoid confusion of inheriting the class. Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
* imx-test: Rework COMPATIBLE_HOST restriction to use wildcardOtavio Salvador2020-04-161-1/+2
| | | | Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* u-boot-imx-common: upgrade to lf-5.4.y_v2019.04Andrey Zhizhikin2020-04-161-2/+2
| | | | Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
* imx-test: upgrade recipe to lf-5.4.y branchAndrey Zhizhikin2020-04-161-2/+2
| | | | | | Upgrade recipe to pull sources from lf-5.4.y branch. Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
* imx-mkimage: update to use new kernel 5.4.3-1.0.0 branchAndrey Zhizhikin2020-04-161-1/+1
| | | | | | | Update recipe to pull sources from new branch, which is aligned with new kernel version 5.4.3 Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
* imx-atf: update to use new kernel 5.4.3-1.0.0 branchAndrey Zhizhikin2020-04-161-2/+2
| | | | | | | Update recipe to pull sources from new branch, which is aligned with new kernel version 5.4.3 Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
* imx-test: Restrict recipe to NXP BSP onlyOtavio Salvador2020-04-151-0/+1
| | | | Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* mc-utils: upgrade to LSDK-20.04 tagJens Rehsack2020-04-061-1/+1
| | | | | | | | | | | | | | Upgrade utils for management complex to latest release from NXP (LSDK-20.04) containing following updates/fixes since last update to LSDK-19.09: 8672a5f add API for MC 10.20.4 f607121 api: add symlink for MC 10.20.2 52a26c3 api: add symlink for MC 10.20.1 117b644 add API for MC 10.20.0 86f3ec4 add API for MC 10.19.0 d2628c1 Set the DPNIs configuration to default state Signed-off-by: Jens Rehsack <sno@netbsd.org>
* rcw: upgrade to LSDK-20.04Jens Rehsack2020-04-061-2/+2
| | | | | | | | | | | | | | | | Upgrade reset config word for QorIQ platform to LSDK-20.04 with following fixes/commits since LSDK-19.09: * 5689bf9 ls1028a: Increase FSPI clock frequency * 882217e Update QSPI speed to higher value of order of max at 75MHz * 153f772 LX2160A-Rev2: Add serdes lane equalization settings ethernet interfaces * 6d3370b Update NXP Copyright information * 74b88fb lx2160a_rev2 : Add support for lx2160a Rev2 configuration files * 0cfa084 ls1043ardb: Update async clock frequency provided to Fman module * d7a4fbd ls1028a: Add RCW for 899b * b1d0b6c LS1028a: Add workaround for sata errata A-010554 Signed-off-by: Jens Rehsack <sno@netbsd.org>
* aft: upgrade to LSDK-20.04Jens Rehsack2020-04-061-1/+1
| | | | | | | | | | | | | | | Upgrade NXP reference implementation of Trusted Firmware-A from NXP to to latest release from NXP (LSDK-20.04): * Merge pull request #67 in GITAM/atf from ~NXF32311/atf_nxf32311:jira/QLINUX-13542-asleep-does-not-assert-while-ls1046a-going-into-low-power-mode to LSDK |\ | * c73cd5a74 LS1046A: Fix ASLEEP did not assert when sleep * | 392a6c75d lx2160a: timer: Configure CNTFRQ register of CNTCTLBase |/ * 524d1e920 plat: nxp: ota: Update the calling for esdhc_emmc_init * e8aa4b69b nxp/emmc: Remove card detection logic for SDHC2 controller Signed-off-by: Jens Rehsack <sno@netbsd.org>
* u-boot-imx: resolve build issue with missing targetAndrey Zhizhikin2020-04-033-0/+53
| | | | | | | | | | | | | Since the replacement of u-boot-fw-utils with libubootenv in OE-Core, U-Boot recipe requires an additional target to be built, which contains the default environment. This target has been introduced in U-Boot with version 2019.07 and is missing in NXP fork of U-Boot source tree, therefore one patch from the U-Boot source tree is backported in order to introduce a missing build target. Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
* u-boot-qoriq: update to LSDK-20.04Jens Rehsack2020-04-032-1/+1
| | | | | | | | | | Update u-boot-qoriq from u-boot-qoriq_2019.09 to u-boot-qoriq_2020.04 since LSDK-19.09 doesn't support 'make u-boot-initial-env'. Fixes incompatibility to OE-core commit 4882a93566f2ef24787777d33950f12a9cc5db4e u-boot: Restore valid default environment for running system Signed-off-by: Jens Rehsack <sno@netbsd.org>
* u-boot-qoriq-fw-utils: Drop recipe as libubootenv works as replacementOtavio Salvador2020-04-021-44/+0
| | | | | | | Now we are using libubootenv and dropped the u-boot-qoriq-fw-utils, we need to move the configuration file to the main recipe. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* u-boot-fslc-fw-utils: Drop recipe as libubootenv works as replacementOtavio Salvador2020-04-021-45/+0
| | | | | | | Now we are using libubootenv and dropped the u-boot-fslc-fw-utils, we need to move the configuration file to the main recipe. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* u-boot-imx-tools: Make recipe visible only for mx6, mx7 and mx8 machinesFabio Berton2020-04-011-0/+1
| | | | | | | | | | | | | | When building an image for a external meta-freescale machine, e.g. raspberrypi3, and with meta-freescale in bblayer.conf we get: NOTE: Multiple providers are available for u-boot-mkimage-native (u-boot-imx-tools-native, u-boot-tools-native) Consider defining a PREFERRED_PROVIDER entry to match u-boot-mkimage-native Set COMPATIBLE_MACHINE to reduce visibility only for mx6, mx7 and mx8 machines. Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
* u-boot-fslc-fw-utils: set correctly make source build dirNicola Lunghi2020-04-012-2/+3
| | | | | | | | | | | | This partially revert commit 4e5c7e0d4959b027698e15565df7d3286e6860fa: u-boot-fslc: Set build dir only for u-boot recipe Not setting the build dir in u-boot-fslc-common is breaking the build of u-boot-fslc-mxsboot. Instead of unsetting ${B}, set correctly the output and source dir in make Signed-off-by: Nicola Lunghi <nick83ola@gmail.com>
* u-boot: Split out u-boot toolsJoshua Watt2020-03-304-19/+32
| | | | | | | | | | | | | | | | | | | Splits out the IMX u-boot tools build to it's own recipe. This is required because these are native tools and thus need to be in a -native recipe to be properly relocated (instead of being built as part of the target u-boot-imx recipe). If the tools aren't built in a -native recipe, then the mkimage tool will contain a hard coded path to the uninative program loader from the sandbox where it was first built and this will not get corrected when restored from sstate. The result is that the mkimage_uboot executable can't run because it's looking for a hard coded program loader that does not exist, resulting in strange build errors like: ./mkimage_uboot: Command not found even though the executable is obviously in the correct location. Signed-off-by: Joshua Watt <Joshua.Watt@garmin.com>
* u-boot-fslc: Set build dir only for u-boot recipeFabio Berton2020-03-272-1/+2
| | | | | | | If build dir is set in u-boot-fslc-common_2020.01.inc file, u-boot-fslc-fw-utils can't find defconfig files. Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
* u-boot-fslc: upgrade 2019.07 -> 2020.01Pierre-Jean Texier2020-03-084-3/+3
| | | | Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
* u-boot-fslc-mxsboot-native: B!=S fixTrevor Woerner2020-02-121-2/+2
| | | | | | | | | | MACHINEs such as the imx23evk and imx28evk (i.e. the mxs MACHINEs) failed to build because the recipe for u-boot-fslc-mxsboot-native wasn't instrumented to support ${B} != ${S}, which is used as a result of inheriting u-boot-fslc-common. In other words, the inherit was setting up ${B} != ${S}, but then u-boot-fslc-mxsboot didn't know what to do in this scenario. Signed-off-by: Trevor Woerner <twoerner@gmail.com>
* u-boot-fslc: add lzop-native dependencyTrevor Woerner2020-02-121-1/+1
| | | | | | | | Currently imx6qdlsabreauto is configured to generate an lzop-compressed u-boot fit image, therefore a lzop-native is required on the host. Add this dependency generically since more MACHINEs might switch over in time. Signed-off-by: Trevor Woerner <twoerner@gmail.com>
* fix u-boot buildsTrevor Woerner2020-02-112-0/+2
| | | | | | | | | | | | | | In upstream openembedded-core, the definition for the B variable moved from u-boot.inc to u-boot-common.inc. None of the recipes in this layer use upstream's u-boot-common.inc, so add the B to the *common* include files here so u-boot continues to build. See: http://cgit.openembedded.org/openembedded-core/commit/meta/recipes-bsp/u-boot?h=master-next&id=26023b6b0f897842fd98b3e10a8acd5b3ad8f418 This was build-tested with all the imx and ls* lx* MACHINES: $ MACHINE=<machine> bitbake virtual/bootloader -c compile Signed-off-by: Trevor Woerner <twoerner@gmail.com>
* mc-utils: split compile & install, fix RDB onlyJens Rehsack2020-02-111-11/+15
| | | | | | | | | | Instead of compiling dtc/dtl files during install stage, compile in compile stage. Since some boards have RDB and QDS, allow build for QDS (or manual created configuration) either. Due broken patch (mixed spaces & tabs) affected lines are repared. Signed-off-by: Jens Rehsack <sno@NetBSD.org>
* rcw: Upgrade LSDK-19.03 -> LSDK-19.09Jens Rehsack2020-02-111-1/+1
| | | | Signed-off-by: Jens Rehsack <sno@NetBSD.org>
* atf: upgrade LDSK-19.03 -> LSDK-19.09-311212Jens Rehsack2020-02-111-1/+1
| | | | | | Upgrade ATF to latest release from NXP. Signed-off-by: Jens Rehsack <sno@NetBSD.org>
* u-boot-qoriq: upgrade 2019.04 -> LSDK-19.09-update-311219Jens Rehsack2020-02-113-1/+1
| | | | | | Along with a recent kernel, use a reasonable up to date u-boot. Signed-off-by: Jens Rehsack <sno@NetBSD.org>
* u-boot-qoriq: update recipes to use python3Chunrong Guo2020-02-111-1/+1
| | | | Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
* firmware-imx: remove sdma-imx6q.bin and sdma-imx7d.binJoris Offouga2020-01-221-4/+2
| | | | | | This files is already provide by linux-firmware Signed-off-by: Joris Offouga <offougajoris@gmail.com>