Hi Charles/all,
 
    Is it possible to build Mkyaffs utils on  visual studio 2005. i mean how difficult it is, if we take mkyaffs linux code and build on VS2005?
 
  Is there any other way around/options available?  my requirement is to build mkyaffs2image utility on VS2005.
 
Thanks for your help.
 
Regards,
Rammohan
      

On Mon, Jan 5, 2009 at 8:01 AM, Charles Manning <manningc2@actrix.gen.nz> wrote:
Hi Ram

On Thursday 25 December 2008 20:47:36 roy basavaraju wrote:
> Hi Charles Manning,
>
>       I am working with yaffs on cygwin environment..
>
> I am having two tasks at my hand..
>
> 1. i have to verify the yaffs image created on cygwin environment will work
> as efficient as in other environment.

What do you mean by "efficiently"?

The mkyaffs2image tool will generally need some tweaking to be useful.
Different flashes have different layouts for ECC etc and thus you will
generally need to fiddle around a bit to get the binary layout you need.

>
> 2. then i need to modify the yaffs code in such a way, mkyaffsimage should
> take input as a tar file rather than a directory.

That is a general programming question, not a yaffs one.

>
>   As a new-bie to yaffs, i need your views and some pointers on this area..
>
> Thanking you,
> Ram
> ---------- Forwarded message ----------
> From: Laurie van Someren <laurie@aleph1.co.uk>
> Date: Wed, Dec 24, 2008 at 6:20 PM
> Subject: yaffs technical support
> To: roy basavaraju <rammohan2b@gmail.com>
>
>
> Ram,
> I am not really competent to answer your question to the YAFFS list, but
> Charles Manning's reply to a similar question recently is as follows:-
>
>
> -------- Forwarded Message --------
> From: Charles Manning <manningc2@actrix.gen.nz>
>
> Cc: laurie@aleph1.co.uk
> Subject: re: yaffs technical support
> Date: Wed, 24 Dec 2008 13:48:10 +1300
>
> Hello
>
> Further to my last email...
>
> I built and ran the test code in cvs under cygwin with no modifications.
>
> Process as follows:
>
> 1) You need cygwin with make, gcc etc.
> 2) Fetch tarball from http://www.aleph1.co.uk/cgi-bin/viewcvs.cgi/yaffs2/
> 3) Unpack tarball
> 4) cd to yaffs2/direct
> 5) make
> 6) Run initialisation for test as follows:
>
> ./yaffs_test M18-1 fw_update_init 111
>
> 7) Run test code as follows:
> ./yaffs_test M18-1 fw_update 111
>
> or by running the run_fw_update_test.sh script
>
> Regards   Charles
>
>
> I hope this will help. Thanks
> LvS
> --
> Laurie van Someren    Aleph One Ltd    Old Courthouse    Bottisham
> CAMBRIDGE  CB25 9BA  UK   t: +44 (0)1 223 811 679  www.aleph1.co.uk