Hi,

On Wed, 2011-03-30 at 13:32 +0800, Xiangfu Liu wrote:
> I look into the "mkyaffsimage.c" line 253. is this correct?
>   we just need convert 
>      "struct yaffs_tags " --> " struct yaffs_ext_tags" --> "struct 
> yaffs_packed_tags2_tags_only"
>   then write the "struct yaffs_packed_tags2_tags_only" to the end of data 
> chunk
>   then pad to 16byes.
> 
> then the image should works in milkymist one nor flash with urjtag.

Sounds good.

If possible, try to truncate the image, i.e. remove the trailing
FFFFFF... This could potentially save a significant amount of flashing
time during production - the flash chips are shipped erased and filled
with F's so we do not need to write the whole 24MB partition when there
is less than 2MB worth of files to put on the FS.

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.

S.

_______________________________________________
http://lists.milkymist.org/listinfo.cgi/devel-milkymist.org
IRC: #milkymist@Freenode
Twitter: www.twitter.com/milkymistvj
Ideas? http://milkymist.uservoice.com

Reply via email to