diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2014-12-03 14:49:40 -0200 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2014-12-06 17:54:08 -0200 |
commit | 329feeaf70a81ccd696fb55fc74f62fa1b86582a (patch) | |
tree | 64720163d55e595915cc732c0cbb4aead2202413 | |
parent | d73e4d4667ad54833e76321d5a4bc7f6800dd313 (diff) | |
download | meta-fsl-arm-329feeaf70a81ccd696fb55fc74f62fa1b86582a.tar.gz |
image_types_fsl.bbclass: Use 69K as offset to load image
The U-Boot mainline uses 69K as offset so we ought to use it here;
this aligns the SD card image layout to work out of box with all
U-Boot mainline based SPL boards.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
-rw-r--r-- | classes/image_types_fsl.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/image_types_fsl.bbclass b/classes/image_types_fsl.bbclass index 9533578..53f8767 100644 --- a/classes/image_types_fsl.bbclass +++ b/classes/image_types_fsl.bbclass | |||
@@ -133,7 +133,7 @@ generate_imx_sdcard () { | |||
133 | u-boot) | 133 | u-boot) |
134 | if [ -n "${SPL_BINARY}" ]; then | 134 | if [ -n "${SPL_BINARY}" ]; then |
135 | dd if=${DEPLOY_DIR_IMAGE}/${SPL_BINARY} of=${SDCARD} conv=notrunc seek=2 bs=512 | 135 | dd if=${DEPLOY_DIR_IMAGE}/${SPL_BINARY} of=${SDCARD} conv=notrunc seek=2 bs=512 |
136 | dd if=${DEPLOY_DIR_IMAGE}/u-boot-${MACHINE}.${UBOOT_SUFFIX_SDCARD} of=${SDCARD} conv=notrunc seek=42 bs=1K | 136 | dd if=${DEPLOY_DIR_IMAGE}/u-boot-${MACHINE}.${UBOOT_SUFFIX_SDCARD} of=${SDCARD} conv=notrunc seek=69 bs=1K |
137 | else | 137 | else |
138 | dd if=${DEPLOY_DIR_IMAGE}/u-boot-${MACHINE}.${UBOOT_SUFFIX_SDCARD} of=${SDCARD} conv=notrunc seek=2 skip=${UBOOT_PADDING} bs=512 | 138 | dd if=${DEPLOY_DIR_IMAGE}/u-boot-${MACHINE}.${UBOOT_SUFFIX_SDCARD} of=${SDCARD} conv=notrunc seek=2 skip=${UBOOT_PADDING} bs=512 |
139 | fi | 139 | fi |