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.

Booting a gcc compiled ccs project: Beaglebone Black

Hi

I have been using starterware for the beaglebone black and have been able to build the projects fine, convert them to <project<_ti.bin, then "app" and boot them fine. Now I have moved away from starterware and have been developing with gcc and ccs. I know the code is working because I can debug it with a JTAG adapter and everything goes fine.


The question is: How do I boot a project that was built as a normal ccs project, not a starterware example? I have tried:

arm-none-eabi-objcpy -O binary <project>.out <project>.bin

then

tiimage 0x80000000 NONE <project>.bin app

and then tried to boot that with the starterware bootlader

and I have tried

tiimage 0x402F0400 MMCSD <project>.bin MLO just incase these ccs projects already include the startup code and clock configs etc.


Nothing seems to work.


So to be clear: How do I boot a normal ccs project (not a starterware project) on the beaglebone black?

Thank you in advance.

  • Moving this to the Starterware forum.

  • Hi Roland. I tried this and failed miserably. I think it is because I could not get system.lib to build with gcc. I don't think this has been done ever. You probably have to use the GCC EABI toolchain and get right the hell out of CCS if you hope to have a chance.
    I have resorted to hacking the system_config project of starterware from CCS. A major undertaking, probably not succeed, but I gotta try... I need help, let me know if you make progress. dd