diff options
Diffstat (limited to 'classes/image_types_fsl.bbclass')
-rw-r--r-- | classes/image_types_fsl.bbclass | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/classes/image_types_fsl.bbclass b/classes/image_types_fsl.bbclass index c49c51b7..9f76273f 100644 --- a/classes/image_types_fsl.bbclass +++ b/classes/image_types_fsl.bbclass | |||
@@ -9,9 +9,9 @@ UBOOT_SUFFIX ?= "bin" | |||
9 | MXSBOOT_NAND_ARGS ?= "" | 9 | MXSBOOT_NAND_ARGS ?= "" |
10 | 10 | ||
11 | # U-Boot mxsboot generation for uSD | 11 | # U-Boot mxsboot generation for uSD |
12 | do_image_uboot_mxsboot_sdcard[depends] += "u-boot-mxsboot-native:do_populate_sysroot \ | 12 | do_image_uboot:mxsboot_sdcard[depends] += "u-boot-mxsboot-native:do_populate_sysroot \ |
13 | u-boot:do_deploy" | 13 | u-boot:do_deploy" |
14 | IMAGE_CMD_uboot-mxsboot-sdcard() { | 14 | IMAGE_CMD:uboot-mxsboot-sdcard() { |
15 | mxsboot sd ${DEPLOY_DIR_IMAGE}/u-boot-${MACHINE}.${UBOOT_SUFFIX} \ | 15 | mxsboot sd ${DEPLOY_DIR_IMAGE}/u-boot-${MACHINE}.${UBOOT_SUFFIX} \ |
16 | ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.uboot-mxsboot-sdcard | 16 | ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.uboot-mxsboot-sdcard |
17 | ln -sf ${IMAGE_NAME}.rootfs.uboot-mxsboot-sdcard \ | 17 | ln -sf ${IMAGE_NAME}.rootfs.uboot-mxsboot-sdcard \ |
@@ -19,9 +19,9 @@ IMAGE_CMD_uboot-mxsboot-sdcard() { | |||
19 | } | 19 | } |
20 | 20 | ||
21 | # U-Boot mxsboot generation for NAND | 21 | # U-Boot mxsboot generation for NAND |
22 | do_image_uboot_mxsboot_nand[depends] += "u-boot-mxsboot-native:do_populate_sysroot \ | 22 | do_image_uboot:mxsboot_nand[depends] += "u-boot-mxsboot-native:do_populate_sysroot \ |
23 | u-boot:do_deploy" | 23 | u-boot:do_deploy" |
24 | IMAGE_CMD_uboot-mxsboot-nand() { | 24 | IMAGE_CMD:uboot-mxsboot-nand() { |
25 | mxsboot ${MXSBOOT_NAND_ARGS} nand \ | 25 | mxsboot ${MXSBOOT_NAND_ARGS} nand \ |
26 | ${DEPLOY_DIR_IMAGE}/u-boot-${MACHINE}.${UBOOT_SUFFIX} \ | 26 | ${DEPLOY_DIR_IMAGE}/u-boot-${MACHINE}.${UBOOT_SUFFIX} \ |
27 | ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.uboot-mxsboot-nand | 27 | ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.uboot-mxsboot-nand |
@@ -33,11 +33,11 @@ IMAGE_CMD_uboot-mxsboot-nand() { | |||
33 | # image stream built before the wic generation | 33 | # image stream built before the wic generation |
34 | do_image_wic[depends] += " \ | 34 | do_image_wic[depends] += " \ |
35 | ${@bb.utils.contains('IMAGE_FSTYPES', 'uboot-mxsboot-sdcard', \ | 35 | ${@bb.utils.contains('IMAGE_FSTYPES', 'uboot-mxsboot-sdcard', \ |
36 | '${IMAGE_BASENAME}:do_image_uboot_mxsboot_sdcard', '', d)} \ | 36 | '${IMAGE_BASENAME}:do_image_uboot:mxsboot_sdcard', '', d)} \ |
37 | " | 37 | " |
38 | 38 | ||
39 | # We need to apply a fixup inside of the partition table | 39 | # We need to apply a fixup inside of the partition table |
40 | IMAGE_CMD_wic_append_mxs() { | 40 | IMAGE_CMD:wic:append:mxs() { |
41 | # Change partition type for mxs processor family | 41 | # Change partition type for mxs processor family |
42 | bbnote "Setting partition type to 0x53 as required for mxs' SoC family." | 42 | bbnote "Setting partition type to 0x53 as required for mxs' SoC family." |
43 | echo -n S | dd of=$out${IMAGE_NAME_SUFFIX}.wic bs=1 count=1 seek=450 conv=notrunc | 43 | echo -n S | dd of=$out${IMAGE_NAME_SUFFIX}.wic bs=1 count=1 seek=450 conv=notrunc |