cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
ilya1976
Participant
Participant
369 Views
Registered: ‎04-07-2014

Linux u-boot build for zc702 make

Hello,

I've encountered a problem with building  u-boot for arm of zc702.

I followed instructions from https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/18841973/Build+U-Boot

I downloaded u-boot-xilinx from github, set environment variables and paths as:

export ARCH=arm

export PATH=/vivado/u-boot-xlnx/tools/:$PATH

source /vivado/Vivado_2020_2/Vivado/2020.2/settings64.sh

source /vivado/Vivado_2020_2/Vitis/2020.2/settings64.sh

and after that I tried to run make from u-boot-xilinx directory.

#############################################

[ilya@localhost u-boot-xlnx]$ make zynq_zc702_defconfig
HOSTCC scripts/basic/fixdep
HOSTCC scripts/kconfig/conf.o
YACC scripts/kconfig/zconf.tab.c
LEX scripts/kconfig/zconf.lex.c
HOSTCC scripts/kconfig/zconf.tab.o
HOSTLD scripts/kconfig/conf
***
*** Can't find default configuration "arch/../configs/zynq_zc702_defconfig"!
***
make[1]: *** [scripts/kconfig/Makefile:128: zynq_zc702_defconfig] Error 1
make: *** [Makefile:540: zynq_zc702_defconfig] Error 2

##########################################################

Thank you very  much in advance for any help, advice or suggestion!

0 Kudos
2 Replies
Prasanna_K
Explorer
Explorer
360 Views
Registered: ‎07-24-2020

Hi @ilya1976 ,

You need to run below command, Because For 2020.1 and above releases common defconfig is being made

 

make distclean
make xilinx_zynq_virt_defconfig
export DEVICE_TREE="zynq-zc702"
make

 

 

Regards,

Prasanna

 

Give kudos if helpful. Accept as solution if it solves your problem.

0 Kudos
ilya1976
Participant
Participant
344 Views
Registered: ‎04-07-2014

Thank you!

Config passed ok, but now I have error on make stage.

/bin/sh: arm-none-linux-gnueabi-gcc: command not found

I use CentOS 8, I know that this version is not supported, also

I haven't found arm-none-linux-gnueabi-gcc for CentOS 8.

But maybe there is any alternative way to build u-boot?

 

 

 

0 Kudos