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.

Is it possible to build big endian ELF NDK binaries for C6457 (latest NDK and CCS tools preferred)?

Hi Team,

We need to build Big Endian ELF NDK binaries for C6457; I believe NDK comes with all the source code to allow us to do this; however, looking at latest NDK User Guide, I see some restrictions (e.g. ARM9 and Cortex-A8 NDK only in ELF format).  C6457 is an older processor and hence NDK comes in COFF format and I wonder if there are restrictions preventing ELF builds or do we simply not provide ELF pre-built binaries because there is little or no demand for this?

Thank you in advance,

Juan 

  • Hi Juan --

    I suggest that you move to NDK 2.21or later.  

    http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/ndk/index.html

    We improved the build files and instructions in 2.21 to make it easier to rebuild the NDK.

    Unfortunately, you might have to update some other components if you update to 2.21 or 2.22.  Check the release notes for recommended versions.

    2.21 can be used with:
         BIOS 6.32 or 6.33
         XDC 3.22 or 3.23

    2.22 can be used with:
         BIOS 6.34 or later
         XDC 3.24 or later

    We support C66 big-endian ELF, so 64x+ big endian elf should work.

    We do not support 64x+/ELF out of the box, but you should be able to update ndk.mak and ndk.bld to rebuild it for 64x+ big endian elf.

    I just downloaded NDK 2.21.03 and updated ndk.bld and ndk.mak to support 64x+ big endian.   I rebuilt with 'gmake -f ndk.mak' .  Attached are the updated ndk.mak and ndk.bld files.   You will have to update lines 17, 18, and 30 to point to your XDC, BIOS and C6x compiler install directories.  Mine point to places on our Linux server.  Change those lines to point to similar on your Windows C drive.

    1780.patch.zip

    -Karl-