Re: [Yaffs] Yaffs and production image programming

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Charles Manning
Date:  
To: yaffs
Subject: Re: [Yaffs] Yaffs and production image programming
On Tuesday 24 August 2010 22:46:10 Sven Van Asbroeck wrote:
> I'd like to find out how well production flash image programming is
> supported by yaffs.
>
> Production image programming works as follows:
> - First the whole flash is saved to a master image, this includes main as
> well as spare areas. (the flash contains multiple yaffs partitions) - The
> master image file is sent to a production facility, where flash chips are
> programmed off a reel by an industrial flash programmer - The programmer
> detects and skips bad blocks in the master image, and detects and skips bad
> blocks on the target flash chip - So, after programming, block order is
> preserved, but the position of bad blocks may have changed.
>
> Will yaffs mount partitions on a programmed flash chip correctly? If the
> master image includes a check point, will this work ok?


This will work with a slight caveat. You must ensure that the image does not
include a checkpoint. The checkpoint is the only data that is
position-critical.

You can also use mkyaffs2image to generate such an image, but this generally
needs some tweaks.

-- CHarles