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

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




Parents
  • 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 (B) 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.
Reply
  • 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 (B) 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.
Children
No data