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

Vijay Kumar vijaykumar at bravegnu.org
Thu Oct 5 12:57:40 EDT 2006


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. 

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.

Regards,
Vijay

-- 
Free the Code, Free the User.
Website: http://www.bravegnu.org





More information about the linux-mtd mailing list