Re: [PATCH]: uClinux (MMU-less) patches against 2.5.28

Greg Ungerer
2002-07-26T01:17:13Z

Hi David,

>David Woodhouse wrote:
> > gerg@snapgear.com said:
> >
> > A new set of uClinux (MMU-less) patches agains 2.5.28. You can get
it at:
> >
> >
http://www.uclinux.org/pub/uClinux/uClinux-2.5.x/linux-2.5.28uc0.patch.gz
> >
> >
> > Perhaps drop drivers/block/blkmem.c or justify reinventing the wheel?
>
> Indeed. That blkmem driver is a complete mess.
> I can't think of any justification for it existing :-)
> I'll work on cleaning that out.

You may have noticed some MAGIC_ROM_PTR patches in the mtd
driver code in this patch. This is to allow XIP for applications.
We have been support XIP for quite some time on uClinux, it
works really well.

A problem we have experienced with MTD is that the nature of
asynchronous writing to FLASH does not play nice with apps
runing XIP. Any thoughts on how to deal with this?

(blkmem does synchronous writes so it doesn't suffer any
problem. It just locks everyone out for an in-ordinate amount
of time while it does the FLASH write).

Regards
Greg

------------------------------------------------------------------------
Greg Ungerer -- Chief Software Wizard EMAIL: gerg@snapgear.com
SnapGear Pty Ltd PHONE: +61 7 3435 2888
825 Stanley St, FAX: +61 7 3891 3630
Woolloongabba, QLD, 4102, Australia WEB: www.snapgear.com