I'm writing bare-metal code to startup BeagleBone Black (TI AM3358 SoC).
I succeeded in writing the first code after the ROM boot. This code
sets up the stack pointers, initializes peripherals and DDR3 memory.
After this initialization, I need to load the final application into
this DDR3 memory and resume execution starting at the C++ entry point.
AFAIK, this entry point normaly resides at address 0x00000000, but since
the DDR3 RAM is located at 0x80201000 (also specified in my linker
script for the final application), resuming at 0x00 isn't correct.
How can one find the correct entry point for the C++ startup code in
DDR3 memory? There is no _main symbol defined in the .lst file, neither
anything else that looks like an entry point to me...
I'm keen to read your advice.