Difference between revisions of "Didj How to Extract Files"
From eLinux.org
KenMcGuire (Talk | contribs) |
(Add Category Didj) |
||
| (3 intermediate revisions by 3 users not shown) | |||
| Line 13: | Line 13: | ||
Hack away!! | 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 | ||
| + | [[Category:Didj]] | ||
Latest revision as of 15: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