|
|
Re: Creating an ETFS on NAND
|
|
12/01/2009 1:16 PM
post42976
|
Re: Creating an ETFS on NAND
Dave Sarrazin would actually know the answers to your questions. However he is on cruise on boat in the carribean.
Since I don't like boats, I'll try to answer:
The only way I know to write an ETFS boot image to nand is to
1. boot neutrino, say with a serial download
2. configure etfs with a raw partition (-r option)
3. use etfsctl to write the image to the raw partition
And yes, the etfs files have a spare area in every block, and it is non optional.
Note also that to boot an etfs image, your ipl needs to know how to skip bad nand blocks and ingore the spare areas of
each block. (there are examples of such in the ipl code our our existing BSPs.)
-ad
Dave Bott wrote:
> My customer is using an Atmel ARM G45 board (based on M10 BSP) using Neutrino 6.4.1 and says/asks:
>
> "
> I've been successful at building an ETFS image using mketfs.
> I then use etfs-ctrl to create the file system on the target unit.
>
> I havn't been able to download the etfs image using the Atmel downloader called SAM-BA
> The bad block markers are the same between QNX and SAM-BA, however, the ECC and other data in the spare area is not
compatible.
>
> The etfs has things like erasesig[2], fid, clusterhi, etc. in its spare data area where SAM-BA doesn't know anything
about them.
> SAM-BA only downloads the data area and creates the spare data area.
>
> Questions:
> Does the etfs image include the spare data area of each page? (I might be able to download the spare data area).
> Is it possible for me to create the spare data area? I don't see how I would know the fid (file id) unless it's
something simple.
>
> My only other choices are:
> Unsolder the NAND (after the etfs is loaded) and send it to the programming house to use for programming our parts.
(I don't think this will work because they probably are like Atmel's SAM-BA).
> OR
> Use the serial port to transfer the etfs image file and use a script to initialize the file system.
> OR
> Use the USB to transfer the etfs image file when production builds the units. (Production doesn't have easy access to
any port but the USB).
>
> "
>
> Any suggestions for how to write the ETFS image using something other than etfs-ctrl ?
>
> Thanks !
>
> Dave
>
>
>
>
> _______________________________________________
>
> General
> http://community.qnx.com/sf/go/post42973
>
|
|
|
|
|