aboutsummaryrefslogtreecommitdiffstats
path: root/conf/machine/include/imx-base.inc
AgeCommit message (Collapse)Author
2019-02-28imx-base.inc: Add alsa support for all i.MX 8Tom Hochstein
Also simplify i.MX 6 and 7 configuration logic since alsa is supported by all i.MX 6 and 7. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> (cherry picked from commit 6daaffb21e4f9d2b18ed9962cec4516134dc2c01)
2019-02-28imx-base.inc: Limit use-fsl-bsp u-boot overrides to i.MX 6 and 7Tom Hochstein
The u-boot overrides are appropriate for i.MX 6 and 7 only and break i.MX 8 builds. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> (cherry picked from commit 77e56f3029caab422bd0dbfcc0d559ecf0183e05)
2019-02-28u-boot.imx: Add u-boot configuration for fslTom Hochstein
The fsl distro was broken for the following machine files because they set u-boot configuration to fslc configuration: - imx6qdlsabreauto - imx6qdlsabresd - imx6ulevk Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> (cherry picked from commit e5cd33c9b393ce3f434c8cf0d0bfa65357a1a249)
2019-02-27imx-base.inc: Fix strange whitespace problemTom Hochstein
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2019-02-27imx-imx-boot-bootpart.wks: change default offset of bootloaderMax Krummenacher
The i.MX 8QXP bootrom in B0 silicon reads the 1st image container at offset 32k while tha A0 silicon started at 33k. The machine configurations already contain the variable IMX_BOOT_SEEK to specify the needed offset. Change the wks file accordingly. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-01-31imx-base: Enable wic.bmap image generation as defaultFabio Berton
Bmaptool is a generic tool for creating the block map (bmap) for a file and copying files using the block map. Is faster than use dd to flash images to SD Cards. More info about bmap here [1]. [1] - https://github.com/intel/bmap-tools Change-Id: I727d63104baa3669e83db127b03b3b0af6cd45b9 Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> (cherry picked from commit fb753d427add595d9c425fab9d4720a041db1b6d)
2019-01-14imx-base.inc: use SDMA RAM script for the whole i.MX 6 familyStefan Agner
The Linux device trees of all members of the i.MX 6 family use the same SDMA RAM script. Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
2019-01-10wic:mx8: Create wks file for imx8 family using imx-bootDaiane Angolini
imx8 family boards use u-boot as boot loader in addition to some other binaries. The final bootloader binary is gathered by mkimage into a file called imx-boot. Add the wks file to create the wic image tailored for imx8 family. Set the wks file as default for all imx8. Signed-off-by: Daiane Angolini <daiane.angolini@nxp.com>
2019-01-09mx8: move non soc specific fw out of imx-baseMax Krummenacher
It is unlikely that all future mx8 machines will require ath10k fw. So add it in the specific board configuration and not in imx-base.inc. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-01-09mx8: prefer u-boot-imx, linux-imxMax Krummenacher
Fixes: | ERROR: Nothing PROVIDES 'virtual/kernel' | linux-fslc-imx PROVIDES virtual/kernel but was skipped: incompatible with machine imx8qmmek (not in COMPATIBLE_MACHINE) | ERROR: Nothing PROVIDES 'virtual/bootloader' | u-boot-fslc PROVIDES virtual/bootloader but was skipped: incompatible with machine imx8qmmek (not in COMPATIBLE_MACHINE) Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2018-12-13imx-base.inc: Share i.MX 8 and i.MX 8X binariesTom Hochstein
The SOC-specific binaries for i.MX 8 and 8X families are compatible, so set MACHINE_SOCARCH_SUFFIX to share. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2018-12-13imx-base.inc: Add sha384sum to fix 8X builds of imx-bootTom Hochstein
Fix the following build error: | sh: 1: sha384sum: not found | Failed to hash file: scfw_tcm.bin Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2018-10-31imx-base.inc: Upgrade libdrm to 2.4.91.imxTom Hochstein
Update the PREFERRED_VERSION. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2018-10-06imx8mmevk.conf/imx-base.inc: Add i.MX 8MM EVK supportYuqing Zhu
Signed-off-by: Yuqing Zhu <carol.zhu@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-09-17imx-base.inc Add missing overrides to for `use-mainline-bsp`Andreas Müller
Just in case somebody tries to build machines without BLOBs using these overrides. Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-09-08imx-gpu-viv: Add support for OpenCL and OpenVXTom Hochstein
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2018-09-08imx-dpu-g2d: Use machine override for compatibilityTom Hochstein
Use imxdpu override for machine compatibility. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2018-09-08imx-base.inc: Add support for i.MX 8QM, 8MQ, and 8QXPTom Hochstein
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2018-09-08imx-base.inc: Update kernel image type for i.MX 8Tom Hochstein
For all arm64 kernel image type is Image. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2018-09-07wayland-protocols: Downgrade to 1.13 for i.MXTom Hochstein
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2018-08-02imx-base.inc: Simplify preferred providers for graphicsTom Hochstein
Replace SOC-specific overrides with feature overrides. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-08-02imx-base.inc: Remove redundant DEFAULTTUNE settingTom Hochstein
DEFAULTTUNE is set to aarch64 in arch-arm64.inc, so no need to set it again. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-07-20utilities.inc: Use only the basename for dtb filesFabio Berton
Use make_dtb_boot_files function to use basename from KERNEL_DEVICETREE files. This is useful for dtb with name: whatever/my_dtb_file.dtb Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
2018-07-12imx-base.inc: fix UBOOT_MAKE_TARGET so that SPL is builtGary Bisson
Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
2018-07-12imx-base.inc: replace imx-vpu with virtual/imxvpuGary Bisson
Since either imx-vpu or imx-vpu-hantro can now provide virtual/imxvpu. Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
2018-07-11imx-base.inc: Use KERNEL_DEVICETREE variable in IMAGE_BOOT_FILESFabio Berton
OE-Core commit 1860d9d3c62e2e94cd68a809385873ffd8270b6d removed KERNEL_IMAGETYPE prefix from device tree name, so we don't need to use utilities.inc and we can just use KERNEL_DEVICETREE variable in IMAGE_BOOT_FILES. Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-07-11imx-base.inc: Add imxfbdev and imxdrm to MACHINEOVERRIDES_EXTENDERTom Hochstein
- weston uses the imxfbdev override for backend configuration - imx-gpu-viv uses the imxdrm override for dependency configuration Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-07-11imx-base.inc: Add i.MX8MQ supportTom Hochstein
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-07-05weston: Copy upstream 4.0 recipeTom Hochstein
http://git.yoctoproject.org/cgit.cgi/poky/tree/?h=master-next&id=d05a268c5069c3fb47ceed47862ba36b5f49ebd3 Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-07-05weston: Set package arch for all i.MXTom Hochstein
Weston is built from a fork for all i.MX, not just those with GPU, so set the package arch accordingly. Change-Id: Ib8b2e639a8393dd41832c972d21812ee990a6c47 Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-07-03wic: Fix image generation for i.MX MXS SoC familyOtavio Salvador
The image needs to use the U-Boot generated, for the uSD card, so a dependency on that must be added to ensure the file is available prior 'wic' uses it. Besides that, the fstype needs to be changed so it sets the partition mark allowing the bootrom to find it. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-06-29imx-base.inc: Add imxgpu to MACHINEOVERRIDES_EXTENDERTom Hochstein
Add imxgpu to simplify the conditional for imxgpu2d OR imxgpu3d. Note that i.MX 8MQ has no 2D, so the previous idiom of using imxgpu2d to mean any GPU is no longer correct. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-06-29imx-base: Use i.MX's fork of libdrm for i.MX6 and i.MX7Otavio Salvador
There few components which require the new libdrm fork, so we must use it when using NXP's BSP components. Besides adding the preferred version we need also to add it to the SoC architecture filter. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-06-26imx-gpu-viv: Rename package for libgalTom Hochstein
Change virtual/libgal-x11 to libgal-imx since there are no other providers and it is not X11-specific. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-06-26imx-base.inc: Improve formattingTom Hochstein
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-06-26xf86-video-imx-vivante: Remove fb from nameTom Hochstein
The driver is no longer only for framebuffer, so remove the designation from the name. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-06-26weston: Fix PREFERRED_VERSION_westonTom Hochstein
It seems that overrides from MACHINEOVERRIDES_EXTENDER are not available here. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-03-15imx-gpu-g2d: Move imx-gpu-g2d out of imx-gpu-viv v6Tom Hochstein
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-02-28imx-base: Add wic option to not update fstabFabio Berton
>From Openembedded Core commit: commit 00420ec42140c1b752132bda190dede85756d157 Author: Fabio Berton <fabio.berton@ossystems.com.br> Date: Wed Apr 19 13:42:47 2017 -0300 wic: Add option to not change fstab Create an option to wic doesn't change fstab file, the final fstab file will be same that in rootfs and wic doesn't update file, e.g adding a new mount point. Users can control the fstab file content in base-files recipe. This is useful if you want to only create an partition but not add fstab mount point or add new mount point using label e.g: LABEL=recovery /recovery auto defaults 0 1 Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> This change is useful to avoid duplicate entries on final image fstab, and system will not mount partitions that doesn't exist. Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-12-18weston: Switch to 2.0 with i.MX forkTom Hochstein
EGL support was removed from the fbdev compositor in Weston 2.0. Add it back via an i.MX fork. This has been verified with imx-gpu-viv v6 only. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-10-11imx-base: Set WKS_FILE for mxs machinesFabio Berton
Use imx-uboot-mxs-bootpart.wks for mxs machine once u-boot suffix is .sb instead of .imx. Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-10-11imx-base: Create variable to allow set WKS_FILE using machine overrideFabio Berton
Use SOC_DEFAULT_WKS_FILE variable to set WKS_FILE for allow set WKS_FILE by machine. Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-10-11imx-base.inc: Add i.MX SDMA firmwaresOtavio Salvador
The OE-Core now provides the linux-firmware-imx-sdma-imx6q and linux-firmware-imx-sdma-imx7d packages. This patch adds them to the respective SoC families as well as the mainline specific one (use-mainline-bsp). Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-10-11imx-base.inc: Update for imx7ulpevk board supportJun Zhu
Signed-off-by: Jun Zhu <junzhu@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-10-05Use wic.gz for all i.MX machines by defaultOtavio Salvador
This change moves the default image for all i.MX machines. We moved from sdcard.gz to wic.gz. Following machines were change: - imx25pdk: use imx-uboot.wks - imx6qdlsabreauto: use imx-uboot-spl-bootpart.wks - imx6qdlsabresd: use imx-uboot-spl-bootpart.wks - imx6ulevk: use imx-uboot-spl-bootpart.wks Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-10-05imx-base.inc: Generate a default IMAGE_BOOT_FILESOtavio Salvador
When the machine requires a boot partition, it needs to define the IMAGE_BOOT_FILES to include the device tree files and Linux kernel image. This is essentially a generic solution so instead of defining it for all machines we are providing a default value for them. To implement that, we borrowed an utility function from Raspberry Pi BSP. It is copied as is at conf/machine/include/utilities.inc file. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-09-29imx-base.inc: Always use wic for i.MX25 imagesOtavio Salvador
The i.MX25 support is new so there is no reason to extend the dependency on the old image generation class. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-09-29imx-base.inc: Add basic settings for i.MX25Otavio Salvador
The i.MX25 will always use the use-mainline-bsp override so we force its inclusion with the override extender mechanism. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-08-25imx-base: Add MACHINE_SOCARCH_SUFFIX for mx51 and mx53Fabio Berton
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-08-24imx-base: Add MACHINE_SOCARCH_SUFFIX for mx23 and mx28Fabio Berton
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>