Skip to content

Instantly share code, notes, and snippets.

@tinti
Forked from maluta/UBI issues
Created April 30, 2012 13:12
Show Gist options
  • Save tinti/2558246 to your computer and use it in GitHub Desktop.
Save tinti/2558246 to your computer and use it in GitHub Desktop.
# UBI mount
# source:
# http://mytechrants.wordpress.com/2010/01/20/ubiubifs-on-nandsim/
# http://www.plugcomputer.org/plugwiki/index.php/Enabling_UBIFS
modprobe nandsim first_id_byte=0x20 second_id_byte=0xaa third_id_byte=0x00 fourth_id_byte=0x15
cat /proc/mtd
ubiformat /dev/mtd0 -f system.ubi
modprobe ubi mtd=0
ubinfo
mount -t ubifs ubi0:system /mnt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment