diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2012-12-10 10:11:13 -0200 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2012-12-12 15:29:38 -0200 |
commit | c0903c257e75e6c6e6ebedb4f882b7fdff8acd00 (patch) | |
tree | 5708a20cf40f652d1b7c129f0e805f67a1363e74 /classes | |
parent | 3f492de880563802eb44e16feb7180dfd057ab77 (diff) | |
download | meta-fsl-arm-c0903c257e75e6c6e6ebedb4f882b7fdff8acd00.tar.gz |
image_types_fsl.bbclass: Add support to not use bootloader for iMX
Some machines might come with a bootloader in an internal flash (a SPI
NOR, for example) so not requiring a boot loader in the image.
Change-Id: Id1a69c6c6b60639694a64b2b7badd16ee4b0d2f7
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'classes')
-rw-r--r-- | classes/image_types_fsl.bbclass | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/classes/image_types_fsl.bbclass b/classes/image_types_fsl.bbclass index c369832..8414848 100644 --- a/classes/image_types_fsl.bbclass +++ b/classes/image_types_fsl.bbclass | |||
@@ -106,6 +106,8 @@ generate_imx_sdcard () { | |||
106 | dd if=${DEPLOY_DIR_IMAGE}/barebox-${MACHINE}.bin of=${SDCARD} conv=notrunc seek=1 skip=1 bs=512 | 106 | dd if=${DEPLOY_DIR_IMAGE}/barebox-${MACHINE}.bin of=${SDCARD} conv=notrunc seek=1 skip=1 bs=512 |
107 | dd if=${DEPLOY_DIR_IMAGE}/bareboxenv-${MACHINE}.bin of=${SDCARD} conv=notrunc seek=1 bs=512k | 107 | dd if=${DEPLOY_DIR_IMAGE}/bareboxenv-${MACHINE}.bin of=${SDCARD} conv=notrunc seek=1 bs=512k |
108 | ;; | 108 | ;; |
109 | "") | ||
110 | ;; | ||
109 | *) | 111 | *) |
110 | bberror "Unkown IMAGE_BOOTLOADER value" | 112 | bberror "Unkown IMAGE_BOOTLOADER value" |
111 | exit 1 | 113 | exit 1 |