Hi John, Thanks for following up. Based on the discussion at ELC, and since there is (almost) nothing Microblaze-specfic about the changes, I forwarded the patch upstream. I have not heard anything back yet. I attached a copy in case there is any uclinux interest. Be aware that the patch is against dosfstools V3.0.2, which is more recent than what's in PetaLinux. The upstream source is available here: http://www.daniel-baumann.ch/software/dosfstools/ It's not a perfect solution; depending on the size of FAT partition you try to check, you may need to fiddle with MAX_ORDER to get enough contiguous memory. Even then, it's possible to have really huge FAT partitions where there just isn't enough contiguous memory. But at least the patch reduces the largest malloc requests from 4x the partition FAT size to 1x. Hope you enjoyed your trip to the States. Regards, Steve -----Original Message----- From: John Williams <john.williams@xxxxxxxxxxxxx> To: microblaze-uclinux@xxxxxxxxxxxxxx Date: Mon, 20 Apr 2009 16:01:10 +1000 Subject: Re: [microblaze-uclinux] dosfstools updates > Hi Steve, > > Apologies for the delayed reply - as you know I as at ELC and some > other engagements in the US for a couple of weeks. > > If you want to post your patches here we can take a look, and by all > means send them upstream, as long as they are against a current > revision. IF they are against an ancient release there won't be a lot > of interest upstream I'm afraid. > > Thanks, > > John > > > On Sat, Apr 4, 2009 at 4:56 AM, Steve Magnani <steve@xxxxxxxxxxxxxxx> > wrote: > > Hi, > > > > I've come up with patches to dosfstools that allow mkdosfs and > dosfsck to > > run in the memory-limited MMU-less Microblaze uClinux environment. > I'm > > wondering where is the best place to submit them. Is anyone in this > group > > interested in reviewing / merging them? Or would it make more sense > to > > push them upstream into the main dosfstools distribution first? > > > > > ----------------------------------------------------------------------- > - > > Steven J. Magnani "I claim this network for > MARS! > > www.digidescorp.com Earthling, return my space > modulator!" > > > > #include <standard.disclaimer> > > > > > > ___________________________ > > microblaze-uclinux mailing list > > microblaze-uclinux@xxxxxxxxxxxxxx > > Project Home Page : > http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux > > Mailing List Archive : > http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/ > > > > > > > > -- > John Williams, PhD, B.Eng, B.IT > PetaLogix - Linux Solutions for a Reconfigurable World > w: www.petalogix.com p: +61-7-30090663 f: +61-7-30090663 > > ___________________________ > microblaze-uclinux mailing list > microblaze-uclinux@xxxxxxxxxxxxxx > Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux > Mailing List Archive : > http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/ >
Attachment:
dosfstools-microblaze.patch
Description: Binary data