Jump to content

[ error ] U-boot file not found [ u-boot-sunxi-with-spl.bin ] when I run compile.sh


Barre

Recommended Posts

Hi,

 

I'm trying to compile a kernel using the procedure described here: https://github.com/igorpecovnik/lib

 

apt-get -y install gitgit clone https://github.com/igorpecovnik/lib --depth 1cp lib/compile.sh ../compile.sh

 

I've set the KERNEL_ONLY="yes" in the compile.sh script,

 

but I get the following error after a while

 

[ o.k. ] Compiler version [ arm-linux-gnueabihf-gcc 5.2.1 ]
  HOSTCC  scripts/basic/fixdep
/bin/sh: 1: cc: not found
scripts/Makefile.host:99: recipe for target 'scripts/basic/fixdep' failed
make[1]: *** [scripts/basic/fixdep] Error 127
Makefile:398: recipe for target 'scripts_basic' failed
make: *** [scripts_basic] Error 2
make: *** No rule to make target 'include/config/auto.conf', needed by 'include/config/uboot.release'.  Stop.

[ error ] ERROR in function compile_uboot [ common.sh:96 ]
[ error ] U-boot file not found [ u-boot-sunxi-with-spl.bin ]
[ o.k. ] Process terminated
 

 

I wonder what i've missed or if there's some other issues.

I've tried both the master branch and v2016.08 tag, same result.

 

My system

 

lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 16.04.1 LTS
Release:        16.04
Codename:       xenial

Linux apu 4.4.0-36-generic #55-Ubuntu SMP Thu Aug 11 18:01:55 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

 

Any pointers would be much appreciated,

 

Thanks in advance
 

Link to comment
Share on other sites

Armbian & Khadas are rewarding contributors

Don't exactly understand what you mean with terminal log, but attached is ht output.log

Displaying message: Preparing host info
Displaying message: Build host OS release xenial info
## BUILD SCRIPT ENVIRONMENT

Version: 4c54309b7b1c681817dfc733d26ccf56b08aedf3

## BUILD CONFIGURATION

Build target:
Board: bananapim2plus
Branch: dev

Kernel configuration:
Repository: https://github.com/megous/linux
Branch: branch:orange-pi-4.7
Config file: linux-sun8i-dev

U-boot configuration:
Repository: git://git.denx.de/u-boot.git
Branch: tag:v2016.09
Offset: 1
Size: 0

CPU configuration:
240000 - 1200000 with ondemand
Displaying message: Starting Armbian build script @host info
Displaying message: Syncing clock host info
Displaying message: Downloading sources  info
Displaying message: Checking git sources u-boot v2016.09 info
Displaying message: Checking out
Displaying message: Checking git sources linux-sun8i-mainline orange-pi-4.7 info
Displaying message: Up to date
Displaying message: Checking git sources sunxi-display-changer master info
Displaying message: Up to date
Displaying message: Checking git sources sunxi-tools master info
Displaying message: Up to date
Displaying message: Cleaning u-boot/v2016.09 info
Displaying message: Cleaning linux-sun8i-mainline/orange-pi-4.7 info
Displaying message: Cleaning output/debs for bananapim2plus dev info
Displaying message: Started patching process for u-boot u-boot-dev info
Displaying message: Looking for user patches in userpatches/u-boot/u-boot-dev info
Displaying message: ... add-awsom-uboot.patch succeeded info
Displaying message: ... add-cubieboard4.patch succeeded info
Displaying message: ... add-lime2-emmc.patch succeeded info
Displaying message: ... add-missing-h3-boards.patch succeeded info
Displaying message: ... adjust-h3-dram-frequency.patch succeeded info
Displaying message: ... disable-usb-keyboards.patch succeeded info
Displaying message: ... u-boot-set-safe-axi_apb-clock-dividers.patch succeeded info
Displaying message: Compiling uboot 2016.09 info
Displaying message: Compiler version arm-linux-gnueabihf-gcc 5.2.1 info
Displaying message: ERROR in function compile_uboot common.sh:96 err
Displaying message: U-boot file not found u-boot-sunxi-with-spl.bin err
Displaying message: Process terminated  info

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines