nand flash's size overflow
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-5Quoted 2 lines · On Mon, 5 May 2008 08:55:06 +0800 "marco.qu" <[email protected]> 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
Quoted 10 lines
Quoted 2 lines
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