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-04 18:16:25 -0200 |
| commit | ab90df0651c740408a11c6c0ff54e6eaa292f32f (patch) | |
| tree | c9300e7ffe9b4751420d5bbc550e03e7b2c52745 /meta-fsl-arm/classes | |
| parent | e44ea12246f7148b1b52fc45485b5dec85f7bfbe (diff) | |
| download | meta-freescale-ab90df0651c740408a11c6c0ff54e6eaa292f32f.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>
Diffstat (limited to 'meta-fsl-arm/classes')
| -rw-r--r-- | meta-fsl-arm/classes/image_types_fsl.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-fsl-arm/classes/image_types_fsl.bbclass b/meta-fsl-arm/classes/image_types_fsl.bbclass index 953357868..53f8767a0 100644 --- a/meta-fsl-arm/classes/image_types_fsl.bbclass +++ b/meta-fsl-arm/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 |
