[meta-freescale] [meta-fsl-arm][PATCH 1/2] image_types_fsl.bbclass: Add support to not use bootloader for iMX

Otavio Salvador otavio at ossystems.com.br
Mon Dec 10 08:06:16 PST 2012


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 at ossystems.com.br>
---
 classes/image_types_fsl.bbclass |    2 ++
 1 file changed, 2 insertions(+)

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 () {
 		dd if=${DEPLOY_DIR_IMAGE}/barebox-${MACHINE}.bin of=${SDCARD} conv=notrunc seek=1 skip=1 bs=512
 		dd if=${DEPLOY_DIR_IMAGE}/bareboxenv-${MACHINE}.bin of=${SDCARD} conv=notrunc seek=1 bs=512k
 		;;
+		"")
+		;;
 		*)
 		bberror "Unkown IMAGE_BOOTLOADER value"
 		exit 1
-- 
1.7.10.4




More information about the meta-freescale mailing list