
19 Jul
2013
19 Jul
'13
3:54 p.m.
Dear Lukasz Majewski,
On Fri, 19 Jul 2013 06:32:14 +0200 Heiko Schocher hs@denx.de wrote,
Hi Heiko,
updating an ubi partition needs a completely erased mtd partition, see: http://lists.infradead.org/pipermail/linux-mtd/2011-May/035416.html
So, add partubi alt setting for the dfu_alt_info environment variable to mark this partition as an ubi partition. In case we update an ubi partition, we erase after flashing the image into the partition, the remaining sektors.
I've tested it on Trats. This patch seems to be orthogonal and doesn't interfere with eMMC.
Tested-by: Lukasz Majewski l.majewski@samsung.com Ack-by: Lukasz Majewski l.majewski@samsung.com
I'll wait for Scott's ACK and then pick this, ok?
Best regards, Marek Vasut