public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* Re: Partition question...
@ 2001-09-10 17:55 Chris Lesiak
  2001-09-10 19:52 ` David Woodhouse
  0 siblings, 1 reply; 5+ messages in thread
From: Chris Lesiak @ 2001-09-10 17:55 UTC (permalink / raw)
  To: linux-mtd, Siders, Keith


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/

^ permalink raw reply	[flat|nested] 5+ messages in thread
* Partition question...
@ 2001-08-15 17:41 Siders, Keith
  0 siblings, 0 replies; 5+ messages in thread
From: Siders, Keith @ 2001-08-15 17:41 UTC (permalink / raw)
  To: linux-mtd

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2001-09-12 11:43 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-09-10 17:55 Partition question Chris Lesiak
2001-09-10 19:52 ` 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox