modprobe nandsim first_id_byte=0xec second_id_byte=0xd5 third_id_byte=0x51 fourth_id_byte=0xa6
modprobe ubi
ubiformat /dev/mtd0 -s 4096 -f ./mdm9607-perf-sysfs.ubi &>/dev/null
ubiattach /dev/ubi_ctrl -m 0 -O 4096 &>/dev/null
mkdir -p ./build/fs/
mount -t ubifs ubi0 ./build/fs/
umount -f ./build/fs/
rm -fr ./build/fs
ubidetach /dev/ubi_ctrl -m 0
modprobe -r ubifs ubi nandsim