PDA

View Full Version : [APP] IITP - imageinfo.txt producer


utak3r
18th June 2009, 12:51 PM
IITP - imageinfo.txt producer
version 0.1 - 2009.06.18

IITP is the tool for generating imageinfo.txt files from imageinfo.bin files, found in modules. It's mainly for people who still use XIPPort :cool:

Usage:

iitp [ -p physfirst ]


The param -p is optional. The value of PhysFirst has to be given in hex form, but both 0x1234abcd and 1234abcd notations are accepted.
If the param is not given, it looks for romhdr.bin file in the current directory, from which it takes this value (and while it's there, it generates ROMHDR.txt file, too).

WARNING:
As of now, it generates incorrect info for nk.exe! The same goes for modules from imgfs space.
Correct info is generated as of now only for XIP modules (with the exception of nk.exe).
Fixing these two things are on the TODO list :D

Many thanks go to globalbus for the theory help and to c_shekhar for pushing me to develop this little tool. Thanks guys!

Project home page:
http://code.google.com/p/iitp/


Changelog:

2009.06.18
- Initial release

c_shekhar
18th June 2009, 01:15 PM
great work indeed. Shall download to test... kudos to you...

mbarvian
18th June 2009, 03:49 PM
great job! didn't think this was possible :)

thanks

inertiax3
19th June 2009, 10:41 AM
Excellent tool!! Thank you very much.. can't wait for the version that will parse NK.exe correctly :)

edit: Is it possible to also generate the other txt files which XIPPORT requires? e.g. busenum.dll.txt which contains:

Module name: busenum.dll
dwFileAttributes: 00000007
ftTime: 01C9E411213D1D00
nFileSize: 00002DB0
lpszFileName: P+0007BFEC
ulE32Offset: P+00180F68
ulO32Offset: P+001A16A8

utak3r
19th June 2009, 04:22 PM
can't wait for the version that will parse NK.exe correctly :)

Yeah, it's on its way - although you should have this file already ;) It's the modules from MSXIPKernel package, which are changing... OEMXIPKernel stay the same - unless you get a new kernel from somewhere.
Nevertheless, it will be available very soon.


edit: Is it possible to also generate the other txt files which XIPPORT requires?

I'll try, after I'm done with those two other things :)

inertiax3
19th June 2009, 07:54 PM
Yeah, it's on its way - although you should have this file already ;) It's the modules from MSXIPKernel package, which are changing... OEMXIPKernel stay the same - unless you get a new kernel from somewhere.
Nevertheless, it will be available very soon.



I'll try, after I'm done with those two other things :)

That's specifically my case.. a new NK.exe (specific for the device).. Thank you in advance! :)