mount yaffs2 image with nandsim

# download yaffs2 kernel module from http://yaffs.net/using-git

git clone git://www.aleph1.co.uk/yaffs2

# compile & install yaffs kernel module

# load yaffs kernel module

modprobe yaffs.ko

# create 512M NAND with nandsim. more info: http://ggow.wikidot.com/using-mtd

modprobe nandsim first_id_byte=0×20 second_id_byte=0xac third_id_byte=0×00 fourth_id_byte=0×15

# write image to mtd

nandwrite -o /dev/mtd0 partition-readed-by-nandread.img

mount -o tags-ecc-off -t yaffs2 /dev/mtdblock0 /mnt/tmp

Leave a Reply

*
To prove that you're not a bot, enter this code
Anti-Spam Image

Subscribe without commenting