Create remove resize MTD partitions at runtime...is it possible?
Ravi Vasarla
ravi.vasarla at sasken.com
Mon Mar 23 12:33:21 EDT 2009
Hi,
What do you mean the system up? does it means the MTD driver is loaded, then you want to change the mtd partition? in that case it is not possible to change the mtd partitions details.
As the entire partition is mapped by the respective MTD driver only once, so once it is configured as read only then it will only change by MTD driver modification.
Regards,
Ravi
________________________________________
From: linux-mtd-bounces at lists.infradead.org [linux-mtd-bounces at lists.infradead.org] On Behalf Of Ico Hristo [ico.yankov at gmail.com]
Sent: Monday, March 23, 2009 17:41
To: linux-mtd at lists.infradead.org
Subject: Create remove resize MTD partitions at runtime...is it possible?
Hello,
I'm trying to find out whether I can create and MTD partition after
the system is loaded. I'm running custom embedded linux on arm9 custom
board, the four MTD partitions are defined in cmdlinepart and the
first one is marked as read-only. The concrete question is whether
it's possilbe and what should I do to create mtd4 that overlaps mtd0
and mtd1 dynamically while the system is up and running (in ramdisk) ?
I've researched the topic and mtd source tree and the best I could do
is create new MTD within the boudries of existing one (this also could
solve my problem, but does not overrides the read-only attribute on
mtd0). Any help would be greatly appreciated.
Best regards,
Hristo Yankov
______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/
SASKEN BUSINESS DISCLAIMER
-------------------------
This message may contain confidential, proprietary or legally privileged information. In
case you are not the original intended Recipient of the message, you must not, directly or
indirectly, use, Disclose, distribute, print, or copy any part of this message and you are
requested to delete it and inform the sender. Any views expressed in this message are
those of the individual sender unless otherwise stated. Nothing contained in this message
shall be construed as an offer or acceptance of any offer by Sasken Communication
Technologies Limited ("Sasken") unless sent with that express intent and with due
authority of Sasken. Sasken has taken enough precautions to prevent the spread of
viruses. However the company accepts no liability for any damage caused by any virus
transmitted by this email
More information about the linux-mtd
mailing list