public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* nand flash's size overflow
@ 2008-05-05  0:55 marco.qu
  2008-05-05  3:19 ` Josh Boyer
  0 siblings, 1 reply; 3+ messages in thread
From: marco.qu @ 2008-05-05  0:55 UTC (permalink / raw)
  To: linux-mtd

Hi,all
  I'm using two 4G Bbyte nand flash chip (totally 8GB) under kernel 2.6.24.3, but the size and offset int the mtd and chip structures are int type(32 bit), so my flash's size if overflow. is there an official way to solve this problem?

Thanks!!

                                                                                                       marco
                                                                                                            2007-5-5

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

* Re: nand flash's size overflow
  2008-05-05  0:55 nand flash's size overflow marco.qu
@ 2008-05-05  3:19 ` Josh Boyer
  2008-05-06 22:07   ` Bruce_Leonard
  0 siblings, 1 reply; 3+ messages in thread
From: Josh Boyer @ 2008-05-05  3:19 UTC (permalink / raw)
  To: marco.qu; +Cc: linux-mtd

On Mon, 5 May 2008 08:55:06 +0800
"marco.qu" <szlinux@21cn.com> wrote:

> Hi,all
>    is there an official way to solve this problem?

Provide patches to convert the MTD subsystem to overcome the limit of
using a 32bit variable to store size/offset in a sane manner.

This is getting asked often enough that it should be an FAQ.

josh

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

* Re: nand flash's size overflow
  2008-05-05  3:19 ` Josh Boyer
@ 2008-05-06 22:07   ` Bruce_Leonard
  0 siblings, 0 replies; 3+ messages in thread
From: Bruce_Leonard @ 2008-05-06 22:07 UTC (permalink / raw)
  To: Josh Boyer; +Cc: linux-mtd

> > Hi,all
> >    is there an official way to solve this problem?
> 
> Provide patches to convert the MTD subsystem to overcome the limit of
> using a 32bit variable to store size/offset in a sane manner.
> 
> This is getting asked often enough that it should be an FAQ.
> 
> josh
> 

Josh,

I was the first one to raise this issue a couple of months ago, and 
fortunately I've finally convinced my company that all the hack jobs we 
kept coming up with to avoid fixing this were a waste of time.  Once I 
wrap up some work I've got in progress I'm going to start working on a 
solution.  Hopefully get started in about a week.  Stand by for questions 
;-).

Bruce

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

end of thread, other threads:[~2008-05-06 22:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-05  0:55 nand flash's size overflow marco.qu
2008-05-05  3:19 ` Josh Boyer
2008-05-06 22:07   ` Bruce_Leonard

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