
Dear Wolfgang,
Thank you very much . I have taken the *recent code*. Still facing some issues
I have followed following steps to compile it on x86. 1) make clean; 2) make coreboot-x86_config 3) ./MAKEALL -C x86
In step 3 i observed following:
ravitiwari@RAVI-HP-Pavilion-dv2000-GJ175PA-ACJ:~/u-boot-2013.04$ make clean ravitiwari@RAVI-HP-Pavilion-dv2000-GJ175PA-ACJ:~/u-boot-2013.04$ make coreboot-x86_config Configuring for coreboot-x86 - Board: coreboot, Options: SYS_TEXT_BASE=0x01110000 ravitiwari@RAVI-HP-Pavilion-dv2000-GJ175PA-ACJ:~/u-boot-2013.04$ ./MAKEALL -C x86 Configuring for coreboot-x86 - Board: coreboot, Options: SYS_TEXT_BASE=0x01110000 make[1]: *** [interrupts.o] Error 127 make: *** [arch/x86/cpu/libx86.o] Error 2 make[1]: *** [coreboot.o] Error 127 make: *** [arch/x86/cpu/coreboot/libcoreboot.o] Error 2 make[1]: *** [bootm.o] Error 127 make: *** [arch/x86/lib/libx86.o] Error 2 size: './u-boot': No such file /bin/bash: sparse: command not found make[1]: *** [interrupts.o] Error 127 make: *** [arch/x86/cpu/libx86.o] Error 2 make: *** Waiting for unfinished jobs.... /bin/bash: sparse: command not found make[1]: *** [coreboot.o] Error 127 make: *** [arch/x86/cpu/coreboot/libcoreboot.o] Error 2 /bin/bash: sparse: command not found make[1]: *** [bootm.o] Error 127 make: *** [arch/x86/lib/libx86.o] Error 2 make: INTERNAL: Exiting with 4 jobserver tokens available; should be 3!
--------------------- SUMMARY ---------------------------- Boards compiled: 1 Boards with errors: 1 ( coreboot-x86 ) ----------------------------------------------------------
If at present i am not targeting any embedded platform then why i need *cross tool chain*? x86 tool chain (GCC compiler) is already there in my system.
Regards, Ravi Tiwari
On Sun, May 5, 2013 at 2:01 AM, Wolfgang Denk wd@denx.de wrote:
Dear Ravi Kant Tiwari,
In message loom.20130504T200358-940@post.gmane.org you wrote:
I have download and extracted u-boot-1.1.6 on Linux ubuntu. I just want
to
compile the source code using GCC(not targeting cross compilation for any embedded platform).
First: U-Boot 1.1.6 is prehistoric (more than 7 years old). If you intend to do anything with U-Boot, then please use recent code.
My understanding is irrespective of platform the source code should
compile.
Your understanding is incomplete / incorrect.
What are the necessary makefile and environment changes i need to do for compilation on x86?
No changes are needed, but dependingon which exact target board you are compiling for, you will need a cross tool chain for the respective target architecture.
Best regards,
Wolfgang Denk
-- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de No journaling file system can recover your data if the disk dies. - Steve Rago in D4Cw1p.L9E@plc.com