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.

Some questions about using Hex6x to convert ELF out to a boot table

Hi experts,

I am using the attached files in order to generate a boot table, but it doesn’t work normally.

 

During the period I try , it has two errors happened.

How to I solve it,please?

 

ERROR: illegal input character: 0x7F

"Hello_ELF.out", line 1: FATAL ERROR: cannot open input file 'ELF.out': No suchfile or directory (aborting)

 

"write1.rmd", line 1: WARNING: nested command file: hello_ELF.out ignored

>> FATAL ERROR: no input files (aborting)

https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/791/4331.BY6.7z

Thank you!

Brian

  • Hi Brian,

    Thank you for the post. We will check your files and get back to you.
  • Hi Brian,

    I suggest you to try with complete file path of .out and .btbl.

    D:\Raja_Projects\TI Project\MCDSP Support\ks boot\KeystoneI_bootloader_workshop\KeystoneI_bootloader_workshop\boot_image\SPI_Bootloader\led_play.out
    -a
    -boot
    -e _c_int00
    
    ROMS
    {
    	ROM1:  org = 0x0C000000, length = 0x100000, memwidth = 32, romwidth = 32
    	files = { D:\Raja_Projects\TI Project\MCDSP Support\ks boot\KeystoneI_bootloader_workshop\KeystoneI_bootloader_workshop\boot_image\SPI_Bootloader\led_play.btbl }
    }

  • Hi Raja ,
    I tried with complete file path of .out and .btbl., but it doesn’t work normally.
    please you check the attached files.

    https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/791/BY62.7z

    Thank you!
    Regards,
    Brian

  • I think my hex6x tool is old, so it doesn't support newest .out .
    Could you give me the hex6x tool that supports newest .out , please ?
  • I am able to generate boot table from the .out file shared. Attached the generated file for your reference.

     /cfs-file/__key/communityserver-discussions-components-files/791/1524.hello.btbl

    d:\tmp\customer>dir
    
    Volume in drive D is New Volume
    
    Volume Serial Number is D8F4-45D4
    
    Directory of d:\tmp\customer
    
    07/22/2016  02:22 PM    <DIR>          .
    
    07/22/2016  02:22 PM    <DIR>          ..
    
    07/07/2016  07:47 AM            28,132 hello.map
    
    07/07/2016  07:47 AM           575,256 hello_ELF.out
    
    07/14/2016  08:33 AM               232 write1.rmd
    
                  3 File(s)        603,620 bytes
    
                  2 Dir(s)  45,828,984,832 bytes free
    
    d:\tmp\customer>set IBL_UTIL=C:\ti\mcsdk_2_01_02_06\tools\boot_loader\ibl\src\util
    
    d:\tmp\customer>C:\ti\ccsv6\tools\compiler\c6000_7.4.14\bin\hex6x write1.rmd
    
    Translating to ASCII-Hex format...
    
      "hello_ELF.out"   ==> .text  (BOOT LOAD)
    
      "hello_ELF.out"   ==> .cinit         (BOOT LOAD)
    
      "hello_ELF.out"   ==> .const         (BOOT LOAD)
    
      "hello_ELF.out"   ==> .switch        (BOOT LOAD)
    
    d:\tmp\customer>dir
    
    Volume in drive D is New Volume
    
    Volume Serial Number is D8F4-45D4
    
    Directory of d:\tmp\customer
    
    07/22/2016  02:23 PM    <DIR>          .
    
    07/22/2016  02:23 PM    <DIR>          ..
    
    07/22/2016  02:23 PM           174,547 hello.btbl
    
    07/07/2016  07:47 AM            28,132 hello.map
    
    07/07/2016  07:47 AM           575,256 hello_ELF.out
    
    07/14/2016  08:33 AM               232 write1.rmd
    
                  4 File(s)        778,167 bytes
    
                  2 Dir(s)  45,828,808,704 bytes free
    
    d:\tmp\customer>