* mtd concatenate support for pxa2xx-flash mapping driver
@ 2008-09-04 17:59 Jeff Sutherland
[not found] ` <48C0B79E.2020909@gmail.com>
0 siblings, 1 reply; 2+ messages in thread
From: Jeff Sutherland @ 2008-09-04 17:59 UTC (permalink / raw)
To: linux-mtd
I'm working currently in 2.6.25. Is anyone working on mtd concatenation
support for this particular driver? $customer selected 64Mbyte NOR flash
chip for root filesystem, but in reality it is two 32Mb die in one package,
and I need one mtd partition > 32mb after taking care of bootloader,
environment, and kernel.
Regards,
-Jeff
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: mtd concatenate support for pxa2xx-flash mapping driver
[not found] ` <48C0B79E.2020909@gmail.com>
@ 2008-09-05 22:59 ` Jeff Sutherland
0 siblings, 0 replies; 2+ messages in thread
From: Jeff Sutherland @ 2008-09-05 22:59 UTC (permalink / raw)
To: Vernon Sauder; +Cc: linux-mtd
On Friday 05 September 2008, apparently Vernon Sauder wrote:
> Jeff Sutherland wrote:
> > I'm working currently in 2.6.25. Is anyone working on mtd concatenation
> > support for this particular driver? $customer selected 64Mbyte NOR flash
> > chip for root filesystem, but in reality it is two 32Mb die in one
> > package, and I need one mtd partition > 32mb after taking care of
> > bootloader, environment, and kernel.
>
> Is this the P30 strataflash 48F4400 variety? I created a custom patch
> for that but converted to using the phymap-flash support from 2.6.25.1
> and backported it to 2.6.24.4. I use the command line parsing.
I got this sorted out today. It turns out the physmap-flash driver will fail
silently if you specify a command line partition that spans twom chips. In
other words, I had specified in the kernel config the total size of installed
flash, but had left unchecked config_mtd_concat. On startup physmap-flash
would correctly identify both chips inside the 48F4400 part, and even let me
make a partition (passed in from the kernel command line) that spanned the
boundary between chips. But jffs2 had a cow with the smaller erase blocks at
the 32m boundary. Simply turning on CONFIG_MTD_CONCAT solved all the
problems, sigh...
Regards,
-Jeff
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-09-05 22:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-04 17:59 mtd concatenate support for pxa2xx-flash mapping driver Jeff Sutherland
[not found] ` <48C0B79E.2020909@gmail.com>
2008-09-05 22:59 ` Jeff Sutherland
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox