Difference between revisions of "Didj How to Extract Files"

From eLinux.org
Jump to: navigation, search
Line 15: Line 15:
  
 
BTW here is how to mount the rootfs.jffs2 image onto the temp directory:
 
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 jff2
 +
*modprobe mtdchar
 +
*modprobe mtdblock
 +
 +
For older kernels
  
 
*modprobe mtdcore
 
*modprobe mtdcore
Line 22: Line 33:
 
*modprobe mtdblock
 
*modprobe mtdblock
  
*dd if=erootfs.jffs2 of=/dev/mtd0
 
*mount -t jffs2 /dev/mtdblock0 temp
 
  
 +
Finally, copy the jffs2 filesystem to ram, and mount it:
  
You must have all the modules for your distribution of choice.
+
*dd if=erootfs.jffs2 of=/dev/mtd0
 +
*mount -t jffs2 /dev/mtdblock0 temp

Revision as of 18:53, 5 April 2010

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 jff2
  • 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