TI E2E Community
Can i write a C program using the StarterWare Library and execute in the PSP u-boot ?
Thanks & Regards
Yes you can load StarterWare aplication binary from u-boot and execute. You need to use <app>.bin (NOT app_ti.bin).
Note: If this post answers your question, please click the Verify Answer button below. Thank you!
i'm using sdk version : ti-sdk-am335x-evm-05.03.00.00, u-boot version: u-boot-2011.09-psp04.06.00.02.
How to load the binary file to u-boot ?
How to execute the binary file in u-boot ?
Thanks and Regards
copy the binary to mmc from host pc.
In u-boot prompt,
fatload mmc 0 <address in ddr> <name of file on sd card to load to ddr>
go <address where the executable was loaded>
It works, Thanks.
In StarterWare, How to compile an <app>.c file to output the <app>.bin binary file ?
for compiling in different tool chains refer http://processors.wiki.ti.com/index.php/StarterWare_Getting_Started_02.00.XX.XX#Building_application
Do you have the link to download the arm-none-eabi toolchain ?
i'm facing the "arm-none-eabi not found" while compiling.
Please refer http://processors.wiki.ti.com/index.php/StarterWare_Getting_Started_02.00.XX.XX#Development_Host_Requirements
The codesourcery arm-none-eabi toolchain link given in the above section.
during compiling, there is an error:
arm-none-eabi-ld: cannot find -lc
how to solve this error ?
Thanks & RegardsKeldy
Can you elaborate on teh environvment
1. are you compiling from windows (cygwin) or linux
2 .have you exported the tool chain path ( LIB_PATH=C:\tools\CodeSourcery\Sourcery_G++_Lite)
ensure you followed the steps given at http://processors.wiki.ti.com/index.php/StarterWare_Getting_Started_02.00.XX.XX#Setting_Up_The_Tool_Chain
in the "AM335x_StarterWare/build/armv7a/gcc/makedefs" file, i've changed LIB_GCC and LIB_C path to my toolschain path.
My problem was solved.
Thanks your help.
Can use the StarterWare Library to write some coding in u-boot code?
let say include a StarterWare Library "/AM335X_StarterWare_02_00_00_06/include/phy.h" in the file "/ti-sdk-am335x-evm-05.03.00.00/board-support/u-boot-2011.09-psp04.06.00.02/board/ti/evm.c". can i do this ?
if can, how to do this ?
Which StarterWare lib you want to use in u-boot?
Also please post new queries in new thread,so that it will be easy to track. Since the thread is already marked as answered, it might not get required attention.
I am facing the same problem of not finding the arm-none-eabi-gcc command not found during the build.
I tried to set the path in makedefs file in starterware but it give the error with the new tool chain.
As per the user guide, it says to set the path to /opt/code sourcery/... but my pc there is not tool chain in that path.
I am working on linux and TI-sdk-am335x-05... installed in /usr/local path.
Could you please help me in compiling.
have you exported the tool chain path?
What is the error message when you do compiling?
I am getting error as no tool chain found for arm-none-eabi. I have only one tool chain installed ti-sdk-am33xx-evm-05.. I am compiling with Code composer V5.
I tried to search in the web but could not get proper link.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.