This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

U-BOOT Compilation Error

Other Parts Discussed in Thread: OMAPL138

Fresh copy of git://arago-project.org/git/people/sekhar/u-boot-omapl1.git

doesnt compiles 

 

make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi-  da850_omapl138_evm_config

Gives following error

"

: invalid option

make: *** [da850_omapl138_evm_config] Error 1

"

Someone suggested to change shell tried bash,dash,sh ..all fails..

 

 

 

  • Which board are you building the uboot for?

    If it is for the LogicPD EVM, try following the instructions here, http://processors.wiki.ti.com/index.php/GSG:_Building_Software_Components_for_OMAP-L1/AM1x#Rebuilding_U-Boot.  It requires the LSP package.

    If it is for the Hawkboard, try following the instructions here, http://elinux.org/Hawkboard#Compiling_u-boot_.28bootloader.29.  It uses a different option. 

    - Christina

  • Its hawkboard.

    But i have changed the arago uboot da850evm.c/.h  code ti reflect the changes present in hawkboard u-boot code from 

    http://hawkboard.googlecode.com/files/u-boot-omapl1_v1.tar.bz2

     

    So even though i am using 

     

     make da850_omapl138_evm_config ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- 

    It should generate workable u-boot for hawkboard
    It will work or not its second issue,but right now its now compiling even without changing anyhting.
    If i extract http://hawkboard.googlecode.com/files/u-boot-omapl1_v1.tar.bz2
    and use  make da850_omapl138_evm_config ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi-  
    it compiles .
    So i just speculate the arago tree might be broken ..
    Again writing the error i am getting in arago u-boot 
    root@alok-laptop:/home/alok/arago-uboot# make da850_omapl138_evm_config ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- 
    : invalid option
    make: *** [da850_omapl138_evm_config] Error 1
    Thanks for the reply..

     

     

  • Just update ,i also did dos2unix Makefile as i had git clone in windows machine then transferred to linux.

    But no change,..

    Any thing i can try to make it work.

    Atleast it should compile right ?

    Thanks

     

  • I would suggest that you post this question on the Embedded Software > Linux Forum.  The people monitoring that forum will have more insight into your problem.

    - Christina

  • Thanks Christina,

    Just done that.

     

    Thx,

    Alok