[U-Boot] Question about dfu flash rootfs image

Bo Shen voice.shen at atmel.com
Sat Oct 12 09:18:12 CEST 2013


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


More information about the U-Boot mailing list