From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-fx0-f49.google.com ([209.85.161.49]) by bombadil.infradead.org with esmtp (Exim 4.72 #1 (Red Hat Linux)) id 1OnUg7-00088G-CQ for linux-mtd@lists.infradead.org; Mon, 23 Aug 2010 10:55:00 +0000 Received: by fxm12 with SMTP id 12so3435642fxm.36 for ; Mon, 23 Aug 2010 03:54:56 -0700 (PDT) Subject: Re: MTD Flash Partition: change possible? From: Artem Bityutskiy To: Arno Steffen In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Date: Mon, 23 Aug 2010 13:53:25 +0300 Message-ID: <1282560805.24044.5.camel@localhost> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Cc: linux-mtd@lists.infradead.org Reply-To: dedekind1@gmail.com List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Mon, 2010-08-23 at 12:23 +0200, Arno Steffen wrote: > In my embedded system the Flash-partition table is compiled into kernel. > Is there a way to change partition table without booting a new kernel? How? > > Background: I want to update an embedded system and change the size of > partitions. But tools as flash_eraseall and nandwrite use partitions > of the current kernel. If I want to change the size of the partitions, > this is impossible. > If I first flash a new kernel with new partition table, I have to > reboot and the system will not start, as the old partitioning scheme > is still active. There were at least 2 patches. One from Nokia - it was ok, but a small change was requested and the author disappeared. One was from Samsung - I did not look at it so far. The patches were sent to the MTD mailing list a month or 2 ago. -- Best Regards, Artem Bityutskiy (Артём Битюцкий)