Updated for new ubuntu image, which has /dev/mtd's pre-created, but as character devices instead of block.