diff options
| author | Alexey Ignatov <lexszero@gmail.com> | 2014-06-05 14:21:59 +0400 |
|---|---|---|
| committer | Otavio Salvador <otavio@ossystems.com.br> | 2014-06-05 13:54:41 -0300 |
| commit | 61d9046560b42ea15760d2690cb094e08b2d8370 (patch) | |
| tree | 4db627a8ab96ab9b96283a6a89353adf33f0deb2 /meta-fsl-arm/classes | |
| parent | f0a02cf176699661a250cfad152c2653a23887c4 (diff) | |
| download | meta-freescale-61d9046560b42ea15760d2690cb094e08b2d8370.tar.gz | |
image_types_fsl.bbclass: Add U-Boot NAND support for i.MX23/i.MX28
This adds support to generate the U-Boot image for use with NAND
(uboot.mxsboot-nand) and allows for custom params to be given for
mxsboot using the MXSBOOT_NAND_ARGS variable which should be defined
in the machine definition file.
Signed-off-by: Alexey Ignatov <lexszero@gmail.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'meta-fsl-arm/classes')
| -rw-r--r-- | meta-fsl-arm/classes/image_types_fsl.bbclass | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/meta-fsl-arm/classes/image_types_fsl.bbclass b/meta-fsl-arm/classes/image_types_fsl.bbclass index dfa55e46e..c0fa9b6bd 100644 --- a/meta-fsl-arm/classes/image_types_fsl.bbclass +++ b/meta-fsl-arm/classes/image_types_fsl.bbclass | |||
| @@ -10,6 +10,7 @@ UBOOT_SUFFIX_SDCARD ?= "${UBOOT_SUFFIX}" | |||
| 10 | # | 10 | # |
| 11 | # Handles i.MX mxs bootstream generation | 11 | # Handles i.MX mxs bootstream generation |
| 12 | # | 12 | # |
| 13 | MXSBOOT_NAND_ARGS ?= "" | ||
| 13 | 14 | ||
| 14 | # IMX Bootlets Linux bootstream | 15 | # IMX Bootlets Linux bootstream |
| 15 | IMAGE_DEPENDS_linux.sb = "elftosb-native:do_populate_sysroot \ | 16 | IMAGE_DEPENDS_linux.sb = "elftosb-native:do_populate_sysroot \ |
| @@ -59,6 +60,12 @@ IMAGE_DEPENDS_uboot.mxsboot-sdcard = "u-boot-mxsboot-native:do_populate_sysroot | |||
| 59 | IMAGE_CMD_uboot.mxsboot-sdcard = "mxsboot sd ${DEPLOY_DIR_IMAGE}/u-boot-${MACHINE}.${UBOOT_SUFFIX} \ | 60 | IMAGE_CMD_uboot.mxsboot-sdcard = "mxsboot sd ${DEPLOY_DIR_IMAGE}/u-boot-${MACHINE}.${UBOOT_SUFFIX} \ |
| 60 | ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.uboot.mxsboot-sdcard" | 61 | ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.uboot.mxsboot-sdcard" |
| 61 | 62 | ||
| 63 | IMAGE_DEPENDS_uboot.mxsboot-nand = "u-boot-mxsboot-native:do_populate_sysroot \ | ||
| 64 | u-boot:do_deploy" | ||
| 65 | IMAGE_CMD_uboot.mxsboot-nand = "mxsboot ${MXSBOOT_NAND_ARGS} nand \ | ||
| 66 | ${DEPLOY_DIR_IMAGE}/u-boot-${MACHINE}.${UBOOT_SUFFIX} \ | ||
| 67 | ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.uboot.mxsboot-nand" | ||
| 68 | |||
| 62 | # Boot partition volume id | 69 | # Boot partition volume id |
| 63 | BOOTDD_VOLUME_ID ?= "Boot ${MACHINE}" | 70 | BOOTDD_VOLUME_ID ?= "Boot ${MACHINE}" |
| 64 | 71 | ||
