This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: Porting a new flash driver
Hi, Gary,
Gary Thomas <gary@mlbassoc.com> wrote:
> Markus Schaber wrote:
> > Andrew Lunn <andrew@lunn.ch> wrote:
> >
> >>> Ugly, because it looks like the flash driver interface consists of some
> >>> static functions, so it will be impossible to support different flashes
> >>> concurrently. Luckily, we'll only need a single flash unit at the
> >>> moment.
> >> Take a look at the flash_v2 branch. We hope that in the next few
> >> months to merge this into the trunk.
> >
> > That sounds interesting, I'll have a look at it. But I'm afraid that,
> > for now, I'll go the short path.
>
> Albeit more complex, using the flash_v2 branch is probably your
> only choice if you want to run JFFS2 on NAND. There's quite a lot
> of work involved in making this functional (hence why it's not already
> in the tree!). In particular, the JFFS2 code will need to be updated
> and there are many NAND specific functions which it expects to be
> available which the mainline (flash_v1) does not support.
It seems that the flash_v2 branch was forked 2003, so there are 5 years
of differences between the branch and the trunk. So I have to step
deeply into the eCos internas to figure out and merge the needed
changes, it seems.
Regards,
Markus
--
Markus Schaber | Logical Tracking&Tracing International AG
Dipl. Inf. | Software Development GIS
Fight against software patents in Europe! www.ffii.org
www.nosoftwarepatents.org
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss