yocto build error :Function failed: fsl_bin_do_unpack

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

yocto build error :Function failed: fsl_bin_do_unpack

3,650 Views
bratzhang
Contributor II

Dear Sir:

      Follow error appeared when I build the yocto project, environment is ubuntu 14.04,64bit virtual machine, I searched the internet but nothing helpful .

     How could I do to solve the problem? Thanks!

ERROR: Error executing a python function in /home/zyz/fsl-release-bsp/sources/meta-fsl-bsp-release/imx/meta-fsl-arm/recipes-graphics/imx-gpu-viv/imx-gpu-viv_5.0.11.p4.1-hfp.bb:

The stack trace of python calls that resulted in this exception/failure was:
File: 'fsl_bin_do_unpack', lineno: 35, function: <module>
     0031:    # Return to the previous directory
     0032:    os.chdir(save_cwd)
     0033:
     0034:
*** 0035:fsl_bin_do_unpack(d)
     0036:
File: 'fsl_bin_do_unpack', lineno: 29, function: fsl_bin_do_unpack
     0025:                save_cwd = os.getcwd()
     0026:                os.chdir(rootdir)
     0027:
     0028:                cmd = "sh %s --auto-accept --force" % (url.localpath)
*** 0029:                bb.fetch2.runfetchcmd(cmd, d, quiet=True)
     0030:
     0031:    # Return to the previous directory
     0032:    os.chdir(save_cwd)
     0033:
File: '/home/zyz/fsl-release-bsp/sources/poky/bitbake/lib/bb/fetch2/__init__.py', lineno: 722, function: runfetchcmd
     0718:                bb.utils.remove(f, True)
     0719:            except OSError:
     0720:                pass
     0721:
*** 0722:        raise FetchError(error_message)
     0723:
     0724:    return output
     0725:
     0726:def check_network_access(d, info = "", url = None):
Exception: FetchError: Fetcher failure: Fetch command failed with exit code 15, output:
Welcome to Freescale imx-gpu-viv-5.0.11.p4.1-hfp.bin

WARNING: EULA has been auto-accepted; this imply you agree with it anyway.
Unpacking file ...........................................................................................................................................................................................................................................................................................................................................
mkdir: cannot create directory 'imx-gpu-viv-5.0.11.p4.1-hfp': File exists

bzip2: Data integrity error when decompressing.
Input file = (stdin), output file = (stdout)

It is possible that the compressed file(s) have become corrupted.
You can use the -tvv option to test integrity of such files.

You can use the `bzip2recover' program to attempt to recover
data from undamaged sections of corrupted files.

ERROR:
Signal caught, cleaning up

ERROR: Function failed: fsl_bin_do_unpack
ERROR: Logfile of failure stored in: /home/zyz/fsl-release-bsp/build/tmp/work/cortexa9hf-vfp-neon-mx6-poky-linux-gnueabi/imx-gpu-viv/1_5.0.11.p4.1-hfp-r0/temp/log.do_unpack.22231
ERROR: Task 994 (/home/zyz/fsl-release-bsp/sources/meta-fsl-bsp-release/imx/meta-fsl-arm/recipes-graphics/imx-gpu-viv/imx-gpu-viv_5.0.11.p4.1-hfp.bb, do_unpack) failed with exit code '1'
NOTE: Tasks Summary: Attempted 1056 tasks of which 13 didn't need to be rerun and 1 failed.
Waiting for 0 running tasks to finish:

Summary: 1 task failed:
  /home/zyz/fsl-release-bsp/sources/meta-fsl-bsp-release/imx/meta-fsl-arm/recipes-graphics/imx-gpu-viv/imx-gpu-viv_5.0.11.p4.1-hfp.bb, do_unpack
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

Labels (2)
0 Kudos
Reply
5 Replies

2,824 Views
igorpadykov
NXP Employee
NXP Employee

Hi Brat

recent gpu driver upgraded to Vivante v5.0.11p7.4. Please try it

and follow documents in BSP package

Board Support Packages (29)

L3.14.52_1.1.0_MX6QDLSOLO (REV L3.14.52_1.1.0)

http://www.nxp.com/products/microcontrollers-and-processors/arm-processors/i.mx-applications-process...

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply

2,824 Views
bratzhang
Contributor II

Dear Igor:

  I have check the link site , I just found the package L3.14.52_1.1.0-ga_gpu-tools.tar.gz ,but not the L3.14.52_1.1.0_MX6QDLSOLO (REV L3.14.52_1.1.0), is that file right? Also ,there is no  documents in BSP package to follow in the L3.14.52_1.1.0-ga_gpu-tools.tar.gz , hope your response , thanks!

0 Kudos
Reply

2,824 Views
igorpadykov
NXP Employee
NXP Employee

Hi Brat

scroll a bit down on page:

Board Support Packages (29)

L3.14.52_1.1.0_MX6QDLSOLO

~igor

0 Kudos
Reply

2,824 Views
bratzhang
Contributor II

Thanks , I have downloaded the package, but what should to do with that ?

I build the yocto project  with the document (The Yocto Project™ and Linux Software Development for i.MX Application Processors), BUT there is no step to introduction with the BSP(29)?

Thanks again!

!

0 Kudos
Reply

2,824 Views
bratzhang
Contributor II

thanks a lot ,I'll try laterly.

BTW, what the reason of the error?

0 Kudos
Reply