We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

Page Bookmarked

AR# 52764

Zynq-7000 AP SoC OS - Make Errors When Building the Linux Kernel


The following occurs while building the linux kernel for Zynq:

#> make ARCH=arm uImage
CHK include/linux/version.h
CHK include/generated/utsrelease.h
make[1]: `include/generated/mach-types.h' is up to date.
CALL scripts/checksyscalls.sh
CHK include/generated/compile.h
CHK kernel/config_data.h
CC drivers/char/xilinx_devcfg.o
drivers/char/xilinx_devcfg.c: In function 'xdevcfg_drv_probe':
drivers/char/xilinx_devcfg.c:1504:2: error: implicit declaration of function 'of_get_next_parent' [-Werror=implicit-function-declaration]
drivers/char/xilinx_devcfg.c:1504:5: warning: assignment makes pointer from integer without a cast [enabled by default]
drivers/char/xilinx_devcfg.c:1505:5: warning: assignment makes pointer from integer without a cast [enabled by default]

How do I resolve this?


This occurs because the GNU tool chain is not set up correctly.

For building up the Linux kernel, ensure that theGNU tools are set up properly based on the instructions from the Xilinx wiki: http://wiki.xilinx.com/zynq-tools

Once the tools are setup properly, try the build command again.

The complete information for this flowis available on the Xilinx wiki: http://wiki.xilinx.com/zynq-linux#toc9

Linked Answer Records

Master Answer Records

Answer Number Answer Title Version Found Version Resolved
52599 Zynq-7000 AP SoC - Operating Systems Development N/A N/A
AR# 52764
Date 01/28/2013
Status Active
Type General Article
  • Zynq-7000