Tool/software: TI C/C++ Compiler
Hello,
I need a bit of help. I'm trying to rebuild the ARM UBL from lsp_2_20. I understand is a bit old but it is the only missing piece for this bootloader stage. I have build uboot, dps_flash_write, DSP AIS UBL but I'm stuck with the ARM UBL. Any help, suggestion or idea will be greatly appreciated.
"/opt/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/bin/armcl" .....
I get quite a few warnings:
- warning #1119-D: this assembly directive potentially unsafe inside a function
....
main();
asm("_stack:");
asm(" .word STACKStart"); <---- this is the offending line
... - /tmp/TI1NT0u0XST|79| [W0000] Deprecated use of PSR; flag bits not specified, "cf" assumed MSR cpsr, r0
- /ubl2bin.cmd|3| error #10022-D: invalid option: -zero
- /ubl2bin.cmd|8| error #10043-D: expecting "";"" instead of "}"
- undefined symbol _boot <-- I can fix this by changing the function definition in boot.c to _boot but I'm not sure if that is the correct approach
- warning #10202-D: no suitable entry-point found; setting to 0
I understand these are a lot of questions but as mention before, guidance, clue, literature, pdf, rtm, anything will help.
For reference I get the same results if I build the ARM UBL from the new SDK which has a CCSv4 project for the newer version Davinci 3.x.x