Build Android Uboot failed


#1

Why not compile Uboot? Install Cross Compiler for U-Boot http://docs.khadas.com/develop/InstallToolchainsForAmlogicPlatform/


#2

You need to install gcc-linaro-aarch64-linux-gnu- and not gcc-linaro-aarch64-none-elf-

$ wget http://releases.linaro.org/archive/14.09/components/toolchain/binaries/gcc-linaro-aarch64-linux-gnu-4.9-2014.09_linux.tar.bz2
$ sudo mkdir /opt/toolchains
$ sudo tar -xjf gcc-linaro-aarch64-linux-gnu-4.9-2014.09_linux.tar.bz2 -C /opt/toolchains

#3

I set everything according to the instructions. The first line in the screenshot I tried from odroid-c


#4

You can have a try following command

# make CROSS_COMPILE=/opt/toolchains/gcc-linaro-aarch64-linux-gnu-4.9-2014.09_linux/bin/aarch64-linux-gnu- 

#5

Thanks terry!!! Build Uboot successfully :+1:


#6

build android failed


#7

Try again with below command

export PATH=$PATH:/opt/toolchains/gcc-linaro-aarch64-linux-gnu-4.9-2014.09_linux/bin

#8

Thanks!!! Everything is fine android was going well