cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
755 Views
Registered: ‎08-09-2018

petalinux-build trouble shoot

I had process petalinux-build done successfully ago. 

it report error below.

what's wrong with it?   

thanks for anything help.

zynq@zynq-VirtualBox:~/develop/bsp/xilinx-zcu106-2018.1$ petalinux-build
[INFO] building project
[INFO] sourcing bitbake
INFO: bitbake petalinux-user-image
Loading cache: 100% |#################################################################################| Time: 0:00:01
Loaded 3432 entries from dependency cache.
Parsing recipes: 100% |###############################################################################| Time: 0:00:08
Parsing of 2544 .bb files complete (2506 cached, 38 parsed). 3436 targets, 136 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
Initialising tasks: 100% |############################################################################| Time: 0:00:29
Checking sstate mirror object availability: 100% |####################################################| Time: 0:00:49
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: linux-xlnx-4.14-xilinx-v2018.1+gitAUTOINC+4ac76ffacb-r0 do_bundle_initramfs: Function failed: do_bundle_initramfs (log file is located at /home/zynq/develop/bsp/xilinx-zcu106-2018.1/build/tmp/work/zcu106_zynqmp-xilinx-linux/linux-xlnx/4.14-xilinx-v2018.1+gitAUTOINC+4ac76ffacb-r0/temp/log.do_bundle_initramfs.5362)
ERROR: Logfile of failure stored in: /home/zynq/develop/bsp/xilinx-zcu106-2018.1/build/tmp/work/zcu106_zynqmp-xilinx-linux/linux-xlnx/4.14-xilinx-v2018.1+gitAUTOINC+4ac76ffacb-r0/temp/log.do_bundle_initramfs.5362
Log data follows:
| DEBUG: Executing shell function do_bundle_initramfs
| Creating a kernel image with a bundled initramfs...
| Copying initramfs into ./usr ...
| gzip decompressing image
| Finished copy of initramfs into ./usr
| mv: cannot stat '/home/zynq/develop/bsp/xilinx-zcu106-2018.1/build/tmp/work/zcu106_zynqmp-xilinx-linux/linux-xlnx/4.14-xilinx-v2018.1+gitAUTOINC+4ac76ffacb-r0/linux-zcu106_zynqmp-standard-build/vmlinux': No such file or directory
| WARNING: /home/zynq/develop/bsp/xilinx-zcu106-2018.1/build/tmp/work/zcu106_zynqmp-xilinx-linux/linux-xlnx/4.14-xilinx-v2018.1+gitAUTOINC+4ac76ffacb-r0/temp/run.do_bundle_initramfs.5362:1 exit 1 from 'mv -f $realpath $realpath.bak'
| ERROR: Function failed: do_bundle_initramfs (log file is located at /home/zynq/develop/bsp/xilinx-zcu106-2018.1/build/tmp/work/zcu106_zynqmp-xilinx-linux/linux-xlnx/4.14-xilinx-v2018.1+gitAUTOINC+4ac76ffacb-r0/temp/log.do_bundle_initramfs.5362)
ERROR: Task (/home/zynq/develop/petalinux/components/yocto/source/aarch64/layers/meta-xilinx/meta-xilinx-bsp/recipes-kernel/linux/linux-xlnx_2018.1.bb:do_bundle_initramfs) failed with exit code '1'
NOTE: Tasks Summary: Attempted 6656 tasks of which 6655 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
/home/zynq/develop/petalinux/components/yocto/source/aarch64/layers/meta-xilinx/meta-xilinx-bsp/recipes-kernel/linux/linux-xlnx_2018.1.bb:do_bundle_initramfs
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
ERROR: Failed to build project

 

log.do_bundle_initramfs.5362

DEBUG: Executing shell function do_bundle_initramfs
Creating a kernel image with a bundled initramfs...
Copying initramfs into ./usr ...
gzip decompressing image
Finished copy of initramfs into ./usr
mv: cannot stat '/home/zynq/develop/bsp/xilinx-zcu106-2018.1/build/tmp/work/zcu106_zynqmp-xilinx-linux/linux-xlnx/4.14-xilinx-v2018.1+gitAUTOINC+4ac76ffacb-r0/linux-zcu106_zynqmp-standard-build/vmlinux': No such file or directory
WARNING: /home/zynq/develop/bsp/xilinx-zcu106-2018.1/build/tmp/work/zcu106_zynqmp-xilinx-linux/linux-xlnx/4.14-xilinx-v2018.1+gitAUTOINC+4ac76ffacb-r0/temp/run.do_bundle_initramfs.5362:1 exit 1 from 'mv -f $realpath $realpath.bak'
ERROR: Function failed: do_bundle_initramfs (log file is located at /home/zynq/develop/bsp/xilinx-zcu106-2018.1/build/tmp/work/zcu106_zynqmp-xilinx-linux/linux-xlnx/4.14-xilinx-v2018.1+gitAUTOINC+4ac76ffacb-r0/temp/log.do_bundle_initramfs.5362)
0 Kudos
7 Replies
Highlighted
Participant
Participant
660 Views
Registered: ‎09-20-2018

Re: petalinux-build trouble shoot

I face the same issue....
0 Kudos
Highlighted
Adventurer
Adventurer
605 Views
Registered: ‎10-02-2018

Re: petalinux-build trouble shoot

Hi.

I have met the same problem. How did you solve?

Thanks.

0 Kudos
Highlighted
576 Views
Registered: ‎08-09-2018

Re: petalinux-build trouble shoot

unfortunately, no progress. 

what's your petalinux version ? 

i tried these in 2018.1.

0 Kudos
Highlighted
574 Views
Registered: ‎08-09-2018

Re: petalinux-build trouble shoot

what's your petalinux version ? 

0 Kudos
Highlighted
573 Views
Registered: ‎08-09-2018

Re: petalinux-build trouble shoot

i made another new project and passby.

0 Kudos
Highlighted
Explorer
Explorer
268 Views
Registered: ‎11-30-2017

回复: petalinux-build trouble shoot

I have the same problem.

---/\/\/\/\/\/\/\---
Always Online
0 Kudos
Highlighted
Moderator
Moderator
241 Views
Registered: ‎09-12-2007

回复: petalinux-build trouble shoot

Petalinux uses a temporal directory for the build files. Can you make sure that there is suffient space here. Or clean stale builds for your /tmp dir

0 Kudos