From: Bo Shen <voice.shen@atmel.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] Question about dfu flash rootfs image
Date: Sat, 12 Oct 2013 15:18:12 +0800 [thread overview]
Message-ID: <5258F7B4.8000409@atmel.com> (raw)
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
next reply other threads:[~2013-10-12 7:18 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-12 7:18 Bo Shen [this message]
2013-10-14 5:43 ` [U-Boot] Question about dfu flash rootfs image Heiko Schocher
2013-10-14 6:46 ` Lukasz Majewski
2013-10-14 7:08 ` Bo Shen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5258F7B4.8000409@atmel.com \
--to=voice.shen@atmel.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox