On Sat, 2007-10-20 at 09:22 -0700, Sun Devil wrote:
> 1. Can we write an user level FTL and interface with NANDSim, so that,
> for the application, simulated flash appears to be a physical device,
> and I can format the same volume in what ever way possible?
Yes, I suppose you could. You could access the 'flash' through
the /dev/mtd0 character device, then provide a block device to the
kernel by using something like nbd. It's probably better to do it in the
kernel though.
> 2. Do you have any implementations of FTL at Kernel level?
Yes. We have the simplistic 'mtdblock' which doesn't really do any
translation at all, we have 'FTL' which works only on NOR flash, and we
have 'NFTL' and 'INFTL' for use on DiskOnChip devices. There is a helper
layer which is designed to make it relatively easy for you to provide
your own translation layer, without having to get too deeply involved in
how Linux block device drivers work.
> 3. Are there any NAND Flash simulators that you know of apart from NANDSim?
Well, there's a OneNAND sim too. And it's not that hard to use real NAND
flash either -- see Jörn's new 'Alauda' driver for certain USB devices.
--
dwmw2
출처 : http://lists.infradead.org/pipermail/linux-mtd/2007-October/019627.html
'연구' 카테고리의 다른 글
ext4 (0) | 2011.03.06 |
---|---|
mtd 자료 블로그 (0) | 2010.12.06 |
nftl module problem (0) | 2010.12.01 |
MTD nandsim HOWTO for yaffs users (0) | 2010.09.30 |
하드디스크의 CHS와 LBA, 그리고 CHS <-> LBA Translator (0) | 2010.07.21 |
WRITTEN BY
- RootFriend
개인적으로... 나쁜 기억력에 도움되라고 만들게되었습니다.
,