02-01-2019 03:48 AM
Hi all, I just created a project and imported a hdf file, when I config the u-boot, some errors are reported as follows, and a full log is appended in the log.txt, how can I fix it?
Thanks!
| make -f /home/user/zynq_rec/build/tmp/work/plnx_zynq7-xilinx-linux-gnueabi/u-boot-xlnx/v2018.01-xilinx-v2018.2+gitAUTOINC+21812b5fd3-r0/git/scripts/Makefile.build obj=scripts/kconfig zynq_rec_config | scripts/kconfig/conf --defconfig=arch/../configs/zynq_rec_defconfig Kconfig | *** | *** Can't find default configuration "arch/../configs/zynq_rec_defconfig"! | *** | ERROR: oe_runmake failed | make[2]: *** [/home/user/zynq_rec/build/tmp/work/plnx_zynq7-xilinx-linux-gnueabi/u-boot-xlnx/v2018.01-xilinx-v2018.2+gitAUTOINC+21812b5fd3-r0/git/scripts/kconfig/Makefile:121: zynq_rec_defconfig] Error 1 | make[1]: *** [/home/user/zynq_rec/build/tmp/work/plnx_zynq7-xilinx-linux-gnueabi/u-boot-xlnx/v2018.01-xilinx-v2018.2+gitAUTOINC+21812b5fd3-r0/git/Makefile:479: zynq_rec_config] Error 2 | make[1]: Leaving directory '/home/user/zynq_rec/build/tmp/work/plnx_zynq7-xilinx-linux-gnueabi/u-boot-xlnx/v2018.01-xilinx-v2018.2+gitAUTOINC+21812b5fd3-r0/build' | make: *** [Makefile:150: sub-make] Error 2 | make: Leaving directory '/home/user/zynq_rec/build/tmp/work/plnx_zynq7-xilinx-linux-gnueabi/u-boot-xlnx/v2018.01-xilinx-v2018.2+gitAUTOINC+21812b5fd3-r0/git' | WARNING: /home/user/zynq_rec/build/tmp/work/plnx_zynq7-xilinx-linux-gnueabi/u-boot-xlnx/v2018.01-xilinx-v2018.2+gitAUTOINC+21812b5fd3-r0/temp/run.do_configure.28226:1 exit 1 from 'exit 1' | ERROR: Function failed: do_configure (log file is located at /home/user/zynq_rec/build/tmp/work/plnx_zynq7-xilinx-linux-gnueabi/u-boot-xlnx/v2018.01-xilinx-v2018.2+gitAUTOINC+21812b5fd3-r0/temp/log.do_configure.28226) ERROR: Task (/home/user/petalinux/components/yocto/source/arm/layers/meta-xilinx/meta-xilinx-bsp/recipes-bsp/u-boot/u-boot-xlnx_2018.2.bb:do_configure) failed with exit code '1' NOTE: Tasks Summary: Attempted 451 tasks of which 440 didn't need to be rerun and 1 failed.
02-01-2019 05:00 PM
The problem is solved. The initial configuration was very long, and the computer went into suspend. I think the ubuntu in my virtualbox had some files corrupted during suspending and resuming, this caused the uboot configuration failure. I imported the hdf again, and now it works ok.