public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] Question about dfu flash rootfs image
@ 2013-10-12  7:18 Bo Shen
  2013-10-14  5:43 ` Heiko Schocher
  0 siblings, 1 reply; 4+ messages in thread
From: Bo Shen @ 2013-10-12  7:18 UTC (permalink / raw)
  To: u-boot

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 at least with 
WITH_DROP_FFS set.

   Till now, I don't find any good solution to pass the parameter, 
except hard code it or through "#ifdef CONFIG_CMD_NAND_TRIMFFS" to set it.
   Any suggestions for it and any other solution?

Best Regards,
Bo Shen

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-10-14  7:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-12  7:18 [U-Boot] Question about dfu flash rootfs image Bo Shen
2013-10-14  5:43 ` Heiko Schocher
2013-10-14  6:46   ` Lukasz Majewski
2013-10-14  7:08   ` Bo Shen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox