This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re[4]: sharing Flash with eCOS & JFFS2


Hello, Gary.

E.g. I don't have any standard methods for adding another fis
image(/dev/flash1, /dev/flash2) into eCOS configuration.
Am I right?


GT> Michael Jastrebtsoff said:
>> Hello, Gary.
>>
>> But how Can I get access to this created partitions ffrom eCOS?
>> I mean How can I add to eCOS cfg descriptions of fis-created partitions?
>>
>> in eCos conf tool:
>>   "/FLASH device drivers/Instantiate in I/O block device API/.." - I
>>   see "/dev/flash1" only. But what about other fis's' created
>>   partitions?
>>
GT> There are a couple of things you could do: (none of this is automatic, sorry)
GT>   * Use the RedBoot FIS code to scan the partition table.  There are
GT>     virtual vector calls for doing this.  You would then have the information
GT>     to tell JFFS2 about the partition.
GT>   * A similar, but hard coded, version of this can be found in the Linux
GT>     MTD layer.  A look at the linux source tree could show you how to
GT>     find and pass the information on to JFFS2



-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]