summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamuli Piippo <samuli.piippo@qt.io>2016-12-05 18:55:17 +0200
committerSamuli Piippo <samuli.piippo@qt.io>2017-01-02 06:41:21 +0000
commit0303ce3b821d1402c856fd637ef51d8bc3af04bf (patch)
tree57439d7e7476f08836673e7ce112feb311f96cf0
parent5c5096f39a83476d7d2f6d95cad3a3c29c01ffbb (diff)
downloadmeta-boot2qt-0303ce3b821d1402c856fd637ef51d8bc3af04bf.tar.gz
qbsp: add separate license component
Add license component that can be used to show EULA or similar license terms to user before installation. As an example, the NXP EULA is used for all imx based devices. Task-number: QTBUG-57413 Change-Id: Ib593a14ff713a637082a665e7a33a48f1394e37a Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io> Reviewed-by: Iikka Eklund <iikka.eklund@qt.io>
-rw-r--r--classes/qbsp.bbclass87
-rw-r--r--files/qbsp/NXP-EULA602
-rw-r--r--files/qbsp/license_package.xml10
3 files changed, 666 insertions, 33 deletions
diff --git a/classes/qbsp.bbclass b/classes/qbsp.bbclass
index 6707ce3..3216edb 100644
--- a/classes/qbsp.bbclass
+++ b/classes/qbsp.bbclass
@@ -36,6 +36,8 @@ SRC_URI = "\
36 file://image_package.xml \ 36 file://image_package.xml \
37 file://toolchain_package.xml \ 37 file://toolchain_package.xml \
38 file://toolchain_installscript.qs \ 38 file://toolchain_installscript.qs \
39 file://license_package.xml \
40 file://NXP-EULA \
39 " 41 "
40 42
41INHIBIT_DEFAULT_DEPS = "1" 43INHIBIT_DEFAULT_DEPS = "1"
@@ -49,8 +51,10 @@ QBSP_VERSION ?= "${PV}${VERSION_AUTO_INCREMENT}"
49QBSP_INSTALLER_COMPONENT ?= "${MACHINE}" 51QBSP_INSTALLER_COMPONENT ?= "${MACHINE}"
50QBSP_INSTALL_PATH ?= "/Extras/${MACHINE}" 52QBSP_INSTALL_PATH ?= "/Extras/${MACHINE}"
51 53
52QBSP_LICENSE_DEPENDENCY ?= "" 54QBSP_LICENSE_FILE ?= ""
53QBSP_LICENSE_DEPENDENCY_imx = "qt.embedded.b2qt.freescalelicense" 55QBSP_LICENSE_NAME ?= ""
56QBSP_LICENSE_FILE_imx = "NXP-EULA"
57QBSP_LICENSE_NAME_imx = "NXP Semiconductors Software License Agreement"
54 58
55VERSION_AUTO_INCREMENT = "-0-${DATETIME}" 59VERSION_AUTO_INCREMENT = "-0-${DATETIME}"
56VERSION_AUTO_INCREMENT[vardepsexclude] = "DATETIME" 60VERSION_AUTO_INCREMENT[vardepsexclude] = "DATETIME"
@@ -68,60 +72,77 @@ SDK_MACHINE = "${@d.getVar('SDKMACHINE', True) or '${SDK_ARCH}'}"
68B = "${WORKDIR}/build" 72B = "${WORKDIR}/build"
69 73
70patch_installer_files() { 74patch_installer_files() {
71 sed -e 's#@NAME@#${DEPLOY_CONF_NAME}#' \ 75 LICENSE_DEPENDENCY=""
72 -e 's#@VERSION@#${QBSP_VERSION}#' \ 76 if [ -n "${QBSP_LICENSE_FILE}" ]; then
73 -e 's#@RELEASEDATE@#${RELEASEDATE}#' \ 77 LICENSE_DEPENDENCY="${QBSP_INSTALLER_COMPONENT}.license"
74 -e 's#@MACHINE@#${MACHINE}#' \ 78 fi
75 -e 's#@SYSROOT@#${REAL_MULTIMACH_TARGET_SYS}#' \ 79
76 -e 's#@TARGET@#${TARGET_SYS}#' \ 80 sed -e "s#@NAME@#${DEPLOY_CONF_NAME}#" \
77 -e 's#@ABI@#${ABI}#' \ 81 -e "s#@VERSION@#${QBSP_VERSION}#" \
78 -e 's#@INSTALLPATH@#${QBSP_INSTALL_PATH}#' \ 82 -e "s#@RELEASEDATE@#${RELEASEDATE}#" \
79 -e 's#@SDKPATH@#${SDKPATH}#' \ 83 -e "s#@MACHINE@#${MACHINE}#" \
80 -e 's#@SDKFILE@#${SDK_NAME}#' \ 84 -e "s#@SYSROOT@#${REAL_MULTIMACH_TARGET_SYS}#" \
81 -e 's#@LICENSEDEPENDENCY@#${QBSP_LICENSE_DEPENDENCY}#' \ 85 -e "s#@TARGET@#${TARGET_SYS}#" \
86 -e "s#@ABI@#${ABI}#" \
87 -e "s#@INSTALLPATH@#${QBSP_INSTALL_PATH}#" \
88 -e "s#@SDKPATH@#${SDKPATH}#" \
89 -e "s#@SDKFILE@#${SDK_NAME}#" \
90 -e "s#@LICENSEDEPENDENCY@#${LICENSE_DEPENDENCY}#" \
91 -e "s#@LICENSEFILE@#${QBSP_LICENSE_FILE}#" \
92 -e "s#@LICENSENAME@#${QBSP_LICENSE_NAME}#" \
82 -i ${1}/* 93 -i ${1}/*
83} 94}
84 95
85prepare_qbsp() { 96prepare_qbsp() {
86 # Toolchain component 97 # Toolchain component
87 TOOLCHAIN_PATH="${B}/pkg/${QBSP_INSTALLER_COMPONENT}.toolchain" 98 COMPONENT_PATH="${B}/pkg/${QBSP_INSTALLER_COMPONENT}.toolchain"
88 mkdir -p ${TOOLCHAIN_PATH}/meta 99 mkdir -p ${COMPONENT_PATH}/meta
89 mkdir -p ${TOOLCHAIN_PATH}/data 100 mkdir -p ${COMPONENT_PATH}/data
90 101
91 cp ${WORKDIR}/toolchain_package.xml ${TOOLCHAIN_PATH}/meta/package.xml 102 cp ${WORKDIR}/toolchain_package.xml ${COMPONENT_PATH}/meta/package.xml
92 cp ${WORKDIR}/toolchain_installscript.qs ${TOOLCHAIN_PATH}/meta/installscript.qs 103 cp ${WORKDIR}/toolchain_installscript.qs ${COMPONENT_PATH}/meta/installscript.qs
93 patch_installer_files ${TOOLCHAIN_PATH}/meta 104 patch_installer_files ${COMPONENT_PATH}/meta
94 105
95 mkdir -p ${B}/toolchain/${QBSP_INSTALL_PATH}/toolchain 106 mkdir -p ${B}/toolchain/${QBSP_INSTALL_PATH}/toolchain
96 if [ "${SDK_POSTFIX}" == "7z" ]; then 107 if [ "${SDK_POSTFIX}" = "7z" ]; then
97 7z x ${DEPLOY_DIR}/sdk/${SDK_NAME} -o${B}/toolchain/${QBSP_INSTALL_PATH}/toolchain/ 108 7z x ${DEPLOY_DIR}/sdk/${SDK_NAME} -o${B}/toolchain/${QBSP_INSTALL_PATH}/toolchain/
98 else 109 else
99 cp ${DEPLOY_DIR}/sdk/${SDK_NAME} ${B}/toolchain/${QBSP_INSTALL_PATH}/toolchain/ 110 cp ${DEPLOY_DIR}/sdk/${SDK_NAME} ${B}/toolchain/${QBSP_INSTALL_PATH}/toolchain/
100 fi 111 fi
101 112
102 cd ${B}/toolchain 113 cd ${B}/toolchain
103 archivegen ${TOOLCHAIN_PATH}/data/toolchain.7z * 114 7z a ${COMPONENT_PATH}/data/toolchain.7z *
104 115
105 # Image component 116 # Image component
106 IMAGE_PATH="${B}/pkg/${QBSP_INSTALLER_COMPONENT}.system" 117 COMPONENT_PATH="${B}/pkg/${QBSP_INSTALLER_COMPONENT}.system"
107 mkdir -p ${IMAGE_PATH}/meta 118 mkdir -p ${COMPONENT_PATH}/meta
108 mkdir -p ${IMAGE_PATH}/data 119 mkdir -p ${COMPONENT_PATH}/data
109 120
110 cp ${WORKDIR}/image_package.xml ${IMAGE_PATH}/meta/package.xml 121 cp ${WORKDIR}/image_package.xml ${COMPONENT_PATH}/meta/package.xml
111 patch_installer_files ${IMAGE_PATH}/meta 122 patch_installer_files ${COMPONENT_PATH}/meta
112 123
113 mkdir -p ${B}/images/${QBSP_INSTALL_PATH}/images 124 mkdir -p ${B}/images/${QBSP_INSTALL_PATH}/images
114 7z x ${DEPLOY_DIR_IMAGE}/${IMAGE_PACKAGE} -o${B}/images/${QBSP_INSTALL_PATH}/images/ 125 7z x ${DEPLOY_DIR_IMAGE}/${IMAGE_PACKAGE} -o${B}/images/${QBSP_INSTALL_PATH}/images/
115 126
116 cd ${B}/images 127 cd ${B}/images
117 archivegen ${IMAGE_PATH}/data/image.7z * 128 7z a ${COMPONENT_PATH}/data/image.7z *
129
130 # License component
131 if [ -n "${QBSP_LICENSE_FILE}" ]; then
132 COMPONENT_PATH="${B}/pkg/${QBSP_INSTALLER_COMPONENT}.license"
133 mkdir -p ${COMPONENT_PATH}/meta
134
135 cp ${WORKDIR}/license_package.xml ${COMPONENT_PATH}/meta/package.xml
136 cp ${WORKDIR}/${QBSP_LICENSE_FILE} ${COMPONENT_PATH}/meta/
137 patch_installer_files ${COMPONENT_PATH}/meta
138 fi
118 139
119 # Base component 140 # Base component
120 BASE_PATH="${B}/pkg/${QBSP_INSTALLER_COMPONENT}" 141 COMPONENT_PATH="${B}/pkg/${QBSP_INSTALLER_COMPONENT}"
121 mkdir -p ${BASE_PATH}/meta 142 mkdir -p ${COMPONENT_PATH}/meta
122 143
123 cp ${WORKDIR}/base_package.xml ${BASE_PATH}/meta/package.xml 144 cp ${WORKDIR}/base_package.xml ${COMPONENT_PATH}/meta/package.xml
124 patch_installer_files ${BASE_PATH}/meta 145 patch_installer_files ${COMPONENT_PATH}/meta
125} 146}
126 147
127create_qbsp() { 148create_qbsp() {
@@ -131,10 +152,10 @@ create_qbsp() {
131 repogen -p ${B}/pkg ${B}/repository 152 repogen -p ${B}/pkg ${B}/repository
132 153
133 mkdir -p ${DEPLOY_DIR}/qbsp 154 mkdir -p ${DEPLOY_DIR}/qbsp
134 rm -f ${DEPLOY_DIR}/qbsp/${PN}-${MACHINE}.qbsp 155 rm -f ${DEPLOY_DIR}/qbsp/${PN}-${SDK_MACHINE}-${MACHINE}.qbsp
135 156
136 cd ${B}/repository 157 cd ${B}/repository
137 archivegen ${DEPLOY_DIR}/qbsp/${PN}-${SDK_MACHINE}-${MACHINE}.qbsp * 158 7z a ${DEPLOY_DIR}/qbsp/${PN}-${SDK_MACHINE}-${MACHINE}.qbsp *
138} 159}
139 160
140python do_qbsp() { 161python do_qbsp() {
diff --git a/files/qbsp/NXP-EULA b/files/qbsp/NXP-EULA
new file mode 100644
index 0000000..8acbf5a
--- /dev/null
+++ b/files/qbsp/NXP-EULA
@@ -0,0 +1,602 @@
1LA_OPT_BASE_LICENSE v14 June 2016
2
3IMPORTANT. Read the following NXP Semiconductors Software License Agreement
4("Agreement") completely. By selecting the "I Accept" button at the end of
5this page, you indicate that you accept the terms of the Agreement and you
6acknowledge that you have the authority, for yourself or on behalf of your
7company, to bind your company to these terms. You may then download or install
8the file.
9
10NXP SEMICONDUCTORS SOFTWARE LICENSE AGREEMENT
11
12This is a legal agreement between you, as an authorized representative of your
13employer, or if you have no employer, as an individual (together "you"), and
14Freescale Semiconductor, Inc., a wholly-owned subsidiary of NXP Semiconductors
15N.V. ("NXP"). It concerns your rights to use the software identified in the
16Software Content Register and provided to you in binary or source code form and
17any accompanying written materials (the "Licensed Software"). The Licensed
18Software may include any updates or error corrections or documentation relating
19to the Licensed Software provided to you by NXP under this License. In
20consideration for NXP allowing you to access the Licensed Software, you are
21agreeing to be bound by the terms of this Agreement. If you do not agree to all
22of the terms of this Agreement, do not download or install the Licensed
23Software. If you change your mind later, stop using the Licensed Software and
24delete all copies of the Licensed Software in your possession or control. Any
25copies of the Licensed Software that you have already distributed, where
26permitted, and do not destroy will continue to be governed by this Agreement.
27Your prior use will also continue to be governed by this Agreement.
28
291. DEFINITIONS
30
311.1. "Affiliates" means, any corporation, or entity directly or indirectly
32controlled by, controlling, or under common control with NXP Semiconductors N.V.
33
341.2. "Essential Patent" means a patent to the limited extent that infringement
35of such patent cannot be avoided in remaining compliant with the technology
36standards implicated by the usage of any of the Licensed Software, including
37optional implementation of the standards, on technical but not commercial
38grounds, taking into account normal technical practice and the state of the art
39generally available at the time of standardization.
40
411.3. "Intellectual Property Rights" means any and all rights under statute,
42common law or equity in and under copyrights, trade secrets, and patents
43(including utility models), and analogous rights throughout the world,
44including any applications for and the right to apply for, any of the
45foregoing.
46
471.4. "Software Content Register" means the documentation accompanying the
48Licensed Software which identifies the contents of the Licensed Software,
49including but not limited to identification of any Third Party Software.
50
511.5. "Third Party Software" means, any software included in the Licensed
52Software that is not NXP Proprietary software, and is not open source
53software, and to which different license terms may apply.
54
552. LICENSE GRANT.
56
572.1. Separate license grants to Third Party Software, or other terms applicable
58to the Licensed Software if different from those granted in this Section 2, are
59contained in Appendix A. The Licensed Software is accompanied by a Software
60Content Register which will identify that portion of the Licensed Software, if
61any, that is subject to the different terms in Appendix A.
62
632.2. Exclusively in connection with your development and distribution of
64product containing a programmable processing unit (e.g. a microprocessor,
65microcontroller, sensor or digital signal processor) supplied directly or
66indirectly from NXP ("Authorized System") NXP grants you a world-wide,
67personal, non-transferable, non-exclusive, non-sublicensable, license, under
68NXP's Intellectual Property Rights:
69
70(a) to use and reproduce the Licensed Software only as part of, or
71integrated within, Authorized Systems and not on a standalone basis;
72
73(b) to directly or indirectly manufacture, demonstrate, copy, distribute,
74market and sell the Licensed Software in object code (machine readable) only as
75part of, or embedded within, Authorized Systems in object code form and not on
76a standalone basis. Notwithstanding the foregoing, those files marked as .h
77files ("Header files") may be distributed in source or object code form, but
78only as part of, or embedded within Authorized Systems.
79
80(c) to copy, use and distribute as needed, solely in connection with an
81Authorized System, proprietary NXP information associated with the Licensed
82Software for the purpose of developing, maintaining and supporting Authorized
83Systems with which the Licensed Software is integrated or associated.
84
852.3. For NXP Licensed Software provided to you in source code form (human
86readable), NXP further grants to you a worldwide, personal, non-transferable,
87non-exclusive, non-sublicensable, license, under NXP's Intellectual Property
88Rights:
89
90(a) to prepare derivative works of the Licensed Software, only as part of,
91or integrated within, Authorized Systems and not on a standalone basis;
92
93(b) to use, demonstrate, copy, distribute, market and sell the derivative
94works of the Licensed Software in object code (machine readable) only as part
95of, or integrated within, Authorized Systems and not on a standalone basis.
96Notwithstanding the foregoing, those files marked as .h files ("Header files")
97may be distributed in source or object code form, but only as part of, or
98embedded within Authorized Systems.
99
1002.4. You may use subcontractors on your premises to exercise your rights under
101Section 2.2 and 2.3 so long as you have an agreement in place with the
102subcontractor containing confidentiality restrictions no less stringent than
103those contained in this Agreement. You will remain liable for your
104subcontractors' adherence to the terms of this Agreement and for any and all
105acts and omissions of such subcontractors with respect to this Agreement and
106the Licensed Software.
107
1083. LICENSE LIMITATIONS AND RESTRICTIONS.
109
1103.1. The licenses granted above in Section 2.3 only extend to NXP intellectual
111property rights that would be infringed by the Licensed Software prior to your
112preparation of any derivative work.
113
1143.2. The Licensed Software is licensed to you, not sold. Title to Licensed
115Software delivered hereunder remains vested in NXP or NXP's licensor and
116cannot be assigned or transferred. You are expressly forbidden from selling or
117otherwise distributing the Licensed Software, or any portion thereof, except as
118expressly permitted herein. This Agreement does not grant to you any implied
119rights under any NXP or third party intellectual property.
120
1213.3. You may not translate, reverse engineer, decompile, or disassemble the
122Licensed Software except to the extent applicable law specifically prohibits
123such restriction. You must prohibit your sublicensees from translating,
124reverse engineering, decompiling, or disassembling the Licensed Software except
125to the extent applicable law specifically prohibits such restriction.
126
1273.4. You must reproduce any and all of NXP's (or its third party licensor's)
128copyright notices and other proprietary legends on copies of Licensed Software.
129
1303.5. If you distribute the Licensed Software to the United States Government,
131then the Licensed Software is "restricted computer software" and is subject to
132FAR 52.227-19 (c)(1) and (c)(2).
133
1343.6. You grant to NXP a non-exclusive, non-transferable, irrevocable,
135perpetual, worldwide, royalty-free, sub-licensable license under your
136Intellectual Property Rights to use without restriction and for any purpose any
137suggestion, comment or other feedback related to the Licensed Software
138(including, but not limited to, error corrections and bug fixes).
139
1403.7. You will not take or fail to take any action that could subject the
141Licensed Software to an Excluded License. An Excluded License means any license
142that requires, as a condition of use, modification or distribution of software
143subject to the Excluded License, that such software or other software combined
144and/or distributed with the software be (i) disclosed or distributed in source
145code form; (ii) licensed for the purpose of making derivative works; or (iii)
146redistributable at no charge.
147
1483.8. You may not publish or distribute information, results or data associated
149with the use of the Licensed Software to anyone other than NXP; however, you
150must advise NXP of any results obtained including any problems or suggested
151improvements thereof. NXP retains the right to use such results and related
152information in any manner it deems appropriate.
153
1544. OPEN SOURCE. Open source software included
155in the Licensed Software is not licensed under the terms of this Agreement,
156but is instead licensed under the terms of the applicable open source
157license(s), such as the BSD License, Apache License or the GNU Lesser General
158Public License. Your use of the open source software is subject to the terms
159of each applicable license. You must agree to the terms of each applicable
160license, or you cannot use the open source software.
161
1625. INTELLECTUAL PROPERTY RIGHTS. Subject to NXP's
163ownership interest in the underlying Licensed Software, all intellectual
164property rights associated with, and title to, your Authorized System will
165be retained by or will vest in you. Your modifications to the Licensed
166Software, and all intellectual property rights associated with, and title
167thereto, will be the property of NXP. Upon request, you must provide NXP
168the source code of any derivative of the Licensed Software. You agree to
169assign all, and hereby do assign all rights, title, and interest to any such
170modifications to the Licensed Software to NXP and agree to provide all
171assistance reasonably requested by NXP to establish, preserve or enforce such
172right. Further, you agree to waive all moral rights relating to your
173modifications to the Licensed Software, including, without limitation, all
174rights of identification of authorship and all rights of approval, restriction,
175or limitation on use or subsequent modification. Notwithstanding the
176foregoing, you will have the license rights granted in Section 2 hereto to any
177such modifications made by you or your licensees.
178
1796. PATENT COVENANT NOT TO SUE. As partial, material
180consideration for the rights granted to you under this Agreement, you covenant
181not to sue or otherwise assert your patents against NXP, a NXP Affiliate or
182subsidiary, or a NXP licensee of the Licensed Software for infringement of your
183Intellectual Property Rights by the manufacture, use, sale, offer for sale,
184importation or other disposition or promotion of the Licensed Software and/or
185any redistributed portions of the Licensed Software.
186
1877. ESSENTIAL PATENTS. You are solely responsible for
188obtaining licenses for any relevant Essential Patents for your use in
189connection with technology that you incorporate into your product (whether as
190part of the Licensed Software or not).
191
1928. TERM AND TERMINATION. This Agreement will remain in
193effect unless terminated as provided in this Section 8.
194
1958.1. You may terminate this Agreement immediately upon written notice to NXP at
196the address provided below.
197
1988.2. Either party may terminate this Agreement if the other party is in default
199of any of the terms and conditions of this Agreement, and termination is
200effective if the defaulting party fails to correct such default within 30 days
201after written notice thereof by the non-defaulting party to the defaulting
202party at the address below.
203
2048.3. Notwithstanding the foregoing, NXP may terminate this Agreement
205immediately upon written notice if you: breach any of your confidentiality
206obligations or the license restrictions under this Agreement; become bankrupt,
207insolvent, or file a petition for bankruptcy or insolvency, make an assignment
208for the benefit of its creditors; enter proceedings for winding up or
209dissolution ;are dissolved; or are nationalized or become subject to the
210expropriation of all or substantially all of its business or assets.
211
2128.4. Upon termination of this Agreement, all licenses granted under Section 2
213will expire, except that any licenses extended to end-users pursuant to
214Sections 2.2(b), 2.2(c), and 2.3(b), which have been granted prior to such
215termination will survive.
216
2178.5. After termination of this Agreement by either party and upon NXP's written
218request, you will, at your discretion, return to the NXP any confidential
219information including all copies thereof or furnish to NXP at the address
220below, a statement certifying, with respect to the Licensed Software delivered
221hereunder that the original and all copies, except for archival copies to be
222used solely for dispute resolution purposes, in whole or in part, in any form,
223of the Licensed Software have been destroyed.
224
2258.6. Notwithstanding the termination of this Agreement for any reason, the
226terms of Sections 1, 3, 5 through 25 will survive.
227
2289. SUPPORT. NXP is not obligated to provide any support,
229upgrades or new releases of the Licensed Software under this Agreement. If you
230wish, you may contact NXP and report problems and provide suggestions regarding
231the Licensed Software. NXP has no obligation to respond to such a problem
232report or suggestion. NXP may make changes to the Licensed Software at any
233time, without any obligation to notify or provide updated versions of the
234Licensed Software to you.
235
23610. NO WARRANTY. To the maximum extent permitted by law, NXP
237expressly disclaims any warranty for the Licensed Software. The Licensed
238Software is provided "AS ISh, without warranty of any kind, either express or
239implied, including without limitation the implied warranties of
240merchantability, fitness for a particular purpose, or non-infringement. You
241assume the entire risk arising out of the use or performance of the licensed
242software, or any systems you design using the licensed software (if any).
243
24411. INDEMNITY. You agree to fully defend and indemnify NXP
245from all claims, liabilities, and costs (including reasonable attorney's fees)
246related to (1) your use (including your contractors or distributee's use, if
247permitted) of the Licensed Software or (2) your violation of the terms and
248conditions of this Agreement.
249
25012. LIMITATION OF LIABILITY. EXCLUDING LIABILITY FOR A
251BREACH OF SECTION 2 (LICENSE GRANTS), SECTION 3 (LICENSE LIMITATIONS AND
252RESTRICTIONS), SECTION 17 (CONFIDENTIAL INFORMATION), OR CLAIMS UNDER SECTION
25311(INDEMNITY), IN NO EVENT WILL EITHER PARTY BE LIABLE, WHETHER IN CONTRACT,
254TORT, OR OTHERWISE, FOR ANY INCIDENTAL, SPECIAL, INDIRECT, CONSEQUENTIAL OR
255PUNITIVE DAMAGES, INCLUDING, BUT NOT LIMITED TO, DAMAGES FOR ANY LOSS OF USE,
256LOSS OF TIME, INCONVENIENCE, COMMERCIAL LOSS, OR LOST PROFITS, SAVINGS, OR
257REVENUES, TO THE FULL EXTENT SUCH MAY BE DISCLAIMED BY LAW. NXP'S TOTAL
258LIABILITY FOR ALL COSTS, DAMAGES, CLAIMS, OR LOSSES WHATSOEVER ARISING OUT OF
259OR IN CONNECTION WITH THIS AGREEMENT OR PRODUCT(S) SUPPLIED UNDER THIS
260AGREEMENT IS LIMITED TO THE AGGREGATE AMOUNT PAID BY YOU TO NXP IN CONNECTION
261WITH THE LICENSED SOFTWARE TO WHICH LOSSES OR DAMAGES ARE CLAIMED.
262
26313. EXPORT COMPLIANCE. Each party shall comply with all
264applicable export and import control laws and regulations including but not
265limited to the US Export Administration Regulations (including prohibited party
266lists issued by other federal governments), Catch-all regulations and all
267national and international embargoes. Each party further agrees that it will
268not knowingly transfer, divert, export or re-export, directly or indirectly,
269any product, software, including software source code, or technology restricted
270by such regulations or by other applicable national regulations, received from
271the other party under this Agreement, or any direct product of such software or
272technical data to any person, firm, entity, country or destination to which
273such transfer, diversion, export or re-export is restricted or prohibited,
274without obtaining prior written authorization from the applicable competent
275government authorities to the extent required by those laws.
276
27714. GOVERNMENT CONTRACT COMPLIANCE.
278
27914.1. If you sell Authorized Systems directly to any
280government or public entity, including U.S., state, local, foreign or
281international governments or public entities, or indirectly via a prime
282contractor or subcontractor of such governments or entities, NXP makes no
283representations, certifications, or warranties whatsoever about compliance with
284government or public entity acquisition statutes or regulations, including,
285without limitation, statutes or regulations that may relate to pricing,
286quality, origin or content.
287
28814.2. The Licensed Software has been developed at private
289expense and is a "Commercial Item" as defined in 48 C.F.R. Section 2.101,
290consisting of "Commercial Computer Software", and/or "Commercial Computer
291Software Documentation," as such terms are used in 48 C.F.R. Section 12.212 (or
29248 C.F.R. Section 227.7202, as applicable) and may only be licensed to or
293shared with U.S. Government end users in object code form as part of, or
294embedded within, Authorized Systems. Any agreement pursuant to which you share
295the Licensed Software will include a provision that reiterates the limitations
296of this document and requires all sub-agreements to similarly contain such
297limitations.
298
29915. SAFETY CRITICAL APPLICATIONS
300
30115.1. In some cases, NXP may promote certain Licensed
302Software for use in safety-related applications. NXP's goal is to educate
303licensees so that they can design their own end-product solutions to meet
304applicable functional safety standards and requirements. You make the ultimate
305design decisions regarding your products and are solely responsible for
306compliance with all legal, regulatory, safety, and security related
307requirements concerning your products, regardless of any information or support
308that may be provided by NXP. Accordingly, you will indemnify and hold NXP
309harmless from any claims, liabilities, damages and associated costs and
310expenses (including attorneys' fees) that NXP may incur related to your
311incorporation of any product in a safety-critical application or system.
312
31315.2. Only Licensed Software that NXP has specifically
314designated as "Automotive Qualified" is intended for use in automotive,
315military, or aerospace applications or environments. If you use Licensed
316Software that has not been designated as "Automotive Qualified" in an
317automotive, military, or aerospace application or environment, you do so at
318your own risk.
319
32015.3. Licensed Software is not intended or authorized for
321any use in anti-personnel landmines.
322
32316. CHOICE OF LAW; VENUE. This Agreement will be governed
324by, construed, and enforced in accordance with the laws of the State of Texas,
325USA, without regard to conflicts of laws principles, will apply to all matters
326relating to this Agreement or the Licensed Software, and you agree that any
327litigation will be subject to the exclusive jurisdiction of the state or
328federal courts Texas, USA. The United Nations Convention on Contracts for the
329International Sale of Goods will not apply to this document.
330
33117. CONFIDENTIAL INFORMATION. Subject to the license grants
332and restrictions contained herein, you must treat the Licensed Software as
333confidential information and you agree to retain the Licensed Software in
334confidence perpetually, with respect to Licensed Software in source code form
335(human readable), or for a period of five (5) years from the date of
336termination of this Agreement, with respect to all other parts of the Licensed
337Software. During this period, you may not disclose any part of the Licensed
338Software to anyone other than employees who have a need to know of the Licensed
339Software and who have executed written agreements obligating them to protect
340such Licensed Software to at least the same degree of care as in this
341Agreement. You agree to use the same degree of care, but no less than a
342reasonable degree of care, with the Licensed Software as you do with your own
343confidential information. You may disclose Licensed Software to the extent
344required by a court or under operation of law or order provided that you notify
345NXP of such requirement prior to disclosure, which you only disclose
346information required, and that you allow NXP the opportunity to object to such
347court or other legal body requiring such disclosure.
348
34918. TRADEMARKS. You are not authorized to use any NXP
350trademarks, brand names, or logos.
351
35219. ENTIRE AGREEMENT. This Agreement constitutes the entire
353agreement between you and NXP regarding the subject matter of this Agreement,
354and supersedes all prior communications, negotiations, understandings,
355agreements or representations, either written or oral, if any. This Agreement
356may only be amended in written form, signed by you and NXP.
357
35820. SEVERABILITY. If any provision of this Agreement is held
359for any reason to be invalid or unenforceable, then the remaining provisions of
360this Agreement will be unimpaired and, unless a modification or replacement of
361the invalid or unenforceable provision is further held to deprive you or NXP of
362a material benefit, in which case the Agreement will immediately terminate, the
363invalid or unenforceable provision will be replaced with a provision that is
364valid and enforceable and that comes closest to the intention underlying the
365invalid or unenforceable provision.
366
36721. NO WAIVER. The waiver by NXP of any breach of any
368provision of this Agreement will not operate or be construed as a waiver of any
369other or a subsequent breach of the same or a different provision.
370
37122. AUDIT. You will keep full, clear and accurate records
372with respect to your compliance with the limited license rights granted under
373this Agreement for three years following expiration or termination of this
374Agreement. NXP will have the right, either itself or through an independent
375certified public accountant to examine and audit, at NXP's expense, not more
376than once a year, and during normal business hours, all such records that may
377bear upon your compliance with the limited license rights granted above. You
378must make prompt adjustment to compensate for any errors and/or omissions
379disclosed by such examination or audit.
380
38123. NOTICES. All notices and communications under
382this Agreement will be made in writing, and will be effective when received at
383the following addresses:
384
385NXP: Freescale Semiconductor, Inc.
386 6501 William Cannon West OE62
387 Austin, Texas 78735
388 ATTN: Legal Department
389
390 You: The address provided at registration
391will be used.
392
39324. RELATIONSHIP OF THE PARTIES. The parties are
394independent contractors. Nothing in this Agreement will be construed to create
395any partnership, joint venture, or similar relationship. Neither party is
396authorized to bind the other to any obligations with third parties.
397
39825. SUCCESSION AND ASSIGNMENT. This Agreement will be
399binding upon and inure to the benefit of the parties and their permitted
400successors and assigns. You may not assign this Agreement, or any part of this
401Agreement, without the prior written approval of NXP, which approval will not
402be unreasonably withheld or delayed.
403
404
405
406
407APPENDIX A
408
409Other License Grants and Restrictions:
410
411The Licensed Software may include some or all of the following software, which
412is either 1) not NXP proprietary software or 2) NXP proprietary software
413subject to different terms than those in the Agreement. If the Software
414Content Register that accompanies the Licensed Software identifies any of the
415following Third Party Software or specific components of the NXP Proprietary
416Software, the following terms apply to the extent they deviate from the terms
417in the Agreement:
418
419Third Party Software
420
421Use Restrictions
422
423Atheros
424Use of Atheros software is limited to evaluation and demonstration only.
425Permitted distributions must be similarly limited. Further rights must be
426obtained directly from Atheros.
427
428ATI (AMD)
429Distribution of ATI software must be a part of, or embedded within, Authorized
430Systems that include a ATI graphics processor core.
431
432Broadcom Corporation
433Your use of Broadcom Corporation software is restricted to Authorized Systems
434that incorporate a compatible integrated circuit device manufactured or sold by
435Broadcom.
436
437Cirque Corporation
438Use of Cirque Corporation technology is limited to evaluation, demonstration,
439or certification testing only. Permitted distributions must be similarly
440limited. Further rights, including but not limited to ANY commercial
441distribution rights, must be obtained directly from Cirque Corporation.
442
443Coding Technologies
444(Dolby Labs)
445Use of CTS software is limited to evaluation and demonstration only. Permitted
446distributions must be similarly limited. Further rights must be obtained from
447Dolby Laboratories.
448
449CSR
450Use of Cambridge Silicon Radio, Inc. ("CSR") software is limited to evaluation
451and demonstration only. Permitted distributions must be similarly limited.
452Further rights must be obtained directly from CSR.
453
454NXP Wireless Charging Library
455License to the Software is limited to use in inductive coupling or wireless
456charging applications
457
458Global Locate (Broadcom Corporation)
459Use of Global Locate, Inc. software is limited to evaluation and demonstration
460only. Permitted distributions must be similarly limited. Further rights must
461be obtained from Global Locate.
462
463Imagination Technologies Limited (IMG)
464If the Licensed Software includes proprietary software developed by IMG, your
465rights are limited to a non-exclusive, world-wide right and nontransferrable
466and non-sub-licensable license (i) to use and modify the Licensed Software and
467documentation and (ii) to copy and distribute the Licensed Software only in
468object code form solely for use on NXP Rayleigh products. If you are provided
469with the Licensed Software in source code format, you are restricted to
470accessing only those deliverables in source code format which are necessary for
471you to carry out either specific customization or porting work in association
472with NXP's Rayleigh products or your Authorized System.
473
474The confidentiality restrictions shall continue in force without limit in time
475notwithstanding the termination or expiration of this Agreement.
476
477Micrium
478uC/OS-II and uC/OS-III is provided in source form for FREE short-term
479evaluation, for educational use or for peaceful research. If you plan or
480intend to use uC/OS-II or uC/OS-III in a commercial application/product then,
481you need to contact Micrium to properly license uC/OS-II or uC/OSIII for its
482use in your application/product. We provide ALL the source code for your
483convenience and to help you experience uC/OS-II or uC/OSIII. The fact that
484the source is provided does NOT mean that you can use it commercially without
485paying a licensing fee.
486
487Microsoft
488If the Licensed Software includes software owned by Microsoft Corporation
489("Microsoft"), it is subject to the terms of your license with Microsoft (the
490"Microsoft Underlying Licensed Software") and as such, NXP grants no license to
491you, beyond evaluation and demonstration in connection with NXP processors, in
492the Microsoft Underlying Licensed Software. You must separately obtain rights
493beyond evaluation and demonstration in connection with the Microsoft Underlying
494Licensed Software from Microsoft.
495
496Microsoft does not provide support services for the components provided to you
497through this Agreement. If you have any questions or require technical
498assistance, please contact NXP. Microsoft Corporation is a third party
499beneficiary to this Agreement with the right to enforce the terms of this
500Agreement. TO THE MAXIMUM EXTENT PERMITTED BY LAW, MICROSOFT AND ITS
501AFFILIATES DISCLAIM ANY WARRANTIES FOR THE MICROSOFT UNDERLYING LICENSED
502SOFTWARE. TO THE MAXIMUM EXTENT PERMITTED BY LAW, NEITHER MICROSOFT NOR ITS
503AFFILIATES WILL BE LIABLE, WHETHER IN CONTRACT, TORT, OR OTHERWISE, FOR ANY
504DIRECT, INCIDENTAL, SPECIAL, INDIRECT, CONSEQUENTIAL OR PUNITIVE DAMAGES,
505INCLUDING, BUT NOT LIMITED TO, DAMAGES FOR ANY LOSS OF USE, LOSS OF TIME,
506INCONVENIENCE, COMMERCIAL LOSS, OR LOST PROFITS, SAVINGS, OR REVENUES, ARISING
507FROM THE FROM THE USE OF THE MICROSOFT UNDERLYING LICENSED SOFTWARE.
508
509MindTree
510Notwithstanding the terms contained in Section 2.3 (a), if the Licensed
511Software includes proprietary software of MindTree in source code format,
512Licensee may make modifications and create derivative works only to the extent
513necessary for debugging of the Licensed Software.
514
515MPEG LA
516Use of MPEG LA audio or video codec technology is limited to evaluation and
517demonstration only. Permitted distributions must be similarly limited. Further
518rights must be obtained directly from MPEG LA.
519
520MQX RTOS Code
521MQX RTOS source code may not be re-distributed by any FSL Licensee under any
522circumstance, even by a signed written amendment to this Agreement.
523
524Opus
525Use of Opus software must be consistent with the terms of the Opus license
526which can be found at: http://www.opus-codec.org/license/
527
528Real Networks - its GStreamer Optimized Real Format Client Code implementation
529or OpenMax Optimized Real Format Client Code
530Use of the GStreamer Optimized Real Format Client Code, or OpenMax Optimized
531Real Format Client code is restricted to applications in the automotive market.
532Licensee must be a final manufacturer in good standing with a current license
533with Real Networks for the commercial use and distribution of products
534containing the GStreamer Optimized Real Format Client Code implementation or
535OpenMax Optimized Real Format Client Code
536
537Real Time Engineers Ltd.
538Any FreeRTOS source code, whether modified or in its original release form, or
539whether in whole or in part, can only be distributed by you under the terms of
540version 2 of the GNU General Public License plus this exception. An
541independent module is a module which is not derived from or based on FreeRTOS.
542
543Clause 1: Linking FreeRTOS with other modules is making a combined work based
544on FreeRTOS. Thus, the terms and conditions of the GNU General Public License
545V2 cover the whole combination.
546
547As a special exception, the copyright holders of FreeRTOS give you permission
548to link FreeRTOS with independent modules to produce a statically linked
549executable, regardless of the license terms of these independent modules, and
550to copy and distribute the resulting executable under terms of your choice,
551provided that you also meet, for each linked independent module, the terms and
552conditions of the license of that module. An independent module is a module
553which is not derived from or based on FreeRTOS.
554
555Clause 2: FreeRTOS may not be used for any competitive or comparative purpose,
556including the publication of any form of run time or compile time metric,
557without the express permission of Real Time Engineers Ltd. (this is the norm
558within the industry and is intended to ensure information accuracy).
559
560SanDisk Corporation
561If the Licensed Software includes software developed by SanDisk Corporation
562("SanDisk"), you must separately obtain the rights to reproduce and distribute
563this software in source code form from SanDisk. Please follow these easy steps
564to obtain the license and software:
565
5661. Contact your local SanDisk sales representative to obtain the SanDisk
567License Agreement.
568
5692. Sign the license agreement. Fax the signed agreement to SanDisk USA
570marketing department at 408-542-0403. The license will be valid when fully
571executed by SanDisk.
5723. If you have specific questions, please send an email to
573sales@sandisk.com
574
575You may only use the SanDisk Corporation Licensed Software on products
576compatible with a SanDisk Secure Digital Card. You may not use the SanDisk
577Corporation Licensed Software on any memory device product. SanDisk retains
578all rights to any modifications or derivative works to the SanDisk Corporation
579Licensed Software that you may create.
580
581Synopsys/Target
582Compiler Technologies
583Your use of the Synopsys/Target Compiler Technologies Licensed Software and
584related documentation is subject to the following:
585
586 * Duration of the license for the Licensed Software is limited to 12 months,
587unless otherwise specified in the license file.
588 * The Licensed Software is usable by one user at a time on a single
589designated computer, unless otherwise agreed by Synopsys.
590 * Licensed Software and documentation are to be used only on a designated
591computer at the designated physical address provided by you on the APEX license
592form.
593 * The Licensed Software is not sub-licensable.
594
595Texas Instruments
596Your use of Texas Instruments Inc. WiLink8 Licensed Software is restricted to
597NXP SoC based systems that include a compatible connectivity device
598manufactured by TI.
599
600Vivante
601Distribution of Vivante software must be a part of, or embedded within,
602Authorized Systems that include a Vivante Graphics Processing Unit.
diff --git a/files/qbsp/license_package.xml b/files/qbsp/license_package.xml
new file mode 100644
index 0000000..405ee5c
--- /dev/null
+++ b/files/qbsp/license_package.xml
@@ -0,0 +1,10 @@
1<?xml version="1.0"?>
2<Package>
3 <DisplayName>@LICENSENAME@</DisplayName>
4 <Version>@VERSION@</Version>
5 <ReleaseDate>@RELEASEDATE@</ReleaseDate>
6 <Licenses>
7 <License name="@LICENSENAME@" file="@LICENSEFILE@"/>
8 </Licenses>
9 <Virtual>true</Virtual>
10</Package>