linux-mtd.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: Artem Bityutskiy <dedekind1@gmail.com>
To: Arno Steffen <arno.steffen@googlemail.com>
Cc: linux-mtd@lists.infradead.org
Subject: Re: MTD Flash Partition: change possible?
Date: Mon, 23 Aug 2010 15:13:42 +0300	[thread overview]
Message-ID: <1282565622.24044.20.camel@localhost> (raw)
In-Reply-To: <AANLkTikc13g+5Q3YFMhgfJ1LWq_aMLUK1M9AFr2G1WSP@mail.gmail.com>

On Mon, 2010-08-23 at 14:11 +0200, Arno Steffen wrote:
> 2010/8/23 Artem Bityutskiy <dedekind1@gmail.com>:
> > 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 (Артём Битюцкий)
> >
> >
> 
> Spasibo, Artem.
> 
> I found the Nokia Patch
> http://lists.infradead.org/pipermail/linux-mtd/2010-June/030645.html
> This seems to be done for OneNand, while I am using Nand.

No, it is not OneNAND-specific!

> Regarding the pathes: That are requests to change, so it is not for
> sure that this is implemented in a new kernel?
> 
> I found this as an update to mtdutils.
> http://lists.infradead.org/pipermail/linux-mtd/2010-July/031200.html
>  Does this needs a new kernel to support this functions? I am using a 2.6.33.

Dunno, did not look at this.

> Reading this, I think there is no solution for my current system.
> Is there a way to show the startaddress of a partition? /proc/mtd
> shows just size, not start address.

I do not think we can change /proc/mtd, but isn't it easy to calculate
the start address using partition sizes?

-- 
Best Regards,
Artem Bityutskiy (Артём Битюцкий)

  reply	other threads:[~2010-08-23 12:15 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-23 10:23 MTD Flash Partition: change possible? Arno Steffen
2010-08-23 10:53 ` Artem Bityutskiy
2010-08-23 12:11   ` Arno Steffen
2010-08-23 12:13     ` Artem Bityutskiy [this message]
2010-08-23 13:09       ` Arno Steffen
2010-08-23 13:11         ` Artem Bityutskiy

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=1282565622.24044.20.camel@localhost \
    --to=dedekind1@gmail.com \
    --cc=arno.steffen@googlemail.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;
as well as URLs for NNTP newsgroup(s).