summaryrefslogtreecommitdiffstats
path: root/conf/machine
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* Merge pull request #1000 from zandrey/topic/cleanup-atf-address-variableOtavio Salvador2022-03-074-4/+0
|\ | | | | Clean-up obsolete ATF load address for i.MX8M machines
| * conf: machine: imx8m*: clean-up obsolete ATF load addressAndrey Zhizhikin2022-03-074-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | Upstream U-Boot commit d9a6f0eed66a ("tree: imx: remove old fit generator script") dropped the FIT generator script, which was using environment variable setting the ATF load address into the FIT ITS file. This has been replaced by binman node description, where ATF address is defined, hence the enviroment variable is not required anymore. Clean-up the layer's class and machine description to remove the variable, which is not used anymore. Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
* | imx-base.inc: add back mx23 supportTrevor Woerner2022-03-071-2/+3
|/ | | | | | | | | | When include/imx-base.inc was simplified to use the imx-{mainline,nxp}-bsp overrides, the "mx23" category of machines was missed. Build tested with imx233-olinuxino-* and imx23evk. Run tested with imx233-olinuxino-maxi. Signed-off-by: Trevor Woerner <twoerner@gmail.com>
* xf86-video-imx-vivante: drop vivante specific x11 driverMax Krummenacher2022-03-061-1/+0
| | | | | | | | | | | | The required x11 driver stuff has been removed from imx-gpu-viv and thus the X11 driver is no longer buildable. Drop the recipe and fallback on the default X11 fb driver. | ERROR: Nothing RPROVIDES 'libvivante-dri-imx' (but .../meta-freescale/recipes-graphics/xorg-driver/xf86-video-imx-vivante_6.4.0.p0.0.bb RDEPENDS on or otherwise requires it) Completes 747c96f5 ("imx-gpu-viv: Upgrade to 6.4.3.p2.4"). Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
* Merge pull request #994 from Freescale/topic/warn-old-overridesOtavio Salvador2022-03-031-0/+2
|\ | | | | Ensure we fail if old SoC overrides are in use
| * Ensure we fail if old SoC overrides are in usetopic/warn-old-overridesOtavio Salvador2022-03-031-0/+2
| | | | | | | | | | | | | | | | | | To assist existing layers to convert to the new BSP-specific overrides. Besides failing the parsing of the recipes where it is in use, we provide a script to automate most of it. Fixes: #990. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* | conf: imx7ulpevk: Remove unrelated imx7ulp-com.dtbFabio Estevam2022-03-021-3/+0
|/ | | | | | | | | | The imx7ulp-com.dtb describes a completely different board: the Embedded Artists i.MX7ULP COM board, which has no relationship with the NXP i.MX7ULP EVK board. Remove the imx7ulp-com.dtb entry. Signed-off-by: Fabio Estevam <festevam@gmail.com>
* optee-test: Upgrade 3.10.0.imx -> 3.15.0.imxTom Hochstein2022-02-241-1/+1
| | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* optee-client: Upgrade 3.10.0.imx -> 3.15.0.imxTom Hochstein2022-02-241-1/+1
| | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* optee-os: Upgrade 3.10.0.imx -> 3.15.0.imxTom Hochstein2022-02-241-1/+1
| | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* imx8x: The mx8x override is handled in extender so drop itOtavio Salvador2022-02-242-3/+1
| | | | | Refs: 9b9f9bb1 ("imx-base.inc: Add missing mx8x overrides") Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>