Porting drivers to Linux

December 5, 2008

We’ve made some progress on the USB gadget driver for Linux, and we’re now running a generic serial gadget for communication. This implementation is important because USB is now a lot less laggy and things like ethernet over USB, etc., can eventually be supported, easing access. We’ve also got pretty far with porting the NAND driver to Linux. Most of the read support is now there, and we’ve isolated the routines in the iPhone kernel where the raw hardware write occurs. CPICH and c1de0x are working on reversing it. Hopefully, it will be analogous enough to reads that it won’t take a huge amount of time to work out. This is different from reversing their FTL, however, which is a complicated slew of data structures, merge buffers and other exotic algorithms that take care of evenly distributing writes throughout the device and also making writes take less time. I think reversing all of that would take too much time and effort. Instead, my proposal is to just reverse the hardware NAND writes. Instead of using a partition, we would have a loop-mounted root filesystem (similar to how Wubi is setup), with the root filesystem being a file on the Media partition.

See original here: 
Porting drivers to Linux

Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • LinkedIn
  • Live
  • Propeller
  • Reddit
  • Slashdot
  • StumbleUpon
  • Yahoo! Buzz

Tags: , , , , ,

Leave a Reply

Anti-Spam Protection by WP-SpamFree

Sponsors

Feature

How Do You Transfer Your Contacts From Your Sim Card To Your Iphone?

I just got an iPhone recently, and I would like to transfer my contacts from my previous phone to my iPhone. However, there is...
Read more »

Sponsors