Skip to content

Instantly share code, notes, and snippets.

@maluta
Created April 27, 2012 21:03
Show Gist options
  • Save maluta/2513212 to your computer and use it in GitHub Desktop.
Save maluta/2513212 to your computer and use it in GitHub Desktop.
UBI issues
modprobe mtd
modprobe mtdblock
modprobe mtdram total_size=200000 erase_size=128
modprobe ubi
ubiformat /dev/mtd0
ubiattach /dev/ubi_ctrl -m 0
ubimkvol /dev/ubi0 -N VOLUME -s 192MiB
ubiupdatevol /dev/ubi0_0 /home/maluta/system.ubi
mount -t ubifs ubi0:VOLUME /home/maluta/system/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment