Quote:
|
Originally Posted by karlmoran
please noggie :
how can I decopress the boot.jffs2 and the rootfs.jffs2 parts which are found in /...../build/tmp/deploy/images
|
I have posted (here on SI) earlier some scripts (for running on your Linux PC) and programs (for running on the dreambox) to do that. They start from the .nfi file, extracts the jffs2 images from the nfi file, and does some strange stuff to get these file system images mounted. Alternativeley, the miniroot7020 also contains this functionality, and the sources for that have also been posted here on SI. One way to (ab)use the miniroot7020 is to use it just to do the unpacking for you. Install it, run it once to unpack the image you want to peek inside, and then uninstall it.
But actually, I don't think you need any of this for your own build. In .../build/tmp/rootfs you will find an exact copy of what's in root.jffs2, so why unpack it? Unfortunately, the files that are put into boot.jffs2 are deleted before the rootfs.jffs2 is made, but if you look into the log and run files (in .../build//tmp) you will see where in the .../build/tmp/work directory tree they came from, and since there's only a handful of files in the boot.jffs2 image, it's not big deal to reconstruct it.
Quote:
|
also if I want to make a new img which contains some modifications , what could I do ?
|
There's a right way to do this, by changing the build rules etc. Sorry, I don't have a good description of that, it's not something I do myself.
There's also a quick-and-dirty way... Just replace the files you want to in the .../build/tmp/rootfs directory, and repack the .nfi. Again, the log and run files in .../build/tmp is your friend, they tell what commands to run and what options to use in order to repack the .nfi.
So when can we expect the karlmoran image for the 7020?
