Porting drivers to Linux

Posted by planetbeing on under raw hardware, e care, bad blocks, locati, ftl, data structures, slew, gadget, amount of time, algorithms, kernel, sectors, ace, yaffs, proposal, benefit, linux |

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. Since there's a non-empty file at that location, the FTL system, whatever it is, must create a one-to-one mapping from logical sectors to physical NAND pages. We can already read the mapping it creates (we have already reversed the read-side FTL code), and so all we have to do to alter the data is to write to the same pages we would've read from. Of course, this means that wear-leveling and bad block handling is not performed. However, if we use a filesystem that's aware of bad blocks and can wear-level (YAFFS or JFFS2), then it amounts to the same thing. The wear-leveling would then take place over the particular physical pages belonging to the rootfs image, rather than the entirety of the NAND. This would make the physical pages belonging to the rootfs image wear out a little faster than the rest of the NAND, but the actual effect of this should be inconsequential.

The additional benefit of this setup is that there's no repartitioning required, so setup is cinch. See this wiki document for specific proposed implementation details.
Tagi: raw hardware, e care, bad blocks, locati, ftl, data structures, slew, gadget, amount of time, algorithms, kernel, sectors, ace, yaffs, proposal, benefit, linux

Digg: AI Spacesuits Turn Astronauts Into Cyborg Biologists

Posted by on under barren landscape, patrick mcguire, digital eyes, signs of life, spacesuits, human eyes, biologists, astronauts, university of chicago, algorithms |

Equipped with wearable AI systems and digital eyes that see what human eyes can't, space explorers of the future could be not just astronauts, but "cyborg astrobiologists.” That’s the vision of a research team led by Patrick McGuire, a University of Chicago geoscientist who’s developed algorithms that recognize signs of life in a barren landscape.




7-DAY TOP DOWNLOADED ITEMS:
  Reddit: Astronauts Cast Their Ballots From The International Space Station, Remember To Cast Yours.
  Porting drivers to Linux
Tagi: barren landscape, patrick mcguire, digital eyes, signs of life, spacesuits, human eyes, biologists, astronauts, university of chicago, algorithms

A Portable Laser Backpack For 3D Mapping

Posted by on under inertial measurement units, university of california berkeley, novel sensor, breakthrough technology, human operator, range finders, similar systems, backpack, lasers, algorithms, robot, university of california, cameras, cart, photo |

wooferhound writes "A portable laser backpack for 3D mapping has been developed at the University of California, Berkeley, where it is being hailed as a breakthrough technology capable of producing fast, automatic and realistic 3D mapping of difficult interior environments. ... The backpack is the first of a series of similar systems to work without being strapped to a robot or attached to a cart. At the same time, its data acquisition speed is very fast, as it collects the data while the human operator is walking; this is in contrast with existing systems in which the data is painstakingly collected in a stop-and-go fashion, resulting in days and weeks of data acquisition time. It utilizes novel sensor fusion algorithms that use cameras, lasers range finders and inertial measurement units to generate a textured, photo-realistic, 3D model that can operate without GPS input and that is a big challenge."

Read more of this story at Slashdot.





Tagi: inertial measurement units, university of california berkeley, novel sensor, breakthrough technology, human operator, range finders, similar systems, backpack, lasers, algorithms, robot, university of california, cameras, cart, photo