注册 登录
自由的生活_软路由 返回首页

心想事成的个人空间 https://bbs.routerclub.com/?681 [收藏] [复制] [分享] [RSS]

日志

解压jffs2文件

已有 2984 次阅读2013-6-20 11:24

Downloadhttp://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

路过

雷人

握手

鲜花

鸡蛋

评论 (0 个评论)

facelist doodle 涂鸦板

您需要登录后才可以评论 登录 | 注册

QQ|Archiver|手机版|小黑屋|软路由 ( 渝ICP备15001194号-1|渝公网安备 50011602500124号 )

GMT+8, 2024-5-12 06:39 , Processed in 0.037284 second(s), 5 queries , Gzip On, Redis On.

Powered by Discuz! X3.5 Licensed

© 2001-2023 Discuz! Team.

返回顶部