Update u-boot to the lates sunxi version. They changed the sdcard layout so update a10 sdcard image class to reflect these changes.

This commit is contained in:
Nicolas Aguirre
2013-10-19 07:42:23 +02:00
parent 91ee5beccc
commit e46a72cf39
2 changed files with 7 additions and 8 deletions

View File

@ -79,7 +79,7 @@ IMAGE_CMD_a10-sdimg () {
dd if=${SDIMG_ROOTFS} of=${SDIMG} conv=notrunc seek=1 bs=$(expr 1024 \* ${BOOT_SPACE_ALIGNED} + ${IMAGE_ROOTFS_ALIGNMENT} \* 1024) && sync && sync
fi
#write u-boot-spl.bin and u-boot
dd if=${DEPLOY_DIR_IMAGE}/sunxi-spl.bin of=${SDIMG} bs=1024 seek=8 conv=notrunc
dd if=${DEPLOY_DIR_IMAGE}/u-boot.bin of=${SDIMG} bs=1024 seek=32 conv=notrunc
#write u-boot and spl at the beginint of sdcard in one shot
dd if=${DEPLOY_DIR_IMAGE}/u-boot-sunxi-with-spl.bin of=${SDIMG} bs=1024 seek=8 conv=notrunc
}