Re: [U-Boot] Question about dfu flash rootfs image

2013-10-14 Thread Bo Shen
Hi Heiko, On 10/14/2013 13:43, Heiko Schocher wrote: Hello Bo, Am 12.10.2013 09:18, schrieb Bo Shen: Hi All, Now I am implementing DFU support on Atmel sama5d3xek board, when try to download rootfs image to NAND flash through DFU, we need to drop ffs from rootfs image. Do you use ubi or jffs

Re: [U-Boot] Question about dfu flash rootfs image

2013-10-13 Thread Lukasz Majewski
Hi Heiko, > There was a discussion, how to reorganize the dfu_alt_info var, see: > > http://lists.denx.de/pipermail/u-boot/2013-July/158920.html > > I think, your question fits into this thread ... I plan to present some initial idea for dfu_alt_info at ELCE u-boot mini summit, so any input is

Re: [U-Boot] Question about dfu flash rootfs image

2013-10-13 Thread Heiko Schocher
Hello Bo, Am 12.10.2013 09:18, schrieb Bo Shen: Hi All, Now I am implementing DFU support on Atmel sama5d3xek board, when try to download rootfs image to NAND flash through DFU, we need to drop ffs from rootfs image. Do you use ubi or jffs2? In dfu_nand.c when it call nand_write_skip_bad()

[U-Boot] Question about dfu flash rootfs image

2013-10-12 Thread Bo Shen
Hi All, Now I am implementing DFU support on Atmel sama5d3xek board, when try to download rootfs image to NAND flash through DFU, we need to drop ffs from rootfs image. In dfu_nand.c when it call nand_write_skip_bad() with flags as 0. However, I need to call nand_write_skip_bad() with flags