This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: create a /dev/flash1 entry
- From: Raghu <raghu_dk at yahoo dot com>
- To: ecos-discuss at ecos dot sourceware dot org
- Date: Thu, 27 Jan 2005 19:35:34 -0800 (PST)
- Subject: [ECOS] 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