Skip to content

Commit

Permalink
[hd51] image recovery fix the issue then image site more than 200 mb,…
Browse files Browse the repository at this point in the history
… recovery not working, but now recovery 1 gb and restore time need longer
  • Loading branch information
atvcaptain authored and koivo committed Nov 19, 2016
1 parent 7962a62 commit 1842e6e
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -349,7 +349,7 @@ def doFullBackup(self, DIRECTORY):
cmdlist.append('mcopy -i %s/boot.img -v %s/STARTUP_4 ::' % (self.WORKDIR, self.WORKDIR))
cmdlist.append('dd conv=notrunc if=%s/boot.img of=%s bs=1024 seek=%s' % (self.WORKDIR, EMMC_IMAGE, BOOT_PARTITION_OFFSET ))
cmdlist.append('dd conv=notrunc if=/dev/%s of=%s bs=1024 seek=%s' % (self.MTDKERNEL, EMMC_IMAGE, KERNEL_PARTITION_OFFSET ))
cmdlist.append('dd if=/dev/%s of=%s bs=1024 seek=%s count=%s' % (self.MTDROOTFS, EMMC_IMAGE, ROOTFS_PARTITION_OFFSET, IMAGE_ROOTFS_SIZE ))
cmdlist.append('dd if=/dev/%s of=%s bs=1024 seek=%s' % (self.MTDROOTFS, EMMC_IMAGE, ROOTFS_PARTITION_OFFSET ))
self.session.open(Console, title = self.TITLE, cmdlist = cmdlist, finishedCallback = self.doFullBackupCB, closeOnSuccess = True)

def doFullBackupCB(self):
Expand Down

0 comments on commit 1842e6e

Please sign in to comment.