Note that there are some explanatory texts on larger screens.

plurals
  1. POCompiling U-BOOT bootloader on x86
    text
    copied!<p>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).</p> <p>I tried running provided MAKEALL makefile but "powerpc-linux-gcc : Not Found" is happening.</p> <p>My understanding is irrespective of platform the source code should compile.</p> <p>What are the necessary makefile and environment changes i need to do for compilation on x86?</p> <p>I have taken the recent code. Still facing some issues</p> <p>I have followed following steps to compile it on x86. 1) make clean; 2) make coreboot-x86_config 3) ./MAKEALL -C x86</p> <p>In step 3 i observed following:</p> <p>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!</p> <pre><code>--------------------- SUMMARY ---------------------------- Boards compiled: 1 Boards with errors: 1( coreboot-x86 ) </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload