max size of MTD?
Vinit Agnihotri
vinit.agnihotri at calsoftinc.com
Mon Jan 8 06:49:25 EST 2007
U have mentioned of creating 1 MTD device of 6GB by mtdconcat. However I am
curious to know how many mtd devices u've concatenated to make 6GB
possible??? I am using mtdramm as test device but I am not able to allocate
memory over 1GB. So no question of having even more devices to make it above
5GB. Can you focus on the same question & help me. How can I allocate more
memory than 4GB??? Or how can I create 6GB MTD device.
My current test machine is AMD 64bit opteron with 1GB memory.
Thanks in advance.
Vinit.
-----Original Message-----
From: linux-mtd-bounces at lists.infradead.org
[mailto:linux-mtd-bounces at lists.infradead.org] On Behalf Of Seongsu Lee
Sent: Saturday, January 06, 2007 2:30 PM
To: linux-mtd at lists.infradead.org
Subject: Re: max size of MTD?
On Fri, Jan 05, 2007 at 04:29:41PM +0900, Seongsu Lee wrote:
> Hi,
>
> What is the max size of a partition that can be used in MTD?
> I found that the u_int32_t is used for the variable size
> in mtd_info. Then, I think 4GB is currently the max size.
> Am I right?
>
> I want to use 6GB flash memory with a partition. How can I
> fix it for using more than 4GB? I changed u_int32_t into
> u_int64_t but it does not work. (kernel oops)
Hi,
I changed the type of variable size in structure mtd_info
from u_int32_t to u_int64_t. Some code such as printk is
modified after the change. It works. I tested that
mtdconcat can create 6GB MTD device as one device.
--
Seongsu's blog - http://www.senux.com/
The aim of a joke is not to degrade the human being
but to remind him that he is already degraded. --
George Orwell
______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/
More information about the linux-mtd
mailing list