cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Visitor
Visitor
42 Views
Registered: ‎08-24-2020

petalinux u-boot

why when u-boot target set as zynq_zc706_deconfig it gets error,but it can worked around with zynq_zc706_config. What differences between them?

And another question: why some linux kernel headers mising in petalinux project such as /linux/device.h ...、linux/spi/spi.c(under linux/spi  there are only one file spidev.h) 

Thanks!

in_peace_0-1600238361078.png

petalinux-build
[INFO] building project
[INFO] sourcing bitbake
INFO: bitbake petalinux-user-image
Loading cache: 100% |############################################| Time: 0:00:00
Loaded 3446 entries from dependency cache.
Parsing recipes: 100% |##########################################| Time: 0:00:04
Parsing of 2571 .bb files complete (2538 cached, 33 parsed). 3447 targets, 149 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
Initialising tasks: 100% |#######################################| Time: 0:00:08
Checking sstate mirror object availability: 100% |###############| Time: 0:00:08
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: u-boot-xlnx-v2018.01-xilinx-v2018.3+gitAUTOINC+d8fc4b3b70-r0 do_configure: oe_runmake failed
ERROR: u-boot-xlnx-v2018.01-xilinx-v2018.3+gitAUTOINC+d8fc4b3b70-r0 do_configure: Function failed: do_configure (log file is located at /home/zlh/mini_sysy_petalinux/build/tmp/work/plnx_zynq7-xilinx-linux-gnueabi/u-boot-xlnx/v2018.01-xilinx-v2018.3+gitAUTOINC+d8fc4b3b70-r0/temp/log.do_configure.33435)
ERROR: Logfile of failure stored in: /home/zlh/mini_sysy_petalinux/build/tmp/work/plnx_zynq7-xilinx-linux-gnueabi/u-boot-xlnx/v2018.01-xilinx-v2018.3+gitAUTOINC+d8fc4b3b70-r0/temp/log.do_configure.33435
Log data follows:
| DEBUG: Executing shell function do_configure
| NOTE: make CROSS_COMPILE=arm-xilinx-linux-gnueabi- CC=arm-xilinx-linux-gnueabi-gcc --sysroot=/home/zlh/mini_sysy_petalinux/build/tmp/work/plnx_zynq7-xilinx-linux-gnueabi/u-boot-xlnx/v2018.01-xilinx-v2018.3+gitAUTOINC+d8fc4b3b70-r0/recipe-sysroot V=1 HOSTCC=gcc -isystem/home/zlh/mini_sysy_petalinux/build/tmp/work/plnx_zynq7-xilinx-linux-gnueabi/u-boot-xlnx/v2018.01-xilinx-v2018.3+gitAUTOINC+d8fc4b3b70-r0/recipe-sysroot-native/usr/include -O2 -pipe -L/home/zlh/mini_sysy_petalinux/build/tmp/work/plnx_zynq7-xilinx-linux-gnueabi/u-boot-xlnx/v2018.01-xilinx-v2018.3+gitAUTOINC+d8fc4b3b70-r0/recipe-sysroot-native/usr/lib -L/home/zlh/mini_sysy_petalinux/build/tmp/work/plnx_zynq7-xilinx-linux-gnueabi/u-boot-xlnx/v2018.01-xilinx-v2018.3+gitAUTOINC+d8fc4b3b70-r0/recipe-sysroot-native/lib -Wl,-rpath-link,/home/zlh/mini_sysy_petalinux/build/tmp/work/plnx_zynq7-xilinx-linux-gnueabi/u-boot-xlnx/v2018.01-xilinx-v2018.3+gitAUTOINC+d8fc4b3b70-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,/home/zlh/mini_sysy_petalinux/build/tmp/work/plnx_zynq7-xilinx-linux-gnueabi/u-boot-xlnx/v2018.01-xilinx-v2018.3+gitAUTOINC+d8fc4b3b70-r0/recipe-sysroot-native/lib -Wl,-rpath,/home/zlh/mini_sysy_petalinux/build/tmp/work/plnx_zynq7-xilinx-linux-gnueabi/u-boot-xlnx/v2018.01-xilinx-v2018.3+gitAUTOINC+d8fc4b3b70-r0/recipe-sysroot-native/usr/lib -Wl,-rpath,/home/zlh/mini_sysy_petalinux/build/tmp/work/plnx_zynq7-xilinx-linux-gnueabi/u-boot-xlnx/v2018.01-xilinx-v2018.3+gitAUTOINC+d8fc4b3b70-r0/recipe-sysroot-native/lib -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=/home/zlh/mini_sysy_petalinux/build/tmp/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 EXT_DTB=/home/zlh/mini_sysy_petalinux/build/tmp/work/plnx_zynq7-xilinx-linux-gnueabi/u-boot-xlnx/v2018.01-xilinx-v2018.3+gitAUTOINC+d8fc4b3b70-r0/recipe-sysroot//boot/devicetree/system-top.dtb -C /home/zlh/mini_sysy_petalinux/build/tmp/work/plnx_zynq7-xilinx-linux-gnueabi/u-boot-xlnx/v2018.01-xilinx-v2018.3+gitAUTOINC+d8fc4b3b70-r0/git O=/home/zlh/mini_sysy_petalinux/build/tmp/work/plnx_zynq7-xilinx-linux-gnueabi/u-boot-xlnx/v2018.01-xilinx-v2018.3+gitAUTOINC+d8fc4b3b70-r0/build zynq_zc706_deconfig
| make: Entering directory '/home/zlh/mini_sysy_petalinux/build/tmp/work/plnx_zynq7-xilinx-linux-gnueabi/u-boot-xlnx/v2018.01-xilinx-v2018.3+gitAUTOINC+d8fc4b3b70-r0/git'
| make -C /home/zlh/mini_sysy_petalinux/build/tmp/work/plnx_zynq7-xilinx-linux-gnueabi/u-boot-xlnx/v2018.01-xilinx-v2018.3+gitAUTOINC+d8fc4b3b70-r0/build KBUILD_src=/home/zlh/mini_sysy_petalinux/build/tmp/work/plnx_zynq7-xilinx-linux-gnueabi/u-boot-xlnx/v2018.01-xilinx-v2018.3+gitAUTOINC+d8fc4b3b70-r0/git \
| -f /home/zlh/mini_sysy_petalinux/build/tmp/work/plnx_zynq7-xilinx-linux-gnueabi/u-boot-xlnx/v2018.01-xilinx-v2018.3+gitAUTOINC+d8fc4b3b70-r0/git/Makefile zynq_zc706_deconfig
| make[1]: Entering directory '/home/zlh/mini_sysy_petalinux/build/tmp/work/plnx_zynq7-xilinx-linux-gnueabi/u-boot-xlnx/v2018.01-xilinx-v2018.3+gitAUTOINC+d8fc4b3b70-r0/build'
| make -f /home/zlh/mini_sysy_petalinux/build/tmp/work/plnx_zynq7-xilinx-linux-gnueabi/u-boot-xlnx/v2018.01-xilinx-v2018.3+gitAUTOINC+d8fc4b3b70-r0/git/scripts/Makefile.build obj=scripts/basic
| rm -f .tmp_quiet_recordmcount
| ln -fsn /home/zlh/mini_sysy_petalinux/build/tmp/work/plnx_zynq7-xilinx-linux-gnueabi/u-boot-xlnx/v2018.01-xilinx-v2018.3+gitAUTOINC+d8fc4b3b70-r0/git source
| /bin/sh /home/zlh/mini_sysy_petalinux/build/tmp/work/plnx_zynq7-xilinx-linux-gnueabi/u-boot-xlnx/v2018.01-xilinx-v2018.3+gitAUTOINC+d8fc4b3b70-r0/git/scripts/mkmakefile \
| /home/zlh/mini_sysy_petalinux/build/tmp/work/plnx_zynq7-xilinx-linux-gnueabi/u-boot-xlnx/v2018.01-xilinx-v2018.3+gitAUTOINC+d8fc4b3b70-r0/git . 2018 01
| GEN ./Makefile
| make -f /home/zlh/mini_sysy_petalinux/build/tmp/work/plnx_zynq7-xilinx-linux-gnueabi/u-boot-xlnx/v2018.01-xilinx-v2018.3+gitAUTOINC+d8fc4b3b70-r0/git/scripts/Makefile.build obj=scripts/kconfig zynq_zc706_deconfig
| make[2]: *** No rule to make target 'zynq_zc706_deconfig'. Stop.
| make[1]: *** [/home/zlh/mini_sysy_petalinux/build/tmp/work/plnx_zynq7-xilinx-linux-gnueabi/u-boot-xlnx/v2018.01-xilinx-v2018.3+gitAUTOINC+d8fc4b3b70-r0/git/Makefile:479: zynq_zc706_deconfig] Error 2
| make[1]: Leaving directory '/home/zlh/mini_sysy_petalinux/build/tmp/work/plnx_zynq7-xilinx-linux-gnueabi/u-boot-xlnx/v2018.01-xilinx-v2018.3+gitAUTOINC+d8fc4b3b70-r0/build'
| make: *** [Makefile:150: sub-make] Error 2
| make: Leaving directory '/home/zlh/mini_sysy_petalinux/build/tmp/work/plnx_zynq7-xilinx-linux-gnueabi/u-boot-xlnx/v2018.01-xilinx-v2018.3+gitAUTOINC+d8fc4b3b70-r0/git'
| ERROR: oe_runmake failed
| WARNING: /home/zlh/mini_sysy_petalinux/build/tmp/work/plnx_zynq7-xilinx-linux-gnueabi/u-boot-xlnx/v2018.01-xilinx-v2018.3+gitAUTOINC+d8fc4b3b70-r0/temp/run.do_configure.33435:1 exit 1 from 'exit 1'
| ERROR: Function failed: do_configure (log file is located at /home/zlh/mini_sysy_petalinux/build/tmp/work/plnx_zynq7-xilinx-linux-gnueabi/u-boot-xlnx/v2018.01-xilinx-v2018.3+gitAUTOINC+d8fc4b3b70-r0/temp/log.do_configure.33435)
ERROR: Task (/home/zlh/Desktop/petalinux/components/yocto/source/arm/layers/meta-xilinx/meta-xilinx-bsp/recipes-bsp/u-boot/u-boot-xlnx_2018.3.bb:do_configure) failed with exit code '1'

 

0 Kudos
0 Replies