Added docs and code for use with real MTD as well as emulation, and patched