AW: Problem to build u-boot

Sarmad Ahmad sarmad101 at hotmail.com
Tue Mar 15 15:03:40 CET 2022


Hi,
first thank you for the fast answer
I have tried it but unfortunately still the same error.
The output of mlocate confirms that arm-linux-gnueabihf- is present in the path

/usr/bin/arm-linux-gnueabihf-addr2line
/usr/bin/arm-linux-gnueabihf-ar
/usr/bin/arm-linux-gnueabihf-as
/usr/bin/arm-linux-gnueabihf-c++filt
/usr/bin/arm-linux-gnueabihf-cpp
/usr/bin/arm-linux-gnueabihf-cpp-9
/usr/bin/arm-linux-gnueabihf-dwp
/usr/bin/arm-linux-gnueabihf-elfedit
/usr/bin/arm-linux-gnueabihf-g++
/usr/bin/arm-linux-gnueabihf-g++-9
/usr/bin/arm-linux-gnueabihf-gcc
/usr/bin/arm-linux-gnueabihf-gcc-9
/usr/bin/arm-linux-gnueabihf-gcc-ar
/usr/bin/arm-linux-gnueabihf-gcc-ar-9
/usr/bin/arm-linux-gnueabihf-gcc-nm
/usr/bin/arm-linux-gnueabihf-gcc-nm-9
/usr/bin/arm-linux-gnueabihf-gcc-ranlib
/usr/bin/arm-linux-gnueabihf-gcc-ranlib-9
/usr/bin/arm-linux-gnueabihf-gcov
/usr/bin/arm-linux-gnueabihf-gcov-9
/usr/bin/arm-linux-gnueabihf-gcov-dump
/usr/bin/arm-linux-gnueabihf-gcov-dump-9
/usr/bin/arm-linux-gnueabihf-gcov-tool
/usr/bin/arm-linux-gnueabihf-gcov-tool-9
/usr/bin/arm-linux-gnueabihf-gprof
/usr/bin/arm-linux-gnueabihf-ld
/usr/bin/arm-linux-gnueabihf-ld.bfd
/usr/bin/arm-linux-gnueabihf-ld.gold
/usr/bin/arm-linux-gnueabihf-nm
/usr/bin/arm-linux-gnueabihf-objcopy
/usr/bin/arm-linux-gnueabihf-objdump
/usr/bin/arm-linux-gnueabihf-ranlib
/usr/bin/arm-linux-gnueabihf-readelf
/usr/bin/arm-linux-gnueabihf-size
/usr/bin/arm-linux-gnueabihf-strings
/usr/bin/arm-linux-gnueabihf-strip

________________________________
Von: Fabio Estevam <festevam at gmail.com>
Gesendet: Dienstag, 15. März 2022 12:53
An: Sarmad Ahmad <sarmad101 at hotmail.com>
Cc: u-boot at lists.denx.de <u-boot at lists.denx.de>
Betreff: Re: Problem to build u-boot

Hi Sarmad,

On Tue, Mar 15, 2022 at 8:43 AM Sarmad Ahmad <sarmad101 at hotmail.com> wrote:
>
> Hi,
>
> i am stundent and try to build u-boot for board cora-z7-10
>
> I build u-boot as follows
>
>
>
> export  ARCH=arm
>
> export CROSS_COMPILE=gcc-7-arm-linux-gnueabihf-

Try:

export ARCH=arm
export CROSS_COMPILE=/usr/bin/arm-linux-gnueabihf-

>
> export DEVICE_TREE="zynq-zc702"

No need for exporting this.

Regards,

Fabio Estevam


More information about the U-Boot mailing list