public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: "Chris Lesiak" <clesiak@licor.com>
To: linux-mtd@lists.infradead.org, "Siders,
	Keith" <keith_siders@toshibatv.com>
Subject: Re: Partition question...
Date: Mon, 10 Sep 2001 12:55:28 -0500	[thread overview]
Message-ID: <86256AC3.006369F1.00@hooper2.licor.com> (raw)


I also have two banks mapped contiguously into virtual memory that I would
like to be seen as one.

The problem is that RedBoot (and ECOS) seems to only support one flash
logical device.  I wrote an ECOS flash driver that treated both banks as a
single large logical device.  RedBoot stores its partition table in the last
erase
block of the device.  So in my case, a single partition table is store in the
last
erase block of the second bank but partitions the space of both banks.

When I get to the linux, mtd seems to expect a partition table for each bank.

What is the best way to reconcile the problem?
Can linux also easily see both banks as a single device that can be partitioned?

Chris Lesiak
clesiak@licor.com



If the addressing between two Flash devices remains linear with no gaps,
can they be part of the same mtd[n] partition, or must the next chip be
mtd[n+1]?

I have two 32-bit Flash devices (or so I'm told). Since this is a MIPS
application the
reset vector is 0xBFC00000. The Flash devices are 0xBE000000-BEFFFFFF and
0xBF000000-BFFFFFFF, so I have 4Megs at the top of the second device, with
the
first device and lower 12Megs of the second giving me 28Megs of linear Flash

available.

Keith Siders
Software Engineer
 Toshiba America Consumer Products, Inc.
Advanced Television Technology Center
801 Royal Parkway, Suite 100
Nashville, Tennessee 37214
Phone: (615) 257-4050
Fax:   (615) 453-7880


______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

             reply	other threads:[~2001-09-10 18:01 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-10 17:55 Chris Lesiak [this message]
2001-09-10 19:52 ` Partition question David Woodhouse
2001-09-12 11:41   ` Alex Liao
2001-09-12 11:49     ` David Woodhouse
  -- strict thread matches above, loose matches on Subject: below --
2001-08-15 17:41 Siders, Keith

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=86256AC3.006369F1.00@hooper2.licor.com \
    --to=clesiak@licor.com \
    --cc=keith_siders@toshibatv.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