AnsweredAssumed Answered

rebuild u-boot failed

Question asked by James12345 on Jun 19, 2018
Latest reply on Jun 20, 2018 by mhennerich

Hi there,

 

earlier we raised question below about failing to boot from sd card. Thanks for your support which helped us boot zcu102 daq2 from sd card.

zcu102&DAQ2: fail to boot from sd 

 

Now, we want to reproduce the same environment (u-boot, linux-kernel, arm-trusted-fw,.... ) .

for u-boot, we did git clone (master)  https://github.com/analogdevicesinc/u-boot-xlnx.git.
louie@louie-ThinkPad-X240:~/ws/adi_ref_design/2018_R1$ git clone https://github.com/analogdevicesinc/u-boot-xlnx.git
Cloning into 'u-boot-xlnx'...
remote: Counting objects: 418529, done.
remote: Total 418529 (delta 0), reused 0 (delta 0), pack-reused 418529
Receiving objects: 100% (418529/418529), 109.55 MiB | 2.21 MiB/s, done.
Resolving deltas: 100% (331922/331922), done.
Checking connectivity... done.

louie@louie-ThinkPad-X240:~/ws/adi_ref_design/2018_R1$ cd u-boot-xlnx/

louie@louie-ThinkPad-X240:~/ws/adi_ref_design/2018_R1/u-boot-xlnx$ export ARCH=arm64
louie@louie-ThinkPad-X240:~/ws/adi_ref_design/2018_R1/u-boot-xlnx$ export CROSS_COMPILE=aarch64-linux-gnu-
louie@louie-ThinkPad-X240:~/ws/adi_ref_design/2018_R1/u-boot-xlnx$ make xilinx_zynqmp_zcu102_defconfig
#
# configuration written to .config
#
louie@louie-ThinkPad-X240:~/ws/adi_ref_design/2018_R1/u-boot-xlnx$ make -j8

 

DTC arch/arm/dts/zynqmp-ep108.dtb
/bin/sh: 1: dtc: not found
scripts/Makefile.lib:299: recipe for target 'arch/arm/dts/zynqmp-ep108.dtb' failed
make[2]: *** [arch/arm/dts/zynqmp-ep108.dtb] Error 127
dts/Makefile:36: recipe for target 'arch-dtbs' failed
make[1]: *** [arch-dtbs] Error 2
Makefile:1210: recipe for target 'dts' failed
make: *** [dts] Error 2

 

 

Is this known problem?

 

Can you help?

 

James

Outcomes