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 | 6b2d118bccf188384dbc21af2e72324099bc6fa3 (patch) | |
tree | 5676bd5a2f4852725e8072bd42f644b81fc89fe0 /classes | |
parent | 49aefc25c6c63c634090e6b923e0fd89871ebf00 (diff) | |
download | meta-fsl-arm-6b2d118bccf188384dbc21af2e72324099bc6fa3.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 'classes')
-rw-r--r-- | classes/image_types_fsl.bbclass | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/classes/image_types_fsl.bbclass b/classes/image_types_fsl.bbclass index dfa55e4..c0fa9b6 100644 --- a/classes/image_types_fsl.bbclass +++ b/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 | ||