Didj How to Extract Files

From eLinux.org
Revision as of 17:51, 7 April 2010 by Losinggeneration (Talk | contribs) (not sure about older kernels, but 2.6.32 uses jffs2 not jff2 (I think it was a typo))

Jump to: navigation, search

Download http://download.leapfrog.com/leapfrogconnect/PC/didj/DidjPlugin.exe

  • Get the v1.2 tarbal from http://www.cabextract.org.uk/
  • extract it
  • run ./configure
  • run make
  • copy the bin somewhere convienent like /usr/local/bin
  • cabextract -d test DidjPlugin.exe will put all the extracted files in the test directory.

The .lfs files are really .zip files inside

Mount the rootfs.jffs2 somewhere convinent and do a ls -lR >files this will give you a list of what's inside.

Hack away!!

BTW here is how to mount the rootfs.jffs2 image onto the temp directory:

First load a few required modules.

For newer kernels (2.6.28+)

  • modprobe mtdram
  • modprobe jffs2
  • modprobe mtdchar
  • modprobe mtdblock

For older kernels

  • modprobe mtdcore
  • modprobe jffs2
  • modprobe mtdbig
  • modprobe mtdchar
  • modprobe mtdblock


Finally, copy the jffs2 filesystem to ram, and mount it:

  • dd if=erootfs.jffs2 of=/dev/mtd0
  • mount -t jffs2 /dev/mtdblock0 temp