summaryrefslogtreecommitdiffstats
path: root/classes
diff options
context:
space:
mode:
Diffstat (limited to 'classes')
-rw-r--r--classes/image_types_fsl.bbclass14
1 files changed, 7 insertions, 7 deletions
diff --git a/classes/image_types_fsl.bbclass b/classes/image_types_fsl.bbclass
index cdfbb97e..63a10f30 100644
--- a/classes/image_types_fsl.bbclass
+++ b/classes/image_types_fsl.bbclass
@@ -13,9 +13,9 @@ do_image_uboot_mxsboot_sdcard[depends] += "u-boot-mxsboot-native:do_populate_sys
13 u-boot:do_deploy" 13 u-boot:do_deploy"
14IMAGE_CMD:uboot-mxsboot-sdcard() { 14IMAGE_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}.uboot-mxsboot-sdcard
17 ln -sf ${IMAGE_NAME}.rootfs.uboot-mxsboot-sdcard \ 17 ln -sf ${IMAGE_NAME}.uboot-mxsboot-sdcard \
18 ${DEPLOY_DIR_IMAGE}/${IMAGE_LINK_NAME}.rootfs.uboot-mxsboot-sdcard 18 ${DEPLOY_DIR_IMAGE}/${IMAGE_LINK_NAME}.uboot-mxsboot-sdcard
19} 19}
20 20
21# U-Boot mxsboot generation for NAND 21# U-Boot mxsboot generation for NAND
@@ -24,9 +24,9 @@ do_image_uboot_mxsboot_nand[depends] += "u-boot-mxsboot-native:do_populate_sysro
24IMAGE_CMD:uboot-mxsboot-nand() { 24IMAGE_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}.uboot-mxsboot-nand
28 ln -sf ${IMAGE_NAME}.rootfs.uboot-mxsboot-nand \ 28 ln -sf ${IMAGE_NAME}.uboot-mxsboot-nand \
29 ${DEPLOY_DIR_IMAGE}/${IMAGE_LINK_NAME}.rootfs.uboot-mxsboot-nand 29 ${DEPLOY_DIR_IMAGE}/${IMAGE_LINK_NAME}.uboot-mxsboot-nand
30} 30}
31 31
32# In case we are building for i.MX23 or i.MX28 we need to have the 32# In case we are building for i.MX23 or i.MX28 we need to have the
@@ -40,5 +40,5 @@ do_image_wic[depends] += " \
40IMAGE_CMD:wic:append:mxs-generic-bsp() { 40IMAGE_CMD:wic:append:mxs-generic-bsp() {
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.wic bs=1 count=1 seek=450 conv=notrunc
44} 44}