I am trying to analyse the firmware image for a sip phone,
I am quite sure it uses jffs2 because I have found the magic bytes (0x1985) and what seems to be a jffs2 node
The problem I am having is to mount the image as jffs2,
I tried to do it as shown on http://www.digitalpeer.com/id/mount
Code: Select all
mkdir m
modprobe mtdram total_size=24576 erase_size=128
cat /proc/mtd
modprobe mtdblock
dd if=jffs2.img of=/dev/mtdblock0
mount -t jffs2 /dev/mtdblock0 m
but it wont work for me,
can the jffs2.img start with 0x1985 or is it supposed to have something before it with filesystem id etc?
I attatch the firmware image.
Any information/tools on jffs2, partitions and how to analyse firmware images are welcome!
Thanks.