Flash drivers and filesystem (fwd)
Quoted 2 lines · [email protected] said:
What is this applied against? This looks remarkably like it would fit
nicely with the more general chagnes I made...
Against Alex's original patch, I believe.
Quoted 2 lines
Everyone rewriting the flash chip code for every new device is getting old :>
Indeed. I'm working on recombining them all into one - was yours based upon mine, or were they both based on something I can't find any more (I honestly can't remember)?
Once we've done that, I'll look at putting up a public CVS server.
---- ---- ----
David Woodhouse [email protected] Office: (+44) 1223 810302
Project Leader, Process Information Systems Mobile: (+44) 976 658355
Axiom (Cambridge) Ltd., Swaffham Bulbeck, Cambridge, CB5 0NA, UK.
finger [email protected] for PGP key.
To unsubscribe, send "unsubscribe mtd" to [email protected]
Quoted 5 lines · David Woodhouse
Quoted 2 lines · [email protected] said:
What is this applied against? This looks remarkably like it would fit
nicely with the more general chagnes I made...Against Alex's original patch, I believe.
Hm, I don't have that code, just the original MTD stuff that was posted on lwn some weeks back.
Quoted 6 lines
Quoted 2 lines
Everyone rewriting the flash chip code for every new device is getting old :>
Indeed. I'm working on recombining them all into one - was yours based upon mine, or were they both based on something I can't find any more (I honestly can't remember)?
Well, mine is the most different of all of them and has a bit of a strange history. I started with the MTD (which was originally derived from the PCMICA code) stuff I mentioned above and wrote a complete working driver for that then I talked to my friend Gergely who had written a from scratch block driver for his flash board, I also needed a block driver so I took his stuff and my stuff and re-arranged the two, then I wrote another driver for another board here and we end up with my version. The entire thing is from scratch and ended up pretty clean, I c+p'd ideas from everywhere to get it going though.
Jason
To unsubscribe, send "unsubscribe mtd" to [email protected]
Quoted 19 lines · Jason Gunthorpe
Quoted 5 lines · David Woodhouse
Quoted 2 lines · [email protected] said:
What is this applied against? This looks remarkably like it would fit
nicely with the more general chagnes I made...Against Alex's original patch, I believe.
Hm, I don't have that code, just the original MTD stuff that was posted on lwn some weeks back.
Quoted 6 lines
Quoted 2 lines
Everyone rewriting the flash chip code for every new device is getting old :>
Indeed. I'm working on recombining them all into one - was yours based upon mine, or were they both based on something I can't find any more (I honestly can't remember)?
Quoted 5 lines
Well, mine is the most different of all of them and has a bit of a strange history. I started with the MTD (which was originally derived from the PCMICA code) stuff I mentioned above and wrote a complete working driver for that then I talked to my friend Gergely who had written a from scratch block driver for his flash board, I also needed a block driver so I took
Actually my driver was a transparent block device with some hacks to make big writes in 64k blocks, did erase on the fly, so there was no need to specifically erase it, so any rw filesystem could be put on it.. of course it would wear out quickly...
I managed to boot linux from it using a small bios extensions which emulated a floppy, and a few hacks to the ll_rw_blk and ramdisk code to allow the kernel to load a ramdisk from this special device. This was the fastest way I could produce something interesting to show to the people because we had attended a conference/expo a couple of weeks after this flash board has been finished... linux started booting from it two days before the expo :)
It booted, ran nicely, I could save the configuration, etc.
Anyway, Jasons code seems very nice, this board (a sync serial board btw with a flash piggyback attached) works with it ok (except when it hangs when I want to write a byte which hasn't been erased :)) and there are still some small scheduling issues...
Greg
To unsubscribe, send "unsubscribe mtd" to [email protected]