PDA

View Full Version : Diamond Cooking... buildxip.exe and insert.exe


axl79
13th July 2008, 06:48 PM
Hi, I´m trinity developer, and now I have my new Diamond... so I´m triying to adapt Ervius / Bepe Kitchen for trinity to Diamond... I have sucess with all .bat files, except the section for XIP porting and rebuilding. It Uses Buildxip to create out.bin with new XIP from ROM/XIP, but it needs romhdr.bin file... how can i get it for Diamond?.

The second command is Insert.exe -i, and it needs the address for XIP, i think it is 0x00320000 but also need the size of the XIP, and this is the parameter i don´t know for Diamond.

This is the line in trinity´s bat file. If someone can help me with this two command I can release Ervius/Bepe Kitchen for Diamond. This kitchen is more user friendly for all of us.


..\TOOLS\insert -i ..\ROM\out.bin -o OS.nb.payload -d 0x00320000 -s 0x00300000


If this can´t be done, how do you insert new xips inside os.nb.payload, maybe with xipport?

Thanks for helping me.

Nikitto & Axl79. NiAx Team.

adwinp
14th July 2008, 12:57 AM
You should look into the rommaster.exe tool

The offset is 0x320000

walshieau
14th July 2008, 01:05 AM
You should look into the rommaster.exe tool

The offset is 0x320000

rommaster does not "insert" the xip back into the payload file.

axl79
14th July 2008, 01:05 AM
You should look into the rommaster.exe tool

The offset is 0x320000


thanks adwinp, the offset i know its 0x320000, but i donīt know the lenght, and itīs needed to insert.exe command....

Anyone knows where can I get this number?

scorpio16v
14th July 2008, 07:03 AM
Anyone knows where can I get this number?

Sorry for sounding stupid, but you're searching the length of XIP in bytes, yes ?

But if you open the ROM in a Hexeditor, you can see the beginning of XIP is:
FE 03 00 EA .. .. .. ..

So, the end of XIP follows the beginning of IMGFS, right ?
F8 AC 2C 9D .. .. .. ..

So you can easily find out the length.

And I think as walshieau said before, ROMMASTER doesn't insert in the payload (correct me, but isn't payload = XIP.bin :confused: )

It inserts the XIP in the ROM image.

If I'm wrong, please feel free to flame me . :D

adwinp
14th July 2008, 12:41 PM
No, you're right. I misunderstood the question.