bgcngm/mtk-tools — pull request #8 by carliv (2014-12-28 20:53:18+00:00)
Title: add support for new platforms - mt6595

Hi Bruno,
I updated your tools to support new MTK platforms, which require to pass extra arguments (offsets) in repacking command line. For this the script will create a new file "boot.img-Args.txt" - as example for boot image - will copy in it values like this: "--base 0x10000000 --pagesize 2048 --kernel_offset 0x00008000 --ramdisk_offset 0x01000000 --second_offset 0x00f00000 --tags_offset 0x00000100". They will be shown on the screen also. At repacking all these are passed in command and the resulting image will work in these new phones. It has no impact on older platforms - I tested this myself, and for new platform was tested in zopo zp999 thread. Additionally I created a new script which will only show image infos, if there is no need to unpack it. I compiled again all binaries modules to support these extra arguments, and also I compiled the required modules for info script. I couldn't do it for OSX, but I have the repo with boot-info in my gihub if you can build it. Also mkbootimg has to be compiled again for OSX to accept extra arguments.
Liviu