summaryrefslogtreecommitdiffstats
path: root/classes
diff options
context:
space:
mode:
Diffstat (limited to 'classes')
-rw-r--r--classes/image_types_fsl.bbclass14
1 files changed, 14 insertions, 0 deletions
diff --git a/classes/image_types_fsl.bbclass b/classes/image_types_fsl.bbclass
index 4709af95..e7627200 100644
--- a/classes/image_types_fsl.bbclass
+++ b/classes/image_types_fsl.bbclass
@@ -312,3 +312,17 @@ IMAGE_TYPEDEP_sdcard_append = " \
312 ${@bb.utils.contains('IMAGE_FSTYPES', 'uboot-mxsboot-sdcard', 'uboot-mxsboot-sdcard', '', d)} \ 312 ${@bb.utils.contains('IMAGE_FSTYPES', 'uboot-mxsboot-sdcard', 'uboot-mxsboot-sdcard', '', d)} \
313 ${@bb.utils.contains('IMAGE_FSTYPES', 'barebox-mxsboot-sdcard', 'barebox-mxsboot-sdcard', '', d)} \ 313 ${@bb.utils.contains('IMAGE_FSTYPES', 'barebox-mxsboot-sdcard', 'barebox-mxsboot-sdcard', '', d)} \
314" 314"
315
316# In case we are building for i.MX23 or i.MX28 we need to have the
317# image stream built before the wic generation
318do_image_wic[depends] += " \
319 ${@bb.utils.contains('IMAGE_FSTYPES', 'uboot-mxsboot-sdcard', \
320 '${IMAGE_BASENAME}:do_image_uboot_mxsboot_sdcard', '', d)} \
321"
322
323# We need to apply a fixup inside of the partition table
324IMAGE_CMD_wic_append_mxs() {
325 # Change partition type for mxs processor family
326 bbnote "Setting partition type to 0x53 as required for mxs' SoC family."
327 echo -n S | dd of=$out${IMAGE_NAME_SUFFIX}.wic bs=1 count=1 seek=450 conv=notrunc
328}