cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
290 Views
Registered: ‎04-04-2019

do CPIO error code 1 during petalinux compile

The log helpfully just has the error message bitbake failed. Anyone have any idea what an error code 1 is?

0 Kudos
4 Replies
Highlighted
264 Views
Registered: ‎04-04-2019

Re: do CPIO error code 1 during petalinux compile

lol the

The first error inthe log:

p-proj/xilinx-zcu111-2019.1/build/tmp/work/zcu111_zynqmp-xilinx-linux/petalinux-user-image/1.0-r0/temp/log.do_image$

 

the contents of that file :|

DEBUG: Executing python function do_image
NOTE: Executing mklibs_optimize_image ...
DEBUG: Executing shell function mklibs_optimize_image
DEBUG: Shell function mklibs_optimize_image finished
NOTE: Executing reproducible_final_image_task ...
DEBUG: Executing shell function reproducible_final_image_task
DEBUG: Shell function reproducible_final_image_task finished
DEBUG: Python function do_image finished

 

0 Kudos
Highlighted
246 Views
Registered: ‎04-04-2019

Re: do CPIO error code 1 during petalinux compile

Oddly

 

petalinux-build -x mrproper

 

and rebuilding it worked fine

0 Kudos
Highlighted
240 Views
Registered: ‎04-04-2019

Re: do CPIO error code 1 during petalinux compile

disregard. It is still giving me this error but here's some additional log info i got this time

 

Log data follows:
| DEBUG: Executing python function set_image_size
| DEBUG: 3069456.000000 = 2361120 * 1.300000
| DEBUG: 3171856.000000 = max(3069456.000000, 65536)[3069456.000000] + 1
| DEBUG: 3171856.000000 = int(3171856.000000)
| DEBUG: 3171856 = aligned(3171856)
| DEBUG: returning 3171856
| DEBUG: Python function set_image_size finished
| DEBUG: Executing python function extend_recipe_sysroot

0 Kudos
Highlighted
230 Views
Registered: ‎04-04-2019

Re: do CPIO error code 1 during petalinux compile

it apparently is caused by me using

 

IMAGE_INSTALL_append = " nano"

 

to install nano in the local.conf. Apparently petalinux doesn't like people using image install append?

0 Kudos