From: "Vinit Agnihotri" <vinit.agnihotri@calsoftinc.com>
To: <linux-mtd@lists.infradead.org>
Cc: 'Seongsu Lee' <senux@senux.com>
Subject: RE: max size of MTD?
Date: Mon, 8 Jan 2007 17:19:25 +0530 [thread overview]
Message-ID: <200701081149.l08BnQn5001183@mail.calsofthq.com> (raw)
In-Reply-To: <20070106085957.GA32684@pooky.senux.com>
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@lists.infradead.org
[mailto:linux-mtd-bounces@lists.infradead.org] On Behalf Of Seongsu Lee
Sent: Saturday, January 06, 2007 2:30 PM
To: linux-mtd@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/
next prev parent reply other threads:[~2007-01-08 11:50 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-05 7:29 max size of MTD? Seongsu Lee
2007-01-06 8:59 ` Seongsu Lee
2007-01-08 11:49 ` Vinit Agnihotri [this message]
2007-01-08 13:03 ` Josh Boyer
2007-01-09 15:54 ` Seongsu Lee
2007-01-10 8:27 ` Vinit Agnihotri
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200701081149.l08BnQn5001183@mail.calsofthq.com \
--to=vinit.agnihotri@calsoftinc.com \
--cc=linux-mtd@lists.infradead.org \
--cc=senux@senux.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox