Access entire device with mtdblock0
Mike Frysinger
vapier.adi at gmail.com
Tue Jan 13 18:10:22 EST 2009
On Fri, Jan 9, 2009 at 19:58, Adam Yergovich wrote:
> There was a grand feature in the 2.4 flavor of MTD that i used wherein
> mtdblock0 was assigned the entirety of the device. This made updating
> the flash image very easy.
>
> I've since started messing around with 2.6 flavors, and while i have a
> working map that gives the partitions i can no longer access the entire
> device. I've tried a few things without success to get it to work.
>
> Any recommendations on a simple way to create a partition using the
> entirety of flash?
looks like no one responded. i'm pretty sure the answer is to use
add_mtd_device() even in face of add_mtd_partitions().
-mike
More information about the linux-mtd
mailing list