Failed to install imx-gpu-viv-6.2.4.p1.2 in Yocto 4.9.88

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

Failed to install imx-gpu-viv-6.2.4.p1.2 in Yocto 4.9.88

Jump to solution
6,594 Views
zohanlin
Contributor IV

Dear all,

My yocto is 4.9.88, and I install it in imx6q.

When I bitbake imx-gpu-viv, it failed.

It said I don't  have COPYING file in imx-gpu-viv-6.2.4.p1.2-aarch32 folder, that's right?

I google about imx-gpu-viv-6.2.4.p1.2 package and I don't find the COPYING file.

How do I get the file?

Or the root cause is another reason?

The log as below:

DEBUG: Executing python function sstate_task_prefunc
DEBUG: Python function sstate_task_prefunc finished
DEBUG: Executing python function do_populate_lic
WARNING: Could not copy license file /mnt/Build_Server_Disk1/MS5776_bk/20190503/imx-yocto-bsp/imx-linux-rocko/MS5776_V001/tmp/work/cortexa9hf-neon-mx6qdl-poky-linux-gnueabi/imx-gpu-viv/1_6.2.4.p1.2-aarch32-r0/imx-gpu-viv-6.2.4.p1.2-aarch32/COPYING to /mnt/Build_Server_Disk1/MS5776_bk/20190503/imx-yocto-bsp/imx-linux-rocko/MS5776_V001/tmp/work/cortexa9hf-neon-mx6qdl-poky-linux-gnueabi/imx-gpu-viv/1_6.2.4.p1.2-aarch32-r0/license-destdir/imx-gpu-viv/COPYING: [Errno 2] No such file or directory: '/mnt/Build_Server_Disk1/MS5776_bk/20190503/imx-yocto-bsp/imx-linux-rocko/MS5776_V001/tmp/work/cortexa9hf-neon-mx6qdl-poky-linux-gnueabi/imx-gpu-viv/1_6.2.4.p1.2-aarch32-r0/imx-gpu-viv-6.2.4.p1.2-aarch32/COPYING'
DEBUG: Python function do_populate_lic finished
DEBUG: Executing python function populate_lic_qa_checksum
ERROR: QA Issue: imx-gpu-viv: LIC_FILES_CHKSUM points to an invalid file: /mnt/Build_Server_Disk1/MS5776_bk/20190503/imx-yocto-bsp/imx-linux-rocko/MS5776_V001/tmp/work/cortexa9hf-neon-mx6qdl-poky-linux-gnueabi/imx-gpu-viv/1_6.2.4.p1.2-aarch32-r0/imx-gpu-viv-6.2.4.p1.2-aarch32/COPYING [license-checksum]
ERROR: QA Issue: imx-gpu-viv: The LIC_FILES_CHKSUM does not match for file:///mnt/Build_Server_Disk1/MS5776_bk/20190503/imx-yocto-bsp/imx-linux-rocko/sources/meta-ms5776/EULA;md5=75abe2fa1d16ca79f87cde926f05f72d
imx-gpu-viv: The new md5 checksum is 8cf95184c220e247b9917e7244124c5a
imx-gpu-viv: Here is the selected license text:
vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
LA_OPT_BASE_LICENSE v12 March 2016

IMPORTANT. Read the following NXP Semiconductor Software License Agreement
("Agreement") completely. By selecting the "I Accept" button at the end of
this page, you indicate that you accept the terms of the Agreement and you
acknowledge that you have the authority, for yourself or on behalf of your
company, to bind your company to these terms. You may then download or install
the file.

NXP SEMICONDUCTOR SOFTWARE LICENSE AGREEMENT
...

- Duration of the license for the Licensed Software is limited to
12 months, unless otherwise specified in the license file.

- The Licensed Software is usable by one user at a time on a single
designated computer, unless otherwise agreed by Synopsys.

- Licensed Software and documentation are to be used only on a
designated computer at the designated physical address provided by you on the
APEX license form.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
imx-gpu-viv: Check if the license information has changed in /mnt/Build_Server_Disk1/MS5776_bk/20190503/imx-yocto-bsp/imx-linux-rocko/sources/meta-ms5776/EULA to verify that the LICENSE value "Proprietary" remains valid [license-checksum]
ERROR: Fatal QA errors found, failing task.
DEBUG: Python function populate_lic_qa_checksum finished
ERROR: Function failed: populate_lic_qa_checksum

If you have any idea, please let me know.

Thanks a lot,

zohan

Labels (2)
0 Kudos
Reply
1 Solution
5,711 Views
zohanlin
Contributor IV

Hi,

I find the root cause : the EURA  file is expired.

I forgot to update my EURA, so I copied the sources/meta-freescale/EULA to my image folder,  and it worked.

I can also compile it on Ubuntu 18.04.

Thanks for all your reply.

zohan

View solution in original post

0 Kudos
Reply
8 Replies
5,712 Views
zohanlin
Contributor IV

Hi,

I find the root cause : the EURA  file is expired.

I forgot to update my EURA, so I copied the sources/meta-freescale/EULA to my image folder,  and it worked.

I can also compile it on Ubuntu 18.04.

Thanks for all your reply.

zohan

0 Kudos
Reply
5,711 Views
manizillion
Contributor IV

hi zohan, i too face the same issue , please let me know in detail, how to get it correct ?

ERROR: imx-gpu-viv-1_6.2.4.p1.8-aarch64-r0 do_populate_lic: QA Issue: imx-gpu-viv: The LIC_FILES_CHKSUM does not match for file:///home/imx8/workspace_agl/bsp/meta-freescale/EULA;md5=80c0478f4339af024519b3723023fe28
imx-gpu-viv: The new md5 checksum is ab61cab9599935bfe9f700405ef00f28
imx-gpu-viv: Here is the selected license text:
vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
LA_OPT_BASE_LICENSE v24 May 2018

IMPORTANT.  Read the following NXP Software License Agreement ("Agreement")
completely.    By selecting the "I Accept" button at the end of this page, you
indicate that you accept the terms of the Agreement and you acknowledge that
you have the authority, for yourself or on behalf of your company, to bind your
company to these terms.  You may then download or install the file.

...


Texas Instruments
Your use of Texas Instruments Inc. WiLink8 Licensed Software is restricted to
NXP SoC based systems that include a compatible connectivity device
manufactured by TI.

Vivante
Distribution of Vivante software must be a part of, or embedded within,
Authorized Systems that include a Vivante Graphics Processing Unit.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
imx-gpu-viv: Check if the license information has changed in /home/imx8/workspace_agl/bsp/meta-freescale/EULA to verify that the LICENSE value "Proprietary" remains valid [license-checksum]
ERROR: imx-gpu-viv-1_6.2.4.p1.8-aarch64-r0 do_populate_lic: Fatal QA errors found, failing task.
ERROR: imx-gpu-viv-1_6.2.4.p1.8-aarch64-r0 do_populate_lic: Function failed: populate_lic_qa_checksum
ERROR: Logfile of failure stored in: /home/imx8/workspace_agl/build/tmp/work/aarch64-agl-linux/imx-gpu-viv/1_6.2.4.p1.8-aarch64-r0/temp/log.do_populate_lic.15110
ERROR: Task (/home/imx8/workspace_agl/bsp/meta-freescale/recipes-graphics/imx-gpu-viv/imx-gpu-viv_6.2.4.p1.8-aarch64.bb:do_populate_lic) failed with exit code '1'

0 Kudos
Reply
5,711 Views
radhikasomaiya
Senior Contributor II

Hi zohan Lin,

Can you please try to clean it first and then recompile as we are able to build it successfully. You can follow the steps given below. Let us know if this doesn't resolve your problem.

$bitbake -c cleanall imx-gpu-viv
$bitbake imx-gpu-viv

Regards,

Radhika Somaiya

0 Kudos
Reply
5,711 Views
zohanlin
Contributor IV

Hi Radhika Somaiya,

It doesn't resolve my problem.

If you have other ideas, please let me know.

Thanks a lot,

zohan

0 Kudos
Reply
5,711 Views
joanxie
NXP TechSupport
NXP TechSupport

it seems that couldn't find file:

"imx-linux-rocko/MS5776_V001/tmp/work/cortexa9hf-neon-mx6qdl-poky-linux-gnueabi/imx-gpu-viv/1_6.2.4.p1.2-aarch32-r0/imx-gpu-viv-6.2.4.p1.2-aarch32/COPYING",

you can check this path, or find the correct path get this licence file to set

0 Kudos
Reply
5,711 Views
zohanlin
Contributor IV

Hi Joan Xie,

I checked the file imx-gpu-viv-v6.inc,

and I see the line " LIC_FILES_CHKSUM = "file://COPYING;md5=75abe2fa1d16ca79f87cde926f05f72d" ",

so I checked the folder "sources/meta-fsl-bsp-release/imx/meta-bsp/recipes-graphics/imx-gpu-viv",

I couldn't find the COPYING.

Do you have the same problem?

Or is there a patch to fix the issue?

Thanks,

zohan

0 Kudos
Reply
5,711 Views
joanxie
NXP TechSupport
NXP TechSupport

pls refer to the topic as below:

[yocto] LIC_FILES_CHKSUM points to an invalid file

to check if you have the folder "/imx-gpu-viv-6.2.4.p1.2-aarch32" under the path as log file mentions, if this folder is empty or doesn't exit, try to change the correct folder, and your another error is md5 checksum error, change the correct number

0 Kudos
Reply
5,711 Views
zohanlin
Contributor IV

Hi Joan,

I tried to follow the steps from the website, but it didn't work.

The following are two directory structure about imx-gpu-viv

(1) In imx-linux-rocko/MS5776_V001/tmp/work/cortexa9hf-neon-mx6qdl-poky-linux-gnueabi

tree imx-gpu-viv

imx-gpu-viv
   1_6.2.4.p1.2-aarch32-r0

         license-destdir
               imx-gpu-viv
                     EULA
                     generic_Proprietary
                     recipeinfo
      temp
                     log.do_populate_lic -> log.do_populate_lic.20122
                     log.do_populate_lic.20122
                     log.do_populate_lic.2582
                     log.task_order
                     run.do_populate_lic -> run.do_populate_lic.20122
                     run.do_populate_lic.20122
                     run.do_populate_lic.2582
                     run.populate_lic_qa_checksum.20122
                     run.populate_lic_qa_checksum.2582
                     run.sstate_task_prefunc.20122
                     run.sstate_task_prefunc.2582

(2) In imx-linux-rocko/sources/meta-fsl-bsp-release/imx/meta-bsp/recipes-graphics

tree imx-gpu-viv

imx-gpu-viv/
   imx-gpu-viv_6.2.4.p1.2-aarch32.bb
   imx-gpu-viv_6.2.4.p1.2-aarch64.bb
   imx-gpu-viv-v6.inc

I repalced the checksum with 8cf95184c220e247b9917e7244124c5a in meta-fsl-bsp-release/imx/meta-bsp/recipes-graphics/imx-gpu-viv/imx-gpu-viv-v6.inc, it still failed.

Do you have any ideas about the issue?

Or is there some patches I need to patch?

Thanks,

zohan 

0 Kudos
Reply