summaryrefslogtreecommitdiffstats
path: root/classes
Commit message (Collapse)AuthorAgeFilesLines
* mfgtool-initramfs-image.bbclass: Fix parsing when using a barebox based machineOtavio Salvador2016-04-191-1/+2
| | | | | | | | | | | | | | | | | | | | | | | When building for cfa100xx machines, for meta-fsl-arm-extra, the parsing is aborted with: ,---- | ERROR: No IMAGE_CMD defined for IMAGE_FSTYPES entry | 'barebox.mxsboot-sdcard' - possibly invalid type name or missing | support class | ERROR: Failed to parse recipe: | .../sources/meta-fsl-arm/recipes-fsl/images/fsl-image-mfgtool-initramfs.bb `---- This error was caused by the image not providing all the filesystem types as in fact it generates a Gzipped CPIO filesystem and does not inherit the default ones. To solve the error we ought to include the override for 'mxs' SoC family so the right setting is used as well in this set of SoCs. Change-Id: If6e657793ed7af07decac217f6b3371fad1f521c Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* EULA: Update EULA to March v12 versionLauren Post2016-04-191-1/+2
| | | | | | | | Update mdsum in fsl-eula-unpack class pdate license mdsum in firmware, codec, parser and vpu Signed-off-by: Lauren Post <lauren.post@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* classes/u-boot: Update getVar syntaxZhenhua Luo2016-04-191-7/+7
| | | | | | | | | | | | | | | | This runs: sed -e 's:\(\.getVar([^,()]*\)):\1, False):g' -i `grep -ril getVar *` on the layer to update the getVar usages without an expand parameter, This ensures the layer continues to work with bitbake master. There is no functionality change although some of these sites may benefit from expand=True. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* EULA: Update to LA_OPT_BASE_LICENSE v10 November 2015Lauren Post2016-04-191-1/+1
| | | | | Signed-off-by: Lauren Post <lauren.post@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* fsl-vivante-kernel-driver-handler.bbclass: Postpone defconfig changesOtavio Salvador2016-04-191-8/+6
| | | | | | | | The defconfig changes should be done later in the process so the .config file is generated, using any other mean, and mangled to respect the distribution setting regarding the module use or not. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* image_types_fsl.bbclass: Fix image generation for i.MX 6UltraLiteFelipe Provenzano2016-04-191-0/+1
| | | | | | | | | | | | | | When the i.MX 6UltraLite (mx6ul) was separated from the SoC family mx6 (commit 24396b28f0137464cd82b9a19f705c1db180ead2) it started to create invalid sdcard images. This is because of SDCARD_GENERATION_COMMAND no more being triggered. The solution in this moment is add a mx6ul override for the SDCARD_GENERATION_COMMAND definition. Signed-off-by: Felipe Provenzano <felipeprovenzano@maxtrack.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* image_types_fsl.bbclass: Use FAT 32 for images larger than 512MBTzu-Jung Lee2016-04-191-1/+8
| | | | | | | | | | | | | | | Refers to the following commit of poky for more detail. commit 722430a488f39bf583e4a557a254fb84fae4d0a7 Author: Darren Hart <dvhart@linux.intel.com> Date: Wed Dec 12 14:39:15 2012 -0800 bootimg: Use FAT 32 for images larger than 512MB Fixes [YOCTO #2138] Signed-off-by: Tzu-Jung Lee <roylee17@currantlabs.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* image_types_fsl.bbclass: Fail if a Device Tree file is missingOtavio Salvador2016-04-191-0/+2
| | | | | | | | | | | | | | | | | | | When generating the rootfs we need to include all the referenced Device Tree files. The code were gracefully checking if the file existed before building the image however the expected behavior is to fail. As consequence of this change, if someone is using a very old kernel (no Device Tree based) and tries to generate an image, it will fail until the machine definition is changed to not list Device Tree files for installation. Currently all machines supported by meta-fsl-arm BSP are consistent for the default kernel in use however custom BSP may need to be changed accordingly. Change-Id: I548c65c61dfefe24154a455d097032b1598b14d3 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* image_types_fsl.bbclass: Refactor boot image duplicated codeOtavio Salvador2016-04-191-47/+42
| | | | | | | | | The code which copies the boot scripts and Device Tree files is duplicated across the different image types. This patch reworks this code to avoid this duplication. Change-Id: Ib9405067a5419e1b295dfac9e3d3bd9b896d424e Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* image_types_fsl.bbclass: make mkfs.vfat use FAT32 in all casesSchrempf Frieder2016-04-191-3/+4
| | | | | | | | | as otherwise FAT16 might be used, which seems quite outdated and can cause issues in certain environments (e.g. older versions of U-Boot) Change-Id: I2d89ad235084c4a1289fae180df043a2f9e05e63 Signed-off-by: Frieder Schrempf <frieder.schrempf@exceet.de> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* image_types_fsl.bbclass: Fix DeviceTree copy for FAT partitionOtavio Salvador2016-04-191-3/+3
| | | | | | | | | | The rootfs generation script now runs outside of the deploy directory so the code need to use the full path for the installed files. This fixes the rootfs generation process so the files are copied to the FAT partition, allowing the system to boot. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Tested-by: Daiane Angolini <daiane.angolini@freescale.com>
* fsl-vivante-kernel-driver-handler.bbclass: Handle Vivante kernel driver providerOtavio Salvador2016-04-191-0/+65
| | | | | | | | | | | | | | | | | | | | | | | | Enable the kernel to provide or not the Vivante kernel driver and dynamically set the proper providers per machine. The following options are supported: MACHINE_HAS_VIVANTE_KERNEL_DRIVER_SUPPORT Machine does or does not have support for the Vivante kernel driver, options are: 0 - machine does not have Vivante GPU driver support 1 - machine has Vivante GPU driver support MACHINE_USES_VIVANTE_KERNEL_DRIVER_MODULE Machine uses the Vivante kernel driver as module, options are: 0 - enable the builtin kernel driver module 1 - enable the external kernel module Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* EULA: Update to 2015.06 v8 versionLauren Post2016-04-191-1/+1
| | | | | | | | License updated to 2015.06 v8 version. Update checksum in the fsl-eula-unpack class Signed-off-by: Lauren Post <lauren.post@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* image_types_fsl: Add support for mx7 image generationLauren Post2015-07-281-0/+1
| | | | | Signed-off-by: Lauren Post <lauren.post@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* mfgtool-initramfs-image.bbclass: Add f2fs feature optionOtavio Salvador2015-07-281-0/+1
| | | | | | | | | | | The f2fs feature allows the use of Flash-Friendly File System during the installation. The feature is disabled by default as the f2fs-tools is offered by meta-filesystem layer which shouldn't be made as a hard dependency of meta-fsl-arm. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* Move meta-fsl-ppc content to layer rootOtavio Salvador2015-07-281-0/+18
| | | | | | | | This commit is just a rename of all contents of meta-fsl-ppc subdirectory to this layer's root, merging the contents of common files, subsequent changes are based on top of that. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* Move meta-fsl-arm content to layer rootOtavio Salvador2015-07-166-0/+558
The meta-fsl-arm is going to be used as the base for this layer. It contains a clean history and allowing a more granullar set of changes. This commit is just a rename of all contents of meta-fsl-arm subdirectory to this layer's root, subsequent changes are based on top of that. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>