beaglebone/Sitara - link error with Sitara_Startup.s
I have some trouble with getting Beaglebone/Sitara support package to work, which seem to be quite new.
I installed those packages, and the Starterware for AM335x from TI, too. (Both under Linux Mint 14, by the way).
Now I got stuck in the linker stage. A small test project I made includes the startup code located in Sitara_Startup.s, which came with the support package. This startup code is referencing libarm_mmu_flat_initialise_level_1_table and libarm_mmu_flat_set_level_1_cacheable_region which the linker is unable to resolve.
I have searched all *.c, *.h, *.s and *.a files in the package folder and in TI's Starterware folder, with no success.
What is the startup code assumed to reference here ? What am I missing ?
-
After leaving it resting for a while, I succeeded with the next step.
I must admit, Cortex A bare-metal is quite new to me, so I'm "floating" here ...
The build proceeded after manually adding a lib from /usr/share/crossworks_xxx/lib to the project. I chose libarm_v7a_vfpv3_d32_a_le_eabi.a, but I'm not quite sure about. BTW, what means the "_a_" part of the name ?
And, I have changed the "GCC Target" property from "arm-unknown-elf" to "arm-unknown-eabi".
I suspect I made a gross mistake in the project setup, i.e. in the "New Project" wizard. Is there any documentation on how to do this for the AM335x ?
Please sign in to leave a comment.
Comments
1 comment