Hi Sebastien
On 03/30/2011 07:42 PM, Sebastien Bourdeauducq wrote:
> On Wed, 2011-03-30 at 13:38 +0200, Sebastien Bourdeauducq wrote:
>> I think the removal of the trailing F's could be done as a
>> post-processing step, maybe with a separate tool. YAFFS2 should write
>> the files at the beginning of the flash partition already.
>
> Hmm, or better, straight in the flashing tool. The flash chips are
> actually smart and do not erase already empty sectors (so sending an
> erase command to erase an empty sector is very fast).
> So all the flasher tool needs to do is skip writing large amounts of
> consecutive F's in a sector that was just erased... maybe it does that
> already?
> S.
>
>
by look into:
urjtag.git/urjtag/src/flash/flash.c Line298 urj_flashmem
urjtag.git/urjtag/src/flash/intel.c Line295 intel_flash_program_single
Line319 intel_flash_program_buffer
there is no such feature in flasher tool. but we can erase flash before
we flash.
I have test pad image 19MB. not-pad image 3.7MB
eraseflash 0xD20000 151
flashmem 0xD20000 flash5.bin-3.7MB noverify
it's needs ~1 min
--------------------------
flashmem 0xD20000 flash5.bin-19MB noverify
it's needs ~2.5 min
--
Best Regards
Xiangfu
-- Qi RSS feed, http://en.qi-hardware.com/feed/rss20.xml --
_______________________________________________
http://lists.milkymist.org/listinfo.cgi/devel-milkymist.org
IRC: #milkymist@Freenode
Twitter: www.twitter.com/milkymistvj
Ideas? http://milkymist.uservoice.com