This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Help figuring out tiimage

I looked over the source code for tiimage in the StarterWare am335x package and I saw a few things that don't fully make sense to me.

To begin, it only really checks to see if the user selected SPI as the mode and if he or she didn't then it treats all other options the same. I also saw that it writes the file size in the header and the boot address in the first 8 bytes of the file. After using a hex editor program to see if it wrote this information, it showed that it did write 8 bytes into the header but it didn't write the boot address correctly. StarterWare came with tiimage already compiled and ready to go. 

I have not recompiled the source code that came with starterware but I am posting here to see if somebody can tell me if what I understood from the source code is correct. Just to add more information in case I have misunderstood anything ill provide the hex of what I am reading from the program and what values I am expecting. Also, i am doing all this with a 64-bit machine running Ubuntu 14.04.

Hex Header: 00 12 00 00  00 00 00 80

Actual file size (_ti.bin file): 4,608 Bytes (This was correct)

Load Address: 0x80000000 

I also compared it to the original gpioLEDblink_ti.bin file and it had a different header on it than what i expected. 

The hex of the header had this...

Hex Head: 64 12 00 00 00 00 00 80

Actual file size: 4,708 Bytes

Load Address: 0x80000000