summaryrefslogtreecommitdiff
path: root/recipes-bsp
AgeCommit message (Collapse)Author
2021-09-06manual override syntax fixesMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2021-08-14layer: convert to new override syntaxMax Krummenacher
Fix the leftovers which the script didn't catch. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2021-08-14layer: convert to new override syntaxMax Krummenacher
This is the result of automated script (0.9.3) conversion: +# meta-toradex-distro +vars = vars + ["preempt-rt","tdx","upstream"] +# meta-toradex-* machines +vars = vars + ["apalis-","colibri-","verdin-","tegra124"] +# meta-freescale +vars = vars + ["imx","mx6","mx7","mx8","use-mainline-bsp","use-nxp-bsp"] ../openembedded-core/scripts/contrib/convert-overrides.py . converting the metadata to use ":" as the override character instead of "_". Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2021-08-08Bump SRCREVci.toradex
Bump SRCREV hashes as used in build of Wed Aug 4 04:59:24 UTC 2021 Matrix Build: image-tdxref-dunfell-5.x.y-nightly-matrix 381 Matrix Build Status: SUCCESS Triggered by: https://jenkins.int.toradex.com/job/image-tdxref-dunfell-5.x.y-nightly-matrix/381 Signed-off-by: ci.toradex <cicd@toradex.com> (cherry picked from commit 91233079b4167fe0be7e1f37af67c261ef9afb78)
2021-07-12u-boot-toradex: do nand_padding also for colibri-vfMarcel Ziswiler
This allows building OE master for Colibri VF50/VF61 again. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> (cherry picked from commit 6c8aa68911936a004a4febf369ec31e254b89c1c)
2021-07-12Bump SRCREVci.toradex
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commits 4a58243 0a39b69 336a66d)
2021-06-27Revert "u-boot-tools: fix a mkimage signature issue"Max Krummenacher
This reverts commit 6afef1e44279d41bb8fdda11dfecbf8cdd213f8d. The fix is now applied in openembedded core. Commit 8628a276a0 ('u-boot-tools: fix a mkimage signature issue') Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2021-06-11Bump SRCREV hashes as used in build of Sun May 30 22:48:11 UTC 2021ci.toradex
Matrix Build: image-tdxref-dunfell-5.x.y-nightly-matrix 319 Matrix Build Status: SUCCESS Triggered by: https://jenkins.int.toradex.com/job/image-tdxref-dunfell-5.x.y-nightly-matrix/319 Signed-off-by: ci.toradex <cicd@toradex.com> Additionally use latest for u-boot-toradex.git branch toradex_2020.07 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit ce70bcafb720725ef78fb3f47c2da153372099fa)
2021-06-11u-boot-tools: fix a mkimage signature issueMing Liu
A following error was observed: | Can't write signature for 'signature@1' signature node in 'conf@imx6ull-colibri-wifi-eval-v3.dtb' conf node: <unknown error> | uboot-mkimage Can't add hashes to FIT blob: -1 This is caused by a wrong return value being used in uboot source. The return value '-ENOSPC' of fit_set_timestamp function does not match the caller fit_image_write_sig's expection which is '-FDT_ERR_NOSPACE'. Fix it by not calling fit_set_timestamp, but call fdt_setprop instead. Related-to: TOR-1704 Signed-off-by: Ming Liu <ming.liu@toradex.com> (cherry picked from commit 7cba654ca343f52b3b8258cc2073d1287fa96c16)
2021-06-11u-boot-toradex 2020.04: update to latestMax Krummenacher
Merge of the NXP BSP 5.4.70-2.3.2 Related-to: ELB-3957 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit c84522a358749514844a175c8b88fb3885c9e4ec)
2021-06-11imx-atf: merge imx_5.4.70_2.3.2Max Krummenacher
Related-to: ELB-3957 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit 63b9da9241ad1b1b2c71dc933ec6c2ee0550cc61)
2021-06-11Bump SRCREV hashes as used in build of Wed Apr 7 09:36:29 UTC 2021ci.toradex
Matrix Build: image-tdxref-dunfell-5.x.y-nightly-matrix 269 Matrix Build Status: SUCCESS Triggered by: https://jenkins.int.toradex.com/job/image-tdxref-dunfell-5.x.y-nightly-matrix/269 Signed-off-by: ci.toradex <cicd@toradex.com> (cherry picked from commit a9ae3ea1f4ad181edbe940a99943a8256a811326)
2021-03-23Bump SRCREVci.toradex
Bump SRCREV hashes as used in build of Sun Feb 28 21:30:15 UTC 2021 Matrix Build: image-tdxref-dunfell-5.x.y-nightly-matrix 232 Matrix Build Status: SUCCESS Triggered by: https://jenkins.int.toradex.com/job/image-tdxref-dunfell-5.x.y-nightly-matrix/232 Signed-off-by: ci.toradex <cicd@toradex.com> (cherry picked from commit 01d520a809ad84b8c41ec655e95a413a44c83b9e)
2021-02-22Bump SRCREVToardex CI
Bump SRCREV hashes as used in build of Tue Feb 2 09:26:34 UTC 2021 Matrix Build: image-torizoncore-dunfell-5.x.y-nightly-matrix 205 Matrix Build Status: SUCCESS Triggered by: https://jenkins.int.toradex.com/job/image-torizoncore-dunfell-5.x.y-nightly-matrix/205 Signed-off-by: ci.toradex <cicd@toradex.com> (cherry picked from commit 599cd72b82723ac096bb5c9bea2d82bdc6b38185)
2021-02-22imx-boot: cope with existing work directoryMax Krummenacher
bitbake fails if the mkimage_uboot symlink in the work directory already exists. Delete it before recrating it. | ERROR: imx-boot-1.0-r0 do_compile: Execution of '..temp/run.do_compile.43961' failed with exit code 1: | cp: '...recipe-sysroot-native//usr/bin/mkimage' and '...git/iMX8M/mkimage_uboot' are the same file Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit 5eed1ed77e0dd047034ef12fb7d5ad90f746629b)
2021-02-22u-boot-toradex: fix a patch fuzzMing Liu
This fixes a following do_patch warning: | WARNING: u-boot-toradex do_patch: Fuzz detected: | Applying 0001-colibri_imx7-boot-linux-kernel-in-non-secure-mode.patch | patching file include/configs/colibri_imx7.h | Hunk #1 succeeded at 140 with fuzz 2 (offset -9 lines). Related-to: TOR-1518 Signed-off-by: Ming Liu <ming.liu@toradex.com> (cherry picked from commit f5f752d9d7b8a684b1afaccb41eb6a6f6c8c2c08)
2021-02-22imx-seco: delete recipeMax Krummenacher
This is now in meta-freescale in a newer version. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2021-02-22imx-atf: provide proper BUILD_STRING value unconditionallyMax Krummenacher
U-Boot dosn't show the version on Apalis iMX8/iMX8X and Colibri iMX8X. Provide BUILD_STRING for all builds, not just for _mx8mm, _mx8mp. Completes a39fd31 ("imx-atf: provide proper BUILD_STRING value") Related-to: ELB-3188 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit 7562948e27c359b256f1bb7c26d3e1c368acad8d)
2021-01-27imx-seco: unify with meta-freescaleMax Krummenacher
meta-freescale introduced the use-imx-security-controller-firmware.bbclass to set the seco file name. Use that class. Also follow the changed compatible machine setting. Related-to: ELB-3324 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit 5d0036f130ff8eba00ed2001860badd9e97b9084)
2021-01-27imx-sc-firmware-toradex: uprev to 1.7.0Max Krummenacher
Related-to: ELB-3324 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit 433fef501f58153a51da6be2c5959c5545912f3b)
2021-01-27imx-atf: uprev to 5.4.70_2.3.0Max Krummenacher
Related-to: ELB-3324 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit 833009c7677562e456baca16f620216e56134cec)
2021-01-27imx-seco: uprev to 3.7.4Max Krummenacher
Related-to: ELB-3324 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit 31830e24f7a5e2e1d4f44c1cdf2705494f1e3243)
2021-01-27u-boot: 2020.04: uprev to 5.4.70_2.3.0Max Krummenacher
Related-to: ELB-3325 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit 28964fd4bbc3d141cc88d90ff56b9aa80c361916)
2021-01-21Revert "colibri-imx8x: modify device tree name for mainline/upstream"Max Krummenacher
This reverts commit 1811f925aa4bf28c706fbab529cc20661bcf307a. With the uprev of the downstream kernel the default device tree name is now the same for mainline and downstream and the needed changes are done in U-Boot. The patch is thus no longer needed. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit cf6263859fa0b39276fa0f535c2333027db19db7)
2021-01-20Bump SRCREVToardex CI
Bump SRCREV hashes as used in build of Tue Dec 29 21:45:13 UTC 2020 Matrix Build: image-tdxref-dunfell-5.x.y-nightly-matrix 175 Matrix Build Status: SUCCESS Triggered by: https://jenkins.int.toradex.com/job/image-tdxref-dunfell-5.x.y-nightly-matrix/175 Signed-off-by: ci.toradex <cicd@toradex.com> Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com> (cherry picked from commit 1cd4cc7dc068e86c4ee3cbee76c34cd64156f295)
2021-01-20Bump SRCREVToardex CI
Bump SRCREV hashes as used in build of Mon Dec 28 14:48:13 UTC 2020 Matrix Build: image-tdxref-dunfell-5.x.y-nightly-matrix 172 Matrix Build Status: SUCCESS Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com> Triggered by: https://jenkins.int.toradex.com/job/image-tdxref-dunfell-5.x.y-nightly-matrix/172 Signed-off-by: ci.toradex <cicd@toradex.com> (cherry picked from commit 71d211918ec18b0e6538accc691b1d25f572d53e)
2020-12-08imx-boot: fix a build issueMing Liu
The following build errors was observed on ubuntu 16.04: | ./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 or: | ./mkimage_uboot: /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1: version `OPENSSL_1_1_1' not found (required by ./mkimage_uboot) the issue is caused by OE builds native tools with a relative runpath: $ aarch64-tdx-linux-objdump -p iMX8M/mkimage_uboot | egrep 'RPATH|RUNPATH' RUNPATH $ORIGIN/../lib:$ORIGIN/../../lib when mkimage_uboot is copied from ${STAGING_BINDIR_NATIVE} to ${S}, the '$ORIGIN/../lib:$ORIGIN/../../lib' directories dont exist and ld hence fall back to load libssl.so.1.1/libcrypto.so.1.1 from host system. It could be fixed by creating a symbolic link in source to ${STAGING_BINDIR_NATIVE}/mkimage instead of copying it. Related-to: ELB-3394 Signed-off-by: Ming Liu <ming.liu@toradex.com> (cherry picked from commit be8f831ce0728062bacc686f2ab9178e8c53031f)
2020-12-08u-boot-toradex_2020.07: update to latestMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit c01ca63e3e6939121cc0202b91ad20651f65a22e)
2020-12-08recipes: bump srcrevci.toradex
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit cabae110d1b5dd2c4898475decdb1b9c3fcd62a1)
2020-12-08u-boot: fw_env.config: use stable symlink to the emmcMax Krummenacher
Unify the file used for the modules which use eMMC to store the U-Boot environmant. Change to use the stable symlink to the emmc boot area to specify the location of the U-Boot environment. Related-to: ELB-3293 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit bddf19691f67257c30d14cc1d17300316a5fbb0c)
2020-11-23Bump SRCREVci.toradex
Bump SRCREV hashes as used in build of Fri Nov 20 11:48:52 UTC 2020 Matrix Build: image-tdxref-dunfell-5.x.y-nightly-matrix 134 Matrix Build Status: SUCCESS Triggered by: https://jenkins.int.toradex.com/job/image-tdxref-dunfell-5.x.y-nightly-matrix/134 Signed-off-by: ci.toradex <cicd@toradex.com> (cherry picked from commit f2afc2bc33bee8e44560d7e79de7e4f908d742d0)
2020-11-23imx-atf: set proper UART base for Verdin iMX8MPMax Krummenacher
Copy and adapt the Verdin iMX8MM definition and bump the hash. Related-to: ELB-3208 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit 97c2aae46672fda3494e2ce263b7137dd3f6ab92)
2020-11-23Bump SRCREVci.toradex
Bump SRCREV hashes as used in build of Mon Nov 2 02:36:22 UTC 2020 Matrix Build: image-tdxref-dunfell-5.x.y-nightly-matrix 116 Matrix Build Status: SUCCESS Triggered by: https://jenkins.int.toradex.com/job/image-tdxref-dunfell-5.x.y-nightly-matrix/116 Signed-off-by: ci.toradex <cicd@toradex.com> (cherry picked from commit fa41855fb9a79718aa16b8e76b0255a40e8d16f3)
2020-11-23Bump SRCREV hashes as used in build of Fri Oct 30 22:09:41 UTC 2020ci.toradex
Matrix Build: image-tdxref-dunfell-5.x.y-nightly-matrix 115 Matrix Build Status: SUCCESS Triggered by: https://jenkins.int.toradex.com/job/image-tdxref-dunfell-5.x.y-nightly-matrix/115 Signed-off-by: ci.toradex <cicd@toradex.com> (cherry picked from commit d06fe6247f3dae6743cf7e2b1d9606b96aeb15a8)
2020-11-23imx-atf: provide proper BUILD_STRING valueIgor Opaniuk
ATF commit hash is calculated during build time invoking in Makefile git describe, which doesn't work properly in OE sandbox env. Provide explicitly the build info string as a build option for make. Related-by: ELB-3188 Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com> (cherry picked from commit a39fd312c9c688336c09fd84818a7f7fe131209a)
2020-10-23imx-boot: drop bbappendMax Krummenacher
meta-freescale is updated to this version. Related-to: ELB-3081 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit bc5999636a3cbc4150deb8d6995b6ac21b7f72dc)
2020-10-23u-boot: no longer deploy mkimage into the deploy folderMax Krummenacher
meta-freescale does that now in imx-boot resulting in the following bitbake error: | ERROR: imx-boot-1.0-r0 do_deploy_setscene: The recipe imx-boot is trying to install files into a shared area when those files already exist. Those files and their manifest location are: | /build/krm/oe-core_master/build/deploy/images/verdin-imx8mm/imx-boot-tools/mkimage_uboot | (matched in manifest-verdin_imx8mm-u-boot-toradex.deploy) Related-to: ELB-3081 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit fca85306b40067ed7007d546cf25805e8c78e0c4)
2020-10-23imx-mkimage: drop bbappend recipeMing Liu
Exact same version and do_compile task have been added in meta-freescale layer, let's drop our bbappend recipe. Related-to: ELB-3081 Signed-off-by: Ming Liu <ming.liu@toradex.com> (cherry picked from commit d11072fbfc7ea243ff68acdb27abe6b4d8000361)
2020-10-23firmware-imx: adapt to firmware-imx 8.8 of meta-freescaleMing Liu
The firmware-imx has been upgraded to 8.8 in meta-freescale, we need to adapt to that change by dropping some variables that already in meta-freescale. Related-to: ELB-3081 Signed-off-by: Ming Liu <ming.liu@toradex.com> (cherry picked from commit 0c22d7c6911fbf1f8159fcc4fbf2d7074b0b7812)
2020-10-17imx-atf: drop patchPhilippe Schenker
0001-Allow-BUILD_STRING-to-be-set-in-.revision-file.patch was dropped in meta-freescale, drop it from SRC_URI. Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com> (cherry picked from commit 686fdecbdfec417717fc7056172d1676a7b55eda)
2020-10-17firmware-imx: allow for multilib buildsMing Liu
Using ${nonarch_base_libdir} instead of ${PREFIX}/lib or ${base_libdir}, this ensures it would not mess up multilib builds. Related-to: TOR-1415 Signed-off-by: Ming Liu <ming.liu@toradex.com> (cherry picked from commit 2c9c04fb2e7d5c7db6fe88a978189c40841a7c28)
2020-10-05Bump SRCREV hashes as used in build of Wed Sep 30 15:34:02 UTC 2020Toardex CI
Matrix Build: image-tdxref-dunfell-5.x.y-nightly-matrix 84 Matrix Build Status: SUCCESS Triggered by: https://jenkins.int.toradex.com/job/image-tdxref-dunfell-5.x.y-nightly-matrix/84 Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> (cherry picked from commit f339ccb51bf47a07d31d79fc984101547da048f7)
2020-10-05u-boot-toradex: colibri-imx7: boot linux kernel in non-secure/secure modeMarcel Ziswiler
While NXP i.MX 7 downstream requires the Linux kernel to boot in secure mode mainline/upstream requires non-secure mode instead, as it properly uses PSCI to control further cores. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> (cherry picked from commit 65ad0c9327000b100eaf51958023f8dac7642753)
2020-10-05Bump SRCREVci.toradex
Bump SRCREV hashes as used in build of Tue Sep 29 12:07:44 UTC 2020 Matrix Build: image-tdxref-dunfell-5.x.y-nightly-matrix 81 Matrix Build Status: SUCCESS Triggered by: https://jenkins.int.toradex.com/job/image-tdxref-dunfell-5.x.y-nightly-matrix/81 Signed-off-by: ci.toradex <cicd@toradex.com> (cherry picked from commit 18f08d5336e188f8f7ba5212bb3f63c4751a51fb)
2020-10-05firmware-imx: fix install path when using usrmergeSergio Prado
When using usrmerge, the install path should be prefixed by /usr. Related-to: TOR-1415 Signed-off-by: Sergio Prado <sergio.prado@toradex.com> (cherry picked from commit 36228213a2f9b03e8259aa03c196a600364d8130)
2020-09-24deploy imx8 firmware to /lib/firmwarePhilippe Schenker
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2020-09-16imx-sc-firmware: add full recipe for imx-sc-firmwareStefan Agner
In order to make git hash bumping work with the imx-sc-firmware we need to have our own recipe in our layer. This also has the advantage that the recipe name reflects the actual package version (PV) again. Use imx-sc-firmware-toradex to make sure we do not interfere with the NXP provided variant. Make sure our machines pick imx-sc-firmware-toradex by setting PREFERRED_PROVIDER accordingly. Related-to: AUT-355 Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
2020-09-03u-boot: update to latestMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2020-09-03imx-atf: update to latestMax Krummenacher
This allows building with gcc 10. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2020-09-03imx-vpu*: drop bbappendsMax Krummenacher
The update has arrived in meta-freescale dunfell. Related-to: ELB-2758 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>