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.

Assembler Warning: specific address 0x20 overrides alignment of 1024 for ".text"

Hi,

I'm using SYS/BIOS on an Omap L138. I'm currently working with the pspdrivers_02_10_01 I2CSample project. I tried to add the MessageQ module to build a I2C Process. When I added the -- var MessageQ     = xdc.useModule("ti.sdo.ipc.MessageQ"); --  entry to the i2cSample.cfg I get the following warning:

lnk674 I2CTest_v2.p674 ...
"package/cfg/I2CTest_v2_p674.xdl", line 56: warning: specific address 0x20
   overrides alignment of 1024 for ".text"
"package/cfg/I2CTest_v2.p674.s674", WARNING! at line 37990: [W9999]
         Placing data in a code section (.text) is discouraged. The data may
           be interpreted as code. This section will not be compressed.
        b __c_int00

No Assembly Errors, 1 Assembly Warning
'Finished building: ../I2CTest_v2.cfg'

I'm using the OmapL138EVM as platform which automatically defines my sections. So I'm not sure how I can react on this warning. Is my code growing too big? Thinking of the 1Gbit DDR I would doubt it...

Thanks for any help on this

 

  • Even though these diagnostics are coming from the assembler, the fix will be in your BIOS or XDC configuration.  So, I'm moving this thread to the BIOS forum.

    Thanks and regards,

    -George

  • Stefan --

    What OS are you running on the Arm side?  If you are not using SysLink on the Arm side, you can disable the code that is causing this warning with the following lines in your .cfg script:

     

    This "data in text" issue is a known problem.  The warning is benign but we need to fix it. 

    See this post:  http://e2e.ti.com/support/embedded/f/355/p/107571/379900.aspx#379900

    Thanks,
    -Karl-

  • Hi Karl,

    thanks for the information. Currently the ARM is not running. I "solved" the problem by opening the I2CSample Project again, save it with a new name and copied my old source and cfg files. Now the warning is gone even though I don't really understand why.

    If the warning would occur again I would like to disable the mentioned section as you proposed. Yet I can't find the line for the .cfg script in the link you posted.

    Thanks
    Stefan

  • Hi Karl,

    thanks again for the suggestion. I still can't find the line to disable the code that is causing this warning.

    Thanks,
    Stefan

  • Hi Stefan --

    I'm sorry.  I must have gotten distracted when I wrote that post.  I never pasted the line on that post!   The following lines should disable the warning.  

    But note that you need this variable to be true if you are using SysLink on the Arm side.

    Ipc = xdc.useModule('ti.sdo.ipc.Ipc');

    Ipc.generateSlaveDataForHost = false;
    -Karl-