[PATCH 0/2] NAND: nandsim sector-wise allocation

Artem Bityutskiy dedekind at infradead.org
Fri Oct 6 02:44:34 EDT 2006


Hello Vijay,

On Thu, 2006-10-05 at 22:27 +0530, Vijay Kumar wrote:
> The present nandsim allocates memory equal to the size of the NAND
> flash during initialization in one shot. Thus it is impossible to
> simulate a 256MB NAND flash on a system with 128MB RAM. 

Right, I've been bearing a plan to fix this since long, I was even
thinking to re-implement it and make it able to work with HDD to emulate
really huge NANDs. But, time, time ...

> For most testing purposes, only a part of the the NAND memory
> allocated in the simulator is used. This patch set modifies the
> simulator so as to allocate a NAND page when it is written to, and
> deallocates the page when it is erased. With this it is possible to
> simulate large NAND flash devices on computers with less RAM.

Well, the idea sounds nice.

-- 
Best Regards,
Artem Bityutskiy (Битюцкий Артём)





More information about the linux-mtd mailing list