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: create a /dev/flash1 entry


Which flash driver file, should I add them to .cdl or
create a new .ecm ?
Thanks in advance.
rgds
Raghu

> > I have added CYGPKG_FS_JFFS2 package and its
> dependant
> > packages. And trying to execute "fseek1.c" test
> app.
> > But with no results, how do we create the
> > "/dev/flash1" entry i.e.
> > CYGDAT_IO_FLASH_BLOCK_DEVICE_NAME_1
 
> You need to do some configuration in the FLASH
> driver for this.
> I like to have JFFS2 discover the partition info
> using RedBoot's
> FIS.  Thus, I create a FIS image 'JFFS2' and then
> enable it using
> the attached .ecm file.

> > cdl_configuration eCos {
>     package CYGPKG_FS_JFFS2 current ;
>     package CYGPKG_IO_FLASH current ;
>     package CYGPKG_LINUX_COMPAT current ;
>     package CYGPKG_COMPRESS_ZLIB current ;
>     package CYGPKG_CRC current ;
> };
> 
> cdl_component CYGNUM_IO_FLASH_BLOCK_CFG_FIS_1 {
>     user_value 1
> };
> 
> cdl_component CYGDAT_IO_FLASH_BLOCK_FIS_NAME_1 {
>     user_value "\"JFFS2\""
> };
> 
> cdl_option CYGOPT_FS_JFFS2_DEBUG {
>     user_value 0
> };
> 
> 
> 



		
__________________________________ 
Do you Yahoo!? 
All your favorites on one personal page ? Try My Yahoo!
http://my.yahoo.com 

-- 
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]