hi to all .. I want to decompress OpenPLi enigma2 on ubuntu but I have not come ....
I want to extract this: kernel_cfe_auto.bin and root_cfe_auto.jffs2
some one can help me
thank you
Posted 18 April 2013 - 05:28
a hard way i think
use "vbuildimage" binary to create nfi of your image (on your stb) then use "nfidump" binary to extract it (on your pc)
Open Vision sources: https://github.com/OpenVisionE2
Posted 18 April 2013 - 16:33
Just because it is has *.jjffs2 as ending doesn't mean that it has to be jffs2 inside. The old bios of some boxes wants this ending to be able to flash it but then for PLI sometimes there is ubifs inside.
You can simply check this by dd if=root_cfe_auto.jffs2 of=/tmp/label.txt bs=3 count=1
Then do a cat /tmp/label.txt - if it reads UBI - guess that it is ...
Dumping jffs2 is pretty simple as there are userspace tools for this available, but as PLi uses lzo compression this has to be compiled into. For ubifs on PC there are lots of FAQ how to do this with nandsim - even I write one. But in the meantime it works nicely with block2mtd which is standard now in Dreamboxe images, but this will not help you on a linux PC unless you build your own block2mtd driver with all necessary patches.
The kernel_cfe_auto.bin file is just a dump of the kernel which is written without a filesystem to the flash, try to rename it to vmlinux.gz and then a simple gunzip vmlinux.gz will give you the kernel image.
And a current nifdump can directly unpack an root_* ubifs file too - on a dreambox as it uses block2mtd for help.
Edited by gutemine, 18 April 2013 - 16:37.
0 members, 0 guests, 0 anonymous users