AnsweredAssumed Answered

Linux Kernel make problem for KCU105

Question asked by wpw on Mar 17, 2016
Latest reply on Mar 21, 2016 by mhennerich

Hello,

 

I am trying to build linux kernel for the ad_fmcdaq2_ebz dev kit on a Xilinx kintex KCU105 card.  I am running through the steps as instructed on this page:

AD-FMCDAQ2-EBZ on Microblaze [Analog Devices Wiki]

 

Get Linux kernel source - successful

Checkout xcomm_zynq branch - successful

Set Environmental Variables - successful ( I am using Xilinx SDK version 15.2 and compiled the reference design using same)

Configure Kernel - successful

Get Root File-System

Root File-system (initramfs) rootfs.cpio.gz must be placed in the root of your kernel tree.  - done

 

Under required software, there is a link to Microblaze GNU toolchain:

git clone git://git.xilinx.com/microblaze-gnu.git ( FAIL ) there is no such repository

git clone git://git.xilinx.com/xldk/microblaze_v2.0_le.git ( FAIL ) there is no such repository

 

Looking through the other questions here, I was able to see that Xilinx SDK now provides the toolchain so I  execute the following:

export PATH=/cygdrive/c/Xilinx/SDK/2015.2/gnu/microblaze/linux_toolchain/nt64_le/bin:$PATH

export CROSS_COMPILE=microblazeel-xilinx-linux-gnu-

 

From linux prompt:

source /cygdrive/c/Xilinx/SDK/2015.2/settings64.sh

export ARCH=microblaze

make adi_mb_defconfig

 

make -j4 simpleImage.kcu105_fmcdaq2

scripts/kconfig/conf  --silentoldconfig Kconfig

  CHK     include/config/kernel.release

  CHK     include/generated/uapi/linux/version.h

  CC      scripts/mod/empty.o

  CC      scripts/mod/devicetable-offsets.s

: No such file or directoryg file:

scripts/Makefile.build:258: recipe for target 'scripts/mod/empty.o' failed

make[2]: *** [scripts/mod/empty.o] Error 2

make[2]: *** Waiting for unfinished jobs....

: No such file or directoryg file:

scripts/Makefile.build:153: recipe for target 'scripts/mod/devicetable-offsets.s' failed

make[2]: *** [scripts/mod/devicetable-offsets.s] Error 2

scripts/Makefile.build:403: recipe for target 'scripts/mod' failed

make[1]: *** [scripts/mod] Error 2

Makefile:545: recipe for target 'scripts' failed

make: *** [scripts] Error 2

make: *** Waiting for unfinished jobs....

 

Is there something else I should be doing to get this to generate?  Please help.

Outcomes