Details to access the root filesystem, for Great Justice&tm;

Obtain the latest firmware from OpenPandora Support and extract rootfs.img therefrom

Emerge sys-fs/mtd-utils

Compile modules:

  • mtdchar (drivers -> memory technology devices)
  • nandsim (drivers -> memory technology devices)
  • ubi (drivers -> memory technology devices)
  • ubifs (filesystems -> miscellaneous filesystems)

Load modules

  • modprobe mtdchar
  • modprobe nandsim first_id_byte=0x20 second_id_byte=0xac third_id_byte=0x00 fourth_id_byte=0x15 cache_file=/nandsim.mtd
  • modprobe ubi mtd=0
  • modprobe ubifs

It'll probably be unformatted, so do this:

  • ubidetach -p /dev/mtd0
  • ubiformat /dev/mtd0
  • ubiattach -p /dev/mtd0
  • ubimkvol /dev/ubi0 -N rootfs -S 4052 # <- use number of available LEBs spit out by ubiattach
  • ubiupdatevol /dev/ubi0_0 rootfs.img
  • mount -t ubifs ubi0 /media/rootfs

See http://www.linux-mtd.infradead.org/faq/nand.html#L_nand_bootloader for some example ID bytes for nandsim