$ modprobe nandsim first_id_byte=0x20 second_id_byte=0xaa third_id_byte=0x00 fourth_id_byte=0x15 parts=1,3,2,16,16,2010
$ modprobe ubi $ modprobe ubifs
$ ubiformat /dev/mtd5 -s 512 -O 512 -f <rootfs_image>
$ ubiattach /dev/ubi_ctrl -p /dev/mtd5
$ mkdir -p /mnt/n900 $ mount ubi:rootfs /mnt/n900 -t ubifs
$ umount /mnt/n900 $ ubidetach /dev/ubi_ctrl -d 0 $ rmmod ubifs $ rmmod ubi $ rmmod nandsim