summaryrefslogtreecommitdiffstats
path: root/conf/machine/include
Commit message (Collapse)AuthorAgeFilesLines
...
* imx-base.inc: Add 'use-mainline-bsp' override supportOtavio Salvador2017-03-271-0/+20
| | | | | | | | | | | | | The 'use-mainline-bsp' makes use of MAACHINEOVERRIDES_EXTENDER_FILTER_OUT variable and currently filters out the i.MX 6 and i.MX 7 overrides, ensuring we use the pristine support for all metadata. This commit does most changes related to initial mainline support for Etnaviv and Video4Linux VPU support using CODA. Change-Id: Idcb3e4f9c3bc46d4c066dea3c0388f821ab2d3ec Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* Revert "qoriq-base, imx-base: Allow DISTRO and local.conf override of ↵Otavio Salvador2017-02-012-2/+2
| | | | | | | | | | | | IMAGE_FSTYPES" The IMAGE_FSTYPES is set in bitbake.conf as ?= so we cannot use the weak assingment here. This brings back the image generation using the standard set for the BSP but we will need to investigate a solution for the distro overriding issue. Change-Id: I57cda5eb894330ad857b0bca44a8a987dc06afb2 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* imx-base.inc: SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS can be always appendedOtavio Salvador2017-01-271-1/+1
| | | | | | | | | There is no need to restrict the appending of SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS values as the respective packages will be added only on the supported packages thus not affecting other machines. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* imx-base.inc: Convert to use i.MX MACHINEOVERRIDES_EXTENDEROtavio Salvador2017-01-271-7/+4
| | | | | | | | | There were some core BSP variables which were still using SoC family names instead of feature overrides (XSERVER_DRIVER, MACHINE_SOCARCH_FILTER) and those needed to be reworked so other SoC families could be dealt in the generic way (e.g: mx6ul). Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* qoriq-base, imx-base: Allow DISTRO and local.conf override of IMAGE_FSTYPESOtavio Salvador2017-01-162-2/+2
| | | | | | | | | To allow the DISTRO and local.conf to override the IMAGE_FSTYPES value we must provide a weak default (using the ??= operator) otherwise machines need to play with the import order to override it. Change-Id: I93407b8b6a93e5953bc4bae08f4ae4dafc5c6158 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* imx-base: Use GStreamer 1.0 plugins for all mx6 and mx7 machinesFabio Berton2016-10-311-2/+6
| | | | | | | | Set MACHINE_GSTREAMER_1_0_PLUGIN variable to use gstreamer1.0-plugins-imx-meta for all mx6 and mx7 machines. Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* imx-base: Set extra audio support for all mx6 and mx7 machinesFabio Berton2016-10-311-1/+7
| | | | | | | | Install imx-alsa-plugins as MACHINE_EXTRA_RRECOMMENDS for all mx6 and mx7 machines on distros that have alsa feature. Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* imx-base: Add i.MX 6ULL base settingsOtavio Salvador2016-10-181-1/+13
| | | | | | | | | | | | | | The i.MX 6ULL BSP base settings, this includes: - MACHINEOVERRIDES_EXTENDER for has PXP and EPDC display support; - UBOOT_ENTRYPOINT for uImage support; - DEFAULTTUNE so it uses cortexa7thf-neon by default; - MACHINE_SOCARCH_SUFFIX to share binaries with i.MX6UL; - Graphics preference to use software rendering; - MACHINE_FIRMWARE to include firmware-imx-epdc; - Default Linux kernel for linux-fslc-imx; Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* imx-base.inc: Add cairo and pango on SOCARCH filterOtavio Salvador2016-10-181-0/+1
| | | | | | | | The cairo and pango recipes are SoC specific as them has changes depending on the SoC type, as such, it must be in SOCARCH filter so packages depending on them are properly hangled. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* qoriq-base: Set SOC default IMAGE_FSTYPESFabio Berton2016-10-181-0/+3
| | | | | | | | | | | | | Create SOC_DEFAULT_IMAGE_FSTYPES variable with default IMAGE_FSTYPES used by all QorIQ targets. Default FSTYPES are tar.gz, ext2.gz.u-boot and ext2.gz. The IMAGE_FSTYPES need to be overriden without using the SoC family overrides, for user-friendness, and to allow this we need to use a SoC variable to construct the default value for setting. Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* qoriq-base.inc: Use 'fsl-dynamic-packagearch' classOtavio Salvador2016-09-231-0/+9
| | | | | | | | | | | | This ensures PACKAGE_ARCH has a better default. - use MACHINE_ARCH for every package depending on virtual/kernel - use MACHINE_SOCARCH for every package depending on cryptodev-qoriq-linux, cryptodev-qoriq-module, cryptodev-qoriq-test or openssl-qoriq; Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* qoriq-base.inc: Remove unused SoC family supportOtavio Salvador2016-09-211-3/+0
| | | | | | | The SoC family use has been removed in commit 8999634f (Migrate from SOC_FAMILY to MACHINEOVERRIDES) so the support can be dropped as well. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* Use IMGDEPLOYDIR for SDCard image generationOtavio Salvador2016-09-131-1/+1
| | | | | | | | | This change is needed as the commit OE-Core:6d969bac (image: Deploy images to IMGDEPLOYDIR) has changed the deployment directory from DEPLOY_DIR_IMAGE to IMGDEPLOYDIR causing failures when using the image_types_fsl.bbclass class. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* udev-rules-qoriq: added into MACHINE_EXTRA_RRECOMMENDSTing Liu2016-09-081-1/+1
| | | | | Signed-off-by: Ting Liu <ting.liu@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* imx-base.inc: Enable machine overrides extender for i.MX6Otavio Salvador2016-09-081-0/+9
| | | | | | | | | | | | | | | | | | This enables the machine overrides extender for the i.MX6 devices. It maps (spaces are used to easy the read): - mx6q -> imxipu imxvpu imxgpu2d imxgpu3d - mx6dl -> imxpxp imxipu imxvpu imxgpu2d imxgpu3d imxepdc - mx6sx -> imxpxp imxgpu2d imxgpu3d - mx6sl -> imxpxp imxgpu2d imxepdc - mx6ul -> imxpxp - mx7d -> imxpxp imxepdc So it allows for reusing of overrides while keeps this control at the BSP side. Change-Id: Ie43aa497ce57b4a29f7b37a3eb941fb0d66691aa Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* Convert SOC_FAMILY to MACHINEOVERRIDESOtavio Salvador2016-09-081-2/+0
| | | | | | | | | | The SOC_FAMILY is an indirection which makes the understanding, from OpenEmbedded versed developers and users, more difficult. Instead of using the SOC_FAMILY indirection which is rarely used, we now move to the MACHINEOVERRIDES mechanism as this is in fact what is in use. Change-Id: Ic6e58b79bdc990ac853c87761c3fff635786e4e5 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* Remove apm from machine featuresStefan Agner2016-08-231-1/+1
| | | | | | | | | | | | APM (Advanced Power Management) is a more or less ancient power management API mainly from the x86 world. There is an optional APM emulation layer for ARM, and some platform make some extended use of it (e.g. PXA). However, neither is the emulation enabled on any NXP/Freescale kernel nor is it commonly used, hence remove it from machine feature. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* qoriq-base.inc: set PREFERRED_VERSION_testfloat to 2aTing Liu2016-08-121-0/+1
| | | | | | | | testfloat 2a has specific updates for qoriq ppc boards. Currently no plan to refresh them to 3b release. Signed-off-by: Ting Liu <ting.liu@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* qoriq-base.inc: append image_types_uboot to IMAGE_CLASSESTing Liu2016-07-221-1/+1
| | | | | Signed-off-by: Ting Liu <ting.liu@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* qoriq-base.inc: update MACHINE_EXTRA_RECOMMENDEDTing Liu2016-07-221-1/+1
| | | | | | | | | * use += to append, instead of ?= * udev-rules-qoriq is not needed for all the qoriq boards, remove it. * add udev-extraconf and kernel-modules. Signed-off-by: Ting Liu <ting.liu@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* qoriq-arm64.inc: addTing Liu2016-07-224-2/+14
| | | | | | | | move KERNEL_IMAGETYPE setting from qoriq-base.inc as qoriq-arm64 has a different value. Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* qoriq-ppc.inc: rm UBOOT_ENTRYPOINT settingTing Liu2016-07-221-2/+0
| | | | | | | qoriq ppc boards don't need this variable being set. Signed-off-by: Ting Liu <ting.liu@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* qoriq-arm/qoriq-ppc: rm MKUBIFS_ARGS/UBINIZE_ARGS settingTing Liu2016-07-222-6/+0
| | | | | | | | The value for two variables is specific to each board. They should be added in machine configure file after being verified on each board. Signed-off-by: Ting Liu <ting.liu@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* qoriq-arm/qoriq-ppc: adjust MACHINEOVERRIDESTing Liu2016-07-228-10/+14
| | | | | | | | | Adjust the order of qoriq/qoriq-arm/qoriq-ppc. Old: e500mc:qoriq:p4080ds:qoriq-ppc New: qoriq:qoriq-ppc:e500mc:p4080ds Signed-off-by: Ting Liu <ting.liu@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* qoriq-arm.inc: move DEFAULTTUNE/UBOOT_ENTRYPOINT to ls1021atwr.confTing Liu2016-07-221-4/+0
| | | | | | | the specific values are for ls1021atwr. Signed-off-by: Ting Liu <ting.liu@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* imx-base.inc: Use linux-fslc-imx for i.MX6ULOtavio Salvador2016-07-151-1/+1
| | | | | Change-Id: I5e075f683e6f39bc2f2e1058eacdbef371a37abf Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* imx-base.inc: Use linux-fslc-imx for i.MX7Otavio Salvador2016-07-151-0/+1
| | | | | Change-Id: I6ef0574f3be9a3afd76ed4fbf36dbefab1e207ad Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* ipc-ust: not use IPC_UST_SOC variableTing Liu2016-07-151-4/+0
| | | | | | | bsc913x are not supported now. Signed-off-by: Ting Liu <ting.liu@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* imx-base: Add MACHINE_SOCARCH_FILTER for mx6ul and mx7dLauren Post2016-06-271-0/+2
| | | | | | | Add missing MACHINE_SOCARCH_FILTER for mx6ul and 7d to include imx multimedia Signed-off-by: Lauren Post <lauren.post@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* imx-base: Specific 7d for MACHINE_SOCARCH_SUFFIXLauren Post2016-06-271-1/+1
| | | | | | | Future mx7 will need separate SOCARCH_SUFFIX so don't apply to all mx7 Signed-off-by: Lauren Post <lauren.post@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* imx-base: Remove XSERVER_DRIVER_mx6ul - default case will workLauren Post2016-06-271-1/+0
| | | | | | | mx6ul is not mx6 so default case applies. This is redundant Signed-off-by: Lauren Post <lauren.post@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* imx-base: Improve sstate signature handling for BSP packagesOtavio Salvador2016-06-021-0/+8
| | | | | | | | | | | | | | | | | There are BSP packages which can have some dependencies removed from the sstate signature; this is beneficial as it reduces a lot the build time and increases the binaries reuse. Following changes are done: - Mark kernel-module-imx-gpu-viv and safe for imx-gpu-viv - Mark imx-vpu as safe for libimxvpuapi - Mark imx-vpu as safe for imx-vpuwrap - Mark imx-vpu as safe for imx-codec - Mark imx-vpu as safe for imx-test Change-Id: I1625d1e4d1cda529069c2d88218c4c84844ee4a8 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* imx-base.inc: Fix PACKAGE_ARCH attribution for multimedia librariesOtavio Salvador2016-06-021-2/+2
| | | | | | | | | | | | | The multimedia libraries offer the APIs for the application and as consequence every user of those libraries should be set as MACHINE_SOCARCH. This fixes the setting for: - imx-vpu - libimxvpuapi Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* imx-base: Stop using base_containsOtavio Salvador2016-05-161-1/+1
| | | | | | | | The base_contains function is deprecated and we ought to use bb.utils.contains instead. Change-Id: Ia60dcaff76d5309118906b144206066d139adf21 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* imx-base: Update MACHINE_EXTRA_RRECOMMENDS and MACHINE_SOCARCH_FILTERYuqing Zhu2016-05-071-2/+2
| | | | | | | | | libfslcodec/ libfslvpuwrap/ libfslparser/ fsl-alsa-plugins have been renamed as imx-codec/ imx-vpuwrap/ imx-parser/ imx-alsa-plugins, need to do update. Signed-off-by: Yuqing Zhu <carol.zhu@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* imx-base: Add MACHINE_GSTREAMER_1_0_PLUGIN for mx7 platformIan Coolidge2016-04-191-0/+1
| | | | | | | gstreamer1.0-plugins-imx was recently updated to be compatible with mx7 Signed-off-by: Ian Coolidge <ian@boundarydevices.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* linux-fslc-imx: Upgrade to the 3.14.52-1.1.0 GA based forkOtavio Salvador2016-04-191-1/+1
| | | | | | | | | | | | | | | | | | | The FSLC kernel fork has been updated for the 3.14-1.52-1.1.0 GA release. It is a consolidated release covering all i.MX active product lines covering: - i.MX6QDL - i.MX6SL - i.MX6SX - i.MX6UL - i.MX7D The patch also updates the linux-fslc-imx-rt flavour for the very same kernel fork and ensures people uses the built-in Vivante GPU driver, when using the Linux RT support, as the external kernel module does not support it yet. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* imx-base.inc: Move IMAGE_FSTYPES override to a SoC variableOtavio Salvador2016-04-191-2/+4
| | | | | | | | | | The IMAGE_FSTYPES need to be overriden without using the SoC family overrides, for user-friendness, and to allow this we need to use a SoC variable to construct the default value for setting. Related to [YOCTO: #8945]. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* imx-base: Set UBOOT_ENTRYPOINT for i.MX6ULJun Zhu2016-04-191-0/+1
| | | | | | | As i.MX6UL has been changed out of mx6 SOC family, it need set UBOOT_ENTRYPOINT Signed-off-by: Jun Zhu <junzhu@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* imx-base.inc: use modesetting driver for VybridStefan Agner2016-04-191-0/+1
| | | | | | | | | With the use of the new DCU DRM driver we can make use of the X-servers modesetting DDX driver. The driver uses directly the DRM/KMS interface. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* imx-base.inc: Add imx-vpu to MACHINE_ARCH_FILTERCarlos Rafael Giani2016-04-191-1/+1
| | | | | | | | imx-vpu is machine specific due to #define macros for the type of i.MX6 SoC (quad, duallite ..) Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* Remove DirectFB support for i.MX6Otavio Salvador2016-04-191-5/+0
| | | | | | | | | | | | | The DirectFB project is dead upstream for a while and the backend is deprecated so it is better to drop it and avoid new users to depend on it and instead to focus in the current technologies for new projects. This commit removes everything related to the DirectFB support so if someone wish to revert it locally it can be easily done. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Acked-by: Daiane Angolini <daiane.angolini@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* imx-base.inc: add default tune for VybridStefan Agner2016-04-191-0/+1
| | | | | | | | All Vybrid SoC's use the Cortex-A5 CPU. Add an appropriate default tune for the vf SoC. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* imx-base.inc: Set a default provider for u-boot-mxsboot-nativeOtavio Salvador2016-04-191-0/+2
| | | | | | | | | | | | | The O.S. Systems Embedded Linux provides an alternative version of U-Boot and, for completeness, an alternative recipe for u-boot-mxsboot-native. The provider, in imx-base.inc, had no default thus raising a warning. This turns the u-boot-fslc-mxsboot-native as the default provider but allows custom distributions to override it. Change-Id: I46799f9ec744a074d95c383561cf0cbddb26e151 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* imx-base.inc: Ensure MACHINE_HAS_VIVANTE_KERNEL_DRIVER_SUPPORT is expandedOtavio Salvador2016-04-191-1/+1
| | | | | | | | | The MACHINE_HAS_VIVANTE_KERNEL_DRIVER_SUPPORT needs to be expanded and cannot have a default overriden later, otherwise it does not respect the default set in the SoC. Change-Id: I1d90d173603e6ee258f3e05c7a53e576b3b1f552 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* imx-base.inc: Drop explicit 'ext4' filesystem from IMAGE_FSTYPESOtavio Salvador2016-04-191-2/+2
| | | | | | | | | The 'ext4' filesystem is automatically included as dependency of the SDCard image, so we can avoid this duplication in the IMAGE_FSTYPES variable. Change-Id: I235e2478845a4e394bbacd42d2e6e8170d1d4ce0 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* Move mxs-base.inc contents to imx-base.incOtavio Salvador2016-04-192-43/+9
| | | | | | | | | | | | | | The consolidation of all i.MX related base settings allows a more global view of the settings in place. One of the reasons for this patch is the fragmentation caused by i.MX23 and i.MX28 SoCs using mxs-base.inc. The changes needed to get i.MX23 and i.MX28 SoCs working have been included in imx-base.inc file already and some values required rework to apply to specific SoC families to avoid regressions. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* imx-base.inc, mxs-base.inc: Use ext4 filesystem for images as defaultOtavio Salvador2016-04-192-4/+4
| | | | | | | The ext4 is now the default for images in OpenEmbedded-Core, we now follow this change for all i.MX reference boards. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* imx-base.inc, mxs-base.inc: Change default image to sdcard.gzOtavio Salvador2016-04-192-2/+2
| | | | | | | | | | Replace .sdcard image to sdcard.gz image as a default image type for all machines. The SDCard class has the feature of compress the generated .sdcard image. It can be used to ease the exchange of this image among developers or machines. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* imx-base.inc, mxs-base.inc: Stop generating tar.bz2 image tarball by defaultOtavio Salvador2016-04-192-2/+2
| | | | | | | | | | The tar.bz2 is useful for people using NFS or generating the SD card image byhand, those can enable this in the board file or in the local.conf when needed. By default the SD card image should be the only image built as it is the most commonly used one for initial development. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>