aboutsummaryrefslogtreecommitdiffstats
path: root/classes/image_types_fsl.bbclass
AgeCommit message (Collapse)Author
2017-01-27image_types_fsl.bbclass: Remove i.MX 6UL specific metadataOtavio Salvador
The SoC is now dealt as a i.MX6 SoC so there is no need for the specific metadata. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-10-18classes/image_types_fsl: Add support to use uboot extlinuxFabio Berton
Class that allows extlinux.conf generation for U-Boot use was introduced on OE-core commits: - 7c18abeb2a6ef8b7bb53aa92a9ee76bd465fada2 - 33df3a65f3e8e136811da715d0cc247ce66ae0ea We need to copy extlinux.conf file to boot partition inside /extlinux directory. This file will be only copied if UBOOT_EXTLINUX is set to 1. Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-09-13Use IMGDEPLOYDIR for SDCard image generationOtavio Salvador
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>
2016-08-05image_types_fsl.bbclass: Ensure i.MX23 and i.MX28 image stream are availableOtavio Salvador
The i.MX23 and i.MX28 image stream must be built prior the sdcard generation. The example of a failure is: ,---- | DEBUG: Executing shell function do_image_sdcard | 0+0 records in | 0+0 records out | 0 bytes (0 B) copied, 1.5848e-05 s, 0.0 kB/s | dd: failed to open '....rootfs.uboot.mxsboot-sdcard': No such file or directory | WARNING: exit code 1 from a shell command. `---- The failure has been found by O.S. Systems autobuilder when running the regression tests. Change-Id: I64ecca1160e038e15629516f97e8ade5d645be31 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-08-05image_types_fsl.bbclass: Allow sdcard dependencies to be setOtavio Salvador
Instead of resetting the sdcard dependencies, we append them. This allow those to be set before class inherit. Change-Id: I588a549abfe756fea38d0133c5c21ef06dfcb230 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-04-19image_types_fsl.bbclass: Fix image generation for i.MX 6UltraLiteFelipe Provenzano
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>
2016-04-19image_types_fsl.bbclass: Use FAT 32 for images larger than 512MBTzu-Jung Lee
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>
2016-04-19image_types_fsl.bbclass: Fail if a Device Tree file is missingOtavio Salvador
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>
2016-04-19image_types_fsl.bbclass: Refactor boot image duplicated codeOtavio Salvador
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>
2016-04-19image_types_fsl.bbclass: make mkfs.vfat use FAT32 in all casesSchrempf Frieder
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>
2016-04-19image_types_fsl.bbclass: Fix DeviceTree copy for FAT partitionOtavio Salvador
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>
2015-07-28image_types_fsl: Add support for mx7 image generationLauren Post
Signed-off-by: Lauren Post <lauren.post@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-07-16Move meta-fsl-arm content to layer rootOtavio Salvador
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>