summaryrefslogtreecommitdiffstats
path: root/conf/machine
Commit message (Collapse)AuthorAgeFilesLines
* imx-base.inc: Expand comment for UBOOT_SUFFIXbackport-1163-to-kirkstoneTom Hochstein2022-08-021-0/+8
| | | | | | | | | | The UBOOT_SUFFIX override is complex and makes a requirement on the machine config that is easy to overlook, namely that it will evaluate incorrectly to empty if the variable is not overridden in some form by the machine config. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> (cherry picked from commit 526798901506f890f5682ff31a00ba1ea7b31331)
* imx6ulevk.conf: Add missing overrides for u-boot-imx-mfgtoolTom Hochstein2022-08-021-0/+2
| | | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> (cherry picked from commit 6569140c9f390681a21e714f48e90ec0ae642908)
* imx8m*: Drop redundant UBOOT_SUFFIX assignmentTom Hochstein2022-08-024-4/+0
| | | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> (cherry picked from commit d3f8b15d3cab77ae0397ab95ddcb4aed559e2db0)
* imx8mq-evk.conf: Extend fix for `u-boot-imx` and `u-boot-fslc`Tom Hochstein2022-08-021-1/+5
| | | | | | | | | Extend the recent fix to properly configure `imx-boot-container` machine overide. Extends: 1650359 Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> (cherry picked from commit 15be26ce8c7e3f5a941601584923131682be45a8)
* imx8m*-evk: allow switch between `u-boot-imx` and `u-boot-fslc`Otavio Salvador2022-08-013-3/+15
| | | | | | | | | | We ought to add `imx-boot-container` `MACHINEOVERRIDES` only if not building for `u-boot-imx`. This can be removed once it uses `binman` as `u-boot-imx` and u-boot-fslc would use same mechanism to build the container. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> (cherry picked from commit 1650359bc3eba454522f0db51846497549275caa)
* imx6qdlsabre*.conf: Fix u-boot-imx-mfgtool compile errorTom Hochstein2022-07-292-0/+4
| | | | | | | | | | | | | Building u-boot-imx-mfgtool for i.MX 6 SABRE, NXP BSP, fails: ``` | cp: cannot stat '/.../tmp/work/imx6qdlsabresd-fsl-linux-gnueabi/u-boot-imx-mfgtool/2022.04-r0/build/mx6qsabresd_defconfig/u-boot.imx': No such file or directory ``` The failure is because the target `all` is being used. For NXP BSP, the correct target is `u-boot.imx`. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> (cherry picked from commit 4c5cd39ba8573e8956e00ff2d270487c88c276a2)
* imx6qdlsabre*.conf: Fix UBOOT_CONFIG override for u-boot-imx-mfgtoolTom Hochstein2022-07-292-17/+23
| | | | | | | | | | | | | | | | | | | | | | Building u-boot-imx-mfgtool for i.MX 6 SABRE results in the following error: ``` ERROR: Nothing PROVIDES 'u-boot-imx-mfgtool' u-boot-imx-mfgtool was skipped: The selected UBOOT_CONFIG key ['mfgtool'] has no match in dict_keys(['sd-fslc', 'sd-imx', 'sd-optee-imx', 'sata-imx', 'mfgtool-imx']). ``` The UBOOT_CONFIG key for u-boot-imx-mfgtool is set as `mfgtool`, but the configuration for NXP BSP uses `mfgtool-imx` because there is not alignment between u-boot-imx and mainline on the machine to use for i.MX 6 SABRE boards. Changing the selected key to mfgtool-imx is difficult, so rework the original solution so the selection of the machine name is done in a separate variable and the keys can be kept simple without the `-imx` adornment. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> (cherry picked from commit d9148f97bc86264d633aa03731fd9ab16bed40c0)
* imx-atf: allow setting the UART used during bootOtavio Salvador2022-07-291-0/+9
| | | | | | | | | A new `ATF_BOOT_UART_BASE` variable can be used in machine to set the UART aimed for use during the boot, without the need of changing the source code. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> (cherry picked from commit 453def7956c864818b6d6a1a44b2b267df3a44fc)
* imx-base.inc: consolidate `IMX_EXTRA_FIRMWARE` definitionOtavio Salvador2022-07-295-12/+6
| | | | | | | | | | | | | | | We should have a single definition for `IMX_EXTRA_FIRMWARE` variable as this is SoC specific and not machine, or recipe, dependent. This removes multiple assignments from: - conf/machine/imx8mq-evk.conf - conf/machine/include/imx8mm-evk.inc - conf/machine/include/imx8mn-evk.inc - conf/machine/include/imx8mp-evk.inc - recipes-bsp/imx-mkimage/imx-boot_1.0.bb Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> (cherry picked from commit 63d73925950aa35ec1378696c0f5dcfd2fef9e83)
* imx-base.inc: avoid explicit imx-boot dependencyOtavio Salvador2022-07-291-10/+6
| | | | | | | | | | | | We shouldn't force `imx-boot` dependency for i.MX8 SoCs as many can use U-Boot mainline and those use `imx-boot-container` to generate the binary blob. We moved the backward-compatibility note, about 'imx-boot' to the 'imx-boot-container' class. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> (cherry picked from commit bed09c8daec54c73766b563feb9ff7b4168c3e44)
* imx8mm-evk: lift imx8mm-lpddr4-evk and imx8mm-ddr4-evk restrictionsOtavio Salvador2022-07-293-12/+2
| | | | | | | | | The Linux mainline kernel has support for both variations but U-Boot mainline only supports the LPDDR4 version. For now, we restrict the imx8mm-ddr4-evk version to use u-boot-imx. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> (cherry picked from commit 43534097a557810b36b4c30495d51d1d129c34b2)
* Merge pull request #1140 from Ossanes/topic/fix-kirkstone-machinesOtavio Salvador2022-07-266-0/+6
|\ | | | | Add SoC information in machines where it is missing
| * Add SoC information in machines where it is missingVinicius Aquino2022-07-206-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | Machine files fixed: - imx8dx-mek.conf - imx8dxl-ddr3l-evk.conf - imx8dxl-lpddr4-evk.conf - imx8qm-mek.conf - imx8qxp-mek.conf - mpc8548cds.conf Signed-off-by: Vinicius Aquino <vinicius.aquino@ossystems.com.br>
* | qoriq-cst: rename cst to qoriq-cstOtavio Salvador2022-07-251-1/+1
|/ | | | | | | | The QoriQ SoCs use a different cst tool for secure boot than i.MX SoCs so we should name it with SoC family prefix to avoid confusion. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> (cherry picked from commit 2f26da887f04c639e0e0bb405dfb8f87c174e627)
* conf/machine/ls1046ardb.conf: Add DTB fsl-ls1046a-rdb-usdpaa-shared.dtbJun Zhu2022-07-141-0/+1
| | | | | | | LS1046A add shared MAC DTB from Kernel 5.10 Signed-off-by: Jun Zhu <junzhu@nxp.com> (cherry picked from commit 1e2171368117a3ae8ae53cf54f4e2c6deb958ec3)
* Revert "imx-base.inc: upgrade to gstreamer 1.20.2"Max Krummenacher2022-07-121-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 912829e1aa543326682f45656b6240db97864655. There is no downstream fork based on gstreamer 1.20.2. Currently in meta-freescale master it is still 1.18.5.imx with non forked gstreamer components carried in meta-freescale at 1.18.5 for compatibility. Prevents: | WARNING: preferred version 1.20.2.imx of gstreamer1.0 not available (for item gstreamer1.0) | WARNING: versions of gstreamer1.0 available: 1.18.5.imx 1.20.2 | ... Fixes build of imx-gst1.0-plugin | ERROR: imx-gst1.0-plugin-4.6.4-r0 do_compile: ExecutionError('... imx-gst1.0-plugin/4.6.4-r0/temp/run.do_compile.25172', 1, None, None) | | [1/37] aarch64-tdx-linux-gcc -mcpu=cortex-a72.cortex-a53 -march=armv8-a+crc -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/workdir/oe/tmp/work/cortexa72-cortexa53-mx8-tdx-linux/imx-gst1.0-plugin/4.6.4-r0/recipe-sysroot -Ilibs/libgstfsl-1.0.so.0.0.0.p -Ilibs -I../git/libs -I/workdir/oe/tmp/work/cortexa72-cortexa53-mx8-tdx-linux/imx-gst1.0-plugin/4.6.4-r0/recipe-sysroot/usr/include/gstreamer-1.0 -I/workdir/oe/tmp/work/cortexa72-cortexa53-mx8-tdx-linux/imx-gst1.0-plugin/4.6.4-r0/recipe-sysroot/usr/include/glib-2.0 -I/workdir/oe/tmp/work/cortexa72-cortexa53-mx8-tdx-linux/imx-gst1.0-plugin/4.6.4-r0/recipe-sysroot/usr/lib/glib-2.0/include -I/workdir/oe/tmp/work/cortexa72-cortexa53-mx8-tdx-linux/imx-gst1.0-plugin/4.6.4-r0/recipe-sysroot/usr/include/orc-0.4 -I/workdir/oe/tmp/work/cortexa72-cortexa53-mx8-tdx-linux/imx-gst1.0-plugin/4.6.4-r0/recipe-sysroot/usr/include/imx -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O0 -U_FILE_OFFSET_BITS -DARM -D_GUNC_ -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=/workdir/oe/tmp/work/cortexa72-cortexa53-mx8-tdx-linux/imx-gst1.0-plugin/4.6.4-r0=/usr/src/debug/imx-gst1.0-plugin/4.6.4-r0 -fdebug-prefix-map=/workdir/oe/tmp/work/cortexa72-cortexa53-mx8-tdx-linux/imx-gst1.0-plugin/4.6.4-r0=/usr/src/debug/imx-gst1.0-plugin/4.6.4-r0 -fdebug-prefix-map=/workdir/oe/tmp/work/cortexa72-cortexa53-mx8-tdx-linux/imx-gst1.0-plugin/4.6.4-r0/recipe-sysroot= -fdebug-prefix-map=/workdir/oe/tmp/work/cortexa72-cortexa53-mx8-tdx-linux/imx-gst1.0-plugin/4.6.4-r0/recipe-sysroot-native= -fPIC -pthread -DUSE_X11 -MD -MQ libs/libgstfsl-1.0.so.0.0.0.p/gstimxcommon.c.o -MF libs/libgstfsl-1.0.so.0.0.0.p/gstimxcommon.c.o.d -o libs/libgstfsl-1.0.so.0.0.0.p/gstimxcommon.c.o -c ../git/libs/gstimxcommon.c | FAILED: libs/libgstfsl-1.0.so.0.0.0.p/gstimxcommon.c.o | aarch64-tdx-linux-gcc -mcpu=cortex-a72.cortex-a53 -march=armv8-a+crc -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/workdir/oe/tmp/work/cortexa72-cortexa53-mx8-tdx-linux/imx-gst1.0-plugin/4.6.4-r0/recipe-sysroot -Ilibs/libgstfsl-1.0.so.0.0.0.p -Ilibs -I../git/libs -I/workdir/oe/tmp/work/cortexa72-cortexa53-mx8-tdx-linux/imx-gst1.0-plugin/4.6.4-r0/recipe-sysroot/usr/include/gstreamer-1.0 -I/workdir/oe/tmp/work/cortexa72-cortexa53-mx8-tdx-linux/imx-gst1.0-plugin/4.6.4-r0/recipe-sysroot/usr/include/glib-2.0 -I/workdir/oe/tmp/work/cortexa72-cortexa53-mx8-tdx-linux/imx-gst1.0-plugin/4.6.4-r0/recipe-sysroot/usr/lib/glib-2.0/include -I/workdir/oe/tmp/work/cortexa72-cortexa53-mx8-tdx-linux/imx-gst1.0-plugin/4.6.4-r0/recipe-sysroot/usr/include/orc-0.4 -I/workdir/oe/tmp/work/cortexa72-cortexa53-mx8-tdx-linux/imx-gst1.0-plugin/4.6.4-r0/recipe-sysroot/usr/include/imx -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O0 -U_FILE_OFFSET_BITS -DARM -D_GUNC_ -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=/workdir/oe/tmp/work/cortexa72-cortexa53-mx8-tdx-linux/imx-gst1.0-plugin/4.6.4-r0=/usr/src/debug/imx-gst1.0-plugin/4.6.4-r0 -fdebug-prefix-map=/workdir/oe/tmp/work/cortexa72-cortexa53-mx8-tdx-linux/imx-gst1.0-plugin/4.6.4-r0=/usr/src/debug/imx-gst1.0-plugin/4.6.4-r0 -fdebug-prefix-map=/workdir/oe/tmp/work/cortexa72-cortexa53-mx8-tdx-linux/imx-gst1.0-plugin/4.6.4-r0/recipe-sysroot= -fdebug-prefix-map=/workdir/oe/tmp/work/cortexa72-cortexa53-mx8-tdx-linux/imx-gst1.0-plugin/4.6.4-r0/recipe-sysroot-native= -fPIC -pthread -DUSE_X11 -MD -MQ libs/libgstfsl-1.0.so.0.0.0.p/gstimxcommon.c.o -MF libs/libgstfsl-1.0.so.0.0.0.p/gstimxcommon.c.o.d -o libs/libgstfsl-1.0.so.0.0.0.p/gstimxcommon.c.o -c ../git/libs/gstimxcommon.c | ../git/libs/gstimxcommon.c:21:10: fatal error: gstimxcommon.h: No such file or directory | 21 | #include "gstimxcommon.h" | | ^~~~~~~~~~~~~~~~ | compilation terminated. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit c35ef4115ad93a4b940f1ae5fb3cc9ac1920eab3)
* imx-base.inc: Use ??= for PREFERRED_VERSIONbackport-1130-to-kirkstoneTom Hochstein2022-07-111-20/+20
| | | | | | | | | | | | | The variable values set in meta-freescale with a default value, i.e. with ?=, can be overridden just once by a user, with =. Change the PREFERRED_VERSION settings to a weak default value, i.e. with ??=, so users of meta-freescale are not so limited. When a variable value is set with a weak default value, the variable can be overridden by any successively higher priority layer with ??=. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> (cherry picked from commit 5b47898ff939791ab426fff17821aca3476ddd7a)
* imx-base.inc: upgrade to gstreamer 1.20.2backport-1122-to-kirkstoneDaiane Angolini2022-06-241-7/+7
| | | | | Signed-off-by: Daiane Angolini <daiane.angolini@foundries.io> (cherry picked from commit 912829e1aa543326682f45656b6240db97864655)
* vf: follow SoC override changes also for vybridMax Krummenacher2022-06-231-2/+7
| | | | | | | | - Complete the move to the new override system also for vybrid - Drop the sub SoC family vf50 and vf60 in favour of using only vf Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit 2f8003c30fe290881d12280221b44bae7ce0b373)
* layer-wide: define configurable default TF-A providerAndrey Zhizhikin2022-06-161-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | TF-A package can have several providers: upstream TF-A implementation, or NXP downstream fork. Functionality to switch this provider, and to select which package shall be included into the target image is missing in the layer however, defaulting the usage of the layer to NXP downstream fork only. Introduce the Default TF-A Provider define, make it overridable, and default it to NXP downstream fork. This allows user to re-define the package name later shall they choose to integrate upstream TF-A package instead. Current upstream TF-A version (v2.7) does not support HAB feature of i.MX8M family, see [1]. If the upstream TF-A version is chosen, then HAB will not be available for all SoCs that are opting-in. This is indicated in the comment where default TF-A provider variable is set. This might change with future TF-A release, so later it can be revised and statement in include file can be potentially removed. Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com> Link: [1]: https://lists.trustedfirmware.org/archives/list/tf-a@lists.trustedfirmware.org/message/5UYYI4CNLQ5OWWHU466JBK6I5QIQ2VRS/ (cherry picked from commit b61c4907b1926061cbf627ee1fd5dd8eb8e53d59)
* imx-base.inc: Set virtual/opencl-icd provider for i.MXTom Hochstein2022-06-161-0/+1
| | | | | | | | | | | Properly set provider for i.MX GPU, as noted by bitbake: ``` NOTE: Multiple providers are available for virtual/opencl-icd (imx-gpu-viv, opencl-icd-loader) Consider defining a PREFERRED_PROVIDER entry to match virtual/opencl-icd ``` Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> (cherry picked from commit 0c9f999f93873d02ed59b1e6b94b6cd93a2ca96d)
* machines: follow kernel deployment changesMax Krummenacher2022-06-163-3/+3
| | | | | | | | | | | | | | | The kernel binary image is by default deployed into the rootfs, /boot/. openembedded-core changed the way it is done in a not backwards compatible way. I.e. it now RRECOMMENDS instead of RDEPENDS the package which contains the kernel binary image. Commit 1c90b27d2c ("kernel: make kernel-base recommend kernel-image, not depend") So the way to not deploy also changed. Change machines and recipes which want to prevent kernel deployment accordingly. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit 5171b4b59adae5f5cea3c0df7a07d5a6a1585c51)
* imx8m: Set LPDDR4 machines to use IMX BSP onlyThomas Perrot2022-05-113-0/+15
| | | | | | | | | This is necessary because mainline U-Boot doesn't supports LPDDR4 for i.MX8M EVK. Also these machines aren't supported by mainline kernel. Signed-off-by: Thomas Perrot <thomas.perrot@bootlin.com> (cherry picked from commit c13204d3437f226c11e73da467399fab9f2f130b)
* imx8mp-lpddr4-evk: Add uboot config ndmTom Hochstein2022-05-091-0/+1
| | | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> (cherry picked from commit 3dcc54c2ff7cd004b4f5dd3933c83506ae2c1866)
* imx8mn-ddr4-evk: Add uboot config nomTom Hochstein2022-05-091-0/+2
| | | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> (cherry picked from commit 53df19c4d33d2e465d32d533f6f9540a519b0490)
* imx8mn-evk: Add uboot config ldTom Hochstein2022-05-091-0/+1
| | | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> (cherry picked from commit 17aed5a1b8edff1922ff34ee13621010ae023d23)
* imx8dxl-lpddr4-evk: Cleanup BOARD_TYPE assignmentTom Hochstein2022-05-092-3/+2
| | | | | | | | The BOARD_TYPE is board-specific, so move it from the .inc to the .conf. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> (cherry picked from commit 40d5578d5d873fa005fbaa920d35d6cce9b0d1dd)
* imx8dxl-lpddr4-evk: Add uboot config lcdTom Hochstein2022-05-091-0/+2
| | | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> (cherry picked from commit b281aff059a90d1d99a9cda3c99250e4d89403d9)
* imx8dxl-ddr3l-evk: Add uboot config fspiTom Hochstein2022-05-092-1/+1
| | | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> (cherry picked from commit 6b82b2c90c94f433f8a4beb9f0ea594449ecf90b)
* imx8dx-mek: Fix name and descriptionTom Hochstein2022-05-091-2/+2
| | | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> (cherry picked from commit fe3d509ce6168a2a1a8239f6526be31398eaf931)
* imx-boot-container-bootpart: drop wks fileMax Krummenacher2022-04-261-10/+0
| | | | | | | | | Now that we have a symlink with constant name 'imx-boot' independent on the use of the MACHINEOVERRIDE 'imx-boot-container', drop the additonal imx-boot-container-bootpart file as imx-imx-boot-bootpart does the same thing. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
* ls1028ardb/ls1088ardb/ls1088ardb-pb: Correct MACHINEOVERRIDESJun Zhu2022-04-253-6/+6
| | | | | | | | | Current setting cannot set the right overrider order as expected. For example: MACHINEOVERRIDES="fsl-lsch3:ls1088a:aarch64:use-nxp-bsp:qoriq:qoriq-arm64:ls1088ardb-pb" Update them to align with other Layerscape machines. Signed-off-by: Jun Zhu <junzhu@nxp.com>
* Revert "qoriq-base: weak defaults for WKS_FILE"Vinicius Aquino2022-04-131-1/+1
| | | | | | | | | | | | | | This reverts commit 451bafe6d6e0523d0f6143f6862bb6c5b42ac8f6. This is necessary to follow the pattern used by imx-base.inc. Also prevents the following error: "No kickstart files from WKS_FILES were found" It happens because WKS_FILE was already assigned and can't be reassigned by SOC_DEFAULT_WKS_FILE due to a weaker assignment (??=). Signed-off-by: Vinicius Aquino <vinicius.aquino@ossystems.com.br>
* Partially revert "qoriq-arm.inc: use weak defaults"Markus Niebel2022-04-121-1/+3
| | | | | | | | | | | Although it seems a good idea to use a weak default for KERNEL_IMAGETYPE this cannot be achieved since kernel.bbclass does already a default assignment which has precedence over weak assignments. If a machine requeires other image types, KERNEL_IMAGETYPE needs to be assigned by the machine config file. Signed-off-by: Markus Niebel <Markus.Niebel@ew.tq-group.com>
* Partially revert "qoriq-arm.inc: use weak defaults"Markus Niebel2022-04-121-2/+2
| | | | | | | | | | Although it seems a good idea to use a weak default for SERIAL_CONSOLES this cannot be achieved since bitbake.conf does a weak assignment after the inclusion of machine config files. This will override the weak assignment here. Revert the changes for SERIAL_CONSOLES variable to bring old behaviour back. Signed-off-by: Markus Niebel <Markus.Niebel@ew.tq-group.com>
* Revert "qoriq-arm64.inc: use weak defaults"Markus Niebel2022-04-121-2/+2
| | | | | | | | | | | This reverts commit 9d5c49f8c604f117da0995f8946ff04c17caada9. Although it seems a good idea to use a weak default for SERIAL_CONSOLES this cannot be achieved since bitbake.conf does a weak assignment after the inclusion of machine config files. This will override the weak assignment here. Revert to bring old behaviour back. Signed-off-by: Markus Niebel <Markus.Niebel@ew.tq-group.com>
* imx8m: Set DDR4 machines to use IMX BSP onlyVinicius Aquino2022-04-113-0/+15
| | | | | | | This is necessary because mainline U-Boot doesn't supports DDR4 for i.MX8M EVK. Also these machines aren't supported by mainline kernel. Signed-off-by: Vinicius Aquino <vinicius.aquino@ossystems.com.br>
* qoriq-arm64.inc: use weak defaultsMarkus Niebel2022-04-061-2/+2
| | | | | | | | | | When maintaining a hardware support layer for a SOM there will be different mainboards and BSP for this SOM. Depending on the use case there may be different needs for a console UART. When providing a valid weak default in meta-freescale a machine definition can override this easier as well as a BSP for a specific mainboard. Signed-off-by: Markus Niebel <Markus.Niebel@ew.tq-group.com>
* qoriq-arm.inc: use weak defaultsMarkus Niebel2022-04-061-3/+3
| | | | | | | | | | When maintaining a hardware support layer for a SOM there will be different mainboards and BSP for this SOM. Depending on the use case there may be different needs for console UART and KERNEL_IMAGETYPE. When providing a valid weak default in meta-freescale a machine definition can override this easier as well as a BSP for a specific mainboard. Signed-off-by: Markus Niebel <Markus.Niebel@ew.tq-group.com>
* qoriq-base: weak defaults for WKS_FILEMarkus Niebel2022-04-051-1/+1
| | | | | | | | | | When maintaining a hardware support layer for a SOM there will be different mainboards and BSP for this SOM. Depending on the use case there may be different needs for SD / e-MMC images. When providing a valid weak default in meta-freescale a machine definition can override this easier as well a BSP for a specific mainboard. Signed-off-by: Markus Niebel <Markus.Niebel@ew.tq-group.com>
* ffmpeg: Downgrade ffmpeg 5.0.0 -> 4.4.1 for NXP BSPTom Hochstein2022-04-041-0/+1
| | | | | | | | | | | | | | | | | | | | The i.MX 1.18.5 version of gstreamer1.0-libav is not compatible with upstream ffmpeg 5.5.0 and results in the follow build errors: ``` /opt/work/upstream/fsl-xwayland/tmp/work/cortexa35-mx8-fsl-linux/gstreamer1.0-libav/1.18.5-r0/recipe-sysroot-native/usr/bin/aarch64-fsl-linux/../../libexec/aarch64-fsl-linux/gcc/aarch64-fsl-linux/11.2.0/ld: ext/libav/libgstlibav.so.p/gstavaudenc.c.o: in function `gst_ffmpegaudenc_set_format': /usr/src/debug/gstreamer1.0-libav/1.18.5-r0/build/../gst-libav-1.18.5/ext/libav/gstavaudenc.c:246: undefined reference to `avcodec_get_context_defaults3' /opt/work/upstream/fsl-xwayland/tmp/work/cortexa35-mx8-fsl-linux/gstreamer1.0-libav/1.18.5-r0/recipe-sysroot-native/usr/bin/aarch64-fsl-linux/../../libexec/aarch64-fsl-linux/gcc/aarch64-fsl-linux/11.2.0/ld: /usr/src/debug/gstreamer1.0-libav/1.18.5-r0/build/../gst-libav-1.18.5/ext/libav/gstavaudenc.c:292: undefined reference to `avcodec_get_context_defaults3' /opt/work/upstream/fsl-xwayland/tmp/work/cortexa35-mx8-fsl-linux/gstreamer1.0-libav/1.18.5-r0/recipe-sysroot-native/usr/bin/aarch64-fsl-linux/../../libexec/aarch64-fsl-linux/gcc/aarch64-fsl-linux/11.2.0/ld: /usr/src/debug/gstreamer1.0-libav/1.18.5-r0/build/../gst-libav-1.18.5/ext/libav/gstavaudenc.c:336: undefined reference to `avcodec_get_context_defaults3' /opt/work/upstream/fsl-xwayland/tmp/work/cortexa35-mx8-fsl-linux/gstreamer1.0-libav/1.18.5-r0/recipe-sysroot-native/usr/bin/aarch64-fsl-linux/../../libexec/aarch64-fsl-linux/gcc/aarch64-fsl-linux/11.2.0/ld: /usr/src/debug/gstreamer1.0-libav/1.18.5-r0/build/../gst-libav-1.18.5/ext/libav/gstavaudenc.c:317: undefined reference to `avcodec_get_context_defaults3' /opt/work/upstream/fsl-xwayland/tmp/work/cortexa35-mx8-fsl-linux/gstreamer1.0-libav/1.18.5-r0/recipe-sysroot-native/usr/bin/aarch64-fsl-linux/../../libexec/aarch64-fsl-linux/gcc/aarch64-fsl-linux/11.2.0/ld: ext/libav/libgstlibav.so.p/gstavaudenc.c.o: in function `gst_ffmpegaudenc_start': /usr/src/debug/gstreamer1.0-libav/1.18.5-r0/build/../gst-libav-1.18.5/ext/libav/gstavaudenc.c:197: undefined reference to `avcodec_get_context_defaults3' /opt/work/upstream/fsl-xwayland/tmp/work/cortexa35-mx8-fsl-linux/gstreamer1.0-libav/1.18.5-r0/recipe-sysroot-native/usr/bin/aarch64-fsl-linux/../../libexec/aarch64-fsl-linux/gcc/aarch64-fsl-linux/11.2.0/ld: ext/libav/libgstlibav.so.p/gstavvidenc.c.o:/usr/src/debug/gstreamer1.0-libav/1.18.5-r0/build/../gst-libav-1.18.5/ext/libav/gstavvidenc.c:252: more undefined references to `avcodec_get_context_defaults3' follow collect2: error: ld returned 1 exit status ninja: build stopped: subcommand failed. ``` Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* imx-base.inc: Upgrade gstreamer1.0 1.18.0 -> 1.18.5Tom Hochstein2022-04-041-7/+7
| | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* imx-base.inc: Fix MACHINE_SOCARCH_SUFFIX for 8XLiteTom Hochstein2022-03-311-1/+1
| | | | | | | The architecture is independent of the number of cores, so update the 8XLite suffix from mx8dxl to mx8xl. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* mx8dx: Normalize MACHINEOVERRIDES implementationTom Hochstein2022-03-312-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | The imx8dx-mek machine is similar to imx8qxp-mek and so the mx8qxp override was included in the MACHINEOVERRIDES hierarchy. This is non-standard, and the rework of the SOC overrides didn't handle it properly, leading to a build break: ``` Log data follows: | DEBUG: Executing shell function do_compile | NOTE: 8QX boot binary build | cp: failed to access '/home/aquino/src/ossystems/oel-platform/build/tmp/work/imx8dx_mek-oel-linux/imx-boot/1.0-r0/git/iMX8DX/scfw_tcm.bin': Not a directory | WARNING: /home/aquino/src/ossystems/oel-platform/build/tmp/work/imx8dx_mek-oel-linux/imx-boot/1.0-r0/temp/run.do_compile.1809636:179 exit 1 from 'cp /home/aquino/src/ossystems/oel-platform/build/tmp/deploy/images/imx8dx-mek/imx-boot$ tools/scfw_tcm.bin /home/aquino/src/ossystems/oel-platform/build/tmp/work/imx8dx_mek-oel-linux/imx-boot/1.0-r0/git/iMX8DX/scfw_tcm.bin' | WARNING: Backtrace (BB generated script): | #1: compile_mx8x, /home/aquino/src/ossystems/oel-platform/build/tmp/work/imx8dx_mek-oel-linux/imx-boot/1.0-r0/temp/run.do_compile.1809636, line 179 | #2: do_compile, /home/aquino/src/ossystems/oel-platform/build/tmp/work/imx8dx_mek-oel-linux/imx-boot/1.0-r0/temp/run.do_compile.1809636, line 151 | #3: main, /home/aquino/src/ossystems/oel-platform/build/tmp/work/imx8dx_mek-oel-linux/imx-boot/1.0-r0/temp/run.do_compile.1809636, line 189 ERROR: Task (/home/aquino/src/ossystems/oel-platform/sources/meta-freescale/recipes-bsp/imx-mkimage/imx-boot_1.0.bb:do_compile) failed with exit code '1' ``` Fix the problem by removing mx8qxp from the mx8dx hierarchy and adapting existing mx8qxp overrides appropriately. Fixes: #1027 Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* qoriq-base: weak defaults for u-boot/bootloader/kernel PREFERRED_PROVIDERMarkus Niebel2022-03-311-3/+3
| | | | | | | | When using a kernel/bootloader fork maintained by board vendor and there are somer flavours ist would be good to have only weak assignments here. This enables to override the default by machine config and set final by distro or local.conf. Signed-off-by: Markus Niebel <Markus.Niebel@ew.tq-group.com>
* imx6ul*: remove obsolete device tree entryOleksandr Suvorov2022-03-292-2/+0
| | | | | | | | | | | | The imx6ul-14x14-evk-btwifi-oob.dtb and imx6ull-14x14-evk-btwifi-oob.dtb are no longer available in the kernel lf-5.10.y, it was removed in a1488e98156ea1a597353c93b76b4f7fd8dd7c7c Remove entries for non-existent dtb files. This fixes building a Linux kernel recipe for imx6ulevk/imx6ullevk. Fixes: 3f93c925 ("linux-imx*: Upgrade to 5.10.52") Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@foundries.io>
* wayland-protocols: Upgrade 1.22.imx -> 1.25.imxTom Hochstein2022-03-251-3/+3
| | | | | | | | This is a pre-release version from upcoming NXP Q2 release added to kirkstone to fix mesa compatibility problems. The commit does also update the recipe to align with the one in OE-core. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* libdrm: Upgrade 2.4.207.imx -> 2.4.109.imxTom Hochstein2022-03-251-3/+3
| | | | | | | | | This is a pre-release version from upcoming NXP Q2 release added to kirkstone to fix mesa compatibility problems. The patch 0001-meson-add-libdrm-vivante-to-the-meson-meta-data.patch is dropped as it is now upstream. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* imx-base.inc: Enable Crypto for all 8XTom Hochstein2022-03-201-1/+1
| | | | | | Align with 8M family. Enabling Crypto enables FP and SIMD as well. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* imx-base.inc: Decrease machine feature override priorityTom Hochstein2022-03-161-17/+17
| | | | | | | | | | | | | | | | The new SOC overrides changed the priority for the NXP machine feature overrides (like imxgpu2d) to be higher than the SOC override (like mx8qxp). This change manifested as a change to the weston-init configuration for mx8qxp and mx8qm, causing the addition of -use-g2d=1 to the weston runtime configuration file weston.ini. The problem is fixed simply by moving the feature overrides before the SOC overrides to match the old priority order. However, to provide consistency, rather than just match the old priority order, the features are now moved lower in priority than any of the SOC group overrides as well (like mx8 and mx8x). Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>