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.

PROCESSOR-SDK-OMAPL137: Baremetal ARM OMAP-L137 Initialization

Part Number: PROCESSOR-SDK-OMAPL137
Other Parts Discussed in Thread: OMAPL138

This is a purely educational exercise for which I need some help. I'm rebuilding a very old SDK for the omapl137 component (the ARM UBL) with the latest cgt for arm.

I'm getting the following warning:

source/boot.c|88| warning #1119-D: this assembly directive potentially unsafe inside a function 

at this location:
...

// Setup the stack pointer
asm(" LDR sp,_stack");
asm(" SUB sp,sp,#4");
asm(" BIC sp, sp, #7");

// Call to main entry point
main();

asm("_stack:");
asm(" .word STACKStart"); <---
...

Any suggestion of another SDK or board support I can look at, as a reference for a baremetal arm initialization?

I have another thread open which I have completed answering my own questions :).