@ac000: You asked about NAND and I answered about NAND. But somewhere I told, that with eMMC you do not need any additional driver as the mainline dwmmc driver should work, if not, use the rkmmc. Then your partitions should be addressed as /dev/mmcblk0... You can use rknand.ko as it can handle SD and MMC too, but it is not needed for eMMC as the usual drivers work fine. If you need to sign and lock your systems images, you probably need to use RK Loader and rknand.ko but for open source you won't do that.
To avoid misunderstandings: The word NAND is commonly used for raw NAND memory, having just blocks of FLASH. On the operating system side (Android / Linux /...) additional software has to provide bad block management (BBT), error detection and correction (ECC) and wear-leveling (FTL).
eMMC is NAND behind a logic block that includes all of the above in hardware. So there is no additional software needed. You just write to a logical block device (LBA adressing) and the eMMC internal controller transfers LBA to physical memory blocks while keeping care of BBT, ECC and FTL.
Astralix |