public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Robin Gilks <robin.gilks@tait.co.nz>
To: mtd list <linux-mtd@lists.infradead.org>
Subject: Re: mtdparts howto required!!
Date: Thu, 18 Mar 2004 12:30:41 +1300	[thread overview]
Message-ID: <4058DFA1.2080707@tait.co.nz> (raw)
In-Reply-To: <405632E3.9040509@tait.co.nz>

Don't you just love it when someone replies to their own post!!

Problem solved - it would be nice if it were written down somewhere that 
the physmap.c example is only that - a non-working example in that it 
doesn't define a master mtd device which means you can't define the 
partitions on it!!

Also, when a master device is defined there is nothing to indicate that 
the mtdparts command line has to use the same name as the mtd_id - in 
fact I've found nothing that defines what mtd_id is. Who would have 
believed that I needed a command line of the form
mtdparts=phys_mapped_flash:7M(jffs2),256K(u-boot),-(kernel)
in order to use the default name (which doesn't work for reasons above 
anyway!!)

Oh well - its kept me entertained for 3 days instead of doing real work...

Robin Gilks wrote:
> Greetings
> 
> I'm trying to map 3 partitions into a single flash device using the 
> mtdparts command line stuff. I'm using a 2.4.22 kernel cross compiled 
> from i686 to PowerPC with mtd patches from CVS as of 19th Feb.
> 
[snip]


-- 
Robin Gilks
Senior Design Engineer          Phone: (+64)(3) 357 1569
Tait Electronics                Fax  :  (+64)(3) 359 4632
PO Box 1645 Christchurch        Email : robin.gilks@tait.co.nz
New Zealand

  reply	other threads:[~2004-03-17 23:31 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-15 22:49 mtdparts howto required!! Robin Gilks
2004-03-17 23:30 ` Robin Gilks [this message]
2004-03-18  8:42   ` David Woodhouse
2004-03-18 22:16     ` Robin Gilks

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=4058DFA1.2080707@tait.co.nz \
    --to=robin.gilks@tait.co.nz \
    --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