[U-Boot] dfu: dfu and UBI Volumes
Pantelis Antoniou
panto at antoniou-consulting.com
Fri May 24 18:42:01 CEST 2013
Hi Heiko,
On May 24, 2013, at 7:39 PM, Heiko Schocher wrote:
> Hello,
>
> just digging in DFU support in U-Boot for an upcoming board support
> based on an AM335x. This board support uses for example a rootfs in
> an UBI Volume on a NAND flash, and this should be updated with dfu ...
>
> How To do this? Current state on this board is to erase the rootfs
> mtd partition with a nand erase and write the new image using
> dfu_nand.c ... which calls in the end nand_write ... which is ...
> lets say ... not the prefered way on an UBI volume ...
>
> How to solve this? Any ideas?
>
Well, what would you like ideally to do? Why is nand_write not ideal for
a UBI volume.
Note that dfu will skip over the bad blocks...
> bye,
> Heiko
> --
> DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
> HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Regards
-- Pantelis
More information about the U-Boot
mailing list