Arm Community
Site
Search
User
Site
Search
User
Support forums
Arm Development Studio forum
building U-Boot for SABRELite Kit within Eclipse DS5-CE
Jump...
Cancel
Locked
Locked
Replies
4 replies
Subscribers
119 subscribers
Views
3764 views
Users
0 members are here
Options
Share
More actions
Cancel
Related
How was your experience today?
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion
building U-Boot for SABRELite Kit within Eclipse DS5-CE
Nehal oMran
over 12 years ago
Note: This was originally posted on 4th June 2013 at
http://forums.arm.com
Hello community ppl ,
I'm using U-boot Root directory from
Boundary devices
. i built it in terminal and the output was binary files .
Now , i tried to build it into DS5-CE .. in 3 ways:
1)i made a new ->"makefile project with existing code" to use u-boot makefile , settings was as follow
a-(Project-->properties-->C/C++ build) default build command unchecked "generate makefiles automatically"
b-project-->make target -->create new targets
define two targets as u-boot specifies (mx6qsabrelite_config , u-boot.imx)
c- "build projects" with previous two targets
d- "build all" the project
Output : succeed but no images for U-Boot as terminal run.
2)make as step (1) but specify a build command to path to makefile provided by U-Boot root folder
output :Error: Cannot run program "Makefile": Unknown reason
after googling , it should be put in path variable and it is already !!
-------------ADDED CASE------------------
3)make as step (2) but points to another makefile provided by U-Boot root directory "MAKEALL" : it uses the default make util with is eclipse's one
output ARMDS5-CE-installationDir/bin/make: No such file or directory
---------------END OF ADDED CASE ---------------------------
although that PATH includes the U-Boot root directory that includes MAKEALL script .
4)made a C project with U-boot folder and "automatically-generated-eclipse-make-file" and replaced eclipse makefile with U-boot's one
output : as in (1)
problem : i don't know what to do ??!!!
any help would be appreciated
Regards
Scott Douglass
over 12 years ago
Cancel
Vote up
0
Vote down
Cancel
Nehal oMran
over 12 years ago
Note: This was originally posted on 6th June 2013 at
http://forums.arm.com
Hello , Scott
for the case (1) :
- I made two new targets and when build I select
-project->make target->build , choose mx6qsabrelite_config -->Build
then
-project->make target->build , choose u-boot.imx -->Build
and the build command is just default "make"
Console tab output :
**** Build of configuration Default for project U-Boot ****
make mx6qsabrelite_config
**** Build Finished ****
and
**** Build of configuration Default for project U-Boot ****
make u-boot.imx
**** Build Finished ****
[size="2"][color="#FF0000"]but none of u-boot images appear
[/size][/color]
may be the problem is that I need to fully disable the eclipse make command and just run U-Boot script to make all builds .(but I don't know how)
As It is built successfully from terminal .
Thanks..
Cancel
Vote up
0
Vote down
Cancel
Scott Douglass
over 12 years ago
Note: This was originally posted on 9th June 2013 at
http://forums.arm.com
It looks like a makefile is being found and has those targets ('mx6qsabrelite_config' and 'uboot.imx') and either (a) it doesn't have any commands for those targets or (
believes those targets are up-to-date.
One thing to check: is the makefile look ok and is it in the same directory shown in the "Build directory" of )project) > Properties > C/C++ Build
More random ideas:
Maybe try adding an "echo hi there" in the makefile to the mx6qsabrelite_config target to prove that the makefile you are editting is the one being used.
Maybe the Makefile depending on any environment variables that are different between the command-line and Eclipse? If you're still stuck you can try changing 'make' to 'make --debug' and see if the output sheds any light.
Cancel
Vote up
0
Vote down
Cancel
Nehal oMran
over 12 years ago
Note: This was originally posted on 10th June 2013 at
http://forums.arm.com
Hello Scott,
I have already done the following
1- set the build dir to actually the root folder of U-Boot which contains all needed make file
2- echoing in which if statement the the U-Boot make script enter ,
already got into statement that says: make $CROSS_COMPILE ...
which calls the make utility of eclipse which got me that error ..
3- the main environment variables needed for building is typically : PATH , CROSS_COMPILE , BUILD_DIR
PATH contains the path to eclipse-CE bin directory , cross compiler bin directory and u-boot root directory , ...
3- i'll try the "make --debug" , but what its benefit is ..
Thanks for Help
Regards,
Cancel
Vote up
0
Vote down
Cancel