Difference between revisions of "Didj How to Extract Files"

From eLinux.org
Jump to: navigation, search
m (not sure about older kernels, but 2.6.32 uses jffs2 not jff2 (I think it was a typo))
(Add Category Didj)
 
Line 38: Line 38:
 
*dd if=erootfs.jffs2 of=/dev/mtd0
 
*dd if=erootfs.jffs2 of=/dev/mtd0
 
*mount -t jffs2 /dev/mtdblock0 temp
 
*mount -t jffs2 /dev/mtdblock0 temp
 +
[[Category:Didj]]

Latest revision as of 07:26, 9 May 2011

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