Skip to contentSkip to conversation

How to make MTD partition writable at runtime?

DISCUSSION DT 1 participant 1 message Dec 26, 2007 Memory technology devices (MTD)

lore
Share & tools
lore

DT

author
#0 lore raw

Hi,
I am using u-boot/mtdparts to setup some partitions on a NOR flash.
mtd0: 00080000 00020000 "uboot"
mtd1: 00180000 00020000 "kernel"
mtd2: 01e00000 00020000 "root"

In my mtdparts I specified the first 2 partitions as read only. mtdparts=phys_mapped_flash:512k(uboot)ro,1536k(kernel)ro,-(root)

We have run into a case where we need to write to mtd1 after Linux is already running and changing the boot loader command line is not an option.
Is there a good way to do this?

Thanks in advance,
DT

      ____________________________________________________________________________________

Looking for last minute shopping deals?
Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping