From: DT <ceqcharz@yahoo.com>
To: linux-mtd@lists.infradead.org
Subject: How to make MTD partition writable at runtime?
Date: Tue, 25 Dec 2007 18:41:08 -0800 (PST) [thread overview]
Message-ID: <289335.52399.qm@web45106.mail.sp1.yahoo.com> (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
reply other threads:[~2007-12-26 2:53 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=289335.52399.qm@web45106.mail.sp1.yahoo.com \
--to=ceqcharz@yahoo.com \
--cc=linux-mtd@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox