UPGRADE YOUR BROWSER

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!

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

链接问答记录

主要问答记录

Answer Number 问答标题 问题版本 已解决问题的版本
52599 Zynq-7000 AP SoC - Operating Systems Development N/A N/A
AR# 52764
日期 01/28/2013
状态 Active
Type 综合文章
器件
  • Zynq-7000
的页面