mounting an ubi image - victronenergy/venus GitHub Wiki
mknod /dev/mtd0 c 90 0
modprobe nandsim first_id_byte=0x2c second_id_byte=0xac third_id_byte=0x00 fourth_id_byte=0x15
(note 8bit instead of 16bit)
Creating 1 MTD partitions on "NAND 512MiB 1,8V 8-bit":
dd if=ubi.img of=/dev/mtd0 bs=2048
modprobe ubi mtd=0
mount -t ubifs /dev/ubi0_0 /mnt/ubifs
# do something
# cleanup
umount /mnt/ubifs
rmmod ubifs ubi nandsim